os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/ChangeLog
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/ChangeLog Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,10282 @@
1.4 +2007-05-24 Don Porter <dgp@users.sourceforge.net>
1.5 +
1.6 + *** 8.4.15 TAGGED FOR RELEASE ***
1.7 +
1.8 + * generic/tclIO.c: Backport memleak fix in TclFinalizeIOSubsystem.
1.9 +
1.10 +2007-05-17 Don Porter <dgp@users.sourceforge.net>
1.11 +
1.12 + * tests/fCmd.test: Backport the notNetworkFilesystem constraint.
1.13 +
1.14 +2007-05-15 Don Porter <dgp@users.sourceforge.net>
1.15 +
1.16 + * generic/tclNamesp.c: Plugged memory leak related to
1.17 + [namespace delete ::]. [Bug 1716782]
1.18 +
1.19 + * changes: updates for 8.4.15 release.
1.20 +
1.21 + * win/tclWinReg.c: Bump to registry 1.1.5 to account
1.22 + * library/reg/pkgIndex.tcl: for [1682211] bug fix.
1.23 +
1.24 +2007-05-10 Don Porter <dgp@users.sourceforge.net>
1.25 +
1.26 + * generic/tclInt.h: TclFinalizeThreadAlloc() is always defined,
1.27 + so make sure it is also always declared.
1.28 +
1.29 + [Tcl Bug 1706140]
1.30 +
1.31 + * generic/tclCmdMZ.c (Trace*Proc): Update Tcl_VarTraceProcs so
1.32 + * generic/tclLink.c (LinkTraceProc): that they call
1.33 + * generic/tclUtil.c (TclPrecTraceProc): Tcl_InterpDeleted() for
1.34 + themselves, and do not rely on (frequently buggy) setting of the
1.35 + TCL_INTERP_DESTROYED flag by the trace core.
1.36 +
1.37 + * generic/tclVar.c: Update callers of CallVarTraces to not
1.38 + pass in the TCL_INTERP_DESTROYED flag. Also apply filters so that
1.39 + public routines only pass documented flag values down to lower level
1.40 + routines.
1.41 +
1.42 + * generic/tclVar.c (CallVarTraces): The setting of the
1.43 + TCL_INTERP_DESTROYED flag is now done entirely within the
1.44 + CallVarTraces routine, the only place it can be done right.
1.45 +
1.46 +2007-04-30 Daniel Steffen <das@users.sourceforge.net>
1.47 +
1.48 + * unix/Makefile.in: add 'tclsh' dependency to install targets that rely
1.49 + on tclsh, fixes parallel 'make install' from empty build dir.
1.50 +
1.51 +2007-04-29 Daniel Steffen <das@users.sourceforge.net>
1.52 +
1.53 + * unix/tclUnixFCmd.c: add workaround for crashing bug in fts_open()
1.54 + * unix/tclUnixInit.c: without FTS_NOSTAT on 64bit Darwin 8 or earlier.
1.55 +
1.56 + * unix/tclLoadDyld.c (TclpLoadMemory): fix (void*) arithmetic.
1.57 +
1.58 + * macosx/tclMacOSXNotify.c: fix warnings.
1.59 +
1.60 + * macosx/README: sync whitespace/formatting with HEAD.
1.61 + * macosx/tclMacOSXBundle.c:
1.62 + * macosx/tclMacOSXNotify.c:
1.63 + * unix/tclLoadDyld.c:
1.64 +
1.65 + * macosx/Makefile: fix/add copyright and license refs.
1.66 + * macosx/tclMacOSXBundle.c:
1.67 + * macosx/Tcl-Info.plist.in:
1.68 +
1.69 + * unix/Makefile.in (dist): copy license.terms to dist macosx dir.
1.70 + * unix/configure.in: install license.terms into Tcl.framework.
1.71 + * unix/configure: autoconf-2.13
1.72 +
1.73 +2007-04-21 Kevin B. Kenny <kennyb@acm.org>
1.74 +
1.75 + * generic/tclClock.c: Restored Cygwin buildability [Bug 1387154]
1.76 + * generic/tclInt.decls: Yet another round of attempting
1.77 + * generic/tclInt.h: to get the correct type signature
1.78 + * unix/tclUnixPort.h: for TclpLocaltime and TclpGmtime.
1.79 + * unix/tclUnixTime.c: CONST TclpTime_t is a 'time_t *CONST'
1.80 + * win/tclWinTime.c: and not a 'CONST time_t*' [Bug 1677275]
1.81 + * generic/tclIntDecls.h:
1.82 + * generic/tclIntPlatDecls.h: Regenerated.
1.83 +
1.84 +2007-03-24 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.85 +
1.86 + * win/tclWinThrd.c: Thread exit handler marks the current
1.87 + thread as un-initialized. This allows exit handlers that
1.88 + are registered later to re-initialize this subsystem in
1.89 + case they need to use some sync primitives (cond variables)
1.90 + from this file again.
1.91 +
1.92 +2007-03-19 Don Porter <dgp@users.sourceforge.net>
1.93 +
1.94 + * generic/tclEvent.c (Tcl_CreateThread): Replaced some calls to
1.95 + * generic/tclPkg.c (CheckVersion): Tcl_Alloc() with calls to
1.96 + * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better
1.97 + * win/tclAppInit.c (setargv): supports memory debugging.
1.98 +
1.99 +2007-03-17 Kevin Kenny <kennykb@acm.org>
1.100 +
1.101 + * win/tclWinReg.c (GetKeyNames): Size the buffer for enumerating
1.102 + key names correctly, so that Unicode names exceeding 127 chars
1.103 + can be retrieved without crashing. [Bug 1682211]
1.104 + * tests/registry.test (registry-4.9): Added test case for the
1.105 + above bug.
1.106 +
1.107 +2007-03-13 Don Porter <dgp@users.sourceforge.net>
1.108 +
1.109 + * generic/tclExecute.c (INST_FOREACH_STEP4): Re-fetch pointers for
1.110 + * tests/foreach.test (foreach-10.1): the value list each iteration
1.111 + of the loop as defense against shimmers. [Bug 1671087]
1.112 +
1.113 + * generic/tclVar.c (TclArraySet): Re-fetch pointers for the list
1.114 + * tests/var.test (var-17.1): argument of [array set] each time
1.115 + through the loop as defense against possible shimmer issues.
1.116 + [Bug 1669489].
1.117 +
1.118 +2007-03-10 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.119 +
1.120 + * generic/tclCmdIL.c (Tcl_LsortObjCmd): Handle tricky case with loss
1.121 + * tests/cmdIL.test (cmdIL-1.29):of list rep during sorting due
1.122 + to shimmering. [Bug 1675116]
1.123 +
1.124 +2007-03-07 Daniel Steffen <das@users.sourceforge.net>
1.125 +
1.126 + * macosx/tclMacOSXNotify.c: add spinlock debugging and sanity checks.
1.127 +
1.128 + * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check.
1.129 + * unix/configure: autoconf-2.13
1.130 +
1.131 +2007-03-01 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.132 +
1.133 + * generic/tclCompCmds.c (TclCompileForeachCmd): Prevent an unexpected
1.134 + * tests/foreach.test (foreach-9.1): infinite loop when the
1.135 + variable list is empty and the foreach is compiled. [Bug 1671138]
1.136 +
1.137 +2007-02-22 Andreas Kupries <andreask@activestate.com>
1.138 +
1.139 + * tests/pkg.test: Added tests for the case of an alpha package
1.140 + satisfying a require for the regular package, demonstrating a
1.141 + corner case specified in TIP#280. More notes in the comments to
1.142 + the test.
1.143 +
1.144 +2007-02-20 Don Porter <dgp@users.sourceforge.net>
1.145 +
1.146 + * doc/tcltest.n: Typo fix. [Bug 1663539]
1.147 +
1.148 +2007-02-19 Jeff Hobbs <jeffh@ActiveState.com>
1.149 +
1.150 + * generic/tclIOUtil.c (Tcl_FSEvalFile): safe incr of objPtr ref.
1.151 +
1.152 + * unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.
1.153 + * unix/configure: autoconf-2.13
1.154 +
1.155 +2007-02-12 Andreas Kupries <andreask@activestate.com>
1.156 +
1.157 + * generic/tclEncoding.c (EscapeFromUtfProc): Applied patch
1.158 + supplied by Mo DeJong to fix [Bug 1516109]. Backport from Tcl
1.159 + 8.5. Mo's description: Clear the TCL_ENCODING_END flag when end
1.160 + bytes are written. This fix keep this method from writing escape
1.161 + bytes for an encoding like iso2022-jp multiple times when the
1.162 + escape byte overlap with the end of the IO buffer.
1.163 + * tests/io.test: Add test case for escape byte overlap case.
1.164 +
1.165 +2007-02-04 Daniel Steffen <das@users.sourceforge.net>
1.166 +
1.167 + * unix/configure.in: add caching to -pipe check.
1.168 + * unix/configure: autoconf-2.13
1.169 +
1.170 +2007-01-30 Jeff Hobbs <jeffh@ActiveState.com>
1.171 +
1.172 + * win/Makefile.in (install-private-headers): added target
1.173 +
1.174 +2007-01-29 Don Porter <dgp@users.sourceforge.net>
1.175 +
1.176 + * doc/fcopy.n: Typo fix. [Bug 1630627]
1.177 +
1.178 +2007-01-25 Daniel Steffen <das@users.sourceforge.net>
1.179 +
1.180 + * unix/tcl.m4: integrate CPPFLAGS into CFLAGS as late as possible
1.181 + * unix/configure.in: and move (rather than duplicate) -isysroot flags
1.182 + from CFLAGS to CPPFLAGS to avoid errors about multiple -isysroot flags
1.183 + from some older gcc builds.
1.184 +
1.185 + * unix/configure: autoconf-2.13
1.186 +
1.187 +2007-01-22 Andreas Kupries <andreask@activestate.com>
1.188 +
1.189 + * compat/memcmp.c (memcmp): Fixed the VOID / CONST typo introduced
1.190 + by the last checkin.
1.191 +
1.192 +2007-01-22 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.193 +
1.194 + * compat/memcmp.c (memcmp): Reworked so that arithmetic is never
1.195 + performed upon void pointers, since that is illegal. [Bug 1631017]
1.196 +
1.197 +2006-01-19 Daniel Steffen <das@users.sourceforge.net>
1.198 +
1.199 + * macosx/tclMacOSXNotify.c: accommodate changes to prototypes of
1.200 + OSSpinLock(Un)Lock API.
1.201 +
1.202 + * tests/env.test: add extra system env vars that need to be preserved
1.203 + on some Mac OS X versions for testsuite to work.
1.204 +
1.205 + * unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861]
1.206 + (Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when
1.207 + present in CFLAGS to avoid discrepancies between what headers configure
1.208 + sees during preprocessing tests and compiling tests.
1.209 +
1.210 + * unix/configure: autoconf-2.13
1.211 +
1.212 +2006-12-19 Daniel Steffen <das@users.sourceforge.net>
1.213 +
1.214 + * unix/tclUnixThrd.c (TclpInetNtoa): fix for 64 bit.
1.215 +
1.216 + * unix/tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -arch
1.217 + flag succeeds before enabling 64bit build.
1.218 + * unix/configure: autoconf-2.13
1.219 +
1.220 +2006-12-14 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.221 +
1.222 + * doc/string.n: Fix example. [Bug 1615277]
1.223 +
1.224 +2006-12-05 Andreas Kupries <andreask@activestate.com>
1.225 +
1.226 + * tests/pkg.test: Backport to 8.4 (Don Porter's work):
1.227 + * generic/tclPkg.c: When no requirements are supplied to a [package
1.228 + require $pkg] and [package unknown] is invoked to find a satisfying
1.229 + package, pass the requirement argument "0-" (which means all versions
1.230 + are acceptable). This permits a registered [package unknown] command
1.231 + to call [package vsatisfies $testVersion {*}$args] without any special
1.232 + handling of the empty $args case. This fixes/avoids a bug in
1.233 + [::tcl::tm::UnknownHandler] that was causing old TM versions to be
1.234 + provided in preference to newer TM versions. Thanks to Julian Noble
1.235 + for discovering the issue.
1.236 +
1.237 +2006-12-04 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.238 +
1.239 + * doc/file.n: Fix confusing wording for [file pathtype]. [Bug 1606454]
1.240 +
1.241 +2006-11-28 Andreas Kupries <andreask@activestate.com>
1.242 +
1.243 + * generic/tclBasic.c: TIP #280 implementation, conditional on the
1.244 + * generic/tclCmdAH.c: define TCL_TIP280.
1.245 + * generic/tclCmdIL.c:
1.246 + * generic/tclCmdMZ.c:
1.247 + * generic/tclCompCmds.c:
1.248 + * generic/tclCompExpr.c:
1.249 + * generic/tclCompile.c:
1.250 + * generic/tclCompile.h:
1.251 + * generic/tclExecute.c:
1.252 + * generic/tclIOUtil.c:
1.253 + * generic/tclInt.h:
1.254 + * generic/tclInterp.c:
1.255 + * generic/tclNamesp.c:
1.256 + * generic/tclObj.c:
1.257 + * generic/tclProc.c:
1.258 + * tests/compile.test:
1.259 + * tests/info.test:
1.260 + * tests/platform.test:
1.261 + * tests/safe.test:
1.262 +
1.263 +2006-11-27 Kevin Kenny <kennykb@acm.org>
1.264 +
1.265 + * unix/tclUnixChan.c (TclUnixWaitForFile):
1.266 + * tests/event.test (event-14.*): Corrected a bug where
1.267 + TclUnixWaitForFile would present select() with the wrong mask on an
1.268 + LP64 machine if a fd number exceeds 32. Thanks to Jean-Luc Fontaine
1.269 + for reporting and diagnosing [Bug 1602208]
1.270 +
1.271 +2006-11-26 Daniel Steffen <das@users.sourceforge.net>
1.272 +
1.273 + * unix/tcl.m4 (Linux): --enable-64bit support. [Patch 1597389]
1.274 + * unix/configure: autoconf-2.13 [Bug 1230558]
1.275 +
1.276 +2006-11-07 Andreas Kupries <andreask@activestate.com>
1.277 +
1.278 + * unix/tclUnixFCmd.c (CopyFile): Added code to fall back to a
1.279 + hardwired default block size should the filesystem report a bogus
1.280 + value. [Bug 1586470]
1.281 +
1.282 +2006-11-03 Miguel Sofer <msofer@users.sf.net>
1.283 +
1.284 + * generic/tclBasic.c (TEOVI): fix for possible leak of a Command in
1.285 + the presence of execution traces that delete it.
1.286 +
1.287 + * generic/tclBasic.c (TEOVI):
1.288 + * tests/trace.test (trace-21.11): fix for [Bug 1590232], execution
1.289 + traces may cause a second command resolution in the wrong
1.290 + namespace.
1.291 +
1.292 +2006-11-01 Daniel Steffen <das@users.sourceforge.net>
1.293 +
1.294 + * generic/tclEnv.c (Darwin): mark _environ symbol as unexported.
1.295 +
1.296 +2006-10-31 Pat Thoyts <patthoyts@users.sourceforge.net>
1.297 +
1.298 + * rules.vc: Fix [Bug 1582769] build with VC2003 and correct i386 arch
1.299 +
1.300 +2006-10-23 Don Porter <dgp@users.sourceforge.net>
1.301 +
1.302 + * README: Bump version number to 8.4.15
1.303 + * generic/tcl.h:
1.304 + * tools/tcl.wse.in:
1.305 + * unix/configure.in:
1.306 + * unix/tcl.spec:
1.307 + * win/README.binary:
1.308 + * win/configure.in:
1.309 +
1.310 + * unix/configure: autoconf-2.13
1.311 + * win/configure:
1.312 +
1.313 +2006-10-18 Pat Thoyts <patthoyts@users.sourceforge.net>
1.314 +
1.315 + *** 8.4.14 TAGGED FOR RELEASE ***
1.316 +
1.317 + * win/nmakehlp.c: Ensure builds with VC6 without Platform SDK.
1.318 + * win/rules.vc: Pickup MACHINE from environment.
1.319 +
1.320 +2006-10-17 Don Porter <dgp@users.sourceforge.net>
1.321 +
1.322 + * generic/tclIOUtil.c: Cleaned up some code flagged by a
1.323 + * generic/tclInt.h: `make checkexports` test.
1.324 + * win/tclWin32Dll.c:
1.325 + * win/tclWinFile.c:
1.326 +
1.327 +2006-10-16 Daniel Steffen <das@users.sourceforge.net>
1.328 +
1.329 + * changes: updates for 8.4.14 release.
1.330 +
1.331 + * macosx/Makefile: don't redo prebinding of non-prebound binaires.
1.332 +
1.333 +2006-10-11 Andreas Kupries <andreask@activestate.com>
1.334 +
1.335 + * generic/tclPkg.c (Tcl_PkgRequireEx): Corrected crash when argument
1.336 + version==NULL passed in. Backport of the fix for the same problem in
1.337 + 8.5.
1.338 +
1.339 +2006-10-10 Don Porter <dgp@users.sourceforge.net>
1.340 +
1.341 + * changes: changes updated for 8.4.14 release.
1.342 +
1.343 +2006-10-06 Jeff Hobbs <jeffh@ActiveState.com>
1.344 +
1.345 + * tests/http.test: update tests to handle strictness change.
1.346 +
1.347 +2006-10-06 Pat Thoyts <patthoyts@users.sourceforge.net>
1.348 +
1.349 + * win/rules.vc: avoid /RTCc flag with MSVC8. [Bug 1571954]
1.350 +
1.351 +2006-10-05 Jeff Hobbs <jeffh@ActiveState.com>
1.352 +
1.353 + * library/http/http.tcl (http::geturl): only do geturl url rfc 3986
1.354 + validity checking if $::http::strict is true (default false for 8.4).
1.355 + [Bug 1560506]
1.356 +
1.357 + * generic/tcl.h: note limitation on changing Tcl_UniChar size
1.358 + * generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc):
1.359 + * tests/encoding.test (encoding-16.1): fix alignment issues in
1.360 + unicode <> utf conversion procs. [Bug 1122671]
1.361 +
1.362 +2006-10-05 Miguel Sofer <msofer@users.sf.net>
1.363 +
1.364 + * generic/tclVar.c (Tcl_LappendObjCmd):
1.365 + * tests/append.test(4.21-22): fix for longstanding [Bug 1570718],
1.366 + lappending nothing to non-list. Reported by lvirden
1.367 +
1.368 +2006-10-02 Don Porter <dgp@users.sourceforge.net>
1.369 +
1.370 + * generic/tclFileName.c (TclGlob): Prevent doubling of directory
1.371 + separators by [glob]. [Bug 1569042]
1.372 +
1.373 +2006-10-01 Pat Thoyts <patthoyts@users.sourceforge.net>
1.374 +
1.375 + * win/tclWinFile.c: Handle possible missing define.
1.376 + * win/tclWinFile.c: Backported fix for [Bug 1420432] (cannot set
1.377 + * tests/cmdAH.test: mtime for directories on windows).
1.378 +
1.379 +2006-09-30 Miguel Sofer <msofer@users.sf.net>
1.380 +
1.381 + * generic/tclUtil.c (Tcl_SplitList): optimisation, [Patch 1344747]
1.382 + by dgp.
1.383 +
1.384 +2006-09-26 Pat Thoyts <patthoyts@users.sourceforge.net>
1.385 +
1.386 + * win/makefile.vc: Updated MSVC build to properly deal with
1.387 + * win/nmakehlp.c: MSVC8 and AMD64 target. Backport from 8.5
1.388 + * win/rules.vc:
1.389 + * generic/tcl.h: Fixed stat definition for MSVC8 AMD64.
1.390 + * win/tclWinSock.c: Casting type police.
1.391 + * win/tclWinTime.c:
1.392 +
1.393 +2006-09-26 Don Porter <dgp@users.sourceforge.net>
1.394 +
1.395 + * generic/tcl.h: As 2006-09-22 commit from Donal K. Fellows
1.396 + demonstrates, "#define NULL 0" is just wrong, and as a quotable chat
1.397 + figure observed, "If NULL isn't defined, we're not using a C compiler."
1.398 + Improper fallback definition of NULL removed.
1.399 +
1.400 +2006-09-25 Andreas Kupries <andreask@activestate.com>
1.401 +
1.402 + * generic/tclIO.c (Tcl_StackChannel): Fixed [SF Tcl Bug 1564642], aka
1.403 + coverity #51. Extended loop condition, added checking for NULL to
1.404 + prevent seg.fault.
1.405 +
1.406 +2006-09-25 Andreas Kupries <andreask@activestate.com>
1.407 +
1.408 + * generic/tclBasic.c: Reverted exposure of patchlevel in registered
1.409 + core version when TIP#268 features are activated. Better compatibility
1.410 + with existing packages. Like Tk.
1.411 +
1.412 +2006-09-24 Miguel Sofer <msofer@users.sf.net>
1.413 +
1.414 + * generic/tclParse.c (Tcl_ParseCommand): also return an error if
1.415 + start==NULL and numBytes<0. This is coverity's bug #20
1.416 +
1.417 + * generic/tclStringObj.c (STRING_SIZE): fix allocation for 0-length
1.418 + strings. This is coverity's bugs #54-5
1.419 +
1.420 +2006-09-22 Andreas Kupries <andreask@activestate.com>
1.421 +
1.422 + * generic/tclInt.h: Moved TIP#268's field 'packagePrefer' to the end
1.423 + of the structure, for better backward compatibility.
1.424 +
1.425 +2006-09-22 Andreas Kupries <andreask@activestate.com>
1.426 +
1.427 + * generic/tclPkg.c (Tcl_PkgRequireEx): Changes handling of the return
1.428 + information from 'Tcl_PkgRequireProc'. Keep the interpreter result
1.429 + empty. Backport of fix for problem found while testing #268 under 8.5.
1.430 + More details in the comments.
1.431 +
1.432 +2006-09-22 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.433 +
1.434 + * generic/tclThreadTest.c (TclCreateThread): Use NULL instead of 0 as
1.435 + end-of-strings marker to Tcl_AppendResult; the difference matters on
1.436 + 64-bit machines. [Bug 1562528]
1.437 +
1.438 +2006-09-21 Andreas Kupries <andreask@activestate.com>
1.439 +
1.440 + * generic/tcl.decls: Implemented TIP #268, conditionally.
1.441 + * generic/tclBasic.c: Define TCL_TIP268 to activate the new
1.442 + * generic/tclDecls.h: features.
1.443 + * generic/tclInt.h:
1.444 + * generic/tclPkg.c:
1.445 + * generic/tclStubInit.c:
1.446 + * generic/tclTest.c:
1.447 + * library/init.tcl
1.448 + * library/package.tcl:
1.449 + * tests/pkg.test:
1.450 + * tests/platform.test:
1.451 + * tests/safe.test:
1.452 + * doc/PkgRequire.3:
1.453 +
1.454 +2006-09-15 Jeff Hobbs <jeffh@ActiveState.com>
1.455 +
1.456 + * library/http/http.tcl: Change " " -> "+" url encoding mapping
1.457 + * library/http/pkgIndex.tcl: to " " -> "%20" as per RFC 3986.
1.458 + * tests/http.test (http-5.1): bump http to 2.5.3 for 8.4.14
1.459 +
1.460 +2006-09-12 Andreas Kupries <andreask@activestate.com>
1.461 +
1.462 + * unix/configure.in (HAVE_MTSAFE_GETHOST*): Modified to recognize
1.463 + HP-UX 11.00 and beyond as having mt-safe implementations of the
1.464 + gethost functions.
1.465 + * unix/configure: Regenerated, using autoconf 2.13
1.466 +
1.467 + * unix/tclUnixCompat.c (PadBuffer): Fixed bug in calculation of the
1.468 + increment needed to align the pointer, and added documentation
1.469 + explaining why the macro is implemented as it is.
1.470 +
1.471 +2006-09-11 Andreas Kupries <andreask@activestate.com>
1.472 +
1.473 + * tests/msgcat.test: Bumped version in auxiliary files as well.
1.474 + * doc/msgcat.n:
1.475 +
1.476 +2006-09-11 Daniel Steffen <das@users.sourceforge.net>
1.477 +
1.478 + * unix/tclUnixCompat.c: make compatLock static and only declare it
1.479 + when it will actually be used; #ifdef parts of TSD that are not always
1.480 + needed; adjust #ifdefs to cover all possible cases; fix whitespace.
1.481 +
1.482 +2006-09-10 Don Porter <dgp@users.sourceforge.net>
1.483 +
1.484 + * library/msgcat/msgcat.tcl: Bump to version msgcat 1.3.4 to account
1.485 + * library/msgcat/pkgIndex.tcl: for modifications.
1.486 +
1.487 +2006-09-10 Daniel Steffen <das@users.sourceforge.net>
1.488 +
1.489 + * library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback of
1.490 + * tests/msgcat.test: default msgcat locale to
1.491 + * unix/tclUnixInit.c (TclpSetVariables): current CFLocale
1.492 + identifier if available (via private ::tcl::mac::locale global, set at
1.493 + interp init when on Mac OS X 10.3 or later with CoreFoundation).
1.494 +
1.495 + * unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers
1.496 + * unix/configure: autoconf-2.13
1.497 +
1.498 +2006-09-08 Andreas Kupries <andreask@activestate.com>
1.499 +
1.500 + * unix/tclUnixCompat.c: Fixed conditions for CopyArray/CopyString, and
1.501 + CopyHostent. Also fixed bad var names in TclpGetHostByName.
1.502 +
1.503 +2006-09-08 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.504 +
1.505 + * unix/tclUnixCompat.c: Added fallback to gethostbyname() and
1.506 + gethostbyaddr() if the implementation is known to be MT-safe
1.507 + (currently for Darwin 6 or later only).
1.508 +
1.509 + * unix/configure.in: Assume gethostbyname() and gethostbyaddr() are
1.510 + MT-safe starting with Darwin 6 (Mac OSX 10.2).
1.511 +
1.512 + * unix/configure: Regenerated with autoconf V2.13
1.513 +
1.514 +2006-09-07 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.515 +
1.516 + * unix/tclUnixFCmd.c: Removed some false tests added (and left by
1.517 + mistake) by fixing [Bug 999544]
1.518 +
1.519 + * unix/tclUnixCompat.c: Added fallback to MT-unsafe library calls if
1.520 + TCL_THREADS is not defined. Fixed alignment of arrays copied by
1.521 + CopyArrayi() to be on the sizeof(char *) boundary.
1.522 +
1.523 +2006-09-07 Andreas Kupries <andreask@activestate.com>
1.524 +
1.525 + * unix/configure: Regenerated using autoconf 2.13.
1.526 +
1.527 +2006-09-07 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.528 +
1.529 + * unix/tclUnixChan.c Rewritten MT-safe wrappers to
1.530 + * unix/tclUnixCompat.c return ptrs to TSD storage
1.531 + * unix/tclUnixFCmd.c making them all look like their
1.532 + * unix/tclUnixPort.h MT-unsafe pendants API-wise.
1.533 + * unix/tclUnixSock.c
1.534 +
1.535 +2006-09-06 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.536 +
1.537 + * unix/tclUnixChan.c: Added TCL_THREADS ifdef'ed usage
1.538 + * unix/tclUnixFCmd.c: of MT-safe calls like:
1.539 + * unix/tclUnixSock.c: getpwuid, getpwnam, getgrgid, getgrnam,
1.540 + * unix/tclUnixPort.h: gethostbyname and gethostbyaddr.
1.541 + * unix/Makefile.in: See Tcl Bug: 999544
1.542 + * unix/configure.in:
1.543 + * unix/tcl.m4:
1.544 + * unix/configure: Regenerated.
1.545 +
1.546 + * unix/tclUnixCompat.c: New file containing MT-safe implementation of
1.547 + some library calls.
1.548 +
1.549 +2006-09-04 Don Porter <dgp@users.sourceforge.net>
1.550 +
1.551 + * tests/main.text (Tcl_Main-4.4): Test corrected to not be
1.552 + timing sensitive to the Bug 1481986 fix. [Bug 1550858]
1.553 +
1.554 +2006-09-04 Jeff Hobbs <jeffh@ActiveState.com>
1.555 +
1.556 + * doc/package.n: correct package example
1.557 +
1.558 +2006-08-30 Jeff Hobbs <jeffh@ActiveState.com>
1.559 +
1.560 + * win/tclWinChan.c: [Bug 819667] Improve logic for identifying COM
1.561 + ports.
1.562 +
1.563 + * win/tclWinFCmd.c: [Bug 1548263] Added test for NULL return
1.564 + * generic/tclIOUtil.c: from Tcl_FSGetNormalizedPath which was
1.565 + causing segv's
1.566 +
1.567 + * generic/tclFileName.c (TclDoGlob): match incr with existing decr.
1.568 +
1.569 + * unix/Makefile.in: add valgrindshell target and update default
1.570 + VALGRINDARGS. User can override, or add to it with VALGRIND_OPTS env
1.571 + var.
1.572 +
1.573 + * generic/tclBasic.c (Tcl_CreateInterp): init iPtr->threadId
1.574 +
1.575 + * generic/tclIOGT.c (ExecuteCallback):
1.576 + * generic/tclPkg.c (Tcl_PkgRequireEx): replace Tcl_GlobalEval(Obj)
1.577 + with more efficient Tcl_Eval(Obj)Ex
1.578 +
1.579 +2006-08-22 Andreas Kupries <andreask@activestate.com>
1.580 +
1.581 + * unix/tclUnixNotfy.c (Tcl_WaitForEvent): Fixed broken if syntax
1.582 + committed 2006-08-21 by Daniel. The broken syntax is visible to all
1.583 + unix platforms, but not on OSX for machines which HAVE_COREFOUNDATION.
1.584 +
1.585 +2006-08-21 Don Porter <dgp@users.sourceforge.net>
1.586 +
1.587 + * generic/tclIOUtil.c: Revisions to complete the thread finalization
1.588 + of the cwdPathPtr. [Bug 1536142]
1.589 +
1.590 +2006-08-21 Daniel Steffen <das@users.sourceforge.net>
1.591 +
1.592 + * macosx/tclMacOSXNotify.c (Tcl_WaitForEvent): if the run loop is
1.593 + already running (e.g. if Tcl_WaitForEvent was called recursively),
1.594 + re-run it in a custom run loop mode containing only the source for the
1.595 + notifier thread, otherwise wakeups from other sources added to the
1.596 + common run loop modes might get lost; sync panic msg changes from
1.597 + HEAD.
1.598 +
1.599 + * unix/tclUnixNotfy.c (Tcl_WaitForEvent): on 64-bit Darwin,
1.600 + pthread_cond_timedwait() appears to have a bug that causes it to wait
1.601 + forever when passed an absolute time which has already been exceeded
1.602 + by the system time; as a workaround, when given a very brief timeout,
1.603 + just do a poll on that platform. [Bug 1457797]
1.604 +
1.605 + * unix/tclUnixPort.h (Darwin): override potentially faulty configure
1.606 + detection of termios availability in all cases, since termios is known
1.607 + to be present on all Mac OS X releases since 10.0. [Bug 497147]
1.608 +
1.609 +2006-08-18 Daniel Steffen <das@users.sourceforge.net>
1.610 +
1.611 + * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for
1.612 + universal builds including x86_64, for 64-bit CoreFoundation on
1.613 + Leopard and for use of -mmacosx-version-min instead of
1.614 + MACOSX_DEPLOYMENT_TARGET.
1.615 + * unix/configure: autoconf-2.13
1.616 +
1.617 + * generic/tcl.h: add fixes for building on Leopard and support
1.618 + * unix/tclUnixPort.h: for 64-bit CoreFoundation on Leopard.
1.619 +
1.620 + * unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it
1.621 + causes execve to fail intermittently. (rdar://4685553)
1.622 +
1.623 + * macosx/README: updates for x86_64 support and Xcode 2.4.
1.624 +
1.625 + * unix/tclUnixChan.c (TclUnixWaitForFile): with timeout < 0, if
1.626 + select() returns early (e.g. due to a signal), call it again instead
1.627 + of returning a timeout result. Fixes intermittent event-13.8 failures.
1.628 +
1.629 +2006-08-09 Don Porter <dgp@users.sourceforge.net>
1.630 +
1.631 + * generic/tclEncoding.c: Replace buffer copy in for loop with
1.632 + call to memcpy(). Thanks to afredd. [Patch 1530262]
1.633 +
1.634 +2006-08-03 Daniel Steffen <das@users.sourceforge.net>
1.635 +
1.636 + * unix/tclUnixPipe.c (TclpCreateProcess): for USE_VFORK: ensure
1.637 + standard channels are initialized before vfork() so that the child
1.638 + doesn't potentially corrupt global state in the parent's address
1.639 + space.
1.640 +
1.641 +2006-07-30 Kevin Kenny <kennykb@acm.org>
1.642 +
1.643 + * tests/clock.test: Allowed UTC as a synonym for GMT in two tests that
1.644 + indirectly invoke 'strftime' with the result of 'gmtime' to fix a
1.645 + bogus test failure on FreeBSD systems. [Bug 1513489]
1.646 +
1.647 +2006-07-30 Joe English <jenglish@users.sourceforge.net>
1.648 +
1.649 + * doc/AppInit.3: Fix typo [Bug 1496886]
1.650 +
1.651 +2006-07-20 Daniel Steffen <das@users.sourceforge.net>
1.652 +
1.653 + * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent):
1.654 + create notifier thread lazily upon first call to Tcl_WaitForEvent()
1.655 + rather than in Tcl_InitNotifier(). Allows calling exeve() in processes
1.656 + where the event loop has not yet been run (Darwin's execve() fails in
1.657 + processes with more than one thread), in particular allows embedders
1.658 + to call fork() followed by execve(), previously the pthread_atfork()
1.659 + child handler's call to Tcl_InitNotifier() would immediately recreate
1.660 + the notifier thread in the child after a fork.
1.661 +
1.662 + * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): add support for
1.663 + * unix/tclUnixFCmd.c (DoRenameFile, CopyFileAtts): weakly importing
1.664 + * unix/tclUnixInit.c (TclpSetInitialEncodings): symbols not
1.665 + available on OSX 10.2 or 10.3, enables binaires built on later OSX
1.666 + versions to run on earlier ones.
1.667 + * macosx/README: document how to enable weak-linking; cleanup.
1.668 + * unix/tclUnixPort.h: add support for weak-linking; conditionalize
1.669 + AvailabilityMacros.h inclusion; only disable realpath on 10.2 or
1.670 + earlier when threads are enabled.
1.671 + * unix/tclLoadDyld.c (TclpLoadMemoryGetBuffer): change runtime Darwin
1.672 + * unix/tclUnixInit.c (TclpInitPlatform): release check to use
1.673 + global initialized once
1.674 + * unix/tclUnixFCmd.c (DoRenameFile, TclpObjNormalizePath): add runtime
1.675 + Darwin release check to determine if realpath is threadsafe.
1.676 + * unix/configure.in: add check on Darwin for compiler support of weak
1.677 + * unix/tcl.m4: import and for AvailabilityMacros.h header; move
1.678 + Darwin specific checks & defines that are only relevant to the tcl
1.679 + build out of tcl.m4; restrict framework option to Darwin; cleanup
1.680 + quoting.
1.681 + * unix/configure: autoconf-2.13
1.682 +
1.683 + * unix/tclLoadDyld.c (TclpLoadMemory):
1.684 + * unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned
1.685 + comparison and other warnings from gcc4 -Wextra.
1.686 +
1.687 +2006-07-13 Andreas Kupries <andreask@activestate.com>
1.688 +
1.689 + * unix/tclUnixPort.h: Added the inclusion of <AvailabilityMacros.h>.
1.690 + The missing header caused the upcoming #if conditions to wrongly
1.691 + exclude realpath, causing file normalize to ignore symbolic links in
1.692 + the path.
1.693 +
1.694 +2006-07-11 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.695 +
1.696 + * generic/tclAsync.c: Made Tcl_AsyncDelete() more tolerant when called
1.697 + after all thread TSD has been garbage-collected.
1.698 +
1.699 +2006-07-10 Jeff Hobbs <jeffh@ActiveState.com>
1.700 +
1.701 + * generic/tclIO.c (Tcl_CreateChannel): allow Tcl std channel
1.702 + inheritance to be #defined out (default remains in).
1.703 +
1.704 +2006-06-15 Don Porter <dgp@users.sourceforge.net>
1.705 +
1.706 + * changes: changes to start prep for an 8.4.14 release.
1.707 +
1.708 +2006-06-14 Daniel Steffen <das@users.sourceforge.net>
1.709 +
1.710 + * unix/tclUnixPort.h (Darwin): support for MAC_OS_X_VERSION_MAX_ALLOWED
1.711 + define from AvailabilityMacros.h: override configure detection and only
1.712 + use API available in the indicated OS version or earlier.
1.713 +
1.714 +2006-06-14 Pat Thoyts <patthoyts@users.sourceforge.net>
1.715 +
1.716 + * generic/regerror.c: Enable building Tcl with Microsoft's latest
1.717 + * generic/tcl.h: compiler offering (VS2005). We have to handle
1.718 + * generic/tclDate.c: a number of oddities as they have deprecated
1.719 + * tests/env.test: most of the standard C library and now
1.720 + * win/makefile.vc: generate manifest files to be linked into the
1.721 + * win/nmakehlp.c: binaries. [Bug 1424909]
1.722 + * win/rules.vc:
1.723 + * win/tclWinTime.c:
1.724 +
1.725 +2006-06-13 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.726 +
1.727 + * unix/tclLoadDl.c (TclpDlopen): Workaround for a compiler bug in Sun
1.728 + Forte 6. [Bug 1503729]
1.729 +
1.730 +2006-06-06 Don Porter <dgp@users.sourceforge.net>
1.731 +
1.732 + * doc/GetStdChan.3: Added recommendation that each call to
1.733 + Tcl_SetStdChannel() be accompanied by a call to Tcl_RegisterChannel().
1.734 +
1.735 +2006-05-31 Jeff Hobbs <jeffh@ActiveState.com>
1.736 +
1.737 + * generic/tclNamesp.c (NamespaceInscopeCmd): revert [Bug 1400572]
1.738 + fix of 2006-01-09 for [namespace inscope] as it seems to mess with
1.739 + itcl scope decoding. Leaving namespace-29.6 test failure until final
1.740 + cause it determined.
1.741 +
1.742 +2006-05-29 Jeff Hobbs <jeffh@ActiveState.com>
1.743 +
1.744 + * generic/tcl.h (Tcl_DecrRefCount): use if/else construct to allow
1.745 + placement in unbraced outer if/else conditions. (jcw)
1.746 +
1.747 +2006-05-27 Daniel Steffen <das@users.sourceforge.net>
1.748 +
1.749 + * macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler that
1.750 + * unix/tcl.m4 (Darwin): recreates CoreFoundation state and notifier
1.751 + thread in the child after a fork(). Note that pthread_atfork() is
1.752 + available starting with Tiger only. Because vfork() is used by the core
1.753 + on Darwin, [exec]/[open] are not affected by this fix, only extensions
1.754 + or embedders that call fork() directly (such as TclX). However, this
1.755 + only makes fork() safe from corefoundation tcl with --disable-threads;
1.756 + as on all platforms, forked children may deadlock in threaded tcl due
1.757 + to the potential for stale locked mutexes in the child. [Patch 923072]
1.758 + * unix/configure: autoconf-2.59
1.759 +
1.760 +2006-05-24 Donal K. Fellows <donal.k.fellows@manchester.ac.uk>
1.761 +
1.762 + * unix/tcl.m4 (SC_CONFIG_SYSTEM): Fixed quoting of command script to
1.763 + awk; it was a rarely used branch, but it was wrong. [Bug 1494160]
1.764 +
1.765 +2006-05-13 Don Porter <dgp@users.sourceforge.net>
1.766 +
1.767 + * generic/tclFileName.c (TclDoGlob): Disabled the partial
1.768 + normalization done by the recursive glob routine, since changing the
1.769 + precise string of the pathname broke [glob] on some Tcl_Filesystems.
1.770 + [Bug 943995]
1.771 +
1.772 + * generic/tclProc.c (ProcCompileProc): When a bump of the compile
1.773 + epoch forces the re-compile of a proc body, take care not to
1.774 + overwrite any Proc struct that may be referred to on the active
1.775 + call stack. This fixes [Bug 1482718]. Note that the fix will not be
1.776 + effective for code that calls the private routine TclProcCompileProc()
1.777 + directly.
1.778 +
1.779 +2006-05-05 Don Porter <dgp@users.sourceforge.net>
1.780 +
1.781 + * generic/tclMain.c (Tcl_Main): Corrected flaw that required
1.782 + * tests/main.test: (Tcl_Main-4.5): processing of one interactive
1.783 + command before passing control to the loop routine registered with
1.784 + Tcl_SetMainLoop() [Bug 1481986]
1.785 +
1.786 +2006-05-04 Don Porter <dgp@users.sourceforge.net>
1.787 +
1.788 + * README: Bump version number to 8.4.14
1.789 + * generic/tcl.h:
1.790 + * tools/tcl.wse.in:
1.791 + * unix/configure.in:
1.792 + * unix/tcl.spec:
1.793 + * win/README.binary:
1.794 + * win/configure.in:
1.795 +
1.796 + * unix/configure: autoconf-2.13
1.797 + * win/configure:
1.798 +
1.799 + * generic/tclExecute.c (ExprSrandFunc): Restore acceptance of wide
1.800 + * tests/expr-old.test: integer values by srand() [Bug 1480509]
1.801 +
1.802 +2006-04-12 Don Porter <dgp@users.sourceforge.net>
1.803 +
1.804 + *** 8.4.13 TAGGED FOR RELEASE ***
1.805 +
1.806 + * changes: updates for another RC.
1.807 +
1.808 +2006-04-11 Don Porter <dgp@users.sourceforge.net>
1.809 +
1.810 + * generic/tclCmdMZ.c: Stop some interference between enter traces
1.811 + * tests/trace.test: and enterstep traces. [Bug 1458266]
1.812 +
1.813 +2006-04-10 Don Porter <dgp@users.sourceforge.net>
1.814 +
1.815 + * changes: updates for another RC.
1.816 +
1.817 +2006-04-06 Jeff Hobbs <jeffh@ActiveState.com>
1.818 +
1.819 + * generic/tclRegexp.c (FinalizeRegexp): full reset data to indicate
1.820 + readiness for reinitialization.
1.821 +
1.822 +2006-04-06 Don Porter <dgp@users.sourceforge.net>
1.823 +
1.824 + * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seems there
1.825 + * tests/indexObj.test: are extensions that rely on the prior behavior
1.826 + * doc/GetIndex.3: that the empty string cannot succeed as a
1.827 + unique prefix matcher, so I'm restoring Donal Fellows's solution.
1.828 + Added mention of this detail to the documentation. [Bug 1464039]
1.829 +
1.830 +2006-04-06 Daniel Steffen <das@users.sourceforge.net>
1.831 +
1.832 + * unix/tcl.m4: removed TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING
1.833 + define on Darwin. [Bug 1457515]
1.834 + * unix/configure: autoconf-2.13
1.835 +
1.836 +2006-04-05 Don Porter <dgp@users.sourceforge.net>
1.837 +
1.838 + * library/reg/pkgIndex.tcl: Long overlooked bump to registry
1.839 + * win/tclWinReg.c: package version 1.1.4 (should have
1.840 + been done for the Tcl 8.4.8 release!)
1.841 +
1.842 + * library/dde/pkgIndex.tcl: Long overlooked bump to dde package
1.843 + * win/tclWinDde.c: version 1.2.4 (should have been done
1.844 + for the Tcl 8.4.8 release!)
1.845 +
1.846 +2006-04-05 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.847 +
1.848 + * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow empty
1.849 + strings to be matched by the Tcl_GetIndexFromObj machinery, in the
1.850 + same manner as any other key. [Bug 1464039]
1.851 +
1.852 +2006-04-04 Don Porter <dgp@users.sourceforge.net>
1.853 +
1.854 + * generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08 to be
1.855 + * tests/pkg.test: even more forgiving of package version
1.856 + mismatch errors in [package ifneeded] commands, not even logging any
1.857 + warning messages. This further reduces the
1.858 + ***POTENTIAL INCOMPATIBILITY*** noted for that change.
1.859 +
1.860 +2006-04-03 Andreas Kupries <andreask@activestate.com>
1.861 +
1.862 + * generic/tclIO.c (ReadChars): Added check, panic and commentary to a
1.863 + piece of code which relies on BUFFER_PADDING to create enough space at
1.864 + the beginning of each buffer for the insertion of partial multibyte
1.865 + data at the beginning of a buffer. Commentary explains why this code
1.866 + is OK, and the panic is as a precaution if someone twiddled the
1.867 + BUFFER_PADDING into uselessness.
1.868 +
1.869 + * generic/tclIO.c (ReadChars): Temporarily suppress the use of
1.870 + TCL_ENCODING_END set when EOF was reached while the buffer we are
1.871 + converting is not truly the last buffer in the queue. Together with
1.872 + the Utf bug below it was possible to completely wreck the buffer data
1.873 + structures, eventually crashing Tcl. [Bug 1462248]
1.874 +
1.875 + * generic/tclEncoding.c (UtfToUtfProc): Stop accessing memory beyond
1.876 + the end of the input buffer when TCL_ENCODING_END is set and the last
1.877 + bytes of the buffer start a multi-byte sequence. This bug contributed
1.878 + to [Bug 1462248].
1.879 +
1.880 +2006-03-28 Jeff Hobbs <jeffh@ActiveState.com>
1.881 +
1.882 + * win/configure, win/tcl.m4: define MACHINE for gcc builds as well.
1.883 + Needed by Tk for manifest generation.
1.884 +
1.885 + * win/tclWinConsole.c: revert 2005-11-03 [Patch 1256872] change to add
1.886 + win32 unicode console support as it broke the ability to modify the
1.887 + encoding to the console.
1.888 +
1.889 +2006-03-28 Daniel Steffen <das@users.sourceforge.net>
1.890 +
1.891 + * unix/tclUnixFCmd.c (TclpObjNormalizePath): deal with *BSD/Darwin
1.892 + realpath() converting relative paths into absolute paths. [Bug 1064247]
1.893 +
1.894 +2006-03-28 Vince Darley <vincentdarley@sourceforge.net>
1.895 +
1.896 + * generic/tclIOUtil.c: fix to nativeFilesystemRecord comparisons
1.897 + (lesser part of [Bug 1064247])
1.898 +
1.899 +2006-03-27 Pat Thoyts <patthoyts@users.sourceforge.net>
1.900 +
1.901 + * win/tclWinTest.c: Fixes for [Bug 1456373] (mingw-gcc issue)
1.902 +
1.903 +2006-03-23 Don Porter <dgp@users.sourceforge.net>
1.904 +
1.905 + * tests/expr.test: Nan self-inquality test silenced. [Bug 761471]
1.906 +
1.907 +2006-03-22 Don Porter <dgp@users.sourceforge.net>
1.908 +
1.909 + * changes: updates for another RC.
1.910 +
1.911 +2006-03-18 Vince Darley <vincentdarley@sourceforge.net>
1.912 +
1.913 + * generic/tclTest.c:
1.914 + * win/tclWinFile.c:
1.915 + * win/tclWinTest.c:
1.916 + * tests/fCmd.test:
1.917 + * tests/winFCmd.test:
1.918 + * tests/tcltest.test: Backport of [file writable] fixes for Windows
1.919 + from HEAD. [Bug 1193497]
1.920 +
1.921 +2006-03-16 Andreas Kupries <andreask@activestate.com>
1.922 +
1.923 + * doc/open.n: Documented the changed behaviour of 'a'ppend mode.
1.924 +
1.925 + * tests/io.test (io-43.1 io-44.[1234]): Rewritten to be
1.926 + self-contained with regard to setup and cleanup. [Bug 681793]
1.927 +
1.928 + * generic/tclIOUtil.c (TclGetOpenMode): Added the flag O_APPEND to the
1.929 + list of POSIX modes used when opening a file for 'a'ppend. This
1.930 + enables the proper automatic seek-to-end-on-write by the OS. See [Bug
1.931 + 680143] for longer discussion.
1.932 +
1.933 + * tests/ioCmd.test (iocmd-13.7.*): Extended the testsuite to check the
1.934 + new handling of 'a'.
1.935 +
1.936 +2006-03-15 Andreas Kupries <andreask@activestate.com>
1.937 +
1.938 + * tests/socket.test: Extended the timeout in socket-11.11 from 10 to
1.939 + 40 seconds to allow for really slow machines. Also extended
1.940 + actual/expected results with value of variable 'done' to make it
1.941 + clearer when a test fails due to a timeout. [Bug 792159]
1.942 +
1.943 +2006-03-14 Andreas Kupries <andreask@activestate.com>
1.944 +
1.945 + * generic/tclPipe.c (TclCreatePipeline): Modified the processing of
1.946 + pipebars to fail if the last bar is followed only by redirections.
1.947 + [Bug 768659]
1.948 +
1.949 +2006-03-14 Andreas Kupries <andreask@activestate.com>
1.950 +
1.951 + * doc/fconfigure.n: Clarified that -translation is binary is reported
1.952 + as lf when queried, because it is identical to lf, except for the
1.953 + special additional behaviour when setting it. [Bug 666770]
1.954 +
1.955 +2006-03-14 Andreas Kupries <andreask@activestate.com>
1.956 +
1.957 + * win/tclWinPipe.c (Tcl_WaitPid): Backport of fix made to the head by
1.958 + David Gravereaux in 2004. See ChangeLog entry 2004-01-19. [Bug 1381436]
1.959 +
1.960 + Fixed a thread-safety problem with the process list. The delayed cut
1.961 + operation after the wait was going stale by being outside the list
1.962 + lock. It now cuts within the lock and does a locked splice for when it
1.963 + needs to instead. [Bug 859820]
1.964 +
1.965 +2006-03-13 Don Porter <dgp@users.sourceforge.net>
1.966 +
1.967 + * generic/tclEncoding.c: Report error when an escape encoding
1.968 + is missing one of its sub-encodings [Bug 506653]
1.969 +
1.970 + * unix/configure.in: Revert change from 2005-07-26 that sometimes
1.971 + * unix/configure: added $prefix/share to the tcl_pkgPath.
1.972 + See [Patch 1231015]. autoconf-2.13.
1.973 +
1.974 +2006-03-10 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.975 +
1.976 + -- Summary of changes fixing [Bug 1437595] --
1.977 +
1.978 + * generic/tclEvent.c: Cosmetic touches and identation
1.979 + * generic/tclInt.h: Added TclpFinalizeSockets() call.
1.980 +
1.981 + * generic/tclIO.c: Calls TclpFinalizeSockets() as part of the
1.982 + TclFinalizeIOSubsystem().
1.983 +
1.984 + * unix/tclUnixSock: Added no-op TclpFinalizeSockets().
1.985 +
1.986 + * mac/tclMacSock.c:
1.987 + * win/tclWinPipe.c
1.988 + * win/tclWinSock.c: Finalization of the sockets/pipes is now solely
1.989 + done in TclpFinalizeSockets() and TclpFinalizePipes() and not over the
1.990 + thread-exit handler, because the order of actions the Tcl generic core
1.991 + will impose may result in cores/hangs if the thread exit handler tears
1.992 + down corresponding subsystem(s) too early.
1.993 +
1.994 +2006-03-10 Vince Darley <vincentdarley@sourceforge.net>
1.995 +
1.996 + * win/tclWin32Dll.c:
1.997 + * win/tclWinInt.h:
1.998 + * win/tclWinFile.c: backported some fixes from HEAD relating to 'file
1.999 + readable' and 'file writable', but main 'file writable' bug still
1.1000 + outstanding.
1.1001 +
1.1002 +2006-03-07 Don Porter <dgp@users.sourceforge.net>
1.1003 +
1.1004 + * README: Bump version number to 8.4.13 and update
1.1005 + * changes: changes to start prep for an 8.4.13 release.
1.1006 + * generic/tcl.h:
1.1007 + * tools/tcl.wse.in:
1.1008 + * unix/configure{.in}:
1.1009 + * unix/tcl.spec:
1.1010 + * win/README.binary:
1.1011 + * win/configure{.in}:
1.1012 +
1.1013 + * tests/parse.test: Missing constraint
1.1014 +
1.1015 +2006-03-06 Don Porter <dgp@users.sourceforge.net>
1.1016 +
1.1017 + * generic/tclBasic.c: Revised handling of TCL_EVAL_* flags to
1.1018 + * tests/parse.test: simplify TclEvalObjvInternal and to correct
1.1019 + the auto-loading of alias targets (parse-8.12). [Bug 1444291]
1.1020 +
1.1021 +2006-03-02 Jeff Hobbs <jeffh@ActiveState.com>
1.1022 +
1.1023 + * win/Makefile.in: convert _NATIVE paths to use / to avoid ".\"
1.1024 + path-as-escape issue.
1.1025 +
1.1026 + * unix/tcl.m4, win/tcl.m4: []-quote ac_defun functions.
1.1027 +
1.1028 +2006-03-02 Pat Thoyts <patthoyts@users.sourceforge.net>
1.1029 +
1.1030 + * unix/tcl.m4: Fix for [Tk Bug 1334613] to sort out shared library
1.1031 + * unix/configure: issues on NetBSD. Regenerated configure script.
1.1032 +
1.1033 +2006-02-28 Don Porter <dgp@users.sourceforge.net>
1.1034 +
1.1035 + * generic/tclBasic.c: Corrections to be sure that TCL_EVAL_GLOBAL
1.1036 + * tests/parse.test: evaluations act the same as [uplevel #0]
1.1037 + * tests/trace.test: evaluations, even when execution traces or
1.1038 + invocations of [::unknown] are present. [Bug 1439836]
1.1039 +
1.1040 +2006-02-16 Don Porter <dgp@users.sourceforge.net>
1.1041 +
1.1042 + * generic/tclIndexObj.c: Disallow the "ambiguous" error message
1.1043 + * tests/indexObj.test: when TCL_EXACT matching is requested.
1.1044 +
1.1045 +2006-02-15 Don Porter <dgp@users.sourceforge.net>
1.1046 +
1.1047 + * generic/tclIO.c: Made several routines tolerant of
1.1048 + * generic/tclIOUtil.c: interp == NULL arguments. [Bug 1380662]
1.1049 +
1.1050 +2006-02-09 Don Porter <dgp@users.sourceforge.net>
1.1051 +
1.1052 + * tests/main.test (Tcl_Main-6.7): Improved robustness of command
1.1053 + auto-completion test. [Bug 1422736]
1.1054 +
1.1055 +2006-01-25 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1056 +
1.1057 + * unix/tclUnixInit.c (TclpInitPlatform): Improved conditions on when
1.1058 + to update the FP rounding mode on FreeBSD, taken from FreeBSD port.
1.1059 +
1.1060 +2006-01-23 Miguel Sofer <msofer@users.sf.net>
1.1061 +
1.1062 + * generic/tclStringObj.c (Tcl_GetRange):
1.1063 + * tests/stringTest (string-12.21):fixed incorrect handling of internal
1.1064 + rep in Tcl_GetRange. Thanks to twylite and Peter Spjuth. [Bug 1410553]
1.1065 +
1.1066 +2006-01-16 Reinhard Max <max@suse.de>
1.1067 +
1.1068 + * generic/tclPipe.c (FileForRedirect): Prevent nameString from being
1.1069 + freed without having been initialized.
1.1070 + * tests/exec.test: Added a test for the above.
1.1071 +
1.1072 +2006-01-12 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.1073 +
1.1074 + * generic/tclIOUtil.c (Tcl_FSGetInternalRep): fixed potential
1.1075 + overwriting of already freed memory which caused all kinds of (rare
1.1076 + but reproducible) coredumps all over the place.
1.1077 +
1.1078 +2006-01-11 Don Porter <dgp@users.sourceforge.net>
1.1079 +
1.1080 + * tests/error.test (error-7.0): Test the timing of write traces on
1.1081 + ::errorInfo. [Bug 1397843]
1.1082 +
1.1083 +2006-01-10 Daniel Steffen <das@users.sourceforge.net>
1.1084 +
1.1085 + * unix/configure: add caching, use AC_CACHE_CHECK instead of
1.1086 + * unix/configure.in: AC_CACHE_VAL where possible, consistent message
1.1087 + * unix/tcl.m4: quoting, sync relevant tclconfig/tcl.m4 and HEAD
1.1088 + changes and gratuitous formatting differences, fix SC_CONFIG_MANPAGES
1.1089 + with default argument, Darwin improvements to SC_LOAD_*CONFIG.
1.1090 +
1.1091 +2006-01-09 Don Porter <dgp@users.sourceforge.net>
1.1092 +
1.1093 + * generic/tclNamesp.c (NamespaceInscopeCmd): [namespace inscope]
1.1094 + * tests/namespace.test: commands were not reported by [info level].
1.1095 + [Bug 1400572]
1.1096 +
1.1097 +2005-12-20 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1098 +
1.1099 + * generic/tclThreadAlloc.c (Tcl_GetMemoryInfo): Format values as longs
1.1100 + and not ints, so they are less likely to wrap on 64-bit machines.
1.1101 +
1.1102 +2005-12-19 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1103 +
1.1104 + * doc/Tcl.n: Clarify what is going on in variable substitution
1.1105 + following thread on comp.lang.tcl.
1.1106 +
1.1107 +2005-12-14 Daniel Steffen <das@users.sourceforge.net>
1.1108 +
1.1109 + * generic/tclIOUtil.c: workaround gcc warning "comparison is always
1.1110 + * generic/tclTest.c: false due to limited range of data type".
1.1111 +
1.1112 + * unix/configure.in: run check for fts API on all platforms, since
1.1113 + Linux glibc2 and *BSDs also have this and using fts is more efficient
1.1114 + than recursive opendir/readdir (sync with HEAD).
1.1115 + * unix/configure: regen.
1.1116 +
1.1117 +2005-12-12 Jeff Hobbs <jeffh@ActiveState.com>
1.1118 +
1.1119 + * unix/tcl.m4, unix/configure: Fix sh quoting error reported in
1.1120 + bash-3.1+ [Bug 1377619] (schafer)
1.1121 +
1.1122 +2005-12-12 Reinhard Max <max@suse.de>
1.1123 +
1.1124 + * generic/tclExecute.c (ExprAbsFunc): fixed the abs(MIN_INT) case so
1.1125 + that it doesn't break on compilers that don't assume integers to wrap
1.1126 + around (e.g. gcc-4.1.0).
1.1127 +
1.1128 +2005-12-09 Donal K. Fellows <donal.k.fellows@manchester.ac.uk>
1.1129 +
1.1130 + * tests/lsearch.test (lsearch-10.8..10): If the -start is off the end,
1.1131 + * generic/tclCmdIL.c (Tcl_LsearchObjCmd): searching should find
1.1132 + nothing at all. [Bug 1374778]
1.1133 +
1.1134 +2005-12-05 Daniel Steffen <das@users.sourceforge.net>
1.1135 +
1.1136 + *** 8.4.12 TAGGED FOR RELEASE ***
1.1137 +
1.1138 + * unix/tclUnixPort.h (Darwin): fix incorrect __DARWIN_UNIX03 configure
1.1139 + overrides that were originally copied from Darwin CVS (rdar://3693001).
1.1140 +
1.1141 +2005-12-05 Don Porter <dgp@users.sourceforge.net>
1.1142 +
1.1143 + * unix/configure.in: Revised fix for [Bug 1034337] from Daniel
1.1144 + * unix/tclUnixFCmd.c: Steffen. Uses fts_*() routines.
1.1145 + * unix/configure: autoconf-2.13
1.1146 + * changes: Update changes for 8.4.12 release
1.1147 +
1.1148 +2005-12-04 Daniel Steffen <das@users.sourceforge.net>
1.1149 +
1.1150 + * README: refer to macosx/README instead of mac/README.
1.1151 + * mac/README: add note that mac classic port is no longer supported.
1.1152 +
1.1153 +2005-12-03 Jeff Hobbs <jeffh@ActiveState.com>
1.1154 +
1.1155 + * README: correct 2 urls
1.1156 +
1.1157 +2005-12-01 Don Porter <dgp@users.sourceforge.net>
1.1158 +
1.1159 + * changes: Update changes for 8.4.12 release
1.1160 +
1.1161 +2005-12-01 Daniel Steffen <das@users.sourceforge.net>
1.1162 +
1.1163 + * unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset
1.1164 + * unix/configure: regen.
1.1165 +
1.1166 +2005-11-29 Jeff Hobbs <jeffh@ActiveState.com>
1.1167 +
1.1168 + * win/tcl.m4: Add build support for Windows-x64 builds.
1.1169 + * win/configure: --enable-64bit now accepts =amd64|ia64 for
1.1170 + * win/Makefile.in: Windows 64-bit build variants (default: amd64)
1.1171 + * win/makefile.vc: [Bug 1369597]
1.1172 +
1.1173 +2005-11-29 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1174 +
1.1175 + * generic/tclObj.c (Tcl_GetWideIntFromObj): Add more efficient
1.1176 + conversion to wides from normal ints. [Bug 1310081]
1.1177 +
1.1178 + * generic/tclCmdIL.c (Tcl_LsearchObjCmd): Allow [lsearch -regexp] to
1.1179 + process REs that contain backreferences. This expensive mode of
1.1180 + operation is only used if the RE would otherwise cause a compilation
1.1181 + failure. [Bug 1366683]
1.1182 +
1.1183 +2005-11-28 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1184 +
1.1185 + * win/tclWinSock.c (CreateSocket): Applied [Patch 1353853] to prevent
1.1186 + reads of uninitialized variables during cleanup.
1.1187 +
1.1188 +2005-11-27 Daniel Steffen <das@users.sourceforge.net>
1.1189 +
1.1190 + * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),
1.1191 + add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to
1.1192 + configure (flag can't be present twice, so can't be in both CFLAGS and
1.1193 + LDFLAGS during configure), don't use -prebind when deploying on 10.4,
1.1194 + define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542).
1.1195 + (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete
1.1196 + autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD.
1.1197 +
1.1198 + * unix/configure.in: fix obsolete autoconf macros, sync gratuitous
1.1199 + formatting/ordering differences with tk/unix/configure.in.
1.1200 +
1.1201 + * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make
1.1202 + executable linking the same as during configure (needed to avoid
1.1203 + loosing any linker relevant flags in CFLAGS, in particular flags that
1.1204 + can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling
1.1205 + of tclTestInit.o or xtTestInit.o during parallel make.
1.1206 + (checkstubs, checkdoc, checkexports): dependency and Darwin fixes
1.1207 +
1.1208 + * unix/tclLoadDyld.c (TclpDlopen): [Bug 1204237] use
1.1209 + NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only.
1.1210 + (TclGuessPackageName): should not be MODULE_SCOPE.
1.1211 + (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for
1.1212 + loading universal (fat) bundles from memory.
1.1213 +
1.1214 + * unix/tclUnixPort.h:
1.1215 + * unix/tclUnixFCmd.c: add support for new Tiger copyfile() API to
1.1216 + enable copying of xattrs & ACLs by [file copy].
1.1217 +
1.1218 + * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE
1.1219 + defines to support fat compiles of ppc and ppc64 at the same time,
1.1220 + (replaces Darwin CVS fix by emoy, rdar://3693001).
1.1221 + add/correct location of version numbers in macosx files.
1.1222 +
1.1223 + * generic/tclInt.h: clarify fat compile comment.
1.1224 +
1.1225 + * unix/tclUnixPort.h: add Darwin specifc configure overrides to
1.1226 + support fat compiles, where configure runs only once for multiple
1.1227 + architectures (replaces Darwin CVS fix by emoy, rdar://3693001).
1.1228 +
1.1229 + * macosx/tclMacOSXBundle.c:
1.1230 + * macosx/tclMacOSXNotify.c:
1.1231 + * unix/tclUnixNotfy.c: fix #include order to support compile time
1.1232 + * unix/tclUnixPort.h: override of HAVE_COREFOUNDATION in
1.1233 + tclUnixPort.h when building for ppc64
1.1234 +
1.1235 + * macosx/Tcl.pbproj/default.pbxuser (new file):
1.1236 + * macosx/Tcl.pbproj/jingham.pbxuser:
1.1237 + * macosx/Tcl.pbproj/project.pbxproj: sync with HEAD.
1.1238 +
1.1239 + * macosx/README: clarification/cleanup, sync with HEAD, document
1.1240 + universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once).
1.1241 +
1.1242 + * macosx/Makefile: add support for reusing configure cache, build
1.1243 + target fixes, remove GENERIC_FLAGS override now handled by tcl.m4.
1.1244 +
1.1245 + * generic/tclIOUtil.c:
1.1246 + * generic/tclRegexp.c:
1.1247 + * generic/tclVar.c: declare globals used only in own file as static
1.1248 + (sync with HEAD).
1.1249 +
1.1250 + * generic/rege_dfa.c (getvacant):
1.1251 + * generic/regexec.c (cfind):
1.1252 + * generic/tclCompExpr.c (CompileSubExpr):
1.1253 + * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to
1.1254 + silence gcc 4 warnings.
1.1255 +
1.1256 + * generic/regguts.h: only #define NDEBUG if not already #defined.
1.1257 +
1.1258 + * macosx/tclMacOSXNotify.c: sync whitespace & comments with HEAD
1.1259 +
1.1260 + * unix/configure: regen.
1.1261 +
1.1262 +2005-11-20 Joe English <jenglish@users.sourceforge.net>
1.1263 +
1.1264 + * generic/tclStubLib.c: Don't set tclStubsPtr to 0 when
1.1265 + Tcl_PkgRequireEx() fails [Fix for [Bug 1091431] "Tcl_InitStubs failure
1.1266 + crashes wish"]
1.1267 +
1.1268 +2005-11-18 Miguel Sofer <msofer@users.sf.net>
1.1269 +
1.1270 + * tests/trace.test (trace-34.5): [Bug 1047286], added a second test
1.1271 + illustrating the role of "ns in callStack" in the ns's visibility
1.1272 + during deletion traces.
1.1273 +
1.1274 + * generic/tclBasic.c (Tcl_DeleteCommandFromToken):
1.1275 + * generic/tclCmdMZ.c (TraceCommandProc):
1.1276 + * generic/tclInt.h (NS_KILLED):
1.1277 + * generic/tclNamesp.c (Tcl_DeleteNamespace
1.1278 + * tests/namespace.test (namespace-7.3-6):
1.1279 + * tests/trace.test (trace-20.13-16): fix [Bugs 1355942/1355342].
1.1280 +
1.1281 +2005-11-18 Jeff Hobbs <jeffh@ActiveState.com>
1.1282 +
1.1283 + * generic/tclIO.c (TclFinalizeIOSubsystem): preserve statePtr until we
1.1284 + netrieve next statePtr from it.
1.1285 +
1.1286 +2005-11-18 Don Porter <dgp@users.sourceforge.net>
1.1287 +
1.1288 + * generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08 to be
1.1289 + * tests/pkg.test: more forgiving of package version mismatch
1.1290 + errors in [package ifneeded] commands. This reduces the
1.1291 + ***POTENTIAL INCOMPATIBILITY*** noted for that change.
1.1292 +
1.1293 +2005-11-18 Andreas Kupries <andreask@activestate.com>
1.1294 +
1.1295 + * generic/tclIO.c (TclFinalizeIOSubsystem): Applied Pat Thoyts' patch
1.1296 + for [Bug 1359094]. This moves the retrieval of the next channel state
1.1297 + to the end of the loop, as the called closeproc may close other
1.1298 + channels, i.e., modify the list we are iterating, invalidating any
1.1299 + pointer retrieved earlier.
1.1300 +
1.1301 +2005-11-18 Donal K. Fellows <donal.k.fellows@manchester.ac.uk>
1.1302 +
1.1303 + * library/http/http.tcl (http::geturl): Improved syntactic validation
1.1304 + of URLs, and better error messages in some cases. [Bug 1358369]
1.1305 +
1.1306 +2005-11-16 Don Porter <dgp@users.sourceforge.net>
1.1307 +
1.1308 + * README: Bump version number to 8.4.12
1.1309 + * generic/tcl.h:
1.1310 + * tools/tcl.wse.in:
1.1311 + * unix/configure.in:
1.1312 + * unix/tcl.spec:
1.1313 + * win/README.binary:
1.1314 + * win/configure.in:
1.1315 +
1.1316 + * unix/configure: autoconf-2.13
1.1317 + * win/configure:
1.1318 +
1.1319 +2005-11-15 Don Porter <dgp@users.sourceforge.net>
1.1320 +
1.1321 + * changes: Update changes for 8.4.12 release
1.1322 +
1.1323 +2005-11-15 Kevin B. Kenny <kennykb@acm.org>
1.1324 +
1.1325 + * tests/cmdAH.test: Backported the fix for [Bug 926016] because of
1.1326 + * win/tclWinFile.c: a repeated bug report in 8.4 [Bug 1353840].
1.1327 + Windows [file mtime] will now return seconds from the Posix epoch
1.1328 + correctly (except for FAT32 file systems after a DST change without a
1.1329 + reboot - for which there is no help). A side effect is that file times
1.1330 + will appear different in Tcl from the way they do in Windows Explorer
1.1331 + or a 'dir' listing, because the Microsoft tools get the DST state
1.1332 + wrong in the listings.
1.1333 +
1.1334 +2005-11-09 Kevin B. Kenny <kennykb@acm.org>
1.1335 +
1.1336 + * generic/tclTimer.c: Changed [after] so that it behaves correctly
1.1337 + * tests/timer.test: with negative arguments. [Bug 1350293]
1.1338 +
1.1339 +2005-11-08 Jeff Hobbs <jeffh@ActiveState.com>
1.1340 +
1.1341 + * unix/tclUnixFCmd.c (MAX_READDIR_UNLINK_THRESHOLD): reduce to 130
1.1342 + based on errors seen on OS X 10.3 with lots of links in a dir. [Bug
1.1343 + 1034337 followup]
1.1344 +
1.1345 +2005-11-08 Don Porter <dgp@users.sourceforge.net>
1.1346 +
1.1347 + * tests/expr.test: Portable tests expr-46.13-18 [Bug 1341368]
1.1348 +
1.1349 + * generic/tclPkg.c: Corrected inconsistencies in the value returned
1.1350 + * tests/pkg.test: by Tcl_PkgRequire(Ex) so that the returned
1.1351 + values will always agree with what is stored in the package database.
1.1352 + This way repeated calls to Tcl_PkgRequire(Ex) have the same results.
1.1353 + Thanks to Hemang Lavana. [Bug 1162286]
1.1354 + ***POTENTIAL INCOMPATIBILITY***: Incompatible with those existing
1.1355 + packages that are accustomed to the [package] command forgiving
1.1356 + their bugs.
1.1357 +
1.1358 + * tests/namespace.test (25.7,8): Backport test of knownBug.
1.1359 +
1.1360 +2005-11-08 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1361 +
1.1362 + * generic/tclCmdMZ.c (TclTraceVariableObjCmd, TraceVarProc): Applied
1.1363 + Miguel's fix for [Bug 1348775]. It is not quite as elegant as the one
1.1364 + applied to the HEAD, but it is easier to use it rather than fully
1.1365 + backporting.
1.1366 +
1.1367 +2005-11-07 Miguel Sofer <msofer@users.sf.net>
1.1368 +
1.1369 + * tests/trace.test (trace-13.2-4): added tests to detect leak, see
1.1370 + [Bug 1348775].
1.1371 +
1.1372 +2005-11-04 Don Porter <dgp@users.sourceforge.net>
1.1373 +
1.1374 + * unix/tcl.m4: Added code to enable [load] on LynxOS. Thanks to
1.1375 + heidibr@users.sf.net for the patch. [Bug 1163896]
1.1376 +
1.1377 + * unix/configure: autoconf-2.13.
1.1378 +
1.1379 +2005-11-04 Pat Thoyts <patthoyts@users.sourceforge.net>
1.1380 +
1.1381 + * win/tclWinPipe.c: Applied [Patch 1267871] by Matt Newman which
1.1382 + * win/tclWinPort.h: provides extended error code support.
1.1383 + * tests/exec.test: Wrote some tests for this feature.
1.1384 +
1.1385 +2005-11-04 Kevin Kenny <kennykb@acm.org>
1.1386 +
1.1387 + * generic/tclGetDate.y: Added abbreviations for the Korean timezone.
1.1388 + * generic/tclDate.c: Regenerated.
1.1389 +
1.1390 + * compat/strftime.c: Fixed a problem where the name of the time zone
1.1391 + was double-converted from system encoding to UTF-8. Thanks to the
1.1392 + anonymous submitter of [Bug 1317477] for the report and the patch.
1.1393 +
1.1394 +2005-11-04 Miguel Sofer <msofer@users.sf.net>
1.1395 +
1.1396 + * generic/tclInt.h:
1.1397 + * generic/tclNamesp.c:
1.1398 + * generic/tclVar.c: fix for [Bugs 1338280/1337229]. Thanks Don.
1.1399 +
1.1400 + * tests/trace.test: fix duplicate test numbers
1.1401 +
1.1402 +2005-11-03 Don Porter <dgp@users.sourceforge.net>
1.1403 +
1.1404 + * generic/tclUnixInit.c (TclpSetInitialEncodings): Modified so
1.1405 + that multiple calls can continue to atttempt to properly set the
1.1406 + system encoding. Needed for Tclkit to properly support non-default
1.1407 + encodings. Thanks to Yaroslav Schekin. [Bug 1201171]
1.1408 +
1.1409 +2005-11-03 Pat Thoyts <patthoyts@users.sourceforge.net>
1.1410 +
1.1411 + * win/tclWin32Dll.c: Backported Anton Kovalenko's [Patch 1256872]
1.1412 + * win/tclWinConsole.c: to give unicode console support on
1.1413 + * win/tclWinInt.h: suitable systems (eg: NT/XP)
1.1414 +
1.1415 +2005-11-01 Don Porter <dgp@users.sourceforge.net>
1.1416 +
1.1417 + * generic/tclCmdMZ.c (TclCheckExecutionTraces): Corrected mistaken
1.1418 + assumption that all command traces are set at the script level.
1.1419 + Report/fix from Jacques H. de Villiers. [Bug 1337941]
1.1420 +
1.1421 + * tests/expr-old.test (expr-32.52): Use int(.) to restrict result
1.1422 + of left shift to the C long range.
1.1423 +
1.1424 +2005-10-29 Mo DeJong <mdejong@users.sourceforge.net>
1.1425 +
1.1426 + * tests/expr.test: Fix problems in new round() tests that lead to
1.1427 + correct result only on 32 bit long systems. [Bug 1341368]
1.1428 +
1.1429 +2005-10-29 Miguel Sofer <msofer@users.sf.net>
1.1430 +
1.1431 + * generic/tclCmdMZ.c (TraceVarProc): [Bug 1337229], partial fix.
1.1432 + Ensure that a second call with TCL_TRACE_DESTROYED does not lead to a
1.1433 + second call to Tcl_EventuallyFree(). It is still true that that second
1.1434 + call should not happen, so the bug is not completely fixed.
1.1435 + * tests/trace.test (test-18.3-4): added tests for [Bugs 1337229 and
1.1436 + 1338280].
1.1437 +
1.1438 +2005-10-27 Mo DeJong <mdejong@users.sourceforge.net>
1.1439 +
1.1440 + * generic/tclExecute.c (ExprRoundFunc): Fix typo where number before
1.1441 + rounding is compared with smallest integer instead of number after
1.1442 + rounding. This fix does not change the results of any tests.
1.1443 + * tests/expr.test: Add round() tests for cases near the min and max
1.1444 + int values.
1.1445 + * tests/util.test: Remove pointless warning code about testobj command
1.1446 +
1.1447 +2005-10-23 Miguel Sofer <msofer@users.sf.net>
1.1448 +
1.1449 + * generic/tclBasic.c:
1.1450 + * generic/tclBinary.c:
1.1451 + * generic/tclCmdAH.c:
1.1452 + * generic/tclCmdIL.c:
1.1453 + * generic/tclCmdMZ.c:
1.1454 + * generic/tclExecute.c:
1.1455 + * generic/tclLink.c:
1.1456 + * generic/tclMain.c:
1.1457 + * generic/tclProc.c:
1.1458 + * generic/tclScan.c:
1.1459 + * generic/tclTest.c:
1.1460 + * generic/tclVar.c:
1.1461 + * mac/tclMacInit.c:
1.1462 + * unix/tclUnixInit.c:
1.1463 + * win/tclWinInit.c: Ensure that the core never calls TclPtrSetVar,
1.1464 + Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new
1.1465 + value. It is not possible to handle error returns correctly in that
1.1466 + case [Bug 1334947], one has the choice of leaking the object in some
1.1467 + cases, or else risk crashing in some others.
1.1468 +
1.1469 +2005-10-22 Miguel Sofer <msofer@users.sf.net>
1.1470 +
1.1471 + * generic/tclExecute.c (INST_CONCAT): disable the optimisation for
1.1472 + wide integers. [Bug 1251791]
1.1473 +
1.1474 +2005-10-14 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.1475 +
1.1476 + * generic/tclIO.c (Tcl_ClearChannelHandlers): removed change dated
1.1477 + 2005-10-04 below. Look into [Bug 1323992] for detailed discussion.
1.1478 +
1.1479 +2005-10-13 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1480 +
1.1481 + * generic/tclCmdAH.c (Tcl_FormatObjCmd): Stop [format] from seeing
1.1482 + the difference between ints and wides. [Bug 1284178]
1.1483 +
1.1484 +2005-10-13 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.1485 +
1.1486 + * generic/tclIO.c (Tcl_ClearChannelHandlers): temporary
1.1487 + ifdef TCL_THREADS changes done to de-activate pending
1.1488 + event processing when channel is being closed/cutted.
1.1489 +
1.1490 +2005-10-10 Jeff Hobbs <jeffh@ActiveState.com>
1.1491 +
1.1492 + * generic/tclInt.h: ensure MODULE_SCOPE decl
1.1493 +
1.1494 +2005-10-07 Jeff Hobbs <jeffh@ActiveState.com>
1.1495 +
1.1496 + * unix/tclUnixFCmd.c (TraverseUnixTree): Adjust 2004-11-11 change to
1.1497 + * tests/fCmd.test (fCmd-20.2): account for NFS special
1.1498 + files with a readdir rewind threshold. [Bug 1034337]
1.1499 +
1.1500 +2005-10-05 Andreas Kupries <andreask@activestate.com>
1.1501 +
1.1502 + * generic/tclPipe.c (TclCreatePipeline): Fixed [Bug 1109294]. Applied
1.1503 + the patch provided by David Gravereaux.
1.1504 +
1.1505 + * doc/CrtChannel.3: Fixed [Bug 1104682], by application of David
1.1506 + Welton's patch for it, and added a note about wideSeekProc.
1.1507 +
1.1508 +2005-10-05 Jeff Hobbs <jeffh@ActiveState.com>
1.1509 +
1.1510 + * tests/env.test (env-6.1):
1.1511 + * win/tclWinPort.h: define USE_PUTENV_FOR_UNSET 1
1.1512 + * generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add
1.1513 + USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for
1.1514 + various systems that have putenv(), but can't unset env vars with it.
1.1515 + Note difference between Windows and Linux for actually unsetting the
1.1516 + env var (use of '=').
1.1517 + Correct the resizing of the environ array. We assume that we are in
1.1518 + full ownership, but that's not correct. [Bug 979640]
1.1519 +
1.1520 +2005-10-04 Jeff Hobbs <jeffh@ActiveState.com>
1.1521 +
1.1522 + * win/tclWinSerial.c (SerialSetOptionProc): free argv [Bug 1067708]
1.1523 +
1.1524 + * tests/http.test: Do not URI encode -._~ according to
1.1525 + * library/http/http.tcl (init): RFC3986. [Bug 1182373] (aho)
1.1526 +
1.1527 + * generic/tclIOUtil.c (TclFSNormalizeAbsolutePath): make static
1.1528 + * generic/tclEncoding.c (TclFindEncodings): make static
1.1529 +
1.1530 + * unix/tclLoadShl.c (TclpDlopen): use DYNAMIC_PATH on second
1.1531 + shl_load only. [Bug 1204237]
1.1532 +
1.1533 +2005-10-04 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.1534 +
1.1535 + * generic/tclIO.c (Tcl_ClearChannelHandlers): now deletes any
1.1536 + outstanding timer for the channel. Also, prevents events still
1.1537 + in the event queue from triggering on the current channel.
1.1538 +
1.1539 + * generic/tclTimer.c (Tcl_DeleteTimerHandler): bail out early
1.1540 + if passed NULL argument.
1.1541 +
1.1542 +2005-09-30 Don Porter <dgp@users.sourceforge.net>
1.1543 +
1.1544 + * generic/tclMain.c: Separate encoding conversion of command line
1.1545 + arguments from list formatting. [Bug 1306162]
1.1546 +
1.1547 +2005-09-27 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1548 +
1.1549 + * generic/tclBinary.c (FormatNumber): Factorize out copying of double
1.1550 + values to a helper to work around ugly broken compiler problems. [Bug
1.1551 + 1116542]
1.1552 +
1.1553 +2005-09-15 Miguel Sofer <msofer@users.sf.net>
1.1554 +
1.1555 + * doc/ParseCmd.3: copy/paste fix [Bug 1292427]
1.1556 +
1.1557 +2005-09-15 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1558 +
1.1559 + * unix/tcl.m4 (SC_TCL_EARLY_FLAGS): Added extra hack to allow Tcl to
1.1560 + transparently open large files on RHEL 3. [Bug 1287638]
1.1561 +
1.1562 + * unix/configure: autoconf-2.13
1.1563 +
1.1564 +2005-09-07 Don Porter <dgp@users.sourceforge.net>
1.1565 +
1.1566 + * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negative
1.1567 + * tests/utf.test (utf-1.5): Tcl_UniChar input value. Incorrect
1.1568 + handling was producing byte sequences outside of Tcl's legal internal
1.1569 + encoding. [Bug 1283976]
1.1570 +
1.1571 +2005-08-29 Kevin Kenny <kennykb@acm.org>
1.1572 +
1.1573 + * generic/tclBasic.c (ExprMathFunc): Restored "round away from zero"
1.1574 + * tests/expr.test (expr-46.*): behaviour to the "round"
1.1575 + function. Added test cases for the behavior, including the awkward
1.1576 + case of a number whose fractional part is 1/2-1/2ulp. [Bug 1275043]
1.1577 +
1.1578 +2005-08-25 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1579 +
1.1580 + * generic/tclListObj.c (UpdateStringOfList): Stop uncontrolled and
1.1581 + unsafe crashes from happening when working with very large string
1.1582 + representations. [Bug 1267380]
1.1583 +
1.1584 +2005-08-17 Jeff Hobbs <jeffh@ActiveState.com>
1.1585 +
1.1586 + * generic/tclFCmd.c (TclFileMakeDirsCmd): fix to race condition in
1.1587 + file mkdir (backport from head 2005-06-13) [Bug 1217375]
1.1588 +
1.1589 +2005-08-16 Kevin Kenny <kennykb@acm.org>
1.1590 +
1.1591 + * generic/tclEvent.c (Tcl_Finalize): Pushed Tcl_FinalizeLoad and
1.1592 + Tcl_ResetFilesystem down after Tcl_FinalizeThreadAlloc because
1.1593 + unloading DLLs can't happen while they still own TSD keys.
1.1594 + (This is a backport of changes made in the HEAD on 2005-08-10.)
1.1595 +
1.1596 +2005-08-05 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1597 +
1.1598 + * unix/tclUnixInit.c (localeTable): Solaris uses a non-standard name
1.1599 + for the cp1251 charset. Thanks to Victor Wagner for reporting this.
1.1600 + [Bug 1252475]
1.1601 +
1.1602 +2005-08-05 Kevin Kenny <kennykb@users.sourceforge.net>
1.1603 +
1.1604 + * generic/tclExecute.c (TclExecuteByteCode): Fixed a corner case
1.1605 + * tests/expr.test (expr-38.1): where applying abs to
1.1606 + MIN_INT failed to promote the result to a wide integer. [Bug 1241572]
1.1607 +
1.1608 +2005-08-04 Don Porter <dgp@users.sourceforge.net>
1.1609 +
1.1610 + * generic/tclObj.c: Simplified routines that manage the typeTable.
1.1611 +
1.1612 +2005-08-03 Don Porter <dgp@users.sourceforge.net>
1.1613 +
1.1614 + * generic/tclCompExpr.c: Untangled some dependencies in the
1.1615 + * generic/tclEvent.c: order of finalization routines.
1.1616 + * generic/tclInt.h: [Bug 1251399]
1.1617 + * generic/tclObj.c:
1.1618 +
1.1619 +2005-07-30 Daniel Steffen <das@users.sourceforge.net>
1.1620 +
1.1621 + * unix/configure, unix/tcl.m4: revert 2005-07-28 change.
1.1622 +
1.1623 + * unix/tclLoadDyld.c (TclpDlopen, TclpLoadMemory): workarounds for
1.1624 + bugs/changes in behaviour in Mac OS X 10.4 Tiger, sync formatting
1.1625 + changes from HEAD.
1.1626 +
1.1627 +2005-07-29 Donal K. Fellows <dkf@users.sf.net>
1.1628 +
1.1629 + * generic/tclCmdIL.c (InfoGlobalsCmd): Even in high-speed mode, still
1.1630 + have to take care with non-existant variables. [Bug 1247135]
1.1631 +
1.1632 +2005-07-28 Mo DeJong <mdejong@users.sourceforge.net>
1.1633 +
1.1634 + * win/README: Update link to msys_mingw8.zip. Remove old Cygwin +
1.1635 + Mingw info, people should just build with the msys + mingw
1.1636 + configuration.
1.1637 +
1.1638 +2005-07-28 Jeff Hobbs <jeffh@ActiveState.com>
1.1639 +
1.1640 + * unix/configure, unix/tcl.m4: defined TCL_LOAD_FROM_MEMORY on Darwin
1.1641 + only for SHARED_BUILD
1.1642 +
1.1643 +2005-07-28 Donal K. Fellows <dkf@users.sf.net>
1.1644 +
1.1645 + * generic/tclPipe.c (TclCreatePipeline): Arrange for POSIX systems to
1.1646 + * unix/tclUnixPipe.c (TclpOpenFile): use the O_APPEND flag for
1.1647 + * tests/exec.test (exec-19.1): files opened in a pipeline
1.1648 + like ">>this". Note that Windows cannot support such access; there is
1.1649 + no equivalent flag on the handle that can be set at the kernel-call
1.1650 + level. The test is unix-specific in every way. [Bug 1245953]
1.1651 +
1.1652 +2005-07-26 Mo DeJong <mdejong@users.sourceforge.net>
1.1653 +
1.1654 + * unix/configure: Regen.
1.1655 + * unix/configure.in: Check for a $prefix/share directory and add it
1.1656 + the the package if found. This will check for Tcl packages in
1.1657 + /usr/local/share when Tcl is configured with the default dist install.
1.1658 + [Patch 1231015]
1.1659 +
1.1660 +2005-07-26 Don Porter <dgp@users.sourceforge.net>
1.1661 +
1.1662 + * doc/tclvars.n: Improved $errorCode documentation. [RFE 776921]
1.1663 +
1.1664 + * generic/tclBasic.c (Tcl_CallWhenDeleted): Converted to use
1.1665 + per-thread counter, rather than a process global one that required
1.1666 + mutex protection. [RFE 1077194]
1.1667 +
1.1668 + * generic/tclNamesp.c (TclTeardownNamespace): Re-ordering so that
1.1669 + * tests/trace.test (trace-34.4): command delete traces fire
1.1670 + while the command still exists. [Bug 1047286]
1.1671 +
1.1672 +2005-07-24 Mo DeJong <mdejong@users.sourceforge.net>
1.1673 +
1.1674 + * unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
1.1675 + * win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
1.1676 + Split confused search for tclsh on PATH and build and install
1.1677 + locations into two macros. SC_PROG_TCLSH searches just the PATH.
1.1678 + SC_BUILD_TCLSH determines the name of the tclsh executable in the Tcl
1.1679 + build directory. [Bug 1160114], [Patch 1244153]
1.1680 +
1.1681 +2005-07-22 Don Porter <dgp@users.sourceforge.net>
1.1682 +
1.1683 + * library/auto.tcl: Updates to the Tcl script library to make
1.1684 + * library/history.tcl: use of Tcl 8.4 feautures. Thanks to
1.1685 + * library/init.tcl: Patrick Fradin for prompting on this.
1.1686 + * library/package.tcl: [Patch 1237755]
1.1687 + * library/safe.tcl:
1.1688 + * library/word.tcl:
1.1689 +
1.1690 +2005-07-07 Jeff Hobbs <jeffh@ActiveState.com>
1.1691 +
1.1692 + * unix/tcl.m4, unix/configure: Backported [Bug 1095909], removing
1.1693 + * unix/tclUnixPort.h: any use of readdir_r as it is not
1.1694 + * unix/tclUnixThrd.c: necessary and just confuses things.
1.1695 +
1.1696 +2005-07-05 Don Porter <dgp@users.sourceforge.net>
1.1697 +
1.1698 + * generic/tclCmdAH.c: New "encoding" Tcl_ObjType (not registered)
1.1699 + * generic/tclEncoding.c: that permits longer lifetimes of the
1.1700 + * generic/tclInt.h: Tcl_Encoding values kept as intreps of
1.1701 + Tcl_Obj's. Reduces the need for repeated reading of encoding
1.1702 + definition files from the filesystem. [Bug 1077262]
1.1703 +
1.1704 + * generic/tclNamesp.c: Allow for [namespace import] of a command
1.1705 + * tests/namespace.test: over a previous [namespace import] of itself
1.1706 + without throwing an error. [RFE 1230597]
1.1707 +
1.1708 +2005-07-01 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.1709 +
1.1710 + * unix/tclUnixNotfy.c: protect against spurious wake-ups while waiting
1.1711 + on the condition variable when tearing down the notifier thread. [Bug
1.1712 + 1222872]
1.1713 +
1.1714 +2005-06-27 Don Porter <dgp@users.sourceforge.net>
1.1715 +
1.1716 + *** 8.4.11 TAGGED FOR RELEASE ***
1.1717 +
1.1718 + * library/auto.tcl: Reverted to Revision 1.12.2.3 (Tcl 8.4.9).
1.1719 + Restores the (buggy) behavior of [auto_reset] that fails to clear
1.1720 + away auto-loaded commands from non-global namespaces. Fixing this
1.1721 + bug exposed an unknown number of buggy files out there (including at
1.1722 + least portions of the Tk script library) that cannot tolerate double
1.1723 + [source]-ing. The burden of fixing these exposed bugs will not be
1.1724 + forced on package/extension/application authors until Tcl 8.5.
1.1725 +
1.1726 +2005-06-24 Kevin Kenny <kennykb@acm.org>
1.1727 +
1.1728 + * generic/tclEvent.c (Tcl_Finalize):
1.1729 + * generic/tclInt.h:
1.1730 + * generic/tclPreserve.c (TclFinalizePreserve): Changed the
1.1731 + finalization logic so that Tcl_Preserve finalizes after exit
1.1732 + handlers run; a lot of code called from Tk's exit handlers
1.1733 + presumes tha Tcl_Preserve will still work even from an exit
1.1734 + handler. Also, made the assertion check that no exit handlers
1.1735 + are created in Tcl_Finalize conditional on TCL_MEM_DEBUG to
1.1736 + avoid spurious panics in the "stable" release.
1.1737 +
1.1738 +2005-06-24 Don Porter <dgp@users.sourceforge.net>
1.1739 +
1.1740 + * library/auto.tcl: Make file safe to re-[source] without
1.1741 + destroying registered auto_mkindex_parser hooks.
1.1742 +
1.1743 +2005-06-23 Daniel Steffen <das@users.sourceforge.net>
1.1744 +
1.1745 + * tools/tcltk-man2html.tcl: fixed useversion glob pattern to accept
1.1746 + multi-digit patchlevels.
1.1747 +
1.1748 +2005-06-23 Kevin Kenny <kennykb@acm.org>
1.1749 +
1.1750 + * win/tclWinChan.c: More rewriting of __asm__ blocks that
1.1751 + * win/tclWinFCmd.c: implement SEH in GCC, because mingw's
1.1752 + gcc 3.4.2 is not as forgiving of violations committed by
1.1753 + the old code and caused panics. [Bug 1225957]
1.1754 +
1.1755 +2005-06-23 Daniel Steffen <das@users.sourceforge.net>
1.1756 +
1.1757 + * unix/Makefile.in (install-private-headers): rewrite tclPort.h when
1.1758 + installing private headers to remove ../unix relative #include path to
1.1759 + tclUnixPort.h (which is incorrect at the installed location).
1.1760 +
1.1761 +2005-06-22 Kevin Kenny <kennykb@acm.org>
1.1762 +
1.1763 + * generic/tclInt.h: Changed the finalization
1.1764 + * generic/tclEvent.c (Tcl_Finalize): logic to defer the
1.1765 + * generic/tclIO.c (TclFinalizeIOSubsystem): shutdown of the pipe
1.1766 + * unix/tclUnixPipe.c (TclFinalizePipes): management until after
1.1767 + * win/tclWinPipe.c (TclFinalizePipes): all channels have been
1.1768 + closed, in order to avoid a situation where the Windows
1.1769 + PipeCloseProc2 would re-establish the exit handler after exit
1.1770 + handlers had already run, corrupting the heap. [Bug 1225727]
1.1771 + Corrected a read of uninitialized memory in PipeCloseProc2, which (at
1.1772 + least on certain configurations) caused a great number of tests to
1.1773 + either fail or hang. [Bug 1225044]
1.1774 +
1.1775 +2005-06-22 Andreas Kupries <andreask@activestate.com>
1.1776 +
1.1777 + * generic/tclInt.h: Followup to change made on 2005-06-18 by Daniel
1.1778 + Steffen. There are compilers (*) who error out on the redefinition of
1.1779 + WORDS_BIGENDIAN. We have to undef the previous definition (on the
1.1780 + command line) first to make this acceptable. (*): AIX native.
1.1781 +
1.1782 +2005-06-22 Don Porter <dgp@users.sourceforge.net>
1.1783 +
1.1784 + * win/tclWinFile.c: Potential buffer overflow. [Bug 1225571]
1.1785 + Thanks to Pat Thoyts for discovery and fix.
1.1786 +
1.1787 + * tests/safe.test: Backport performance improvement from
1.1788 + reduced $::auto_path.
1.1789 +
1.1790 +2005-06-21 Pat Thoyts <patthoyts@users.sourceforge.net>
1.1791 +
1.1792 + * tests/winDde.test: Added some waits to the dde server script to
1.1793 + let event processing run after we create the dde server and before
1.1794 + we exit the server process. This avoids 'server did not respond'
1.1795 + errors.
1.1796 +
1.1797 +2005-06-21 Kevin Kenny <kennykb@acm.org>
1.1798 +
1.1799 + * generic/tclFileName.c: Corrected a problem where a directory name
1.1800 + containing a colon can crash the process on Windows [Bug 1194458]
1.1801 + * tests/fileName.test: Added test for [file split] and [file join]
1.1802 + with a name containing a colon.
1.1803 + * win/tclWinPipe.c: Reverted davygrvy's changes of 2005-04-19;
1.1804 + they cause multiple failures in io.test. [Bug 1225044, still open]
1.1805 +
1.1806 +2005-06-21 Don Porter <dgp@users.sourceforge.net>
1.1807 +
1.1808 + * generic/tclBasic.c: Made the walk of the active trace list aware
1.1809 + * generic/tclCmdMZ.c: of the direction of trace scanning, so the
1.1810 + * generic/tclInt.h: proper correction can be made. [Bug 1224585]
1.1811 + * tests/trace.test (trace-34.2,3):
1.1812 +
1.1813 + * generic/tclBasic.c (Tcl_DeleteTrace): Added missing walk of the
1.1814 + * tests/trace.test (trace-34.1): list of active traces to
1.1815 + cleanup references to traces being deleted. [Bug 1201035]
1.1816 +
1.1817 +2005-06-20 Don Porter <dgp@users.sourceforge.net>
1.1818 +
1.1819 + * doc/FileSystem.3: added missing Tcl_GlobTypeData documentation [Bug
1.1820 + 935853]
1.1821 +
1.1822 +2005-06-18 Daniel Steffen <das@users.sourceforge.net>
1.1823 +
1.1824 + * generic/tclInt.h: ensure WORDS_BIGENDIAN is defined correctly with
1.1825 + fat compiles on Darwin (i.e. ppc and i386 at the same time), the
1.1826 + configure AC_C_BIGENDIAN check is not sufficient in this case because
1.1827 + a single run of the compiler builds for two architectures with
1.1828 + different endianness.
1.1829 +
1.1830 + * unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to
1.1831 + ensure we can always relocate binaries with install_name_tool.
1.1832 +
1.1833 + * unix/configure: autoconf-2.13
1.1834 +
1.1835 +2005-06-18 Don Porter <dgp@users.sourceforge.net>
1.1836 +
1.1837 + * changes: Update changes for 8.4.11 release
1.1838 +
1.1839 + * README: Bump version number to 8.4.11
1.1840 + * generic/tcl.h:
1.1841 + * tools/tcl.wse.in:
1.1842 + * unix/configure.in:
1.1843 + * unix/tcl.spec:
1.1844 + * win/README.binary:
1.1845 + * win/configure.in:
1.1846 +
1.1847 + * unix/configure: autoconf
1.1848 + * win/configure:
1.1849 +
1.1850 +2005-06-18 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1851 +
1.1852 + * generic/tclCmdAH.c (Tcl_FormatObjCmd): Fix for [Bug 1154163]; only
1.1853 + * tests/format.test: insert 'l' modifier when it is needed.
1.1854 +
1.1855 +2005-06-07 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.1856 +
1.1857 + * unix/tclUnixNotfy.c (Tcl_FinalizeNotifier): Add dummy variable
1.1858 + so threaded build compiles.
1.1859 +
1.1860 +2005-06-06 Kevin B. Kenny <kennykb@acm.org>
1.1861 +
1.1862 + * win/tclWin32Dll.c: Corrected another buglet in the assembly code for
1.1863 + stack probing on Win32/gcc. [Bug 1213678]
1.1864 +
1.1865 +2005-06-03 Daniel Steffen <das@users.sourceforge.net>
1.1866 +
1.1867 + *** 8.4.10 TAGGED FOR RELEASE ***
1.1868 +
1.1869 + * unix/tclLoadDyld.c: fixed header conflict when building this file
1.1870 + with USE_TCL_STUBS.
1.1871 +
1.1872 + * macosx/Makefile: fixed 'embedded' target.
1.1873 +
1.1874 +2005-06-02 Jeff Hobbs <jeffh@ActiveState.com>
1.1875 +
1.1876 + * unix/Makefile.in (html): add BUILD_HTML_FLAGS optional var
1.1877 + * tools/tcltk-man2html.tcl: add a --useversion to prevent
1.1878 + confusion when multiple Tcl source dirs exist.
1.1879 +
1.1880 + * changes: updated for 8.4.10 release (porter)
1.1881 +
1.1882 +2005-05-31 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.1883 +
1.1884 + * unix/tclUnixNotfy.c: the notifier thread is now created as
1.1885 + joinable thread and it is properly joined in Tcl_FinalizeNotifier.
1.1886 + This is an attempt to fix [Bug 1082283]
1.1887 +
1.1888 +2005-05-29 Jeff Hobbs <jeffh@ActiveState.com>
1.1889 +
1.1890 + * win/tclWinThrd.c (TclpFinalizeThreadData): move tlsKey defn
1.1891 + to top of file and clarify name (was 'key'). [Bug 1204064]
1.1892 +
1.1893 +2005-05-27 Jeff Hobbs <jeffh@ActiveState.com>
1.1894 +
1.1895 + * README: Bumped patchlevel to 8.4.10
1.1896 + * generic/tcl.h:
1.1897 + * tools/tcl.wse.in:
1.1898 + * unix/tcl.spec, unix/configure, unix/configure.in:
1.1899 + * win/configure, win/configure.in:
1.1900 +
1.1901 +2005-05-26 Daniel Steffen <das@users.sourceforge.net>
1.1902 +
1.1903 + * macosx/Makefile: moved & corrected EMBEDDED_BUILD check.
1.1904 +
1.1905 + * unix/configure.in: corrected framework finalization to softlink
1.1906 + stub library to Versions/8.x subdir instead of Versions/Current.
1.1907 + * unix/configure: autoconf-2.13
1.1908 +
1.1909 +2005-05-25 Jeff Hobbs <jeffh@ActiveState.com>
1.1910 +
1.1911 + * generic/tclCmdMZ.c (Tcl_TimeObjCmd): add necessary cast
1.1912 +
1.1913 + * unix/configure, unix/configure.in: ensure false Tcl.framework is
1.1914 + only created with --enable-framework
1.1915 +
1.1916 +2005-05-24 Daniel Steffen <das@users.sourceforge.net>
1.1917 +
1.1918 + * tests/env.test: added DYLD_FRAMEWORK_PATH to the list of env vars
1.1919 + that need to be handled specially.
1.1920 +
1.1921 + * macosx/Makefile:
1.1922 + * macosx/README:
1.1923 + * macosx/Tcl-Info.plist.in (new file):
1.1924 + * unix/Makefile.in:
1.1925 + * unix/configure.in:
1.1926 + * unix/tcl.m4:
1.1927 + * unix/tclUnixInit.c: moved all Darwin framework build support from
1.1928 + macosx/Makefile into the standard unix configure/make buildsystem, the
1.1929 + macosx/Makefile is no longer required to build Tcl.framework (but its
1.1930 + functionality is still available for backwards compatibility).
1.1931 + * unix/configure: autoconf-2.13
1.1932 +
1.1933 + * generic/tclIOUtil.c (TclLoadFile):
1.1934 + * generic/tclInt.h:
1.1935 + * unix/tcl.m4:
1.1936 + * unix/tclLoadDyld.c: added support for [load]ing .bundle binaries in
1.1937 + addition to .dylib's: .bundle's can be [unload]ed (unlike .dylib's),
1.1938 + and can be [load]ed from memory, e.g. directly from VFS without
1.1939 + needing to be written out to a temporary location first. [Bug 1202209]
1.1940 + * unix/configure: autoconf-2.13
1.1941 +
1.1942 + * generic/tclCmdMZ.c (Tcl_TimeObjCmd): change [time] called with a
1.1943 + count > 1 to return a string with a float value instead of a rounded
1.1944 + off integer. [Bug 1202178]
1.1945 +
1.1946 +2005-05-20 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.1947 +
1.1948 + * generic/tclParseExpr.c: removed unreferenced stack variable "errMsg"
1.1949 + probably included by fixing [Bug 1201589] (see below).
1.1950 +
1.1951 +2005-05-20 Don Porter <dgp@users.sourceforge.net>
1.1952 +
1.1953 + * generic/tclParseExpr.c: Corrected parser to recognize all
1.1954 + boolean literals accepted by Tcl_GetBoolean, including prefixes like
1.1955 + "y" and "f", and to allow "eq" and "ne" as function names in the
1.1956 + proper context. [Bug 1201589]
1.1957 +
1.1958 +2005-05-19 Daniel Steffen <das@users.sourceforge.net>
1.1959 +
1.1960 + * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashing
1.1961 + CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran):
1.1962 + CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the
1.1963 + runLoopSource in Tcl_FinalizeNotifier.
1.1964 +
1.1965 +2005-05-14 Daniel Steffen <das@users.sourceforge.net>
1.1966 +
1.1967 + * macosx/tclMacOSXBundle.c:
1.1968 + * unix/tclUnixInit.c:
1.1969 + * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable
1.1970 + and added test of CoreFoundation availablility to allow building on
1.1971 + ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for
1.1972 + availability of Tiger or later OSSpinLockLock API.
1.1973 +
1.1974 + * unix/tclUnixNotfy.c:
1.1975 + * unix/Makefile.in:
1.1976 + * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is
1.1977 + available, use new CFRunLoop based notifier: allows easy integration
1.1978 + with other event loops on Mac OS X, in particular the TkAqua Carbon
1.1979 + event loop is now integrated via a standard tcl event source (instead
1.1980 + of TkAqua upon loading having to finalize the exsting notifier and
1.1981 + replace it with its custom version). [Patch 1202052]
1.1982 +
1.1983 + * tests/unixNotfy.test: don't run unthreaded tests on Darwin since
1.1984 + notifier may be using threads even in unthreaded core.
1.1985 +
1.1986 + * unix/tclUnixPort.h:
1.1987 + * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning
1.1988 + configure, as Darwin 7 and later realpath is threadsafe.
1.1989 +
1.1990 + * macosx/tclMacOSXBundle.c:
1.1991 + * unix/tclLoadDyld.c:
1.1992 + * unix/tclUnixInit.c: fixed gcc 4.0 warnings.
1.1993 +
1.1994 + * unix/configure: autoconf-2.13
1.1995 +
1.1996 +2005-05-10 Jeff Hobbs <jeffh@ActiveState.com>
1.1997 +
1.1998 + * tests/string.test: string-10.[21-30]
1.1999 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to
1.2000 + prevent possible UMR in unichar cmp function for string map.
1.2001 +
1.2002 +2005-05-06 Jeff Hobbs <jeffh@ActiveState.com>
1.2003 +
1.2004 + * unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check and
1.2005 + add support for x86_64 Solaris cc builds.
1.2006 +
1.2007 +2005-04-29 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2008 +
1.2009 + * doc/FileSystem.3: Backport of doc fix. [Bug 1172401]
1.2010 +
1.2011 +2005-04-27 Don Porter <dgp@users.sourceforge.net>
1.2012 +
1.2013 + * library/init.tcl: Corrected flaw in interactive command
1.2014 + * tests/main.test: auto-completion. [Bug 1191409]
1.2015 +
1.2016 + * tests/unixInit.test (7.1): Alternative fix for the
1.2017 + 2005-04-22 commit.
1.2018 +
1.2019 +2005-04-25 Daniel Steffen <das@users.sourceforge.net>
1.2020 +
1.2021 + * compat/string.h: fixed memchr() protoype for __APPLE__ so that we
1.2022 + build on Mac OS X 10.1 again.
1.2023 +
1.2024 + * generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being
1.2025 + finalized in unthreaded core (was testing for notifier initialization
1.2026 + in current thread by checking thread id != 0 but thread id is always 0
1.2027 + in untreaded core).
1.2028 +
1.2029 + * unix/tclUnixNotfy.c (Tcl_WaitForEvent): sync with HEAD: only declare
1.2030 + and use timeout var in unthreaded core.
1.2031 +
1.2032 + * unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out
1.2033 + NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS.
1.2034 +
1.2035 + * unix/configure.in: only run check for broken strstr implementation
1.2036 + if AC_REPLACE_FUNCS(strstr) hasn't already determined that strstr is
1.2037 + unavailable, otherwise compat/strstr.o will be used twice (resulting
1.2038 + in duplicate symbol link errors on Mac OS X 10.1)
1.2039 +
1.2040 + * unix/tcl.m4 (Darwin): added configure checks for recently added
1.2041 + linker flags -single_module and -search_paths_first to allow building
1.2042 + with older tools (and on Mac OS X 10.1), use -single_module in
1.2043 + SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from
1.2044 + Tk of symbols from libtclstub to avoid duplicate symbol warnings,
1.2045 + added PLAT_SRCS definition for Mac OS X.
1.2046 + (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check.
1.2047 + (SC_TCL_64BIT_FLAGS): fixed 'checking for off64_t' message output.
1.2048 +
1.2049 + * unix/configure: autoconf-2.13
1.2050 +
1.2051 +2005-04-22 Don Porter <dgp@users.sourceforge.net>
1.2052 +
1.2053 + * generic/tclCmdMZ.c: Corrected intrep-dependence of
1.2054 + * tests/string.test: [string is boolean] [Bug 1187123]
1.2055 +
1.2056 +2005-04-22 Daniel Steffen <das@users.sourceforge.net>
1.2057 +
1.2058 + * tests/unixInit.test (7.1): fixed failure when running tests with
1.2059 + -tmpdir arg not set to working dir.
1.2060 +
1.2061 +2005-04-20 Don Porter <dgp@users.sourceforge.net>
1.2062 +
1.2063 + * generic/tclGet.c (Tcl_GetInt): Corrected error that did not
1.2064 + * generic/tclObj.c (Tcl_GetIntFromObj): permit 0x80000000 to be
1.2065 + recognized as an integer on TCL_WIDE_INT_IS_LONG systems [Bug 1090869]
1.2066 +
1.2067 +2005-04-19 Jeff Hobbs <jeffh@ActiveState.com>
1.2068 +
1.2069 + * tests/winPipe.test (winpipe-6.2): remove -blocking 1 as this one
1.2070 + can truly block.
1.2071 +
1.2072 +2005-04-19 David Gravereaux <davygrvy@pobox.com>
1.2073 +
1.2074 + * win/tclWinPipe.c: The pipe channel driver now respects the -blocking
1.2075 + option when closing. The windows pipe driver now has the same behavior
1.2076 + as the UNIX side. This change is to avoid a hung shell when exiting
1.2077 + due to open pipes that refuse to close in a graceful manner.
1.2078 + * doc/open.n: Added a note about -blocking 0 and lack of exit status
1.2079 + as it had never been documented. [Bug 947693]
1.2080 +
1.2081 + ***POTENTIAL INCOMPATIBILITY***
1.2082 +
1.2083 + Scripts that use async pipes on windows, must (like the UNIX side) set
1.2084 + -blocking to 1 before calling [close] to receive the exit status.
1.2085 +
1.2086 + * tests/winPipe.test (winpipe-6.1/2): added 'fconfigure $f -blocking
1.2087 + 1' so the exit status can be acquired.
1.2088 +
1.2089 +2005-04-13 David Gravereaux <davygrvy@pobox.com>
1.2090 +
1.2091 + * generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limit
1.2092 + * tests/io.test: changed from ten bytes to one byte. Need for
1.2093 + * tests/iogt.test: this change was proven by Ross Cartlidge
1.2094 + <rossc@cisco.com> where [read stdin 1] was grabbing 10 bytes followed
1.2095 + by starting a child process that was intended to continue reading from
1.2096 + stdin. Even with -buffersize set to one, nine chars were getting lost
1.2097 + by the buffersize over reading for the native read() caused by [read].
1.2098 +
1.2099 +2005-04-12 Kevin B. Kenny <kennykb@acm.org>
1.2100 +
1.2101 + * compat/strstr.c: Added default definition of NULL to accommodate
1.2102 + building on systems with badly broken headers. [Bug 1175161]
1.2103 +
1.2104 +2005-04-09 Daniel Steffen <das@users.sourceforge.net>
1.2105 +
1.2106 + * macosx/README: updated requirements for OS & developer tool versions
1.2107 + + other small fixes/cleanup.
1.2108 +
1.2109 + * unix/tcl.m4 (Darwin): added -single_module linker flag to
1.2110 + TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS.
1.2111 + * unix/configure: autoconf-2.13
1.2112 +
1.2113 +2005-04-05 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
1.2114 +
1.2115 + Set of changes correcting huge memory waste (not a leak) when a thread
1.2116 + exits. This has been introduced in 8.4.7 within an attempt to
1.2117 + correctly cleanup after ourselves when Tcl library is being unloaded
1.2118 + with the Tcl_Finalize() call.
1.2119 +
1.2120 + This fixes the [Bug 1178445].
1.2121 +
1.2122 + * generic/tclInt.h: added prototypes for TclpFreeAllocCache() and
1.2123 + TclFreeAllocCache()
1.2124 +
1.2125 + * generic/tclThreadAlloc.c: modified TclFinalizeThreadAlloc() to
1.2126 + explicitly call TclpFreeAllocCache with the NULL-ptr as argument
1.2127 + signalling cleanup of private tsd key used only by the threading
1.2128 + allocator.
1.2129 +
1.2130 + * unix/tclUnixThrd.c: fixed TclpFreeAllocCache() to recognize when
1.2131 + being called with NULL argument. This is a signal for it to clean up
1.2132 + the tsd key associated with the threading allocator.
1.2133 +
1.2134 + * win/tclWinThrd.c: renamed TclWinFreeAllocCache to TclpFreeAllocCache
1.2135 + and fixed to recognize when being called with NULL argument. This is a
1.2136 + signal for it to clean up the tsd key associated with the threading
1.2137 + allocator.
1.2138 +
1.2139 +2005-04-05 Don Porter <dgp@users.sourceforge.net>
1.2140 +
1.2141 + * generic/tclExecute.c (ExprSrandFunc): Replaced incursions into the
1.2142 + * generic/tclUtil.c (TclGetIntForIndex): intreps of numeric types with
1.2143 + simpler calls of Tcl_GetIntFromObj and Tcl_GetLongFromObj, now that
1.2144 + those routines are better behaved wrt shimmering. [Patch 1177129]
1.2145 +
1.2146 +2005-03-29 Jeff Hobbs <jeffh@ActiveState.com>
1.2147 +
1.2148 + * win/tcl.m4, win/configure: do not require cygpath in macros to
1.2149 + allow msys alone as an alternative.
1.2150 +
1.2151 + * win/tclWinTime.c (TclpGetDate): use time_t for 'time' [Bug 1163422]
1.2152 +
1.2153 +2005-03-18 Don Porter <dgp@users.sourceforge.net>
1.2154 +
1.2155 + * generic/tclCompCmds.c (TclCompileIncrCmd): Corrected checks for
1.2156 + immediate operand usage to permit leading space and sign characters.
1.2157 + Restores more efficient bytecode for [incr x -1] that got lost in the
1.2158 + CONST string reforms of Tcl 8.4. [Bug 1165671]
1.2159 +
1.2160 + * generic/tclBasic.c (Tcl_EvalEx,TclEvalTokensStandard):
1.2161 + * generic/tclCmdMZ.c (Tcl_SubstObj):
1.2162 + * tests/basic.test (basic-46.4): Restored recursion limit
1.2163 + * tests/parse.test (parse-19.*): testing in nested command
1.2164 + substitutions within direct script evaluation (Tcl_EvalEx) that got
1.2165 + lost in the parser reforms of Tcl 8.1. Added tests for correct
1.2166 + behavior. [Bug 1115904]
1.2167 +
1.2168 +2005-03-15 Vince Darley <vincentdarley@users.sourceforge.net>
1.2169 +
1.2170 + * generic/tclFileName.c:
1.2171 + * win/tclWinFile.c:
1.2172 + * tests/winFCMd.test: fix to 'file pathtype' and 'file norm' failures
1.2173 + on reserved filenames like 'COM1:', etc.
1.2174 +
1.2175 +2005-03-15 Kevin B. Kenny <kennykb@acm.org>
1.2176 +
1.2177 + * generic/tclClock.c:
1.2178 + * generic/tclDate.c:
1.2179 + * generic/tclGetDate.y:
1.2180 + * generic/tclInt.decls:
1.2181 + * unix/tclUnixTime.c:
1.2182 + * win/tclWinTime.c: Replaced 'unsigned long' variable holding
1.2183 + times with 'Tcl_WideInt', to cope with systems on which a time_t is
1.2184 + wider than a long (Win64) [Bug 1163422]
1.2185 + * generic/tclIntDecls.h: Regen
1.2186 +
1.2187 +2005-03-15 Pat Thoyts <patthoyts@users.sourceforge.net>
1.2188 +
1.2189 + * unix/tcl.m4: Make it work on OpenBSD again. Imported patch
1.2190 + from the OpenBSD ports tree.
1.2191 +
1.2192 +2005-03-10 Don Porter <dgp@users.sourceforge.net>
1.2193 +
1.2194 + * generic/tclCmdMZ.c (TclCheckInterpTraces): Corrected mistaken
1.2195 + cast of ClientData to (TraceCommandInfo *) when not warranted. Thanks
1.2196 + to Yuri Victorovich for the report. [Bug 1153871]
1.2197 +
1.2198 +2005-03-08 Jeff Hobbs <jeffh@ActiveState.com>
1.2199 +
1.2200 + * win/makefile.vc: clarify necessary defined vars that can come
1.2201 + from MSVC or the Platform SDK.
1.2202 +
1.2203 +2005-02-24 Don Porter <dgp@users.sourceforge.net>
1.2204 +
1.2205 + * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoid
1.2206 + * tests/tcltest.test: failed attempts to [source] a directory, and
1.2207 + similar matters. Thanks to "mpettigr". [Bug 1119798]
1.2208 +
1.2209 + * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.8
1.2210 +
1.2211 +2005-02-23 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2212 +
1.2213 + * doc/CrtChannel.3 (THREADACTIONPROC): Formatting fix. [Bug 1149605]
1.2214 +
1.2215 +2005-02-17 Jeff Hobbs <jeffh@ActiveState.com>
1.2216 +
1.2217 + * win/tclWinFCmd.c (TraverseWinTree): use wcslen on wchar, not
1.2218 + Tcl_UniCharLen.
1.2219 +
1.2220 +2005-02-16 Miguel Sofer <msofer@users.sf.net>
1.2221 +
1.2222 + * doc/variable.n: fix for [Bug 1124160], variables are detected by
1.2223 + [info vars] but not by [info locals].
1.2224 +
1.2225 +2005-02-10 Jeff Hobbs <jeffh@ActiveState.com>
1.2226 +
1.2227 + * unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlined
1.2228 + * unix/tcl.m4: into SHLIB_LD). Combine AIX-* and AIX-5
1.2229 + * unix/configure: branches in SC_CONFIG_CFLAGS.
1.2230 + Correct gcc builds for AIX-4+ and HP-UX-11.
1.2231 +
1.2232 +2005-02-10 Miguel Sofer <msofer@users.sf.net>
1.2233 +
1.2234 + * generic/tclBasic.c (Tcl_EvalObjEx):
1.2235 + * tests/basic.test (basic-26.2): preserve the arguments passed to TEOV
1.2236 + in the pure-list branch, in case the list shimmers away. Fix for [Bug
1.2237 + 1119369], reported by Peter MacDonald.
1.2238 +
1.2239 +2005-02-10 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2240 +
1.2241 + * doc/binary.n: Made the documentation of sign bit masking and
1.2242 + [binary scan] consistent. [Bug 1117017]
1.2243 +
1.2244 +2005-02-01 Don Porter <dgp@users.sourceforge.net>
1.2245 +
1.2246 + * generic/tclExecute.c (TclCompEvalObj): Removed stray statement
1.2247 + left behind in prior code reorganization.
1.2248 +
1.2249 +2005-01-28 Jeff Hobbs <jeffh@ActiveState.com>
1.2250 +
1.2251 + * unix/configure, unix/tcl.m4: add solaris 64-bit gcc build
1.2252 + support. [Bug 1021871]
1.2253 +
1.2254 +2005-01-27 Jeff Hobbs <jeffh@ActiveState.com>
1.2255 +
1.2256 + * generic/tclBasic.c (Tcl_ExprBoolean, Tcl_ExprDouble)
1.2257 + (Tcl_ExprLong): Fix to recognize Tcl_WideInt type. [Bug 1109484]
1.2258 +
1.2259 +2005-01-27 Andreas Kupries <andreask@activestate.com>
1.2260 +
1.2261 + TIP#218 IMPLEMENTATION
1.2262 +
1.2263 + * generic/tclDecls.h: Regenerated from tcl.decls.
1.2264 + * generic/tclStubInit.c:
1.2265 +
1.2266 + * doc/CrtChannel.3: Documentation of extended API,
1.2267 + * generic/tcl.decls: extended testsuite, and
1.2268 + * generic/tcl.h: implementation. Removal of old
1.2269 + * generic/tclIO.c: driver-specific TclpCut/Splice
1.2270 + * generic/tclInt.h: functions. Replaced with generic
1.2271 + * tests/io.test: thread-action calls through the
1.2272 + * unix/tclUnixChan.c: new hooks. Update of all builtin
1.2273 + * unix/tclUnixPipe.c: channel drivers to version 4.
1.2274 + * unix/tclUnixSock.c: Windows drivers extended to
1.2275 + * win/tclWinChan.c: manage thread state in a thread
1.2276 + * win/tclWinConsole.c: action handler.
1.2277 + * win/tclWinPipe.c:
1.2278 + * win/tclWinSerial.c:
1.2279 + * win/tclWinSock.c:
1.2280 + * mac/tclMacChan.c:
1.2281 +
1.2282 +2005-01-25 Don Porter <dgp@users.sourceforge.net>
1.2283 +
1.2284 + * library/auto.tcl: Updated [auto_reset] to clear auto-loaded
1.2285 + procs in namespaces other than :: [Bug 1101670].
1.2286 +
1.2287 +2005-01-25 Daniel Steffen <das@users.sourceforge.net>
1.2288 +
1.2289 + * unix/tcl.m4 (Darwin): fixed bug with static build linking to dynamic
1.2290 + library in /usr/lib etc instead of linking to static library earlier
1.2291 + in search path. [Bug 956908]
1.2292 + Removed obsolete references to Rhapsody.
1.2293 + * unix/configure: autoconf-2.13
1.2294 +
1.2295 +2005-01-19 Mo DeJong <mdejong@users.sourceforge.net>
1.2296 +
1.2297 + * win/tclWinChan.c (FileCloseProc): Invoke TclpCutFileChannel() to
1.2298 + remove a FileInfo from the thread local list before deallocating it.
1.2299 + This should have been done via an earlier call to Tcl_CutChannel, but
1.2300 + I was running into a crash in the next call to Tcl_CutChannel during
1.2301 + the IO finalization stage.
1.2302 +
1.2303 +2005-01-17 Vince Darley <vincentdarley@users.sourceforge.net>
1.2304 +
1.2305 + * tests/winFCmd.test: made test independent of current drive. [Bug
1.2306 + 1066528]
1.2307 +
1.2308 +2005-01-10 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2309 +
1.2310 + * unix/tclUnixFCmd.c (CopyFile): Convert u_int to unsigned to make
1.2311 + clashes with types in standard C headers less of a problem. [Bug
1.2312 + 1098829]
1.2313 +
1.2314 +2005-01-06 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2315 +
1.2316 + * library/http/http.tcl (http::mapReply): Significant performance
1.2317 + enhancement by using [string map] instead of [regsub]/[subst], and
1.2318 + update version requirement to Tcl8.4. [Bug 1020491]
1.2319 +
1.2320 +2005-01-05 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2321 +
1.2322 + * unix/tclUnixInit.c (localeTable): Add encoding mappings for some
1.2323 + Chinese locales. [Bug 1084595]
1.2324 +
1.2325 + * doc/lsearch.n: Convert to other form of emacs mode control
1.2326 + comment to prevent problems with old versions of man. [Bug 1085127]
1.2327 +
1.2328 +2004-12-29 Jeff Hobbs <jeffh@ActiveState.com>
1.2329 +
1.2330 + * win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, remove
1.2331 + -Gs (included in -O2) and -GD (outdated). Use "link -lib" instead
1.2332 + of "lib" binary and remove -YX for MSVC7 portability. Add
1.2333 + -fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967]
1.2334 +
1.2335 +2004-12-13 Kevin B. Kenny <kennykb@acm.org>
1.2336 +
1.2337 + * doc/clock.n: Clarify that the [clock scan] command does not accept
1.2338 + the full range of ISO8601 point-in-time formats. [Bug 1075433]
1.2339 +
1.2340 +2004-12-09 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2341 +
1.2342 + * doc/Async.3: Reword for better grammar, better nroff and get the
1.2343 + flag name right. (Reported by David Welton.)
1.2344 +
1.2345 +2004-12-06 Jeff Hobbs <jeffh@ActiveState.com>
1.2346 +
1.2347 + *** 8.4.9 TAGGED FOR RELEASE ***
1.2348 +
1.2349 + * unix/tclUnixNotfy.c (NotifierThreadProc): init numFdBits [Bug
1.2350 + 1079286]
1.2351 +
1.2352 +2004-12-02 Jeff Hobbs <jeffh@ActiveState.com>
1.2353 +
1.2354 + * changes: updated for 8.4.9 release
1.2355 +
1.2356 +2004-12-02 Vince Darley <vincentdarley@users.sourceforge.net>
1.2357 +
1.2358 + * generic/tclIOUtil.c: fix and new tests for [Bug 1074671] to
1.2359 + * tests/fileSystem.test: ensure tilde paths are not returned specially
1.2360 + by 'glob'.
1.2361 +
1.2362 +2004-12-01 Don Porter <dgp@users.sourceforge.net>
1.2363 +
1.2364 + * library/auto.tcl (tcl_findLibrary): Disabled use of [file normalize]
1.2365 + that caused trouble with freewrap. [Bug 1072136]
1.2366 +
1.2367 +2004-11-26 Don Porter <dgp@users.sourceforge.net>
1.2368 +
1.2369 + * tests/reg.test (reg-32.*): Added missing testregexp constraints.
1.2370 +
1.2371 + * library/auto.tcl (tcl_findLibrary): Made sure the uniquifying
1.2372 + operations on the search path does not also normalize. [Bug 1072136]
1.2373 +
1.2374 +2004-11-26 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2375 +
1.2376 + * doc/dde.n: Resynchonized the documentation with itself and fixed
1.2377 + some formatting errors.
1.2378 +
1.2379 +2004-11-25 Zoran Vasiljevic <vasiljevic@users.sf.net>
1.2380 +
1.2381 + * doc/Notify.3:
1.2382 + * doc/Thread.3: Added doc fixes and hints from [Bug 1068077].
1.2383 +
1.2384 +2004-11-25 Reinhard Max <max@suse.de>
1.2385 +
1.2386 + * tests/tcltest.test: The order in which [glob] returns the file names
1.2387 + * tests/fCmd.test: is undefined, so tests should not depend on it.
1.2388 +
1.2389 +2004-11-24 Don Porter <dgp@users.sourceforge.net>
1.2390 +
1.2391 + * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected failure to determine
1.2392 + the number of arguments for readdir_r on SunOS systems. [Bug 1071701]
1.2393 +
1.2394 + * unix/configure: autoconf-2.13
1.2395 +
1.2396 +2004-11-24 Jeff Hobbs <jeffh@ActiveState.com>
1.2397 +
1.2398 + * README: Bumped patchlevel to 8.4.9
1.2399 + * generic/tcl.h:
1.2400 + * tools/tcl.wse.in:
1.2401 + * unix/tcl.spec, unix/configure, unix/configure.in:
1.2402 + * win/configure, win/configure.in:
1.2403 +
1.2404 +2004-11-24 Kevin B. Kenny <kennykb@acm.org>
1.2405 +
1.2406 + * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected bad check for 3-argument
1.2407 + readdir_r(). [Bug 1001325]
1.2408 + * unix/configure: Regenerated.
1.2409 + * unix/tclUnixNotfy.c: Corrected all uses of 'select' to manage their
1.2410 + masks using the FD_CLR, FD_ISSET, FD_SET, and FD_ZERO macros rather
1.2411 + than bit-whacking that failed under Solaris-Sparc-64. [Bug 1071807]
1.2412 +
1.2413 +2004-11-23 Don Porter <dgp@users.sourceforge.net>
1.2414 +
1.2415 + * generic/tclCmdIL.c (InfoVarsCmd): Corrected segfault in new
1.2416 + * tests/info.test (info-19.6): trivial matching branch [Bug 1072654]
1.2417 +
1.2418 +2004-11-23 Vince Darley <vincentdarley@users.sourceforge.net>
1.2419 +
1.2420 + * generic/tclPathObj.c: fix and new test for [Bug 1043129] in
1.2421 + * tests/fileSystem.test: the treatment of backslashes in file join on
1.2422 + Windows.
1.2423 +
1.2424 +2004-11-22 Mo DeJong <mdejong@users.sourceforge.net>
1.2425 +
1.2426 + * unix/configure: Regen.
1.2427 + * unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Define HAVE_TYPE_OFF64_T only when
1.2428 + off64_t, open64(), and lseek64() are defined. IRIX 5.3 is known to not
1.2429 + include an open64 function. [Bug 1030465]
1.2430 +
1.2431 +2004-11-22 Mo DeJong <mdejong@users.sourceforge.net>
1.2432 +
1.2433 + * unix/configure: Regen.
1.2434 + * unix/tcl.m4 (SC_ENABLE_THREADS): Check for a 2 argument version of
1.2435 + readdir_r that is known to exists under IRIX 5.3.
1.2436 + * unix/tclUnixThrd.c (TclpReaddir): Use either 2 arg or 3 arg version
1.2437 + of readdir_r. [Bug 1001325]
1.2438 +
1.2439 +2004-11-19 Reinhard Max <max@suse.de>
1.2440 +
1.2441 + *** 8.4.8 TAGGED FOR RELEASE ***
1.2442 +
1.2443 + * unix/installManPage: Classic sed doesn't support | in REs.
1.2444 +
1.2445 +2004-11-19 Daniel Steffen <das@users.sourceforge.net>
1.2446 +
1.2447 + * macosx/Makefile:
1.2448 + * unix/configure.in:
1.2449 + * unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection of tcl
1.2450 + framework build when determining tclLibPath from overloaded
1.2451 + TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088]
1.2452 +
1.2453 + * unix/configure: autoconf-2.13
1.2454 +
1.2455 + * tests/unixInit.test (7.1): fixed failure when running tests
1.2456 + with -tmpdir arg not set to working dir.
1.2457 +
1.2458 +2004-11-18 Don Porter <dgp@users.sourceforge.net>
1.2459 +
1.2460 + * changes: Final updates for Tcl 8.4.8 release.
1.2461 +
1.2462 +2004-11-18 Reinhard Max <max@suse.de>
1.2463 +
1.2464 + * unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of
1.2465 + * unix/configure.in: [Patch 996085], that introduces
1.2466 + * unix/Makefile.in: --enable-man-suffix.
1.2467 +
1.2468 + * unix/installManPage: added
1.2469 + * unix/mkLinks.tcl: removed
1.2470 + * unix/mkLinks: removed
1.2471 +
1.2472 +2004-11-16 Jeff Hobbs <jeffh@ActiveState.com>
1.2473 +
1.2474 + * unix/tclUnixChan.c (TtySetOptionProc): fixed crash configuring
1.2475 + -ttycontrol on a channel. [Bug 1067708]
1.2476 +
1.2477 +2004-11-16 Andreas Kupries <andreask@activestate.com>
1.2478 +
1.2479 + * win/makefile.vc: Fixed bug in installation of http 2.5.
1.2480 + * win/makefile.bc: Was installed into directory http2.4.
1.2481 + * win/Makefile.in: This has been corrected.
1.2482 + * unix/Makefile.in:
1.2483 + * tools/tcl.wse.in:
1.2484 + * tools/tclmin.wse:
1.2485 +
1.2486 +2004-11-16 Don Porter <dgp@users.sourceforge.net>
1.2487 +
1.2488 + * library/auto.tcl: Updated [tcl_findLibrary] search path to
1.2489 + include the $::auto_path. [RFE 695441]
1.2490 +
1.2491 +2004-11-16 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2492 +
1.2493 + * doc/tclvars.n: Mention global variables set by tclsh and wish so
1.2494 + they are easier to find. [Patch 1065732]
1.2495 +
1.2496 +2004-11-15 Don Porter <dgp@users.sourceforge.net>
1.2497 +
1.2498 + * generic/tclCmdMZ.c (Tcl_TraceObjCmd): Fixed Bug 1065378 which failed
1.2499 + * tests/trace.test (trace-33.1): to permit a variable trace
1.2500 + created with [trace variable] to be destroyed with [trace remove].
1.2501 + Thanks to Keith Vetter for the report.
1.2502 +
1.2503 +2004-11-12 Don Porter <dgp@users.sourceforge.net>
1.2504 +
1.2505 + * library/init.tcl: Made [unknown] robust in the case that either
1.2506 + of the variables ::errorInfo or ::errorCode gets unset. [Bug 1063707]
1.2507 +
1.2508 +2004-11-12 Jeff Hobbs <jeffh@ActiveState.com>
1.2509 +
1.2510 + * generic/tclEncoding.c (TableFromUtfProc): correct crash
1.2511 + condition when TCL_UTF_MAX == 6. [Bug 1004065]
1.2512 +
1.2513 +2004-11-12 Daniel Steffen <das@users.sourceforge.net>
1.2514 +
1.2515 + * doc/clock.n:
1.2516 + * doc/registry.n:
1.2517 + * doc/upvar.n: fixed *roff errors uncovered by running 'make html'.
1.2518 +
1.2519 + * tools/tcltk-man2html.tcl: added faked support for bullet point
1.2520 + lists, i.e. *nroff ".IP \(bu" syntax.
1.2521 + Synced other changes from HEAD.
1.2522 +
1.2523 +2004-11-11 Daniel Steffen <das@users.sourceforge.net>
1.2524 +
1.2525 + * tests/fCmd.test:
1.2526 + * unix/tclUnixFCmd.c (TraverseUnixTree): added option to rewind() the
1.2527 + readdir() loop whenever the source hierarchy has been modified by
1.2528 + traverseProc (e.g. by deleting files); this is required to ensure
1.2529 + complete traversal of the source hierarchy on certain filesystems like
1.2530 + HFS+. Added test for failing recursive delete on Mac OS X that was due
1.2531 + to this. [Bug 1034337]
1.2532 +
1.2533 + * generic/tclListObj.c (Tcl_ListObjReplace): use memmove() instead of
1.2534 + manual copy loop to shift list elements. Decreases time spent in
1.2535 + Tcl_ListObjReplace() from 5.2% to 1.7% of overall runtime of tclbench
1.2536 + on a ppc 7455 (i.e. 200% speed increase). [Patch 1064243]
1.2537 +
1.2538 + * generic/tclHash.c: hoisted some constant pointer dereferences out of
1.2539 + loops to eliminate redundant loads that the gcc optimizer didn't deal
1.2540 + with. Decreases time spend in Tcl_FindHashEntry() by 10% over a full
1.2541 + run of the tcl testuite on a ppc 7455. [Patch 1064243]
1.2542 +
1.2543 + * tests/fileName.test:
1.2544 + * tests/fileSystem.test:
1.2545 + * tests/io.test:
1.2546 + * tests/tcltest.test: fixed bugs causing failures when running tests
1.2547 + with -tmpdir arg not set to working dir.
1.2548 +
1.2549 + * macosx/Makefile: corrected path to html help inside framework.
1.2550 + Prevent parallel make from building several targets at the same time.
1.2551 +
1.2552 +2004-11-09 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2553 +
1.2554 + * doc/catch.n: Clarify documentation on return codes. [Bug 1062647]
1.2555 +
1.2556 +2004-11-02 Don Porter <dgp@users.sourceforge.net>
1.2557 +
1.2558 + * changes: Updates for Tcl 8.4.8 release.
1.2559 +
1.2560 +2004-11-02 Don Porter <dgp@users.sourceforge.net>
1.2561 +
1.2562 + * library/tcltest/tcltest.tcl: Corrected some misleading
1.2563 + * tests/tcltest.test (tcltest-26.1,2): displays of ::errorInfo and
1.2564 + ::errorCode information when the -setup, -body, and/or -cleanup scripts
1.2565 + return an unexpected return code. Thanks to Robert Seeger for the
1.2566 + fix. [RFE 1017151]
1.2567 +
1.2568 +2004-11-02 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2569 +
1.2570 + * generic/tclExecute.c (TclExecuteByteCode): NaN-equality fix from
1.2571 + Miguel Sofer. [Bug 761471]
1.2572 +
1.2573 + * doc/CrtChannel.3 (Tcl_GetChannelMode): Add synopsis. [Bug 1058446]
1.2574 +
1.2575 +2004-10-31 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2576 +
1.2577 + * generic/tclCmdIL.c (InfoGlobalsCmd):
1.2578 + * tests/info.test (info-8.4): Strip leading global-namespace
1.2579 + specifiers from the pattern argument. [Bug 1057461]
1.2580 +
1.2581 +2004-10-30 Miguel Sofer <msofer@users.sf.net>
1.2582 +
1.2583 + * generic/tclCmdAH.c (Tcl_CatchObjCmd): removed erroneous comment [Bug
1.2584 + 1029518]
1.2585 +
1.2586 +2004-10-29 Don Porter <dgp@users.sourceforge.net>
1.2587 +
1.2588 + * library/tcltest/tcltest.tcl: Correct reaction to errors in the
1.2589 + obsolete processCmdLineArgsHook. [Bug 1055673]
1.2590 + * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.7
1.2591 +
1.2592 +2004-10-28 Andreas Kupries <andreask@activestate.com>
1.2593 +
1.2594 + * generic/tclAlloc.c: Fixed [Bug 1030548], a threaded debug
1.2595 + * generic/tclThreadAlloc.c: build on Windows now works again. Had to
1.2596 + * win/tclWinThrd.c: touch Unix as well. Basic patch by Kevin,
1.2597 + * unix/tclUnixThrd.c: with modifications by myself.
1.2598 +
1.2599 +2004-10-28 Don Porter <dgp@users.sourceforge.net>
1.2600 +
1.2601 + * README: Bumped patch level to 8.4.8 to prepare for
1.2602 + * generic/tcl.h: next patch release.
1.2603 + * tools/tcl.wse.in:
1.2604 + * unix/configure.in:
1.2605 + * unix/tcl.spec:
1.2606 + * win/README.binary:
1.2607 + * win/configure.in:
1.2608 +
1.2609 + * unix/configure: autoconf (2.13)
1.2610 + * win/configure:
1.2611 +
1.2612 +2004-10-28 Kevin B. Kenny <kennykb@acm.org>
1.2613 +
1.2614 + * generic/tclInt.decls:
1.2615 + * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime):
1.2616 + * win/tclWinTime.c (TclpGmtime, TclpLocaltime): Changed type
1.2617 + signatures of TclpGmtime and TclpLocaltime to accept CONST TclpTime_t
1.2618 + throughout, to avoid any possible confusion in pedantic compilers.
1.2619 + [Bug 1001319]
1.2620 + * generic/tclIntDecls.h:
1.2621 + * generic/tclIntPlatDecls.h: Regenerated.
1.2622 +
1.2623 +2004-10-27 Don Porter <dgp@users.sourceforge.net>
1.2624 +
1.2625 + * generic/tclCmdAH.c (Tcl_FormatObjCmd): Restored missing line
1.2626 + from yesterday's 868489 backport that caused failed alloc's on LP64
1.2627 + systems.
1.2628 +
1.2629 + * tests/appendComp.test: Backport test suite fixes of errors
1.2630 + * tests/autoMkindex.test: revealed by -singleproc 1 -debug 1
1.2631 + * tests/exec.test: options to make test.
1.2632 + * tests/execute.test:
1.2633 + * tests/interp.test:
1.2634 + * tests/io.test:
1.2635 + * tests/namespace.test:
1.2636 + * tests/regexpComp.test:
1.2637 + * tests/stringComp.test:
1.2638 + * tests/unixInit.test:
1.2639 + * tests/winPipe.test:
1.2640 +
1.2641 +2004-10-26 Kevin B. Kenny <kennykb@acm.org>
1.2642 +
1.2643 + * generic/tclCmdAH.c (Tcl_FormatObjCmd): Backport a missing bit of the
1.2644 + [Bug 868489] fix.
1.2645 + * generic/tclObj.c (SetBooleanFromAny): Backport fix for [Bug 1026125]
1.2646 + * tests/format.test (format-19.1): Additional regression test for
1.2647 + [Bug 868489].
1.2648 +
1.2649 +2004-10-26 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2650 +
1.2651 + * doc/*.n: Backporting of documentation updates.
1.2652 +
1.2653 +2004-10-26 Don Porter <dgp@users.sourceforge.net>
1.2654 +
1.2655 + * tests/subst.test (subst-12.3-5): More tests for [Bug 1036649]
1.2656 +
1.2657 + * tests/compile.test (compile-12.4): Backport test for [Bug 1001997]
1.2658 + * tests/timer.test (timer-10.1): Backport test for [Bug 1016167]
1.2659 + * tests/tcltest.test (tcltest-12.3,4): Backport setup corrections.
1.2660 + * tests/error.test (error-6.3,4,7,9): Backport of some tests.
1.2661 + * tests/basic.test (basic-49.*):
1.2662 + * tests/namespace.test (namespace-8.7):
1.2663 + * tests/init.test (init-2.8): Updated to not rely on http package.
1.2664 +
1.2665 + * generic/tclThreadTest.c (ThreadEventProc): Corrected subtle bug
1.2666 + where the returned (char *) from Tcl_GetStringResult(interp) continued
1.2667 + to be used without copying or refcounting, while activity on the
1.2668 + interp continued.
1.2669 +
1.2670 +2004-10-14 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2671 +
1.2672 + * generic/tclUtil.c (TclMatchIsTrivial): Detect degenerate cases of
1.2673 + glob matching that let us avoid scanning through hash tables.
1.2674 + * generic/tclCmdIL.c (InfoCommandsCmd, InfoGlobalsCmd, InfoProcsCmd):
1.2675 + (InfoVarsCmd): Use this to speed up some [info] subcommands.
1.2676 +
1.2677 +2004-10-08 Jeff Hobbs <jeffh@ActiveState.com>
1.2678 +
1.2679 + * win/tclWinFile.c (NativeIsExec): correct result of 'file executable'
1.2680 + to not be case sensitive. [Bug 954263]
1.2681 +
1.2682 +2004-10-05 Don Porter <dgp@users.sourceforge.net>
1.2683 +
1.2684 + * generic/tclNamesp.c (Tcl_PopCallFrame): Removed Bug 1038021
1.2685 + workaround. That bug is now fixed.
1.2686 +
1.2687 +2004-09-30 Don Porter <dgp@users.sourceforge.net>
1.2688 +
1.2689 + * generic/tclNamespace.c (TclTeardownNamespace): Tcl_Obj-ified the
1.2690 + * tests/namespace.test (namespace-8.5,6): save/restore of
1.2691 + ::errorInfo and ::errorCode during global namespace teardown. Revised
1.2692 + the comment to clarify why this is done, and added tests that will
1.2693 + fail if this is not done.
1.2694 +
1.2695 + * generic/tclResult.c (TclTransferResult): Added safety checks so
1.2696 + that unexpected undefined ::errorInfo or ::errorCode will not lead to
1.2697 + a segfault.
1.2698 +
1.2699 + * generic/tclVar.c (CallVarTraces): Save/restore the flag values
1.2700 + * tests/var.test (var-16.1): that define part of the interpreter
1.2701 + state during variable traces. [Bug 1038021]
1.2702 +
1.2703 +2004-09-30 Miguel Sofer <msofer@users.sf.net>
1.2704 +
1.2705 + * tests/subst.test (12.2): test correction.
1.2706 +
1.2707 +2004-09-29 Miguel Sofer <msofer@users.sf.net>
1.2708 +
1.2709 + * generic/tclBasic.c (Tcl_EvalEx):
1.2710 + * tests/subst.test (12.1-2): fix for buffer overflow in [subst], [Bug
1.2711 + 1036649]
1.2712 +
1.2713 +2004-09-23 Mo DeJong <mdejong@users.sourceforge.net>
1.2714 +
1.2715 + * unix/dltest/Makefile.in (clean): Fixup make clean rule so that it
1.2716 + does not delete all files when SHLIB_SUFFIX is set to the empty string
1.2717 + in a static build. [Bug 1016726]
1.2718 +
1.2719 +2004-09-18 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2720 +
1.2721 + * generic/tclExecute.c (TEBC-INST_LSHIFT,INST_RSHIFT): Ensure that
1.2722 + large shifts end up shifting correctly. [Bug 868467]
1.2723 +
1.2724 +2004-09-15 Daniel Steffen <das@users.sourceforge.net>
1.2725 +
1.2726 + * tests/load.test (load-2.3): adopted fix for failure on darwin from
1.2727 + HEAD.
1.2728 +
1.2729 +2004-09-14 Don Porter <dgp@users.sourceforge.net>
1.2730 +
1.2731 + * generic/tclObj.c (Tcl_GetIntFromObj): Corrected flaw in returning
1.2732 + the int value of a wideInteger. [Bug 1027690]
1.2733 +
1.2734 +2004-09-10 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2735 +
1.2736 + * generic/tclObj.c (SetIntOrWideFromAny): Rewritten integral value
1.2737 + parsing code so that values do not flip so easily between numeric
1.2738 + representations. Thanks to KBK for this! [Bug 868489]
1.2739 +
1.2740 + * generic/tclIO.c (Tcl_Seek): Make sure wide seeks do not fail to set
1.2741 + ::errorCode on error. [Bug 1025359]
1.2742 +
1.2743 +2004-09-10 Andreas Kupries <andreask@activestate.com>
1.2744 +
1.2745 + * generic/tcl.h: Micro formatting fixes.
1.2746 + * generic/tclIOGT.c: Channel version fixed, must be 3, to have
1.2747 + wideseekProc. Thanks to David Graveraux <davygrvy@pobox.com>.
1.2748 +
1.2749 +2004-09-11 Don Porter <dgp@users.sourceforge.net>
1.2750 +
1.2751 + * generic/tclNamespace.c (TclGetNamespaceForQualName): Resolved
1.2752 + longstanding inconsistency in the treatment of the TCL_NAMESPACE_ONLY
1.2753 + flag revealed by testing the 2004-09-09 commits against Itcl.
1.2754 + TCL_NAMESPACE_ONLY now acts as specified in the pre-function
1.2755 + comment, forcing resolution in the passed in context namespace. It has
1.2756 + been incorrectly forcing resolution in the interp's current namespace.
1.2757 +
1.2758 +2004-09-10 Miguel Sofer <msofer@users.sf.net>
1.2759 +
1.2760 + * generic/tclExecute.c (INST_CONCAT1): added a peephole optimisation
1.2761 + for concatting an empty string. This enables replacing the idiom 'K $x
1.2762 + [set x {}]' by '$x[set x {}]' for fastest execution.
1.2763 +
1.2764 +2004-09-09 Don Porter <dgp@users.sourceforge.net>
1.2765 +
1.2766 + * generic/tclNamesp.c (Tcl_ForgetImport): Corrected faulty logic that
1.2767 + * tests/namespace.test: relied exclusively on string matching and
1.2768 + failed in the presence of [rename]s. [Bug 560297]
1.2769 + Also corrected faulty prevention of [namespace import] cycles. [Bug
1.2770 + 1017299]
1.2771 +
1.2772 +2004-09-08 Kevin B. Kenny <kennykb@acm.org>
1.2773 +
1.2774 + * compat/strftime.c (_conv): Corrected a problem where hour 0 would
1.2775 + format as a blank format group with %k.
1.2776 + * tests/clock.test (clock-41.1): Added regression test case for %k at
1.2777 + the zero hour.
1.2778 +
1.2779 +2004-09-07 Kevin B. Kenny <kennykb@acm.org>
1.2780 +
1.2781 + * generic/tclTimer.c: Removed a premature optimisation that attempted
1.2782 + to store the assoc data in the client data; the optimisation caused a
1.2783 + bug that [after] would overwrite its imports. [Bug 1016167]
1.2784 +
1.2785 +2004-09-02 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2786 +
1.2787 + * doc/lsearch.n: Clarified meaning of -dictionary. [Bug 759545]
1.2788 +
1.2789 +2004-09-01 Jeff Hobbs <jeffh@ActiveState.com>
1.2790 +
1.2791 + * win/tclWinReg.c (BroadcastValue): WIN64 cast corrections
1.2792 +
1.2793 + * win/tclWinDde.c (DdeClientWindowProc):
1.2794 + (DdeServicesOnAck, DdeEnumWindowsCallback): WIN64 corrections
1.2795 +
1.2796 + * win/tclWin32Dll.c (TclWinCPUID): need _asm for WIN64 (Itanium),
1.2797 + until we have it, just return unknown. [Bug 1020445]
1.2798 +
1.2799 +2004-08-30 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2800 +
1.2801 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): Stop [string map] from
1.2802 + crashing when its map and input string are the same object.
1.2803 +
1.2804 +2004-08-27 Daniel Steffen <das@users.sourceforge.net>
1.2805 +
1.2806 + * tests/env.test: macosx fixes.
1.2807 +
1.2808 +2004-08-19 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.2809 +
1.2810 + * generic/tclScan.c (Tcl_ScanObjCmd, ValidateFormat): Ensure that the
1.2811 + %ld conversion works correctly on 64-bit platforms. [Bug 1011860]
1.2812 +
1.2813 +2004-08-16 Miguel Sofer <msofer@users.sf.net>
1.2814 +
1.2815 + * doc/SetVar.3:
1.2816 + * generic/tclTest.c (TestseterrorcodeCmd):
1.2817 + * generic/tclVar.c (TclPtrSetVar):
1.2818 + * tests/result.test (result-4.*, result-5.*): [Bug 1008314]
1.2819 + detected and fixed by dgp.
1.2820 +
1.2821 +2004-08-13 Don Porter <dgp@users.sourceforge.net>
1.2822 +
1.2823 + * library/msgcat/msgcat.tcl: Added checks to prevent [mclocale]
1.2824 + * tests/msgcat.test: from registering filesystem paths to possibly
1.2825 + malicious code to be evaluated by a later [mcload].
1.2826 + * library/msgcat/pkgIndex.tcl: Bump to msgcat 1.3.3
1.2827 +
1.2828 +2004-08-10 Zoran Vasiljevic <vasiljevic@users.sf.net>
1.2829 +
1.2830 + * unix/tclUnixThrd.c (TclpThreadCreate): changed handling of the
1.2831 + returned thread ID since broken on 64-bit systems (Cray). Thanks to
1.2832 + Rob Ratcliff for reporting the bug.
1.2833 +
1.2834 +2004-07-30 Don Porter <dgp@users.sourceforge.net>
1.2835 +
1.2836 + * generic/tclEvent.c (Tcl_Finalize): Re-organized Tcl_Finalize so
1.2837 + that Tcl_ExitProc's that call Tcl_Finalize recursively do not cause
1.2838 + deadlock. [Patch 999084, fixes Tk Bug 714956]
1.2839 +
1.2840 +2004-07-30 Daniel Steffen <das@users.sourceforge.net>
1.2841 +
1.2842 + * unix/configure:
1.2843 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS
1.2844 + to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var.
1.2845 + * unix/Makefile.in: added MAC_OSX_OBJS variable.
1.2846 +
1.2847 +2004-07-28 Don Porter <dgp@users.sourceforge.net>
1.2848 +
1.2849 + * generic/tclMain.c (Tcl_Main, StdinProc): Append newline only to
1.2850 + * tests/basic.test (basic-46.1): incomplete scripts as part
1.2851 + of multi-line script construction. Do not add an extra trailing
1.2852 + newline to the complete script. [Bug 833150]
1.2853 +
1.2854 +2004-07-26 Jeff Hobbs <jeffh@ActiveState.com>
1.2855 +
1.2856 + *** 8.4.7 TAGGED FOR RELEASE ***
1.2857 +
1.2858 + * tests/io.test (io-61.1): create file in binary mode for x-plat.
1.2859 +
1.2860 +2004-07-25 Pat Thoyts <patthoyts@users.sourceforge.net>
1.2861 +
1.2862 + * generic/tclThreadAlloc.c: Moved the tclInt.h include to provide
1.2863 + Tcl_Panic which is now required for non-threaded build.
1.2864 +
1.2865 +2004-07-22 Don Porter <dgp@users.sourceforge.net>
1.2866 +
1.2867 + * tests/eofchar.data (removed): Test io-61.1 now generates its own
1.2868 + * tests/io.test: file of test data as needed.
1.2869 +
1.2870 +2004-07-21 Don Porter <dgp@users.sourceforge.net>
1.2871 + * win/tclWinDde.c: Bump to dde 1.2.3 to cover changes
1.2872 + * library/dde/pkgIndex.tcl: committed on 2004-06-14.
1.2873 +
1.2874 + * changes: Updated for Tcl 8.4.7 release.
1.2875 +
1.2876 +2004-07-20 Jeff Hobbs <jeffh@ActiveState.com>
1.2877 +
1.2878 + * generic/tclEvent.c: Correct threaded obj allocator to
1.2879 + * generic/tclInt.h: fully cleanup on exit and allow for
1.2880 + * generic/tclThreadAlloc.c: reinitialization. [Bug 736426]
1.2881 + * unix/tclUnixThrd.c: (mistachkin, kenny)
1.2882 + * win/tclWinThrd.c:
1.2883 +
1.2884 +2004-07-20 Daniel Steffen <das@users.sourceforge.net>
1.2885 +
1.2886 + * unix/tcl.m4: fixed Darwin autoconf breakage caused by recent CFLAGS
1.2887 + reordering.
1.2888 + * unix/configure: regen
1.2889 +
1.2890 + * unix/tclConfig.sh.in: replaced EXTRA_CFLAGS with CFLAGS.
1.2891 + * unix/dltest/Makefile.in: replaced EXTRA_CFLAGS with DEFS.
1.2892 +
1.2893 + * macosx/tclMacOSXBundle.c: dynamically acquire address for
1.2894 + CFBundleOpenBundleResourceMap symbol, since it is only present in
1.2895 + full CoreFoundation on Mac OS X and not in CFLite on pure Darwin.
1.2896 +
1.2897 +2004-07-19 Jeff Hobbs <jeffh@ActiveState.com>
1.2898 +
1.2899 + * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after their
1.2900 + * unix/configure.in, unix/configure: _DEFAULT to allow for env setting
1.2901 + to override m4 switches.
1.2902 + Consolidate header checks to limit redundancy in configure.
1.2903 + (CFLAGS_WARNING): Remove -Wconversion, add -fno-strict-aliasing for
1.2904 + gcc builds (need to suppress 3.x type puning warnings).
1.2905 + (SC_ENABLE_THREADS): Set m4 to force threaded build when built against
1.2906 + a threaded Tcl core.
1.2907 + Reorder configure.in for better 64-bit build configuration, replacing
1.2908 + EXTRA_CFLAGS with CFLAGS. [Bug 874058]
1.2909 +
1.2910 +2004-07-19 Zoran Vasiljevic <vasiljevic@users.sf.net>
1.2911 +
1.2912 + * win/tclwinThrd.c: redefined MASTER_LOCK to call TclpMasterLock.
1.2913 + Fixes [Bug 987967]
1.2914 +
1.2915 +2004-07-16 Andreas Kupries <andreask@activestate.com>
1.2916 +
1.2917 + * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Corrected a typo in the
1.2918 + generation of error messages and simplified by reusing data in a
1.2919 + variable instead of retrieving the string again. Fixes [Bug 835289]
1.2920 +
1.2921 + * doc/OpenFileChnl.3: Added description of the behaviour of
1.2922 + Tcl_ReadChars when its 'charsToRead' argument is set to -1. Fixes [Bug
1.2923 + 934511]
1.2924 +
1.2925 + * doc/CrtCommand.3: Added note that the arguments given to the command
1.2926 + proc of a Tcl_CreateCommand are in utf8 since Tcl 8.1. Closing [Patch
1.2927 + 414778]
1.2928 +
1.2929 + * doc/ChnlStack.3: Removed the declaration that the interp argument to
1.2930 + Tcl_(un)StackChannel can be NULL. This fixes [Bug 881220], reported by
1.2931 + Marco Maggi <marcomaggi@users.sourceforge.net>.
1.2932 +
1.2933 + * tests/socket.test: Accepted two new testcases by Stuart Casoff
1.2934 + <stwo@users.sourceforge.net> checking that -server and -async don't go
1.2935 + together [Bug 796534]
1.2936 +
1.2937 + * unix/tclUnixNotfy.c (NotifierThreadProc): Accepted Joe Mistachkin's
1.2938 + patch for [Bug 990500], properly closing the notifier thread when its
1.2939 + exits.
1.2940 +
1.2941 +2004-07-15 Andreas Kupries <andreask@activestate.com>
1.2942 +
1.2943 + * unix/tclUnixThrd.c (TclpFinalizeMutex): Accepted Joe Mistachkin's
1.2944 + patch for [Bug 990453], closing leakage of mutexes. They were not
1.2945 + destroyed properly upon finalization.
1.2946 +
1.2947 +2004-07-15 Zoran Vasiljevic <vasiljevic@users.sf.net>
1.2948 +
1.2949 + * generic/tclEvent.c (NewThreadProc): Backout of changes to fix [Bug
1.2950 + 770053]. See SF bugreport for more info.
1.2951 +
1.2952 + * generic/tclNotify.c (TclFinalizeNotifier): Added conditional
1.2953 + notifier finalization based on the fact that an TclInitNotifier has
1.2954 + been called for the current thread. This fixes [Bug 770053] again.
1.2955 + Hopefully this time w/o unwanted side-effects.
1.2956 +
1.2957 +2004-07-14 Andreas Kupries <andreask@activestate.com>
1.2958 +
1.2959 + * generic/tclIO.h (CHANNEL_INCLOSE): New flag. Set in Tcl_Close
1.2960 + * generic/tclIO.c (Tcl_UnregisterChannel): while the close callbacks
1.2961 + * generic/tclIO.c (Tcl_Close): are run. Checked in
1.2962 + Tcl_Close and Tcl_Unregister to prevent recursive call of [close] in
1.2963 + the close-callbacks. This is a possible error made by implementors of
1.2964 + virtual filesystems based on 'tclvfs', thinking that they have to
1.2965 + close the channel in the close handler for the filesystem.
1.2966 +
1.2967 +2004-07-14 Andreas Kupries <andreask@activestate.com>
1.2968 +
1.2969 + * generic/tclIO.c:
1.2970 + * generic/tclIO.h:
1.2971 + Not reverting, but #ifdef'ing the changes from May 19, 2004 out of the
1.2972 + core. This removes the ***POTENTIAL INCOMPATIBILITY*** for channel
1.2973 + drivers it introduced. This has become possible due to Expect gaining
1.2974 + a BlockModeProc and now handling blockingg and non-blocking modes
1.2975 + correctly. Thus [Bug 943274] is still fixed if a recent enough version
1.2976 + of Expect is used.
1.2977 +
1.2978 + * doc/CrtChannel.3: Added warning about usage of a channel without a
1.2979 + BlockModeProc.
1.2980 +
1.2981 +2004-07-15 Andreas Kupries <andreask@pliers.activestate.com>
1.2982 +
1.2983 + * generic/tclIOCmd.c (Tcl_PutsObjCmd): Added length check to the old
1.2984 + depreceated newline syntax, to ensure that only "nonewline" is
1.2985 + accepted. [Bug 985869] (mistachkin)
1.2986 +
1.2987 +2004-07-13 Jeff Hobbs <jeffh@ActiveState.com>
1.2988 +
1.2989 + * README, generic/tcl.h, tools/tcl.wse.in: bumped to
1.2990 + * unix/configure, unix/configure.in, unix/tcl.spec: patchlevel
1.2991 + * win/README.binary, win/configure, win/configure.in: 8.4.7
1.2992 +
1.2993 +2004-07-13 Zoran Vasiljevic <vasiljevic@users.sf.net>
1.2994 +
1.2995 + * generic/tclEvent.c (NewThreadProc): Fixed broken build on Windows
1.2996 + caused by missing TCL_THREAD_CREATE_RETURN. This is backported from
1.2997 + HEAD. Thnx to Kevin Kenny for spotting this.
1.2998 +
1.2999 +2004-07-03 Miguel Sofer <msofer@users.sf.net>
1.3000 +
1.3001 + * generic/tclExecute.c (ExprRoundFunc):
1.3002 + * tests/expr-old.test (39.1): added support for wide integers to
1.3003 + round(); [Bug 908375], reported by Hemang Lavana.
1.3004 +
1.3005 +2004-07-02 Jeff Hobbs <jeffh@ActiveState.com>
1.3006 +
1.3007 + * generic/regcomp.c (stid): correct minor pointer size error
1.3008 +
1.3009 + * generic/tclPipe.c (TclCreatePipeline): Add 2>@1 as a special
1.3010 + * tests/exec.test: case redir of stderr to the result output.
1.3011 +
1.3012 +2004-07-02 Vince Darley <vincentdarley@users.sourceforge.net>
1.3013 +
1.3014 + * tests/fileSystem.test: new tests backported
1.3015 + * win/tclWin32Dll.c: compilation fix for VC++5.2
1.3016 +
1.3017 +2004-06-29 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.3018 +
1.3019 + * library/safe.tcl: Make sure that the temporary variable is
1.3020 + local to the namespace and not inadvertently global. [Bug 981733]
1.3021 +
1.3022 +2004-06-22 Zoran Vasiljevic <vasiljevic@users.sf.net>
1.3023 +
1.3024 + * generic/tclEvent.c:
1.3025 + * generic/tclInt.h:
1.3026 + * unix/tclUnixNotfy.c:
1.3027 + * unix/tclUnixThrd.c:
1.3028 + * win/tclWinThrd.c: See bug report for more information about what it
1.3029 + does. [Bug 770053]
1.3030 +
1.3031 + * tests/unixNotfy.test: rewritten to use tcltest::threadReap to
1.3032 + gracefully wait for the test thread to exit. Otherwise we got a race
1.3033 + condition with main thread exiting before the test thread. This
1.3034 + exposed the long-standing Tcl lib issue with resource
1.3035 + garbage-collection on application exit.
1.3036 +
1.3037 +2004-06-21 Mo DeJong <mdejong@users.sourceforge.net>
1.3038 +
1.3039 + * win/tclWin32Dll.c (DllMain, _except_dllmain_detach_handler)
1.3040 + (TclpCheckStackSpace, _except_checkstackspace_handler, TclWinCPUID)
1.3041 + (_except_TclWinCPUID_detach_handler):
1.3042 + * win/tclWinChan.c (Tcl_MakeFileChannel)
1.3043 + (_except_makefilechannel_handler):
1.3044 + * win/tclWinFCmd.c (DoRenameFile, _except_dorenamefile_handler)
1.3045 + (DoCopyFile, _except_docopyfile_handler):
1.3046 + Rework pushing of exception handler function pointer so that compiling
1.3047 + with gcc -O3 works. Remove empty function call to avoid compiler
1.3048 + warning. Mark the DllMain function as noinline to avoid compiler error
1.3049 + from duplicated asm labels in generated code.
1.3050 +
1.3051 +2004-06-14 Pat Thoyts <patthoyts@users.sourceforge.net>
1.3052 +
1.3053 + * tests/winDde.test: Fixed -async test
1.3054 + * win/tclWinDde.c: Backported the fix from 8.5 to avoid hanging in the
1.3055 + presence of applications that do not process Window messages.
1.3056 +
1.3057 +2004-06-10 Andreas Kupries <andreask@activestate.com>
1.3058 +
1.3059 + * generic/tclDecls.h: Regenerated on a unix box. The Win/DOS
1.3060 + * generic/tclIntDecls.h: EOLs from the last regen screwed up
1.3061 + * generic/tclIntPlatDecls.h: compilation with an older gcc.
1.3062 + * generic/tclPlatDecls.h:
1.3063 + * generic/tclStubInit.c:
1.3064 +
1.3065 +2004-06-10 Zoran Vasiljevic <vasiljevic@users.sf.net>
1.3066 +
1.3067 + * generic/tclIOUtil.c: partially corrected [Bug 932314]. Also,
1.3068 + corrected return values of Tcl_FSChdir() to reflect those of the
1.3069 + underlying platform-specific call. Originally, return codes were mixed
1.3070 + with those of Tcl.
1.3071 +
1.3072 +2004-06-08 Miguel Sofer <msofer@users.sf.net>
1.3073 +
1.3074 + * generic/tclCompile.c: handle warning [Bug 969066]
1.3075 +
1.3076 +2004-06-05 Kevin B. Kenny <kennykb@acm.org>
1.3077 +
1.3078 + * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw
1.3079 + build works again.
1.3080 + * generic/tclDecls.h: Changes to the tests for
1.3081 + * generic/tclInt.decls: clock frequency in Tcl_WinTime
1.3082 + * generic/tclIntDecls.h: so that any clock frequency is
1.3083 + * generic/tclIntPlatDecls.h: accepted provided that all
1.3084 + * generic/tclPlatDecls.h: CPU's in the system share a
1.3085 + * generic/tclStubInit.c: common chip, and hence,
1.3086 + * tests/platform.test (platform-1.3): presumably, a common clock.
1.3087 + * win/tclWin32Dll.c (TclWinCPUID): This change necessitated a
1.3088 + * win/tclWinTest.c (TestwincpuidCmd) small burst of assembly code
1.3089 + * win/tclWinTime.c (Tcl_GetTime): to read CPU ID information,
1.3090 + which was added as TclWinCPUID in the internal Stubs. To test this
1.3091 + code in the common case of a single-processor machine, a
1.3092 + 'testwincpuid' command was added to tclWinTest.c, and a test case in
1.3093 + platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for
1.3094 + reporting this bug. [Bug 976722]
1.3095 +
1.3096 +2004-05-27 Kevin B. Kenny <kennykb@acm.org>
1.3097 +
1.3098 + * tests/clock.test: Added a single test for the presence of %G in
1.3099 + [clock format], and conditioned out the clock-10.x series if they're
1.3100 + all going to fail because of a broken strftime() call. [Bug 961714]
1.3101 +
1.3102 +2004-05-27 Reinhard Max <max@suse.de>
1.3103 +
1.3104 + * generic/tclEncoding.c:
1.3105 + * tests/encoding.test: added support and tests for translating
1.3106 + embedded null characters between real nullbytes and the internal
1.3107 + representation on input/output. [Bug 949905]
1.3108 +
1.3109 +2004-05-26 Don Porter <dgp@users.sourceforge.net>
1.3110 +
1.3111 + * library/tcltest/tcltest.tcl: Correction to debug prints and testing
1.3112 + * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Corrected
1.3113 + * tests/tcltest.test: double increment of numTestFiles in
1.3114 + -singleproc 1 configurations. Updated tcltest-19.1 to tcltest 2.1
1.3115 + behavior. Corrected tcltest-25.3 to not falsely report a failure in
1.3116 + tcltest.test. Bumped to tcltest 2.2.6. [Bugs 960560, 960926]
1.3117 +
1.3118 +2004-05-25 Jeff Hobbs <jeffh@ActiveState.com>
1.3119 +
1.3120 + * doc/http.n (http::config): add -urlencoding option (default utf-8)
1.3121 + * library/http/http.tcl: that specifies encoding conversion of
1.3122 + * library/http/pkgIndex.tcl: args for http::formatQuery. Previously
1.3123 + * tests/http.test: undefined, RFC 2718 says it should be
1.3124 + utf-8. 'http::config -urlencoding {}' returns previous behavior,
1.3125 + which will throw errors processing non-latin-1 chars. Bumped http
1.3126 + package to 2.5.0.
1.3127 +
1.3128 +2004-05-25 Kevin Kenny <kennykb@acm.org>
1.3129 +
1.3130 + * tests/winFCmd.test: Correct test for the presence of a CD-ROM so
1.3131 + that it doesn't misdetect some other sort of filesystem with a
1.3132 + write-protected root as being a CD-ROM drive. [Bug 918267]
1.3133 +
1.3134 +2004-05-24 Jeff Hobbs <jeffh@ActiveState.com>
1.3135 +
1.3136 + * generic/tclExecute.c (VerifyExprObjType): use GET_WIDE_OR_INT to
1.3137 + properly have tclIntType used for smaller values. This corrects TclX
1.3138 + bug 896727 and any other 3rd party extension that created math
1.3139 + functions but was not yet WIDE_INT aware in them.
1.3140 +
1.3141 +2004-05-24 Miguel Sofer <msofer@users.sf.net>
1.3142 +
1.3143 + * doc/set.n: accurate description of name resolution process,
1.3144 + referring to namespace.n for details [Bug 959180]
1.3145 +
1.3146 +2004-05-22 Miguel Sofer <msofer@users.sf.net>
1.3147 +
1.3148 + * generic/tclVar.c (TclObjUnsetVar2): backported fix [Bug 735335] and
1.3149 + new (in tcl8.4) exteriorisations of [Bug 736729] due to the use of
1.3150 + tclNsVarNameType obj types. The consequences of [Bug 736729] should be
1.3151 + the same as in tcl8.3 and previous versions. The use of
1.3152 + tclNsVarNameType objs is still disabled, pending a decision by the
1.3153 + release manager.
1.3154 +
1.3155 +2004-05-19 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.3156 +
1.3157 + * win/tclWinFile.c (TclpMatchInDirectory): fix for an issue where
1.3158 + there was a sneak path from Tcl_DStringFree to SetErrorCode(0). The
1.3159 + result was that the error code could be reset between a call to
1.3160 + FindFirstFile and the check of its status return, leading to a bizarre
1.3161 + error return of {POSIX unknown {No error}}. (Found in unplanned test -
1.3162 + no incident logged at SourceForge.)
1.3163 +
1.3164 +2004-05-19 Andreas Kupries <andreask@activestate.com>
1.3165 +
1.3166 + * generic/tclIO.c: Fixed [SF Tcl Bug 943274]. This is the same problem
1.3167 + * generic/tclIO.h: as [SF Tcl Bug 462317], see ChangeLog entry
1.3168 + 2001-09-26. The fix done at that time is incomplete. It is possible to
1.3169 + get around it if the actual read operation is defered and not executed
1.3170 + in the event handler itself. Instead of tracking if we are in an read
1.3171 + caused by a synthesized fileevent we now track if the OS has delivered
1.3172 + a true event = actual data and bypass the driver if a read finds that
1.3173 + there is no actual data waiting. The flag is cleared by a short or
1.3174 + full read. [[this bug amended 2004-07-14]]
1.3175 +
1.3176 +2004-05-18 Kevin B. Kenny <kennykb@acm.org>
1.3177 +
1.3178 + * compat/strftime.c (_fmt, ISO8601Week):
1.3179 + * doc/clock.n:
1.3180 + * tests/clock.test: Major rework to the handling of ISO8601 week
1.3181 + numbers. Now passes all the %G and %V test cases on Windows, Linux and
1.3182 + Solaris [Bugs 500285, 500389, and 852944]
1.3183 +
1.3184 +2004-05-17 Kevin B. Kenny <kennykb.@acm.org>
1.3185 +
1.3186 + * generic/tclInt.decls: Restored TclpTime_t kludge to all places
1.3187 + * generic/tclIntPlatDecls.h: where it appeared before the changes of
1.3188 + * unix/tclUnixPort.h 14 May, because use of native time_t in
1.3189 + * unix/tclUnixTime.h its place requires the 8.5 header
1.3190 + * win/tclWinTime.h: reforms. [Bug 955146]
1.3191 +
1.3192 +2004-05-17 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.3193 +
1.3194 + * doc/OpenFileChnl.3: Documented type of 'offset' argument to Tcl_Seek
1.3195 + was wrong. [Bug 953374]
1.3196 +
1.3197 +2004-05-14 Kevin B. Kenny <kennykb@acm.org>
1.3198 +
1.3199 + * generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime
1.3200 + * generic/tclIntDecls.h: from Unix-specific stubs to the generic
1.3201 + * generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs'
1.3202 + * generic/tclStubInit.c:
1.3203 + * unix/tclUnixPort.h:
1.3204 +
1.3205 + * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to
1.3206 + the correct 'GMT0'. [Bug 922848]
1.3207 +
1.3208 + * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to
1.3209 + unix/tclUnixTime.c where they belong.
1.3210 +
1.3211 + * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone,
1.3212 + (ThreadSafeGMTime[removed], ThreadSafeLocalTime[removed],
1.3213 + (SetTZIfNecessary, CleanupMemory): Restructured to make sure that the
1.3214 + same mutex protects all calls to localtime, gmtime, and tzset. Added a
1.3215 + check in front of those calls to make sure that the TZ env var hasn't
1.3216 + changed since the last call to tzset, and repeat tzset if necessary.
1.3217 + [Bug 940278] Removed a buggy test of the Daylight Saving Time
1.3218 + information in 'gettimeofday' in favor of applying 'localtime' to a
1.3219 + known value. [Bug 922848]
1.3220 +
1.3221 + * tests/clock.test (clock-3.14): Added test to make sure that changes
1.3222 + to $env(TZ) take effect immediately.
1.3223 +
1.3224 + * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer
1.3225 + for 'localtime' and 'gmtime' calls.
1.3226 +
1.3227 +2004-05-10 David Gravereaux <davygrvy@pobox.com>
1.3228 +
1.3229 + * win/tclWinPipe.c (BuildCommandLine): Append a space when the path
1.3230 + got primed.
1.3231 + (TclpCreateProcess): When under NT, with no console, and executing a
1.3232 + DOS application, the path priming does not need an ending space as
1.3233 + BuildCommandLine() will append one for us.
1.3234 +
1.3235 +2004-05-07 Miguel Sofer <msofer@users.sf.net>
1.3236 +
1.3237 + * doc/unset.n: added upvar.n to the "see also" list
1.3238 +
1.3239 +2004-05-05 David Gravereaux <davygrvy@pobox.com>
1.3240 +
1.3241 + * generic/tclEvent.c: TclSetLibraryPath's use of caching the stringrep
1.3242 + of the pathPtr object to TclGetLibraryPath called from another thread
1.3243 + was ineffective if the original's stringrep had been invalidated as
1.3244 + what happens when it gets muted to a list.
1.3245 +
1.3246 + * generic/tclEncoding.c: Added FreeEncoding(systemEncoding) in
1.3247 + TclFinalizeEncodingSubsystem because its ref count was incremented in
1.3248 + TclInitEncodingSubsystem.
1.3249 +
1.3250 + * win/tclWin32Dll.c: Structured Exception Handling added around
1.3251 + Tcl_Finalize called from DllMain's DLL_PROCESS_DETACH. We can't be
1.3252 + 100% assured that Tcl is being unloaded by the OS in a stable
1.3253 + condition and we need to protect the exit handlers should the stack be
1.3254 + in a hosed state. AT&T style assembly for SEH under MinGW included,
1.3255 + too. [Patch 858493]
1.3256 +
1.3257 + Also added DisableThreadLibraryCalls() for the DLL_PROCESS_ATTACH
1.3258 + case. We're not interested in knowing about DLL_THREAD_ATTACH, so
1.3259 + disable the notices.
1.3260 +
1.3261 + * generic/tclInt.h:
1.3262 + * generic/tclThread.c:
1.3263 + * generic/tclEvent.c:
1.3264 + * unix/tclUnixThrd.c:
1.3265 + * win/tclWinThrd.c: Provisions made so masterLock, initLock,
1.3266 + allocLock and joinLock mutexes can be recovered during Tcl_Finalize.
1.3267 +
1.3268 + * win/tclWinSock.c:
1.3269 + (SocketThreadExitHandler): Don't call TerminateThread when
1.3270 + WaitForSingleObject returns a timeout. Tcl_Finalize called from
1.3271 + DllMain will pause all threads. Trust that the thread will get the
1.3272 + close notice at a later time if it does ever wake up before being
1.3273 + cleaned up by the system anyway.
1.3274 + (SocketEventProc): connect errors should fire both the readable and
1.3275 + writable handlers because this is how it works on UNIX. [Bug 794839]
1.3276 +
1.3277 + * win/coffbase.txt: Added the tls extension to the list of preferred
1.3278 + load addresses.
1.3279 +
1.3280 +2004-05-05 Don Porter <dgp@users.sourceforge.net>
1.3281 +
1.3282 + * tests/unixInit.test (unixInit-2.10): Test correction for Mac OSX.
1.3283 + Be sure to consistently compare normalized path names. Thanks to
1.3284 + Steven Abner (tauvan). [Bug 948177]
1.3285 +
1.3286 +2004-05-05 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.3287 +
1.3288 + * doc/CrtObjCmd.3: Remove reference to Tcl_RenameCommand; there is no
1.3289 + such API. [Bug 848440]
1.3290 +
1.3291 +2004-05-04 Jeff Hobbs <jeffh@ActiveState.com>
1.3292 +
1.3293 + * generic/tclIOUtil.c (Tcl_FSChdir): Work-around crash condition
1.3294 + * tests/winFCmd.test (winFCmd-16.12): triggered when $HOME is
1.3295 + volumerelative (ie 'C:').
1.3296 +
1.3297 + * tests/fileName.test (filename-12.9): use C:/ instead of the first
1.3298 + item in file volumes - that's usually A:/, which for most will have
1.3299 + nothing in it.
1.3300 +
1.3301 +2004-05-04 Don Porter <dgp@users.sourceforge.net>
1.3302 +
1.3303 + * tests/tcltest.test: Test corrections for Mac OSX. Thanks to Steven
1.3304 + Abner (tauvan). [Bug 947440]
1.3305 +
1.3306 +2004-05-03 Andreas Kupries <andreask@activestate.com>
1.3307 +
1.3308 + Applied [SF Tcl Patch 868853], fixing a mem leak in TtySetOptionProc.
1.3309 + Report and Patch provided by Stuart Cassoff <stwo@users.sf.net>.
1.3310 +
1.3311 +2004-05-03 Kevin Kenny <kennykb@acm.org>
1.3312 +
1.3313 + * win/tclWin32Dll.c (TclpCheckStackSpace):
1.3314 + * tests/stack.test (stack-3.1): Fix for undetected stack overflow in
1.3315 + TclReExec on Windows. [Bug 947070]
1.3316 +
1.3317 +2004-05-03 Don Porter <dgp@users.sourceforge.net>
1.3318 +
1.3319 + * library/init.tcl: Corrected unique prefix matching of
1.3320 + interactive command completion in [unknown]. [Bug 946952]
1.3321 +
1.3322 +2004-05-02 Miguel Sofer <msofer@users.sf.net>
1.3323 +
1.3324 + * generic/tclProc.c (TclObjInvokeProc):
1.3325 + * tests/proc.test (proc-3.6): fix for bad quoting of multi-word proc
1.3326 + names in error messages [Bug 942757]
1.3327 +
1.3328 +2004-04-23 Andreas Kupries <andreask@activestate.com>
1.3329 +
1.3330 + * generic/tclIO.c (Tcl_SetChannelOption): Fixed [Bug 930851]. When
1.3331 + changing the eofchar we have to zap the related flags to prevent them
1.3332 + from prematurely aborting the next read.
1.3333 +
1.3334 +2004-04-07 Jeff Hobbs <jeffh@ActiveState.com>
1.3335 +
1.3336 + * win/configure:
1.3337 + * win/configure.in: define TCL_LIB_FLAG, TCL_BUILD_LIB_SPEC,
1.3338 + TCL_LIB_SPEC and TCL_PACKAGE_PATH in tclConfig.sh.
1.3339 +
1.3340 +2004-04-06 Don Porter <dgp@users.sourceforge.net>
1.3341 +
1.3342 + * tests/unixInit.test (unixInit-3.1): Default encoding on Darwin
1.3343 + systems is utf-8. Thanks to Steven Abner (tauvan). [Bug 928808]
1.3344 +
1.3345 +2004-04-06 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.3346 +
1.3347 + * tests/cmdAH.test (cmdAH-18.2): Added constraint because
1.3348 + access(...,X_OK) is defined to be permitted to be meaningless when
1.3349 + running as root, and OSX exhibits this. [Bug 929892]
1.3350 +
1.3351 +2004-04-02 Don Porter <dgp@users.sourceforge.net>
1.3352 +
1.3353 + * tests/tcltest.test: Corrected constraint typos: "nonRoot" ->
1.3354 + "notRoot". Thanks to Steven Abner (tauvan). [Bug 928353]
1.3355 +
1.3356 +2004-03-31 Don Porter <dgp@users.sourceforge.net>
1.3357 +
1.3358 + * doc/msgcat.n: Clarified message catalog file encodings. [Bug 811457]
1.3359 + * library/msgcat/msgcat.tcl ([mcset], [ConvertLocale], [Init]):
1.3360 + Corrected [mcset] to be able to successfully set a translation to
1.3361 + the empty string. [mcset $loc $src {}] was incorrectly set the $loc
1.3362 + translation of $src back to $src. Also changed [ConvertLocale] to
1.3363 + minimally require a non-empty "language" part in the locale value. If
1.3364 + not, an error raised prompts [Init] to keep looking for a valid locale
1.3365 + value, or ultimately fall back on the "C" locale. [Bug 811461]
1.3366 + * library/msgcat/pkgIndex.tcl: Bump to msgcat 1.3.2.
1.3367 +
1.3368 +2004-03-31 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.3369 +
1.3370 + * generic/tclObj.c (HashObjKey): Make sure this hashes the whole
1.3371 + string rep of the object, instead of missing the last character.
1.3372 +
1.3373 +2004-03-29 Jeff Hobbs <jeffh@ActiveState.com>
1.3374 +
1.3375 + * generic/tclInt.h:
1.3376 + * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable):
1.3377 + * mac/tclMacInit.c (TclpInitLibraryPath): Correct handling of UTF
1.3378 + * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually
1.3379 + * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the
1.3380 + * win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from paths
1.3381 + that contain multi-byte chars on Windows [Bug 920667]
1.3382 +
1.3383 +2004-03-28 Miguel Sofer <msofer@users.sf.net>
1.3384 +
1.3385 + * generic/tclCompile.c (TclCompileScript): corrected possible segfault
1.3386 + when a compilation returns TCL_OUTLINE_COMPILE after having grown the
1.3387 + compile environment. [Bug 925121]
1.3388 +
1.3389 +2004-03-21 Jeff Hobbs <jeffh@ActiveState.com>
1.3390 +
1.3391 + * win/tclWinInt.h: define VER_PLATFORM_WIN32_CE if not already set.
1.3392 + * win/tclWinInit.c (TclpSetInitialEncodings): recognize WIN32_CE
1.3393 + as a unicode (WCHAR) platform.
1.3394 +
1.3395 +2004-03-15 Miguel Sofer <msofer@users.sf.net>
1.3396 +
1.3397 + * generic/tclCompile.c (TclCompileScript):
1.3398 + * tests/compile.test (compile-3.5): corrected wrong test and behaviour
1.3399 + in the earlier fix for [Bug 705406]; Don Porter reported this as [Bug
1.3400 + 735055], and provided the solution. Fixed in HEAD on 2003-05-09, but
1.3401 + backport to 8-4-branch was wrongly omitted; re-reported as [Bug
1.3402 + 916795] by Roy Terry, diagnosed by dgp.
1.3403 +
1.3404 +2004-03-08 Vince Darley <vincentdarley@users.sourceforge.net>
1.3405 +
1.3406 + * generic/tclFileName.c: Fix to 'glob -path' near the root
1.3407 + * tests/fileName.test: of the filesystem. [Bug 910525]
1.3408 +
1.3409 +2004-03-01 Don Porter <dgp@users.sourceforge.net>
1.3410 +
1.3411 + *** 8.4.6 TAGGED FOR RELEASE ***
1.3412 +
1.3413 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling on
1.3414 + IRIX64-6.5* systems. [Bug 218561]
1.3415 + * unix/configure: autoconf-2.13
1.3416 +
1.3417 + * generic/tclCmdMZ.c (TclCheckInterpTraces): The TIP 62
1.3418 + * generic/tclTest.c (TestcmdtraceCmd): implementation introduced a
1.3419 + * tests/basic.test (basic-39.10): bug by testing the CallFrame
1.3420 + level instead of the iPtr->numLevels level when deciding what traces
1.3421 + created by Tcl_Create(Obj)Trace to call. Added test to expose the
1.3422 + error, and made fix. [Request 462580]
1.3423 +
1.3424 +2004-02-26 Daniel Steffen <das@users.sourceforge.net>
1.3425 +
1.3426 + * macosx/Makefile: fixed copyright year in Tcl.framework Info.plist
1.3427 +
1.3428 +2004-02-25 Don Porter <dgp@users.sourceforge.net>
1.3429 +
1.3430 + * tests/basic.test: Made several tests more robust to the
1.3431 + * tests/cmdMZ.test: list-quoting of path names that might
1.3432 + * tests/exec.test: contain Tcl-special chars like { or [.
1.3433 + * tests/io.test: Should help us sort out Tcl Bug 554068.
1.3434 + * tests/pid.test:
1.3435 + * tests/socket.test:
1.3436 + * tests/source.test:
1.3437 + * tests/unixInit.test:
1.3438 +
1.3439 +2004-02-25 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.3440 +
1.3441 + * unix/tclUnixChan.c (TcpGetOptionProc): Stop memory leak with very
1.3442 + long hostnames. [Bug 888777]
1.3443 +
1.3444 +2004-02-25 David Gravereaux <davygrvy@pobox.com>
1.3445 +
1.3446 + * tests/winPipe.test:
1.3447 + * win/tclWinPipe.c: backport of BuildCommandLine changes to mirror
1.3448 + msvcrt's parse_cmdline() rules of quoting.
1.3449 +
1.3450 +2004-02-19 Mo DeJong <mdejong@users.sourceforge.net>
1.3451 +
1.3452 + * win/tclWinInit.c (AppendEnvironment): Use the tail component of the
1.3453 + passed in lib path instead of just blindly using lib+4. That worked
1.3454 + when lib was "lib/..." but fails for other values. Thanks go to
1.3455 + Patrick Samson for pointing this out.
1.3456 +
1.3457 +2004-02-17 Don Porter <dgp@users.sourceforge.net>
1.3458 +
1.3459 + * doc/tcltest.n:
1.3460 + * library/tcltest/tcltest.tcl: Changed -verbose default value to
1.3461 + {body error} so that detailed information on unexpected errors in
1.3462 + tests is provided by default, even after the fix for [Bug 725253]
1.3463 +
1.3464 +2004-02-17 Jeff Hobbs <jeffh@ActiveState.com>
1.3465 +
1.3466 + (reverted due to test failures on Solaris, but not Win/Lin :/)
1.3467 + * generic/tclIOUtil.c: backport of rewrite of generic file
1.3468 + normalization code to cope with links followed by '..'. [Bug 849514],
1.3469 + and parts of [859251]
1.3470 +
1.3471 + * tests/unixInit.test: unixInit-7.1
1.3472 + * unix/tclUnixInit.c (TclpInitPlatform): ensure the std fds exist to
1.3473 + prevent crash condition [Bug 772288]
1.3474 +
1.3475 +2004-02-16 Jeff Hobbs <jeffh@ActiveState.com>
1.3476 +
1.3477 + * generic/tclCmdMZ.c (TclTraceExecutionObjCmd)
1.3478 + (TclTraceCommandObjCmd): fix possible mem leak in trace info.
1.3479 +
1.3480 +2004-02-12 Jeff Hobbs <jeffh@ActiveState.com>
1.3481 +
1.3482 + * README: update patchlevel to 8.4.6
1.3483 + * generic/tcl.h:
1.3484 + * tools/tcl.wse.in:
1.3485 + * unix/configure, unix/configure.in, unix/tcl.spec:
1.3486 + * win/README.binary, win/configure, win/configure.in:
1.3487 +
1.3488 + * unix/tcl.m4: update HP-11 build libs setup
1.3489 +
1.3490 +2004-02-06 Don Porter <dgp@users.sourceforge.net>
1.3491 +
1.3492 + * doc/clock.n: Removed reference to non-existent [file ctime].
1.3493 +
1.3494 +2004-02-04 Don Porter <dgp@users.sourceforge.net>
1.3495 +
1.3496 + * library/tcltest/tcltest.tcl: Corrected references to
1.3497 + non-existent $name variable in [cleanupTests]. [Bug 833637]
1.3498 +
1.3499 +2004-02-03 Don Porter <dgp@users.sourceforge.net>
1.3500 +
1.3501 + * library/tcltest/tcltest.tcl: Corrected parsing of single
1.3502 + command line argument (option with missing value) [Bug 833910]
1.3503 + * library/tcltest/pkgIndex.tcl: Bump to version 2.2.5.
1.3504 +
1.3505 +2004-02-02 David Gravereaux <davygrvy@pobox.com>
1.3506 +
1.3507 + * generic/tclIO.c (Tcl_Ungets): fixes improper filling of the channel
1.3508 + buffer. [Bug 405995]
1.3509 +
1.3510 +2004-01-13 Don Porter <dgp@users.sourceforge.net>
1.3511 +
1.3512 + * generic/tclFileName.c (Tcl_GlobObjCmd): Latest changes to
1.3513 + management of the interp result by Tcl_GetIndexFromObj() exposed
1.3514 + improper interp result management in the [glob] command procedure.
1.3515 + Corrected by adopting the Tcl_SetObjResult(Tcl_NewStringObj) pattern.
1.3516 + This stopped a segfault in test filename-11.36.
1.3517 +
1.3518 +2004-01-13 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.3519 +
1.3520 + * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct, Tcl_WrongNumArgs):
1.3521 + Create fresh objects instead of using the one currently in the
1.3522 + interpreter, which isn't guaranteed to be fresh and unshared. The
1.3523 + cost for the core will be minimal because of the object cache, and
1.3524 + this fixes. [Bug 875395]
1.3525 +
1.3526 +2004-01-09 Vince Darley <vincentdarley@users.sourceforge.net>
1.3527 +
1.3528 + * generic/tclIOUtil.c: fix to infinite loop in TclFinalizeFilesystem.
1.3529 + [Bug 873311]
1.3530 +
1.3531 +2003-12-17 Daniel Steffen <das@users.sourceforge.net>
1.3532 +
1.3533 + * generic/tclBinary.c (DeleteScanNumberCache): fixed crashing bug when
1.3534 + numeric scan-value cache contains NULL value.
1.3535 +
1.3536 +2003-12-17 Zoran Vasiljevic <zv@archiware.com>
1.3537 +
1.3538 + * generic/tclIOUtil.c: fixed 2 memory (object) leaks. This fixes [Bug
1.3539 + 839519]
1.3540 +
1.3541 +2003-12-12 Vince Darley <vincentdarley@users.sourceforge.net>
1.3542 +
1.3543 + * generic/tclCmdAH.c: fix to normalization of non-existent user name
1.3544 + ('file normalize ~nobody') [Bug 858937]
1.3545 +
1.3546 +2003-12-09 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.3547 +
1.3548 + * unix/tclUnixPort.h: #ifdef'd out declarations of errno which
1.3549 + * tools/man2tcl.c: are known to cause problems with recent
1.3550 + glibc. [Bug 852369]
1.3551 +
1.3552 +2003-12-03 Don Porter <dgp@users.sourceforge.net>
1.3553 +
1.3554 + * generic/tcl.h: Bumped patch level to 8.4.5.1 to distinguish
1.3555 + * unix/configure.in: CVS snapshots from 8.4.5 release.
1.3556 + * unix/tcl.spec:
1.3557 + * win/configure.in:
1.3558 +
1.3559 + * unix/configure: autoconf (2.13)
1.3560 + * win/configure:
1.3561 +
1.3562 +2003-12-02 Donal K. Fellows <donal.k.fellows@man.ac.uk>
1.3563 +
1.3564 + * generic/tclBinary.c (DeleteScanNumberCache, ScanNumber): Made
1.3565 + the numeric scan-value cache have proper references to the objects
1.3566 + within it so strange patterns of writes won't cause references to
1.3567 + freed objects. Thanks to Paul Obermeier for the report. [Bug 851747]
1.3568 +
1.3569 +2003-12-01 Miguel Sofer <msofer@users.sf.net>
1.3570 +
1.3571 + * doc/lset.n: fix typo [Bug 852224]
1.3572 +
1.3573 +2003-11-21 Don Porter <dgp@users.sourceforge.net>
1.3574 +
1.3575 + *** 8.4.5 TAGGED FOR RELEASE ***
1.3576 +
1.3577 + * tests/windFCmd.test (winFCmd-16.10): Corrected failure to
1.3578 + initialize variable $dd that caused test suite failure.
1.3579 +
1.3580 +2003-11-20 Miguel Sofer <msofer@users.sf.net>
1.3581 +
1.3582 + * generic/tclVar.c: fix flag bit collision between LOOKUP_FOR_UPVAR
1.3583 + and TCL_PARSE_PART1 (deprecated) [Bug 835020]
1.3584 +
1.3585 +2003-11-20 Vince Darley <vincentdarley@users.sourceforge.net>
1.3586 +
1.3587 + * generic/tclIOUtil.c:
1.3588 + * tests/winFCmd.test: fix to [Bug 845778] - Infinite recursion on [cd]
1.3589 + (Windows only bug).
1.3590 +
1.3591 +2003-11-18 Jeff Hobbs <jeffh@ActiveState.com>
1.3592 +
1.3593 + * changes: updated for 8.4.5 release
1.3594 +
1.3595 +2003-11-17 Don Porter <dgp@users.sourceforge.net>
1.3596 +
1.3597 + * generic/regcomp.c: Backported regexp bug fixes and tests. Thanks
1.3598 + * generic/tclTest.c: to Pavel Goran and Vince Darley.
1.3599 + * tests/reg.test: [Bugs 230589, 504785, 505048, 703709, 840258]
1.3600 +
1.3601 +2003-11-12 Jeff Hobbs <jeffh@ActiveState.com>
1.3602 +
1.3603 + * tests/cmdMZ.test (cmdMZ-1.4): change to nonPortable as more
1.3604 + systems are using permissions caching, and this isn't really a Tcl
1.3605 + controlled issue.
1.3606 +
1.3607 +2003-11-11 Jeff Hobbs <jeffh@ActiveState.com>
1.3608 +
1.3609 + * unix/configure:
1.3610 + * unix/tcl.m4: improve AIX --enable-64bit handling
1.3611 +
1.3612 +2003-11-10 Don Porter <dgp@users.sourceforge.net>
1.3613 +
1.3614 + * tests/unixInit.test (unixInit-2.10): re-enabled.
1.3615 + * unix/tclUnixInit.c (TclpInitLibraryPath): Alternative fix
1.3616 + * win/tclWinInit.c (TclpInitLibraryPath): for [Bug 832657]
1.3617 + that should not run afoul of startup constraints.
1.3618 +
1.3619 + * library/dde/pkgIndex.tcl: Added safeguards so that registry
1.3620 + * library/reg/pkgIndex.tcl: and dde packages are not offered
1.3621 + * win/tclWinDde.c: on non-Windows platforms. Bumped to
1.3622 + * win/tclWinReg.c: registry 1.1.3 and dde 1.2.2.
1.3623 +
1.3624 +2003-11-06 Jeff Hobbs <jeffh@ActiveState.com>
1.3625 +
1.3626 + * tests/unixInit.test (unixInit-2.10): mark as knownBug
1.3627 + * generic/tclEncoding.c (TclFindEncodings): revert patch from
1.3628 + 2003-11-05. It wasn't valid in the sensitive startup init phase
1.3629 + and broke Windows from working at all.
1.3630 +
1.3631 +2003-11-07 Daniel Steffen <das@users.sourceforge.net>
1.3632 +
1.3633 + * macosx/Makefile: optimized builds define NDEBUG to turn off
1.3634 + ThreadAlloc range checking.
1.3635 +
1.3636 +2003-11-05 Don Porter <dgp@users.sourceforge.net>
1.3637 +
1.3638 + * generic/tclEncoding.c (TclFindEncodings): Normalize the path
1.3639 + of the executable before passing to TclpInitLibraryPath() to avoid
1.3640 + buggy handling of paths containing "..". [Bug 832657]
1.3641 + * tests/unixInit.test (unixInit-2.10): New test for fixed bug.
1.3642 +
1.3643 +2003-11-04 Daniel Steffen <das@users.sourceforge.net>
1.3644 +
1.3645 + * macosx/Makefile: added 'test' target.
1.3646 +
1.3647 +2003-10-31 Vince Darley <vincentdarley@users.sourceforge.net>
1.3648 +
1.3649 + * generic/tclTest.c: fix test suite memory leak (backport error)
1.3650 + * unix/tclUnixFile.c: ensure translated path (required for correct
1.3651 + error messages) is freed in both code paths.
1.3652 +
1.3653 +2003-10-23 Andreas Kupries <andreask@activestate.com>
1.3654 +
1.3655 + * unix/tclUnixChan.c (Tcl_MakeFileChannel): Applied [Patch 813606]
1.3656 + fixing [Bug 813087]. Detection of sockets was off for Mac OS X which
1.3657 + implements pipes as local sockets. The new code ensures that only IP
1.3658 + sockets are detected as such.
1.3659 +
1.3660 +2003-10-22 Andreas Kupries <andreask@activestate.com>
1.3661 +
1.3662 + * win/tclWinSock.c (TcpWatchProc): Watch for FD_CLOSE too when asked
1.3663 + for writable events by the generic layer.
1.3664 + (SocketEventProc): Generate a writable event too when a close is
1.3665 + detected.
1.3666 +
1.3667 + Together the changes fix [Bug 599468].
1.3668 +
1.3669 +2003-10-22 Andreas Kupries <andreask@activestate.com>
1.3670 +
1.3671 + * generic/tclIOUtil.c (FsListMounts, FsAddMountsToGlobResult): New
1.3672 + functions. See below for context.
1.3673 + (Tcl_FSMatchInDirectory): Modified to call on the new functions
1.3674 + (above) to handle the mountpoints in the glob'bed directory correctly.
1.3675 + Part of the patch by Vincent Darley to solve the [Bug 800106] for the
1.3676 + 8.4.x series.
1.3677 +
1.3678 + * generic/tcl.h (TCL_GLOB_TYPE_MOUNT): New definition. Part of the
1.3679 + patch by Vincent Darley to solve [Bug 800106] for the 8.4.x series.
1.3680 +
1.3681 +2003-10-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3682 +
1.3683 + * generic/tclCmdAH.c (Tcl_FileObjCmd): Changed FILE_ prefix for option
1.3684 + enumeration to FCMD_ to prevent collision with symbols defined by
1.3685 + Cygwin/Mingw32 on NT. [Bug 822528]
1.3686 +
1.3687 +2003-10-21 Daniel Steffen <das@users.sourceforge.net>
1.3688 +
1.3689 + * tools/tcltk-man2html.tcl: fixed incorrect html generated for .IP/.TP
1.3690 + lists, now use <DL><DT>...<DD>...<P><DT>...<DD>...</DL> instead of
1.3691 + illegal <DL><P><DT>...<DD>...<P><DT>...<DD>...</DL>. Added skipping of
1.3692 + directives directly after .TP to avoid them being used as item
1.3693 + descriptions, e.g. .TP\n.VS in clock.n.
1.3694 +
1.3695 +2003-10-21 Andreas Kupries <andreask@activestate.com>
1.3696 +
1.3697 + * win/tclWinPipe.c (BuildCommandLine): Applied the patch coming with
1.3698 + [Bug 805605] to the code, fixing the incorrect use of ispace noted by
1.3699 + Ronald Dauster <ronaldd@users.sourceforge.net>.
1.3700 +
1.3701 +2003-10-14 David Gravereaux <davygrvy@pobox.com>
1.3702 +
1.3703 + * win/tclAppInit.c (sigHandler): Punt gracefully if exitToken has
1.3704 + already been destroyed.
1.3705 +
1.3706 +2003-10-13 Vince Darley <vincentdarley@users.sourceforge.net>
1.3707 +
1.3708 + * generic/tclCmdMZ.c:
1.3709 + * tests/regexp.test: fix to [Bug 823524] in regsub; added three new
1.3710 + tests.
1.3711 +
1.3712 +2003-10-12 Jeff Hobbs <jeffh@ActiveState.com>
1.3713 +
1.3714 + * unix/tclUnixTest.c (TestalarmCmd): don't bother checking return
1.3715 + value of alarm. [Bug 664755] (english)
1.3716 +
1.3717 +2003-10-08 Don Porter <dgp@users.sourceforge.net>
1.3718 +
1.3719 + * generic/tclBasic.c: Save and restore the iPtr->flag bits that
1.3720 + control the state of errorCode and errorInfo management when calling
1.3721 + "leave" execution traces, so that all error information of the traced
1.3722 + command is still available whether traced or not. Thanks to Yahalom
1.3723 + Emet. [Bug 760947]
1.3724 +
1.3725 +2003-10-08 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3726 +
1.3727 + * generic/tclTest.c (TestNumUtfCharsCmd): Command to allow finer
1.3728 + access to Tcl_NumUtfChars for testing.
1.3729 + * generic/tclUtf.c (Tcl_NumUtfChars): Corrected string length
1.3730 + determining when the length parameter is negative; the terminator is a
1.3731 + zero byte, not (necessarily) a \u0000 character. [Bug 769812]
1.3732 +
1.3733 +2003-10-07 Don Porter <dgp@users.sourceforge.net>
1.3734 +
1.3735 + * tests/exec.test: Corrected temporary file management
1.3736 + * tests/fileSystem.test: issues uncovered by -debug 1 test
1.3737 + * tests/io.test: operations. Also backported some
1.3738 + * tests/ioCmd.test: other fixes from the HEAD.
1.3739 + * tests/pid.test: [Bugs 675605, 675655, 675659]
1.3740 + * tests/socket.test:
1.3741 + * tests/source.test:
1.3742 +
1.3743 + * tests/fCmd.test: Run tests with the [temporaryDirectory] as
1.3744 + the current directory, so that tests can depend on ability to write
1.3745 + files. [Bug 575837]
1.3746 +
1.3747 + * doc/OpenFileChnl.3: Updated Tcl_Tell and Tcl_Seek documentation
1.3748 + to reflect that they now return Tcl_WideInt (TIP 72) [Bug 787537]
1.3749 +
1.3750 + * tests/io.test: Corrected several tests that failed when paths
1.3751 + * tests/ioCmd.test: included regexp-special chars. [Bug 775394]
1.3752 +
1.3753 +2003-10-06 Don Porter <dgp@users.sourceforge.net>
1.3754 +
1.3755 + * tests/regexp.test: Matched [makeFile] with [removeFile].
1.3756 + * tests/regexpComp.test: [Bug 675652]
1.3757 +
1.3758 + * tests/fCmd.test (fCmd-8.2): Test only that tilde-substitution
1.3759 + happens, not for any particular result. [Bug 685991]
1.3760 +
1.3761 + * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path so
1.3762 + that alpha and beta releases of Tcl are not favored. [Bug 608698]
1.3763 +
1.3764 + * tests/reg.test: Corrected duplicate test names.
1.3765 + * tests/resource.test: [Bugs 710370, 710358]
1.3766 +
1.3767 + * tests/cmdMZ.test: Updated [package require tcltest] lines to
1.3768 + * tests/fileSystem.test: indiciate that these test files
1.3769 + * tests/notify.test: use features of tcltest 2. [Bug 706114]
1.3770 + * tests/parseExpr.test:
1.3771 + * tests/unixNotfy.test:
1.3772 +
1.3773 +2003-10-06 Vince Darley <vincentdarley@users.sourceforge.net>
1.3774 +
1.3775 + * generic/tclFileName.c:
1.3776 + * generic/tclIOUtil.c: backport of volumerelative file normalization
1.3777 + and 'file join' inconsistency fixes [Bug 767834, 813273].
1.3778 +
1.3779 +2003-10-04 Chengye Mao <chengye.geo@yahoo.com>
1.3780 +
1.3781 + * win/tclWinPipe.c: fixed a bug in BuildCommandLine.
1.3782 + This bug built a command line with a missing space between
1.3783 + tclpipe.dll and the following arguments. It caused error
1.3784 + in Windows 98 when exec command.com (e.g. dir) [Bug 789040]
1.3785 +
1.3786 +2003-10-03 Don Porter <dgp@users.sourceforge.net>
1.3787 +
1.3788 + * generic/tclBasic.c: Fixed error in ref count management of command
1.3789 + * generic/tclCmdMZ.c: and execution traces that caused access to
1.3790 + freed memory in trace-32.1. [Bug 811483]
1.3791 +
1.3792 +2003-10-03 Vince Darley <vincentdarley@users.sourceforge.net>
1.3793 +
1.3794 + * tests/fileName.test:
1.3795 + * tests/winFCmd.test:
1.3796 + * doc/FileSystem.3: backported various test and documentation changes
1.3797 + from HEAD. Backport of actual code fixes to follow.
1.3798 +
1.3799 +2003-10-02 Don Porter <dgp@users.sourceforge.net>
1.3800 +
1.3801 + * README: Bumped patch level to 8.4.5 to prepare
1.3802 + * generic/tcl.h: for next patch release.
1.3803 + * tools/tcl.wse.in:
1.3804 + * unix/configure.in:
1.3805 + * unix/tcl.spec:
1.3806 + * win/README.binary:
1.3807 + * win/configure.in:
1.3808 +
1.3809 + * unix/configure: autoconf (2.13)
1.3810 + * win/configure:
1.3811 +
1.3812 + * library/http/http.tcl: Bumped to http 2.4.5
1.3813 + * library/http/pkgIndex.tcl:
1.3814 +
1.3815 +2003-10-01 Daniel Steffen <das@users.sourceforge.net>
1.3816 +
1.3817 + * macosx/Makefile: fixed redo prebinding bug when DESTDIR="".
1.3818 + * mac/tclMacResource.c: fixed possible NULL dereference (bdesgraupes).
1.3819 +
1.3820 +2003-09-29 Don Porter <dgp@users.sourceforge.net>
1.3821 +
1.3822 + * generic/tclBasic.c (CallCommandTraces): Added safety bit
1.3823 + * tests/trace.test: masking to prevent any of the bit values
1.3824 + TCL_TRACE_*_EXEC from leaking into the flags field of any Command
1.3825 + struct. This does not fix [Bug 811483] but helps to contain some of
1.3826 + its worst symptoms. Also backported the corrections to test trace-28.4
1.3827 + from Vince Darley.
1.3828 +
1.3829 +2003-09-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3830 +
1.3831 + * library/http/http.tcl (geturl): Correctly check the type of
1.3832 + boolean-valued options. [Bug 811170]
1.3833 +
1.3834 + * unix/tcl.m4 (SC_ENABLE_FRAMEWORK): Added note to make it clearer
1.3835 + that this is an OSX feature, not a general Unix feature. [Bug 619440]
1.3836 +
1.3837 +2003-09-28 David Gravereaux <davygrvy@pobox.com>
1.3838 +
1.3839 + * win/tclWinPipe.c: The windows port of expect can call
1.3840 + TclWinAddProcess before any of the other pipe functions. Added a
1.3841 + missing PipeInit() call to make sure the initialization happens.
1.3842 +
1.3843 +2003-09-25 Daniel Steffen <das@users.sourceforge.net>
1.3844 +
1.3845 + * macosx/Makefile: ensure SYMROOT exists if OBJROOT is overridden on
1.3846 + command line. Replaced explict use of /usr/bin by ${BINDIR}.
1.3847 +
1.3848 +2003-09-23 Don Porter <dgp@users.sourceforge.net>
1.3849 +
1.3850 + * generic/tclCmdMZ.c: Fixed [Bug 807243] where
1.3851 + * tests/trace.test (trace-31,32.*): the introspection results
1.3852 + of both [trace info command] and [trace info execution] were getting
1.3853 + co-mingled. Thanks to Mark Saye for the report.
1.3854 +
1.3855 + * library/init.tcl (auto_load, auto_import): Expanded Eric Melski's
1.3856 + 2000-01-28 fix for [Bug 218871] to all potentially troubled uses of
1.3857 + [info commands] on input data, where glob-special characters could
1.3858 + cause problems.
1.3859 +
1.3860 +2003-09-19 Miguel Sofer <msofer@users.sf.net>
1.3861 +
1.3862 + * generic/tclExecute.c: adding (DE)CACHE_STACK_INFO() pairs to protect
1.3863 + all calls that may cause traces on ::errorInfo or ::errorCode to
1.3864 + corrupt the stack [Bug 804681]
1.3865 +
1.3866 +2003-09-10 Don Porter <dgp@users.sourceforge.net>
1.3867 +
1.3868 + * library/opt/optparse.tcl: Overlooked dependence of opt 0.4.4
1.3869 + * library/opt/pkgIndex.tcl: on Tcl 8.2. Bumped to opt 0.4.4.1.
1.3870 +
1.3871 +2003-09-01 Zoran Vasiljevic <zoran@archiware.com>
1.3872 +
1.3873 + * generic/tclIOUtil.c: backported fix from HEAD [Bug 788780]
1.3874 +
1.3875 +2003-08-27 Don Porter <dgp@users.sourceforge.net>
1.3876 +
1.3877 + * generic/tclUtil.c: Corrected [Bug 411825] and other bugs in
1.3878 + TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped
1.3879 + spaces were handled incorrectly.
1.3880 + * tests/util.test: Added new tests util-8.[2-6].
1.3881 +
1.3882 +2003-08-06 Jeff Hobbs <jeffh@ActiveState.com>
1.3883 +
1.3884 + * win/tclWinInit.c: recognize amd64 and ia32_on_win64 cpus and
1.3885 + Windows CE platform.
1.3886 +
1.3887 +2003-08-06 Don Porter <dgp@users.sourceforge.net>
1.3888 +
1.3889 + * library/msgcat/msgcat.tcl: Added escape so that non-Windows
1.3890 + * library/msgcat/pkgIndex.tcl: platforms do not try to use the
1.3891 + registry package. This can save a costly and pointless package
1.3892 + search. Bumped to 1.3.1. Thanks to Dave Bodenstab. [Bug 781609]
1.3893 +
1.3894 +2003-08-05 Miguel Sofer <msofer@users.sf.net>
1.3895 +
1.3896 + * generic/tclExecute.c (INST_INVOKE, INST_EVAL, INST_PUSH_RESULT):
1.3897 + added a Tcl_ResetResult(interp) at each point where the interp's
1.3898 + result is pushed onto the stack, to avoid keeping an extra reference
1.3899 + that may cause costly Tcl_Obj duplication. Detected by Franco Violi,
1.3900 + analyzed by Peter Spjuth and Donal Fellows. [Bug 781585]
1.3901 +
1.3902 +2003-07-24 Reinhard Max <max@suse.de>
1.3903 +
1.3904 + * library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose.
1.3905 +
1.3906 + * tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
1.3907 +
1.3908 +2003-07-23 Daniel Steffen <das@users.sourceforge.net>
1.3909 +
1.3910 + * unix/Makefile.in: changes to html-tcl & html-tk targets for
1.3911 + compatibility with non-gnu makes.
1.3912 +
1.3913 + * unix/Makefile.in: added macosx/README to dist target.
1.3914 +
1.3915 +2003-07-23 Pat Thoyts <patthoyts@users.sourceforge.net>
1.3916 +
1.3917 + * win/tclWinReg.c (OpenSubKey): Backported fix for [Bug 775976] which
1.3918 + causes the registry set command to fail when built with VC7.
1.3919 + * library/reg/pkgIndex.tcl: Incremented the version to 1.1.2.
1.3920 +
1.3921 +2003-07-21 Jeff Hobbs <jeffh@ActiveState.com>
1.3922 +
1.3923 + *** 8.4.4 TAGGED FOR RELEASE ***
1.3924 +
1.3925 + * changes: updated for 8.4.4 release
1.3926 +
1.3927 +2003-07-18 Daniel Steffen <das@users.sourceforge.net>
1.3928 +
1.3929 + * macosx/Makefile: added option to allow installing manpages in
1.3930 + addition to default html help.
1.3931 +
1.3932 +2003-07-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3933 +
1.3934 + * doc/Utf.3: Tightened up documentation of Tcl_UtfNext and Tcl_UtfPrev
1.3935 + to better match the behaviour. [Bug 769895]
1.3936 +
1.3937 +2003-07-18 Jeff Hobbs <jeffh@ActiveState.com>
1.3938 +
1.3939 + * generic/tclIOUtil.c: correct MT-safety issues with filesystem
1.3940 + records. [Bug 753315] (vasiljevic)
1.3941 +
1.3942 + * library/http/pkgIndex.tcl: merged to v2.4.4 from head
1.3943 + * library/http/http.tcl: add support for user:pass info in URL.
1.3944 + * tests/http.test: [Bug 759888] (shiobara)
1.3945 +
1.3946 +2003-07-18 Don Porter <dgp@users.sourceforge.net>
1.3947 +
1.3948 + * generic/tclBasic.c: Corrected several instances of unsafe
1.3949 + * generic/tclCompile.c: truncation of UTF-8 strings that might break
1.3950 + * generic/tclProc.c: apart a multi-byte character. [Bug 760872]
1.3951 + * library/init.tcl:
1.3952 + * tests/init.test:
1.3953 +
1.3954 + * doc/tcltest.n: Restored the [Eval] proc to replace
1.3955 + * library/tcltest/tcltest.tcl: the [::puts] command when either the
1.3956 + -output or -error option for [test] is in use, in order to capture
1.3957 + data written to the output or error channels for comparison against
1.3958 + what is expected. This is easier to document and agrees better with
1.3959 + most user expectations than the previous attempt to replace [puts]
1.3960 + only in the caller's namespace. Documentation made more precise on the
1.3961 + subject. [Bug 706359]
1.3962 +
1.3963 + * doc/AddErrInfo.3: Improved consistency of documentation by using
1.3964 + * doc/CrtTrace.3: "null" everywhere to refer to the character
1.3965 + * doc/Encoding.3: '\0', and using "NULL" everywhere to refer to
1.3966 + * doc/Eval.3: the value of a pointer that points to nowhere.
1.3967 + * doc/GetIndex.3: Also dropped references to ASCII that are no
1.3968 + * doc/Hash.3: longer true, and standardized on the
1.3969 + * doc/LinkVar.3: hyphenated spelling of "null-terminated".
1.3970 + * doc/Macintosh.3:
1.3971 + * doc/OpenFileChnl.3:
1.3972 + * doc/SetVar.3:
1.3973 + * doc/StringObj.3:
1.3974 + * doc/Utf.3:
1.3975 +
1.3976 + * doc/CrtSlave.3 (Tcl_MakeSafe): Removed warning about possible
1.3977 + deprecation (no TIP on that).
1.3978 +
1.3979 +2003-07-17 Daniel Steffen <das@users.sourceforge.net>
1.3980 +
1.3981 + * macosx/Makefile: added var to allow overriding of tclsh used during
1.3982 + html help building (Landon Fuller).
1.3983 +
1.3984 +2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>
1.3985 +
1.3986 + * generic/tclIOUtil.c (SetFsPathFromAny): Add Cygwin specific code to
1.3987 + convert POSIX filename to native format.
1.3988 + * generic/tclFileName.c (Tcl_TranslateFileName): And remove from here.
1.3989 + (TclDoGlob): Adjust for cygwin and append / for dirs instead of \
1.3990 + * win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin. [Patch 679315]
1.3991 +
1.3992 +2003-07-16 Jeff Hobbs <jeffh@ActiveState.com>
1.3993 +
1.3994 + * library/safe.tcl (FileInAccessPath): normalize paths before
1.3995 + comparison. [Bug 759607] (myers)
1.3996 +
1.3997 + * unix/tclUnixNotfy.c (NotifierThreadProc): correct size of found and
1.3998 + word vars from int to long. [Bug 767578] (hgo)
1.3999 +
1.4000 +2003-07-16 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4001 +
1.4002 + * doc/CrtSlave.3 (Tcl_MakeSafe): Updated documentation to strongly
1.4003 + discourage use. IMHO code outside the core that uses this function is
1.4004 + a bug... [Bug 655300]
1.4005 +
1.4006 +2003-07-16 Jeff Hobbs <jeffh@ActiveState.com>
1.4007 +
1.4008 + * generic/tcl.h: Add recognition of -DTCL_UTF_MAX=6 on the
1.4009 + * generic/regcustom.h: make line to support UCS-4 mode. No config arg
1.4010 + at this time, as it is not the recommended build mode.
1.4011 +
1.4012 + * generic/tclPreserve.c: In Result and Preserve'd routines, do not
1.4013 + * generic/tclUtil.c: assume that ckfree == free, as that is not
1.4014 + * generic/tclResult.c: always true. [Bug 756791] (fuller)
1.4015 +
1.4016 +2003-07-16 Mo DeJong <mdejong@users.sourceforge.net>
1.4017 +
1.4018 + * win/Makefile.in: Don't define TCL_DBGX symbol for every compile.
1.4019 + Instead, define TCL_PIPE_DLL only when compiling tclWinPipe.c. This
1.4020 + will break other build systems, so they will need to remove the
1.4021 + TCL_DBGX define and replace it with a define for TCL_PIPE_DLL.
1.4022 + * win/makefile.vc: Ditto.
1.4023 + * win/tclWinPipe.c (TclpCreateProcess): Remove PREFIX_IDENT and
1.4024 + DEBUG_IDENT from top of file. Use TCL_PIPE_DLL passed in from build
1.4025 + env instead of trying to construct the dll name from already defined
1.4026 + symbols. This approach is more flexible and better in the long run.
1.4027 +
1.4028 +2003-07-16 Don Porter <dgp@users.sourceforge.net>
1.4029 +
1.4030 + * generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]
1.4031 + * generic/tclIOUtil.c (Tcl_FSConvertToPathType):[Bug 771947]
1.4032 + * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949]
1.4033 + Silence compiler warnings about unreached lines.
1.4034 +
1.4035 + * library/tcltest/tcltest.tcl (ProcessFlags): Corrected broken call
1.4036 + * library/tcltest/pkgIndex.tcl: to [lrange]. Bumped to
1.4037 + version 2.2.4. [Bug 772333]
1.4038 +
1.4039 +2003-07-15 Mo DeJong <mdejong@users.sourceforge.net>
1.4040 +
1.4041 + * unix/dltest/pkga.c (Pkga_EqObjCmd): Fix typo that was causing a
1.4042 + crash in load.test.
1.4043 +
1.4044 +2003-07-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4045 +
1.4046 + * doc/array.n: Added some examples from David Welton [Patch 763312]
1.4047 +
1.4048 +2003-07-15 Don Porter <dgp@users.sourceforge.net>
1.4049 +
1.4050 + * doc/http.n: Updated SYNOPSIS to match actual syntax of commands.
1.4051 + [Bug 756112]
1.4052 +
1.4053 + * unix/dltest/pkga.c: Updated to not use Tcl_UtfNcmp and counted
1.4054 + strings instead of strcmp (not defined in any #include'd header) and
1.4055 + presumed NULL-terminated strings.
1.4056 +
1.4057 + * README: Bumped patch level to 8.4.4 in anticipation
1.4058 + * generic/tcl.h: of another patch release.
1.4059 + * tools/tcl.wse.in:
1.4060 + * unix/configure.in:
1.4061 + * unix/tcl.spec:
1.4062 + * win/README.binary:
1.4063 + * win/configure.in:
1.4064 +
1.4065 + * unix/configure: autoconf (2.13)
1.4066 + * win/configure:
1.4067 +
1.4068 + * generic/tclCompCmds.c (TclCompileIfCmd): Prior fix of Bug 711371
1.4069 + on 2003-04-07 introduced a buffer overflow. Corrected. [Bug 771613]
1.4070 +
1.4071 +2003-07-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4072 +
1.4073 + * generic/tclCmdIL.c (SortCompare): Cleared up confusing error
1.4074 + message. [Bug 771539]
1.4075 +
1.4076 +2003-07-15 Daniel Steffen <das@users.sourceforge.net>
1.4077 +
1.4078 + * macosx/Makefile: Rewrote buildsystem for Mac OS X framework build to
1.4079 + be purely make driven; in order to become independent of Apple's
1.4080 + closed-source IDE and build tool. The changes are intended to be
1.4081 + transparent to the Makefile user, all existing make targets and cmd
1.4082 + line variable overrides should continue to work. Changed build to only
1.4083 + include tcl specific html help in Tcl.framework, the tk specific html
1.4084 + help is now included in Tk.framework.
1.4085 +
1.4086 + * macosx/Tcl.pbproj/project.pbxproj:
1.4087 + * macosx/Tcl.pbproj/jingham.pbxuser: Changed to purely call through to
1.4088 + the make driven buildsystem; Tcl.framework is no longer assembled by
1.4089 + ProjectBuilder. Set default SYMROOT in target options to simplify
1.4090 + setting up PB (manually setting common build folder for tcl & tk no
1.4091 + longer needed).
1.4092 +
1.4093 + * tools/tcltk-man2html.tcl: Added options to allow building only the
1.4094 + tcl or tk html help files; the default behaviour with none of the new
1.4095 + options is to build both, as before.
1.4096 +
1.4097 + * unix/Makefile.in: Added targets for building only the tcl or tk help.
1.4098 +
1.4099 + * macosx/README (new): Tcl specific excerpts of tk/macosx/README.
1.4100 +
1.4101 + * generic/tcl.h: Updated reminder comment about editing
1.4102 + macosx/Tcl.pbproj/project.pbxproj when version number changes.
1.4103 +
1.4104 +2003-07-11 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4105 +
1.4106 + * tests/binary.test (binary-46.*): Tests to help enforce the current
1.4107 + behaviour.
1.4108 + * doc/binary.n: Documented that [binary format a] and [binary scan a]
1.4109 + do encoding conversion by dropping high bytes, unlike the rest of
1.4110 + the core. [Bug 735364]
1.4111 +
1.4112 +2003-07-11 Don Porter <dgp@users.sourceforge.net>
1.4113 +
1.4114 + * library/package.tcl: Corrected [pkg_mkIndex] bug reported on
1.4115 + comp.lang.tcl. The indexer was searching for newly indexed packages
1.4116 + instead of newly provided packages.
1.4117 +
1.4118 +2003-07-04 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4119 +
1.4120 + * doc/expr.n: Tighten up the wording of some operations. [Bug 758488]
1.4121 +
1.4122 + * tests/cmdAH.test: Made tests of [file mtime] work better on FAT
1.4123 + filesystems. [Patch 760768] Also a little general cleanup.
1.4124 +
1.4125 +2003-06-25 Mo DeJong <mdejong@users.sourceforge.net>
1.4126 +
1.4127 + * unix/configure: Regen.
1.4128 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add -ieee when compiling with cc and
1.4129 + add -mieee when compiling with gcc under OSF1-V5 "Tru64" systems. [Bug
1.4130 + 748957]
1.4131 +
1.4132 +2003-06-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4133 +
1.4134 + * doc/encoding.n: Corrected the docs to say that [source] uses the
1.4135 + system encoding, which it always did anyway (since 8.1) [Bug 742100]
1.4136 +
1.4137 +2003-06-23 Vince Darley <vincentdarley@users.sourceforge.net>
1.4138 +
1.4139 + * generic/tclFCmd.c: fix to bad error message when trying to do 'file
1.4140 + copy foo ""'. [Bug 756951]
1.4141 + * tests/fCmd.test: added two new tests for the bug.
1.4142 +
1.4143 + * doc/FileSystem.3: documentation fix [Bug 720634]
1.4144 +
1.4145 +2003-06-18 Miguel Sofer <msofer@users.sf.net>
1.4146 +
1.4147 + * generic/tclNamesp.c (Tcl_Export): removed erroneous comments [Bug
1.4148 + 756744]
1.4149 +
1.4150 +2003-06-17 Vince Darley <vincentdarley@users.sourceforge.net>
1.4151 +
1.4152 + * generic/tclCmdMZ.c:
1.4153 + * tests/regexp.test: fixing of bugs related to regexp and regsub
1.4154 + matching of empty strings. Addition of a number of new tests.
1.4155 +
1.4156 +2003-06-10 Miguel Sofer <msofer@users.sf.net>
1.4157 +
1.4158 + * generic/tclBasic.c:
1.4159 + * generic/tclExecute.c: let TclEvalObjvInternal call TclInterpReady
1.4160 + instead of relying on its callers to do so; fix for the part of [Bug
1.4161 + 495830] that is new in 8.4.
1.4162 + * tests/interp.test: Added tests 18.9 (knownbug) and 18.10
1.4163 +
1.4164 +2003-06-09 Don Porter <dgp@users.sourceforge.net>
1.4165 +
1.4166 + * tests/string.test (string-4.15): Added test for [string first] bug
1.4167 + reported in Tcl 8.3, where test for all-single-byte-encoded strings
1.4168 + was not reliable.
1.4169 +
1.4170 +2003-06-04 Joe Mistachkin <joe@mistachkin.com>
1.4171 +
1.4172 + * tools/man2help.tcl: Added duplicate help section checking and
1.4173 + * tools/index.tcl: corrected a comment typo for the getTopics proc
1.4174 + in index.tcl. [Bug 748700]
1.4175 +
1.4176 +2003-05-23 Don Porter <dgp@users.sourceforge.net>
1.4177 +
1.4178 + * generic/tclObj.c (tclCmdNameType): Converted internal rep
1.4179 + management of the cmdName Tcl_ObjType the opposite way, to always use
1.4180 + the twoPtrValue instead of always using the otherValuePtr. Previous
1.4181 + fix on 2003-05-12 broke several extensions that wanted to poke around
1.4182 + with the twoPtrValue.ptr2 value of a cmdName Tcl_Obj, like TclBlend
1.4183 + and e4graph. [Bug 726018] Thanks to George Petasis for the bug report
1.4184 + and Jacob Levy for testing assistance.
1.4185 +
1.4186 +2003-05-22 Daniel Steffen <das@users.sourceforge.net>
1.4187 +
1.4188 + *** 8.4.3 TAGGED FOR RELEASE ***
1.4189 +
1.4190 + * macosx/tclMacOSXBundle.c: fixed a problem that caused only the first
1.4191 + call to Tcl_MacOSXOpenVersionedBundleResources() for a given bundle
1.4192 + identifier to succeed. This caused the tcl runtime library not to be
1.4193 + found in all interps created after the inital one.
1.4194 +
1.4195 +2003-05-20 Jeff Hobbs <jeffh@ActiveState.com>
1.4196 +
1.4197 + * changes: updated for 8.4.3
1.4198 +
1.4199 + * unix/Makefile.in: do not run autoconf during 'make dist' as the
1.4200 + configure is now a CVS-maintained file and should be up-to-date.
1.4201 +
1.4202 +2003-05-19 Daniel Steffen <das@users.sourceforge.net>
1.4203 +
1.4204 + * macosx/Tcl.pbproj/project.pbxproj: changed tclConfig.sh location in
1.4205 + versioned framework subdirectories to be identical to location in
1.4206 + framework toplevel; fixed stub library symbolic links to be Tcl
1.4207 + version specific.
1.4208 +
1.4209 +2003-05-16 Daniel Steffen <das@users.sourceforge.net>
1.4210 +
1.4211 + * macosx/Tcl.pbproj/project.pbxproj: updated copyright year.
1.4212 +
1.4213 +2003-05-15 Jeff Hobbs <jeffh@ActiveState.com>
1.4214 +
1.4215 + * win/tclWinFile.c (TclpMatchInDirectory): revert glob code to r1.44
1.4216 + as 2003-04-14 optimizations broke Windows98 glob'ing.
1.4217 +
1.4218 + * README: bumped version to 8.4.3
1.4219 + * generic/tcl.h:
1.4220 + * macosx/Tcl.pbproj/project.pbxproj:
1.4221 + * tools/tcl.wse.in:
1.4222 + * unix/configure:
1.4223 + * unix/configure.in:
1.4224 + * unix/tcl.spec:
1.4225 + * win/README.binary:
1.4226 + * win/configure:
1.4227 + * win/configure.in:
1.4228 +
1.4229 + * doc/socket.n: nroff font handling correction.
1.4230 +
1.4231 + * library/encoding/gb2312-raw.enc (new): This is the original
1.4232 + gb2312.enc renamed to allow for it to still be used. This is needed by
1.4233 + Tk (unix) because X fonts with gb2312* charsets really do want the
1.4234 + original gb2312 encoding. [Bug 557030]
1.4235 +
1.4236 +2003-05-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4237 +
1.4238 + * generic/tclCmdAH.c (Tcl_FormatObjCmd): Values which can't be
1.4239 + anything but wide shouldn't be demoted to long. [consequence of HEAD
1.4240 + fixes for Bug 699060]
1.4241 +
1.4242 +2003-05-14 Jeff Hobbs <jeffh@ActiveState.com>
1.4243 +
1.4244 + * library/encoding/gb2312.enc: copy euc-cn.enc over original
1.4245 + gb2312.enc. gb2312.enc appeared to not work as expected, and most uses
1.4246 + of gb2312 really mean euc-cn (which may be the cause of the problem).
1.4247 + [Bug 557030]
1.4248 +
1.4249 + * generic/tclEnv.c (TclUnsetEnv): Another putenv() copy behavior
1.4250 + problem repaired when compiling on windows and using microsoft's
1.4251 + runtime. [Bug 736421] (gravereaux)
1.4252 +
1.4253 +2003-05-13 Jeff Hobbs <jeffh@ActiveState.com>
1.4254 +
1.4255 + * generic/tclIOUtil.c: add decl for FsThrExitProc to suppress warnings
1.4256 +
1.4257 +2003-05-13 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4258 +
1.4259 + * generic/tclEvent.c (Tcl_Finalize): Removed unused variable to reduce
1.4260 + compiler warnings. [Bug 664745]
1.4261 +
1.4262 +2003-05-13 Joe Mistachkin <joe@mistachkin.com>
1.4263 +
1.4264 + * generic/tcl.decls: Changed Tcl_JoinThread parameter name from "id"
1.4265 + * generic/tclDecls.h: to "threadId". [Bug 732477]
1.4266 + * unix/tclUnixThrd.c:
1.4267 + * win/tclWinThrd.c:
1.4268 + * mac/tclMacThrd.c:
1.4269 +
1.4270 +2003-05-13 Daniel Steffen <das@users.sourceforge.net>
1.4271 +
1.4272 + * generic/tcl.decls:
1.4273 + * macosx/tclMacOSXBundle.c: added extended version of the
1.4274 + Tcl_MacOSXOpenBundleResources() API taking an extra version number
1.4275 + argument: Tcl_MacOSXOpenVersionedBundleResources(). This is needed to
1.4276 + be able to access bundle resources in versioned frameworks such as Tcl
1.4277 + and Tk, otherwise if multiple versions were installed, only the latest
1.4278 + version's resources could be accessed. [Bug 736774]
1.4279 +
1.4280 + * unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): use new versioned
1.4281 + bundle resource API to get tcl runtime library for TCL_VERSION.
1.4282 + [Bug 736774]
1.4283 +
1.4284 + * generic/tclPlatDecls.h:
1.4285 + * generic/tclStubInit.c: regen.
1.4286 +
1.4287 + * unix/tclUnixPort.h: worked around the issue of realpath() not being
1.4288 + thread-safe on Mac OS X by defining NO_REALPATH for threaded builds on
1.4289 + Mac OS X. [Bug 711232]
1.4290 +
1.4291 +2003-05-12 Don Porter <dgp@users.sourceforge.net>
1.4292 +
1.4293 + * generic/tclInterp.c: (AliasObjCmd): Added refCounting of the words
1.4294 + * tests/interp.test (interp-33.1): of the target of an interp
1.4295 + alias during its execution. Also added test. [Bug 730244].
1.4296 +
1.4297 + * generic/tclBasic.c (TclInvokeObjectCommand): objv[argc] is no
1.4298 + longer set to NULL (Tcl_CreateObjCommand docs already say that it
1.4299 + should not be accessed).
1.4300 +
1.4301 + * generic/tclObj.c (tclCmdNameType): Corrected variable use of the
1.4302 + otherValuePtr or the twoPtrValue.ptr1 fields to store a
1.4303 + (ResolvedCmdName *) as the internal rep. [Bug 726018].
1.4304 +
1.4305 + * doc/Eval.3: Corrected prototype for Tcl_GlobalEvalObj [Bug 727622].
1.4306 +
1.4307 +2003-05-12 Miguel Sofer <msofer@users.sf.net>
1.4308 +
1.4309 + * generic/tclVar.c (TclObjLookupVar): [Bug 735335] temporary fix,
1.4310 + disabling usage of tclNsVarNameType.
1.4311 + * tests/var.test (var-15.1): test for [Bug 735335]
1.4312 +
1.4313 +2003-05-10 Zoran Vasiljevic <zoran@archiware.com>
1.4314 +
1.4315 + * unix/tclUnixThrd.c: corrected [Bug 723502]
1.4316 +
1.4317 +2003-05-10 Jeff Hobbs <jeffh@ActiveState.com>
1.4318 +
1.4319 + * generic/tclIOUtil.c: ensure cd is thread-safe.
1.4320 + [Bug 710642] (vasiljevic)
1.4321 +
1.4322 + * win/tclWinSerial.c (SerialCloseProc): correct mem leak on closing a
1.4323 + Windows serial port [Bug 718002] (schroedter)
1.4324 +
1.4325 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): prevent string repeat crash
1.4326 + when overflow sizes were given (throws error). [Bug 714106]
1.4327 +
1.4328 +2003-05-09 Joe Mistachkin <joe@mistachkin.com>
1.4329 +
1.4330 + * generic/tclThreadAlloc.c (TclFreeAllocCache): Fixed memory leak
1.4331 + caused by treating cachePtr as a TLS index [Bug 731754].
1.4332 +
1.4333 + * win/tclAppInit.c (Tcl_AppInit): Fixed memory leaks caused by not
1.4334 + freeing the memory allocated by setargv and the async handler created
1.4335 + by Tcl_AppInit. An exit handler has been created that takes care of
1.4336 + both leaks. In addition, Tcl_AppInit now uses ckalloc instead of
1.4337 + Tcl_Alloc to allow for easier leak tracking and to be more consistent
1.4338 + with the rest of the Tcl core [Bugs 733156, 733221].
1.4339 +
1.4340 + * tools/encoding/txt2enc.c (main): Fixed memory leak caused by failing
1.4341 + to free the memory used by the toUnicode array of strings [Bug 733221]
1.4342 +
1.4343 +2003-05-05 Don Porter <dgp@users.sourceforge.net>
1.4344 +
1.4345 + * library/tcltest/tcltest.tcl: The -returnCodes option to [test]
1.4346 + failed to recognize the symbolic name "ok" for return code 0.
1.4347 +
1.4348 +2003-05-05 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4349 +
1.4350 + * generic/tclBasic.c (Tcl_HideCommand): Fixed error message grammar
1.4351 + and spelling.
1.4352 +
1.4353 +2003-04-29 Vince Darley <vincentdarley@users.sourceforge.net>
1.4354 +
1.4355 + * generic/tclFileName.c: fix to bug reported privately by Jeff where,
1.4356 + for example, 'glob -path {[tcl]} *' gets confused by the leading
1.4357 + special character (which is escaped internally), and instead lists
1.4358 + files in '/'. Bug only occurs on Windows where '\' is also a
1.4359 + directory separator. (Bug has been around at least since Tcl 8.3.)
1.4360 + * tests/fileName.test: added test for the above bug.
1.4361 +
1.4362 +2003-04-25 Don Porter <dgp@users.sourceforge.net>
1.4363 +
1.4364 + * generic/tclBasic.c: Tcl_EvalObjv() failed to honor the
1.4365 + TCL_EVAL_GLOBAL flag when resolving command names. Tcl_EvalEx passed a
1.4366 + string rep including leading whitespace and comments to
1.4367 + TclEvalObjvInternal().
1.4368 +
1.4369 +2003-04-25 Andreas Kupries <andreask@activestate.com>
1.4370 +
1.4371 + * win/tclWinThrd.c: Applied [Patch 727271]. This patch changes the
1.4372 + code to catch any errors returned by the windows functions handling
1.4373 + TLS ASAP instead of waiting to get some mysterious crash later on due
1.4374 + to bogus pointers. Patch provided by Joe Mistachkin.
1.4375 +
1.4376 + This is a stop-gap measure to deal with the low number of ?TLS slots
1.4377 + provided by some of the variants of Windows (60-80).
1.4378 +
1.4379 +2003-04-21 Don Porter <dgp@users.sourceforge.net>
1.4380 +
1.4381 + * library/tcltest/tcltest.tcl: When the return code of a test does
1.4382 + not meet expectations, report that as the reason for test failure,
1.4383 + and do not attempt to check the test result for correctness. [Bug
1.4384 + 725253]
1.4385 +
1.4386 +2003-04-18 Jeff Hobbs <jeffh@ActiveState.com>
1.4387 +
1.4388 + * generic/tclExecute.c (ExprCallMathFunc): remove incorrect
1.4389 + extraneous cast from Tcl_WideAsDouble.
1.4390 +
1.4391 +2003-04-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4392 +
1.4393 + * doc/open.n: Moved serial port options from [fconfigure]
1.4394 + * doc/fconfigure.n: to [open] as it is up to the creator of a
1.4395 + channel to describe the channel's special
1.4396 + config options. [Bug 679010]
1.4397 +
1.4398 +2003-04-16 Don Porter <dgp@users.sourceforge.net>
1.4399 +
1.4400 + * generic/tcl.h Made changes so that the "wideInt" Tcl_ObjType
1.4401 + * generic/tclObj.c is defined on all platforms, even those where
1.4402 + * generic/tclPort.h TCL_WIDE_INT_IS_LONG is defined. Also made
1.4403 + the Tcl_Value struct have a wideValue field on all platforms. This is
1.4404 + a ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms
1.4405 + because that struct changes size. This is the same TIP 72
1.4406 + incompatibility that was seen on other platforms at the 8.4.0 release,
1.4407 + when this change should have happened as well. [Bug 713562]
1.4408 +
1.4409 + * generic/tclInt.h: New internal macros TclGetWide() and
1.4410 + TclGetLongFromWide() to deal with both forms of the "wideInt"
1.4411 + Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code
1.4412 + is confined to the header file.
1.4413 +
1.4414 + * generic/tclCmdAH.c: Replaced most coding that was conditional
1.4415 + * generic/tclCmdIL.c: on TCL_WIDE_INT_IS_LONG with code that
1.4416 + * generic/tclExecute.c: works across platforms, sometimes using
1.4417 + * generic/tclTest.c: the new macros above to do it.
1.4418 + * generic/tclUtil.c:
1.4419 + * generic/tclVar.c:
1.4420 +
1.4421 +2003-04-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4422 +
1.4423 + * doc/socket.n: Added a paragraph to remind people to specify
1.4424 + their encodings when using sockets. [Bug 630621]
1.4425 +
1.4426 +2003-04-16 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4427 +
1.4428 + * doc/CrtMathFnc.3: Functions also have to deal with wide ints,
1.4429 + but this was not documented. [Bug 709720]
1.4430 +
1.4431 +2003-04-15 Kevin Kenny <kennykb@acm.org>
1.4432 +
1.4433 + * win/tclWinTime.c: Corrected use of types to make compilation
1.4434 + compatible with VC++5.
1.4435 +
1.4436 +2003-04-14 Kevin Kenny <kennykb@acm.org>
1.4437 +
1.4438 + * win/tclWinFile.c: added conditionals to restore compilation on
1.4439 + VC++6, which was broken by recent changes.
1.4440 +
1.4441 +2003-04-14 Vince Darley <vincentdarley@users.sourceforge.net>
1.4442 +
1.4443 + Merged various bug fixes from current cvs head:
1.4444 +
1.4445 + * tests/cmdAH.test: better fix to test suite problem if /home is a
1.4446 + symlink [Bug 703264]
1.4447 +
1.4448 + * generic/tclIOUtil.c: fix bad error message with 'cd ""' [Bug 704917]
1.4449 + * win/tclWinFile.c:
1.4450 + * win/tclWin32Dll.c:
1.4451 + * win/tclWinInt.h: allow Tcl to differentiate between reparse points
1.4452 + which are symlinks and mounted volumes, and correctly handle the
1.4453 + latter. This involves some elaborate code to find the actual drive
1.4454 + letter (if possible) corresponding to a mounted volume. [Bug 697862]
1.4455 + * tests/fileSystem.test: add constraints to stop tests running in
1.4456 + ordinary tcl interpreter. [Bug 705675]
1.4457 + * generic/tclIOUtil.c: Some re-arrangement of code to bring it closer
1.4458 + to CVS HEAD. No functional changes.
1.4459 +
1.4460 + * tests/fCmd.test:
1.4461 + * win/tclWinFile.c: added some filesystem optimisation to the
1.4462 + 'glob' implementation, and some new tests.
1.4463 +
1.4464 + * tests/winFile.test:
1.4465 + * tests/ioUtil.test:
1.4466 + * tests/unixFCmd.test: renumbered tests with duplicate numbers. [Bug
1.4467 + 710361]
1.4468 +
1.4469 +2003-04-12 Kevin Kenny <kennykb@acm.org>
1.4470 +
1.4471 + * tests/clock.test: Renumbered test cases to avoid duplicates [Bug
1.4472 + 710310].
1.4473 + * tests/winTime.test:
1.4474 + * win/tclWinTest.c (TestwinclockCmd, TestwinsleepCmd):
1.4475 + * win/tclWinTime.c (Tcl_WinTime, UpdateTimeEachSecond,
1.4476 + (ResetCounterSamples, AccumulateSample, SAMPLES, TimeInfo): Made
1.4477 + substantial changes to the phase-locked loop (replaced an IIR filter
1.4478 + with an FIR one) in a quest for improved loop stability (Bug not
1.4479 + logged at SF, but cited in private communication from Jeff Hobbs).
1.4480 +
1.4481 +2003-04-11 Don Porter <dgp@users.sourceforge.net>
1.4482 +
1.4483 + * generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT): Corrected
1.4484 + inconsistent results of [string is integer] observed on systems
1.4485 + where sizeof(long) != sizeof(int). [Bug 718878]
1.4486 + * tests/string.test: Added tests for Bug 718878.
1.4487 + * doc/string.n: Clarified that [string is integer] accepts
1.4488 + 32-bit integers.
1.4489 +
1.4490 +2003-04-11 Andreas Kupries <andreask@activestate.com>
1.4491 +
1.4492 + * generic/tclIO.c (UpdateInterest): When dropping interest in
1.4493 + TCL_READABLE now dropping interest in TCL_EXCEPTION too. This fixes a
1.4494 + bug where Expect detects eof on a file prematurely on Solaris 2.6 and
1.4495 + higher. A much more complete explanation is in the code itself (40
1.4496 + lines of comments for a one-line change :)
1.4497 +
1.4498 +2003-04-10 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4499 +
1.4500 + * doc/binary.n: Fixed typo in [binary format w] desc. [Bug 718543]
1.4501 +
1.4502 +2003-04-08 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4503 +
1.4504 + * generic/tclCmdAH.c (Tcl_ErrorObjCmd): Strings are only empty if they
1.4505 + have zero length, not if their first byte is zero, so fix test
1.4506 + guarding Tcl_AddObjErrorInfo to take this into account. [Bug reported
1.4507 + by Don Porter; no bug-id.]
1.4508 +
1.4509 +2003-04-07 Don Porter <dgp@users.sourceforge.net>
1.4510 +
1.4511 + * generic/tclCompCmds.c (TclCompileIfCmd): Corrected string limits of
1.4512 + arguments interpolated in error messages. [Bug 711371]
1.4513 +
1.4514 + * generic/tclCmdMZ.c (TraceExecutionProc): Added missing
1.4515 + Tcl_DiscardResult() call to avoid memory leak.
1.4516 +
1.4517 +2003-04-07 Donal K. Fellows <zzcgudf@ernie.mvc.mcc.ac.uk>
1.4518 +
1.4519 + * generic/tclObj.c (tclWideIntType, TclInitObjSubsystem):
1.4520 + (SetBooleanFromAny): Make sure that tclWideIntType is defined and
1.4521 + somewhat sensible everywhere. [Bug 713562]
1.4522 +
1.4523 +2003-04-02 Mo DeJong <mdejong@users.sourceforge.net>
1.4524 +
1.4525 + * win/configure: Regen.
1.4526 + * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX
1.4527 + variable.
1.4528 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Set new LIBFLAGSUFFIX that works like
1.4529 + LIBSUFFIX, it is used when creating library names. The previous
1.4530 + implementation would generate -ltclstub85 instead of -ltclstub85s when
1.4531 + configured with --disable-shared.
1.4532 +
1.4533 +2003-04-01 Don Porter <dgp@users.sourceforge.net>
1.4534 +
1.4535 + * tests/README: Direct [source] of *.test files is no longer
1.4536 + recommended. The tests/*.test files should only be evaluated under the
1.4537 + control of the [runAllTests] command in tests/all.tcl.
1.4538 +
1.4539 +2003-03-27 Miguel Sofer <msofer@users.sf.net>
1.4540 +
1.4541 + * tests/encoding.test:
1.4542 + * tests/proc-old.test:
1.4543 + * tests/set-old.test: Altered test numers to eliminate duplicates,
1.4544 + [Bugs 710313, 710320, 710352]
1.4545 +
1.4546 +2003-03-27 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4547 +
1.4548 + * tests/parseOld.test: Altered test numers to eliminate duplicates.
1.4549 + * tests/parse.test: [Bugs 710365, 710369]
1.4550 + * tests/expr-old.test:
1.4551 + * tests/expr.test:
1.4552 +
1.4553 + * tests/utf.test: Altered test numers to eliminate duplicates.
1.4554 + * tests/trace.test: [Bugs 710322, 710327, 710349, 710363]
1.4555 + * tests/lsearch.test:
1.4556 + * tests/list.test:
1.4557 + * tests/info.test:
1.4558 + * tests/incr-old.test:
1.4559 + * tests/if-old.test:
1.4560 + * tests/format.test:
1.4561 + * tests/foreach.test:
1.4562 +
1.4563 +2003-03-26 Don Porter <dgp@users.sourceforge.net>
1.4564 +
1.4565 + * doc/tcltest.n:
1.4566 + * library/tcltest/tcltest.tcl: Added reporting during [configure
1.4567 + -debug 1] operations to warn about multiple uses of the same test
1.4568 + name. [FR 576693] Replaced [regexp] and [regsub] with [string map]
1.4569 + where possible. Thanks to David Welton. [Bugs 667456,667558]
1.4570 + * library/tcltest/pkgIndex.tcl: Bumped to tcltest 2.2.3
1.4571 +
1.4572 + * tests/msgcat.test (msgcat-2.2.1): changed test name to avoid
1.4573 + duplication. [Bug 710356]
1.4574 +
1.4575 + * unix/dltest/pkg?.c: Changed all Tcl_InitStubs calls to pass argument
1.4576 + exact = 0, so that rebuilds are not required when Tcl bumps to a new
1.4577 + version. [Bug 701926]
1.4578 +
1.4579 +2003-03-24 Miguel Sofer <msofer@users.sf.net>
1.4580 +
1.4581 + * generic/tclVar.c:
1.4582 + * tests/var.test: fixing ObjMakeUpvar's lookup algorithm for the
1.4583 + created local variable, [Bugs 631741] (Chris Darroch) and [696893]
1.4584 + (David Hilker).
1.4585 +
1.4586 +2003-03-22 Kevin Kenny <kennykb@acm.org>
1.4587 +
1.4588 + * library/dde/pkgIndex.tcl:
1.4589 + * library/reg/pkgIndex.tcl: Fixed a bug where [package require dde] or
1.4590 + [package require registry] attempted to load the release version of
1.4591 + the DLL into a debug build. [Bug 708218] Thanks to Joe Mistachkin for
1.4592 + the patch.
1.4593 + * win/makefile.vc: Added quoting around the script name in the 'test'
1.4594 + target; Joe Mistachkin insists that he has a configuration that fails
1.4595 + to launch tcltest without it, and it appears harmless otherwise.
1.4596 +
1.4597 +2003-03-20 Don Porter <dgp@users.sourceforge.net>
1.4598 +
1.4599 + * generic/tclInt.h (tclOriginalNotifier):
1.4600 + * generic/tclStubInit.c (tclOriginalNotifier):
1.4601 + * mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent):
1.4602 + * unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent,
1.4603 + (Tcl_CreateFileHandler,Tcl_DeleteFileHandler):
1.4604 + * win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers
1.4605 + apparently use a different representation for a pointer to a function
1.4606 + within the same compilation unit and a pointer to a function in a
1.4607 + different compilation unit. This causes checks like those in the
1.4608 + original notifier procedures to fall into infinite loops. The fix is
1.4609 + to store pointers to the original notifier procedures in a struct
1.4610 + defined in the same compilation unit as the stubs tables, and compare
1.4611 + against those values. [Bug 707174]
1.4612 +
1.4613 + * generic/tclInt.h: Removed definition of ParseValue struct that is no
1.4614 + longer used.
1.4615 +
1.4616 +2003-03-19 Miguel Sofer <msofer@users.sf.net>
1.4617 +
1.4618 + * generic/tclCompile.c:
1.4619 + * tests/compile.test: bad command count on TCL_OUT_LINE_COMPILE
1.4620 + [Bug 705406] (Don Porter).
1.4621 +
1.4622 +2003-03-19 Don Porter <dgp@users.sourceforge.net>
1.4623 +
1.4624 + * doc/Eval.3 (Tcl_EvalObjEx): Corrected CONST and
1.4625 + * doc/ParseCmd.3 (Tcl_EvalTokensStandard): return type errors in
1.4626 + documentation. [Bug 683994]
1.4627 +
1.4628 +2003-03-18 Kevin Kenny <kennykb@users.sourceforge.net>
1.4629 +
1.4630 + * tests/registry.test: Changed the conditionals to avoid an abort if
1.4631 + [testlocale] is missing, as when running the test in tclsh rather than
1.4632 + tcltest. [Bug 705677]
1.4633 +
1.4634 +2003-03-18 Daniel Steffen <das@users.sourceforge.net>
1.4635 +
1.4636 + * tools/tcltk-man2html.tcl: added support for building 'make html'
1.4637 + from inside distribution directories named with 8.x.x version numbers.
1.4638 + tcltk-man2html now uses the latest tcl8.x.x resp. tk8.x.x directories
1.4639 + found inside its --srcdir argument.
1.4640 +
1.4641 +2003-03-18 Vince Darley <vincentdarley@users.sourceforge.net>
1.4642 +
1.4643 + * tests/cmdAH.test: fix test suite problem if /home is a symlink
1.4644 + * generic/tclIOUtil.c: fix bad error message with 'cd ""'
1.4645 + * win/tclWinFile.c: allow Tcl to differentiate between reparse points
1.4646 + which are symlinks and mounted drives.
1.4647 +
1.4648 + These changes fix [Bugs 703264, 704917, 697862] respectively.
1.4649 +
1.4650 +2003-03-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4651 +
1.4652 + * doc/lsearch.n: Altered documentation of -ascii options so
1.4653 + * doc/lsort.n: they don't specify that they operate on
1.4654 + ASCII strings, which they never did
1.4655 + anyway. [Bug 703807]
1.4656 +
1.4657 +2003-03-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4658 +
1.4659 + * generic/tclCmdAH.c (Tcl_FileObjCmd): Remove assumption that file
1.4660 + times and longs are the same size. [Bug 698146]
1.4661 + (Tcl_FormatObjCmd): Stop surprising type conversions from
1.4662 + happening when working with integer and wide values. [Bug 699060]
1.4663 +
1.4664 + * generic/tclCmdAH.c (Tcl_FormatObjCmd): Only add the modifier that
1.4665 + indicates we've got a wide int when we're formatting in an integer
1.4666 + style. Stops some libc's from going mad. [Bug 702622]
1.4667 + Also tidied whitespace.
1.4668 +
1.4669 +2003-03-13 Kevin Kenny <kennykb@users.sourceforge.net>
1.4670 +
1.4671 + * win/makefile.vc: Backed the version to 8.4 on the 8.4 branch. (I
1.4672 + just loathe sticky tags).
1.4673 +
1.4674 +2003-03-12 Don Porter <dgp@users.sourceforge.net>
1.4675 +
1.4676 + * generic/tcl.h: Removed TCL_PREFIX_IDENT and TCL_DEBUG_IDENT
1.4677 + * win/tclWinPipe.c: from tcl.h -- they are not part of Tcl's
1.4678 + public interface. Put them in win/tclWinPipe.c where they are used.
1.4679 +
1.4680 + * generic/tclCmdMZ.c (Tcl_SubstObj): Corrected and added test for
1.4681 + * tests/subst.test (subst-2.4): Tcl_SubstObj's incorrect
1.4682 + halting of substitution at the first \x00 byte. [Bug 685106]
1.4683 +
1.4684 + * generic/tclInterp.c (Tcl_InterpObjCmd): Corrected and added
1.4685 + * tests/interp.test (interp-2.13): test for option
1.4686 + parsing beyond objc for [interp create --]. Thanks to Marco Maggi.
1.4687 + [Bug 702383]
1.4688 +
1.4689 +2003-03-11 Kevin Kenny <kennykb@users.sourceforge.net>
1.4690 +
1.4691 + * win/makefile.vc: Added two missing uses of $(DBGX) so that
1.4692 + tclpip8x.dll loads without panicking on Win9x.
1.4693 +
1.4694 +2003-03-08 Don Porter <dgp@users.sourceforge.net>
1.4695 +
1.4696 + * doc/tcltest.n: Added missing "-body" to example. Thanks to
1.4697 + Helmut Giese. [Bug 700011]
1.4698 +
1.4699 +2003-03-06 Don Porter <dgp@users.sourceforge.net>
1.4700 +
1.4701 + * generic/TclUtf.c (Tcl_UniCharNcasecmp): Corrected failure to
1.4702 + * tests/utf.test (utf-25.*): properly compare Unicode strings of
1.4703 + different case in a case insensitive manner. [Bug 699042]
1.4704 +
1.4705 +2003-03-03 Jeff Hobbs <jeffh@ActiveState.com>
1.4706 +
1.4707 + *** 8.4.2 TAGGED FOR RELEASE ***
1.4708 +
1.4709 +2003-03-03 Daniel Steffen <das@users.sourceforge.net>
1.4710 +
1.4711 + Mac OS Classic specific fixes:
1.4712 + * generic/tclIOUtil.c (TclNewFSPathObj): on TCL_PLATFORM_MAC,
1.4713 + skip potential directory separator at the beginning of addStrRep.
1.4714 + * mac/tclMacChan.c (OpenFileChannel, CommonWatch): followup
1.4715 + fixes to cut and splice implementation for file channels.
1.4716 + * mac/tclMacFile.c (TclpUtime): pass native path to utime().
1.4717 + * mac/tclMacFile.c (TclpObjLink): correctly implemented creation
1.4718 + of alias files via new static proc CreateAliasFile().
1.4719 + * mac/tclMacPort.h: define S_ISLNK macro to fix stat'ing of links.
1.4720 + * mac/tclMacUtil.c (FSpLocationFromPathAlias): fix to enable
1.4721 + stat'ing of broken links.
1.4722 +
1.4723 +2003-03-03 Kevin Kenny <kennykb@users.sourceforge.net>
1.4724 +
1.4725 + * win/Makefile.vc: corrected bug introduced by 'g' for debug builds.
1.4726 +
1.4727 +2003-03-03 Don Porter <dgp@users.sourceforge.net>
1.4728 +
1.4729 + * library/dde/pkgIndex.tcl: dde bumped to version 1.2.1 for
1.4730 + * win/tclWinDde.c: bundled release with Tcl 8.4.2
1.4731 +
1.4732 + * library/reg/pkgIndex.tcl: registry bumped to version 1.1.1 for
1.4733 + * win/tclWinReg.c: bundled release with Tcl 8.4.2
1.4734 +
1.4735 + * library/opt/pkgIndex.tcl: updated package index to version 0.4.4
1.4736 +
1.4737 +2003-02-28 Jeff Hobbs <jeffh@ActiveState.com>
1.4738 +
1.4739 + * win/configure:
1.4740 + * win/configure.in: check for 'g' for debug build type, not 'd'.
1.4741 + * win/rules.vc (DBGX): correct to use 'g' for nmake win makefile
1.4742 + to match the cygwin makefile for debug builds. [Bug 635107]
1.4743 +
1.4744 +2003-02-28 Vince Darley <vincentdarley@users.sourceforge.net>
1.4745 +
1.4746 + * doc/file.n: subcommand is 'file volumes' not 'file volume'
1.4747 +
1.4748 +2003-02-27 Jeff Hobbs <jeffh@ActiveState.com>
1.4749 +
1.4750 + * generic/tclIOUtil.c (MakeFsPathFromRelative): removed dead code
1.4751 + check of typePtr (darley).
1.4752 +
1.4753 + * tests/winTime.test: added note about PCI hardware dependency
1.4754 + issues with high performance clock.
1.4755 +
1.4756 +2003-02-27 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4757 +
1.4758 + * tests/lsearch.test (lsearch-10.7):
1.4759 + * generic/tclCmdIL.c (Tcl_LsearchObjCmd): Stopped -start option from
1.4760 + causing an option when used with an empty list. [Bug 694232]
1.4761 +
1.4762 +2003-02-26 Chengye Mao <chengye.geo@yahoo.com>
1.4763 +
1.4764 + * win/tclWinInit.c: fixed a bug in TclpSetVariables by initializing
1.4765 + dwUserNameLen with the sizeof(szUserName) before calling GetUserName.
1.4766 + Don't know if this bug has been recorded: it caused crash in starting
1.4767 + Tcl or wish in Windows.
1.4768 +
1.4769 +2003-02-26 Jeff Hobbs <jeffh@ActiveState.com>
1.4770 +
1.4771 + * generic/tclCmdMZ.c (TraceCommandProc): Fix mem leak when
1.4772 + deleting a command that had trace on it. [Bug 693564] (sofer)
1.4773 +
1.4774 +2003-02-25 Don Porter <dgp@users.sourceforge.net>
1.4775 +
1.4776 + * doc/pkgMkIndex.n: Modified [pkg_mkIndex] to use -nocase matching
1.4777 + * library/package.tcl: of -load patterns, to better accomodate
1.4778 + common user errors due to confusion between [package names] names
1.4779 + and [info loaded] names.
1.4780 +
1.4781 +2003-02-25 Andreas Kupries <andreask@activestate.com>
1.4782 +
1.4783 + * tests/pid.test: See below [Bug 678412].
1.4784 + * tests/io.test: Made more robust against spaces in paths [Bug 678400]
1.4785 +
1.4786 +2003-02-25 Miguel Sofer <msofer@users.sf.net>
1.4787 +
1.4788 + * tests/execute.test: cleaning up testobj's at the end, to avoid leak
1.4789 + warning by valgrind.
1.4790 +
1.4791 +2003-02-22 Zoran Vasiljevic <zoran@archiwrae.com>
1.4792 +
1.4793 + * generic/tclEvent.c (Tcl_FinalizeThread): Fix [Bug 571002]
1.4794 +
1.4795 +2003-02-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4796 +
1.4797 + * tests/binary.test (binary-44.[34]):
1.4798 + * generic/tclBinary.c (ScanNumber): Fixed problem with unwanted
1.4799 + sign-bit propagation when scanning wide ints. [Bug 690774]
1.4800 +
1.4801 +2003-02-21 Daniel Steffen <das@users.sourceforge.net>
1.4802 +
1.4803 + * mac/tclMacChan.c (TclpCutFileChannel, TclpSpliceFileChannel):
1.4804 + Implemented missing cut and splice procs for file channels.
1.4805 +
1.4806 +2003-02-21 Don Porter <dgp@users.sourceforge.net>
1.4807 +
1.4808 + * library/package.tcl (tclPkgUnknown): Minor performance tweaks to
1.4809 + reduce the number of [file] invocations. Meant to improve startup
1.4810 + times, at least a little bit. [Patch 687906]
1.4811 +
1.4812 +2003-02-20 Daniel Steffen <das@users.sourceforge.net>
1.4813 +
1.4814 + * unix/tcl.m4:
1.4815 + * unix/tclUnixPipe.c: (macosx) use vfork() instead of fork() to create
1.4816 + new processes, as recommended by Apple (vfork can be up to 100 times
1.4817 + faster thank fork on macosx).
1.4818 + * unix/configure: regen.
1.4819 +
1.4820 +2003-02-20 Jeff Hobbs <jeffh@ActiveState.com>
1.4821 +
1.4822 + * generic/tclEncoding.c (LoadTableEncoding):
1.4823 + * library/encoding/cp932.enc: Correct jis round-trip encoding
1.4824 + * library/encoding/euc-jp.enc: by adding 'R' type to .enc files.
1.4825 + * library/encoding/iso2022-jp.enc: [Patch 689341] (koboyasi, taguchi)
1.4826 + * library/encoding/jis0208.enc:
1.4827 + * library/encoding/shiftjis.enc:
1.4828 + * tests/encoding.test:
1.4829 +
1.4830 + * unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): add
1.4831 + MakeTcpClientChannelMode that takes actual mode flags to avoid
1.4832 + hang on OS X (may be OS X bug, but patch works x-plat).
1.4833 + [Bug 689835] (steffen)
1.4834 +
1.4835 +2003-02-20 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.4836 +
1.4837 + * doc/regsub.n: Typo fix [Bug 688943]
1.4838 +
1.4839 +2003-02-19 Jeff Hobbs <jeffh@ActiveState.com>
1.4840 +
1.4841 + * unix/tclUnixThrd.c (TclpReaddir):
1.4842 + * unix/tclUnixPort.h: update to Bug 689100 patch to ensure that
1.4843 + there is a defined value of MAXNAMLEN (aka NAME_MAX in POSIX) and
1.4844 + that we have some buffer allocated.
1.4845 +
1.4846 +2003-02-19 Daniel Steffen <das@users.sourceforge.net>
1.4847 +
1.4848 + * generic/tclStringObj.c: restored Tcl_SetObjLength() side-effect of
1.4849 + always invalidating unicode rep (if the obj has a string rep). Added
1.4850 + hasUnicode flag to String struct, allows decoupling of validity of
1.4851 + unicode rep from buffer size allocated to it (improves memory
1.4852 + allocation efficiency). [Bugs 686782, 671138, 635200]
1.4853 +
1.4854 + * macosx/Tcl.pbproj/project.pbxproj:
1.4855 + * macosx/Makefile: reworked embedded build to no longer require
1.4856 + relinking but to use install_name_tool instead to change the
1.4857 + install_names for embedded frameworks. [Bug 644510]
1.4858 +
1.4859 + * macosx/Tcl.pbproj/project.pbxproj: preserve mod dates when running
1.4860 + 'make install' to build framework (avoids bogus rebuilds of dependent
1.4861 + frameworks because tcl headers appear changed).
1.4862 +
1.4863 + * tests/ioCmd.test (iocmd-1.8): fix failure when system encoding is
1.4864 + utf-8: use iso8859-1 encoding explicitly.
1.4865 +
1.4866 +2003-02-18 Miguel Sofer <msofer@users.sf.net>
1.4867 +
1.4868 + * generic/tclCompile.c (TclCompileExprWords): remove unused variable
1.4869 + "range" [Bug 664743]
1.4870 + * generic/tclExecute.c (ExprSrandFunc): remove unused variable
1.4871 + "result" [Bug 664743]
1.4872 + * generic/tclStringObj.c (UpdateStringOfString): remove unused
1.4873 + variable "length" [Bug 664751]
1.4874 + * tests/execute.test (execute-7.30): fix for [Bug 664775]
1.4875 +
1.4876 +2003-02-18 Andreas Kupries <andreask@activestate.com>
1.4877 +
1.4878 + * unix/tcl.m4: [Bug 651811] Added definition of _XOPEN_SOURCE and
1.4879 + linkage of 'xnet' library to HP 11 branch. This kills a lot of
1.4880 + socket-related failures in the testsuite when Tcl was compiled in 64
1.4881 + bit mode (both PA-RISC 2.0W, and IA 64).
1.4882 +
1.4883 + * unix/configure: Regenerated.
1.4884 +
1.4885 +2003-02-18 Jeff Hobbs <jeffh@ActiveState.com>
1.4886 +
1.4887 + * generic/tclIO.c (HaveVersion): correctly decl static
1.4888 +
1.4889 + * unix/tclUnixThrd.c (TclpReaddir): reduce size of name string in
1.4890 + tsd to NAME_MAX instead of PATH_MAX. [Bug 689100] (waters)
1.4891 +
1.4892 +2003-02-18 Mo DeJong <mdejong@users.sourceforge.net>
1.4893 +
1.4894 + * unix/configure: Regen.
1.4895 + * unix/tcl.m4 (SC_ENABLE_THREADS): Make sure -lpthread gets passed on
1.4896 + the link line when checking for the pthread_attr_setstacksize symbol.
1.4897 +
1.4898 +2003-02-18 Vince Darley <vincentdarley@users.sourceforge.net>
1.4899 +
1.4900 + * generic/tclTest.c: cleanup of new 'simplefs' test code, and better
1.4901 + documentation.
1.4902 +
1.4903 +2003-02-17 Miguel Sofer <msofer@users.sf.net>
1.4904 +
1.4905 + * generic/tclBasic.c (TclRenameCommand): fixing error in previous
1.4906 + commit.
1.4907 +
1.4908 +2003-02-17 Jeff Hobbs <jeffh@ActiveState.com>
1.4909 +
1.4910 + * generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH):
1.4911 + * generic/tclCmdMZ.c (Tcl_StringObjCmd STR_MATCH):
1.4912 + * generic/tclUtf.c (TclUniCharMatch):
1.4913 + * generic/tclInt.decls: add private TclUniCharMatch function that
1.4914 + * generic/tclIntDecls.h: does string match on counted unicode
1.4915 + * generic/tclStubInit.c: strings. Tcl_UniCharCaseMatch has the
1.4916 + * tests/string.test: failing that it can't handle strings or
1.4917 + * tests/stringComp.test: patterns with embedded NULLs. Added
1.4918 + tests that actually try strings/pats with NULLs. TclUniCharMatch
1.4919 + should be TIPed and made public in the next minor version rev.
1.4920 +
1.4921 +2003-02-17 Miguel Sofer <msofer@users.sf.net>
1.4922 +
1.4923 + * generic/tclBasic.c (TclRenameCommand): 'oldFullName' object was not
1.4924 + being freed on all function exits, causing a memory leak. [Bug 684756]
1.4925 +
1.4926 +2003-02-17 Mo DeJong <mdejong@users.sourceforge.net>
1.4927 +
1.4928 + * generic/tclIO.c (Tcl_GetsObj): Minor change so that eol is only
1.4929 + assigned at the top of the TCL_TRANSLATE_AUTO case block. The other
1.4930 + cases assign eol so this does not change any functionality.
1.4931 +
1.4932 +2003-02-17 Kevin Kenny <kennykb@users.sourceforge.net>
1.4933 +
1.4934 + * tests/notify.test: Removed Windows line terminators. [Bug 687913].
1.4935 +
1.4936 +2003-02-15 Miguel Sofer <msofer@users.sf.net>
1.4937 +
1.4938 + * generic/tclBasic.c (Tcl_EvalEx):
1.4939 + * generic/tclCompExpr.c (CompileSubExpr):
1.4940 + * generic/tclCompile.c (TclCompileScript):
1.4941 + * generic/tclParse.c (Tcl_ParseCommand, ParseTokens):
1.4942 + * generic/tclParseExpr.c (ParsePrimaryExpr):
1.4943 + * tests/basic.test (47.1):
1.4944 + * tests/main.test (3.4):
1.4945 + * tests/misc.test (1.2):
1.4946 + * tests/parse.test (6.18):
1.4947 + * tests/parseExpr.test (15.35):
1.4948 + * tests/subst.test (8.6): Don Porter's fix for bad parsing of
1.4949 + nested scripts [Bug 681841].
1.4950 +
1.4951 +2003-02-15 Kevin Kenny <kennykb@users.sourceforge.net>
1.4952 +
1.4953 + * tests/notify.test (new-file):
1.4954 + * generic/tclTest.c (TclTest_Init, EventtestObjCmd, EventtestProc,
1.4955 + (EventTestDeleteProc):
1.4956 + * generic/tclNotify.c (Tcl_DeleteEvents): Fixed Tcl_DeleteEvents
1.4957 + not to get a pointer smash when deleting the last event in the
1.4958 + queue. Added test code in 'tcltest' and a new file of test cases
1.4959 + 'notify.test' to exercise this functionality; several of the new
1.4960 + test cases fail for the original code and pass for the corrected
1.4961 + code. [Bug 673714]
1.4962 +
1.4963 + * unix/tclUnixTest.c (TestfilehandlerCmd): Corrected a couple
1.4964 + of typos in error messages. [Bug 596027]
1.4965 +
1.4966 +2003-02-14 Jeff Hobbs <jeffh@ActiveState.com>
1.4967 +
1.4968 + * README: Bumped to version 8.4.2.
1.4969 + * generic/tcl.h:
1.4970 + * tools/tcl.wse.in:
1.4971 + * unix/configure:
1.4972 + * unix/configure.in:
1.4973 + * unix/tcl.m4:
1.4974 + * unix/tcl.spec:
1.4975 + * win/README.binary:
1.4976 + * win/configure:
1.4977 + * win/configure.in:
1.4978 + * macosx/Tcl.pbproj/project.pbxproj:
1.4979 +
1.4980 + * generic/tclStringObj.c (Tcl_GetCharLength): perf tweak
1.4981 +
1.4982 + * unix/tcl.m4: correct HP-UX ia64 --enable-64bit build flags
1.4983 +
1.4984 +2003-02-14 Kevin Kenny <kennykb@users.sourceforge.net>
1.4985 +
1.4986 + * win/tclWinTime.c: Added code to test and compensate for forward
1.4987 + leaps of the performance counter. See the MSDN Knowledge Base article
1.4988 + Q274323 for the hardware problem that makes this necessary on certain
1.4989 + machines.
1.4990 + * tests/winTime.test: Revised winTime-2.1 - it had a tolerance of
1.4991 + thousands of seconds, rather than milliseconds. (What's six orders of
1.4992 + magnitude among friends?
1.4993 +
1.4994 + Both the above changes are triggered by a problem reported at
1.4995 + http://aspn.activestate.com/ASPN/Mail/Message/ActiveTcl/1536811
1.4996 + although the developers find it difficult to believe that it accounts
1.4997 + for the observed behavior and suspect a fault in the RTC chip.
1.4998 +
1.4999 +2003-02-13 Kevin Kenny <kennykb@users.sourceforge.net>
1.5000 +
1.5001 + * win/tclWinInit.c: Added conversion from the system encoding to
1.5002 + tcl_platform(user), so that it works with non-ASCII7 user names. [Bug
1.5003 + 685926]
1.5004 +
1.5005 + * doc/tclsh.1: Added language to describe the handling of the
1.5006 + end-of-file character \u001a embedded in a script file. [Bug 685485]
1.5007 +
1.5008 +2003-02-11 Vince Darley <vincentdarley@users.sourceforge.net>
1.5009 +
1.5010 + * tests/fileName.test:
1.5011 + * unix/tclUnixFile.c: fix for [Bug 685445] when using 'glob -l' on
1.5012 + broken symbolic links. Added two new tests for this bug.
1.5013 +
1.5014 +2003-02-11 Kevin Kenny <kennykb@users.sourceforge.net>
1.5015 +
1.5016 + * tests/http.test: Corrected a problem where http-4.14 would fail when
1.5017 + run in an environment with a proxy server. Replaced references to
1.5018 + scriptics.com by tcl.tk.
1.5019 +
1.5020 +2003-02-11 Jeff Hobbs <jeffh@ActiveState.com>
1.5021 +
1.5022 + * tests/lsearch.test:
1.5023 + * generic/tclCmdIL.c (Tcl_LsearchObjCmd): protect against the case
1.5024 + that lsearch -regepx list and pattern objects are equal.
1.5025 +
1.5026 + * tests/stringObj.test:
1.5027 + * generic/tclStringObj.c (Tcl_GetCharLength): correct ascii char
1.5028 + opt of 2002-11-11 to not stop early on \x00. [Bug 684699]
1.5029 +
1.5030 + * tests.parse.test: remove excess EOF whitespace
1.5031 +
1.5032 + * generic/tclParse.c (CommandComplete): more paranoid check to
1.5033 + break on (p >= end) instead of just (p == end).
1.5034 +
1.5035 +2003-02-11 Miguel Sofer <msofer@users.sf.net>
1.5036 +
1.5037 + * generic/tclParse.c (CommandComplete):
1.5038 + * tests/parse.test: fix for [Bug 684744], by Don Porter.
1.5039 +
1.5040 +2003-02-11 Jeff Hobbs <jeffh@ActiveState.com>
1.5041 +
1.5042 + * generic/tclIOUtil.c (Tcl_FSJoinPath, Tcl_FSGetNormalizedPath):
1.5043 + (UpdateStringOfFsPath): revert the cwdLen == 0 check and instead
1.5044 + follow a different code path in Tcl_FSJoinPath.
1.5045 + (Tcl_FSConvertToPathType, Tcl_FSGetNormalizedPath):
1.5046 + (Tcl_FSGetFileSystemForPath): Update string rep of path objects
1.5047 + before freeing the internal object. (darley)
1.5048 +
1.5049 + * tests/fileSystem.test: added test 8.3
1.5050 + * generic/tclIOUtil.c (Tcl_FSGetNormalizedPath):
1.5051 + (UpdateStringOfFsPath): handle the cwdLen == 0 case
1.5052 +
1.5053 + * unix/tclUnixFile.c (TclpMatchInDirectory): simplify the hidden
1.5054 + file match check.
1.5055 +
1.5056 +2003-02-10 Mo DeJong <mdejong@users.sourceforge.net>
1.5057 +
1.5058 + * win/configure:
1.5059 + * win/configure.in: Generate error when attempting to build under
1.5060 + Cygwin. The Cygwin port of Tcl/Tk does not build and people are filing
1.5061 + bug reports under the mistaken impression that someone is actually
1.5062 + maintaining the Cygwin port. A post to comp.lang.tcl asking someone to
1.5063 + volunteer as an area maintainer has generated no results. Closing
1.5064 + [Bugs 680840, 630199, 634772] and marking as "Won't fix".
1.5065 +
1.5066 +2003-02-10 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.5067 +
1.5068 + * doc/append.n: Return value was not documented. [Bug 683188]
1.5069 +
1.5070 +2003-02-10 Vince Darley <vincentdarley@users.sourceforge.net>
1.5071 +
1.5072 + * doc/FileSystem.3:
1.5073 + * generic/tclIOUtil.c:
1.5074 + * generic/tclInt.h:
1.5075 + * tests/fileSystem.test:
1.5076 + * unix/tclUnixFCmd.c:
1.5077 + * unix/tclUnixFile.c:
1.5078 + * win/tclWinFile.c: further filesystem optimization, applying
1.5079 + [Patch 682500]. In particular, these code examples are faster now:
1.5080 + foreach f $flist { if {[file exists $f]} {file stat $f arr;...}}
1.5081 + foreach f [glob -dir $dir *] { # action and/or recursion on $f }
1.5082 + cd $dir
1.5083 + foreach f [glob *] { # action and/or recursion on $f }
1.5084 + cd ..
1.5085 +
1.5086 + * generic/tclTest.c: Fix for [Bug 683181] where test suite left files
1.5087 + in 'tmp'.
1.5088 +
1.5089 +2003-02-08 Jeff Hobbs <jeffh@ActiveState.com>
1.5090 +
1.5091 + * library/safe.tcl: code cleanup of eval and string comp use.
1.5092 +
1.5093 +2003-02-07 Vince Darley <vincentdarley@users.sourceforge.net>
1.5094 +
1.5095 + * win/tclWinFCmd.c: cleanup long lines
1.5096 + * win/tclWinFile.c: sped up pure 'glob' by a factor of 2.5 ('foreach f
1.5097 + [glob *] { file exists $f }' is still slow)
1.5098 + * tests/fileSystem.text:
1.5099 + * tests/fileName.test: added new tests to ensure correct behaviour in
1.5100 + optimized filesystem code.
1.5101 +
1.5102 +2003-02-07 Vince Darley <vincentdarley@users.sourceforge.net>
1.5103 +
1.5104 + * generic/tclTest.c:
1.5105 + * tests/fileSystem.text: fixed test 7.2 to avoid a possible crash, and
1.5106 + not change the pwd.
1.5107 +
1.5108 + * tests/http.text: added comment to test 4.15, that it may fail if you
1.5109 + use a proxy server.
1.5110 +
1.5111 +2003-02-06 Mo DeJong <mdejong@users.sourceforge.net>
1.5112 +
1.5113 + * generic/tclCompCmds.c (TclCompileIncrCmd):
1.5114 + * tests/incr.test: Don't include the text "(increment expression)" in
1.5115 + the errorInfo generated by the compiled version of the incr command
1.5116 + since it does not match the message generated by the non-compiled
1.5117 + version of incr. It is also not possible to match this error output
1.5118 + under Jacl, which does not support a compiler.
1.5119 +
1.5120 +2003-02-06 Mo DeJong <mdejong@users.sourceforge.net>
1.5121 +
1.5122 + * generic/tclExecute.c (TclExecuteByteCode): When an error is
1.5123 + encountered reading the increment value during a compiled call to
1.5124 + incr, add a "(reading increment)" error string to the errorInfo
1.5125 + variable. This makes the errorInfo variable set by the compiled incr
1.5126 + command match the value set by the non-compiled version.
1.5127 + * tests/incr-old.test: Change errorInfo result for the compiled incr
1.5128 + command case to match the modified implementation.
1.5129 + * tests/incr.test: Add tests to make sure the compiled and
1.5130 + non-compiled errorInfo messages are the same.
1.5131 +
1.5132 +2003-02-06 Don Porter <dgp@users.sourceforge.net>
1.5133 +
1.5134 + * library/tcltest/tcltest.tcl: Filename arguments to [outputChannel]
1.5135 + and [errorChannel] (also -outfile and -errfile) were [open]ed but
1.5136 + never [closed]. Also, [cleanupTests] could remove output or error
1.5137 + files. [Bug 676978].
1.5138 + * library/tcltest/pkgIndex.tcl: Bumped to version 2.2.2.
1.5139 +
1.5140 +2003-02-05 Mo DeJong <mdejong@users.sourceforge.net>
1.5141 +
1.5142 + * tests/interp.test:
1.5143 + * tests/set-old.test: Run test cases that depend on hash order through
1.5144 + lsort so that the tests also pass under Jacl. Does not change test
1.5145 + results under Tcl.
1.5146 +
1.5147 +2003-02-04 Vince Darley <vincentdarley@users.sourceforge.net>
1.5148 +
1.5149 + * generic/tclIOUtil.c:
1.5150 + * generic/tclEvent.c:
1.5151 + * generic/tclInt.h:
1.5152 + * mac/tclMacFCmd.c:
1.5153 + * unix/tclUnixFCmd.c:
1.5154 + * win/tclWin32Dll.c:
1.5155 + * win/tclWinFCmd.c:
1.5156 + * win/tclWinInit.c:
1.5157 + * win/tclWinInt.h:
1.5158 + * tests/fileSystem.test: fix to finalization/unloading/encoding issues
1.5159 + to make filesystem much less dependent on encodings for its cleanup,
1.5160 + and therefore allow it to be finalized later in the exit process. This
1.5161 + fixes fileSystem.test-7.1. Also fixed one more bug in setting of
1.5162 + modification dates of files which have undergone cross-platform
1.5163 + copies. [Patch 676271]
1.5164 +
1.5165 + * tests/basic.test:
1.5166 + * tests/exec.test:
1.5167 + * tests/fileName.test:
1.5168 + * tests/io.test: fixed some test failures when tests are run from a
1.5169 + directory containing spaces.
1.5170 +
1.5171 + * tests/fileSystem.test:
1.5172 + * generic/tclTest.c: added regression test for the modification
1.5173 + date setting of cross-platform file copies.
1.5174 +
1.5175 +2003-02-03 Kevin Kenny <kennykb@users.sourceforge.net>
1.5176 +
1.5177 + * generic/tclBasic.c: Changed [trace add command] so that 'rename'
1.5178 + callbacks get fully qualified names of the command. [Bug 651271].
1.5179 + ***POTENTIAL INCOMPATIBILITY***
1.5180 + * tests/trace.test: Modified the test cases for [trace add command] to
1.5181 + expect fully qualified names on the 'rename' callbacks. Added a case
1.5182 + for renaming a proc within a namespace.
1.5183 + * doc/trace.n: Added language about use of fully qualified names in
1.5184 + trace callbacks.
1.5185 +
1.5186 +2003-02-01 Kevin Kenny <kennykb@users.sourceforge.net>
1.5187 +
1.5188 + * generic/tclCompCmds.c: Removed an unused variable that caused
1.5189 + compiler warnings on SGI. [Bug 664379]
1.5190 +
1.5191 + * generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage is
1.5192 + called to report the same package as being loaded in two interps, it
1.5193 + shows up in [info loaded {}] in both of them (previously, it didn't
1.5194 + appear in the static package list in the second.
1.5195 +
1.5196 + * tests/load.test Added regression test for the above bug. [Bug
1.5197 + 670042]
1.5198 +
1.5199 + * generic/tclClock.c: Fixed a bug that incorrectly allowed [clock
1.5200 + clicks {}] and [clock clicks -] to be accepted as if they were [clock
1.5201 + clicks -milliseconds].
1.5202 +
1.5203 + * tests/clock.test: Added regression tests for the above bug. [Bug
1.5204 + 675356]
1.5205 +
1.5206 + * tests/unixNotfy.test: Added cleanup of working files [Bug 675609]
1.5207 +
1.5208 + * doc/Tcl.n: Added headings to the eleven paragraphs, to improve
1.5209 + formatting in the tools that attempt to extract tables of contents
1.5210 + from the manual pages. [Bug 627455]
1.5211 +
1.5212 + * generic/tclClock.c: Expanded mutex protection around the setting of
1.5213 + env(TZ) and the thread-unsafe call to tzset(). [Bug 656660]
1.5214 +
1.5215 +2003-01-31 Don Porter <dgp@users.sourceforge.net>
1.5216 +
1.5217 + * tests/tcltest.test: Cleaned up management of file/directory
1.5218 + creation/deletion to improve "-debug 1" output. [Bug 675614] The
1.5219 + utility [slave] command failed to properly [list]-quote a constructed
1.5220 + [open] command, causing failure when the pathname contained
1.5221 + whitespace. [Bug 678415]
1.5222 +
1.5223 + * tests/main.test: Stopped main.test from deleting existing file.
1.5224 + Test suite should not delete files that already exist. [Bug 675660]
1.5225 +
1.5226 +2003-01-28 Don Porter <dgp@users.sourceforge.net>
1.5227 +
1.5228 + * tests/main.test: Constrain tests that do not work on Windows. [Bug
1.5229 + 674387]
1.5230 +
1.5231 +2003-01-28 Vince Darley <vincentdarley@users.sourceforge.net>
1.5232 +
1.5233 + * generic/tclIOUtil.c: fix to setting modification date in
1.5234 + TclCrossFilesystemCopy. Also added 'panic' in
1.5235 + Tcl_FSGetFileSystemForPath under illegal calling circumstances which
1.5236 + lead to hard-to-track-down bugs.
1.5237 +
1.5238 + * generic/tclTest.c: added test suite code to allow exercising a
1.5239 + vfs-crash-on-exit bug in Tcl's finalization caused by the encodings
1.5240 + being cleaned up before unloading occurs.
1.5241 + * tests/fileSystem.test: added new 'knownBug' test 7.1 to demonstrate
1.5242 + the crash on exit.
1.5243 +
1.5244 +2003-01-28 Mo DeJong <mdejong@users.sourceforge.net>
1.5245 +
1.5246 + * generic/tcl.h: Add TCL_PREFIX_IDENT and TCL_DEBUG_IDENT, used only
1.5247 + by TclpCreateProcess.
1.5248 + * unix/Makefile.in: Define TCL_DBGX.
1.5249 + * win/Makefile.in: Define TCL_DBGX.
1.5250 + * win/tclWinPipe.c (TclpCreateProcess): Check that the Tcl pipe dll
1.5251 + actually exists in the Tcl bin directory and panic if it is not
1.5252 + found. Incorporate TCL_DBGX into the Tcl pipe dll name. This fixes a
1.5253 + really mysterious error that would show up when exec'ing a 16 bit
1.5254 + application under Win95 or Win98 when Tcl was compiled with symbols.
1.5255 + The error seemed to indicate that the executable could not be found,
1.5256 + but it was actually the Tcl pipe dll that could not be found.
1.5257 +
1.5258 +2003-01-26 Mo DeJong <mdejong@users.sourceforge.net>
1.5259 +
1.5260 + * win/README: Update msys+mingw URL to release 6. This version bundles
1.5261 + gcc 3.
1.5262 +
1.5263 +2003-01-26 Mo DeJong <mdejong@users.sourceforge.net>
1.5264 +
1.5265 + * win/configure: Regen.
1.5266 + * win/configure.in: Add test that checks to see if the compiler can
1.5267 + cast to a union type.
1.5268 + * win/tclWinTime.c: Squelch compiler warning about union initializer
1.5269 + by casting to union type when compiling with gcc.
1.5270 +
1.5271 +2003-01-25 Mo DeJong <mdejong@users.sourceforge.net>
1.5272 +
1.5273 + * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel): Invoke
1.5274 + TclpCutFileChannel and TclpSpliceFileChannel.
1.5275 + * generic/tclInt.h: Declare TclpCutFileChannel and
1.5276 + TclpSpliceFileChannel.
1.5277 + * unix/tclUnixChan.c (FileCloseProc, TclpOpenFileChannel,
1.5278 + (Tcl_MakeFileChannel, TclpCutFileChannel,
1.5279 + (TclpSpliceFileChannel): Implement thread load data cut and splice for
1.5280 + file channels. This avoids an invalid memory ref when compiled with
1.5281 + -DDEPRECATED.
1.5282 + * win/tclWinChan.c (FileCloseProc, TclpCutFileChannel,
1.5283 + (TclpSpliceFileChannel): Implement thread load data cut and splice for
1.5284 + file channels. This avoids an invalid memory ref that was showing up
1.5285 + in the thread extension.
1.5286 +
1.5287 +2003-01-25 Mo DeJong <mdejong@users.sourceforge.net>
1.5288 +
1.5289 + * win/tclWin32Dll.c (TclpCheckStackSpace, squelch_warnings):
1.5290 + * win/tclWinChan.c (Tcl_MakeFileChannel, squelch_warnings):
1.5291 + * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, squelch_warnings):
1.5292 + Re-implement inline ASM SEH handlers for gcc. The esp and ebp
1.5293 + registers are now saved on the stack instead of in global variables so
1.5294 + that the code is thread safe. Add additional checks when TCL_MEM_DEBUG
1.5295 + is defined to be sure the values were recovered from the stack
1.5296 + properly. Remove squelch_warnings functions and add a dummy call in
1.5297 + the handler methods to squelch compiler warnings.
1.5298 +
1.5299 +2003-01-25 Mo DeJong <mdejong@users.sourceforge.net>
1.5300 +
1.5301 + * win/configure:
1.5302 + * win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that
1.5303 + no alloca function is found in malloc.h and we are compiling with
1.5304 + GCC. Remove HAVE_NO_ALLOC_DECL define.
1.5305 + * win/tclWin32Dll.c (TclpCheckStackSpace): Don't define alloca as a
1.5306 + cdecl function. Doing this caused a tricky runtime bug because the
1.5307 + _alloca function expects the size argument to be passed in a register
1.5308 + and not on the stack. To fix this problem, we use inline ASM when
1.5309 + compiling with gcc to invoke _alloca with the size argument loaded
1.5310 + into a register.
1.5311 +
1.5312 +2003-01-24 Jeff Hobbs <jeffh@ActiveState.com>
1.5313 +
1.5314 + * win/tclWinDde.c (Dde_Init): clarified use of tsdPtr.
1.5315 + (DdeServerProc): better refcount handling of returnPackagePtr.
1.5316 +
1.5317 + * generic/tclEvent.c (Tcl_Finalize): revert finalize change on
1.5318 + 2002-12-04 to correct the issue with extensions that have TSD needing
1.5319 + to finalize that before they are unloaded. This issue needs further
1.5320 + clarification.
1.5321 +
1.5322 + * tests/unixFCmd.test: only do groups check on unix
1.5323 +
1.5324 +2003-01-24 Vince Darley <vincentdarley@users.sourceforge.net>
1.5325 +
1.5326 + * generic/tclStringObj.c: proper fixes for Tcl_SetObjLength and
1.5327 + Tcl_AttemptSetObjectLength dealing with string objects with both
1.5328 + pure-unicode and normal internal representations. Previous fix didn't
1.5329 + handle all cases correctly.
1.5330 + * generic/tclIO.c: Add 'Tcl_GetString()' to ensure the object has a
1.5331 + valid 'objPtr->bytes' field before manipulating it directly.
1.5332 +
1.5333 + This fixes [Bug 635200] and [Bug 671138], but may reduce performance
1.5334 + of Unicode string handling in some cases. A further patch will be
1.5335 + applied to address this, once the code is known to be correct.
1.5336 +
1.5337 +2003-01-24 Mo DeJong <mdejong@users.sourceforge.net>
1.5338 +
1.5339 + * win/configure: Regen.
1.5340 + * win/configure.in: Add test to see if alloca is undefined in
1.5341 + malloc.h.
1.5342 + * win/tclWin32Dll.c (TclpCheckStackSpace): Rework the SEH exception
1.5343 + handler logic to avoid using the stack since alloca will modify the
1.5344 + stack. This was causing a nasty bug that would set the exception
1.5345 + handler to 0 because it tried to pop the previous exception handler
1.5346 + off the top of the stack.
1.5347 +
1.5348 +2003-01-23 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.5349 +
1.5350 + * doc/lset.n: Fixed fault in return values from lset in documentation
1.5351 + examples [Bug 658463] and tidied up a bit at the same time.
1.5352 +
1.5353 +2003-01-21 Joe English <jenglish@users.sourceforge.net>
1.5354 + * doc/namespace.n (namespace inscope): Clarified documentation
1.5355 + [Patch 670110]
1.5356 +
1.5357 +2003-01-21 Mo DeJong <mdejong@users.sourceforge.net>
1.5358 +
1.5359 + * win/configure: Regen.
1.5360 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Set SHLIB_SUFFIX so that
1.5361 + TCL_SHLIB_SUFFIX will be set to a useful value in the generated
1.5362 + tclConfig.sh. Set SHLIB_LD_LIBS to "" or '${LIBS}' based on the
1.5363 + --enable-shared flag. This matches the UNIX implementation.
1.5364 +
1.5365 +2003-01-18 Jeff Hobbs <jeffh@ActiveState.com>
1.5366 +
1.5367 + * generic/tclCkalloc.c: change %ud to %u as appropriate.
1.5368 +
1.5369 +2003-01-17 Mo DeJong <mdejong@users.sourceforge.net>
1.5370 +
1.5371 + * win/tclWinDde.c (DdeServerProc): Deallocate the Tcl_Obj returned by
1.5372 + ExecuteRemoteObject if it was not saved in a connection object.
1.5373 +
1.5374 +2003-01-17 Mo DeJong <mdejong@users.sourceforge.net>
1.5375 +
1.5376 + * generic/tcl.h: Revert earlier change that defined TCL_WIDE_INT_TYPE
1.5377 + as long long and TCL_LL_MODIFIER as L when compiling with mingw. This
1.5378 + change ended up causing some test case failures when compiling with
1.5379 + mingw.
1.5380 + * generic/tclObj.c (UpdateStringOfWideInt): Describe the warning
1.5381 + generated by mingw and why it needs to be ignored so that someone is
1.5382 + not tempted to "fix" this problem again in the future.
1.5383 +
1.5384 +2003-01-16 Vince Darley <vincentdarley@users.sourceforge.net>
1.5385 +
1.5386 + * generic/tclStringObj.c: Tcl_SetObjLength fix for when the object has
1.5387 + a unicode string rep. Fixes [Bug 635200]
1.5388 + * tests/stringObj.test: removed 'knownBug' constraint from test 14.1
1.5389 + now that this bug is fixed.
1.5390 +
1.5391 + * generic/tclInt.h:
1.5392 + * generic/tclBasic.c:
1.5393 + * generic/tclCmdMZ.z:
1.5394 + * tests/trace.test: execution and command tracing bug fixes and
1.5395 + cleanup. In particular fixed [Bugs 655645, 615043, 571385]
1.5396 + - fixed some subtle cleanup problems with tracing. This required
1.5397 + replacing Tcl_Preserve/Tcl_Release with a more robust refCount
1.5398 + approach. Solves at least one known crash caused by memory
1.5399 + corruption.
1.5400 + - fixed some confusion in the code between new style traces (Tcl
1.5401 + 8.4) and the very limited 'Tcl_CreateTrace' which existed before.
1.5402 + - made behaviour consistent with documentation (several tests even
1.5403 + contradicted the documentation before).
1.5404 + - fixed some minor error message details
1.5405 + - added a number of new tests
1.5406 +
1.5407 +2003-01-16 Jeff Hobbs <jeffh@ActiveState.com>
1.5408 +
1.5409 + * win/tclWinSerial.c (SerialOutputProc): add casts for bytesWritten to
1.5410 + allow strict compilation (no warnings).
1.5411 +
1.5412 + * tests/winDde.test:
1.5413 + * win/tclWinDde.c (Tcl_DdeObjCmd): Prevent crash when empty service
1.5414 + name is passed to 'dde eval' and goto errorNoResult in request and
1.5415 + poke error cases to free up any allocated data.
1.5416 +
1.5417 +2003-01-16 Mo DeJong <mdejong@users.sourceforge.net>
1.5418 +
1.5419 + * win/tclWin32Dll.c (squelch_warnings): Squelch compiler warnings from
1.5420 + SEH ASM code.
1.5421 + * win/tclWinChan.c (squelch_warnings): Squelch compiler warnings from
1.5422 + SEH ASM code.
1.5423 + * win/tclWinDde.c: Add casts to avoid compiler warnings. Pass pointer
1.5424 + to DWORD instead of int to avoid compiler warnings.
1.5425 + * win/tclWinFCmd.c (squelch_warnings): Add casts and fixup decls to
1.5426 + avoid compiler warnings. Squelch compiler warnings from SEH ASM code.
1.5427 + * win/tclWinFile.c: Add casts and fixup decls to avoid compiler
1.5428 + warnings. Remove unused variable.
1.5429 + * win/tclWinNotify.c: Declare as DWORD instead of int to avoid
1.5430 + compiler warning.
1.5431 + * win/tclWinReg.c: Add casts to avoid compiler warning. Fix assignment
1.5432 + in if expression bug.
1.5433 + * win/tclWinSerial.c: Add casts to avoid compiler warnings. Remove
1.5434 + unused variable.
1.5435 + * win/tclWinSock.c: Add casts and fixup decls to avoid compiler
1.5436 + warnings.
1.5437 +
1.5438 +2003-01-14 Jeff Hobbs <jeffh@ActiveState.com>
1.5439 +
1.5440 + * generic/tclClock.c (FormatClock): corrected typo that incorrectly
1.5441 + conditionally defined savedTZEnv and savedTimeZone.
1.5442 +
1.5443 +2003-01-13 Mo DeJong <mdejong@users.sourceforge.net>
1.5444 +
1.5445 + Fix mingw build problems and compiler warnings.
1.5446 +
1.5447 + * generic/tcl.h: Add if defined(__MINGW32__) check to code that sets
1.5448 + the TCL_WIDE_INT_TYPE and TCL_LL_MODIFIER.
1.5449 + * generic/tclClock.c (FormatClock): Don't define savedTimeZone and
1.5450 + savedTZEnv if we are not going to use them.
1.5451 + * generic/tclEnv.c: Add cast to avoid warning.
1.5452 + * win/tclWinChan.c: Use DWORD instead of int to avoid compiler warning
1.5453 + * win/tclWinThrd.c: Only define allocLock, allocLockPtr, and dataKey
1.5454 + when TCL_THREADS is defined. This avoid a compiler warning about
1.5455 + unused variables.
1.5456 +
1.5457 +2003-01-12 Mo DeJong <mdejong@users.sourceforge.net>
1.5458 +
1.5459 + * win/README: Update msys + mingw URL, the new release includes the
1.5460 + released 1.0.8 version of msys which includes a number of bug fixes.
1.5461 +
1.5462 +2003-01-12 Mo DeJong <mdejong@users.sourceforge.net>
1.5463 +
1.5464 + * win/configure: Regen.
1.5465 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Pull in addition of shell32.lib to
1.5466 + LIBS_GUI that was added to the Tk tcl.m4 but never made it back into
1.5467 + the Tcl version.
1.5468 +
1.5469 +2003-01-12 Mo DeJong <mdejong@users.sourceforge.net>
1.5470 +
1.5471 + * generic/tcl.h: Skip Tcl's define of CHAR, SHORT, and LONG when
1.5472 + HAVE_WINNT_IGNORE_VOID is defined. This avoids a bunch of compiler
1.5473 + warnings when building with Cygwin or Mingw.
1.5474 + * win/configure: Regen.
1.5475 + * win/configure.in: Define HAVE_WINNT_IGNORE_VOID when we detect a
1.5476 + winnt.h that still defines CHAR, SHORT, and LONG when VOID has already
1.5477 + been defined.
1.5478 + * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst the TCL_DEFS loaded from
1.5479 + tclConfig.sh so that Tcl defines can make it into the Tk Makefile.
1.5480 +
1.5481 +2003-01-12 Mo DeJong <mdejong@users.sourceforge.net>
1.5482 +
1.5483 + * win/configure: Regen.
1.5484 + * win/configure.in: Check for typedefs like LPFN_ACCEPT in winsock2.h
1.5485 + and define HAVE_NO_LPFN_DECLS if not found.
1.5486 + * win/tclWinSock.c: Define LPFN_* typedefs if HAVE_NO_LPFN_DECLS is
1.5487 + defined. This fixes the build under Mingw and Cygwin, it was broken by
1.5488 + the changes made on 2002-11-26.
1.5489 +
1.5490 +2003-01-10 Vince Darley <vincentdarley@users.sourceforge.net>
1.5491 +
1.5492 + * generic/tclIOUtil.c:
1.5493 + * win/tclWinInt.h:
1.5494 + * win/tclWinInit.c: fix to new WinTcl crash on exit with vfs,
1.5495 + introduced on 2002-12-06. Encodings must be cleaned up after the
1.5496 + filesystem.
1.5497 +
1.5498 + * win/makefile.vc: fix to minor VC++ 5.2 syntax problem
1.5499 +
1.5500 +2003-01-09 Don Porter <dgp@users.sourceforge.net>
1.5501 +
1.5502 + * generic/tclCompCmds.c (TclCompilerReturnCmd): Corrected off-by-one
1.5503 + problem with recent commit. [Bug 633204]
1.5504 +
1.5505 +2003-01-09 Vince Darley <vincentdarley@users.sourceforge.net>
1.5506 +
1.5507 + * generic/tclFileName.c: remove unused variable 'macSpecialCase' [Bug
1.5508 + 664749]
1.5509 +
1.5510 + * generic/tclIOUtil.c:
1.5511 + * generic/tclInt.h:
1.5512 + * unix/tclUnixFile.c:
1.5513 + * mac/tclMacFile.c:
1.5514 + * win/tclWinFile.c:
1.5515 + * win/tclWinInt.h:
1.5516 + * win/tclWin32Dll.c:
1.5517 + * tests/cmdAH.test: fix to non-ascii chars in paths when setting mtime
1.5518 + and atime through 'file (a|m)time $path $time'. [Bug 634151]
1.5519 +
1.5520 +2003-01-08 Don Porter <dgp@users.sourceforge.net>
1.5521 +
1.5522 + * generic/tclExecute.c (TclExprFloatError): Use the IS_NAN macro for
1.5523 + greater clarity of code.
1.5524 +
1.5525 +2003-01-07 Don Porter <dgp@users.sourceforge.net>
1.5526 +
1.5527 + * generic/tclCompCmds.c (TclCompileReturnCmd):
1.5528 + * tests/compile.test: Corrects failure of bytecompiled [catch
1.5529 + {return}] to have result TCL_RETURN (not TCL_OK) [Bug 633204]. This
1.5530 + patch is a workaround for 8.4.X. A new opcode INST_RETURN is a better
1.5531 + long term solution for 8.5 and later.
1.5532 +
1.5533 +2003-01-04 David Gravereaux <davygrvy@pobox.com>
1.5534 +
1.5535 + * win/makefile.vc:
1.5536 + * win/rules.vc: Fixed INSTALLDIR macro problem that blanked itself by
1.5537 + accident causing the install target to put the tree at the root of the
1.5538 + drive built on. Whoops..
1.5539 +
1.5540 + Renamed the 'linkexten' option to be 'staticpkg'. Added 'thrdalloc' to
1.5541 + allow the switching _on_ of the thread allocator. Under testing, I
1.5542 + found it not to be benificial under windows for the purpose of the
1.5543 + application I was using it for. It was more important for this app
1.5544 + that resources for tcl threads be returned to the system rather than
1.5545 + saved/moved to the global recycler. Be extra clean or extra fast for
1.5546 + the default threaded build? Let's move to clean and allow it to be
1.5547 + switched on for users who find it benificial for their use of threads.
1.5548 +
1.5549 +2002-12-18 David Gravereaux <davygrvy@pobox.com>
1.5550 +
1.5551 + * win/makefile.vc: some uses of xcopy swapped to the @$(CPY) macro.
1.5552 + Reported by Joe Mistachkin <joe@mistachkin.com>.
1.5553 +
1.5554 +2002-12-17 Jeff Hobbs <jeffh@ActiveState.com>
1.5555 +
1.5556 + * generic/tclNotify.c (TclFinalizeNotifier, Tcl_SetServiceMode):
1.5557 + (Tcl_ThreadAlert): Check that the stub functions are non-NULL before
1.5558 + calling them. They could be set to NULL by Tcl_SetNotifier.
1.5559 +
1.5560 +2002-12-16 David Gravereaux <davygrvy@pobox.com>
1.5561 +
1.5562 + * generic/tclPipe.c (TclCleanupChildren):
1.5563 + * tests/winPipe.test:
1.5564 + * win/tclWinPipe.c (Tcl_WaitPid):
1.5565 + * win/tclWinTest.c: Gave Tcl_WaitPid the ability to return a Win32
1.5566 + exception code translated into a posix style SIG*. This allows [close]
1.5567 + to report "CHILDKILLED" without the meaning getting lost in a
1.5568 + truncated exit code. In TclCleanupChildren(), TclpGetPid() had to get
1.5569 + moved to before Tcl_WaitPid() as the the handle is removed from the
1.5570 + list taking away the ability to get the process id after the wait is
1.5571 + done. This shouldn't effect the unix implimentaion unless waitpid is
1.5572 + called with a pid of zero, meaning "any". I don't think it is..
1.5573 +
1.5574 +2002-12-13 Don Porter <dgp@users.sourceforge.net>
1.5575 +
1.5576 + * unix/configure.in: Updated configure of CVS snapshots to reflect
1.5577 + * win/configure.in: the 8.4.1.1 patchlevel.
1.5578 +
1.5579 + * unix/configure: autoconf
1.5580 + * win/configure autoconf
1.5581 +
1.5582 +2002-12-11 Don Porter <dgp@users.sourceforge.net>
1.5583 +
1.5584 + * generic/tclProc.c (ProcessProcResultCode): Fix failure to propagate
1.5585 + negative return codes up the call stack. [Bug 647307]
1.5586 + * tests/proc.test (proc-6.1): Test for Bug 647307
1.5587 +
1.5588 + * generic/tclParseExpr.c (TclParseInteger): Return 1 for the
1.5589 + string "0x" (recognize leading "0" as an integer). [Bug 648441].
1.5590 + * tests/parseExpr.test (parseExpr-19.1): Test for Bug 648441.
1.5591 +
1.5592 +2002-12-09 Jeff Hobbs <jeffh@ActiveState.com>
1.5593 +
1.5594 + * win/tclWinThrd.c (TclpMasterUnlock):
1.5595 + * generic/tclThread.c (TclFinalizeThreadData): TclpMasterUnlock must
1.5596 + exist and be called unconditional of TCL_THREADS. [Bug 651139]
1.5597 +
1.5598 +2002-12-08 David Gravereaux <davygrvy@pobox.com>
1.5599 +
1.5600 + * win/tclWinSock.c (SocketThreadExitHandler, InitSockets): Check that
1.5601 + the tsdPtr is valid before dereferencing as we call it from the exit
1.5602 + handler, too [Bug 650353]. Another WSAStartup() loaded version
1.5603 + comparison byte swap issue fixed. Although 0x0101 byte swapped is
1.5604 + still 0x0101, properly claiming which is major/minor is more correct.
1.5605 +
1.5606 +2002-12-06 Jeff Hobbs <jeffh@ActiveState.com>
1.5607 +
1.5608 + * generic/tclStubInit.c: regen
1.5609 + * generic/tclIntPlatDecls.h: regen
1.5610 + * generic/tclInt.decls: added TclWinResetInterface
1.5611 +
1.5612 + * win/tclWin32Dll.c (TclWinResetInterfaces):
1.5613 + * win/tclWinInit.c (TclpSetInitialEncodings, WinEncodingsCleanup):
1.5614 + add exit handler that resets the encoding information to a state where
1.5615 + we can reuse Tcl. Following these changes, it is possible to reuse Tcl
1.5616 + (following Tcl_FindExecutable or Tcl_CreateInterp) following a
1.5617 + Tcl_Finalize.
1.5618 +
1.5619 + * generic/tclIOUtil.c (TclFinalizeFilesystem): reset statics to their
1.5620 + original values on finalize to allow reuse of the library.
1.5621 +
1.5622 +2002-12-04 David Gravereaux <davygrvy@pobox.com>
1.5623 +
1.5624 + * win/tclWinPipe.c: reverted back to -r1.27 due to numerous test
1.5625 + failures that need to be resolved first. The idea was good, but the
1.5626 + details aren't.
1.5627 +
1.5628 +2002-12-04 David Gravereaux <davygrvy@pobox.com>
1.5629 +
1.5630 + * win/tclWinPipe.c (Tcl_WaitPid): When a process exits with an
1.5631 + exception, pass this notice on to the caller with a SIG* code rather
1.5632 + than truncating the exit code and missing the meaning. This allows
1.5633 + TclCleanupChildren() to report "CHILDKILLED".
1.5634 +
1.5635 + This has a different behavior than unix in that closing the read pipe
1.5636 + to a process sends the SIGPIPE signal which is returned as a SIGPIPE
1.5637 + exit status. On windows, we send the process a CTRL_BREAK_EVENT and
1.5638 + get back a CONTROL_C_EXIT which is documented to mean a SIGINT which
1.5639 + seems wrong as a system, but is the correct exit status.
1.5640 +
1.5641 +2002-12-04 Vince Darley <vincentdarley@users.sourceforge.net>
1.5642 +
1.5643 + * generic/tclIOUtil.c: fix to redirected 'load' in virtual filesystem
1.5644 + for some Unix systems.
1.5645 +
1.5646 + * generic/tclEvent.c: the filesystem must be cleaned up before the
1.5647 + encoding subsystem because it needs access to encodings. Fixes crash
1.5648 + on exit observed in embedded applications.
1.5649 +
1.5650 + * generic/tclTestObj.c: patch omitted from previous change of
1.5651 + 2002-11-13
1.5652 +
1.5653 +2002-12-03 Jeff Hobbs <jeffh@ActiveState.com>
1.5654 +
1.5655 + * generic/tclStubLib.c (Tcl_InitStubs): prevent the cached check of
1.5656 + tclStubsPtr to allow for repeated load/unload of the Tcl dll by
1.5657 + hosting apps. [Bug 615304]
1.5658 +
1.5659 +2002-12-03 David Gravereaux <davygrvy@pobox.com>
1.5660 +
1.5661 + * win/tclAppInit.c (sigHandler): Protect from trying to close a NULL
1.5662 + handle.
1.5663 +
1.5664 + * win/tclWinPipe.c (PipeClose2Proc, TclpCreateProcess): Send a real
1.5665 + Win32 signal (CTRL_C_EVENT) when the read channel is brought down to
1.5666 + alert the child to close on its side. Start the process with
1.5667 + CREATE_NEW_PROCESS_GROUP to allow the ability to send these signals.
1.5668 + The following test case now brings down the child without the use of
1.5669 + an external [kill] command.
1.5670 +
1.5671 + % set p [open "|[info name]" w+]
1.5672 + file8d5380
1.5673 + % pid $p
1.5674 + 2876
1.5675 + % close $p <- now doesn't block in Tcl_WaitPid()
1.5676 + %
1.5677 +
1.5678 + * win/tclWinPipe.c (PipeClose2Proc): Changed CTRL_C_EVENT to
1.5679 + CTRL_BREAK_EVENT as it can't be ignored by the child and proved to
1.5680 + work on [open "|netstat 1" w+] where CTRL_C_EVENT didn't.
1.5681 +
1.5682 +2002-11-27 David Gravereaux <davygrvy@pobox.com>
1.5683 +
1.5684 + * win/tclWinPort.h: Don't turn off winsock prototypes! TclX didn't
1.5685 + like it. Even though the core doesn't use the prototypes, do offer
1.5686 + them.
1.5687 +
1.5688 + * win/tclWinSock.c: Removed shutdown() from the function table as it
1.5689 + wasn't referenced anywhere and cleaned-up some casting that that
1.5690 + wasn't needed.
1.5691 +
1.5692 + * win/tclWinSock.c: WSAStartup() loaded version comparison error which
1.5693 + resulted in 2.0 looking less than 1.1.
1.5694 +
1.5695 + * win/tclWinChan.c (Tcl_MakeFileChannel): return of DuplicateHandle()
1.5696 + incorrectly used [Bug 618852].
1.5697 +
1.5698 +2002-11-26 Jeff Hobbs <jeffh@ActiveState.com>
1.5699 +
1.5700 + * generic/tclEncoding.c (TclFinalizeEncodingSubsystem): properly
1.5701 + cleanup all encodings by using Tcl_FirstHashEntry in the while loop.
1.5702 +
1.5703 + * unix/Makefile.in (valgrind): add simple valgrind target
1.5704 +
1.5705 + * tests/exec.test: unset path var to allow singleproc testing
1.5706 +
1.5707 + * generic/tclInterp.c (AliasCreate): preserve/release interps to
1.5708 + prevent possible FMR error in bad alias cases.
1.5709 +
1.5710 +2002-11-26 David Gravereaux <davygrvy@pobox.com>
1.5711 +
1.5712 + * win/tclWinPort.h:
1.5713 + * win/tclWinSock.c: This patch does two things:
1.5714 +
1.5715 + 1) Cleans-up the winsock typedefs by using the typedefs provided by
1.5716 + winsock2.h. This has no effect on how winsock is initialized; just
1.5717 + makes the source code easier to read. [Patch 561305, 561301]
1.5718 +
1.5719 + 2) Revamps how the socket message handler thread is brought up and
1.5720 + down to allow for cleaner exits without the use of TerminateThread().
1.5721 + TerminateThread is evil. No attempt has been made to resolve [Bug
1.5722 + 593810] which may need a new channel driver version for adding a
1.5723 + registering function within the transfered thread to init the handler
1.5724 + thread. IOW, initialization of the TSD structure is getting bypassed
1.5725 + through the thread extension's [thread::transfer] command.
1.5726 +
1.5727 +2002-11-26 David Gravereaux <davygrvy@pobox.com>
1.5728 +
1.5729 + * win/tclWinConsole.c:
1.5730 + * win/tclWinPipe.c:
1.5731 + * win/tclWinSerial.c:
1.5732 + * win/tclWinSock.c:
1.5733 + * win/tclWinThrd.c:
1.5734 + * win/tclWinTime.c: General cleanup of all worker threads used by the
1.5735 + channel drivers. Eliminates the normal case where the worker thread is
1.5736 + terminated ('cept the winsock one). Instead, use kernel events to
1.5737 + signal a clean exit. Only when the worker thread is blocked on an I/O
1.5738 + call is the thread terminated. Essentially, this makes all other
1.5739 + channel worker threads behave like the PipeReaderThread() function for
1.5740 + it's cleaner exit behavior. This appears to fix [Bug 597924] but needs
1.5741 + 3rd party confirmation to close the issue.
1.5742 +
1.5743 +2002-11-26 Mo DeJong <mdejong@users.sourceforge.net>
1.5744 +
1.5745 + * win/README: Update msys build env URL. This release #4 build both
1.5746 + tcl and tk without problems.
1.5747 +
1.5748 +2002-11-22 Jeff Hobbs <jeffh@ActiveState.com>
1.5749 +
1.5750 + * library/init.tcl: code cleanup to reduce use of
1.5751 + * library/opt/optparse.tcl: string compare
1.5752 +
1.5753 + * tests/interp.test: interp-14.4
1.5754 + * generic/tclInterp.c (TclPreventAliasLoop): prevent seg fault when
1.5755 + creating an alias command over the interp name. [Bug 641195]
1.5756 +
1.5757 +2002-11-18 Jeff Hobbs <jeffh@ActiveState.com>
1.5758 +
1.5759 + * generic/tclUtil.c (SetEndOffsetFromAny): handle integer offset
1.5760 + after the "end-" prefix.
1.5761 +
1.5762 + * generic/get.test:
1.5763 + * generic/string.test:
1.5764 + * generic/tclObj.c (SetIntFromAny, SetWideIntFromAny):
1.5765 + * generic/tclGet.c (TclGetLong, Tcl_GetInt): simplify sign handling
1.5766 + before calling strtoul(l). [Bug 634856]
1.5767 +
1.5768 +2002-11-18 David Gravereaux <davygrvy@pobox.com>
1.5769 +
1.5770 + * win/tclWinThrd.c (Tcl_CreateThread/TclpThreadExit): Fixed improper
1.5771 + compiler macros that missed the VC++ compiler. This resulted in VC++
1.5772 + builds using CreateThread()/ExitThread() in place of the proper
1.5773 + _beginthreadex()/_endthreadex(). This was a large error and am
1.5774 + surprised I missed seeing it earlier.
1.5775 +
1.5776 +2002-11-13 Jeff Hobbs <jeffh@ActiveState.com>
1.5777 +
1.5778 + * generic/regexpComp.test: added tests 22.*
1.5779 + * generic/tclCompCmds.c (TclCompileRegexpCmd): add left and right
1.5780 + anchoring (^ and $) recognition and check starting or ending .* to
1.5781 + extend the number of REs that can be compiled to string match or
1.5782 + string equal.
1.5783 +
1.5784 +2002-11-13 Vince Darley <vincentdarley@users.sourceforge.net>
1.5785 +
1.5786 + * generic/tclCmdMZ.c:
1.5787 + * tests/trace.test: applied patch from Hemang Levana to fix [Bug
1.5788 + 615043] in execution traces with 'return -code error'.
1.5789 +
1.5790 + * generic/tclTestObj.c:
1.5791 + * tests/stringObj.test: added 'knownBug' test for [Bug 635200]
1.5792 + * generic/tclStringObj.c: corrected typos in comments
1.5793 +
1.5794 + * generic/tclFileName.c:
1.5795 + * tests/fileName.test: applied patch for bug reported against tclvfs
1.5796 + concerning handling of Windows serial ports like 'com1', 'lpt3' by the
1.5797 + virtual filesystem code.
1.5798 +
1.5799 + * doc/RegExp.3: clarification of the 'extendMatch' return values.
1.5800 +
1.5801 +2002-11-11 Jeff Hobbs <jeffh@ActiveState.com>
1.5802 +
1.5803 + * generic/tclUtil.c (Tcl_Backslash): use TclUtfToUniChar.
1.5804 + (Tcl_StringCaseMatch): use TclUtfToUniChar and add further
1.5805 + optimizations for the one-byte/char case.
1.5806 +
1.5807 + * generic/tclUtf.c: make use of TclUtfToUniChar macro throughout the
1.5808 + functions, and add extra optimization to Tcl_NumUtfChars for
1.5809 + one-byte/char case.
1.5810 +
1.5811 + * generic/tclVar.c (DisposeTraceResult, CallVarTraces): add proper
1.5812 + static declarations.
1.5813 +
1.5814 + * generic/tclStringObj.c (Tcl_GetCharLength): optimize for the ascii
1.5815 + char case.
1.5816 + (Tcl_GetUniChar): remove unnecessary use of Tcl_UtfToUniChar.
1.5817 + (FillUnicodeRep): Use TclUtfToUniChar.
1.5818 +
1.5819 + * generic/tclHash.c (HashStringKey): move string++ lower to save an
1.5820 + instruction.
1.5821 +
1.5822 + * generic/tclExecute.c (TclExecuteByteCode): improve INST_STR_CMP to
1.5823 + use memcmp in the one-byte/char case, also use direct index for
1.5824 + INST_STR_INDEX in that case.
1.5825 +
1.5826 + * generic/tclEncoding.c (UtfToUtfProc, UtfToUnicodeProc):
1.5827 + (TableFromUtfProc, EscapeFromUtfProc): Use TclUtfToUniChar.
1.5828 + (UnicodeToUtfProc, TableToUtfProc): add 1-byte char optimizations
1.5829 + for Tcl_UniCharToUtf call. These improve encoded channel conversion
1.5830 + speeds by up to 20%.
1.5831 +
1.5832 + * tests/split.test: added 1-char string split tests
1.5833 + * generic/tclCmdMZ.c (Tcl_SplitObjCmd): Use TclUtfToUniChar. Also
1.5834 + added a special case for single-ascii-char splits.
1.5835 + (Tcl_StringObjCmd): Use TclUtfToUniChar. For STR_RANGE, support
1.5836 + getting ranges of ByteArrays (reverts change from 2000-05-26).
1.5837 + (TraceExecutionProc) add proper static declaration.
1.5838 +
1.5839 + * generic/tclInt.h: add macro version of Tcl_UtfToUniChar
1.5840 + (TclUtfToUniChar) that does the one-byte utf-char check without
1.5841 + calling Tcl_UtfToUniChar, for use by the core. This brings notable
1.5842 + speedups for primarily ascii string handling.
1.5843 +
1.5844 + * generic/tcl.h (TCL_PATCH_LEVEL): bump to 8.4.1.1 for patchlevel
1.5845 + only. This interim number will only be reflected by [info patchlevel]
1.5846 +
1.5847 +2002-11-11 Kevin Kenny <kennykb@acm.org>
1.5848 +
1.5849 + * doc/Tcl.n: Corrected indentation of the new language. Oops.
1.5850 +
1.5851 +2002-11-10 Kevin Kenny <kennykb@acm.org>
1.5852 +
1.5853 + * doc/Tcl.n: Added language to the Endekalogue to make it clear that
1.5854 + substitutions always take place from left to right. [Bug 635644]
1.5855 +
1.5856 +2002-11-06 Mo DeJong <mdejong@users.sourceforge.net>
1.5857 +
1.5858 + * changes: Note TclInExit TclInThreadExit changes.
1.5859 + * generic/tclEvent.c (TclInExit, TclInThreadExit):
1.5860 + Split out functionality of TclInExit to make it clear which one should
1.5861 + be called in each situation.
1.5862 + * generic/tclInt.decls: Declare TclInThreadExit.
1.5863 + * generic/tclIntDecls.h: Regen.
1.5864 + * generic/tclStubInit.c: Regen.
1.5865 + * mac/tclMacChan.c (StdIOClose):
1.5866 + * unix/tclUnixChan.c (FileCloseProc):
1.5867 + * win/tclWinChan.c (FileCloseProc):
1.5868 + * win/tclWinConsole.c (ConsoleCloseProc):
1.5869 + * win/tclWinPipe.c (TclpCloseFile):
1.5870 + * win/tclWinSerial.c (SerialCloseProc): Invoke the new TclInThreadExit
1.5871 + method instead of TclInExit.
1.5872 +
1.5873 +2002-11-06 Mo DeJong <mdejong@users.sourceforge.net>
1.5874 +
1.5875 + * unix/configure: Regen.
1.5876 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Generate a fatal configure error if
1.5877 + no ar program can be found on the path. [Bug 582039]
1.5878 + * win/configure: Regen.
1.5879 + * win/configure.in: Check that AR, RANLIB, and RC are found on the
1.5880 + path when building with gcc.
1.5881 +
1.5882 +2002-11-03 David Gravereaux <davygrvy@pobox.com>
1.5883 +
1.5884 + * win/tclAppInit.c: Calls Registry_Init() and Dde_Init() when
1.5885 + STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set.
1.5886 +
1.5887 + * win/makefile.vc:
1.5888 + * win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES
1.5889 + macro which also adds the registry and dde object files to the link
1.5890 + of the shell. [Patch 479697] Also factored some additional macros
1.5891 + that will be helpful for extension authors. Version grepping of tcl.h
1.5892 + will need to be added to complete this.
1.5893 +
1.5894 + * win/buildall.vc.bat: Added more descriptive commentary.
1.5895 +
1.5896 +2002-11-01 David Gravereaux <davygrvy@pobox.com>
1.5897 +
1.5898 + * win/tclWinReg.c: Changed the Tcl_PkgProvide() line to declare the
1.5899 + registry extension at version 1.1 from 1.0.
1.5900 +
1.5901 +2002-10-31 Andreas Kupries <andreask@activestate.com>
1.5902 +
1.5903 + * library/word.tcl: Changed $tcl_platform to $::tcl_platform to avoid
1.5904 + possible scope trouble.
1.5905 +
1.5906 +2002-10-29 Vince Darley <vincentdarley@users.sourceforge.net>
1.5907 +
1.5908 + * win/tclWinInt.h:
1.5909 + * win/tclWin32Dll.c: added comments about certain NULL function
1.5910 + pointers which will be filled in when Tcl_FindExecutable is called, so
1.5911 + that users don't report invalid bugs on this topic. (No code changes
1.5912 + at all).
1.5913 +
1.5914 +2002-10-29 Daniel Steffen <das@users.sourceforge.net>
1.5915 +
1.5916 + * unix/tclLoadDyld.c (TclpFindSymbol): pass all dyld error messages
1.5917 + upstream [Bug 627546].
1.5918 +
1.5919 +2002-10-28 Andreas Kupries <andreask@activestate.com>
1.5920 +
1.5921 + * library/dde/pkgIndex.tcl:
1.5922 + * library/reg/pkgIndex.tcl: Changed the hardwired debug suffix (d) to
1.5923 + the correct suffix (g).
1.5924 +
1.5925 +2002-10-28 Don Porter <dgp@users.sourceforge.net>
1.5926 +
1.5927 + * library/auto.tcl: Converted the Mac-specific [package unknown]
1.5928 + * library/init.tcl: behavior to use a chaining mechanism to extend
1.5929 + * library/package.tcl: the default [tclPkgUnknown]. [Bug 627660]
1.5930 + * library/tclIndex: [Patch 624509] (steffen)
1.5931 +
1.5932 +2002-10-26 David Gravereaux <davygrvy@pobox.com>
1.5933 +
1.5934 + * win/makefile.vc: xcopy on NT 4.0 doesn't support the /Y switch
1.5935 + (overwrite). Added logic to handle this. [Bug 618019]
1.5936 +
1.5937 +2002-10-23 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.5938 +
1.5939 + * generic/tclInt.h: Removed definitions of obsolete HistoryEvent and
1.5940 + HistoryRev structures (the history mechanism has been written in Tcl
1.5941 + for some time now).
1.5942 +
1.5943 +2002-10-22 Jeff Hobbs <jeffh@ActiveState.com>
1.5944 +
1.5945 + *** 8.4.1 TAGGED FOR RELEASE ***
1.5946 +
1.5947 + * changes: updated for 8.4.1 release
1.5948 +
1.5949 + * win/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.
1.5950 + * win/configure: regen
1.5951 + * win/configure.in: removed SC_ENABLE_MEMDEBUG call
1.5952 + * win/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
1.5953 + SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
1.5954 +
1.5955 +2002-10-22 Daniel Steffen <das@users.sourceforge.net>
1.5956 +
1.5957 + * library/auto.tcl (tcl_findLibrary):
1.5958 + * library/package.tcl (tclPkgUnknown): on macosx, search inside the
1.5959 + Resources/Scripts subdirectory of any potential package directory
1.5960 + * macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs to
1.5961 + TCL_PACKAGE_PATH make argument.
1.5962 + * unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded
1.5963 + framework dirs to tcl_pkgPath: @executable_path/../Frameworks and
1.5964 + @executable_path/../PrivateFrameworks (if they exist), as well as the
1.5965 + dirs in DYLD_FRAMEWORK_PATH (if set). [Patch 624509] use standard
1.5966 + MAXPATHLEN instead of literal 1024
1.5967 +
1.5968 +2002-10-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.5969 +
1.5970 + * doc/StringObj.3, doc/Object.3: Documented that Tcl_Obj's
1.5971 + standard string form is a modified UTF-8; apparently, this was not
1.5972 + mentioned anywhere in the main docs, and lead to [Bug 624919].
1.5973 +
1.5974 +2002-10-21 Daniel Steffen <das@users.sourceforge.net>
1.5975 +
1.5976 + * macosx/Tcl.pbproj/project.pbxproj: bumped version to 8.4.1
1.5977 + * generic/tcl.h: Added reminder comment to edit
1.5978 + macosx/Tcl.pbproj/project.pbxproj when version number changes.
1.5979 +
1.5980 +2002-10-18 Jeff Hobbs <jeffh@ActiveState.com>
1.5981 +
1.5982 + * library/reg/pkgIndex.tcl:
1.5983 + * win/configure:
1.5984 + * win/configure.in:
1.5985 + * win/Makefile.in:
1.5986 + * win/makefile.vc:
1.5987 + * win/makefile.bc: Updated to reg1.1
1.5988 +
1.5989 + * doc/registry.n: Added support for broadcasting changes to the
1.5990 + * tests/registry.test: registry Environment. Noted proper code in ths
1.5991 + * win/tclWinReg.c: docs. [Patch 625453]
1.5992 +
1.5993 + * unix/Makefile.in (dist): add any mac/tcl*.sea.hqx files
1.5994 +
1.5995 +2002-10-17 Don Porter <dgp@users.sourceforge.net>
1.5996 +
1.5997 + * generic/tclVar.c: Fixed code that check for proper # of args to
1.5998 + * tests/var.test: [array names]. Added test. [Bug 624755]
1.5999 +
1.6000 +2002-10-16 Jeff Hobbs <jeffh@ActiveState.com>
1.6001 +
1.6002 + * win/configure: add workaround for cygwin windres
1.6003 + * win/tcl.m4 (SC_CONFIG_CFLAGS): problem. [Patch 624010] (howell)
1.6004 +
1.6005 +2002-10-15 Jeff Hobbs <jeffh@ActiveState.com>
1.6006 +
1.6007 + * README: added archives.tcl.tk note
1.6008 +
1.6009 + * unix/configure:
1.6010 + * unix/tcl.m4: Correct AIX-5 ppc build flags. Correct HP 11 64-bit gcc
1.6011 + building. [Patch 601051] (martin)
1.6012 +
1.6013 +2002-10-15 Vince Darley <vincentdarley@users.sourceforge.net>
1.6014 +
1.6015 + * generic/tclCmdMZ.c:
1.6016 + * tests/trace.test: applied patch from Hemang Levana to fix [Bug
1.6017 + 615043] in execution traces with idle tasks firing.
1.6018 +
1.6019 +2002-10-14 Jeff Hobbs <jeffh@ActiveState.com>
1.6020 +
1.6021 + * generic/tclEnv.c (Tcl_PutEnv): correct possible mem leak.
1.6022 + [Patch 623269] (brouwers)
1.6023 +
1.6024 +2002-10-11 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6025 +
1.6026 + * generic/tcl.h: Need a different strategy through the maze of
1.6027 + #defines to let people building with Cygwin build correctly. Also
1.6028 + made some comments less misleading...
1.6029 +
1.6030 +2002-10-10 Jeff Hobbs <jeffh@ActiveState.com>
1.6031 +
1.6032 + * README: fixed minor nits [Bug 607776] (virden)
1.6033 +
1.6034 + * win/configure:
1.6035 + * win/tcl.m4: enable USE_THREAD_ALLOC (new threaded allocator) by
1.6036 + default in cygwin configure on Windows.
1.6037 +
1.6038 +2002-10-10 Don Porter <dgp@users.sourceforge.net>
1.6039 +
1.6040 + * doc/Tcl.n: Clarified that namespace separators are legal in
1.6041 + the variable names during $-subtitution. [Bug 615139]
1.6042 +
1.6043 + * doc/regexp.n: Typo correction. Thanks Ronnie Brunner. [Bug 606826]
1.6044 +
1.6045 +2002-10-10 Vince Darley <vincentdarley@users.sourceforge.net>
1.6046 +
1.6047 + * unix/tclLoadAout.c
1.6048 + * unix/tclLoadDl.c
1.6049 + * unix/tclLoadDld.c
1.6050 + * unix/tclLoadDyld.c
1.6051 + * unix/tclLoadNext.c
1.6052 + * unix/tclLoadOSF.c
1.6053 + * unix/tclLoadShl.c
1.6054 + * win/tclWinLoad.c: allow either full paths or simply dll names to be
1.6055 + specified when loading files (the latter will be looked up by the OS
1.6056 + on your PATH/LD_LIBRARY_PATH as appropriate). Fixes [Bug 611108]
1.6057 +
1.6058 +2002-10-09 Jeff Hobbs <jeffh@ActiveState.com>
1.6059 +
1.6060 + * unix/README: doc'ed --enable-symbols options.
1.6061 + * unix/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.
1.6062 + * unix/configure: regen
1.6063 + * unix/configure.in: removed SC_ENABLE_MEMDEBUG call
1.6064 + * unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
1.6065 + SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
1.6066 +
1.6067 +2002-10-09 Kevin B. Kenny <kennykb@acm.org>
1.6068 +
1.6069 + * win/tclWinTime.c: Added code to set an exit handler that terminates
1.6070 + the thread that calibrates the performance counter, so that the thread
1.6071 + won't outlive unloading the Tcl DLL. [Bug 620735].
1.6072 +
1.6073 +2002-10-09 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6074 +
1.6075 + * doc/binary.n: More clarification of [binary scan]'s behaviour.
1.6076 +
1.6077 +2002-10-09 Daniel Steffen <das@users.sourceforge.net>
1.6078 +
1.6079 + * generic/tclIntDecls.h: fixed botched regen.
1.6080 +
1.6081 +2002-10-09 Daniel Steffen <das@users.sourceforge.net>
1.6082 +
1.6083 + * generic/tclInt.decls: made TclSetPreInitScript() declaration
1.6084 + generic as it is used on mac & aqua as well.
1.6085 + * generic/tclIntDecls.h:
1.6086 + * generic/tclStubInit.c: regen.
1.6087 + * generic/tclCompile.h: added prototype for TclCompileVariableCmd.
1.6088 +
1.6089 + * mac/tclMacPort.h: removed incorrect <fcntl.h> definitions and
1.6090 + obsolete <stat.h> definitions.
1.6091 + * mac/tclMacChan.c: removed obsolete GetOpenMode() and replaced
1.6092 + associated constants with the <fcntl.h> analogues (they existing defs
1.6093 + were inconsistent with <fcntl.h> which was causing havoc when
1.6094 + Tcl_GetOpenMode was used instead of private GetOpenMode).
1.6095 +
1.6096 + * mac/tclMacFCmd.c: removed GenerateUniqueName(), use equivalent (and
1.6097 + identically named) routine from MoreFiles instead.
1.6098 +
1.6099 + * mac/tclMacLoad.c: CONSTification, fixes to Vince's last changes.
1.6100 +
1.6101 + * mac/tclMacFile.c:
1.6102 + * mac/tclMacTest.c:
1.6103 + * mac/tclMacUnix.c: CONSTification.
1.6104 +
1.6105 + * mac/tclMacOSA.c: CONSTification, sprintf fixes, UH 3.4.x changes;
1.6106 + fix for missing autoname token from TclOSACompileCmd. (bdesgraupes)
1.6107 + * mac/AppleScript.html(AppleScript delete): doc fix. (bdesgraupes)
1.6108 +
1.6109 + * mac/tcltkMacBuildSupport.sea.hqx: updated MoreFiles to 1.5.3,
1.6110 + updated build instructions for 8.4.
1.6111 + * mac/tclMacProjects.sea.hqx: rebuilt archive.
1.6112 +
1.6113 +2002-10-09 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6114 +
1.6115 + * doc/Alloc.3: Added a note to mention that attempting to allocate a
1.6116 + zero-length block can return NULL. [Tk Bug 619544]
1.6117 +
1.6118 +2002-10-04 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6119 +
1.6120 + * doc/binary.n: Doc improvements [Patch 616480]
1.6121 +
1.6122 + * tests/fCmd.test, tests/winFCmd.test:
1.6123 + * tools/eolFix.tcl, tools/genStubs.tcl: [file exist] -> [file exists]
1.6124 + Thanks to David Welton.
1.6125 +
1.6126 +2002-10-03 Don Porter <dgp@users.sourceforge.net>
1.6127 +
1.6128 + * doc/tcltest.n: fixed typo [Bug 618018]. Thanks to "JJM".
1.6129 +
1.6130 +2002-10-03 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6131 +
1.6132 + * tools/man2help2.tcl:
1.6133 + * tests/http.test, tests/httpd, tests/httpold.test:
1.6134 + * tests/env.test, tests/binary.test, tests/autoMkindex.test:
1.6135 + * library/init.tcl, library/http/http.tcl: [info exist] should really
1.6136 + be [info exists]. [Bug 602566]
1.6137 +
1.6138 + * doc/lsearch.n: Better specification of what happens when -sorted is
1.6139 + mixed with other options. [Bug 617816]
1.6140 +
1.6141 +2002-10-01 Jeff Hobbs <jeffh@ActiveState.com>
1.6142 +
1.6143 + * generic/tclProc.c (TclCreateProc): mask out VAR_UNDEFINED for
1.6144 + precompiled locals to support 8.3 precompiled code.
1.6145 + (Tcl_ProcObjCmd): correct 2002-09-26 fix to look for tclProcBodyType.
1.6146 +
1.6147 +2002-10-01 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6148 +
1.6149 + * doc/socket.n: Mentioned that ports may be specified as serivce names
1.6150 + as well as integers. [Bug 616843]
1.6151 +
1.6152 +2002-09-30 Jeff Hobbs <jeffh@ActiveState.com>
1.6153 +
1.6154 + * generic/tclCompCmds.c (TclCompileRegexpCmd): correct the checking
1.6155 + for bad re's that didn't terminate the re string. Resultant compiles
1.6156 + were correct, but much slower than necessary.
1.6157 +
1.6158 +2002-09-29 David Gravereaux <davygrvy@pobox.com>
1.6159 +
1.6160 + * win/tclAppInit.c: Added proper exiting conditions using Win32
1.6161 + console signals. This handles the existing lack of a Ctrl+C exit to
1.6162 + call exit handlers when built for thread support. Also, properly
1.6163 + handles exits from other conditions such as CTRL_CLOSE_EVENT,
1.6164 + CTRL_LOGOFF_EVENT, and CTRL_SHUTDOWN_EVENT signals. In all cases, exit
1.6165 + handlers will be called. [Bug 219355]
1.6166 +
1.6167 + * win/makefile.vc: Added missing tclThreadAlloc.c to the build rules
1.6168 + and defines USE_THREAD_ALLOC when TCL_THREADS is defined to get the
1.6169 + new behavior by default.
1.6170 +
1.6171 +2002-09-27 Don Porter <dgp@users.sourceforge.net>
1.6172 +
1.6173 + * README: Bumped to version 8.4.1 to avoid confusion
1.6174 + * generic/tcl.h: of CVS snapshots with the actual 8.4.0
1.6175 + * tools/tcl.wse.in: release.
1.6176 + * unix/configure.in:
1.6177 + * unix/tcl.spec:
1.6178 + * win/configure.in:
1.6179 +
1.6180 + * unix/configure: autoconf
1.6181 + * win/configure:
1.6182 +
1.6183 +2002-09-26 Jeff Hobbs <jeffh@ActiveState.com>
1.6184 +
1.6185 + * unix/configure: regen.
1.6186 + * unix/tcl.m4: improve AIX-4/5 64bit compilation support.
1.6187 +
1.6188 + * generic/tclProc.c (Tcl_ProcObjCmd): correct overeager optimization
1.6189 + of noop proc to handle the precompiled case. (sofer)
1.6190 +
1.6191 + * unix/ldAix (nmopts): add -X32_64 to make it work for 32 or 64bit
1.6192 + mode compilation.
1.6193 +
1.6194 + * library/encoding/koi8-u.enc: removed extraneous spaces that confused
1.6195 + encoding reader. [Bug 615115]
1.6196 +
1.6197 + * unix/Makefile.in: generate source dists with -src designator and do
1.6198 + not generate .Z anymore (just .gz and .zip).
1.6199 +
1.6200 +2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>
1.6201 +
1.6202 + Added basic Cygwin support.
1.6203 +
1.6204 + * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
1.6205 + (SC_PATH_TKCONFIG): Likewise.
1.6206 + (SC_PROG_TCLSH): Likewise.
1.6207 + (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
1.6208 + flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e
1.6209 + _WinMain@16'' from LDFLAGS_WINDOW.
1.6210 + * win/configure.in: Allow Cygwin build.
1.6211 + (SEH test): Define to be 1 instead of empty value.
1.6212 + (EXCEPTION_DISPOSITION): Add test.
1.6213 + * win/configure: Regenerate.
1.6214 +
1.6215 + * generic/tcl.h: Don't explicitly define __WIN32__ for Cygwin, let the
1.6216 + user decide whether to use Windows or POSIX personality.
1.6217 + (TCL_WIDE_INT_TYPE, TCL_LL_MODIFIER, struct Tcl_StatBuf): Define for
1.6218 + Cygwin.
1.6219 + * generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for Cygwin.
1.6220 + * generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX to
1.6221 + native format.
1.6222 + (TclDoGlob): Likewise.
1.6223 + * generic/tclPlatDecls.h (TCHAR): Define for Cygwin.
1.6224 + * win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree)
1.6225 + (TclpSysRealloc): Define for Cygwin.
1.6226 +
1.6227 +2002-09-26 Daniel Steffen <das@users.sourceforge.net>
1.6228 +
1.6229 + * macosx/Makefile: preserve environment value of INSTALL_ROOT. When
1.6230 + embedding only use deployment build. Force relink before embedded
1.6231 + build to ensure new linker flags are picked up.
1.6232 +
1.6233 + * macosx/Tcl.pbproj/project.pbxproj: add symbolic links to debug lib,
1.6234 + stub libs and tclConfig.sh in framework toplevel. Configure target
1.6235 + dependency fix. Fix to 'clean' action. Added private tcl headers to
1.6236 + framework. Install tclsh symbolic link. Html doc build works when no
1.6237 + installed tclsh available. Made html doc structure in framework more
1.6238 + like in Apple frameworks.
1.6239 +
1.6240 +2002-09-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6241 +
1.6242 + * unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Yet more robust 64-bit value
1.6243 + detection to close [Bug 613117] on more systems.
1.6244 +
1.6245 + * generic/tclCompile.c (TclPrintSource): More CONSTifying.
1.6246 + * generic/tclExecute.c (EvalStatsCmd): Object-ify to reduce warnings.
1.6247 + Thanks to 'CoderX2' on the chat for bringing this to my attention...
1.6248 +
1.6249 + * unix/tcl.m4: Forgot to define TCL_WIDE_INT_IS_LONG at the
1.6250 + appropriate moment. I believe this is the cause of [Bug 613117]
1.6251 +
1.6252 + * doc/lset.n: Changed 'list' to 'varName' for consistency with lappend
1.6253 + documentation. Thanks to Glenn Jackman [Bug 611719]
1.6254 +
1.6255 +2002-09-22 Don Porter <dgp@users.sourceforge.net>
1.6256 +
1.6257 + * library/tcltest/tcltest.tcl: Corrected [puts -nonewline] within
1.6258 + test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788] Also
1.6259 + corrected reporting of body return code. Thanks to David Taback [Bug
1.6260 + 611922]
1.6261 + * library/tcltest/pkgIndex.tcl: Bump to version 2.2.1.
1.6262 + * tests/tcltest.test: added tests for these bugs.
1.6263 +
1.6264 +2002-09-15 Mo DeJong <mdejong@users.sourceforge.net>
1.6265 +
1.6266 + * unix/configure: Regen.
1.6267 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add PEEK_XCLOSEIM define under
1.6268 + Linux. This is used by Tk to double check that an X input context is
1.6269 + cleaned up before it is closed.
1.6270 +
1.6271 +2002-09-12 David Gravereaux <davygrvy@pobox.com>
1.6272 +
1.6273 + * win/coffbase.txt: Added BLT to the virtual base address listings
1.6274 + table should BLT's build tools decide to use it.
1.6275 +
1.6276 +2002-09-12 Daniel Steffen <das@users.sourceforge.net>
1.6277 +
1.6278 + * generic/tcl.h:
1.6279 + * mac/tclMacApplication.r:
1.6280 + * mac/tclMacLibrary.r:
1.6281 + * mac/tclMacResource.r: unified use of the two equivalent resource
1.6282 + compiler header inclusion defines RC_INVOKED and RESOURCE_INCLUDED,
1.6283 + now use RC_INVOKED throughout.
1.6284 +
1.6285 +2002-09-10 Mo DeJong <mdejong@users.sourceforge.net>
1.6286 +
1.6287 + * unix/README: Add note about building extensions with the same
1.6288 + compiler Tcl was built with. [Tk Bug 592096]
1.6289 +
1.6290 +2002-09-10 Daniel Steffen <das@users.sourceforge.net>
1.6291 +
1.6292 + * macosx/Tcl.pbproj/project.pbxproj: disabled building html
1.6293 + documentation during embedded build.
1.6294 +
1.6295 +2002-09-10 Daniel Steffen <das@users.sourceforge.net>
1.6296 +
1.6297 + * unix/Makefile.in: added DYLIB_INSTALL_DIR variable for macosx and
1.6298 + set it to default value ${LIB_RUNTIME_DIR}
1.6299 + * unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
1.6300 + LIB_RUNTIME_DIR in the -install_name argument to ld.
1.6301 + * unix/configure: regen.
1.6302 +
1.6303 + * macosx/Tcl.pbproj/project.pbxproj:
1.6304 + * macosx/Makefile: added support for building Tcl as an embedded
1.6305 + framework, i.e. using an dyld install_name containing
1.6306 + @executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
1.6307 + unix/Makefile variable.
1.6308 +
1.6309 +2002-09-10 Jeff Hobbs <jeffh@ActiveState.com>
1.6310 +
1.6311 + *** 8.4.0 TAGGED FOR RELEASE ***
1.6312 +
1.6313 +2002-09-06 Don Porter <dgp@users.sourceforge.net>
1.6314 +
1.6315 + * doc/file.n: Format correction, and clarified [file normalize]
1.6316 + returns an absolute path.
1.6317 +
1.6318 + * doc/tcltest.n: Added examples section, as long promised.
1.6319 +
1.6320 +2002-09-06 Reinhard Max <max@suse.de>
1.6321 +
1.6322 + * tests/tcltest.test: Added nonRoot flag to tests 8.3, 8.4, and 8.12.
1.6323 +
1.6324 +2002-09-05 Don Porter <dgp@users.sourceforge.net>
1.6325 +
1.6326 + * doc/tcltest.n: Clarified phrasing.
1.6327 +
1.6328 + * generic/tclBasic.c (TclRenameCommand,CallCommandTraces):
1.6329 + * tests/trace.test (trace-27.1): Corrected memory leak when a rename
1.6330 + trace deleted the command being traced. Test added. Thanks to Hemang
1.6331 + Lavana for the fix. [Bug 604609]
1.6332 +
1.6333 + * generic/tclVar.c (TclDeleteVars): Corrected logic for setting the
1.6334 + TCL_INTERP_DESTROYED flag when calling variable traces. [Tk Bug 605121]
1.6335 +
1.6336 +2002-09-04 Miguel Sofer <msofer@users.sourceforge.net>
1.6337 +
1.6338 + * generic/tclVar.c (DeleteArray): leak plug [Bug 604239]. Thanks to
1.6339 + dkf and dgp for the long and difficult discussion in the chat.
1.6340 +
1.6341 +2002-09-03 Jeff Hobbs <jeffh@ActiveState.com>
1.6342 +
1.6343 + * generic/tclVar.c (Tcl_UpVar2): code cleanup to not use goto
1.6344 +
1.6345 + * unix/configure: remove -pthread from LIBS on FreeBSD in thread
1.6346 + * unix/tcl.m4: enabled build. [Bug 602849]
1.6347 +
1.6348 +2002-09-03 Miguel Sofer <msofer@users.sourceforge.net>
1.6349 +
1.6350 + * generic/tclInterp.c (AliasCreate): a Tcl_Obj was leaked on error
1.6351 + return from TclPreventAliasLoop.
1.6352 +
1.6353 +2002-09-03 Daniel Steffen <das@users.sourceforge.net>
1.6354 +
1.6355 + * macosx/Tcl.pbproj/project.pbxproj: Bumped version number to 8.4.0
1.6356 + and updated copyright info.
1.6357 +
1.6358 +2002-09-03 Miguel Sofer <msofer@users.sourceforge.net>
1.6359 +
1.6360 + * generic/tclVar.c (Tcl_UpVar2): a Tcl_Obj was being leaked on error
1.6361 + return from TclGetFrame.
1.6362 +
1.6363 +2002-09-03 Don Porter <dgp@users.sourceforge.net>
1.6364 +
1.6365 + * changes: Updated changes for 8.4.0 release.
1.6366 +
1.6367 +2002-09-02 Jeff Hobbs <jeffh@ActiveState.com>
1.6368 +
1.6369 + * unix/tclUnixFile.c (TclpObjLink): removed unnecessary/unfreed
1.6370 + extra native char*.
1.6371 +
1.6372 + * unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): make sure to init
1.6373 + flags field of TcpState ptr to 0.
1.6374 +
1.6375 + * unix/configure:
1.6376 + * unix/tcl.m4: added 64-bit gcc compilation support on HP-11.
1.6377 + [Patch 601051] (martin)
1.6378 +
1.6379 + * README: Bumped version number to 8.4.0
1.6380 + * generic/tcl.h:
1.6381 + * tools/tcl.wse.in:
1.6382 + * unix/configure:
1.6383 + * unix/configure.in:
1.6384 + * unix/tcl.spec:
1.6385 + * win/README.binary:
1.6386 + * win/configure:
1.6387 + * win/configure.in:
1.6388 +
1.6389 + * generic/tclInterp.c (SlaveCreate): make sure that the memory and
1.6390 + checkmem commands are initialized in non-safe slave interpreters when
1.6391 + TCL_MEM_DEBUG is used. [Bug 583445]
1.6392 +
1.6393 + * win/tclWinConsole.c (ConsoleCloseProc): only wait on writable pipe
1.6394 + if there was something to write. This may prevent infinite wait on
1.6395 + exit.
1.6396 +
1.6397 + * tests/exec.test: marked exec-18.1 unixOnly until the Windows
1.6398 + incompatability (in the test, not the core) can be resolved.
1.6399 +
1.6400 + * tests/http.test (http-3.11): added close $fp that was causing an
1.6401 + error on Windows because the file was not closed before deleting.
1.6402 +
1.6403 + * unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): made this static
1.6404 + function only appear when HAVE_CFBUNDLE is defined.
1.6405 +
1.6406 +2002-08-31 Daniel Steffen <das@users.sourceforge.net>
1.6407 +
1.6408 + * unix/tcl.m4: added TK_SHLIB_LD_EXTRAS analogue of existing
1.6409 + TCL_SHLIB_LD_EXTRAS for linker settings only used when linking Tk.
1.6410 +
1.6411 + * unix/configure: regen
1.6412 +
1.6413 +2002-08-31 Daniel Steffen <das@users.sourceforge.net>
1.6414 +
1.6415 + *** macosx-8-4-branch merged into the mainline [Patch 602770] ***
1.6416 +
1.6417 + * generic/tcl.decls: added new macosx specific entry to stubs table.
1.6418 +
1.6419 + * tools/genStubs.tcl: added generation of platform guards for macosx.
1.6420 + This is a little more complex than it seems, because MacOS X IS "unix"
1.6421 + plus a little bit, for the purposes of Tcl. BUT unfortunately, Tk uses
1.6422 + "unix" to mean X11. So added platform keys for macosx (the little
1.6423 + added to "unix"), "aqua" and "x11" to distinguish these for Tk.
1.6424 +
1.6425 + * generic/tcl.h: added a #ifnded RESOURCE_INCLUDED so that tcl.h can
1.6426 + be passed to the resource compiler.
1.6427 +
1.6428 + * generic/tcl.h:
1.6429 + * generic/tclNotify.c: added a few Notifier procs, to be able to
1.6430 + modify more bits of the Tcl notifier dynamically. Required to get Mac
1.6431 + OS X Tk to live on top of the Tcl Unix threaded notifier. Changes the
1.6432 + size of the Tcl_NotifierProcs structure, but doesn't move any elements
1.6433 + around.
1.6434 +
1.6435 + * unix/tclUnixNotfy.c: moved the call to Tcl_ConditionNotify till
1.6436 + AFTER we are done mucking with the pointer swap. Fixes cases where the
1.6437 + thread waiting on the condition wakes & accesses the waitingListPtr
1.6438 + before it gets reset, causing a hang.
1.6439 +
1.6440 + * library/auto.tcl (tcl_findLibrary): added checking the directories
1.6441 + in the tcl_pkgPath for library files on macosx to enable support of
1.6442 + the standard Mac OSX library locations
1.6443 +
1.6444 + * unix/Makefile.in:
1.6445 + * unix/configure.in:
1.6446 + * unix/tcl.m4: added MAC_OSX_DIR. Added PLAT_OBJS to the OBJS: there
1.6447 + are some MacOS X specific files now for Tcl, and when I get he
1.6448 + resource & applescript stuff ported over, and restore support for
1.6449 + FindFiles, etc, there will be a few more. Added LD_LIBRARY_PATH_VAR
1.6450 + configure variable to avoid having to set all possible LD_LIBRARY_PATH
1.6451 + analogues on all platforms. LD_LIBRARY_PATH_VAR is "LD_LIBRARY_PATH"
1.6452 + by default, "LIBPATH" on AIX, "SHLIB_PATH" on HPUX and
1.6453 + "DYLD_LIBRARY_PATH" on Mac OSX. Added configure option to package Tcl
1.6454 + as a framework on Mac OSX.
1.6455 +
1.6456 + * macosx/tclMacOSXBundle.c (new): support for finding Tcl extension
1.6457 + packaged as 'bundles' in the standard Mac OSX library locations.
1.6458 +
1.6459 + * unix/tclUnixInit.c: added support for findig the tcl script library
1.6460 + inside Tcl packaged as a framework on Mac OSX.
1.6461 +
1.6462 + * macosx/Tcl.pbproj/jingham.pbxuser (new):
1.6463 + * macosx/Tcl.pbproj/project.pbxproj (new): project for Apple's
1.6464 + ProjectBuilder IDE.
1.6465 +
1.6466 + * macosx/Makefile (new): simple makefile for building the project from
1.6467 + the command line via the ProjectBuilder tool 'pbxbuild'.
1.6468 +
1.6469 + * unix/configure:
1.6470 + * generic/tclStubInit.c:
1.6471 + * generic/tclPlatDecls.h: regen
1.6472 +
1.6473 +2002-08-29 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.6474 +
1.6475 + * win/tclWinThrd.c (TclpFinalizeThreadData, TclWinFreeAllocCache):
1.6476 + Applied patch for [Bug 599428] (sofer)
1.6477 +
1.6478 +2002-08-28 David Gravereaux <davygrvy@pobox.com>
1.6479 +
1.6480 + * generic/tclEnv.c:
1.6481 + * unix/configure.in:
1.6482 + * win/tclWinPort.h: putenv() on some systems copies the buffer rather
1.6483 + than taking reference to it. This causes memory leaks and is know to
1.6484 + effect mswindows (msvcrt) and NetBSD 1.5.2. This patch tests for this
1.6485 + behavior and turns on -DHAVE_PUTENV_THAT_COPIES=1 when approriate.
1.6486 + Thanks to David Welton for assistance. [Bug 414910]
1.6487 +
1.6488 + * unix/configure: regen'd
1.6489 +
1.6490 +2002-08-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6491 +
1.6492 + * doc/eval.n: Added mention of list command and corrected "SEE ALSO".
1.6493 +
1.6494 + * unix/configure.in: Cache handling of ac_cv_type_socklen_t was wrong.
1.6495 + [Bug 600931] reported by John Ellson. Fixed by putting the brackets
1.6496 + where they belong.
1.6497 +
1.6498 +2002-08-26 Miguel Sofer <msofer@users.sourceforge.net>
1.6499 +
1.6500 + * generic/tclCompCmds.c: fix for [Bug 599788] (error in element name
1.6501 + causing segfault), reported by Tom Wilkason. Fixed by copying the
1.6502 + tokens instead of the source string.
1.6503 +
1.6504 +2002-08-26 Miguel Sofer <msofer@users.sourceforge.net>
1.6505 +
1.6506 + * generic/tclThreadAlloc.c: small optimisation, reducing the new
1.6507 + allocator's overhead.
1.6508 +
1.6509 +2002-08-23 Miguel Sofer <msofer@users.sourceforge.net>
1.6510 +
1.6511 + * generic/tclObj.c (USE_THREAD_ALLOC): fixed leak [Bug 597936]. Thanks
1.6512 + to Zoran Vasiljevic.
1.6513 +
1.6514 +2002-08-23 Miguel Sofer <msofer@users.sourceforge.net>
1.6515 +
1.6516 + * generic/tclThreadAlloc.c (USE_THREAD_ALLOC): moving objects between
1.6517 + caches as a block, instead of one-by-one.
1.6518 +
1.6519 +2002-08-22 Miguel Sofer <msofer@users.sourceforge.net>
1.6520 +
1.6521 + * generic/tclBasic.c:
1.6522 + * generic/tclCmdMZ.c: fix for freed memory r/w in delete traces [Bug
1.6523 + 589863], patch by Hemang Lavana.
1.6524 +
1.6525 +2002-08-20 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.6526 +
1.6527 + * win/Makefile.in (CFLAGS):
1.6528 + * unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@.
1.6529 + * win/configure.in:
1.6530 + * unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG.
1.6531 + * win/tcl.m4:
1.6532 + * unix/tcl.m4: Added macro SC_ENABLE_MEMDEBUG. Allows a user of
1.6533 + configure to (de)activate memory validation and debugging
1.6534 + (TCL_MEM_DEBUG). No need to modify the makefile anymore.
1.6535 +
1.6536 +2002-08-20 Don Porter <dgp@users.sourceforge.net>
1.6537 +
1.6538 + * generic/tclCkalloc.c: CONSTified MemoryCmd and CheckmemCmd.
1.6539 +
1.6540 + * README: Bumped version number to 8.4b3 to distinguish
1.6541 + * generic/tcl.h: HEAD from the 8.4b2 release.
1.6542 + * tools/tcl.wse.in:
1.6543 + * unix/configure.in:
1.6544 + * unix/tcl.spec:
1.6545 + * win/README.binary:
1.6546 + * win/configure.in:
1.6547 +
1.6548 + * unix/configure: autoconf
1.6549 + * win/configure:
1.6550 +
1.6551 + * library/http/http.tcl: Corrected installation directory of
1.6552 + * library/msgcat/msgcat.tcl: the package tcltest 2.2. Added
1.6553 + * library/opt/optparse.tcl: comments in other packages to remind
1.6554 + * library/tcltest/tcltest.tcl: that installation directories need
1.6555 + * unix/Makefile.in: updates to match increasing version
1.6556 + * win/Makefile.in: numbers. [Bug 597450]
1.6557 + * win/makefile.bc:
1.6558 + * win/makefile.vc:
1.6559 +
1.6560 +2002-08-19 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.6561 +
1.6562 + * unix/tclUnixTest.c (TestfilehandlerCmd): Changed
1.6563 + readable/writable to the more common readable|writable.
1.6564 + Fixes [Bug 596034] (lvirden)
1.6565 +
1.6566 +2002-08-16 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6567 +
1.6568 + * tests/fCmd.test: Added test to make sure that the cause of the
1.6569 + problem is detectable with an unpatched Tcl.
1.6570 + * doc/ObjectType.3: Added note on the root cause of this problem to
1.6571 + the documentation, since it is possible for user code to trigger this
1.6572 + sort of behaviour too.
1.6573 + * generic/tclIOUtil.c (SetFsPathFromAny): Objects should only have
1.6574 + their old representation deleted when we know that we are about to
1.6575 + install a new one. This stops a weird TclX bug under Linux with
1.6576 + certain kinds of memory debugging enabled which essentally came down
1.6577 + to a double-free of a string.
1.6578 +
1.6579 +2002-08-14 Miguel Sofer <msofer@users.sourceforge.net>
1.6580 +
1.6581 + * generic/tclInt.h:
1.6582 + * generic/tclObj.c: (code cleanup) factored the parts in the macros
1.6583 + TclNewObj() / TclDecrRefCount() into a common part for all memory
1.6584 + allocators and two new macros TclAllocObjStorage() /
1.6585 + TclFreeObjStorage() that are specific to each allocator and fully
1.6586 + describe the differences. Removed allocator-specific code from
1.6587 + tclObj.c by using the macros.
1.6588 +
1.6589 +2002-08-12 Miguel Sofer <msofer@users.sourceforge.net>
1.6590 +
1.6591 + * generic/tclCmdMZ.c: fixing UMR in delete traces, [Bug 589863].
1.6592 +
1.6593 +2002-08-08 David Gravereaux <davygrvy@pobox.com>
1.6594 +
1.6595 + * tools/man2help.tcl: Fixed $argv handling bug where if -bitmap wasn't
1.6596 + specified $argc was off by one.
1.6597 +
1.6598 +2002-08-08 Miguel Sofer <msofer@users.sourceforge.net>
1.6599 +
1.6600 + * tests/uplevel.test: added 6.1 to test [uplevel] with shadowed
1.6601 + commands [Bug 524383]
1.6602 +
1.6603 + * tests/subst.test: added 5.8-10 as further tests for [Bug 495207]
1.6604 +
1.6605 +2002-08-08 Don Porter <dgp@users.sourceforge.net>
1.6606 +
1.6607 + * tests/README: Noted removal of defs.tcl.
1.6608 +
1.6609 +2002-08-08 Jeff Hobbs <jeffh@ActiveState.com>
1.6610 +
1.6611 + * doc/lsearch.n: corrected lsearch docs to use -inline in examples.
1.6612 +
1.6613 + *** 8.4b2 TAGGED FOR RELEASE ***
1.6614 +
1.6615 + * tests/fCmd.test:
1.6616 + * tests/unixFCmd.test: updated tests for new link copy behavior.
1.6617 + * generic/tclFCmd.c (CopyRenameOneFile): changed the behavior to
1.6618 + follow links to endpoints and copy that file/directory instead of just
1.6619 + copying the surface link. This means that trying to copy a link that
1.6620 + has no endpoint (danling link) is an error. [Patch 591647] (darley)
1.6621 + (CopyRenameOneFile): this is currently disabled by default until
1.6622 + further issues with such behavior (like relative links) can be handled
1.6623 + correctly.
1.6624 +
1.6625 + * tests/README: slight wording improvements
1.6626 +
1.6627 +2002-08-07 Miguel Sofer <msofer@users.sourceforge.net>
1.6628 +
1.6629 + * docs/BoolObj.3: added description of valid string reps for a boolean
1.6630 + object [Bug 584794]
1.6631 + * generic/tclObj.c: optimised Tcl_GetBooleanFromObj and
1.6632 + SetBooleanFromAny to avoid parsing the string rep when it can be
1.6633 + avoided [Bugs 584650, 472576]
1.6634 +
1.6635 +2002-08-07 Miguel Sofer <msofer@users.sourceforge.net>
1.6636 +
1.6637 + * generic/tclCompile.h:
1.6638 + * generic/tclObj.c: making tclCmdNameType static [Bug 584567] (dgp)
1.6639 +
1.6640 +2002-08-07 Miguel Sofer <msofer@users.sourceforge.net>
1.6641 +
1.6642 + * generic/tclObj.c (Tcl_NewObj): added conditional code for
1.6643 + USE_THREAD_ALLOC; objects allocated through Tcl_NewObj() were
1.6644 + otherwise being leaked. [Bug 587488] reported by Sven Sass.
1.6645 +
1.6646 +2002-08-06 Daniel Steffen <das@users.sourceforge.net>
1.6647 +
1.6648 + * generic/tclInt.decls:
1.6649 + * unix/tclUnixThrd.c: Added stubs and implementations for non-threaded
1.6650 + build for the tclUnixThrd.c procs TclpReaddir, TclpLocaltime,
1.6651 + TclpGmtime and TclpInetNtoa. Fixes link errors in stubbed & threaded
1.6652 + extensions that include tclUnixPort.h and use any of the procs
1.6653 + readdir, localtime, gmtime or inet_ntoa (e.g. TclX 8.4) [Bug 589526]
1.6654 + * generic/tclIntPlatDecls.h:
1.6655 + * generic/tclStubInit.c: Regen.
1.6656 +
1.6657 +2002-08-05 Don Porter <dgp@users.sourceforge.net>
1.6658 +
1.6659 + * library/tcltest/tcltest.tcl: The setup and cleanup scripts are now
1.6660 + * library/tcltest/pkgIndex.tcl: skipped when a test is skipped, fixing
1.6661 + * tests/tcltest.test: [Bug 589859]. Test for bug added, and
1.6662 + corrected tcltest package bumped to version 2.2.
1.6663 +
1.6664 + * generic/tcl.decls: Restored Tcl_Concat to return (char *). Like
1.6665 + * generic/tclDecls.h: Tcl_Merge, it transfers ownership of a dynamic
1.6666 + * generic/tclUtil.c: allocated string to the caller.
1.6667 +
1.6668 +2002-08-04 Don Porter <dgp@users.sourceforge.net>
1.6669 +
1.6670 + * doc/CmdCmplt.3: Applied Patch 585105 to fully CONST-ify
1.6671 + * doc/Concat.3: all remaining public interfaces of Tcl.
1.6672 + * doc/CrtCommand.3: Notably, the parser no longer writes on
1.6673 + * doc/CrtSlave.3: the string it is parsing, so it is no
1.6674 + * doc/CrtTrace.3: longer necessary for Tcl_Eval() to be
1.6675 + * doc/Eval.3: given a writable string. Also, the
1.6676 + * doc/ExprLong.3: refactoring of the Tcl_*Var* routines
1.6677 + * doc/LinkVar.3: by Miguel Sofer is included, so that the
1.6678 + * doc/ParseCmd.3: "part1" argument for them no longer needs
1.6679 + * doc/SetVar.3: to be writable either.
1.6680 + * doc/TraceVar.3:
1.6681 + * doc/UpVar.3: Compatibility support has been enhanced so
1.6682 + * generic/tcl.decls: that a #define of USE_NON_CONST will remove
1.6683 + * generic/tcl.h: all possible source incompatibilities with
1.6684 + * generic/tclBasic.c: the 8.3 version of the header file(s).
1.6685 + * generic/tclCmdMZ.c: The new #define of USE_COMPAT_CONST now does
1.6686 + * generic/tclCompCmds.c:what USE_NON_CONST used to do -- disable
1.6687 + * generic/tclCompExpr.c:only those new CONST's that introduce
1.6688 + * generic/tclCompile.c: irreconcilable incompatibilities.
1.6689 + * generic/tclCompile.h:
1.6690 + * generic/tclDecls.h: Several bugs are also fixed by this patch.
1.6691 + * generic/tclEnv.c: [Bugs 584051,580433] [Patches 585105,582429]
1.6692 + * generic/tclEvent.c:
1.6693 + * generic/tclInt.decls:
1.6694 + * generic/tclInt.h:
1.6695 + * generic/tclIntDecls.h:
1.6696 + * generic/tclInterp.c:
1.6697 + * generic/tclLink.c:
1.6698 + * generic/tclObj.c:
1.6699 + * generic/tclParse.c:
1.6700 + * generic/tclParseExpr.c:
1.6701 + * generic/tclProc.c:
1.6702 + * generic/tclTest.c:
1.6703 + * generic/tclUtf.c:
1.6704 + * generic/tclUtil.c:
1.6705 + * generic/tclVar.c:
1.6706 + * mac/tclMacTest.c:
1.6707 + * tests/expr-old.test:
1.6708 + * tests/parseExpr.test:
1.6709 + * unix/tclUnixTest.c:
1.6710 + * unix/tclXtTest.c:
1.6711 + * win/tclWinTest.c:
1.6712 +
1.6713 +2002-08-01 Miguel Sofer <msofer@users.sourceforge.net>
1.6714 +
1.6715 + * generic/tclExecute.c: bugfix (reading freed memory). Testsuite
1.6716 + passed on linux/i386, compile-13.1 hung on linux/alpha.
1.6717 +
1.6718 +2002-08-01 Miguel Sofer <msofer@users.sourceforge.net>
1.6719 +
1.6720 + * generic/tclExecute.c: added a reference count for the complete
1.6721 + execution stack, instead of Tcl_Preserve/Tcl_Release.
1.6722 +
1.6723 +2002-08-01 Mo DeJong <mdejong@users.sourceforge.net>
1.6724 +
1.6725 + * generic/tclCkalloc.c (TclFinalizeMemorySubsystem): Don't lock the
1.6726 + ckalloc mutex before invoking the Tcl_DumpActiveMemory function since
1.6727 + it also locks the same mutex. This code is only executed when "memory
1.6728 + onexit filename" has been executed and Tcl is compiled with
1.6729 + -DTCL_MEM_DEBUG.
1.6730 +
1.6731 +2002-08-01 Reinhard Max <max@suse.de>
1.6732 +
1.6733 + * win/tclWinPort.h: The windows headers don't provide socklen_t, so we
1.6734 + have to do it.
1.6735 +
1.6736 +2002-07-31 Miguel Sofer <msofer@users.sourceforge.net>
1.6737 +
1.6738 + * generic/tclInt.h (USE_THREAD_ALLOC): for unshared objects,
1.6739 + TclDecrRefCount now frees the internal rep before the string rep -
1.6740 + just like the non-macro Tcl_DecrRefCount/TclFreeObj [Bug 524802]. For
1.6741 + the other allocators the fix was done on 2002-03-06.
1.6742 +
1.6743 +2002-07-31 Miguel Sofer <msofer@users.sourceforge.net>
1.6744 +
1.6745 + * generic/tclInterp.c: signed/unsigned comparison warning fixed
1.6746 + (Vince Darley).
1.6747 +
1.6748 +2002-07-31 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6749 +
1.6750 + * unix/tcl.m4 (SC_BUGGY_STRTOD): Enabled caching of test results.
1.6751 +
1.6752 + * unix/tcl.m4 (SC_BUGGY_STRTOD): Solaris 2.8 still has a buggy
1.6753 + strtod() implementation; make sure we detect it.
1.6754 +
1.6755 + * tests/expr.test (expr-22.*): Marked as non-portable because it seems
1.6756 + that these tests have an annoying tendency to fail in unexpected ways.
1.6757 + [Bugs 584825, 584950, 585986]
1.6758 +
1.6759 +2002-07-30 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.6760 +
1.6761 + * tests/io.test:
1.6762 + * generic/tclIO.c (WriteChars): Added flag to break out of loop if
1.6763 + nothing of the input is consumed at all, to prevent infinite looping
1.6764 + of called with a non-UTF-8 string. Fixes [Bug 584603] partially.
1.6765 + Added new test "io-60.1". Might need additional changes to Tcl_Main so
1.6766 + that unprintable results are printed as binary data.
1.6767 +
1.6768 +2002-07-29 Mo DeJong <mdejong@users.sourceforge.net>
1.6769 +
1.6770 + * unix/Makefile.in: Use CC_SEARCH_FLAGS instead of LD_SEARCH_FLAGS
1.6771 + when linking with ${CC}.
1.6772 + * unix/configure: Regen.
1.6773 + * unix/configure.in: Don't subst CC_SEARCH_FLAGS or LD_SEARCH_FLAGS
1.6774 + since this is now done in tcl.m4.
1.6775 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Document and set CC_SEARCH_FLAGS
1.6776 + whenever LD_SEARCH_FLAGS is set. [Patch 588290]
1.6777 +
1.6778 +2002-07-29 Reinhard Max <max@suse.de>
1.6779 +
1.6780 + * unix/tcl.m4 (SC_SERIAL_PORT): Fixed detection for cases when
1.6781 + configure's stdin is not a tty.
1.6782 +
1.6783 + * unix/tclUnixPort.h:
1.6784 + * generic/tclIOSock.c: Changed size_t to socklen_t in
1.6785 + socket-related function calls.
1.6786 +
1.6787 + * unix/configure.in: Added test and fallback definition
1.6788 + for socklen_t.
1.6789 +
1.6790 + * unix/configure: generated.
1.6791 +
1.6792 +2002-07-29 Miguel Sofer <msofer@users.sourceforge.net>
1.6793 +
1.6794 + * generic/tclObj.c: fixed a comment
1.6795 +
1.6796 + * generic/tcl.h:
1.6797 + * generic/tclBasic.c:
1.6798 + * generic/tclInterp.c: added the new flag TCL_EVAL_INVOKE to the
1.6799 + interface of the Tcl_Eval* functions, removing the
1.6800 + TCL_EVAL_NO_TRACEBACK added yesterday: alias invocations not only
1.6801 + require no tracebacks, but also look up the command name in the global
1.6802 + scope - see new test interp-9.4
1.6803 + * tests/interp.test: added 9.3 to test for safety of aliases to hidden
1.6804 + commands, 9.4 to test for correct command lookup scope.
1.6805 +
1.6806 +2002-07-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6807 +
1.6808 + * generic/regc_locale.c (cclass): [[:xdigit:]] is only a defined
1.6809 + concept on western characters, so should not allow any unicode digit,
1.6810 + and hence number of ranges in [[:xdigit:]] is fixed.
1.6811 + * tests/reg.test: Added test to detect the bug.
1.6812 + * generic/regc_cvec.c (newcvec): Corrected initial size value in
1.6813 + character vector structure. [Bug 578363] Many thanks to
1.6814 + pvgoran@users.sf.net for tracking this down.
1.6815 +
1.6816 +2002-07-28 Miguel Sofer <msofer@users.sourceforge.net>
1.6817 +
1.6818 + * generic/tcl.h:
1.6819 + * generic/tclBasic.c: added the new flag TCL_EVAL_NO_TRACEBACK to the
1.6820 + interface of the Tcl_Eval* functions. Modified the error message for
1.6821 + too many nested evaluations.
1.6822 + * generic/tclInterp.h: changed the Alias struct to be of variable
1.6823 + length and store the prefix arguments directly (instead of a pointer
1.6824 + to a Tcl_Obj list). Made AliasObjCmd call Tcl_EvalObjv instead of
1.6825 + TclObjInvoke - thus making aliases trigger execution traces. [Bug
1.6826 + 582522]
1.6827 + * tests/interp.test:
1.6828 + * tests/stack.test: adapted to the new error message.
1.6829 + * tests/trace.test: added tests for aliases firing the exec traces.
1.6830 +
1.6831 +2002-07-27 Mo DeJong <mdejong@users.sourceforge.net>
1.6832 +
1.6833 + * unix/Makefile.in: Revert fix for Tcl bug 529801 since it was
1.6834 + incorrect and broke the build on other systems. Fix [Bug 587299]. Add
1.6835 + MAJOR_VERSION, MINOR_VERSION, PATCH_LEVEL, SHLIB_LD_FLAGS,
1.6836 + SHLIB_LD_LIBS, CC_SEARCH_FLAGS, LD_SEARCH_FLAGS, and LIB_FILE
1.6837 + variables to support more generic library build/install rules.
1.6838 + * unix/configure: Regen.
1.6839 + * unix/configure.in: Move AC_PROG_RANLIB into tcl.m4. Move shared
1.6840 + build test and setting of MAKE_LIB and MAKE_STUB_LIB into tcl.m4. Move
1.6841 + subst of a number of variables into tcl.m4 where they are defined.
1.6842 + * unix/tcl.m4 (SC_ENABLE_SYMBOLS, SC_CONFIG_CFLAGS):
1.6843 + Subst vars where they are defined. Add MAKE_LIB, MAKE_STUB_LIB,
1.6844 + INSTALL_LIB, and INSTALL_STUB_LIB rules to deal with the ugly details
1.6845 + of running ranlib on static libs at build and install time. Replace
1.6846 + TCL_SHLIB_LD_EXTRAS with SHLIB_LD_FLAGS and use it when building a
1.6847 + shared library.
1.6848 + * unix/tclConfig.sh.in: Add TCL_CC_SEARCH_FLAGS.
1.6849 +
1.6850 +2002-07-26 Miguel Sofer <msofer@users.sourceforge.net>
1.6851 +
1.6852 + * generic/tclExecute.c: fixed Tcl_Obj leak in code corresponding to
1.6853 + the macro NEXT_INST_V(x, 0, 1). [Bug 587495]
1.6854 +
1.6855 +2002-07-26 Miguel Sofer <msofer@users.sourceforge.net>
1.6856 +
1.6857 + * generic/tclVar.c (TclObjLookupVar): leak fix and improved comments.
1.6858 +
1.6859 +2002-07-26 Jeff Hobbs <jeffh@ActiveState.com>
1.6860 +
1.6861 + * generic/tclVar.c (TclLookupVar): removed early returns that
1.6862 + prevented the parens from being restored. also removed goto label as
1.6863 + it was not necessary.
1.6864 +
1.6865 +2002-07-24 Miguel Sofer <msofer@users.sourceforge.net>
1.6866 +
1.6867 + * generic/tclExecute.c:
1.6868 + * tests/expr-old.test: fix for erroneous error messages in [expr],
1.6869 + [Bug 587140] reported by Martin Lemburg.
1.6870 +
1.6871 +2002-07-25 Joe English <jenglish@users.sourceforge.net>
1.6872 +
1.6873 + * generic/tclProc.c: fix for [Tk Bug 219218] "error handling with
1.6874 + bgerror in Tk"
1.6875 +
1.6876 +2002-07-24 Miguel Sofer <msofer@users.sourceforge.net>
1.6877 +
1.6878 + * generic/tclExecute.c: restoring full TCL_COMPILE_DEBUG
1.6879 + functionality.
1.6880 +
1.6881 +2002-07-24 Don Porter <dgp@users.sourceforge.net>
1.6882 +
1.6883 + * tests/unixInit.test: relaxed unixInit-3.1 to accept iso8859-15 as a
1.6884 + valid C encoding. [Bug 575336]
1.6885 +
1.6886 +2002-07-24 Miguel Sofer <msofer@users.sourceforge.net>
1.6887 +
1.6888 + * generic/tclExecute.c: restoring the tcl_traceCompile functionality
1.6889 + while I repair tcl_traceExec. The core now compiles and runs also
1.6890 + under TCL_COMPILE_DEBUG, but execution in the bytecode engine can
1.6891 + still not be traced.
1.6892 +
1.6893 +2002-07-24 Daniel Steffen <das@users.sourceforge.net>
1.6894 +
1.6895 + * unix/Makefile.in:
1.6896 + * unix/configure.in: corrected fix for [Bug 529801]: ranlib only
1.6897 + needed for static builds on Mac OS X.
1.6898 + * unix/configure: Regen.
1.6899 + * unix/tclLoadDyld.c: fixed small bugs introduced by Vince,
1.6900 + implemented library unloading correctly (needs OS X 10.2).
1.6901 +
1.6902 +2002-07-23 Joe English <jenglish@users.sourceforge.net>
1.6903 +
1.6904 + * doc/OpenFileChnl.3: (Updates from Larry Virden)
1.6905 + * doc/open.n:
1.6906 + * doc/tclsh.1: Fix section numbers in Unix man page references.
1.6907 + * doc/lset.n: In EXAMPLES section, include command to set the initial
1.6908 + value used in subsequent examples.
1.6909 + * doc/http.n: Package version updated to 2.4.
1.6910 +
1.6911 +2002-07-23 Mo DeJong <mdejong@users.sourceforge.net>
1.6912 +
1.6913 + * unix/configure: Regen.
1.6914 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Enable 64 bit compilation when using
1.6915 + the native compiler on a 64 bit version of IRIX. [Bug 219220]
1.6916 +
1.6917 +2002-07-23 Mo DeJong <mdejong@users.sourceforge.net>
1.6918 +
1.6919 + * unix/Makefile.in: Combine ranlib tests and avoid printing unless
1.6920 + ranlib is actually run.
1.6921 +
1.6922 +2002-07-23 Mo DeJong <mdejong@users.sourceforge.net>
1.6923 +
1.6924 + * unix/tcl.m4 (SC_PATH_X): Set XINCLUDES to "" instead of "# no
1.6925 + special path needed" or "# no include files found" when x headers
1.6926 + cannot be located.
1.6927 +
1.6928 +2002-07-22 Vince Darley <vincentdarley@users.sourceforge.net>
1.6929 +
1.6930 + * generic/tclIOUtil.c: made tclNativeFilesystem static (since 07-19
1.6931 + changes removed its usage elsewhere), and added comments about its
1.6932 + usage.
1.6933 + * generic/tclLoad.c:
1.6934 + * generic/tcl.h:
1.6935 + * generic/tcl.decls:
1.6936 + * doc/FileSystem.3: converted last load-related ClientData parameter
1.6937 + to Tcl_LoadHandle opaque structure, removing a couple of casts in the
1.6938 + process.
1.6939 +
1.6940 + * generic/tclInt.h: removed tclNativeFilesystem declaration since it
1.6941 + is now static again.
1.6942 +
1.6943 +2002-07-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6944 +
1.6945 + * tests/expr.test (expr-22.*): Added tests to help detect the
1.6946 + corrected handling.
1.6947 + * generic/tclExecute.c (IllegalExprOperandType): Improved error
1.6948 + message generated when attempting to manipulate Inf and NaN values.
1.6949 + * generic/tclParseExpr.c (GetLexeme): Allowed parser to recognise
1.6950 + 'Inf' as a floating-point number. [Bug 218000]
1.6951 +
1.6952 +2002-07-21 Don Porter <dgp@users.sourceforge.net>
1.6953 +
1.6954 + * tclIOUtil.c: Silence compiler warning. [Bug 584408].
1.6955 +
1.6956 +2002-07-19 Vince Darley <vincentdarley@users.sourceforge.net>
1.6957 +
1.6958 + * generic/tclIOUtil.c: fix to GetFilesystemRecord
1.6959 + * win/tclWinFile.c:
1.6960 + * unix/tclUnixFile.c: fix to subtle problem with links shown up by
1.6961 + latest tclkit builds.
1.6962 +
1.6963 +2002-07-19 Mo DeJong <mdejong@users.sourceforge.net>
1.6964 +
1.6965 + * unix/configure:
1.6966 + * unix/configure.in:
1.6967 + * win/configure:
1.6968 + * win/configure.in: Add AC_PREREQ(2.13) in an attempt to make it more
1.6969 + clear that the configure scripts must be generated with autoconf
1.6970 + version 2.13. [Bug 583573]
1.6971 +
1.6972 +2002-07-19 Vince Darley <vincentdarley@users.sourceforge.net>
1.6973 +
1.6974 + * unix/Makefile.in: fix to build on MacOS X [Bug 529801], bug report
1.6975 + and fix from jcw.
1.6976 +
1.6977 +2002-07-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.6978 +
1.6979 + * win/tclWinSerial.c (no_timeout): Made this variable static.
1.6980 +
1.6981 + * generic/tclExecute.c, generic/tclCompile.c, generic/tclBasic.c:
1.6982 + * generic/tclCompile.h (builtinFuncTable, instructionTable): Added
1.6983 + prefix to these symbols because they are visible outside the Tcl
1.6984 + library.
1.6985 +
1.6986 + * generic/tclCompExpr.c (operatorTable):
1.6987 + * unix/tclUnixTime.c (tmKey):
1.6988 + * generic/tclIOUtil.c (theFilesystemEpoch, filesystemWantToModify,
1.6989 + (filesystemIteratorsInProgress, filesystemOkToModify): Made these
1.6990 + variables static.
1.6991 +
1.6992 + * unix/tclUnixFile.c: Renamed nativeFilesystem to
1.6993 + * win/tclWinFile.c: tclNativeFilesystem and declared
1.6994 + * generic/tclIOUtil.c: it properly in tclInt.h
1.6995 + * generic/tclInt.h:
1.6996 +
1.6997 + * generic/tclUtf.c (totalBytes): Made this array static and const.
1.6998 +
1.6999 + * generic/tclParse.c (typeTable): Made this array static and const.
1.7000 + (Tcl_ParseBraces): Simplified error handling case so that scans are
1.7001 + only performed when needed, and flags are simpler too.
1.7002 +
1.7003 + * license.terms: Added AS to list of copyright holders; it's only fair
1.7004 + for the current gatekeepers to be listed here!
1.7005 +
1.7006 + * tests/cmdMZ.test: Renamed constraint for clarity. [Bug 583427]
1.7007 + Added tests for the [time] command, which was previously only
1.7008 + indirectly tested!
1.7009 +
1.7010 +2002-07-18 Vince Darley <vincentdarley@users.sourceforge.net>
1.7011 +
1.7012 + * generic/tclInt.h:
1.7013 + * generic/tcl.h:
1.7014 + * */*Load*.c: added comments on changes of 07/17 and replaced
1.7015 + clientData with Tcl_LoadHandle in all locations.
1.7016 +
1.7017 + * generic/tclFCmd.c:
1.7018 + * tests/fileSystem.test: fixed a 'knownBug' with 'file
1.7019 + attributes ""'
1.7020 + * tests/winFCmd.test:
1.7021 + * tests/winPipe.test:
1.7022 + * tests/fCmd.test:
1.7023 + * tessts/winFile.test: added 'pcOnly' constraint to some tests to make
1.7024 + for more useful 'tests skipped' log from running all tests on
1.7025 + non-Windows platforms.
1.7026 +
1.7027 +2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
1.7028 +
1.7029 + * generic/tclBasic.c (CallCommandTraces): delete traces now receive
1.7030 + the FQ old name of the command. [Bug 582532] (Don Porter)
1.7031 +
1.7032 +2002-07-18 Vince Darley <vincentdarley@users.sourceforge.net>
1.7033 +
1.7034 + * tests/ioUtil.test: added constraints to 1.4,2.4 so they don't run
1.7035 + outside of tcltest. [Bugs 583276,583277]
1.7036 +
1.7037 +2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
1.7038 +
1.7039 + * generic/tclVar.c (DupParsedVarName): nasty bug fixed, reported by
1.7040 + Vince Darley.
1.7041 +
1.7042 +2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
1.7043 +
1.7044 + * generic/tclVar.c (TclPtrIncrVar): missing CONST in declarations,
1.7045 + inconsistent with tclInt.h. Thanks to Vince Darley for reporting, boo
1.7046 + to gcc for not complaining.
1.7047 +
1.7048 +2002-07-17 Vince Darley <vincentdarley@users.sourceforge.net>
1.7049 +
1.7050 + * generic/tclInt.h:
1.7051 + * generic/tclIOUtil.c:
1.7052 + * generic/tclLoadNone.c:
1.7053 + * unix/tclLoadAout.c:
1.7054 + * unix/tclLoadDl.c:
1.7055 + * unix/tclLoadDld.c:
1.7056 + * unix/tclLoadDyld.c:
1.7057 + * unix/tclLoadNext.c:
1.7058 + * unix/tclLoadOSF.c:
1.7059 + * unix/tclLoadShl.c:
1.7060 + * mac/tclMacLoad.c:
1.7061 + * win/tclWinLoad.c: modified to move more functionality to the generic
1.7062 + code and avoid duplication. Partial replacement of internal uses of
1.7063 + clientData with opaque Tcl_LoadHandle. A little further work still
1.7064 + needed, but significant changes are done.
1.7065 +
1.7066 +2002-07-17 D. Richard Hipp <drh@hwaci.com>
1.7067 +
1.7068 + * library/msgcat/msgcat.tcl: fix a comment that was causing problems
1.7069 + for programs (ex: mktclapp) that embed the initialization scripts in
1.7070 + strings.
1.7071 +
1.7072 +2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
1.7073 +
1.7074 + * generic/tclInt.decls:
1.7075 + * generic/tclIntDecls.h:
1.7076 + * generic/tclStubInit.c:
1.7077 + * generic/tclVar.c: removing the now redundant functions to access
1.7078 + indexed variables: Tcl(Get|Set|Incr)IndexedScalar() and
1.7079 + Tcl(Get|Set|Incr)ElementOfIndexedArray().
1.7080 +
1.7081 +2002-07-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7082 +
1.7083 + * generic/tclExecute.c (TclExecuteByteCode): Minor fixes to make this
1.7084 + file compile with SunPro CC...
1.7085 +
1.7086 +2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
1.7087 +
1.7088 + * generic/tclExecute.c: modified to do variable lookup explicitly, and
1.7089 + then either inlining the variable access or else calling the new
1.7090 + TclPtr(Set|Get|Incr)Var functions in tclVar.c
1.7091 + * generic/tclInt.h: declare some functions previously local to
1.7092 + tclVar.c for usage by TEBC.
1.7093 + * generic/tclVar.c: removed local declarations; moved all special
1.7094 + accessor functions for indexed variables to the end of the file - they
1.7095 + are unused and ready for removal, but left there for the time being as
1.7096 + they are in the internal stubs table.
1.7097 +
1.7098 + ** WARNING FOR BYTECODE MAINTAINERS **
1.7099 + TCL_COMPILE_DEBUG is currently not functional; will be fixed ASAP.
1.7100 +
1.7101 +2002-07-16 Mo DeJong <mdejong@users.sourceforge.net>
1.7102 +
1.7103 + * unix/Makefile.in:
1.7104 + * win/Makefile.in: Add a more descriptive warning in the event `make
1.7105 + genstubs` needs to be rerun.
1.7106 +
1.7107 +2002-07-16 Mo DeJong <mdejong@users.sourceforge.net>
1.7108 +
1.7109 + * unix/Makefile.in: Use dltest.marker file to keep track of when the
1.7110 + dltest package is up to date. This fixes [Bug 575768] since tcltest is
1.7111 + no longer linked every time.
1.7112 + * unix/dltest/Makefile.in: Create ../dltest.marker after a successful
1.7113 + `make all` run in dltest.
1.7114 +
1.7115 +2002-07-16 Mo DeJong <mdejong@users.sourceforge.net>
1.7116 +
1.7117 + * unix/configure: Regen.
1.7118 + * unix/configure.in: Remove useless subst of TCL_BIN_DIR.
1.7119 +
1.7120 +2002-07-15 Miguel Sofer <msofer@users.sourceforge.net>
1.7121 +
1.7122 + * generic/tclVar.c: inaccurate comment fixed
1.7123 +
1.7124 +2002-07-15 Miguel Sofer <msofer@users.sourceforge.net>
1.7125 +
1.7126 + * generic/tclBasic.c (Tcl_AddObjErrorInfo):
1.7127 + * generic/tclExecute.c (TclUpdateReturnInfo):
1.7128 + * generic/tclInt.h:
1.7129 + * generic/tclProc.c:
1.7130 + Added two Tcl_Obj to the ExecEnv structure to hold the fully qualified
1.7131 + names "::errorInfo" and "::errorCode" to cache the addresses of the
1.7132 + corresponding variables. The two most frequent setters of these
1.7133 + variables now profit from the new variable name caching.
1.7134 +
1.7135 +2002-07-15 Miguel Sofer <msofer@users.sourceforge.net>
1.7136 +
1.7137 + * generic/tclVar.c: refactorisation to reuse already looked-up Var
1.7138 + pointers; definition of three new Tcl_Obj types to cache variable name
1.7139 + parsing and lookup for later reuse; modification of internal functions
1.7140 + to profit from the caching.
1.7141 +
1.7142 + * generic/tclInt.decls:
1.7143 + * generic/tclInt.h:
1.7144 + * generic/tclIntDecls.h:
1.7145 + * generic/tclNamesp.c: adding CONST qualifiers to variable names
1.7146 + passed to Tcl_FindNamespaceVar and to variable resolvers; adding CONST
1.7147 + qualifier to the 'msg' argument to TclLookupVar. Needed to avoid code
1.7148 + duplication in the new tclVar.c code.
1.7149 +
1.7150 + * tests/set-old.test:
1.7151 + * tests/var.test: slight modification of error messages due to the
1.7152 + modifications in the tclVar.c code.
1.7153 +
1.7154 +2002-07-15 Don Porter <dgp@users.sourceforge.net>
1.7155 +
1.7156 + * tests/unixInit.test: Improved constraints to protect /tmp. [Bug
1.7157 + 581403]
1.7158 +
1.7159 +2002-07-15 Vince Darley <vincentdarley@users.sourceforge.net>
1.7160 +
1.7161 + * tests/winFCmd.test: renamed 'win2000' and 'notWin2000' to more
1.7162 + appropriate constraint names.
1.7163 + * win/tclWinFile.c: updated comments to reflect 07-11 changes.
1.7164 + * win/tclWinFCmd.c: made ConvertFileNameFormat static again, since no
1.7165 + longer used in tclWinFile.c
1.7166 + * mac/tclMacFile.c: completed TclpObjLink implementation which was
1.7167 + previously lacking.
1.7168 + * generic/tclIOUtil.c: comment cleanup and code speedup.
1.7169 +
1.7170 +2002-07-14 Don Porter <dgp@users.sourceforge.net>
1.7171 +
1.7172 + * generic/tclInt.h: Removed declarations that duplicated entries
1.7173 + in the (internal) stub table.
1.7174 +
1.7175 + * library/tcltest/tcltest.tcl: Corrected errors in handling of
1.7176 + configuration options -constraints and -limitconstraints.
1.7177 +
1.7178 + * README: Bumped HEAD to version 8.4b2 so we can
1.7179 + * generic/tcl.h: distinguish it from the 8.4b1 release.
1.7180 + * tools/tcl.wse.in:
1.7181 + * unix/configure*:
1.7182 + * unix/tcl.spec:
1.7183 + * win/README.binary:
1.7184 + * win/configure*:
1.7185 +
1.7186 +2002-07-11 Vince Darley <vincentdarley@users.sourceforge.net>
1.7187 +
1.7188 + * doc/file.n:
1.7189 + * win/tclWinFile.c: on Win 95/98/ME the long form of the path is used
1.7190 + as a normalized form. This is required because short forms are not a
1.7191 + robust representation. The file normalization function has been sped
1.7192 + up, but more performance gains might be possible, if speed is still an
1.7193 + issue on these platforms.
1.7194 +
1.7195 +2002-07-11 Don Porter <dgp@users.sourceforge.net>
1.7196 +
1.7197 + * library/tcltest/tcltest.tcl: Corrected reaction to existing but
1.7198 + false ::tcl_interactive.
1.7199 +
1.7200 + * doc/Hash.3: Overlooked CONST documentation update.
1.7201 +
1.7202 +2002-07-11 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7203 +
1.7204 + * generic/tclCkalloc.c: ckalloc() and friends take the block size as
1.7205 + an unsigned, so we should use %ud when reporting it in fprintf() and
1.7206 + panic().
1.7207 +
1.7208 +2002-07-11 Miguel Sofer <msofer@users.sourceforge.net>
1.7209 +
1.7210 + * generic/tclCompile.c: now setting local vars undefined at compile
1.7211 + time, instead of waiting until the proc is initialized.
1.7212 + * generic/tclProc.c: use macro TclSetVarUndefined instead of directly
1.7213 + setting the flag.
1.7214 +
1.7215 +2002-07-11 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7216 +
1.7217 + * tests/cmdAH.test: [file attr -perm] is Unix-only, so add [catch]
1.7218 + when not inside a suitably-protected test.
1.7219 +
1.7220 +2002-07-10 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7221 +
1.7222 + * tests/unixFCmd.test, tests/fileName.test:
1.7223 + * tests/fCmd.test: Removed [exec] of Unix utilities that have
1.7224 + equivalents in standard Tcl. [Bug 579268] Also simplified some of
1.7225 + unixFCmd.test while I was at it.
1.7226 +
1.7227 +2002-07-10 Don Porter <dgp@users.sourceforge.net>
1.7228 +
1.7229 + * tests/tcltest.test: Greatly reduced the number of [exec]s, using
1.7230 + slave interps instead.
1.7231 + * library/tcltest/tcltest.tcl: Fixed bug uncovered in the conversion
1.7232 + where a message was written to stdout instead of [outputChannel].
1.7233 +
1.7234 + * tests/basic.test: Cleaned up, constrained, and reduced the
1.7235 + * tests/compile.test: amount of [exec] usage in the test suite.
1.7236 + * tests/encoding.test:
1.7237 + * tests/env.test:
1.7238 + * tests/event.test:
1.7239 + * tests/exec.test:
1.7240 + * tests/io.test:
1.7241 + * tests/ioCmd.test:
1.7242 + * tests/regexp.test:
1.7243 + * tests/regexpComp.test:
1.7244 + * tests/socket.test:
1.7245 + * tests/tcltest.test:
1.7246 + * tests/unixInit.test:
1.7247 + * tests/winDde.test:
1.7248 + * tests/winPipe.test:
1.7249 +
1.7250 +2002-07-10 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7251 +
1.7252 + * tests/cmdAH.test: Removed [exec] of Unix utilities. [Bug 579211]
1.7253 +
1.7254 + * tests/expr.test: Added tests to make sure that this works.
1.7255 + * generic/tclExecute.c (ExprCallMathFunc): Functions should also be
1.7256 + able to return wide-ints. [Bug 579284]
1.7257 +
1.7258 +2002-07-08 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.7259 +
1.7260 + * tests/socket.test: Fixed [Bug 578164]. The original reason for the
1.7261 + was a DNS outage while running the testsuite. Changed [info hostname]
1.7262 + to 127.0.0.1 to bypass DNS, knowing that we operate on the local
1.7263 + host.
1.7264 +
1.7265 +2002-07-08 Don Porter <dgp@users.sourceforge.net>
1.7266 +
1.7267 + * doc/tcltest.n: Fixed incompatibility in [viewFile].
1.7268 + * library/tcltest/tcltest.tcl: Corrected docs. Bumped to 2.2.1.
1.7269 + * library/tcltest/pkgIndex.tcl: [Bug 578163]
1.7270 +
1.7271 +2002-07-08 Vince Darley <vincentdarley@users.sourceforge.net>
1.7272 +
1.7273 + * tests/cmdAH.test:
1.7274 + * tests/fCmd.test:
1.7275 + * tests/fileName.test: tests which rely on 'file link' need a
1.7276 + constraint so they don't run on older Windows OS. [Bug 578158]
1.7277 + * generic/tclIOUtil.c:
1.7278 + * generic/tcl.h:
1.7279 + * generic/tclInt.h:
1.7280 + * generic/tclTest.c:
1.7281 + * mac/tclMacChan.c:
1.7282 + * unix/tclUnixChan.c:
1.7283 + * win/tclWinChan.c:
1.7284 + * doc/FileSystem.3: cleaned up internal handling of
1.7285 + Tcl_FSOpenFileChannel to remove duplicate code, and make writing
1.7286 + external vfs's clearer and easier. No functionality change. Also
1.7287 + clarify that objects with refCount zero should not be passed in to the
1.7288 + Tcl_FS API, and prevent segfaults from occuring on such user errors.
1.7289 + [Bug 578617]
1.7290 +
1.7291 +2002-07-06 Don Porter <dgp@users.sourceforge.net>
1.7292 +
1.7293 + * tests/pkgMkIndex.test: Constrained tests of [load] package indexing
1.7294 + to those platforms where the testing shared libraries have been built.
1.7295 + [Bug 578166].
1.7296 +
1.7297 +2002-07-05 Don Porter <dgp@users.sourceforge.net>
1.7298 +
1.7299 + * changes: added recent changes
1.7300 +
1.7301 +2002-07-05 Reinhard Max <max@suse.de>
1.7302 +
1.7303 + * generic/tclClock.c (FormatClock): Convert the format string to
1.7304 + UTF8 before calling TclpStrftime, so that non-ASCII characters don't
1.7305 + get mangled when the result string is being converted back.
1.7306 + * tests/clock.test: Added a test for that.
1.7307 +
1.7308 +2002-07-05 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7309 +
1.7310 + * unix/Makefile.in (ro-test,ddd,GDB,DDD): Created new targets to allow
1.7311 + running the test suite with a read-only current directory, running
1.7312 + under ddd instead of gdb, and factored out some executable names for
1.7313 + broken sites (like mine) where gdb and ddd are installed with
1.7314 + non-standard names...
1.7315 +
1.7316 + * tests/httpold.test: Altered test names to httpold-* to avoid clashes
1.7317 + with http.test, and stopped tests from failing when the current
1.7318 + directory is not writable...
1.7319 +
1.7320 + * tests/event.test: Stop these tests from failing
1.7321 + * tests/ioUtil.test: when the current directory is
1.7322 + * tests/regexp.test: not writable...
1.7323 + * tests/regexpComp.test:
1.7324 + * tests/source.test:
1.7325 + * tests/unixFile.test:
1.7326 + * tests/unixNotfy.test:
1.7327 +
1.7328 + * tests/unixFCmd.test: Trying to make these test-files
1.7329 + * tests/macFCmd.test: not bomb out with an error when
1.7330 + * tests/http.test: the current directory is not
1.7331 + * tests/fileName.test: writable...
1.7332 + * tests/env.test:
1.7333 +
1.7334 +2002-07-05 Jeff Hobbs <jeffh@ActiveState.com>
1.7335 +
1.7336 + *** 8.4b1 TAGGED FOR RELEASE ***
1.7337 +
1.7338 +2002-07-04 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7339 +
1.7340 + * tests/cmdMZ.test (cmdMZ-1.4):
1.7341 + * tests/cmdAH.test: More fixing of writable-current-dir assumption.
1.7342 + [Bug 575824]
1.7343 +
1.7344 +2002-07-04 Miguel Sofer <msofer@users.sourceforge.net>
1.7345 +
1.7346 + * tests/basic.test: Same issue as below; fixed [Bug 575817]
1.7347 +
1.7348 +2002-07-04 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.7349 +
1.7350 + * tests/socket.test:
1.7351 + * tests/winPipe.test:
1.7352 + * tests/pid.test: Fixed [Bug 575848]. See below for a description the
1.7353 + general problem.
1.7354 +
1.7355 + All the bugs below are instances of the same problem: The testsuite
1.7356 + assumes [pwd] = [temporaryDirectory] and writable.
1.7357 +
1.7358 + * tests/iogt.test: Fixed [Bug 575860]
1.7359 + * tests/io.test: Fixed [Bug 575862]
1.7360 + * tests/exec.test:
1.7361 + * tests/ioCmd.test: Fixed [Bug 575836]
1.7362 +
1.7363 +2002-07-03 Don Porter <dgp@users.sourceforge.net>
1.7364 +
1.7365 + * tests/pkg1/direct1.tcl: removed
1.7366 + * tests/pkg1/pkgIndex.tcl: removed
1.7367 + * tests/pkgMkIndex.test: Imported auxilliary files from tests/pkg1
1.7368 + into the test file pkgMkIndex.test itself. Formatting fixes.
1.7369 +
1.7370 + * unix/Makefile.in: removed tests/pkg/* from `make dist`
1.7371 +
1.7372 + * tests/pkg/circ1.tcl: removed
1.7373 + * tests/pkg/circ2.tcl: removed
1.7374 + * tests/pkg/circ3.tcl: removed
1.7375 + * tests/pkg/global.tcl: removed
1.7376 + * tests/pkg/import.tcl: removed
1.7377 + * tests/pkg/pkg1.tcl: removed
1.7378 + * tests/pkg/pkg2_a.tcl: removed
1.7379 + * tests/pkg/pkg2_b.tcl: removed
1.7380 + * tests/pkg/pkg3.tcl: removed
1.7381 + * tests/pkg/pkg4.tcl: removed
1.7382 + * tests/pkg/pkg5.tcl: removed
1.7383 + * tests/pkg/pkga.tcl: removed
1.7384 + * tests/pkg/samename.tcl: removed
1.7385 + * tests/pkg/simple.tcl: removed
1.7386 + * tests/pkg/spacename.tcl: removed
1.7387 + * tests/pkg/std.tcl: removed
1.7388 + * tests/pkgMkIndex.test: Fixed [Bug 575857] where this test file
1.7389 + expected to be able to write to [file join [testsDirectory] pkg]. Part
1.7390 + of the fix was to import several auxilliary files into the test file
1.7391 + itself.
1.7392 +
1.7393 + * tests/main.test: Cheap fix for [Bugs 575851, 575858]. Avoid
1.7394 + * tests/tcltest.test: non-writable . by [cd [temporaryDirectory]].
1.7395 +
1.7396 + * library/auto.tcl: Fix [tcl_findLibrary] to be sure it sets $varName
1.7397 + only if a successful library script is found. [Bug 577033]
1.7398 +
1.7399 +2002-07-03 Miguel Sofer <msofer@users.sourceforge.net>
1.7400 +
1.7401 + * generic/tclCompCmds.c (TclCompileCatchCmd): return
1.7402 + TCL_OUT_LINE_COMPILE instead of TCL_ERROR: let the failure happen at
1.7403 + runtime so that it can be caught [Bug 577015].
1.7404 +
1.7405 +2002-07-02 Joe English <jenglish@users.sourceforge.net>
1.7406 +
1.7407 + * doc/tcltest.n: Markup fixes, spellcheck.
1.7408 +
1.7409 +2002-07-02 Don Porter <dgp@users.sourceforge.net>
1.7410 +
1.7411 + * doc/tcltest.n: more refinements of the documentation.
1.7412 +
1.7413 + * library/tcltest/tcltest.tcl: Added trace to be sure the stdio
1.7414 + constraint is updated whenever the [interpreter] changes.
1.7415 +
1.7416 + * doc/tcltest.n: Reverted [makeFile] and [viewFile] to
1.7417 + * library/tcltest/tcltest.tcl: their former behavior, and documented
1.7418 + * tests/cmdAH.test: it. Corrected misspelling of hook
1.7419 + * tests/event.test: procedure. Restored tests.
1.7420 + * tests/http.test:
1.7421 + * tests/io.test:
1.7422 +
1.7423 + * library/tcltest/tcltest.tcl: Simplified logic of [GetMatchingFiles]
1.7424 + and [GetMatchingDirectories], removing special case processing.
1.7425 +
1.7426 + * doc/tcltest.n: More documentation updates. Reference sections are
1.7427 + complete. Only examples need adding.
1.7428 +
1.7429 +2002-07-02 Vince Darley <vincentdarley@users.sourceforge.net>
1.7430 +
1.7431 + * tests/fCmd.test:
1.7432 + * generic/tclCmdAH.c: clearer error msgs for 'file link', as per the
1.7433 + man page.
1.7434 +
1.7435 +2002-07-01 Joe English <jenglish@users.sourceforge.net>
1.7436 +
1.7437 + * doc/Access.3:
1.7438 + * doc/AddErrInfo.3:
1.7439 + * doc/Alloc.3:
1.7440 + * doc/Backslash.3:
1.7441 + * doc/CrtChannel.3:
1.7442 + * doc/CrtSlave.3:
1.7443 + * doc/Encoding.3:
1.7444 + * doc/Eval.3:
1.7445 + * doc/FileSystem.3:
1.7446 + * doc/Notifier.3:
1.7447 + * doc/OpenFileChnl.3:
1.7448 + * doc/ParseCmd.3:
1.7449 + * doc/RegExp.3:
1.7450 + * doc/Tcl_Main.3:
1.7451 + * doc/Thread.3:
1.7452 + * doc/TraceCmd.3:
1.7453 + * doc/Utf.3:
1.7454 + * doc/WrongNumArgs.3:
1.7455 + * doc/binary.n:
1.7456 + * doc/clock.n:
1.7457 + * doc/expr.n:
1.7458 + * doc/fconfigure.n:
1.7459 + * doc/glob.n:
1.7460 + * doc/http.n:
1.7461 + * doc/interp.n:
1.7462 + * doc/lsearch.n:
1.7463 + * doc/lset.n:
1.7464 + * doc/msgcat.n:
1.7465 + * doc/packagens.n:
1.7466 + * doc/pkgMkIndex.n:
1.7467 + * doc/registry.n:
1.7468 + * doc/resource.n:
1.7469 + * doc/safe.n:
1.7470 + * doc/scan.n:
1.7471 + * doc/tclvars.n: Spell-check, fixed typos (Updates from Larry Virden)
1.7472 +
1.7473 +2002-07-01 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7474 +
1.7475 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Made Solaris use gcc for linking
1.7476 + when building with gcc to resolve problems with undefined symbols
1.7477 + being present when tcl library used with non-gcc linker at later
1.7478 + stage. Symbols were compiler-generated, so it is the compiler's
1.7479 + business to define them. [Bug 541181]
1.7480 +
1.7481 +2002-07-01 Don Porter <dgp@users.sourceforge.net>
1.7482 +
1.7483 + * doc/tcltest.n: more work in progress updating tcltest docs.
1.7484 +
1.7485 + * library/tcltest/tcltest.tcl: Change [configure -match] to stop
1.7486 + treating an empty list as a list of the single pattern "*". Changed
1.7487 + the default value to [list *] so default operation remains the same.
1.7488 +
1.7489 + * tests/pkg/samename.tcl: restored. Needed by pkgMkIndex.test.
1.7490 +
1.7491 + * library/tcltest/tcltest.tcl: restored writeability testing of
1.7492 + -tmpdir, augmented by a special exception for the deafault value.
1.7493 +
1.7494 +2002-07-01 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7495 +
1.7496 + * doc/concat.n: Documented the *real* behaviour of [concat]!
1.7497 +
1.7498 +2002-06-30 Don Porter <dgp@users.sourceforge.net>
1.7499 +
1.7500 + * doc/tcltest.n: more work in progress updating tcltest docs.
1.7501 +
1.7502 + * tests/README: Updated the instructions on running and
1.7503 + * tests/cmdMZ.test: adding to the test suite. Also updated
1.7504 + * tests/encoding.test: several tests, mostly to correctly create
1.7505 + * tests/fCmd.test: and destroy any temporary files in the
1.7506 + * tests/info.test: [temporaryDirectory] of tcltest.
1.7507 + * tests/interp.test:
1.7508 +
1.7509 + * library/tcltest/tcltest.tcl: Stopped checking for writeability of
1.7510 + -tmpdir value because no default directory can be guaranteed to be
1.7511 + writeable.
1.7512 +
1.7513 + * tests/autoMkindex.tcl: removed.
1.7514 + * tests/pkg/samename.tcl: removed.
1.7515 + * tests/pkg/magicchar.tcl: removed.
1.7516 + * tests/pkg/magicchar2.tcl: removed.
1.7517 + * tests/autoMkindex.test: Updated auto_mkIndex tests to use [makeFile]
1.7518 + and [removeFile] so tests are done in [temporaryDirecotry] where write
1.7519 + access is guaranteed.
1.7520 +
1.7521 + * library/tcltest/tcltest.tcl: Fixed [makeFile] and [viewFile] to
1.7522 + * tests/cmdAH.test: accurately reflect a file's contents.
1.7523 + * tests/event.test: Updated tests that depended on buggy
1.7524 + * tests/http.test: behavior. Also added warning messages
1.7525 + * tests/io.test: to "-debug 1" operations to debug test
1.7526 + * tests/iogt.test: calls to (make|remove)(File|Directory).
1.7527 +
1.7528 + * unix/mkLinks: `make mklinks` on 6-27 commits.
1.7529 +
1.7530 +2002-06-28 Miguel Sofer <msofer@users.sourceforge.net>
1.7531 +
1.7532 + * generic/tclCompile.h: modified the macro TclEmitPush to not call its
1.7533 + first argument repeatedly or pass it to other macros, [Bug 575194]
1.7534 + reported by Peter Spjuth.
1.7535 +
1.7536 +2002-06-28 Don Porter <dgp@users.sourceforge.net>
1.7537 +
1.7538 + * docs/tcltest.n: Doc revisions in progress.
1.7539 + * library/tcltest/tcltest.tcl: Corrected -testdir default value. Was
1.7540 + not reliable, and disagreed with docs! Thanks to Hemang Lavana. [Bug
1.7541 + 575150]
1.7542 +
1.7543 +2002-06-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7544 +
1.7545 + * unix/tclUnixThrd.c: Renamed the Tcl_Platform* #defines to
1.7546 + * unix/tclUnixPipe.c: TclOS* because they are only used
1.7547 + * unix/tclUnixFile.c: internally. Also stopped double-#def
1.7548 + * unix/tclUnixFCmd.c: of TclOSlstat [Bug 566099, post-rename]
1.7549 + * unix/tclUnixChan.c:
1.7550 + * unix/tclUnixPort.h:
1.7551 +
1.7552 + * doc/string.n: Improved documentation for [string last] along lines
1.7553 + described in [Bug 574799] so it indicates that the supplied index
1.7554 + marks the end of the search space.
1.7555 +
1.7556 +2002-06-27 Don Porter <dgp@users.sourceforge.net>
1.7557 +
1.7558 + * doc/dde.n: Work in progress updating the documentation
1.7559 + * doc/http.n: of the packages that come bundled with
1.7560 + * doc/msgcat.n: the Tcl source distribution, notably tcltest.
1.7561 + * doc/registry.n:
1.7562 + * doc/tcltest.n:
1.7563 +
1.7564 + * library/tcltest/tcltest.tcl: Made sure that the TCLTEST_OPTIONS
1.7565 + environment variablle configures tcltest at package load time.
1.7566 +
1.7567 +2002-06-26 Vince Darley <vincentdarley@users.sourceforge.net>
1.7568 +
1.7569 + * tests/fileSystem.test:
1.7570 + * generic/tclIOUtil.c: fix to handling of empty paths "" which are not
1.7571 + claimed by any filesystem [Bug 573758]. Ensure good error messages are
1.7572 + given in all cases.
1.7573 + * tests/cmdAH.test:
1.7574 + * unix/tclUnixFCmd.c: fix to bug reported as part of [Patch 566669].
1.7575 + Thanks to Taguchi, Takeshi for the report.
1.7576 +
1.7577 +2002-06-26 Reinhard Max <max@suse.de>
1.7578 +
1.7579 + * unix/tclUnixTime.c: Make [clock format] respect locale settings.
1.7580 + * tests/clock.test: [Bug 565880]. ***POTENTIAL INCOMPATIBILITY***
1.7581 +
1.7582 +2002-06-26 Miguel Sofer <msofer@users.sourceforge.net>
1.7583 +
1.7584 + * doc/CrtInterp.3:
1.7585 + * doc/StringObj.3: clarifications by Don Porter, [Bugs 493995, 500930]
1.7586 +
1.7587 +2002-06-24 Don Porter <dgp@users.sourceforge.net>
1.7588 +
1.7589 + * library/tcltest/tcltest.tcl: Corrected suppression of -verbose skip
1.7590 + * tests/tcltest.test: and start by [test -output]. Also
1.7591 + corrected test suite errors exposed by corrected code. [Bug 564656]
1.7592 +
1.7593 +2002-06-25 Reinhard Max <max@suse.de>
1.7594 +
1.7595 + * unix/tcl.m4: New macro SC_CONFIG_MANPAGES.
1.7596 + * unix/configure.in: Added support for symlinks and compression
1.7597 + * unix/Makefile.in: when installing the manpages. [Patch 518052]
1.7598 + * unix/mkLinks.tcl: Default is still hardlinks and no compression.
1.7599 +
1.7600 + * unix/mkLinks: generated
1.7601 + * unix/configure:
1.7602 +
1.7603 + * unix/README: Added documentation for the new features.
1.7604 +
1.7605 + * unix/tcl.m4 (SC_PATH_TCLCONFIG): Replaced ${exec_prefix}/lib by
1.7606 + ${libdir}.
1.7607 +
1.7608 +2002-06-25 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7609 +
1.7610 + * generic/tclUtil.c (TclGetIntForIndex): Fix of critical [Bug 533364]
1.7611 + generated when the index is bad and the result is a shared object. The
1.7612 + T_ASTO(T_GOR, ...) idiom likely exists elsewhere though. Also removed
1.7613 + some cruft that just complicated things to no advantage.
1.7614 + (SetEndOffsetFromAny): Same fix, though this wasn't on the path
1.7615 + excited by the bug.
1.7616 +
1.7617 +2002-06-24 Don Porter <dgp@users.sourceforge.net>
1.7618 +
1.7619 + * library/tcltest/tcltest.tcl: Implementation of TIP 101. Adds
1.7620 + * tests/parseOld.test: and exports a [configure] command
1.7621 + * tests/tcltest.test: from tcltest.
1.7622 +
1.7623 +2002-06-22 Don Porter <dgp@users.sourceforge.net>
1.7624 +
1.7625 + * changes: updated changes file for 8.4b1 release.
1.7626 +
1.7627 + * library/tcltest/tcltest.tcl: Corrections to tcltest and the
1.7628 + * tests/basic.test: Tcl test suite so that a test
1.7629 + * tests/cmdInfo.test: with options -constraints knownBug
1.7630 + * tests/compile.test: -limitConstraints 1 only tests the
1.7631 + * tests/encoding.test: knownBug tests. Mostly involves
1.7632 + * tests/env.test: replacing direct access to the
1.7633 + * tests/event.test: testConstraints array with calls
1.7634 + * tests/exec.test: to the testConstraint command
1.7635 + * tests/execute.test: (which requires tcltest version 2)
1.7636 + * tests/fCmd.test:
1.7637 + * tests/format.test:
1.7638 + * tests/http.test:
1.7639 + * tests/httpold.test:
1.7640 + * tests/ioUtil.test:
1.7641 + * tests/link.test:
1.7642 + * tests/load.test:
1.7643 + * tests/namespace.test:
1.7644 + * tests/pkgMkIndex.test:
1.7645 + * tests/reg.test:
1.7646 + * tests/result.test:
1.7647 + * tests/scan.test:
1.7648 + * tests/stack.test:
1.7649 +
1.7650 +2002-06-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7651 +
1.7652 + * tools/tcl.wse.in (Disk Label), unix/tcl.spec (version):
1.7653 + * win/README.binary, README, win/configure.in, unix/configure.in:
1.7654 + * generic/tcl.h (TCL_RELEASE_*, TCL_PATCH_LEVEL): Bump to beta1.
1.7655 +
1.7656 +2002-06-21 Joe English <jenglish@users.sourceforge.net>
1.7657 +
1.7658 + * generic/tclCompExpr.c:
1.7659 + * generic/tclParseExpr.c: LogSyntaxError() should reset the
1.7660 + interpreter result [Bug 550142 "Tcl_ExprObj -> abort"]
1.7661 +
1.7662 +2002-06-21 Don Porter <dgp@users.sourceforge.net>
1.7663 +
1.7664 + * unix/Makefile.in: Updated all package install directories to
1.7665 + * win/Makefile.in: match current Major.minor versions of the
1.7666 + * win/makefile.bc: packages. Added tcltest package to
1.7667 + * win/makefile.vc: installation on Windows.
1.7668 +
1.7669 + * library/init.tcl: Corrected comments and namespace style issues.
1.7670 + Thanks to Bruce Stephens. [Bug 572025]
1.7671 +
1.7672 +2002-06-21 Vince Darley <vincentdarley@users.sourceforge.net>
1.7673 +
1.7674 + * tests/cmdAH.test: Added TIP#99 implementation of 'file
1.7675 + * tests/fCmd.test: link'. Supports creation of symbolic and
1.7676 + * tests/fileName.test: hard links in the native filesystems and
1.7677 + * tests/fileSystem.test: in vfs's, when the individual filesystem
1.7678 + * generic/tclTest.c: supports the concept.
1.7679 + * generic/tclCmdAH.c:
1.7680 + * generic/tclIOUtil.c:
1.7681 + * generic/tcl.h:
1.7682 + * generic/tcl.decls:
1.7683 + * doc/FileSystem.3:
1.7684 + * doc/file.n:
1.7685 + * mac/tclMacFile.c:
1.7686 + * unix/tclUnixFile.c:
1.7687 + * win/tclWinFile.c: Also enhanced speed of 'file normalize' on Windows
1.7688 +
1.7689 +2002-06-20 Miguel Sofer <msofer@users.sourceforge.net>
1.7690 +
1.7691 + * generic/tclBasic.c (TclEvalObjvInternal): fix for [Bug 571385] in
1.7692 + the implementation of TIP#62 (command tracing). Vince Darley, Hemang
1.7693 + Lavana & Don Porter: thanks.
1.7694 +
1.7695 +2002-06-20 Miguel Sofer <msofer@users.sourceforge.net>
1.7696 +
1.7697 + * generic/tclExecute.c (TclCompEvalObj): clarified and simplified the
1.7698 + logic for compilation/recompilation.
1.7699 +
1.7700 +2002-06-19 Joe English <jenglish@users.sourceforge.net>
1.7701 +
1.7702 + * doc/file.n: Fixed indentation. No substantive changes.
1.7703 +
1.7704 +2002-06-19 Jeff Hobbs <jeffh@ActiveState.com>
1.7705 +
1.7706 + * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): get the resultPtr again as
1.7707 + the Tcl_ObjSetVar2 may cause the result to change.
1.7708 + [Patch 558324] (watson)
1.7709 +
1.7710 +2002-06-19 Miguel Sofer <msofer@users.sourceforge.net>
1.7711 +
1.7712 + * generic/tclExecute.c (TEBC): removing unused "for(;;)" loop;
1.7713 + improved comments; re-indentation.
1.7714 +
1.7715 +2002-06-18 Miguel Sofer <msofer@users.sourceforge.net>
1.7716 +
1.7717 + * generic/tclExecute.c (TEBC):
1.7718 + - elimination of duplicated code in the non-immediate INST_INCR
1.7719 + instructions.
1.7720 + - elimination of 103 (!) TclDecrRefCount macros. The different
1.7721 + instructions now jump back to a common "DecrRefCount zone" at the
1.7722 + top of the loop. The macro "ADJUST_PC" was replaced by two macros
1.7723 + "NEXT_INST_F" and "NEXT_INST_V" that take three params
1.7724 + (pcAdjustment, # of stack objects to discard, resultObjPtr handling
1.7725 + flag). The only instructions that retain a TclDecrRefCount are
1.7726 + INST_POP (for speed), the common code for the non-immediate
1.7727 + INST_INCR, INST_FOREACH_STEP and the two INST_LSET.
1.7728 +
1.7729 + The object size of tclExecute.o was reduced by approx 20% since the
1.7730 + start of the consolidation drive, while making room for some peep-hole
1.7731 + optimisation at runtime.
1.7732 +
1.7733 +2002-06-18 Miguel Sofer <msofer@users.sourceforge.net>
1.7734 +
1.7735 + * generic/tclExecute.c (TEBC, INST_DONE): small bug in the panic code
1.7736 + for tcl-stack corruption.
1.7737 +
1.7738 +2002-06-17 David Gravereaux <davygrvy@pobox.com>
1.7739 +
1.7740 + Trims to support the removal of RESOURCE_INCLUDED from rc scripts from
1.7741 + [FRQ 565088].
1.7742 +
1.7743 + * generic/tcl.h: moved the #ifndef RC_INVOKED start block up in the
1.7744 + file. rc scripts don't need to know thread mutexes.
1.7745 +
1.7746 + * win/tcl.rc:
1.7747 + * win/tclsh.rc: removed the #define RESOURCE_INCLUDED to let the
1.7748 + built-in -DRC_INVOKED to the work.
1.7749 +
1.7750 +2002-06-17 Jeff Hobbs <jeffh@ActiveState.com>
1.7751 +
1.7752 + * doc/CrtTrace.3: Added TIP#62 implementation of command
1.7753 + * doc/trace.n: execution tracing [FRQ 462580] (lavana).
1.7754 + * generic/tcl.h: This includes enter/leave tracing as well
1.7755 + * generic/tclBasic.c: as inter-procedure stepping.
1.7756 + * generic/tclCmdMZ.c:
1.7757 + * generic/tclCompile.c:
1.7758 + * generic/tclExecute.c:
1.7759 + * generic/tclInt.decls:
1.7760 + * generic/tclInt.h:
1.7761 + * generic/tclIntDecls.h:
1.7762 + * generic/tclStubInit.c:
1.7763 + * generic/tclVar.c:
1.7764 + * tests/trace.test:
1.7765 +
1.7766 +2002-06-17 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.7767 +
1.7768 + * win/tclWinPipe.c (BuildCommandLine): Fixed [bug 554068] ([exec] on
1.7769 + windows did not treat { in filenames well.). Bug reported by Vince
1.7770 + Darley <vincentdarley@users.sourceforge.net>, patch provided by Vince
1.7771 + too.
1.7772 +
1.7773 +2002-06-17 Joe English <jenglish@users.sourceforge.net>
1.7774 +
1.7775 + * generic/tcl.h: #ifdef logic for K&R C backwards compatibility
1.7776 + changed to assume modern C by default. See [FRQ 565088] for full
1.7777 + details.
1.7778 +
1.7779 +2002-06-17 Don Porter <dgp@users.sourceforge.net>
1.7780 +
1.7781 + * doc/msgcat.n: Corrected en_UK references to en_GB. UK is not a
1.7782 + country designation recognized in ISO 3166.
1.7783 +
1.7784 + * library/msgcat/msgcat.tcl: More Windows Registry locale codes from
1.7785 + Bruno Haible.
1.7786 +
1.7787 + * doc/msgcat.n:
1.7788 + * library/msgcat/msgcat.tcl:
1.7789 + * library/msgcat/pkgIndex.tcl:
1.7790 + * tests/msgcat.test: Revised locale initialization to interpret
1.7791 + environment variable locale values according to XPG4, and to recognize
1.7792 + the LC_ALL and LC_MESSAGES values over that of LANG. Also added many
1.7793 + Windows Registry locale values to those recognized by msgcat. Revised
1.7794 + tests and docs. Bumped to version 1.3. Thanks to Bruno Haible for the
1.7795 + report and assistance crafting the solution. [Bug 525522, 525525]
1.7796 +
1.7797 +2002-06-16 Miguel Sofer <msofer@users.sourceforge.net>
1.7798 +
1.7799 + * generic/tclCompile.c (TclCompileTokens): a better algorithm for the
1.7800 + previous bug fix.
1.7801 +
1.7802 +2002-06-16 Miguel Sofer <msofer@users.sourceforge.net>
1.7803 +
1.7804 + * generic/tclCompile.c (TclCompileTokens):
1.7805 + * tests/compile.test: [Bug 569438] in the processing of dollar
1.7806 + variables; report by Georgios Petasis.
1.7807 +
1.7808 +2002-06-16 Miguel Sofer <msofer@users.sourceforge.net>
1.7809 +
1.7810 + * generic/tclExecute.c: bug in the consolidation of the INCR_..._STK
1.7811 + instructions; the bug could not be exercised as the (faulty)
1.7812 + instruction INST_INCR_ARRAY_STK was never compiled-in (related to [Bug
1.7813 + 569438]).
1.7814 +
1.7815 +2002-06-14 Miguel Sofer <msofer@users.sourceforge.net>
1.7816 +
1.7817 + * generic/tclExecute.c (TclExecuteByteCode): runtime peep-hole
1.7818 + optimisation of variables (INST_STORE, INST_INCR) and commands
1.7819 + (INST_INVOKE); faster check for the existence of a catch.
1.7820 + (TclExecuteByteCode): runtime peep-hole optimisation of comparisons.
1.7821 + (TclExecuteByteCode): runtime peep-hole optimisation of INST_FOREACH -
1.7822 + relies on peculiarities of the code produced by the bytecode compiler.
1.7823 +
1.7824 +2002-06-14 David Gravereaux <davygrvy@pobox.com>
1.7825 +
1.7826 + * win/rules.vc: The test for compiler optimizations was in error.
1.7827 + Thanks goes to Roy Terry <royterry@earthlink.net> for his assistance
1.7828 + with this.
1.7829 +
1.7830 +2002-06-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7831 +
1.7832 + * doc/trace.n, tests/trace.test:
1.7833 + * generic/tclCmdMZ.c (Tcl_TraceObjCmd,TclTraceCommandObjCmd)
1.7834 + (TclTraceVariableObjCmd): Changed references to "trace list" to "trace
1.7835 + info" as mandated by TIP#102.
1.7836 +
1.7837 +2002-06-13 Miguel Sofer <msofer@users.sourceforge.net>
1.7838 +
1.7839 + * generic/tclExecute.c (TclExecuteByteCode): consolidated code for the
1.7840 + conditional branch instructions.
1.7841 +
1.7842 +2002-06-13 Miguel Sofer <msofer@users.sourceforge.net>
1.7843 +
1.7844 + * generic/tclExecute.c (TclExecuteByteCode): fixed the previous
1.7845 + patch - wouldn't compile with TCL_COMPILE_DEBUG set.
1.7846 +
1.7847 +2002-06-13 Miguel Sofer <msofer@users.sourceforge.net>
1.7848 +
1.7849 + * generic/tclExecute.c (TclExecuteByteCode): consolidated the handling
1.7850 + of exception returns to INST_INVOKE and INST_EVAL, as well as most of
1.7851 + the code for INST_CONTINUE and INST_BREAK, in the new jump target
1.7852 + "processExceptionReturn".
1.7853 +
1.7854 +2002-06-13 Miguel Sofer <msofer@users.sourceforge.net>
1.7855 +
1.7856 + * generic/tclExecute.c (TclExecuteByteCode): consolidated variable
1.7857 + handling opcodes, replaced redundant code with some 'goto'. All
1.7858 + store/append/lappend opcodes on the same data type now share the main
1.7859 + code; same with incr opcodes.
1.7860 + * generic/tclVar.c: added the bit TCL_TRACE_READS to the possible
1.7861 + flags to Tcl_SetVar2Ex - it causes read traces to be fired prior to
1.7862 + setting the variable. This is used in the core for [lappend].
1.7863 +
1.7864 + ***NOTE*** the usage of TCL_TRACE_READS in Tcl_(Obj)?GetVar.* is not
1.7865 + documented; there, it causes the call to create the variable if it
1.7866 + does not exist. The new usage in Tcl_(Obj)?SetVar.* remains
1.7867 + undocumented too ...
1.7868 +
1.7869 +2002-06-13 Vince Darley <vincentdarley@users.sourceforge.net>
1.7870 +
1.7871 + * tests/fCmd.test:
1.7872 + * tests/winFile.test:
1.7873 + * tests/fileSystem.test:
1.7874 + * generic/tclTest.c:
1.7875 + * generic/tclCmdAH.c:
1.7876 + * generic/tclIOUtil.c:
1.7877 + * doc/FileSystem.3:
1.7878 + * mac/tclMacFile.c:
1.7879 + * unix/tclUnixFile.c:
1.7880 + * win/tclWinFile.c: fixed up further so both compiles and actually
1.7881 + works with VC++ 5 or 6.
1.7882 + * win/tclWinInt.h:
1.7883 + * win/tclWin32Dll.c: cleaned up code and vfs tests and added tests for
1.7884 + the internal changes of 2002-06-12, to see whether WinTcl on NTFS can
1.7885 + coexist peacefully with links in the filesystem. Added new test
1.7886 + command 'testfilelink' to enable the newer code to be tested.
1.7887 + * tests/fCmd.test: (made certain tests of 'testfilelink' not run on
1.7888 + unix).
1.7889 +
1.7890 +2002-06-12 Miguel Sofer <msofer@users.sourceforge.net>
1.7891 +
1.7892 + * tclBasic.c (Tcl_DeleteTrace): fixed [Bug 568123] (thanks to
1.7893 + Hemang Lavana)
1.7894 +
1.7895 +2002-06-12 Jeff Hobbs <jeffh@ActiveState.com>
1.7896 +
1.7897 + * win/tclWinFile.c: corrected the symbolic link handling code to
1.7898 + allow it to compile. Added real definition of REPARSE_DATA_BUFFER
1.7899 + (found in winnt.h). Most of the added definitions appear to have
1.7900 + correct, cross-Win-version equivalents in winnt.h and should be
1.7901 + removed, but just making things "work" for now.
1.7902 +
1.7903 +2002-06-12 Vince Darley <vincentdarley@users.sourceforge.net>
1.7904 +
1.7905 + * generic/tclIOUtil.c:
1.7906 + * generic/tcl.decls:
1.7907 + * generic/tclDecls.h: made code for Tcl_FSNewNativePath agree with man
1.7908 + pages.
1.7909 +
1.7910 + * doc/FileSystem.3: clarified the circumstances under which certain
1.7911 + functions are called in the presence of symlinks.
1.7912 +
1.7913 + * win/tclWinFile.c:
1.7914 + * win/tclWinPort.h:
1.7915 + * win/tclWinInt.h:
1.7916 + * win/tclWinFCmd.c: Fix for Windows to allow 'file lstat', 'file
1.7917 + type', 'glob -type l', 'file copy', 'file delete', 'file normalize',
1.7918 + and all VFS code to work correctly in the presence of symlinks
1.7919 + (previously Tcl's behaviour was not very well defined). This also
1.7920 + fixes possible serious problems in all versions of WinTcl where 'file
1.7921 + delete' on a NTFS symlink could delete the original, not the symlink.
1.7922 + Note: symlinks cannot yet be created in pure Tcl.
1.7923 +
1.7924 +2002-06-11 Miguel Sofer <msofer@users.sourceforge.net>
1.7925 +
1.7926 + * generic/tclBasic.c:
1.7927 + * generic/tclCompCmds.c:
1.7928 + * generic/tclInt.h: reverted the new compilation functions; replaced
1.7929 + by a more general approach described below.
1.7930 +
1.7931 + * generic/tclCompCmds.c:
1.7932 + * generic/tclCompile.c: made *all* compiled variable access attempts
1.7933 + create an indexed variable - even get or incr without previous set.
1.7934 + This allows indexed access to local variables that are created and set
1.7935 + at runtime, for example by [global], [upvar], [variable], [regexp],
1.7936 + [regsub].
1.7937 +
1.7938 +2002-06-11 Miguel Sofer <msofer@users.sourceforge.net>
1.7939 +
1.7940 + * doc/global.n:
1.7941 + * doc/info.n:
1.7942 + * test/info.test:
1.7943 + * generic/tclCmdIL.c: fix for [Bug 567386], [info locals] was
1.7944 + reporting some linked variables.
1.7945 +
1.7946 + * generic/tclBasic.c:
1.7947 + * generic/tclCompCmds.c:
1.7948 + * generic/tclInt.h: added compile functions for [global], [variable]
1.7949 + and [upvar]. They just declare the new local variables, the commands
1.7950 + themselves are not compiled-in. This gives a notably faster read
1.7951 + access to these linked variables.
1.7952 +
1.7953 +2002-06-11 Miguel Sofer <msofer@users.sourceforge.net>
1.7954 +
1.7955 + * generic/tclExecute.c: optimised algorithm for exception range
1.7956 + lookup; part of [Patch 453709].
1.7957 +
1.7958 +2002-06-10 Vince Darley <vincentdarley@users.sourceforge.net>
1.7959 +
1.7960 + * unix/tclUnixFCmd.c: fixed [Bug 566669]
1.7961 + * generic/tclIOUtil.c: improved and sped up handling of native paths
1.7962 + (duplication and conversion to normalized paths), particularly on
1.7963 + Windows.
1.7964 + * modified part of above commit, due to problems on Linux. Will
1.7965 + re-examine bug report and evaluate more closely.
1.7966 +
1.7967 +2002-06-07 Don Porter <dgp@users.sourceforge.net>
1.7968 +
1.7969 + * tests/tcltest.test: More corrections to test suite so that tests of
1.7970 + failing [test]s don't show up themselves as failing tests.
1.7971 +
1.7972 +2002-06-07 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.7973 +
1.7974 + * generic/tclExecute.c: Tidied up headers in relation to float.h to
1.7975 + cut the cruft and ensure DBL_MAX is defined since doubles seem to be
1.7976 + the same size everywhere; if the assumption isn't true, the variant
1.7977 + platforms had better have run configure...
1.7978 +
1.7979 + * unix/tclUnixPort.h (EOVERFLOW): Added code to define it if it wasn't
1.7980 + previously defined. Also some other general tidying and adding of
1.7981 + comments. [Bugs 563122, 564595]
1.7982 + * compat/tclErrno.h: Added definition for EOVERFLOW copied from
1.7983 + Solaris headers; I've been unable to find any uses of EFTYPE, which
1.7984 + was the error code previously occupying the slot, in Tcl, or any
1.7985 + definition of it in the Solaris headers.
1.7986 +
1.7987 +2002-06-06 Mo DeJong <mdejong@users.sourceforge.net>
1.7988 +
1.7989 + * unix/dltest/Makefile.in: Remove hard coded CFLAGS=-g and add
1.7990 + CFLAGS_DEBUG, CFLAGS_OPTIMIZE, and CFLAGS_DEFAULT varaibles. [Bug
1.7991 + 565488]
1.7992 +
1.7993 +2002-06-06 Don Porter <dgp@users.sourceforge.net>
1.7994 +
1.7995 + * tests/tcltest.test: Corrections to test suite so that tests of
1.7996 + failing [test]s don't show up themselves as failing tests.
1.7997 +
1.7998 + * tests/io.test: Fixed up namespace variable resolution issues
1.7999 + revealed by running test suite with "-singleproc 1".
1.8000 +
1.8001 + * doc/tcltest.n:
1.8002 + * library/tcltest/tcltest.tcl:
1.8003 + * tests/tcltest.test: Several updates to tcltest.
1.8004 + 1) changed to lazy initialization of test constraints
1.8005 + 2) deprecated [initConstraintsHook]
1.8006 + 3) repaired badly broken [limitConstraints].
1.8007 + 4) deprecated [threadReap] and [mainThread]
1.8008 + [Patch 512214, Bug 558742, Bug 461000, Bug 534903]
1.8009 +
1.8010 +2002-06-06 Daniel Steffen <das@users.sourceforge.net>
1.8011 +
1.8012 + * unix/tclUnixThrd.c (TclpReaddir, TclpLocaltime, TclpGmtime):
1.8013 + added mutex wrapped calls to readdir, localtime & gmtime in case their
1.8014 + thread-safe *_r counterparts are not available.
1.8015 + * unix/tcl.m4: added configure check for readdir_r
1.8016 + * unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on MacOSX
1.8017 + (where posix file apis expect utf-8, not iso8859-1).
1.8018 + * unix/configure: regen
1.8019 + * unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel to
1.8020 + LD_LIBRARY_PATH for MacOSX dynamic linker.
1.8021 + * generic/tclEnv.c (TclSetEnv): fix env var setting on MacOSX. Adapted
1.8022 + from [Patch 524352] (jkbonfield).
1.8023 +
1.8024 +2002-06-05 Don Porter <dgp@users.sourceforge.net>
1.8025 +
1.8026 + * doc/Tcl_Main.3: Documented $tcl_rcFileName and added more
1.8027 + clarifications about the intended use of Tcl_Main(). [Bug 505651]
1.8028 +
1.8029 +2002-06-05 Daniel Steffen <das@users.sourceforge.net>
1.8030 +
1.8031 + * generic/tclFileName.c (TclGlob): mac specific fix to recent changes
1.8032 + in 'glob -tails' handling.
1.8033 + * mac/tclMacPort.h:
1.8034 + * mac/tclMacChan.c: fixed TIP#91 bustage.
1.8035 + * mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf
1.8036 + conversion of text resource contents.
1.8037 + * tests/macFCmd.test (macFCmd-1.2): allow CWIE creator.
1.8038 +
1.8039 +2002-06-04 Don Porter <dgp@users.sourceforge.net>
1.8040 +
1.8041 + * library/tcltest/tcltest.tcl:
1.8042 + * tests/init.test:
1.8043 + * tests/tcltest.test: Added more TIP 85 tests from Arjen Markus.
1.8044 + Converted tcltest.test to use a private namespace. Fixed bugs in
1.8045 + [tcltest::Eval] revealed by calling [tcltest::test] from a non-global
1.8046 + namespace, and namespace errors in init.test.
1.8047 +
1.8048 +2002-06-04 Mo DeJong <mdejong@users.sourceforge.net>
1.8049 +
1.8050 + * win/README: Update msys+mingw URL.
1.8051 +
1.8052 +2002-06-03 Don Porter <dgp@users.sourceforge.net>
1.8053 +
1.8054 + * doc/tcltest.n:
1.8055 + * library/tcltest/tcltest.tcl:
1.8056 + * library/tcltest/pkgIndex.tcl:
1.8057 + * tests/tcltest.test: Implementation of TIP 85. Allows tcltest users
1.8058 + to add new legal values of the -match option to [test], associating
1.8059 + each with a Tcl command that does the matching of expected results
1.8060 + with actual results of tests. Thanks to Arjen Markus. => tcltest 2.1
1.8061 + [Patch 521362]
1.8062 +
1.8063 +2002-06-03 Miguel Sofer <msofer@users.sourceforge.net>
1.8064 +
1.8065 + * doc/namespace.n: added description of [namepace forget] behaviour
1.8066 + for unqualified patterns [Bug 559268]
1.8067 +
1.8068 +2002-06-03 Miguel Sofer <msofer@users.sourceforge.net>
1.8069 +
1.8070 + * generic/tclExecute.c: reverting an accidental modification in the
1.8071 + last commit.
1.8072 +
1.8073 +2002-06-03 Miguel Sofer <msofer@users.sourceforge.net>
1.8074 +
1.8075 + * doc/Tcl.n: clarify the empty variable name issue ([Bug 549285]
1.8076 + reported by Tom Krehbiel, patch by Don Porter).
1.8077 +
1.8078 +2002-05-31 Don Porter <dgp@users.sourceforge.net>
1.8079 +
1.8080 + * library/package.tcl: Fixed leak of slave interp in [pkg_mkIndex].
1.8081 + Thanks to Helmut for report. [Bug 550534]
1.8082 +
1.8083 + * tests/io.test:
1.8084 + * tests/main.test: Use the "stdio" constraint to control whether an
1.8085 + [open "|[interpreter]"] is attempted.
1.8086 +
1.8087 + * generic/tclExecute.c (TclMathInProgress,TclExecuteByteCode
1.8088 + (ExprCallMathFunc):
1.8089 + * generic/tclInt.h (TclMathInProgress):
1.8090 + * unix/Makefile.in (tclMtherr.*):
1.8091 + * unix/configure.in (NEED_MATHERR):
1.8092 + * unix/tclAppInit.c (matherr):
1.8093 + * unix/tclMtherr.c (removed file):
1.8094 + * win/tclWinMtherr.c (_matherr): Removed internal routine
1.8095 + TclMathInProgress and Unix implementation of matherr(). These are now
1.8096 + obsolete, dealing with very old versions of the C math library.
1.8097 + Windows version is retained in case Borland compilers require it, but
1.8098 + it is inactive. Thanks to Joe English. [Bug 474335, Patch 555635]
1.8099 + * unix/configure: regen
1.8100 +
1.8101 +2002-05-30 Miguel Sofer <msofer@users.sourceforge.net>
1.8102 +
1.8103 + * generic/tclCompExpr.c:
1.8104 + * generic/tclCompile.c:
1.8105 + * generic/tclCompile.h: removed exprIsJustVarRef and
1.8106 + exprIsComparison from the ExprInfo and CompileEnv structs. These were
1.8107 + set, but not used since dec 1999 [Bug 562383].
1.8108 +
1.8109 +2002-05-30 Vince Darley <vincentdarley@users.sourceforge.net>
1.8110 +
1.8111 + * generic/tclFileName.c (TclGlob): fix to longstanding 'knownBug' in
1.8112 + fileName tests 15.2-15.4, and fix to a new Tcl 8.4 bug in certain uses
1.8113 + of 'glob -tails'.
1.8114 + * tests/fileName.test: removed 'knownBug' flag from some tests, added
1.8115 + some new tests for above bugs.
1.8116 +
1.8117 +2002-05-29 Jeff Hobbs <jeffh@ActiveState.com>
1.8118 +
1.8119 + * unix/configure: regen'ed
1.8120 + * unix/configure.in: replaced bigendian check with autoconf standard
1.8121 + AC_C_BIG_ENDIAN, which defined WORDS_BIGENDIAN on bigendian systems.
1.8122 + * generic/tclUtf.c (Tcl_UniCharNcmp):
1.8123 + * generic/tclInt.h (TclUniCharNcmp): use WORDS_BIGENDIAN instead of
1.8124 + TCL_OPTIMIZE_UNICODE_COMPARE to enable memcmp alternative.
1.8125 +
1.8126 + * generic/tclExecute.c (TclExecuteByteCode INST_STR_CMP):
1.8127 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): changed the case for choosing
1.8128 + the Tcl_UniCharNcmp compare to when both objs are of StringType, as
1.8129 + benchmarks show that is the optimal check (both bigendian and
1.8130 + littleendian systems).
1.8131 +
1.8132 +2002-05-29 Don Porter <dgp@users.sourceforge.net>
1.8133 +
1.8134 + * generic/tclMain.c: Removed "dummy" reference to Tcl_LinkVar. It is
1.8135 + no longer needed since Tcl_Main() now actually calls Tcl_LinkVar().
1.8136 + Thanks to Joe English for pointing that out.
1.8137 +
1.8138 +2002-05-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8139 +
1.8140 + * generic/tclExecute.c (TclExecuteByteCode):
1.8141 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): Use the macro version.
1.8142 + * generic/tclInt.h (TclUniCharNcmp): Optimised still further with a
1.8143 + macro for use in sensitive places like tclExecute.c
1.8144 +
1.8145 + * generic/tclUtf.c (Tcl_UniCharNcmp): Use new flag to figure out when
1.8146 + we can use an optimal comparison scheme, and default to the old scheme
1.8147 + in other cases which is at least safe.
1.8148 + * unix/configure.in (TCL_OPTIMIZE_UNICODE_COMPARE): New optional flag
1.8149 + that indicates when we can use memcmp() to compare Unicode strings
1.8150 + (i.e. when the high-byte of a Tcl_UniChar precedes the low-byte.)
1.8151 +
1.8152 +2002-05-29 Jeff Hobbs <jeffh@ActiveState.com>
1.8153 +
1.8154 + * generic/tclInt.decls:
1.8155 + * generic/tclIntDecls.h:
1.8156 + * generic/tclStubInit.c:
1.8157 + * generic/tclUtf.c: added TclpUtfNcmp2 private command that mirrors
1.8158 + Tcl_UtfNcmp, but takes n in bytes, not utf-8 chars. This provides a
1.8159 + faster alternative for comparing utf strings internally.
1.8160 + (Tcl_UniCharNcmp, Tcl_UniCharNcasecmp): removed the explicit end of
1.8161 + string check as it wasn't correct for the function (by doc and logic).
1.8162 +
1.8163 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): reworked the string equal
1.8164 + comparison code to use TclpUtfNcmp2 as well as short-circuit for equal
1.8165 + objects or unequal length strings in the equal case. Removed the use
1.8166 + of goto and streamlined the other parts.
1.8167 +
1.8168 + * generic/tclExecute.c (TclExecuteByteCode): added check for object
1.8169 + equality in the comparison instructions. Added short-circuit for !=
1.8170 + length strings in INST_EQ, INST_NEQ and INST_STR_CMP. Reworked
1.8171 + INST_STR_CMP to use TclpUtfNcmp2 where appropriate, and only use
1.8172 + Tcl_UniCharNcmp when at least one of the objects is a Unicode obj with
1.8173 + no utf bytes.
1.8174 +
1.8175 + * generic/tclCompCmds.c (TclCompileStringCmd): removed error creation
1.8176 + in code that no longer throws an error.
1.8177 +
1.8178 + * tests/string.test:
1.8179 + * tests/stringComp.test: added more string comparison checks.
1.8180 +
1.8181 + * tests/clock.test: better qualified 9.1 constraint check for %s.
1.8182 +
1.8183 +2002-05-28 Jeff Hobbs <jeffh@ActiveState.com>
1.8184 +
1.8185 + * generic/tclThreadAlloc.c (TclpRealloc, TclpFree): protect against
1.8186 + the case when NULL is based.
1.8187 +
1.8188 + * tests/clock.test: added clock-9.1
1.8189 + * compat/strftime.c:
1.8190 + * generic/tclClock.c:
1.8191 + * generic/tclInt.decls:
1.8192 + * generic/tclIntDecls.h:
1.8193 + * unix/tclUnixTime.c: fix for Windows msvcrt mem leak caused by using
1.8194 + an env(TZ) setting trick for in clock format -gmt 1. This also makes
1.8195 + %s seem to work correctly with -gmt 1 as well as making it a lot
1.8196 + faster by avoid the env(TZ) hack. TclpStrftime now takes useGMT as an
1.8197 + arg. [Bug 559376]
1.8198 +
1.8199 +2002-05-28 Vince Darley <vincentdarley@users.sourceforge.net>
1.8200 +
1.8201 + * generic/tclIOUtil.c: fixes to Tcl_FSLoadFile when called on a file
1.8202 + inside a vfs. This should avoid leaving temporary files sitting around
1.8203 + on exit. [Bug 545579]
1.8204 +
1.8205 +2002-05-27 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8206 +
1.8207 + * win/tclWinError.c: Added comment on conversion of
1.8208 + ERROR_NEGATIVE_SEEK because that is a mapping that really belongs, and
1.8209 + not a catch-all case.
1.8210 + * win/tclWinPort.h (EOVERFLOW): Should be either EFBIG or EINVAL
1.8211 + * generic/tclPosixStr.c (Tcl_ErrnoId, Tcl_ErrnoMsg): EOVERFLOW can
1.8212 + potentially be a synonym for EINVAL.
1.8213 +
1.8214 +2002-05-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8215 +
1.8216 + === Changes due to TIP#91 ===
1.8217 +
1.8218 + * win/tclWinPort.h: Added declaration of EOVERFLOW.
1.8219 + * doc/CrtChannel.3: Added documentation of wideSeekProc.
1.8220 + * generic/tclIOGT.c (TransformSeekProc, TransformWideSeekProc):
1.8221 + Adapted to use the new channel mechanism.
1.8222 + * unix/tclUnixChan.c (FileSeekProc, FileWideSeekProc): Renamed
1.8223 + FileSeekProc to FileWideSeekProc and created new FileSeekProc which
1.8224 + has the old-style interface and which errors out with EOVERFLOW when
1.8225 + the returned file position can't fit into the return type (int for
1.8226 + historical reasons.)
1.8227 + * win/tclWinChan.c (FileSeekProc, FileWideSeekProc): Renamed
1.8228 + FileSeekProc to FileWideSeekProc and created new FileSeekProc which
1.8229 + has the old-style interface and which errors out with EOVERFLOW when
1.8230 + the returned file position can't fit into the return type (int for
1.8231 + historical reasons.)
1.8232 + * mac/tclMacChan.c (FileSeek): Reverted to old interface; Macs lack
1.8233 + large-file support because I can't see how to add it.
1.8234 + * generic/tclIO.c (Tcl_Seek, Tcl_Tell): Given these functions
1.8235 + knowledge of the new arrangement of channel types.
1.8236 + (Tcl_ChannelVersion): Added recognition of new version code.
1.8237 + (HaveVersion): New function to do version checking.
1.8238 + (Tcl_ChannelBlockModeProc, Tcl_ChannelFlushProc)
1.8239 + (Tcl_ChannelHandlerProc): Made these functions use HaveVersion for
1.8240 + ease of future maintainability.
1.8241 + (Tcl_ChannelBlockModeProc): Obvious lookup function.
1.8242 + * generic/tcl.h (Tcl_ChannelType): New wideSeekProc field, and
1.8243 + seekProc type restored to old interpretation.
1.8244 + (TCL_CHANNEL_VERSION_3): New channel version.
1.8245 +
1.8246 +2002-05-24 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.8247 +
1.8248 + * tests/winPipe.test: Applied patch for [Bug 549617]. Patch and bug
1.8249 + report by Kevin Kenny <kennykb@users.sourceforge.net>.
1.8250 +
1.8251 + * win/tclWinSock.c (TcpWatchProc): Fixed [Bug 557878]. We are not
1.8252 + allowed to mess with the watch mask if the socket is a server socket.
1.8253 + I believe that the original reporter is George Peter Staplin.
1.8254 +
1.8255 +2002-05-21 Mo DeJong <mdejong@users.sourceforge.net>
1.8256 +
1.8257 + * unix/configure: Regen.
1.8258 + * unix/configure.in: Invoke SC_ENABLE_SHARED before calling
1.8259 + SC_CONFIG_CFLAGS so that the SHARED_BUILD variable can be checked
1.8260 + inside SC_CONFIG_CFLAGS.
1.8261 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Pass -non_shared instead of -shared
1.8262 + to ld when configured with --disable-shared under OSF. [Bug 540390]
1.8263 +
1.8264 +2002-05-20 Daniel Steffen <das@users.sourceforge.net>
1.8265 +
1.8266 + * generic/tclInt.h: added prototype for TclpFilesystemPathType().
1.8267 + * mac/tclMacChan.c: use MSL provided creator type if available instead
1.8268 + of the default 'MPW '.
1.8269 +
1.8270 +2002-05-16 Joe English <jenglish@users.sf.net>
1.8271 +
1.8272 + * doc/CrtObjCmd.3: Added Tcl_GetCommandFromObj, Tcl_GetCommandFullName
1.8273 + [Bugs 547987, 414921]
1.8274 +
1.8275 +2002-05-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8276 +
1.8277 + * unix/tclUnixChan.c (TtyOutputProc): #if/#endif-ed this function out
1.8278 + to stop compiler warnings. Also much general tidying of comments in
1.8279 + this file and removal of whitespace from blank lines.
1.8280 +
1.8281 +2002-05-13 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8282 +
1.8283 + * unix/tclUnixChan.c (SETBREAK): Solaris thinks ioctl() takes a signed
1.8284 + second argument, and Linux thinks ioctl() takes an unsigned second
1.8285 + argument. So need a longer definition of this macro to get neither to
1.8286 + spew warnings...
1.8287 +
1.8288 +2002-05-13 Vince Darley <vincentdarley@users.sourceforge.net>
1.8289 +
1.8290 + * generic/tclEvent.c:
1.8291 + * generic/tclIOUtil.c:
1.8292 + * generic/tclInt.h: clean up all memory allocated by the filesystem,
1.8293 + via introduction of 'TclFinalizeFilesystem'. Move TclFinalizeLoad into
1.8294 + TclFinalizeFilesystem so we can be sure it is called at just the right
1.8295 + time. Fix bad comment also. [Bug 555078 and 'fs' part of 543549]
1.8296 + * win/tclWinChan.c: fix comment referring to wrong function.
1.8297 +
1.8298 +2002-05-10 Don Porter <dgp@users.sourceforge.net>
1.8299 +
1.8300 + * tests/load.test:
1.8301 + * tests/safe.test:
1.8302 + * tests/tcltest.test: Corrected some list-quoting issues and other
1.8303 + matters that cause tests to fail when the patch includes special
1.8304 + characters. Report from Vince Darley. [Bug 554068].
1.8305 +
1.8306 +2002-05-08 David Gravereaux <davygrvy@pobox.com>
1.8307 +
1.8308 + * doc/file.n:
1.8309 + * tools/man2tcl.c:
1.8310 + * tools/man2help2.tcl: Thanks to Peter Spjuth <peter.spjuth@space.se>,
1.8311 + again. My prior fix for single-quote macro mis-understanding was
1.8312 + wrong. Reverted to reimpliment the 'macro2' proc which handles
1.8313 + single-quote macros and restored file.n text arrangement to avoid
1.8314 + single-quotes on the first line. Sorry for all the confusion.
1.8315 +
1.8316 +2002-05-08 David Gravereaux <davygrvy@pobox.com>
1.8317 +
1.8318 + * tools/man2tcl.c:
1.8319 + * tools/man2help2.tcl: Proper source of macro error mis-understanding
1.8320 + single-quote as the leading macro command found and repaired.
1.8321 +
1.8322 + * doc/file.n: Reverted to prior state before I messed with it.
1.8323 +
1.8324 +2002-05-08 Don Porter <dgp@users.sourceforge.net>
1.8325 +
1.8326 + * library/tcltest/tcltest.tcl: Corrected [uplevel] quoting when
1.8327 + [source]-ing test script in subdirectories.
1.8328 + * tests/fileName.test:
1.8329 + * tests/load.test:
1.8330 + * tests/main.test:
1.8331 + * tests/tcltest.test:
1.8332 + * tests/unixInit.test: Fixes to test suite when there's a space in the
1.8333 + working path. Thanks to Kevin Kenny.
1.8334 +
1.8335 +2002-05-07 David Gravereaux <davygrvy@pobox.com>
1.8336 +
1.8337 + -- Changes from Peter Spjuth <peter.spjuth@space.se>
1.8338 + * tools/man2tcl.c: Increased line buffer size and a bail-out if that
1.8339 + should ever be over-run.
1.8340 + * tools/man2help.tcl: Include Courier New font in rtf header.
1.8341 + * tools/man2help2.tcl: Improved handling of CS/CE fields. Use Courier
1.8342 + New for code samples and indent better.
1.8343 +
1.8344 + * doc/file.n:
1.8345 + * doc/TraceCmd.3: winhelp conversion tools where understanding a ' as
1.8346 + the first character on a line to be an unknown macro. Not knowing how
1.8347 + to repair tools/man2tcl.c, I decided to rearrange the text in the docs
1.8348 + instead.
1.8349 +
1.8350 +2002-05-07 Vince Darley <vincentdarley@users.sourceforge.net>
1.8351 +
1.8352 + * generic/tclFileName.c: fix to similar segfault when using
1.8353 + 'glob -types nonsense -dir dirname -join * *'. [Bug 553320]
1.8354 +
1.8355 + * doc/FileSystem.3: further documentation on vfs.
1.8356 + * tests/cmdAH.test:
1.8357 + * tests/fileSystem.test:
1.8358 + * tests/pkgMkindex.test: Fix to testsuite bugs when running out of
1.8359 + directory whose name contains '{' or '['.
1.8360 +
1.8361 +2002-05-07 Miguel Sofer <msofer@users.sourceforge.net>
1.8362 +
1.8363 + * tests/basic.test: Fix for [Bug 549607]
1.8364 + * tests/encoding.test: Fix for [Bug 549610]
1.8365 + These are testsuite bugs that caused failures when the filename
1.8366 + contained spaces. Report & fix by Kevin Kenny.
1.8367 +
1.8368 +2002-05-02 Vince Darley <vincentdarley@users.sourceforge.net>
1.8369 +
1.8370 + * generic/tclFileName.c: fix to freeing a bad object (i.e. segfault)
1.8371 + when using 'glob -types nonsense -dir dirname'.
1.8372 + * generic/tclWinFile.c: fix to [Bug 551306], also wrapped some long
1.8373 + lines.
1.8374 + * tests/fileName.test: added several tests for the above bugs.
1.8375 + * doc/FileSystem.3: clarified documentation on refCount requirements
1.8376 + of the object returned by the path type function.
1.8377 + * generic/tclIOUtil.c:
1.8378 + * win/tclWinFile.c:
1.8379 + * unix/tclUnixFile.c:
1.8380 + * mac/tclMacFile.c: moved TclpFilesystemPathType to the platform
1.8381 + specific directories, so we can add missing platform-specific
1.8382 + implementations. On Windows, 'file system' now returns useful results
1.8383 + like "native NTFS", "native FAT" for that system. Unix and MacOS still
1.8384 + only return "native".
1.8385 + * doc/file.n: clarified documentation.
1.8386 + * tests/winFile.test: test for 'file system' returning correct values.
1.8387 + * tests/fileSystem.test: test for 'file system' returning correct
1.8388 + values. Clean up after failed previous test run.
1.8389 +
1.8390 +2002-04-26 Jeff Hobbs <jeffh@ActiveState.com>
1.8391 +
1.8392 + * unix/configure:
1.8393 + * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so that
1.8394 + the .sl knows its dependent libs.
1.8395 +
1.8396 +2002-04-26 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8397 +
1.8398 + * tests/obj.test (obj-11.[56]): Test conversion to boolean more
1.8399 + thoroughly.
1.8400 + * generic/tclObj.c (SetBooleanFromAny): Was not calling an integer
1.8401 + parsing function on native 64-bit platforms! [Bug 548686]
1.8402 +
1.8403 +2002-04-24 Jeff Hobbs <jeffh@ActiveState.com>
1.8404 +
1.8405 + * generic/tclInt.h: corrected TclRememberJoinableThread decl to use
1.8406 + VOID instead of void.
1.8407 + * generic/tclThreadJoin.c: noted that this code isn't needed on Unix.
1.8408 +
1.8409 +2002-04-23 Jeff Hobbs <jeffh@ActiveState.com>
1.8410 +
1.8411 + * doc/exec.n:
1.8412 + * doc/tclvars.n: doc updates [Patch 509426] (gravereaux)
1.8413 +
1.8414 +2002-04-24 Daniel Steffen <das@users.sourceforge.net>
1.8415 +
1.8416 + * mac/tclMacResource.r: added check of TCLTK_NO_LIBRARY_TEXT_RESOURCES
1.8417 + #define to allow disabling the inclusion of the tcl library code in
1.8418 + the resource fork of Tcl executables and shared libraries.
1.8419 +
1.8420 +2002-04-23 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8421 +
1.8422 + * doc/TraceCmd.3: New file that documents Tcl_CommandTraceInfo,
1.8423 + Tcl_TraceCommand and Tcl_UntraceCommand [Bug 414927]
1.8424 +
1.8425 +2002-04-22 Jeff Hobbs <jeffh@ActiveState.com>
1.8426 +
1.8427 + * generic/tclAlloc.c:
1.8428 + * generic/tclInt.h:
1.8429 + * generic/tclThreadAlloc.c (new):
1.8430 + * unix/Makefile.in:
1.8431 + * unix/tclUnixThrd.c:
1.8432 + * win/Makefile.in:
1.8433 + * win/tclWinInt.h:
1.8434 + * win/tclWinThrd.c: added new threaded allocator contributed by AOL
1.8435 + that significantly reduces lock contention when multiple threads are
1.8436 + in use. Only Windows and Unix implementations are ready, and the
1.8437 + Windows one may need work. It is only used by default on Unix for now,
1.8438 + and requires that USE_THREAD_ALLOC be defined (--enable-threads on
1.8439 + Unix will define this).
1.8440 +
1.8441 + * generic/tclIOUtil.c (Tcl_FSRegister, Tcl_FSUnregister): corrected
1.8442 + calling of Tcl_ConditionWait to ensure that there would be a condition
1.8443 + to wait upon.
1.8444 +
1.8445 + * generic/tclCmdAH.c (Tcl_FileObjCmd): added cast in FILE_SIZE.
1.8446 +
1.8447 + * win/tclWinFCmd.c (DoDeleteFile): check return of setattr API calls
1.8448 + in file deletion for correct Win32 API handling.
1.8449 +
1.8450 + * win/Makefile.in: correct dependencies for shell, gdb, runtest
1.8451 + targets.
1.8452 +
1.8453 + * doc/clock.n:
1.8454 + * compat/strftime.c (_fmt): change strftime to correctly handle
1.8455 + localized %c, %x and %X on Windows. Added some notes about how the
1.8456 + other values could be further localized.
1.8457 +
1.8458 +2002-04-19 Don Porter <dgp@users.sourceforge.net>
1.8459 +
1.8460 + * generic/tclMain.c (Tcl_Main): Free the memory allocated for the
1.8461 + startup script path. [Bug 543549]
1.8462 +
1.8463 + * library/msgcat/msgcat.tcl: [mcmax] wasn't using the caller's
1.8464 + namespace when determining the max translated length. Also made
1.8465 + revisions for better use of namespace variables and more efficient
1.8466 + [uplevel]s.
1.8467 +
1.8468 + * doc/msgcat.n:
1.8469 + * library/msgcat/msgcat.tcl:
1.8470 + * library/msgcat/pkgIndex.tcl: Added [mcload] to the export list of
1.8471 + msgcat; bumped to 1.2.3. [Bug 544727]
1.8472 +
1.8473 +2002-04-20 Daniel Steffen <das@users.sourceforge.net>
1.8474 +
1.8475 + * generic/tclInt.decls:
1.8476 + * generic/tclIntPlatDecls.h:
1.8477 + * generic/tclStubInit.c:
1.8478 + * mac/tclMacFCmd.c:
1.8479 + * mac/tclMacFile.c:
1.8480 + * mac/tclMacUtil.c: Modified TclpObjNormalizePath to be alias file
1.8481 + aware, and replaced various calls to FSpLocationFrom*Path by calls to
1.8482 + new alias file aware versions FSpLLocationFrom*Path. The alias file
1.8483 + aware routines don't resolve the last component of a path if it is an
1.8484 + alias. This allows [file copy/delete] etc. to act correctly on alias
1.8485 + files. (c.f. discussion in [Bug 511666])
1.8486 +
1.8487 +2002-04-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8488 +
1.8489 + * tests/lindex.test (lindex-3.7):
1.8490 + * generic/tclUtil.c (TclGetIntForIndex): Stopped indexes from hitting
1.8491 + wide ints. [Bug 526717]
1.8492 +
1.8493 +2002-04-18 Miguel Sofer <msofer@users.sourceforge.net>
1.8494 +
1.8495 + * generic/tclNamesp.c:
1.8496 + * tests/info.test: [Bug 545325] info level didn't report namespace
1.8497 + eval, bug report by Richard Suchenwirth.
1.8498 +
1.8499 +2002-04-18 Don Porter <dgp@users.sourceforge.net>
1.8500 +
1.8501 + * doc/subst.n: Clarified documentation on handling unusual return
1.8502 + codes during substitution, and on variable substitutions implied by
1.8503 + command substitution, and vice versa. [Bug 536838]
1.8504 +
1.8505 +2002-04-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8506 +
1.8507 + * generic/tclCmdIL.c (InfoBodyCmd):
1.8508 + * tests/info.test (info-2.6): Proc bodies without string reps would
1.8509 + report as empty [Bug 545644]
1.8510 +
1.8511 + * generic/tclCmdMZ.c (Tcl_SubstObj): More clarification for comment on
1.8512 + behaviour when substitutions are not well-formed, prompted by [Bug
1.8513 + 536831]; alas, removing the ill-defined behaviour is a lot of work.
1.8514 +
1.8515 +2002-04-18 Miguel Sofer <msofer@users.sourceforge.net>
1.8516 +
1.8517 + * generic/tclExecute.c:
1.8518 + * tests/expr-old.test: fix for [Bug 542588] (Phil Ehrens), where "too
1.8519 + large integers" were reported as "floating-point value" in [expr]
1.8520 + error messages.
1.8521 +
1.8522 +2002-04-17 Jeff Hobbs <jeffh@ActiveState.com>
1.8523 +
1.8524 + * generic/tclEncoding.c (EscapeFromUtfProc):
1.8525 + * generic/tclIO.c (WriteChars, Tcl_Close): corrected the handling of
1.8526 + outputting end escapes for escape-based encodings.
1.8527 + [Bug 526524] (yamamoto)
1.8528 +
1.8529 +2002-04-17 Don Porter <dgp@users.sourceforge.net>
1.8530 +
1.8531 + * doc/tcltest.n: Removed [saveState] and [restoreState] from tcltest
1.8532 + 2 documentation, effectively deprecating them. [Bug 495660]
1.8533 + * library/tcltest/tcltest.tcl: Made separate export for commands kept
1.8534 + only for tcltest 1 compatibility.
1.8535 +
1.8536 + * tests/iogt.test: Revised to run tests in a namespace, rather than
1.8537 + use the useless and buggy [saveState] and [restoreState] commands of
1.8538 + tcltest. Updated to use tcltest 2 as well. [Patch 544911]
1.8539 +
1.8540 +2002-04-16 Don Porter <dgp@users.sourceforge.net>
1.8541 +
1.8542 + * tests/io.test: Revised to run tests in a namespace, rather than use
1.8543 + the useless and buggy [saveState] and [restoreState] commands of
1.8544 + tcltest. Updated to use tcltest 2 as well. [Patch 544546]
1.8545 +
1.8546 +2002-04-15 Miguel Sofer <msofer@users.sourceforge.net>
1.8547 +
1.8548 + * generic/tclProc.c:
1.8549 + * tests/proc-old.test: Improved stack trace for TCL_BREAK and
1.8550 + TCL_CONTINUE returns from procs. [Bug 536955] (dgp)
1.8551 +
1.8552 + * generic/tclExecute.c:
1.8553 + * tests/compile.test: made bytecodes check for a catch before
1.8554 + returning; the compiled [return] is otherwise non-catchable. [Bug
1.8555 + 542142] reported by Andreas Kupries.
1.8556 +
1.8557 +2002-04-15 Don Porter <dgp@users.sourceforge.net>
1.8558 +
1.8559 + * tests/socket.test: Increased timeout values so that tests have time
1.8560 + to successfully complete even on slow/busy machines. [Bug 523470]
1.8561 +
1.8562 + * doc/tcltest.n:
1.8563 + * library/tcltest/tcltest.tcl:
1.8564 + * tests/tcltest.test: Revised [tcltest::test] to return errors when
1.8565 + called with invalid syntax and to accept exactly two arguments as
1.8566 + documented. Improved error messages. [Bug 497446, Patch 513983]
1.8567 + ***POTENTIAL INCOMPATIBILITY***: Incompatible with previous
1.8568 + tcltest 2.* releases, found only in alpha releases of Tcl 8.4.
1.8569 +
1.8570 +2002-04-11 Jeff Hobbs <jeffh@ActiveState.com>
1.8571 +
1.8572 + * generic/tclNotify.c (TclFinalizeNotifier): remove remaining
1.8573 + unserviced events on finalization.
1.8574 +
1.8575 + * win/tcl.m4: Enabled COFF as well as CV style debug info with
1.8576 + --enable-symbols to allow Dr. Watson users to see function info. More
1.8577 + info on debugging levels can be obtained at:
1.8578 + http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
1.8579 +
1.8580 + * tests/ioCmd.test: fixed iocmd-8.15 to have mac and unixPc variants.
1.8581 +
1.8582 + * generic/tclParse.c (Tcl_ParseVar): conditionally incr obj refcount
1.8583 + to prevent possible mem leak.
1.8584 +
1.8585 +2002-04-08 Daniel Steffen <das@users.sourceforge.net>
1.8586 +
1.8587 + * generic/tcl.h: no <sys/types.h> on mac.
1.8588 + * mac/tclMacFile.c: minor fixes to Vince's changes from 03-24.
1.8589 + * mac/tclMacOSA.c:
1.8590 + * mac/tclMacResource.c: added missing Tcl_UtfToExternalDString
1.8591 + conversions of resource file names.
1.8592 + * mac/tclMacSock.c (TcpGetOptionProc): fixed bug introduced by Andreas
1.8593 + on 02-25; changed strcmp's to strncmp's so that option comparison
1.8594 + behaves like on other platforms.
1.8595 + * mac/tcltkMacBuildSupport.sea.hqx (CW Pro6 changes): added support to
1.8596 + allow Tk to hookup C library stderr/stdout to TkConsole.
1.8597 + * tests/basic.test:
1.8598 + * tests/cmdAH.test:
1.8599 + * tests/encoding.test:
1.8600 + * tests/fileSystem.test:
1.8601 + * tests/ioCmd.test: fixed tests failing on mac: check for existence of
1.8602 + [exec], changed some result strings.
1.8603 +
1.8604 +2002-04-06 Jeff Hobbs <jeffh@ActiveState.com>
1.8605 +
1.8606 + * unix/tclUnixFCmd.c (Realpath): added a little extra code to
1.8607 + initialize a realpath arg when compiling in PURIFY mode in order to
1.8608 + prevent spurious purify warnings. We should really create our own
1.8609 + realpath implementation, but this will at least quiet purify for now.
1.8610 +
1.8611 +2002-04-05 Don Porter <dgp@users.sourceforge.net>
1.8612 +
1.8613 + * generic/tclCmdMZ.c (Tcl_SubstObj):
1.8614 + * tests/subst.test: Corrected [subst] so that return codes TCL_BREAK
1.8615 + and TCL_CONTINUE returned by variable substitution have the same
1.8616 + effect as when those codes are returned by command substitution. [Bug
1.8617 + 536879]
1.8618 +
1.8619 +2002-04-03 Jeff Hobbs <jeffh@ActiveState.com>
1.8620 +
1.8621 + * library/tcltest/tcltest.tcl: added getMatchingFiles back (alias
1.8622 + to GetMatchingFiles), which was a public function in tcltest 1.0.
1.8623 +
1.8624 +2002-04-01 Vince Darley <vincentdarley@users.sourceforge.net>
1.8625 +
1.8626 + * generic/tclEnv.c:
1.8627 + * generic/tclIOUtil.c: invalidate filesystem cache when the user
1.8628 + changes env(HOME). Fixes [Bug 535621]. Also cleaned up some of the
1.8629 + documentation.
1.8630 + * tests/fileSystem.test: added test for bug just fixed.
1.8631 +
1.8632 +2002-04-01 Kevin Kenny <kennykb@acm.org>
1.8633 +
1.8634 + * win/tclWinTime.c (Tcl_GetTime): made the checks of clock frequency
1.8635 + more permissive to cope with the fact that Win98SE is observed to
1.8636 + return 1.19318 in place of 1.193182 for the performance counter
1.8637 + frequency.
1.8638 +
1.8639 +2002-03-29 Jeff Hobbs <jeffh@ActiveState.com>
1.8640 +
1.8641 + * generic/tclCmdMZ.c (Tcl_TraceObjCmd, TraceVarProc)
1.8642 + (TraceCommandProc, TclTraceCommandObjCmd): corrected potential
1.8643 + double-free of traces on variables by flagging in Trace*Proc that it
1.8644 + will free the var in case the eval wants to delete the var trace as
1.8645 + well. [Bug 536937]
1.8646 + Also converted Tcl_UntraceVar -> Tcl_UntraceVar2 and Tcl_Eval to
1.8647 + Tcl_EvalEx in Trace*Proc for slight efficiency improvement.
1.8648 +
1.8649 +2002-03-29 Don Porter <dgp@users.sourceforge.net>
1.8650 +
1.8651 + * doc/AllowExc.3:
1.8652 + * generic/tclBasic.c (Tcl_EvalObjv,Tcl_EvalEx,Tcl_EvalObjEx):
1.8653 + * generic/tclCompile.h (TclCompEvalObj):
1.8654 + * generic/tclExecute.c (TclCompEvalObj,TclExecuteByteCode):
1.8655 + * tests/basic.test: Corrected problems with Tcl_AllowExceptions having
1.8656 + influence over the wrong scope of Tcl_*Eval* calls. Patch from Miguel
1.8657 + Sofer. Report from Jean-Claude Wippler. [Bug 219181]
1.8658 +
1.8659 +2002-03-28 Don Porter <dgp@users.sourceforge.net>
1.8660 +
1.8661 + * generic/tclVar.c: Refactored CallTraces to collect repeated handling
1.8662 + of its returned value into CallTraces itself.
1.8663 +
1.8664 +2002-03-28 David Gravereaux <davygrvy@pobox.com>
1.8665 +
1.8666 + * tools/feather.bmp:
1.8667 + * tools/man2help.tcl:
1.8668 + * tools/man2help2.tcl:
1.8669 + * win/makefile.vc: More winhelp target fixups. Added a feather bitmap
1.8670 + to the non-scrollable area and changed the color to be yellow from a
1.8671 + plain white. The colors can be whatever we want them to be, but
1.8672 + thought I would start with something bold. [Bug 527941]
1.8673 +
1.8674 + * doc/SetVar.3:
1.8675 + * doc/TraceVar.3:
1.8676 + * doc/UpVar.3: .AP macro syntax repair.
1.8677 +
1.8678 +2002-03-27 David Gravereaux <davygrvy@pobox.com>
1.8679 +
1.8680 + * tools/man2help.tcl:
1.8681 + * win/makefile.vc: winhelp target now copies all needed files from
1.8682 + tools/ to a workarea under $(OUT_DIR) and builds it from there. No
1.8683 + build cruft is left in tools/ anymore. All paths used in man2help.tcl
1.8684 + are now relative to where the script is. [Bug 527941]
1.8685 +
1.8686 +2002-03-27 David Gravereaux <davygrvy@pobox.com>
1.8687 +
1.8688 + * win/.cvsignore:
1.8689 + * win/buildall.vc.bat:
1.8690 + * win/coffbase.txt:
1.8691 + * win/makefile.vc:
1.8692 + * win/nmakehlp.c (new):
1.8693 + * win/rules.vc: First draft fix for [Bug 527941]. More changes need to
1.8694 + done to the makehelp target to get to stop leaving build files in the
1.8695 + tools/ directory. This does not address the syntax errors in the man
1.8696 + files. Having the contents of tcl.hpj(.in) inside makefile.vc allows
1.8697 + for version numbers to be replaced with macros.
1.8698 +
1.8699 + The new nmakehlp.c is built by rules.vc in preprocessing and removes
1.8700 + the need to use tricky shell syntax that wasn't compatible on Win9x
1.8701 + systems. Clean targets made Win9x complient. This is a first draft
1.8702 + repair for [Bug 533862].
1.8703 +
1.8704 +2002-03-28 Miguel Sofer <msofer@users.sourceforge.net>
1.8705 +
1.8706 + * generic/tclBasic.c (Tcl_EvalEx): passing the correct commandSize
1.8707 + to TclEvalObjvInternal. [Bug 219362], fix by David Knoll.
1.8708 +
1.8709 +2002-03-28 Miguel Sofer <msofer@users.sourceforge.net>
1.8710 +
1.8711 + * generic/tclBasic.c (Tcl_EvalEx):
1.8712 + * tests/basic.test: avoid exceptional returns at level 0
1.8713 + [Bug 219181]
1.8714 +
1.8715 +2002-03-27 Don Porter <dgp@users.sourceforge.net>
1.8716 +
1.8717 + * doc/tcltest.n ([mainThread]):
1.8718 + * library/tcltest/tcltest.tcl:
1.8719 + * tests/tcltest.test: Major code cleanup to deal with whitespace,
1.8720 + coding conventions, and namespace issues, with several minor bugs
1.8721 + fixed in the process.
1.8722 +
1.8723 + * tests/main.test: Added missing [after cancel]s.
1.8724 +
1.8725 +2002-03-25 Don Porter <dgp@users.sourceforge.net>
1.8726 +
1.8727 + * tests/main.test: Removed workarounds for Bug 495977.
1.8728 +
1.8729 + * library/tcltest/tcltest.tcl: Keep the value of $::auto_path
1.8730 + unchanged, so that the tcltest package can test code that depends
1.8731 + on auto-loading. If a testing application needs $::auto_path pruned,
1.8732 + it should do that itself. [Bug 495726]
1.8733 + Improve the processing of the -constraints option to [test] so that
1.8734 + constraint lists can have arbitrary whitespace, and non-lists don't
1.8735 + blow things up. [Bug 495977]
1.8736 + Corrected faulty variable initialization. [Bug 534845]
1.8737 +
1.8738 +2002-03-25 Miguel Sofer <msofer@users.sourceforge.net>
1.8739 +
1.8740 + * doc/CrtTrace.3: small doc correction
1.8741 + * generic/tclBasic.c (Tcl_DeleteTrace): Allow NULL callback on
1.8742 + trace deletions [Bug 534728] (Hemang Lavana).
1.8743 +
1.8744 +2002-03-24 Miguel Sofer <msofer@users.sourceforge.net>
1.8745 +
1.8746 + * generic/tclBasic.c (Tcl_EvalObjv): replaced obscure, incorrect
1.8747 + code as described in [Bug 533907] (Don Porter).
1.8748 +
1.8749 +2002-03-24 Don Porter <dgp@users.sourceforge.net>
1.8750 +
1.8751 + * library/tcltest/tcltest.tcl: Use [interpreter] to set/query the
1.8752 + executable currently running the tcltest package. [Bug 454050]
1.8753 +
1.8754 + * library/tcltest/tcltest.tcl: Allow non-proc commands to be used
1.8755 + as the customization hooks. [Bug 495662]
1.8756 +
1.8757 +2002-03-24 Vince Darley <vincentdarley@users.sourceforge.net>
1.8758 +
1.8759 + * generic/tclFilename.c:
1.8760 + * generic/tclFCmd.c:
1.8761 + * generic/tclTest.c:
1.8762 + * generic/tcl.h:
1.8763 + * generic/tclIOUtil.c:
1.8764 + * win/tclWinFile.c:
1.8765 + * win/tclWinFCmd.c:
1.8766 + * win/tclWinPipe.c:
1.8767 + * unix/tclUnixFile.c:
1.8768 + * unix/tclUnixFCmd.c:
1.8769 + * mac/tclMacFile.c:
1.8770 + * doc/FileSystem.3:
1.8771 + * doc/file.n:
1.8772 + * tests/cmdAH.test:
1.8773 + * tests/fileName.test:
1.8774 + * tests/fileSystem.test: (new file)
1.8775 + * tests/winFCmd.test: fix [Bug 511666] and [Bug 511658], and improved
1.8776 + documentation of some aspects of the filesystem, particularly
1.8777 + 'Tcl_FSMatchInDirectory' which now might match a single file/directory
1.8778 + only, and 'file normalize' which wasn't very clear before. Removed
1.8779 + inconsistency betweens docs and the Tcl_Filesystem structure. Also
1.8780 + fixed [Bug 523217] and corrected file normalization on Unix so that it
1.8781 + expands symbolic links. Added some new tests of the filesystem code
1.8782 + (in the new file 'fileSystem.test'), and some extra tests for correct
1.8783 + handling of symbolic links. Fix to [Bug 530960] which shows up on
1.8784 + Win98. Made comparison with ".com" case insensitive in tclWinPipe.c
1.8785 +
1.8786 + ***POTENTIAL INCOMPATIBILITY***: But only between alpha releases
1.8787 + (users of the new Tcl_Filesystem lookup table in Tcl 8.4a4 need to
1.8788 + handle the new way in which Tcl may call Tcl_FSMatchInDirectory, and
1.8789 + 'file normalize' on unix now behaves correctly). Only known impact is
1.8790 + with the 'tclvfs' extension.
1.8791 +
1.8792 +2002-03-22 Miguel Sofer <msofer@users.sourceforge.net>
1.8793 +
1.8794 + * tests/basic.test (basic-46.1): adding test for [Bug 533758], fixed
1.8795 + earlier today.
1.8796 +
1.8797 +2002-03-22 Jeff Hobbs <jeffh@ActiveState.com>
1.8798 +
1.8799 + * win/tclWinInt.h: moved undef of TCL_STORAGE_CLASS. [Bug 478579]
1.8800 +
1.8801 +2002-03-22 Miguel Sofer <msofer@users.sourceforge.net>
1.8802 +
1.8803 + * generic/tclBasic.c (Tcl_EvalObjEx):
1.8804 + * generic/tclExecute.c (TclCompEvalObj): fixed the errorInfo for
1.8805 + return codes other than (TCL_OK, TCL_ERROR) to runLevel 0 [Bug
1.8806 + 533758]. Removed the static RecordTracebackInfo(), as its
1.8807 + functionality is easily replicated by Tcl_LogCommandInfo. Bug and
1.8808 + redundancy noted by Don Porter.
1.8809 +
1.8810 +2002-03-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8811 +
1.8812 + * doc/expr.n: Improved documentation for ceil and floor [Bug 530535]
1.8813 +
1.8814 +2002-03-20 Don Porter <dgp@users.sourceforge.net>
1.8815 +
1.8816 + * doc/SetVar.3:
1.8817 + * doc/TraceVar.3:
1.8818 + * doc/UpVar.3:
1.8819 + * generic/tcl.h (Tcl_VarTraceProc):
1.8820 + * generic/tcl.decls (Tcl_GetVar2, Tcl_SetVar2, Tcl_TraceVar2)
1.8821 + (Tcl_UnsetVar2, Tcl_UntraceVar2, Tcl_UpVar2, Tcl_VarTraceInfo2)
1.8822 + (Tcl_GetVar2Ex, TclSetVar2Ex):
1.8823 + * generic/tclCmdMZ.c (TraceVarProc):
1.8824 + * generic/tclEnv.c (EnvTraceProc):
1.8825 + * generic/tclEvent.c (VwaitVarProc):
1.8826 + * generic/tclInt.decls (TclLookupVar,TclPrecTraceProc):
1.8827 + * generic/tclLink.c (LinkTraceProc):
1.8828 + * generic/tclUtil.c (TclPrecTraceProc):
1.8829 + * generic/tclVar.c (CallTraces, MakeUpvar, VarErrMsg, TclLookupVar,
1.8830 + (Tcl_GetVar2, Tcl_SetVar2, Tcl_TraceVar2, Tcl_UnsetVar2)
1.8831 + (Tcl_UntraceVar2, Tcl_UpVar2, Tcl_VarTraceInfo2, Tcl_GetVar2Ex)
1.8832 + (TclSetVar2Ex): Updated interfaces of generic/tclVar.c according to
1.8833 + TIP 27. In particular, the "part2" arguments were CONSTified.
1.8834 + [Patch 532642]
1.8835 + * generic/tclDecls.h:
1.8836 + * generic/tclIntDecls.h: make genstubs
1.8837 +
1.8838 +2002-03-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8839 +
1.8840 + * tests/compile.test (compile-12.3): Test to detect bug 530320.
1.8841 + * generic/tclCompile.c (TclCompileTokens): Fixed buffer overrun
1.8842 + reported in bug 530320.
1.8843 +
1.8844 +2002-03-14 Mo DeJong <mdejong@users.sourceforge.net>
1.8845 +
1.8846 + * win/configure: Regen.
1.8847 + * win/configure.in: Add configure time test for SEH support in the
1.8848 + compiler.
1.8849 + * win/tclWin32Dll.c (ESP, EBP, TclpCheckStackSpace,
1.8850 + (_except_checkstackspace_handler):
1.8851 + * win/tclWinChan.c (ESP, EBP, Tcl_MakeFileChannel,
1.8852 + (_except_makefilechannel_handler):
1.8853 + * win/tclWinFCmd.c (ESP, EBP, DoRenameFile, DoCopyFile,
1.8854 + (_except_dorenamefile_handler, _except_docopyfile_handler): Implement
1.8855 + SEH support under gcc using inline asm. Tcl and Tk should now compile
1.8856 + with Mingw 1.1. [Patch 525746]
1.8857 +
1.8858 +2002-03-14 Mo DeJong <mdejong@users.sourceforge.net>
1.8859 +
1.8860 + * win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Handle an SEH exception
1.8861 + with EXCEPTION_EXECUTE_HANDLER instead of restarting the faulting
1.8862 + instruction with EXCEPTION_CONTINUE_EXECUTION. Bug 466102 provides an
1.8863 + example of how restarting could send Tcl into an infinite loop. [Patch
1.8864 + 525746]
1.8865 +
1.8866 +2002-03-11 Mo DeJong <mdejong@users.sourceforge.net>
1.8867 +
1.8868 + * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, DoDeleteFile,
1.8869 + (DoRemoveJustDirectory): Make sure we don't pass NULL or "" as a path
1.8870 + name to Win32 API functions since this was crashing under Windows 98.
1.8871 +
1.8872 +2002-03-11 Don Porter <dgp@users.sourceforge.net>
1.8873 +
1.8874 + * library/tcltest/tcltest.tcl:
1.8875 + * library/tcltest/pkgIndex.tcl: Bumped tcltest package to 2.0.2.
1.8876 +
1.8877 +2002-03-11 Mo DeJong <mdejong@users.sourceforge.net>
1.8878 +
1.8879 + * library/tcltest/tcltest.tcl (getMatchingFiles): Pass a proper list
1.8880 + to foreach to avoid munging a Windows patch like D:\Foo\Bar into
1.8881 + D:FooBar before the glob.
1.8882 +
1.8883 +2002-03-11 Mo DeJong <mdejong@users.sourceforge.net>
1.8884 +
1.8885 + * generic/tclEncoding.c: Fix typo in comment.
1.8886 + * generic/tclIO.c (DoReadChars, ReadBytes, ReadChars): Use NULL value
1.8887 + instead of pointer set to NULL to make things more clear. Reorder
1.8888 + arguments so that they match the function signatures. Cleanup little
1.8889 + typos and add more descriptive comment.
1.8890 +
1.8891 +2002-03-08 Mo DeJong <mdejong@users.sourceforge.net>
1.8892 +
1.8893 + * win/README: Update to indicate that Mingw 1.1 is required to build
1.8894 + Tcl. Add section describing new msys based build process. Update
1.8895 + Cygwin build instructions so users know where to find Mingw 1.1.
1.8896 +
1.8897 +2002-03-08 Jeff Hobbs <jeffh@ActiveState.com>
1.8898 +
1.8899 + * win/tclWinFCmd.c (DoCopyFile): correctly set retval to TCL_OK.
1.8900 +
1.8901 +2002-03-07 Mo DeJong <mdejong@users.sourceforge.net>
1.8902 +
1.8903 + * win/tclWin32Dll.c (TclpCheckStackSpace):
1.8904 + * win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Replace hard coded
1.8905 + constants with Win32 symbolic names. Move control flow statements out
1.8906 + of __try blocks since the documentation indicates it is frowned upon.
1.8907 +
1.8908 +2002-03-07 Don Porter <dgp@users.sourceforge.net>
1.8909 +
1.8910 + * doc/interp.n:
1.8911 + * generic/tclInterp.c (Tcl_InterpObjCmd,SlaveObjCmd,
1.8912 + (SlaveRecursionLimit):
1.8913 + * generic/tclTest.c:
1.8914 + * tests/interp.test: Added the [interp recursionlimit] command to
1.8915 + set/query the recursion limit of an interpreter. Proposal and
1.8916 + implementation from Stephen Trier. [TIP 87, Patch 522849]
1.8917 +
1.8918 +2002-03-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8919 +
1.8920 + * generic/tcl.h, tools/tcl.wse.in, unix/configure.in,
1.8921 + * unix/tcl.spec, win/README.binary, win/configure.in, README:
1.8922 + Bumped patchlevel; this might need to change in the future, but it
1.8923 + will help us distinguish between the CVS version and the most
1.8924 + recent released version.
1.8925 +
1.8926 +2002-03-06 Miguel Sofer <msofer@users.sourceforge.net>
1.8927 +
1.8928 + * generic/tclInt.h: for unshared objects, TclDecrRefCount now frees
1.8929 + the internal rep before the string rep - just like the non-macro
1.8930 + Tcl_DecrRefCount/TclFreeObj [Bug 524802].
1.8931 +
1.8932 +2002-03-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.8933 +
1.8934 + * doc/lsearch.n: Documentation of new features, plus examples.
1.8935 + * tests/lsearch.test: Tests of new features.
1.8936 + * generic/tclCmdIL.c (Tcl_LsearchObjCmd): TIP#80 support. See
1.8937 + http://purl.org/tcl/tip/80 for details.
1.8938 +
1.8939 +2002-03-05 Jeff Hobbs <jeffh@ActiveState.com>
1.8940 +
1.8941 + *** 8.4a4 TAGGED FOR RELEASE ***
1.8942 +
1.8943 + * unix/tclUnixChan.c: initial remedy for [Bug 525783] flush problem
1.8944 + introduced by TIP #35. This may not satisfy true serial channels, but
1.8945 + it restores the correct flushing of std* channels on exit.
1.8946 +
1.8947 + * unix/README: added --enable-langinfo doc.
1.8948 +
1.8949 + * unix/tcl.spec:
1.8950 + * tools/tcl.wse.in: fixed URL refs to use www.tcl.tk or SF.
1.8951 +
1.8952 +2002-03-04 Jeff Hobbs <jeffh@ActiveState.com>
1.8953 +
1.8954 + * README:
1.8955 + * mac/README:
1.8956 + * unix/Makefile.in:
1.8957 + * unix/README:
1.8958 + * win/README:
1.8959 + * win/README.binary: updated to use www.tcl.tk URL.
1.8960 +
1.8961 + * unix/Makefile.in: added older ChangeLogs to dist target.
1.8962 +
1.8963 + * tests/io.test:
1.8964 + * tests/encoding.test: corrected iso2022 encoding results.
1.8965 + added encoding-24.*
1.8966 + * generic/tclEncoding.c (EscapeFromUtfProc): corrected output of
1.8967 + escape codes as per RFC 1468. [Patch 474358] (taguchi)
1.8968 + (TclFinalizeEncodingSubsystem): corrected potential double-free
1.8969 + when encodings were finalized on exit. [Bug 219314, 524674]
1.8970 +
1.8971 +2002-03-01 Jeff Hobbs <jeffh@ActiveState.com>
1.8972 +
1.8973 + * library/encoding/iso2022-jp.enc:
1.8974 + * library/encoding/iso2022.enc:
1.8975 + * tools/encoding/iso2022-jp.esc:
1.8976 + * tools/encoding/iso2022.esc: gave <ESC>$B precedence over <ESC>$@,
1.8977 + based on comments (point 1) in [Bug 219283] (RFC 1468)
1.8978 +
1.8979 + * tests/encoding.test: added encoding-23.* tests
1.8980 + * generic/tclIO.c (FilterInputBytes): reset the TCL_ENCODING_START
1.8981 + flags in the ChannelState when using 'gets'. [Bug 523988]
1.8982 + Also reduced the value of ENCODING_LINESIZE from 30 to 20 as this
1.8983 + seems to improve the performance of 'gets' according to tclbench.
1.8984 +
1.8985 +2002-02-28 Jeff Hobbs <jeffh@ActiveState.com>
1.8986 +
1.8987 + * generic/tclCmdMZ.c (TraceCommandProc): ensure that TraceCommandInfo
1.8988 + structure was also deleted when a command was deleted to prevent a
1.8989 + mem leak.
1.8990 +
1.8991 + * generic/tclBasic.c (Tcl_CreateObjTrace): set tracePtr->flags
1.8992 + correctly.
1.8993 +
1.8994 + * generic/tclTimer.c (TimerExitProc): remove remaining events in
1.8995 + tls on thread exit.
1.8996 +
1.8997 +2002-02-28 Miguel Sofer <msofer@users.sourceforge.net>
1.8998 +
1.8999 + * generic/tclNamesp.c: allow cached fully-qualified namespace names to
1.9000 + be usable from different namespaces within the same interpreter
1.9001 + without forcing a new lookup [Patch 458872].
1.9002 +
1.9003 +2002-02-28 Miguel Sofer <msofer@users.sourceforge.net>
1.9004 +
1.9005 + * generic/tclExecute.c: Replaced a few direct stack accesses with the
1.9006 + POP_OBJECT() macro [Bug 507181] (Don Porter).
1.9007 +
1.9008 +2002-02-27 Don Porter <dgp@users.sourceforge.net>
1.9009 +
1.9010 + * doc/GetIndex.3:
1.9011 + * generic/tcl.decls (Tcl_GetIndexFromObjStruct):
1.9012 + * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Revised the
1.9013 + prototype of the Tcl_GetIndexFromObjStruct to take its struct
1.9014 + table as a (CONST VOID *) argument, better describing what it is,
1.9015 + maintaining source compatibility, and adding CONST correctness
1.9016 + according to TIP 27. Thanks to Joe English for an elegant
1.9017 + solution. [Bug 520304]
1.9018 +
1.9019 + * generic/tclDecls.h: make genstubs
1.9020 +
1.9021 + * generic/tclMain.c (Tcl_Main,StdinProc): Corrected some reference
1.9022 + count management errors on the interactive command Tcl_Obj found by
1.9023 + Purify. Thanks to Jeff Hobbs for the report and assistance.
1.9024 +
1.9025 +2002-02-27 Jeff Hobbs <jeffh@ActiveState.com>
1.9026 +
1.9027 + * generic/tclBasic.c (Tcl_EvalTokensStandard): corrected mem leak
1.9028 + in error case.
1.9029 +
1.9030 + * generic/tclTest.c (TestStatProc[123]): correct harmless UMRs.
1.9031 +
1.9032 + * generic/tclLink.c (Tcl_LinkVar): correct mem leak in error case.
1.9033 +
1.9034 +2002-02-27 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.9035 +
1.9036 + * tests/socket.test (2.7): Accepted and applied patch for [Bug 523470]
1.9037 + provided by Don Porter <dgp@users.sourceforge.net> to avoid timing
1.9038 + problems in that test.
1.9039 +
1.9040 + * unix/tclUnixChan.c (TclpOpenFileChannel): Added code to regonize
1.9041 + "/dev/tty" (by name) and to not handle it as tty / serial line. This
1.9042 + is the controlling terminal and is special. Setting it into raw mode
1.9043 + as is done for other tty's is a bad idea. This is a hackish fix for
1.9044 + expect [Bug 520624]. The fix has limitation: Tcl_MakeFileChannel
1.9045 + handles tty's specially too, but is unable to recognize /dev/tty as it
1.9046 + only gets a file descriptor, and no name for it.
1.9047 +
1.9048 +2002-02-26 Jeff Hobbs <jeffh@ActiveState.com>
1.9049 +
1.9050 + * generic/tclCmdAH.c (StoreStatData): corrected mem leak.
1.9051 +
1.9052 + * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): prevent obj leak in remedial
1.9053 + regsub case.
1.9054 +
1.9055 + * generic/tclFileName.c (Tcl_TranslateFileName): decr refcount for
1.9056 + error case to prevent mem leak.
1.9057 +
1.9058 + * generic/tclVar.c (Tcl_ArrayObjCmd): removed extra obj allocation.
1.9059 +
1.9060 + * unix/tclUnixSock.c (Tcl_GetHostName): added an extra gethostbyname
1.9061 + check to guard against failure with truncated names returned by uname.
1.9062 +
1.9063 + * unix/configure:
1.9064 + * unix/tcl.m4 (SC_SERIAL_PORT): added sys/modem.h check and defined
1.9065 + _XOPEN_SOURCE_EXTENDED for HP-11 to get updated header decls.
1.9066 +
1.9067 + * unix/tclUnixChan.c: added Unix implementation of TIP #35, serial
1.9068 + port support. [Patch 438509] (schroedter)
1.9069 +
1.9070 +2002-02-26 Miguel Sofer <msofer@users.sourceforge.net>
1.9071 +
1.9072 + * generic/tclCmpCmds.c: (bugfix to the bugfix, hopefully the last)
1.9073 + Bugfix to the new [for] compiling code: was setting a exceptArray
1.9074 + parameter using another param which wasn't yet initialised, thus
1.9075 + filling it with noise.
1.9076 +
1.9077 +2002-02-25 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.9078 +
1.9079 + * mac/tclMacSock.c (TcpGetOptionProc): Changed to recognize the option
1.9080 + "-error". Essentially ignores the option, always returning an empty
1.9081 + string.
1.9082 +
1.9083 +2002-02-25 Jeff Hobbs <jeffh@ActiveState.com>
1.9084 +
1.9085 + * doc/Alloc.3:
1.9086 + * doc/LinkVar.3:
1.9087 + * doc/ObjectType.3:
1.9088 + * doc/PkgRequire.3:
1.9089 + * doc/Preserve.3:
1.9090 + * doc/TCL_MEM_DEBUG.3: Updated documentation to describe the ckalloc,
1.9091 + ckfree, ckrealloc, attemptckalloc, and attemptckrealloc macros, and
1.9092 + to accurately describe when and how they are used. [Bug 497459] (dgp)
1.9093 +
1.9094 + * generic/tclHash.c (AllocArrayEntry, AllocStringEntry): Before
1.9095 + invoking ckalloc when creating a Tcl_HashEntry, check that the amount
1.9096 + of memory being allocated is at least as large as
1.9097 + sizeof(Tcl_HashEntry). The previous code was allocating memory regions
1.9098 + that were one or two bytes short. [Bug 521950] (dejong)
1.9099 +
1.9100 +2002-02-25 Miguel Sofer <msofer@users.sourceforge.net>
1.9101 +
1.9102 + * generic/tclBasic.c (Tcl_EvalEx): avoiding a buffer overrun reported
1.9103 + by Joe English, and restoring tcl7.6 behaviour for [subst]: badly
1.9104 + terminated nested scripts will raise an error and not be evaluated.
1.9105 + [Bug 495207]
1.9106 +
1.9107 +2002-02-25 Don Porter <dgp@users.sourceforge.net>
1.9108 +
1.9109 + * unix/tclUnixPort.h: corrected strtoll prototype mismatch on Tru64.
1.9110 + * compat/strtod.c (strtod): simplified #includes
1.9111 + * compat/strtol.c (strtol): gather result in a long before returning
1.9112 + as a long: necessary on platforms where sizeof(int) != sizeof(long).
1.9113 +
1.9114 +2002-02-25 Daniel Steffen <das@users.sourceforge.net>
1.9115 +
1.9116 + * unix/tclLoadDyld.c: updated to use Mac OS X 10.1 dyld APIs that have
1.9117 + more libdl-like semantics. [Bug 514392]
1.9118 +
1.9119 +2002-02-25 Miguel Sofer <msofer@users.sourceforge.net>
1.9120 +
1.9121 + * generic/tclCompCmds: fixing a bug in patch dated 2002-02-22, in the
1.9122 + code for [for] and [while]. Under certain conditions, for long bodies,
1.9123 + the exception range parameters were badly computed. Tests forthcoming:
1.9124 + I still can't reproduce the conditions in the testsuite (!), although
1.9125 + the bug (with assorted segfault or panic!) can be triggered from the
1.9126 + console or with the new parse.bench in tclbench.
1.9127 +
1.9128 +2002-02-25 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.9129 +
1.9130 + * compat/strtoul.c, compat/strtol.c, compat/strtod.c: Added UCHAR,
1.9131 + CONST and #includes to clean up GCC output.
1.9132 +
1.9133 +2002-02-23 Don Porter <dgp@users.sourceforge.net>
1.9134 +
1.9135 + * compat/strtoull.c (strtoull):
1.9136 + * compat/strtoll.c (strtoll):
1.9137 + * compat/strtoul.c (strtoul): Fixed failure to handle leading sign
1.9138 + symbols '+' and '-' and '0X' and raise overflow errors. [Bug 440916]
1.9139 + Also corrects prototype and errno problems.
1.9140 +
1.9141 +2002-02-23 Mo DeJong <mdejong@users.sourceforge.net>
1.9142 +
1.9143 + * configure: Regen.
1.9144 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Link with -n32 instead of -32 when
1.9145 + building on IRIX64-6.* system. [Bug 521707]
1.9146 +
1.9147 +2002-02-22 Don Porter <dgp@users.sourceforge.net>
1.9148 +
1.9149 + * generic/tclInt.h:
1.9150 + * generic/tclObj.c: renamed global variable emptyString ->
1.9151 + tclEmptyString because it is no longer static.
1.9152 + * generic/tclPkg.c: Fix for panic when library is loaded on a
1.9153 + platform without backlinking without proper use of stubs. [Bug 476537]
1.9154 +
1.9155 +2002-02-22 Jeff Hobbs <jeffh@ActiveState.com>
1.9156 +
1.9157 + * tests/regexpComp.test: updated regexp-11.[1-4] to match changes
1.9158 + in regexp.test for new regsub syntax
1.9159 +
1.9160 + * unix/configure:
1.9161 + * unix/tcl.m4: added --enable-64bit support for AIX-4 (using -q64
1.9162 + flag) when using IBM's xlc compiler.
1.9163 +
1.9164 + * tests/safe.test: updated safe-8.5 and safe-8.7
1.9165 + * library/safe.tcl (CheckFileName): removed the limit on
1.9166 + sourceable file names (was only *.tcl or tclIndex files with no
1.9167 + more than one dot and 14 chars). There is enough internal
1.9168 + protection in a safe interpreter already. Fixes [Tk Bug 521560].
1.9169 +
1.9170 +2002-02-22 Miguel Sofer <msofer@users.sourceforge.net>
1.9171 +
1.9172 + * generic/tclCompCmds: [FR 465811]. Optimising [if], [for] and
1.9173 + [while] for constant conditions; in addition, [for] and [while] are
1.9174 + now compiled with the "loop rotation" optimisation (thanks to Kevin
1.9175 + Kenny).
1.9176 +
1.9177 +2002-02-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.9178 +
1.9179 + --- TIP#76 CHANGES ---
1.9180 + * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): Final-argument-less
1.9181 + [regsub] returns the modified string.
1.9182 + * doc/regsub.n: Updated docs.
1.9183 + * tests/regexp.test: Updated and added tests.
1.9184 +
1.9185 + * compat/strtoll.c (strtoll):
1.9186 + * compat/strtoull.c (strtoull):
1.9187 + * unix/tclUnixPort.h:
1.9188 + * win/tclWinPort.h: Const-ing 64-bit compatability declarations.
1.9189 + Note that the return pointer is non-const because it is entirely
1.9190 + legal for the functions to be called from somewhere that owns the
1.9191 + string being passed. Fixes problem reported by Larry Virden.
1.9192 +
1.9193 +2002-02-21 David Gravereaux <davygrvy@pobox.com>
1.9194 +
1.9195 + * win/mkd.bat (removed):
1.9196 + * win/coffbase.txt (new):
1.9197 + * win/makefile.bc:
1.9198 + * win/makefile.vc: Changed the 'setup' target to stop using the
1.9199 + mkd.bat file and just make the directory right in the rule. Same
1.9200 + change to makefile.bc. configure.in nor Makefile.in use it.
1.9201 +
1.9202 + coffbase.txt will be the master list for our "prefered base addresses"
1.9203 + set by the linker. This should improve load-time (NT only) by avoiding
1.9204 + relocations. Submissions to the list by extension authors are
1.9205 + encouraged.
1.9206 +
1.9207 + Added a 'tidy' target to compliment 'clean' and 'hose' to remove just
1.9208 + the outputs. Also removed the $(winlibs) macro as it wasn't being
1.9209 + used.
1.9210 +
1.9211 + Stuff left to do:
1.9212 + 1) get the winhelp target to stop building in the tools/ directory.
1.9213 + 2) stop using rmd.bat
1.9214 + 3) add more dependacy rules.
1.9215 +
1.9216 + * win/tclAppInit.c: Reverted back to -r1.6, as the header file change
1.9217 + to tclPort.h won't allow for easy embedded support outside of the
1.9218 + source dist. Thanks to Don Porter for pointing this out to me.
1.9219 +
1.9220 +2002-02-21 David Gravereaux <davygrvy@pobox.com>
1.9221 +
1.9222 + * win/makefile.vc:
1.9223 + * win/rules.vc: Added a new "loimpact" option that sets the
1.9224 + -ws:aggressive linker option. Off by default. It's said to keep the
1.9225 + heap use low at the expense of alloc speed.
1.9226 +
1.9227 + * win/tclAppInit.c: Changed #include "tcl.h" to be tclPort.h to remove
1.9228 + the raw windows.h include. tclPort.h brings in windows.h already and
1.9229 + lessens the pre-compiled-header mush and the randomly useless #pragma
1.9230 + comment (lib,...) references throughout the big windows.h tree (as
1.9231 + observed at high linker warning levels).
1.9232 +
1.9233 +2002-02-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.9234 +
1.9235 + * generic/tcl.h: Better guessing of LP64/ILP32 architecture, but
1.9236 + now sensitive to presence of (suitable) <limits.h>
1.9237 +
1.9238 +2002-02-20 Don Porter <dgp@users.sourceforge.net>
1.9239 +
1.9240 + * generic/tcl.decls (Tcl_RegExpRange,Tcl_GetIndexFromObjStruct):
1.9241 + Overlooked a few source incompatibilities. Now using CONST84.
1.9242 + * generic/tclDecls.h: make genstubs
1.9243 + * generic/tcl.h (Tcl_CmdObjTraceProc): silence warning from Sun
1.9244 + Workshop compiler.
1.9245 +
1.9246 +2002-02-20 David Gravereaux <davygrvy@pobox.com>
1.9247 +
1.9248 + * win/buildall.vc.bat:
1.9249 + * win/makefile.vc:
1.9250 + * win/rules.vc: General clean-ups. Added compiler and linker tests for
1.9251 + a) the pentium 0x0F errata, b) optimizing (not all have this), and c)
1.9252 + linker v6 section alignment confusion. All these are tested first to
1.9253 + make sure any D4002 or LNK1117 warnings aren't displayed. The pentium
1.9254 + 0x0F errata is a recommended switch. The v5 linker's section alignment
1.9255 + default is 512, but the v6 linker was changed to 4096 in an attempt to
1.9256 + speed loading on Win98. I changed the default to always be 512 across
1.9257 + both linkers, unless linking statically, then 4096 is used for the
1.9258 + claimed speed effect. Using a 512 alignment saves 12k bytes of dead
1.9259 + space in the DLL.
1.9260 +
1.9261 + Added IA64 B-stepping errata switch when the compiler supports it.
1.9262 +
1.9263 + Added profiling to $(lflags) when requested and also removed the
1.9264 + explict -entry option as the default works fine as is.
1.9265 +
1.9266 + Removed win/tclWinInit.c from the special case section to let it use
1.9267 + the common implicit rule as the $(EXTFLAGS) macro it had was never
1.9268 + referenced anywhere.
1.9269 +
1.9270 +2002-02-20 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.9271 +
1.9272 + * generic/tcl.h: Added code to guess the correct settings for
1.9273 + TCL_WIDE_INT_IS_LONG and TCL_WIDE_INT_TYPE when configure doesn't tell
1.9274 + us them, as can happen with extensions.
1.9275 +
1.9276 +2002-02-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.9277 +
1.9278 + * doc/format.n: Updated docs to list the specification.
1.9279 + * generic/tclCmdAH.c (Tcl_FormatObjCmd): Made behaviour on 64-bit
1.9280 + platforms correctly meet the specification, that %d works with the
1.9281 + native word-sized integer, instead of trying to guess (wrongly) from
1.9282 + the value being passed.
1.9283 +
1.9284 +2002-02-19 Don Porter <dgp@users.sourceforge.net>
1.9285 +
1.9286 + * changes: First draft of updated changes for 8.4a4 release.
1.9287 +
1.9288 +2002-02-15 Jeff Hobbs <jeffh@ActiveState.com>
1.9289 +
1.9290 + * unix/tclUnixPort.h: add strtoll/strtoull declarations for platforms
1.9291 + that do not define them.
1.9292 +
1.9293 + * generic/tclIndexObj.c (STRING_AT): removed ptrdiff_t cast and use of
1.9294 + VOID* in default case (GNU-ism).
1.9295 +
1.9296 +2002-02-15 Kevin Kenny <kennykb@acm.org>
1.9297 +
1.9298 + * compat/strtoll.c:
1.9299 + * compat/strtoul.c:
1.9300 + * compat/strtoull.c:
1.9301 + * generic/tclIOUtil.c:
1.9302 + * generic/tclPosixStr.c:
1.9303 + * generic/tclTest.c:
1.9304 + * generic/tclTestObj.c:
1.9305 + * tests/get.test:
1.9306 + * win/Makefile.vc: Further tweaks to the TIP 72 patch to make it
1.9307 + compile under VC++.
1.9308 +
1.9309 +2002-02-15 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.9310 +
1.9311 + * tclExecute.c:
1.9312 + * tclIOGT.c:
1.9313 + * tclIndexObj.c: Touchups to the TIP 72 patch to make it compileable
1.9314 + under Windows again. The changes are not complete, there is one nasty
1.9315 + regarding _stati64
1.9316 +
1.9317 +2002-02-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.9318 +
1.9319 + +----------------------+
1.9320 + | TIP #72 IMPLEMENTED. |
1.9321 + +----------------------+
1.9322 +
1.9323 + There are a lot of changes from this TIP, so please see
1.9324 + http://tip.tcl.tk/72.html for discussion of backward-compatability
1.9325 + issues, but the main ones modifications are in:
1.9326 +
1.9327 + * generic/tcl.h: New types.
1.9328 + * generic/tcl.decls: New public functions.
1.9329 + * generic/tclExecute.c: 64-bit aware bytecode engine.
1.9330 + * generic/tclBinary.c: 64-bit handling in [binary] command.
1.9331 + * generic/tclScan.c: 64-bit handling in [scan] command.
1.9332 + * generic/tclCmdAH.c: 64-bit handling in [file] and [format]
1.9333 + commands.
1.9334 + * generic/tclBasic.c: New "wordSize" entry in ::tcl_platform.
1.9335 + * generic/tclFCmd.c: Large-file support (with many consequences.)
1.9336 + * generic/tclIO.c: Large-file support (with many consequences.)
1.9337 + * compat/strtoll.c, compat/strtoull.c: New support functions.
1.9338 + * unix/tcl.m4, unix/configure: 64-bit support and greatly enhanced
1.9339 + cacheing.
1.9340 +
1.9341 + Most other changes, including all those in doc/* and test/* as well as
1.9342 + the majority in the platform directories, follow on from these.
1.9343 +
1.9344 + Also coming out of the woodwork:
1.9345 + * generic/tclIndex.c: Better support for Cray PVP.
1.9346 + * win/tclWinMtherr.c: Better Borland support.
1.9347 +
1.9348 + Note that, in a number of places through the Unix part of the platform
1.9349 + support, there are Tcl_Platform* references. These are expanded into
1.9350 + the correct way to call that particular underlying function, i.e. with
1.9351 + or without a '64' suffix, and should be used by people working on the
1.9352 + core in preference to the API functions they overlay so that the code
1.9353 + remains portable depending on the presence or absence of 64-bit
1.9354 + support on the underlying platform.
1.9355 +
1.9356 + ***POTENTIAL INCOMPATIBILITY***: Extracted from the TIP
1.9357 +
1.9358 + SUMMARY OF INCOMPATIBILITIES AND FIXES
1.9359 + ======================================
1.9360 +
1.9361 + The behaviour of expressions containing constants that appear positive
1.9362 + but which have a negative internal representation will change, as
1.9363 + these will now usually be interpreted as wide integers. This is always
1.9364 + fixable by replacing the constant with int(constant).
1.9365 +
1.9366 + Extensions creating new channel types will need to be altered as
1.9367 + different types are now in use in those areas. The change to the
1.9368 + declaration of Tcl_FSStat and Tcl_FSLstat (which are the new preferred
1.9369 + API in any case) are less serious as no non-alpha releases have been
1.9370 + made yet with those API functions.
1.9371 +
1.9372 + Scripts that are lax about the use of the l modifier in format and
1.9373 + scan will probably need to be rewritten. This should be very uncommon
1.9374 + though as previously it had absolutely no effect.
1.9375 +
1.9376 + Extensions that create new math functions that take more than one
1.9377 + argument will need to be recompiled (the size of Tcl_Value changes),
1.9378 + and functions that accept arguments of any type (TCL_EITHER) will need
1.9379 + to be rewritten to handle wide integer values. (I do not expect this
1.9380 + to affect many extensions at all.)
1.9381 +
1.9382 +2002-02-14 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.9383 +
1.9384 + * generic/tclIOCmd.c (Tcl_GetsObjCmd): Trivial fix for [Bug 517503], a
1.9385 + memory leak reported by Miguel Sofer <msofer@users.sourceforge.net>.
1.9386 + The leak happens if an error occurs for "set var [gets $chan]" and
1.9387 + leak one empty object.
1.9388 +
1.9389 +2002-02-12 David Gravereaux <davygrvy@pobox.com>
1.9390 +
1.9391 + * djgpp/ (new directory)
1.9392 + * djgpp/Makefile (new):
1.9393 + * unix/tclAppInit.c:
1.9394 + * unix/tclMtherr.c:
1.9395 + * unix/tclUnixFCmd.c:
1.9396 + * unix/tclUnixFile.c:
1.9397 + * unix/tclUnixInit.c:
1.9398 + * unix/tclUnixPort.h: Early stage of DJGPP support for building Tcl
1.9399 + on DOS. Dynamic loading isn't working, yet. Requires watt32 for the
1.9400 + TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe
1.9401 + that runs Tcl in protected-mode, flat memory. [exec] and pipes will
1.9402 + need the most work as multi-tasking on DOS has to be carefully.
1.9403 +
1.9404 +2002-02-10 Kevin Kenny <kennykb@acm.org>
1.9405 +
1.9406 + * doc/CrtObjCmd.3:
1.9407 + * doc/CrtTrace.3:
1.9408 + * generic/tcl.decls:
1.9409 + * generic/tcl.h:
1.9410 + * generic/tclBasic.c:
1.9411 + * generic/tclInt.h:
1.9412 + * generic/tclTest.c:
1.9413 + * tests/basic.test: Added Tcl_CreateObjTrace,
1.9414 + Tcl_GetCommandInfoFromToken and Tcl_SetCommandInfoFromToken.
1.9415 + (TIPs #32 and #79.)
1.9416 +
1.9417 + * generic/tclDecls.h:
1.9418 + * generic/tclStubInit.c: Regenerated Stubs tables.
1.9419 +
1.9420 +2002-02-08 Jeff Hobbs <jeffh@ActiveState.com>
1.9421 +
1.9422 + * unix/configure:
1.9423 + * unix/tcl.m4: added -pthread for FreeBSD to EXTRA_CFLAGS and
1.9424 + LDFLAGS. Also triggered nodots only for FreeBSD-3.
1.9425 + Added AC_DEFINE(_POSIX_PTHREAD_SEMANTICS) for Solaris.
1.9426 +
1.9427 + * unix/tclUnixPort.h:
1.9428 + * unix/tclUnixThrd.c: added thread-safe versions of readdir,
1.9429 + localtime, gmtime and inet_ntoa for threaded build. (jgdavidson)
1.9430 +
1.9431 + * generic/tclScan.c (Tcl_ScanObjCmd): prevented ckfree being
1.9432 + called on a pointer to NULL.
1.9433 +
1.9434 +2002-02-07 Don Porter <dgp@users.sourceforge.net>
1.9435 +
1.9436 + * doc/DString.3:
1.9437 + * doc/Encoding.3:
1.9438 + * doc/GetCwd.3:
1.9439 + * doc/SplitPath.3:
1.9440 + * doc/Translate.3:
1.9441 + * doc/Utf.3:
1.9442 + * generic/tcl.decls:
1.9443 + * generic/tcl.h:
1.9444 + * generic/tclEncoding.c:
1.9445 + * generic/tclEnv.c:
1.9446 + * generic/tclFileName.c:
1.9447 + * generic/tclIOUtil.c:
1.9448 + * generic/tclUtf.c:
1.9449 + * generic/tclUtil.c:
1.9450 + * mac/tclMacInit.c:
1.9451 + * unix/tclUnixFile.c:
1.9452 + * unix/tclUnixInit.c:
1.9453 + * unix/tclUnixPipe.c:
1.9454 + * win/tclWin32Dll.c:
1.9455 + * win/tclWinFCmd.c:
1.9456 + * win/tclWinFile.c:
1.9457 + * win/tclWinInit.c: Partial TIP 27 rollback. Following routines
1.9458 + restored to return (char *): Tcl_DStringAppend,
1.9459 + Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName,
1.9460 + Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString,
1.9461 + Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also
1.9462 + restored Tcl_WinUtfToTChar to return (TCHAR *) and
1.9463 + Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified
1.9464 + some callers. This change recognizes that Tcl_DStrings are
1.9465 + de-facto white-box objects.
1.9466 +
1.9467 + * generic/tclDecls.h:
1.9468 + * generic/tclPlatDecls.h: make genstubs
1.9469 +
1.9470 + * generic/tclCmdMZ.c: corrected use of C++-style comment.
1.9471 +
1.9472 +2002-02-06 Jeff Hobbs <jeffh@ActiveState.com>
1.9473 +
1.9474 + * tests/scan.test:
1.9475 + * generic/tclScan.c (Tcl_ScanObjCmd): corrected scan 0x... %x handling
1.9476 + that didn't accept the 0x as a prelude to a base 16 number. [Bug
1.9477 + 495213]
1.9478 +
1.9479 + * generic/tclCompCmds.c (TclCompileRegexpCmd): made early check
1.9480 + for bad RE to stop checking further.
1.9481 +
1.9482 + * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): added special case to
1.9483 + search for simple 'string map' style regsub calls.
1.9484 + Delayed creation of resultPtr object until an initial match is
1.9485 + made, as the input string object can then be reused for no matches.
1.9486 + (Tcl_StringObjCmd): optimization improvements to the STR_MAP
1.9487 + algorithm for zero-length and nocase cases.
1.9488 +
1.9489 + * tests/regexp.test:
1.9490 + * tests/regexpComp.test: extra code coverage tests.
1.9491 +
1.9492 + * tests/string.test: added 10.18 and 10.19 extra tests.
1.9493 +
1.9494 + * generic/regc_locale.c (casecmp): slight performance improvement.
1.9495 +
1.9496 +2002-02-05 Don Porter <dgp@users.sourceforge.net>
1.9497 +
1.9498 + * library/http/http.tcl:
1.9499 + * library/http/pkgIndex.tcl: Corrected use of http::error when
1.9500 + ::error was intended. Bump to http 2.4.2.
1.9501 +
1.9502 +2002-02-04 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.9503 +
1.9504 + * unix/tclUnixChan.c (FileOutputProc): Fixed [bug 465765] reported by
1.9505 + Dale Talcott <daletalcott@users.sourceforge.net>. Avoid writing
1.9506 + nothing into a file as STREAM based implementations will consider this
1.9507 + a EOF (if the file is a pipe). Not done in the generic layer as this
1.9508 + type of writing is actually useful to check the state of a socket.
1.9509 +
1.9510 + * doc/open.n: Fixed [Bug 511540], added cross-reference to 'pid' as
1.9511 + the command to use to retrieve the pid of a command pipeline created
1.9512 + via 'open'.
1.9513 +
1.9514 +2002-02-01 Jeff Hobbs <jeffh@ActiveState.com>
1.9515 +
1.9516 + * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): handle quirky about case
1.9517 + earlier to avoid shimmering problem.
1.9518 +
1.9519 +2002-02-01 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.9520 +
1.9521 + * tests/io.test: io-39.22 split into two tests, one platform
1.9522 + dependent, the other not. -eofchar is not empty on the windows
1.9523 + platform.
1.9524 +
1.9525 +2002-02-01 Vince Darley <vincentdarley@users.sourceforge.net>
1.9526 +
1.9527 + * generic/tclTest.c: fix to picky windows compiler problem with the
1.9528 + 'MainLoop' function declaration.
1.9529 +
1.9530 +2002-01-31 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.9531 +
1.9532 + * win/tclWinFCmd.c: TIP 27: Applied patch fixing CONST warnings on
1.9533 + behalf of Don Porter <dgp@users.sourceforge.net>.
1.9534 +
1.9535 +2002-01-30 Don Porter <dgp@users.sourceforge.net>
1.9536 +
1.9537 + * generic/tcl.decls:
1.9538 + * generic/tcl.h:
1.9539 + * generic/tclInt.h: For each interface identified in the TIP 27
1.9540 + changes below as a POTENTIAL INCOMPATIBILITY, the source of the
1.9541 + incompatibility has been parameterized so that it can be removed. When
1.9542 + compiling extension code against the Tcl header files, use the
1.9543 + compiler flag -DUSE_NON_CONST to remove the irresolvable source
1.9544 + incompatibilities introduced by the TIP 27 changes. Resolvable changes
1.9545 + are left for extension authors to resolve.
1.9546 + * generic/tclDecls.h: make genstubs
1.9547 +
1.9548 +2002-01-30 Vince Darley <vincentdarley@users.sourceforge.net>
1.9549 +
1.9550 + * doc/FileSystem.3: added documentation for 3 public functions which
1.9551 + had been overlooked. Fixes [Bug 507701]
1.9552 + * unix/mkLinks: make mklinks
1.9553 +
1.9554 +2002-01-29 Jeff Hobbs <jeffh@ActiveState.com>
1.9555 +
1.9556 + * tests/regexpComp.test:
1.9557 + * generic/tclCompCmds.c (TclCompileRegexpCmd): enhanced to support
1.9558 + -nocase and -- options.
1.9559 +
1.9560 +2002-01-28 Mo DeJong <mdejong@users.sourceforge.net>
1.9561 +
1.9562 + * unix/tcl.m4 (SC_LOAD_TCLCONFIG):
1.9563 + * win/tcl.m4 (SC_LOAD_TCLCONFIG): Set TCL_LIB_SPEC, TCL_STUB_LIB_SPEC,
1.9564 + and TCL_STUB_LIB_PATH to the values of TCL_BUILD_LIB_SPEC,
1.9565 + TCL_BUILD_STUB_LIB_SPEC, and TCL_BUILD_STUB_LIB_PATH when tclConfig.sh
1.9566 + is loaded from the build directory. A Tcl extension should make use of
1.9567 + the non-build versions of these variables since they will work in both
1.9568 + cases. This modification was described in TIP #34.
1.9569 +
1.9570 +2002-01-28 Jeff Hobbs <jeffh@ActiveState.com>
1.9571 +
1.9572 + * win/tclWinReg.c (regConnectRegistryProc,RecursiveDeleteKey)
1.9573 + (DeleteKey,GetKeyNames,GetType,GetValue,OpenSubKey,SetValue):
1.9574 + redid the CONSTification as previous changes caused failing tests.
1.9575 +
1.9576 + * tests/regexpComp.test (new):
1.9577 + * generic/tclInt.h:
1.9578 + * generic/tclBasic.c: added TclCompileRegexpCmd entry
1.9579 + * generic/tclCompCmds.c (TclCompileStringCmd): corrected to return
1.9580 + TCL_OUT_LINE_COMPILE instead of TCL_ERROR for parsing errors, so
1.9581 + it only throws the error for runtime compile, in case the user
1.9582 + modifies 'string'.
1.9583 + (TclCompileRegexpCmd): first try at a byte-compiled regexp
1.9584 + command. It handles static strings and ^$ bounded static strings.
1.9585 + (TclCompileAppendCmd): made TclPushVarName call always use
1.9586 + TCL_CREATE_VAR as numWords is always > 2 at that point.
1.9587 +
1.9588 + * generic/tclExecute.c (TclExecuteByteCode:INST_LIST): correct
1.9589 + possibly dangerous decr in macro call.
1.9590 +
1.9591 + * win/tclWinInit.c (TclpFindVariable): CONSTification touch-up
1.9592 +
1.9593 + * win/tclWinReg.c (OpenSubKey): corrected bug introduced in
1.9594 + CONSTification that dropped pointer reference.
1.9595 +
1.9596 + * ChangeLog.2000 (new file):
1.9597 + * ChangeLog: broke changes from 2000 into ChangeLog.2000 to reduce
1.9598 + size of the main ChangeLog.
1.9599 +
1.9600 +2002-01-28 David Gravereaux <davygrvy@pobox.com>
1.9601 +
1.9602 + * generic/tclPlatDecls.h: Added preprocessor logic to force a typedef
1.9603 + of TCHAR when __STDC__ is defined when using the uncommon -Za compiler
1.9604 + switch with the microsoft compiler.
1.9605 +
1.9606 +2002-01-27 Don Porter <dgp@users.sourceforge.net>
1.9607 +
1.9608 + * doc/package.n: Documented global namespace context for script
1.9609 + evaluation by [package require].
1.9610 +
1.9611 +2002-01-27 Daniel Steffen <das@users.sourceforge.net>
1.9612 +
1.9613 + * generic/tclInt.decls:
1.9614 + * generic/tclIntPlatDecls.h:
1.9615 + * mac/tclMacChan.c:
1.9616 + * mac/tclMacFCmd.c:
1.9617 + * mac/tclMacFile.c:
1.9618 + * mac/tclMacInit.c:
1.9619 + * mac/tclMacLoad.c:
1.9620 + * mac/tclMacResource.c:
1.9621 + * mac/tclMacSock.c: TIP 27 CONSTification induced changes
1.9622 +
1.9623 + * tests/event.test:
1.9624 + * tests/main.test: added catches/constraints to test that use features
1.9625 + that don't exist on the mac.
1.9626 +
1.9627 +2002-01-25 Mo DeJong <mdejong@users.sourceforge.net>
1.9628 +
1.9629 + Make -eofchar and -translation options read only for server sockets.
1.9630 + [Bug 496733]
1.9631 +
1.9632 + * generic/tclIO.c (Tcl_GetChannelOption, Tcl_SetChannelOption):
1.9633 + Instead of returning nothing for the -translation option on a server
1.9634 + socket, always return "auto". Return the empty string enclosed in
1.9635 + quotes for the -eofchar option on a server socket. Fixup -eofchar
1.9636 + usage message so that it matches the implementation.
1.9637 + * tests/io.test: Add -eofchar tests and -translation tests to ensure
1.9638 + options are read only on server sockets.
1.9639 + * tests/socket.test: Update tests to account for -eofchar and
1.9640 + -translation option changes.
1.9641 +
1.9642 +2002-01-25 Don Porter <dgp@users.sourceforge.net>
1.9643 +
1.9644 + * compat/strstr.c (strstr):
1.9645 + * generic/tclCmdAH.c (Tcl_FormatObjCmd):
1.9646 + * generic/tclCmdIL.c (InfoNameOfExecutableCmd):
1.9647 + * generic/tclEnv.c (ReplaceString):
1.9648 + * generic/tclFileName.c (ExtractWinRoot):
1.9649 + * generic/tclIO.c (FlushChannel,Tcl_BadChannelOption):
1.9650 + * generic/tclStringObj.c (AppendUnicodeToUtfRep):
1.9651 + * generic/tclThreadTest.c (TclCreateThread):
1.9652 + * generic/tclUtf.c (Tcl_UtfPrev):
1.9653 + * mac/tclMacFCmd.c (TclpObjListVolumes):
1.9654 + * mac/tclMacResource.c (TclMacRegisterResourceFork)
1.9655 + (BuildResourceForkList):
1.9656 + * win/tclWinInit.c (AppendEnvironment): Sought out and eliminated
1.9657 + instances of CONST-casting that are no longer needed after the
1.9658 + TIP 27 effort.
1.9659 +
1.9660 + * Following is [Patch 501006]
1.9661 + * generic/tclInt.decls (Tcl_AddInterpResolvers, Tcl_Export)
1.9662 + (Tcl_FindNamespace, Tcl_GetInterpResolvers, Tcl_ForgetImport)
1.9663 + (Tcl_Import, Tcl_RemoveInterpResolvers):
1.9664 + * generic/tclNamesp.c (Tcl_Export, Tcl_Import, Tcl_ForgetImport)
1.9665 + (Tcl_FindNamespace):
1.9666 + * generic/tclResolve.c (Tcl_AddInterpResolvers,Tcl_GetInterpResolvers,
1.9667 + (Tcl_RemoveInterpResolvers): Updated APIs in generic/tclResolve.c and
1.9668 + generic/tclNamesp.c according to the guidelines of TIP 27.
1.9669 + * generic/tclIntDecls.h: make genstubs
1.9670 +
1.9671 + * Following is [Patch 505630]
1.9672 + * doc/AddErrorInfo.3:
1.9673 + * generic/tcl.decls (Tcl_LogCommandInfo):
1.9674 + * generic/tclBasic.c (Tcl_LogCommandInfo): Updated interfaces
1.9675 + of generic/tclBasic.cc according to TIP 27.
1.9676 + * generic/tclDecls.h: make genstubs
1.9677 +
1.9678 + * Following is [Patch 506818]
1.9679 + * doc/Hash.3:
1.9680 + * generic/tcl.decls (Tcl_HashStats):
1.9681 + * generic/tclHash.c (Tcl_HashStats): Updated APIs of generic/tclHash.c
1.9682 + according to guidelines of TIP 27.
1.9683 + * generic/tclDecls.h: make genstubs
1.9684 + * generic/tclVar.c (Tcl_ArrayObjCmd): Updated callers.
1.9685 +
1.9686 + * Following is [Patch 506807]
1.9687 + * doc/ObjectType.3:
1.9688 + * generic/tcl.decls (Tcl_GetObjType):
1.9689 + * generic/tclObj.c (Tcl_GetObjType): Updated APIs of generic/tclObj.c
1.9690 + according to guidelines of TIP 27.
1.9691 + * generic/tclDecls.h: make genstubs
1.9692 +
1.9693 + * Following is [Patch 507304]
1.9694 + * doc/Encoding.3:
1.9695 + * generic/tcl.decls (Tcl_WinUtfToTChar,Tcl_WinTCharToUtf):
1.9696 + * win/tclWin32Dll.c (Tcl_WinUtfToTChar,Tcl_WinTCharToUtf):
1.9697 + Updated interfaces in win/tclWin32Dll.c according to TIP 27.
1.9698 + * generic/tclPlatDecls.h: make genstubs
1.9699 + * generic/tclIOUtil.c (TclpNativeToNormalized):
1.9700 + * win/tclWinFCmd.c (TclpObjNormalizePath):
1.9701 + * win/tclWinFile.c (TclpFindExecutable,TclpMatchInDirectory)
1.9702 + (NativeIsExec,NativeStat):
1.9703 + * win/tclWinLoad.c (TclpLoadFile):
1.9704 + * win/tclWinPipe.c (TclpOpenFile,ApplicationType):
1.9705 + * win/tclWinReg.c (regConnectRegistryProc,RecursiveDeleteKey,DeleteKey)
1.9706 + (GetKeyNames,GetType,GetValue,OpenSubKey,SetValue):
1.9707 + * win/tclWinSerial.c (SerialSetOptionProc): Update callers.
1.9708 +
1.9709 + * Following is [Patch 505072]
1.9710 + * doc/Concat.3:
1.9711 + * doc/Encoding.3:
1.9712 + * doc/Filesystem.3:
1.9713 + * doc/Macintosh.3:
1.9714 + * doc/OpenFileChnl.3
1.9715 + * doc/SetResult.3:
1.9716 + * doc/SetVar.3:
1.9717 + * doc/SplitList.3:
1.9718 + * doc/SplitPath.3:
1.9719 + * doc/Translate.3:
1.9720 + * generic/tcl.h (Tcl_FSMatchInDirectoryProc):
1.9721 + * generic/tclInt.h (TclpMatchInDirectory):
1.9722 + * generic/tcl.decls (Tcl_Concat,Tcl_GetStringResult,Tcl_GetVar,
1.9723 + (Tcl_GetVar2,Tcl_JoinPath,Tcl_Merge,Tcl_OpenCommandChannel,Tcl_SetVar)
1.9724 + (Tcl_SetVar2,Tcl_SplitList,Tcl_SplitPath,Tcl_TranslateFileName)
1.9725 + (Tcl_ExternalToUtfDString,Tcl_GetEncodingName,Tcl_UtfToExternalDString)
1.9726 + (Tcl_GetDefaultEncodingDir,Tcl_SetDefaultEncodingDir)
1.9727 + (Tcl_FSMatchInDirectory,Tcl_MacEvalResource,Tcl_MacFindResource):
1.9728 + * generic/tclInt.decls (TclCreatePipeline,TclGetEnv,TclpGetCwd,
1.9729 + (TclpCreateProcess):
1.9730 + * mac/tclMacFile.c (TclpGetCwd):
1.9731 + * generic/tclEncoding.c (Tcl_GetDefaultEncodingDir)
1.9732 + (Tcl_SetDefaultEncodingDir,Tcl_GetEncodingName)
1.9733 + (Tcl_ExternalToUtfDString,Tcl_UtfToExternalDString, OpenEncodingFile)
1.9734 + (LoadEscapeEncoding):
1.9735 + * generic/tclFileName.c (DoTildeSubst,Tcl_JoinPath,Tcl_SplitPath,
1.9736 + (Tcl_TranslateFileName):
1.9737 + * generic/tclIOUtil.c (Tcl_FSMatchInDirectory):
1.9738 + * generic/tclPipe.c (FileForRedirect,TclCreatePipeline)
1.9739 + (Tcl_OpenCommandChannel):
1.9740 + * generic/tclResult.c (Tcl_GetStringResult):
1.9741 + * generic/tclUtil.c (Tcl_Concat,Tcl_SplitList,Tcl_Merge):
1.9742 + * generic/tclVar.c (Tcl_GetVar,Tcl_GetVar2,Tcl_SetVar,Tcl_SetVar2):
1.9743 + * mac/tclMacResource.c (Tcl_MacEvalResource,Tcl_MacFindResource):
1.9744 + Updated interfaces of generic/tclEncoding, generic/tclFilename.c,
1.9745 + generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c,
1.9746 + generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according
1.9747 + to TIP 27. Tcl_TranslateFileName rewritten as wrapper around
1.9748 + VFS-aware version.
1.9749 + ***POTENTIAL INCOMPATIBILITY***
1.9750 + Includes source incompatibilities: argv arguments of Tcl_Concat,
1.9751 + Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of
1.9752 + Tcl_SplitList and Tcl_SplitPath.
1.9753 + * generic/tclDecls.h:
1.9754 + * generic/tclIntDecls.h: make genstubs
1.9755 +
1.9756 + * generic/tclCkalloc.c (MemoryCmd):
1.9757 + * generic/tclClock.c (FormatClock):
1.9758 + * generic/tclCmdAH.c (Tcl_CaseObjCmd,Tcl_EncodingObjCmd,Tcl_FileObjCmd):
1.9759 + * generic/tclCmdIL.c (InfoLibraryCmd,InfoPatchLevelCmd,
1.9760 + (InfoTclVersionCmd):
1.9761 + * generic/tclCompCmds.c (TclCompileForeachCmd):
1.9762 + * generic/tclCompCmds.h (TclCompileForeachCmd):
1.9763 + * generic/tclCompile.c (TclFindCompiledLocal):
1.9764 + * generic/tclEnv.c (TclSetupEnv,TclSetEnv,Tcl_PutEnv,TclGetEnv,
1.9765 + (EnvTraceProc):
1.9766 + * generic/tclEvent.c (Tcl_BackgroundError):
1.9767 + * generic/tclIO.c (Tcl_BadChannelOption,Tcl_SetChannelOption):
1.9768 + * generic/tclIOCmd.c (Tcl_ExecObjCmd,Tcl_OpenObjCmd):
1.9769 + * generic/tclIOSock.c (TclSockGetPort):
1.9770 + * generic/tclIOUtil.c (SetFsPathFromAny):
1.9771 + * generic/tclLink.c (LinkTraceProc):
1.9772 + * generic/tclMain.c (Tcl_Main):
1.9773 + * generic/tclNamesp.c (TclTeardownNamespace):
1.9774 + * generic/tclProc.c (TclCreateProc):
1.9775 + * generic/tclTest.c (TestregexpObjCmd,TesttranslatefilenameCmd,
1.9776 + (TestchmodCmd,GetTimesCmd,TestsetCmd,TestOpenFileChannelProc1,
1.9777 + (TestOpenFileChannelProc2,TestOpenFileChannelProc3,AsyncHandlerProc,
1.9778 + (TestpanicCmd):
1.9779 + * generic/tclThreadTest.c (ThreadErrorProc,ThreadEventProc):
1.9780 + * generic/tclUtil.c (TclPrecTraceProc):
1.9781 + * mac/tclMacFCmd.c (GetFileSpecs):
1.9782 + * mac/tclMacFile.c (TclpMatchInDirectory):
1.9783 + * mac/tclMacInit.c (TclpInitLibraryPath,Tcl_SourceRCFile):
1.9784 + * mac/tclMacOSA.c (tclOSAStore,tclOSALoad):
1.9785 + * mac/tclMacResource.c (Tcl_MacEvalResource):
1.9786 + * unix/tclUnixFCmd.c (TclpObjNormalizePath):
1.9787 + * unix/tclUnixFile.c (TclpMatchInDirectory,TclpGetUserHome,TclpGetCwd,
1.9788 + (TclpReadLink):
1.9789 + * unix/tclUnixInit.c (TclpInitLibraryPath,TclpSetVariables,
1.9790 + (Tcl_SourceRCFile):
1.9791 + * unix/tclUnixPipe.c (TclpOpenFile,TclpCreateTempFile,
1.9792 + (TclpCreateProcess):
1.9793 + * win/tclWinFile.c (TclpGetCwd,TclpMatchInDirectory):
1.9794 + * win/tclWinInit.c (TclpInitLibraryPath,Tcl_SourceRCFile,
1.9795 + (TclpSetVariables):
1.9796 + * win/tclWinPipe.c (TclpCreateProcess): Updated callers.
1.9797 +
1.9798 +2002-01-24 Don Porter <dgp@users.sourceforge.net>
1.9799 +
1.9800 + * generic/tclIOUtil.c (SetFsPathFromAny): Corrected tilde-substitution
1.9801 + of pathnames where > 1 separator follows the ~. [Bug 504950]
1.9802 +
1.9803 +2002-01-24 Jeff Hobbs <jeffh@ActiveState.com>
1.9804 +
1.9805 + * library/http/pkgIndex.tcl:
1.9806 + * library/http/http.tcl: don't add port in default case to handle
1.9807 + broken servers. http bumped to 2.4.1 [Bug 504508]
1.9808 +
1.9809 +2002-01-23 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.9810 +
1.9811 + * unix/mkLinks: Regenerated.
1.9812 + * doc/CrtChannel.3:
1.9813 + * doc/ChnlStack.3: Moved documentation for 'Tcl_GetTopChannel' from
1.9814 + 'CrtChannel' to 'ChnlStack'. Added documentation of
1.9815 + 'Tcl_GetStackedChannel'. [Bug 506147] reported by Mark Patton
1.9816 + <msp@users.sourceforge.net>
1.9817 +
1.9818 +2002-01-23 Don Porter <dgp@users.sourceforge.net>
1.9819 +
1.9820 + * win/tclWinFile.c (NativeAccess,NativeStat,NativeIsExec,
1.9821 + (TclpGetUserHome):
1.9822 + * win/tclWinPort.h (TclWinSerialReopen):
1.9823 + * win/tclWinSerial.c (TclWinSerialReopen):
1.9824 + * win/tclWinSock.c (Tcl_OpenTcpServer): Corrections to earlier TIP
1.9825 + #27 changes. Thanks to Andreas Kupries for the feedback.
1.9826 + * generic/tclPlatDecls.h: make genstubs
1.9827 +
1.9828 + * doc/GetHostName.3:
1.9829 + * doc/GetOpnFl.3:
1.9830 + * doc/OpenTcp.3:
1.9831 + * tcl.decls (Tcl_GetHostName,Tcl_GetOpenFile,Tcl_OpenTcpClient,
1.9832 + (Tcl_OpenTclServer):
1.9833 + * mac/tclMacSock.c (CreateSocket,Tcl_OpenTcpClient,Tcl_OpenTcpServer,
1.9834 + (Tcl_GetHostName,GetHostFromString):
1.9835 + * unix/tclUnixChan.c (CreateSocket,CreateSocketAddress,
1.9836 + (Tcl_OpenTcpClient,Tcl_OpenTcpServer,Tcl_GetOpenFile):
1.9837 + * unix/tclUnixSock.c (Tcl_GetHostName):
1.9838 + * win/tclWinSock.c (CreateSocket,CreateSocketAddress,
1.9839 + (Tcl_OpenTcpClient,Tcl_OpenTcpServer,Tcl_GetHostName):
1.9840 + Updated socket interfaces according to TIP 27.
1.9841 + * generic/tclCmdIL.c (InfoHostnameCmd): Updated callers.
1.9842 + * generic/tclDecls.h: make genstubs
1.9843 +
1.9844 +2002-01-21 David Gravereaux <davygrvy@pobox.com>
1.9845 +
1.9846 + * generic/tclLoadNone.c: TclpLoadFile() didn't match proto of typedef
1.9847 + Tcl_FSLoadFileProc. OK'd by vincentdarley. [Patch 502488]
1.9848 +
1.9849 +2002-01-21 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.9850 +
1.9851 + * generic/tclIO.c (WriteChars): Fix for [Bug 506297], reported by
1.9852 + Martin Forssen <ruric@users.sourceforge.net>. The encoding chosen in
1.9853 + the script exposing the bug writes out three intro characters when
1.9854 + TCL_ENCODING_START is set, but does not consume any input as
1.9855 + TCL_ENCODING_END is cleared. As some output was generated the
1.9856 + enclosing loop calls UtfToExternal again, again with START set. Three
1.9857 + more characters in the out and still no use of input ... To break this
1.9858 + infinite loop we remove TCL_ENCODING_START from the set of flags after
1.9859 + the first call (no condition is required, the later calls remove an
1.9860 + unset flag, which is a no-op). This causes the subsequent calls to
1.9861 + UtfToExternal to consume and convert the actual input.
1.9862 +
1.9863 +2002-01-21 Don Porter <dgp@users.sourceforge.net>
1.9864 +
1.9865 + * generic/tclTest.c: Converted declarations of TestReport file system
1.9866 + to more portable form. [Bug 501417].
1.9867 +
1.9868 + * generic/tcl.decls (Tcl_TraceCommand,Tcl_UntraceCommand,
1.9869 + (Tcl_CommandTraceInfo):
1.9870 + * generic/tclCmdMZ.c (Tcl_TraceCommand,Tcl_UntraceCommand,
1.9871 + (Tcl_CommandTraceInfo): Updated APIs in generic/tclCmdMZ.c
1.9872 + according to the guidelines of TIP 27.
1.9873 + * generic/tclDecls.h: make genstubs
1.9874 +
1.9875 +2002-01-18 Don Porter <dgp@users.sourceforge.net>
1.9876 +
1.9877 + * win/tclWinChan.c:
1.9878 + * win/tclWinFCmd.c:
1.9879 + * win/tclWinFile.c: Overlooked callers of Tcl_FSGetNativePath
1.9880 +
1.9881 + * win/tclWinDde.c:
1.9882 + * win/tclWinReg.c: Overlooked callers of Tcl_GetIndexFromObj
1.9883 +
1.9884 +2002-01-18 Daniel Steffen <das@users.sourceforge.net>
1.9885 +
1.9886 + * generic/tclThreadTest.c:
1.9887 + * mac/tclMacChan.c:
1.9888 + * mac/tclMacFCmd.c:
1.9889 + * mac/tclMacFile.c:
1.9890 + * mac/tclMacLoad.c:
1.9891 + * mac/tclMacResource.c: TIP 27 CONSTification broke the mac build in a
1.9892 + number of places.
1.9893 +
1.9894 +2002-01-17 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.9895 +
1.9896 + * generic/tclIOCmd.c (Tcl_GetsObjCmd): Fixed [Bug 504642] as reported
1.9897 + by Brian Griffin <bgriffin@users.sourceforge.net>, using his patch.
1.9898 + Before the patch the generic I/O layer held an unannounced reference
1.9899 + to the interp result to store the read line into. This unfortunately
1.9900 + has disastrous results if the channel driver executes a Tcl script to
1.9901 + perform its operation, this freeing the interp result. In that case we
1.9902 + are dereferencing essentially a dangling reference. It is not truly
1.9903 + dangling because the object is in the free list, but this only causes
1.9904 + us to smash the free list and have the error occur later somewhere
1.9905 + else. The patch simply creates a new object for the line and later
1.9906 + sets it into the interp result when we are done with reading.
1.9907 +
1.9908 +2002-01-16 Mo DeJong <mdejong@users.sourceforge.net>
1.9909 +
1.9910 + * unix/tcl.m4 (SC_LOAD_TCLCONFIG):
1.9911 + * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst TCL_DBGX into
1.9912 + TCL_STUB_LIB_FILE and TCL_STUB_LIB_FLAG variables so that an extension
1.9913 + does not need to subst TCL_DBGX into its makefile. [Tk Bug 504356]
1.9914 +
1.9915 +2002-01-16 Don Porter <dgp@users.sourceforge.net>
1.9916 +
1.9917 + * doc/FileSystem.3:
1.9918 + * doc/GetCwd.3:
1.9919 + * doc/GetIndex.3:
1.9920 + * generic/tcl.decls (Tcl_GetIndexFromObj, Tcl_GetIndexFromObjStruct,
1.9921 + (Tcl_GetCwd, Tcl_FSFileAttrStrings, Tcl_FSGetNativePath,
1.9922 + (Tcl_FSGetTranslatedStringPath):
1.9923 + * generic/tcl.h (Tcl_FSFileAttrStringsProc):
1.9924 + * generic/tclFCmd.c (TclFileAttrsCmd):
1.9925 + * generic/tclIOUtil.c (Tcl_GetCwd,NativeFileAttrStrings,
1.9926 + (Tcl_FSFileAttrStrings,Tcl_FSGetTranslatedStringPath,
1.9927 + (Tcl_FSGetNativePath):
1.9928 + * generic/tclIndexObj.c (Tcl_GetIndexFromObj,Tcl_GetIndexFromObjStruct):
1.9929 + More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that were
1.9930 + overlooked before. [Patch 504671]
1.9931 + ***POTENTIAL INCOMPATIBILITY***
1.9932 + Includes a source incompatibility in the tablePtr arguments of the
1.9933 + Tcl_GetIndexFromObj* routines.
1.9934 + * generic/tclDecls.h: make genstubs
1.9935 +
1.9936 + * generic/tclBinary.c (Tcl_BinaryObjCmd):
1.9937 + * generic/tclClock.c (Tcl_ClockObjCmd):
1.9938 + * generic/tclCmdAH.c (Tcl_EncodingObjCmd, Tcl_FileObjCmd):
1.9939 + * generic/tclCmdIL.c (Tcl_InfoObjCmd,Tcl_LsearchObjCmd,Tcl_LsortObjCmd):
1.9940 + * generic/tclCmdMZ.c (Tcl_TraceObjCmd,Tcl_RegexpObjCmd,Tcl_RegsubObjCmd,
1.9941 + (Tcl_StringObjCmd,Tcl_SubstObjCmd,Tcl_SwitchObjCmd,
1.9942 + (TclTraceCommandObjCmd,TclTraceVariableObjCmd):
1.9943 + * generic/tclCompCmds.c (TclCompileStringCmd):
1.9944 + * generic/tclEvent.c (Tcl_UpdateObjCmd):
1.9945 + * generic/tclFileName.c (Tcl_GlobObjCmd):
1.9946 + * generic/tclIO.c (Tcl_FileEventObjCmd):
1.9947 + * generic/tclIOCmd.c (Tcl_SeekObjCmd,Tcl_ExecObjCmd,Tcl_SocketObjCmd,
1.9948 + (Tcl_FcopyObjCmd):
1.9949 + * generic/tclInterp.c (Tcl_InterpObjCmd,SlaveObjCmd):
1.9950 + * generic/tclNamesp.c (Tcl_NamespaceObjCmd):
1.9951 + * generic/tclPkg.c (Tcl_PackageObjCmd):
1.9952 + * generic/tclTest.c (Tcltest_Init,TestencodingObjCmd,TestgetplatformCmd,
1.9953 + (TestlocaleCmd,TestregexpObjCmd,TestsaveresultCmd,
1.9954 + (TestGetIndexFromObjStructObjCmd,TestReportFileAttrStrings):
1.9955 + * generic/tclTestObj.c (TestindexObjCmd,TeststringObjCmd):
1.9956 + * generic/tclTimer.c (Tcl_AfterObjCmd):
1.9957 + * generic/tclVar.c (Tcl_ArrayObjCmd):
1.9958 + * mac/tclMacFCmd.c (SetFileFinderAttributes):
1.9959 + * unix/tclUnixChan.c (TclpOpenFileChannel):
1.9960 + * unix/tclUnixFCmd.c (tclpFileAttrStrings):
1.9961 + * unix/tclUnixFile.c (TclpObjAccess,TclpObjChdir,TclpObjStat,
1.9962 + (TclpObjLstat):
1.9963 + * win/tclWinFCmd.c (tclpFileAttrStrings): Updated callers.
1.9964 +
1.9965 + * doc/RegExp.3:
1.9966 + * doc/Utf.3:
1.9967 + * generic/tcl.decls:
1.9968 + * generic/tclInt.decls:
1.9969 + * generic/tclRegexp.c:
1.9970 + * generic/tclUtf.c: Updated APIs in generic/tclUtf.c and
1.9971 + generic/tclRegexp.c according to the guidelines of TIP 27.
1.9972 + [Patch 471509]
1.9973 +
1.9974 + * generic/regc_locale.c (element,cclass):
1.9975 + * generic/tclCmdMZ.c (Tcl_StringObjCmd):
1.9976 + * generic/tclFileName.c (TclpGetNativePathType,SplitMacPath):
1.9977 + * generic/tclIO.c (ReadChars):
1.9978 + * mac/tclMacLoad.c (TclpLoadFile):
1.9979 + * win/tclWinFile.c (TclpGetUserHome): Updated callers.
1.9980 +
1.9981 + * generic/tclDecls.h:
1.9982 + * generic/tclIntDecls.h: make genstubs
1.9983 +
1.9984 + * doc/ParseCmd.3 (Tcl_ParseVar):
1.9985 + * generic/tcl.decls (Tcl_ParseVar):
1.9986 + * generic/tclParse.c (Tcl_ParseVar):
1.9987 + * generic/tclTest.c (TestparsevarObjCmd): Updated APIs in
1.9988 + generic/tclParse.c according to the guidelines of TIP 27. Updated
1.9989 + callers. [Patch 501046]
1.9990 + * generic/tclDecls.h: make genstubs
1.9991 +
1.9992 + * generic/tcl.decls (Tcl_RecordAndEval):
1.9993 + * generic/tclDecls.h: make genstubs
1.9994 + * generic/tclHistory.c (Tcl_RecordAndEval): Updated APIs in
1.9995 + generic/tclHistory.c according to the guidelines of TIP 27.
1.9996 + [Patch 504091]
1.9997 +
1.9998 + * doc/CrtSlave.3:
1.9999 + * generic/tcl.decls (Tcl_CreateAlias, Tcl_CreateAliasObj,
1.10000 + (Tcl_CreateSlave, Tcl_GetAlias, Tcl_GetAliasObj, Tcl_GetSlave):
1.10001 + * generic/tclInterp.c (Tcl_CreateAlias, Tcl_CreateAliasObj,
1.10002 + (Tcl_CreateSlave, Tcl_GetAlias, Tcl_GetAliasObj, Tcl_GetSlave):
1.10003 + Updated APIs in the file generic/tclInterp.c according to the
1.10004 + guidelines of TIP 27. [Patch 501371]
1.10005 + ***POTENTIAL INCOMPATIBILITY***
1.10006 + Includes a source incompatibility in the targetCmdPtr arguments of
1.10007 + the Tcl_GetAlias* routines.
1.10008 +
1.10009 + * generic/tclDecls.h: make genstubs
1.10010 +
1.10011 +2002-01-15 Don Porter <dgp@users.sourceforge.net>
1.10012 +
1.10013 + * doc/SetErrno.3 (Tcl_ErrnoMsg): Corrected documentation for
1.10014 + Tcl_ErrnoMsg; it takes an integer argument. Thanks to Georgios
1.10015 + Petasis. [Bug 468183]
1.10016 +
1.10017 + * doc/AddErrInfo.3 (Tcl_PosixError):
1.10018 + * doc/Eval.3 (Tcl_EvalFile):
1.10019 + * doc/FileSystem.c (Tcl_FSOpenFileChannel,Tcl_FSOpenFileChannelProc):
1.10020 + * doc/OpenFileChnl.3 (Tcl_OpenFileChannel):
1.10021 + * doc/SetErrno.3 (Tcl_ErrnoId,Tcl_ErrnoMsg):
1.10022 + * doc/Signal.3 (Tcl_SignalId,Tcl_SignalMsg):
1.10023 + * generic/tcl.decls (Tcl_ErrnoId,TclErrnoMsg,Tcl_EvalFile,
1.10024 + (Tcl_OpenFileChannel,Tcl_PosixError,Tcl_SignalId,Tcl_SignalMsg,
1.10025 + (Tcl_FSOpenFileChannel):
1.10026 + * generic/tcl.h (Tcl_FSOpenFileChannelProc):
1.10027 + * generic/tclIO.c (FlushChannel):
1.10028 + * generic/tclIOUtil.c (Tcl_OpenFileChannel,Tcl_EvalFile,TclGetOpenMode,
1.10029 + (Tcl_PosixError,Tcl_FSOpenFileChannel):
1.10030 + * generic/tclInt.decls (TclGetOpenMode):
1.10031 + * generic/tclInt.h (TclOpenFileChannelProc_,TclGetOpenMode,
1.10032 + (TclpOpenFileChannel):
1.10033 + * generic/tclPipe.c (TclCleanupChildren):
1.10034 + * generic/tclPosixStr.c (Tcl_ErrnoId,Tcl_ErrnoMsg,Tcl_SignalId,
1.10035 + (Tcl_SignalMsg):
1.10036 + * generic.tclTest.c (PretendTclpOpenFileChannel,
1.10037 + (TestOpenFileChannelProc1,TestOpenFileChannelProc2,
1.10038 + (TestOpenFileChannelProc3,TestReportOpenFileChannel):
1.10039 + * mac/tclMacChan.c (TclpOpenFileChannel):
1.10040 + * unix/tclUnixChan.c (TclpOpenFileChannel):
1.10041 + * win/tclWinChan.c (TclpOpenFileChannel): Updated APIs in
1.10042 + generic/tclIOUtil.c and generic/tclPosixStr.c according to the
1.10043 + guidelines of TIP 27. Updated callers. [Patch 499196]
1.10044 +
1.10045 + * generic/tclDecls.h:
1.10046 + * generic/tclIntDecls.h: make genstubs
1.10047 +
1.10048 + * doc/CrtChannel.3:
1.10049 + * doc/OpenFileChnl.3:
1.10050 + * generic/tcl.decls:
1.10051 + * generic/tclIO.h:
1.10052 + * generic/tclIO.c (DoWrite, Tcl_RegisterChannel, Tcl_GetChannel,
1.10053 + (Tcl_CreateChannel, Tcl_GetChannelName, CloseChannel, Tcl_Write,
1.10054 + (Tcl_WriteRaw, Tcl_Ungets, Tcl_BadChannelOption, Tcl_GetChannelOption,
1.10055 + (Tcl_SetChannelOption, Tcl_GetChannelNamesEx, Tcl_ChannelName):
1.10056 + Updated APIs in the file generic/tclIO.c according to the guidelines
1.10057 + of TIP 27. Several minor documentation corrections as well. [Patch
1.10058 + 503565]
1.10059 + * generic/tclDecls.h: make genstubs
1.10060 +
1.10061 + * generic/tcl.h (Tcl_DriverOutputProc, Tcl_DriverGetOptionProc,
1.10062 + (Tcl_DriverSetOptionProc):
1.10063 + * generic/tclIOGT.c (TransformOutputProc, TransformGetOptionProc,
1.10064 + (TransformSetOptionProc):
1.10065 + * mac/tclMacChan.c (FileOutput, StdIOOutput):
1.10066 + * man/tclMacSock.c (TcpGetOptionProc, TcpOutput):
1.10067 + * unix/tclUnixChan.c (FileOutputProc, TcpGetOptionProc, TcpOutputProc,
1.10068 + (TtyGetOptionProc, TtySetOptionProc):
1.10069 + * unix/tclUnixPipe.c (PipeOuputProc):
1.10070 + * win/tclWinChan.c (FileOutputProc):
1.10071 + * win/tclWinConsole.c (ConsleOutputProc):
1.10072 + * win/tclWinPipe.c (PipeOuputProc):
1.10073 + * win/tclWinSerial.c (SerialOutputProc, SerialGetOptionProc,
1.10074 + (SerialSetOptionProc):
1.10075 + * win/tclWinSock.c (TcpGetOptionProc, TcpOutput): Updated channel
1.10076 + driver interface according to the guidelines of TIP 27. See also [Bug
1.10077 + 500348].
1.10078 +
1.10079 + * doc/CrtChannel.3:
1.10080 + * generic/tcl.h:
1.10081 + * generic/tclIO.c:
1.10082 + * generic/tclIO.h:
1.10083 + * generic/tclInt.h:
1.10084 + * tools/checkLibraryDoc.tcl:
1.10085 + Moved Tcl_EolTranslation enum declaration from generic/tcl.h to
1.10086 + generic/tclInt.h (renamed to TclEolTranslation). It is not used
1.10087 + anywhere in Tcl's public interface.
1.10088 +
1.10089 +2002-01-14 Don Porter <dgp@users.sourceforge.net>
1.10090 +
1.10091 + * doc/GetIndex.3:
1.10092 + * doc/WrongNumArgs.3:
1.10093 + * generic/tcl.decls (Tcl_GetIndexFromObj, Tcl_GetIndexFromObjStruct,
1.10094 + (Tcl_WrongNumArgs):
1.10095 + * generic/tclIndexObj.c (Tcl_GetIndexFromObj, Tcl_GetIndexFromObjStruct,
1.10096 + (Tcl_WrongNumArgs): Updated APIs in the file generic/tclIndexObj.c
1.10097 + according to the guidelines of TIP 27. [Patch 501491]
1.10098 + * generic/tclDecls.h: make genstubs
1.10099 +
1.10100 +2002-01-11 Mo DeJong <mdejong@users.sourceforge.net>
1.10101 +
1.10102 + * unix/configure: Regen.
1.10103 + * unix/configure.in:
1.10104 + * win/configure: Regen.
1.10105 + * win/configure.in: Use ${libdir} instead of ${exec_prefix}/lib
1.10106 + to properly support the --libdir option to configure. [Bug 489370]
1.10107 +
1.10108 +2002-01-11 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.10109 +
1.10110 + * win/tclWinSerial.c (SerialSetOptionProc): Applied patch for [Bug
1.10111 + 500348] supplied by Rolf Schroedter <schroedter@users.sf.net>. The
1.10112 + function modified the contents of the the 'value' string and now does
1.10113 + not do this anymore. This is a followup to the change made on
1.10114 + 2001-12-17.
1.10115 +
1.10116 +2002-01-11 David Gravereaux <davygrvy@pobox.com>
1.10117 +
1.10118 + * win/makefile.vc: Removed -GD compiler option. It was intended for
1.10119 + future use, but MS is again changing the future at their whim. The
1.10120 + D4002 warning was harmless though, but someone using VC .NET logged it
1.10121 + as a concern. [Bug 501565]
1.10122 +
1.10123 +2002-01-11 Mo DeJong <mdejong@users.sourceforge.net>
1.10124 +
1.10125 + * unix/Makefile.in: Burn Tcl build directory into tcltest executable
1.10126 + to avoid crashes caused by ld loading a previously installed version
1.10127 + of the tcl shared library. [Bug 218110]
1.10128 +
1.10129 +2002-01-10 Don Porter <dgp@users.sourceforge.net>,
1.10130 + Kevin Kenny <kennykb@users.sourceforge.net>
1.10131 +
1.10132 + * unix/tclLoadDld.c (TclpLoadFile): syntax error: unbalanced parens.
1.10133 + Kevin notes that it's far from clear that this file is ever included
1.10134 + in an actual build; Linux without dlopen appears to be a nonexistent
1.10135 + configuration.
1.10136 +
1.10137 +2002-01-08 Don Porter <dgp@users.sourceforge.net>,
1.10138 + Kevin Kenny <kennykb@users.sourceforge.net>
1.10139 +
1.10140 + * doc/StaticPkg.3 (Tcl_StaticPackage):
1.10141 + * generic/tcl.decls (Tcl_StaticPackage):
1.10142 + * generic/tclDecls.h (Tcl_StaticPackage):
1.10143 + * generic/tclInt.decls (TclGuessPackageName):
1.10144 + * generic/tclInt.h (TclGuessPackageName):
1.10145 + * generic/tclLoad.c (Tcl_StaticPackage):
1.10146 + * generic/tclLoadNone.c (TclGuessPackageName):
1.10147 + * mac/tclMacLoad.c (TclGuessPackageName):
1.10148 + * unix/tclLoadAout.c (TclGuessPackageName):
1.10149 + * unix/tclLoadDl.c (TclGuessPackageName):
1.10150 + * unix/tclLoadDld.c (TclGuessPackageName):
1.10151 + * unix/tclLoadDyld.c (TclGuessPackageName):
1.10152 + * unix/tclLoadNext.c (TclGuessPackageName):
1.10153 + * unix/tclLoadOSF.c (TclGuessPackageName):
1.10154 + * unix/tclLoadShl.c (TclGuessPackageName):
1.10155 + * win/tclWinLoad.c (TclGuessPackageName): Updated APIs in the files
1.10156 + */tcl*Load*.c according to the guidelines of TIP 27. [Patch 501096]
1.10157 +
1.10158 +2002-01-09 Don Porter <dgp@users.sourceforge.net>
1.10159 +
1.10160 + * generic/tclTest.c (MainLoop):
1.10161 + * tests/main.test (Tcl_Main-1.{3,4,5,6}): Corrected some non-portable
1.10162 + tests from the new Tcl_Main changes. Thanks to Kevin Kenny.
1.10163 +
1.10164 +2002-01-07 Don Porter <dgp@users.sourceforge.net>
1.10165 +
1.10166 + * generic/tclEvent.c (TclInExit):
1.10167 + * generic/tclIOUtil.c (SetFsPathFromAbsoluteNormalized,
1.10168 + (SetFsPathFromAny,Tcl_FSNewNativePath,DupFsPathInternalRep):
1.10169 + * generic/tclListObj.c (TclLsetList,TclLsetFlat): Added some type
1.10170 + casts to satisfy picky compilers.
1.10171 +
1.10172 + * generic/tclMain.c: Bug fix: neglected the NULL case in
1.10173 + TclGetStartupScriptFileName(). Broke Tk/wish.
1.10174 +
1.10175 +2002-01-05 Don Porter <dgp@users.sourceforge.net>
1.10176 +
1.10177 + * doc/Tcl_Main.3:
1.10178 + * generic/tclMain.c: Substantial rewrite and expanded documentation
1.10179 + of Tcl_Main to correct a number of bugs and flaws:
1.10180 +
1.10181 + * Interactive Tcl_Main can now enter a main loop, exit that
1.10182 + loop and continue interactive operations. The loop may even
1.10183 + exit in the midst of interactive command typing without loss
1.10184 + of the partial command. [Bugs 486453, 474131]
1.10185 + * Tcl_Main now gracefully handles deletion of its master
1.10186 + interpreter.
1.10187 + * Interactive Tcl_Main can now operate with non-blocking stdin
1.10188 + * Interactive Tcl_Main can now detect EOF on stdin even in
1.10189 + mid-command. [Bug 491341]
1.10190 + * Added VFS-aware internal routines for managing the startup
1.10191 + script selection.
1.10192 + * Tcl variable 'tcl_interactive' is now linked to C variable
1.10193 + 'tty' so that one can disable/enable interactive prompts at
1.10194 + the script level when there is no startup script. This is
1.10195 + meant for use by the test suite.
1.10196 + * Consistent use of the Tcl libraries standard channels as
1.10197 + returned by Tcl_GetStdChannel(); as opposed to the channels
1.10198 + named 'stdin', 'stdout', and 'stderr' in the master interp,
1.10199 + which can be different or unavailable.
1.10200 + * Tcl_Main now calls Tcl_Exit() if evaluation of [exit] in the
1.10201 + master interpreter returns, assuring Tcl_Main does not
1.10202 + return.
1.10203 + * Documented Tcl_Main's absence from public stub table
1.10204 + * Documented that Tcl_Main does not return.
1.10205 + * Documented Tcl variables set by Tcl_Main.
1.10206 + * All prompts are done from a single procedure, Prompt.
1.10207 + * Use of Tcl_Obj-enabled interfaces everywhere.
1.10208 +
1.10209 + * generic/tclInt.decls (TclGetStartupScriptPath,
1.10210 + (TclSetStartupScriptPath): New internal VFS-aware routines for
1.10211 + managing the startup script of Tcl_Main.
1.10212 + * generic/tclIntDecls.h:
1.10213 + * generic/tclStubInit.c: make genstubs
1.10214 +
1.10215 + * generic/tclTest.c (TestsetmainloopCmd,TestexitmainloopCmd,
1.10216 + (Tcltest_Init,TestinterpdeleteCmd):
1.10217 + * tests/main.test (new): Added new file to test suite that thoroughly
1.10218 + tests generic/tclMain.c; added some new test commands for testing
1.10219 + Tcl_SetMainLoop().
1.10220 +
1.10221 +2002-01-04 Don Porter <dgp@users.sourceforge.net>
1.10222 +
1.10223 + * doc/Alloc.3:
1.10224 + * doc/Concat.3:
1.10225 + * doc/CrtMathFnc.3:
1.10226 + * doc/Hash.3:
1.10227 + * doc/Interp.3:
1.10228 + * doc/LinkVar.3:
1.10229 + * doc/ObjectType.3:
1.10230 + * doc/PkgRequire.3:
1.10231 + * doc/Preserve.3:
1.10232 + * doc/SetResult.3:
1.10233 + * doc/SplitList.3:
1.10234 + * doc/SplitPath.3:
1.10235 + * doc/TCL_MEM_DEBUG.3: Updated documentation to describe the ckalloc,
1.10236 + ckfree, ckrealloc, attemptckalloc, and attemptckrealloc macros, and to
1.10237 + accurately describe when and how they are used. [Bug 497459]
1.10238 +
1.10239 + * generic/tclThreadJoin.c (TclRememberJoinableThread,TclJoinThread):
1.10240 + Replaced Tcl_Alloc and Tcl_Free calls with ckalloc and ckfree so that
1.10241 + memory debugging is supported.
1.10242 +
1.10243 +2002-01-04 Daniel Steffen <das@users.sourceforge.net>
1.10244 +
1.10245 + * mac/tclMacTime.c (TclpGetTZName): fix for daylight savings TZName
1.10246 + bug
1.10247 +
1.10248 +2002-01-03 Don Porter <dgp@users.sourceforge.net>
1.10249 +
1.10250 + * doc/FileSystem.3:
1.10251 + * generic/tclIOUtil.c: Updated some old uses of "fileName" to new VFS
1.10252 + terminology, "pathPtr".
1.10253 +
1.10254 +2002-01-03 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.10255 +
1.10256 + * tests/basic.test (basic-39.4): Greatly simplified test while still
1.10257 + leaving it so that it crashes when run without the fix to the
1.10258 + [foreach] implementation.
1.10259 + * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Stopped [Bug 494348] from
1.10260 + happening by not trying to be so clever with cacheing; if nothing
1.10261 + untoward is happening anyway, the less efficient technique will only
1.10262 + add a few instruction cycles (one function call and a few
1.10263 + derefs/assigns per list per iteration, with no change in the number of
1.10264 + tests) and if something odd *is* going on, the code is now far more
1.10265 + robust.
1.10266 +
1.10267 + * tests/basic.test (basic-39.4): Reproducable script from [Bug 494348]
1.10268 +
1.10269 +2002-01-02 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.10270 +
1.10271 + * tests/util.test (Wrapper_Tcl_StringMatch,util-5.*): Rewrote so the
1.10272 + test is performed with the right internal function since [string
1.10273 + match] no longer uses Tcl_StringCaseMatch internally.
1.10274 +
1.10275 + * tests/string.test (string-11.51):
1.10276 + * generic/tclUtf.c (Tcl_UniCharCaseMatch):
1.10277 + * generic/tclUtil.c (Tcl_StringCaseMatch): Fault with matching
1.10278 + case-insensitive non-ASCII patterns containing upper case characters.
1.10279 + [Bug 233257]
1.10280 +
1.10281 + ******************************************************************
1.10282 + *** CHANGELOG ENTRIES FOR 2001 IN "ChangeLog.2001" ***
1.10283 + *** CHANGELOG ENTRIES FOR 2000 IN "ChangeLog.2000" ***
1.10284 + *** CHANGELOG ENTRIES FOR 1999 AND EARLIER IN "ChangeLog.1999" ***
1.10285 + ******************************************************************