os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/ChangeLog.1999
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/ChangeLog.1999 Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,2698 @@
1.4 +1999-12-22 Jeff Hobbs <hobbs@scriptics.com>
1.5 +
1.6 + * changes: updated changes file
1.7 + * tools/tclSplash.bmp: updated to show 8.3
1.8 +
1.9 +1999-12-21 Jeff Hobbs <hobbs@scriptics.com>
1.10 +
1.11 + * README:
1.12 + * generic/tcl.h:
1.13 + * mac/README:
1.14 + * unix/configure.in:
1.15 + * tools/tcl.wse.in:
1.16 + * win/README.binary:
1.17 + * win/configure.in: updated to patch level 8.3b1
1.18 +
1.19 + * unix/Makefile.in: added -srcdir=... for 'make html'
1.20 +
1.21 + * doc/Hash.3: fixed reference to ckfree [Bug: 3912]
1.22 + * doc/RegExp.3: fixed calling params for Tcl_RegExecFromObj
1.23 + * doc/open.n: fixed minor formatting errors
1.24 + * doc/string.n: fixed minor formatting errors
1.25 +
1.26 + * doc/lsort.n: added -unique docs
1.27 + * tests/cmdIL.test:
1.28 + * generic/tclCmdIL.c: added -unique option to lsort
1.29 +
1.30 + * generic/tclThreadTest.c: changed thread ids to longs [Bug: 3902]
1.31 +
1.32 + * mac/tclMacOSA.c: fixed applescript for I18N [Bug: 3644]
1.33 +
1.34 + * win/mkd.bat:
1.35 + * win/rmd.bat: removed necessity of tag.txt [Bug: 3874]
1.36 +
1.37 + * win/tclWinThrd.c: changed CreateThread to _beginthreadex and
1.38 + ExitThread to _endthreadex
1.39 +
1.40 +1999-12-12 Jeff Hobbs <hobbs@scriptics.com>
1.41 +
1.42 + * doc/glob.n:
1.43 + * tests/fileName.test:
1.44 + * generic/tclInt.decls:
1.45 + * generic/tclInt.h:
1.46 + * generic/tclIntDecls.h:
1.47 + * generic/tclStubInit.c:
1.48 + * generic/tclEncoding.c:
1.49 + * generic/tclFileName.c:
1.50 + * mac/tclMacFile.c:
1.51 + * unix/tclUnixFile.c:
1.52 + * win/tclWinFile.c: enhanced the glob command with the new options
1.53 + -types -path -directory and -join. Deprecated TclpMatchFiles with
1.54 + TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added
1.55 + GlobTypeData structure. [Bug: 2363]
1.56 +
1.57 +1999-12-10 Jeff Hobbs <hobbs@scriptics.com>
1.58 +
1.59 + * tests/var.test:
1.60 + * generic/tclCompile.c: fixed problem where setting to {} array
1.61 + would intermittently not work. (Fontaine) [Bug: 3339]
1.62 +
1.63 + * generic/tclCmdMZ.c:
1.64 + * generic/tclExecute.c: optimized INST_TRY_CVT_TO_NUMERIC to
1.65 + recognize boolean objects. (Spjuth) [Bug: 2815]
1.66 +
1.67 + * tests/info.test:
1.68 + * tests/parseOld.test:
1.69 + * generic/tclCmdAH.c:
1.70 + * generic/tclProc.c: changed Tcl_UplevelObjCmd (uplevel) and
1.71 + Tcl_EvalObjCmd (eval) to use TCL_EVAL_DIRECT in the single arg
1.72 + case as well, to take advantage of potential pure list input
1.73 + optimization. This means that it won't get byte compiled though,
1.74 + which should be acceptable.
1.75 + * generic/tclBasic.c: made Tcl_EvalObjEx pure list object aware in
1.76 + the TCL_EVAL_DIRECT case for efficiency.
1.77 + * generic/tclUtil.c: made Tcl_ConcatObj pure list object aware,
1.78 + and return a list object in that case [Bug: 2098 2257]
1.79 +
1.80 + * generic/tclMain.c: changed Tcl_Main to not constantly reuse the
1.81 + commandPtr object (interactive case) as it could be shared. (Fellows)
1.82 +
1.83 + * unix/configure.in:
1.84 + * unix/tcl.m4:
1.85 + * unix/tclUnixPipe.c: removed checking for compatible vfork
1.86 + function and use of the vfork function. Modern VM systems rarely
1.87 + suffer any performance degradation when fork is used, and it
1.88 + solves multiple problems with vfork. Users that still want vfork
1.89 + can add -Dfork=vfork to the compile flags. [Bug: 942 2228 1312]
1.90 +
1.91 +1999-12-09 Jeff Hobbs <hobbs@scriptics.com>
1.92 +
1.93 + * win/aclocal.m4: made it just include tcl.m4
1.94 +
1.95 + * doc/exec.n:
1.96 + * doc/open.n:
1.97 + * win/tclWin32Dll.c:
1.98 + * win/tclWinChan.c:
1.99 + * win/tclWinFCmd.c:
1.100 + * win/tclWinInit.c:
1.101 + * win/tclWinPipe.c:
1.102 + * win/tclWinSock.c: removed all code that supported Win32s. It
1.103 + was no longer officially supported, and likely didn't work anyway.
1.104 + * win/makefile.vc: removed 16 bit stuff, cleaned up.
1.105 +
1.106 + * win/tcl16.rc:
1.107 + * win/tclWin16.c:
1.108 + * win/winDumpExts.c: these files have been removed from the
1.109 + source tree (no longer necessary to build)
1.110 +
1.111 +1999-12-07 Jeff Hobbs <hobbs@scriptics.com>
1.112 +
1.113 + * tests/io.test: removed 'knownBug' tests that were for
1.114 + unsupported0, which is now fcopy (that already has tests)
1.115 +
1.116 + * mac/tclMacPort.h: added utime.h include
1.117 +
1.118 + * generic/tclDate.c:
1.119 + * unix/Makefile.in: fixed make gendate to swap const with CONST
1.120 + so it uses the Tcl defined CONST type [Bug: 3521]
1.121 +
1.122 + * generic/tclIO.c: removed panic that could occur in FlushChannel
1.123 + when a "blocking" channel would receive EAGAIN, instead treating
1.124 + it the same as non-blocking. [Bug: 3773]
1.125 +
1.126 + * generic/tclUtil.c: fixed Tcl_ScanCountedElement to not step
1.127 + beyond the end of the counted string [Bug: 3336]
1.128 +
1.129 +1999-12-03 Jeff Hobbs <hobbs@scriptics.com>
1.130 +
1.131 + * doc/load.n: added note about NT's buggy handling of './' with
1.132 + LoadLibrary
1.133 +
1.134 + * library/http2.1/http.tcl: fixed error handling in http::Event
1.135 + [Bug: 3752]
1.136 +
1.137 + * tests/env.test: removed knownBug limitation from working test
1.138 + * tests/all.tcl: ensured that ::tcltest::testsDirectory would be
1.139 + set to an absolute path
1.140 +
1.141 + * tests/expr-old.test:
1.142 + * tests/parseExpr.test:
1.143 + * tests/string.test:
1.144 + * generic/tclGet.c:
1.145 + * generic/tclInt.h:
1.146 + * generic/tclObj.c:
1.147 + * generic/tclParseExpr.c:
1.148 + * generic/tclUtil.c:
1.149 + * generic/tclExecute.c: added TclCheckBadOctal routine to enhance
1.150 + error message checking for when users use invalid octal numbers
1.151 + (like 08), as well as replumbed the Expr*Funcs with a new
1.152 + VerifyExprObjType to simplify type handling. [Bug: 2467]
1.153 +
1.154 + * tests/expr.test:
1.155 + * generic/tclCompile.c: fixed 'bad code length' error for
1.156 + 'expr + {[incr]}' case, with new test case [Bug: 3736]
1.157 + and seg fault on 'expr + {[error]}' (different cause) that
1.158 + was caused by a correct optimization that didn't correctly
1.159 + track how it was modifying the source string in the opt.
1.160 + The optimization was removed, which means that:
1.161 + expr 1 + {[string length abc]}
1.162 + will be not be compiled inline as before, but this should be
1.163 + written:
1.164 + expr {1 + [string length abc]}
1.165 + which will be compiled inline for speed. This prevents
1.166 + expr 1 + {[mindless error]}
1.167 + from seg faulting, and only affects optimizations for
1.168 + degenerate cases [Bug: 3737]
1.169 +
1.170 +1999-12-01 Scott Redman <redman@scriptics.com>
1.171 +
1.172 + * generic/tcl.decls :
1.173 + * generic/tclMain.c :
1.174 + * unix/tclAppInit.c:
1.175 + * win/tclAppInit.c: Added two new internal functions,
1.176 + TclSetStartupScriptFileName() and TclGetStartupScriptFileName()
1.177 + and added hooks into the main() code for supporting TclPro and
1.178 + other "big" shells more easily without requiring a copy of the
1.179 + main() code.
1.180 +
1.181 + * generic/tclEncoding.c:
1.182 + * generic/tclEvent.c: Moved encoding-related startup code from
1.183 + tclEvent.c into the more appropriate tclEncoding.c.
1.184 +
1.185 +1999-11-30 Jeff Hobbs <hobbs@scriptics.com>
1.186 +
1.187 + * generic/tclIO.c: fix from Kupries for Tcl_UnstackChannel that
1.188 + correctly handles resetting translation and encoding.
1.189 +
1.190 + * generic/tclLoad.c: #def'd out the unloading of DLLs at finalize
1.191 + time for Unix in TclFinalizeLoad. [Bug: 2560 3373] Should be
1.192 + parametrized to allow for user to specify unload or not.
1.193 +
1.194 + * win/tclWinTime.c: fixed handling of %Z on NT for time zones
1.195 + that don't have DST.
1.196 +
1.197 +1999-11-29 Jeff Hobbs <hobbs@scriptics.com>
1.198 +
1.199 + * library/dde1.1/pkgIndex.tcl:
1.200 + * library/reg1.0/pkgIndex.tcl: added supported for debugged
1.201 + versions of the libraries
1.202 +
1.203 + * unix/tclUnixPipe.c: fixed PipeBlockModeProc to properly set
1.204 + isNonBlocking flag on pipe. [Bug: 1356 710]
1.205 + removed spurious fcntl call from PipeBlockModeProc
1.206 +
1.207 + * tests/scan.test:
1.208 + * generic/tclScan.c: fixed scan where %[..] didn't match anything
1.209 + and added test case [Bug: 3700]
1.210 +
1.211 +1999-11-24 Jeff Hobbs <hobbs@scriptics.com>
1.212 +
1.213 + * doc/open.n:
1.214 + * win/tclWinSerial.c: adopted patch from Schroedter to handle
1.215 + fconfigure $sock -lasterror on Windows. [RFE: 3368]
1.216 +
1.217 + * generic/tclCmdIL.c: made SORTMODE_INTEGER work with Longs
1.218 + [Bug: 3652]
1.219 +
1.220 +1999-11-23 Scott Stanton <stanton@scriptics.com>
1.221 +
1.222 + * library/tcltest1.0/tcltest.tcl: Fixed bug where tcltest output
1.223 + went to stdout instead of the specified output file in some
1.224 + cases.
1.225 +
1.226 +1999-11-19 Jeff Hobbs <hobbs@scriptics.com>
1.227 +
1.228 + * generic/tclProc.c: backed out change from 1999-11-18 as it
1.229 + could affect return string from upvar as well.
1.230 +
1.231 + * tools/tcl.wse.in: added tcltest1.0 library to distribution list
1.232 +
1.233 + * doc/http.n:
1.234 + * library/http2.1/http.tcl:
1.235 + * library/http2.1/pkgIndex.tcl: updated http package to 2.2
1.236 +
1.237 +1999-11-18 Jeff Hobbs <hobbs@scriptics.com>
1.238 +
1.239 + * unix/tcl.m4: added defined for _THREAD_SAFE in --enable-threads
1.240 + case; added check for pthread_mutex_init in libc; in AIX case,
1.241 + with --enable-threads ${CC}_r is used; fixed flags when using gcc
1.242 + on SCO
1.243 +
1.244 + * generic/tclProc.c: corrected error reporting for default case
1.245 + at the global level for uplevel command.
1.246 +
1.247 + * generic/tclIOSock.c: changed int to size_t type for len
1.248 + in TclSockMinimumBuffers.
1.249 +
1.250 + * generic/tclCkalloc.c: fixed Tcl_DbCkfree to return a value
1.251 + on NULL input. [Bug: 3400]
1.252 +
1.253 + * generic/tclStringObj.c: fixed support for passing in negative
1.254 + length to Tcl_SetUnicodeObj, et al handling routines. [Bug: 3380]
1.255 +
1.256 + * doc/scan.n:
1.257 + * tests/scan.test:
1.258 + * generic/tclScan.c: finished support for inline scan by
1.259 + supporting XPG identifiers.
1.260 +
1.261 + * doc/http.n:
1.262 + * library/http2.1/http.tcl: added register and unregister
1.263 + commands to http:: package (better support for tls/SSL),
1.264 + as well as -type argument to http::geturl. [RFE: 2617]
1.265 +
1.266 + * generic/tclBasic.c: removed extra decr of numLevels in
1.267 + Tcl_EvalObjEx that could cause seg fault. (mjansen@wendt.de)
1.268 +
1.269 + * generic/tclEvent.c: fixed possible lack of MutexUnlock in
1.270 + Tcl_DeleteExitHandler [Bug: 3545]
1.271 +
1.272 + * unix/tcl.m4: Added better pthreads library check and inclusion
1.273 + of _THREAD_SAFE in --enable-threads case
1.274 + Added support for gcc config on SCO
1.275 +
1.276 + * doc/glob.n: added note about ..../ glob behavior on Win9*
1.277 + * doc/tcltest.n: fixed minor example errors [Bug: 3551]
1.278 +
1.279 +1999-11-17 Brent Welch <welch@scriptics.com>
1.280 + * library/http2.1/http.tcl: Correctly fixed the -timeout
1.281 + problem mentioned in the 10-29 change. Also added error
1.282 + handling for failed writes on the socket during the protocol.
1.283 +
1.284 +1999-11-09 Jeff Hobbs <hobbs@scriptics.com>
1.285 +
1.286 + * doc/open.n: corrected docs for 'a' open mode.
1.287 +
1.288 + * generic/tclIOUtil.c: changed Tcl_Alloc to ckalloc
1.289 +
1.290 + * generic/tclInt.h:
1.291 + * generic/tclObj.c: rolled back changes from 1999-10-29
1.292 + Purify noted new leaks with that code
1.293 +
1.294 + * generic/tclParse.c: added code in Tcl_ParseBraces to test for
1.295 + possible unbalanced open brace in a comment
1.296 +
1.297 + * library/init.tcl: removed the installed binary directory from
1.298 + the auto_path variable
1.299 +
1.300 + * tools/tcl.wse.in: updated to 8.3a1, fixed install of twind.tcl
1.301 + and koi8-r.enc files
1.302 +
1.303 + * unix/tcl.m4: added recognition of pthreads library for AIX
1.304 +
1.305 +1999-10-29 Brent Welch <welch@scriptics.com>
1.306 + * generic/tclInt.h: Modified the TclNewObj and TclDecrRefCount
1.307 + in two ways. First, in the case of TCL_THREADS, we do not use
1.308 + the special Tcl_Obj allocator because that is a source of
1.309 + lock contention. Second, general code cleanup to eliminate
1.310 + duplicated code. In particular, TclDecrRefCount now uses
1.311 + TclFreeObj instead of duplicating that code, so it is now
1.312 + identical to Tcl_DecrRefCount.
1.313 +
1.314 + * generic/tclObj.c: Changed Tcl_NewObj so it uses the
1.315 + TclNewObj macro instead of duplicating the code. Adjusted
1.316 + TclFreeObj so it understands the TCL_THREADS case described
1.317 + above.
1.318 +
1.319 + * library/http2.1/http.tcl: Fixed a bug in the handling of
1.320 + the state(status) variable when the -timeout flag is specified.
1.321 + Previously it was possible to leave the status undefined
1.322 + instead of empty, which caused errors in http::status
1.323 +
1.324 +1999-10-28 Jeff Hobbs <hobbs@scriptics.com>
1.325 +
1.326 + * unix/aclocal.m4: made it just include tcl.m4
1.327 +
1.328 + * library/tcltest1.0/tcltest.tcl: updated makeFile to return
1.329 + full pathname of file created
1.330 +
1.331 + * generic/tclStringObj.c: fixed Tcl_AppendStringsToObjVA so it only
1.332 + iterates once over the va_list (avoiding a memcpy of it,
1.333 + which is not portable).
1.334 +
1.335 + * generic/tclEnv.c: fixed possible ABR error in environ array
1.336 +
1.337 + * tests/scan.test:
1.338 + * generic/tclScan.c: added support for use of inline scan,
1.339 + XPG3 currently not included
1.340 +
1.341 + * tests/incr.test:
1.342 + * tests/set.test:
1.343 + * generic/tclCompCmds.c: fixed improper bytecode handling of
1.344 + 'eval {set array($unknownvar) 5}' (also for incr) [Bug: 3184]
1.345 +
1.346 + * win/tclWinTest.c: added testvolumetype command, as atime is
1.347 + completely ignored for Windows FAT file systems
1.348 + * win/tclWinPort.h: added sys/utime.h to includes
1.349 + * unix/tclUnixPort.h: added utime.h to includes
1.350 + * doc/file.n:
1.351 + * tests/cmdAH.test:
1.352 + * generic/tclCmdAH.c: added time arguments to atime and mtime
1.353 + file command methods (support 'touch' functionality)
1.354 +
1.355 +1999-10-20 Jeff Hobbs <hobbs@scriptics.com>
1.356 +
1.357 + * unix/tclUnixNotfy.c: fixed event/io threading problems by
1.358 + making triggerPipe non-blocking [Bug: 2792]
1.359 +
1.360 + * library/tcltest1.0/tcltest.tcl:
1.361 + * generic/tclThreadTest.c: fixed mem leaks in threads
1.362 +
1.363 + * generic/tclResult.c: fixed Tcl_AppendResultVA so it only
1.364 + iterates once over the va_list (avoiding a memcpy of it,
1.365 + which is not portable).
1.366 +
1.367 + * generic/regc_color.c: fixed mem leak and assertion, from HS
1.368 +
1.369 + * generic/tclCompile.c: removed savedChar trick that appeared to
1.370 + be causing a segv when the literal table was released
1.371 +
1.372 + * tests/string.test:
1.373 + * generic/tclCmdMZ.c: fixed [string index] to return ByteArrayObj
1.374 + when indexing into one (test case string-5.16) [Bug: 2871]
1.375 +
1.376 + * library/http2.1/http.tcl: protected gets with catch [Bug: 2665]
1.377 +
1.378 +1999-10-19 Jennifer Hom <jenn@scriptics.com>
1.379 +
1.380 + * tests/tcltest.test:
1.381 + * doc/tcltest.n:
1.382 + * library/tcltest1.0/tcltest.tcl: Removed the extra return at the
1.383 + end of the tcltest.tcl file, added version information about tcl.
1.384 +
1.385 + Applied patches sent in by Andreas Kupries to add helper procs for
1.386 + debug output, add 3 new flags (-testsdir, -load, -loadfile), and
1.387 + internally refactors common code for dealing with paths into
1.388 + separate procedures. [Bug: 2838, 2842]
1.389 +
1.390 + Merged code from core-8-2-1 branch that changes the checks for the
1.391 + value of tcl_interactive to also incorporate a check for the
1.392 + existence of the variable.
1.393 +
1.394 + * tests/autoMkindex.test:
1.395 + * tests/pkgMkIndex.test: Explicitly cd to
1.396 + ::tcltest::testsDirectory at the beginning of the test run
1.397 +
1.398 + * tests/basic.test: Use version information defined in tcltest
1.399 + instead of hardcoded version number
1.400 +
1.401 + * tests/socket.test: package require tcltest before attempting to
1.402 + use variable defined in tcltest namespace
1.403 +
1.404 + * tests/unixInit.test:
1.405 + * tests/unixNotfy.test: Added explicit exits needed to avoid
1.406 + problems when the tests area run in wish.
1.407 +
1.408 +1999-10-12 Jim Ingham <jingham@scriptics.com>
1.409 +
1.410 + * mac/tclMacLoad.c: Stupid bug - we converted the filename to
1.411 + external, but used the unconverted version.
1.412 + * mac/tclMacFCmd.c: Fix a merge error in the bug fix for [Bug: 2869]
1.413 +
1.414 +1999-10-12 Jeff Hobbs <hobbs@scriptics.com>
1.415 +
1.416 + * generic/regc_color.c:
1.417 + * generic/regc_cvec.c:
1.418 + * generic/regc_lex.c:
1.419 + * generic/regc_locale.c:
1.420 + * generic/regcomp.c:
1.421 + * generic/regcustom.h:
1.422 + * generic/regerrs.h:
1.423 + * generic/regex.h:
1.424 + * generic/regexec.c:
1.425 + * generic/regguts.h:
1.426 + * generic/tclRegexp.c:
1.427 + * generic/tclTest.c:
1.428 + * tests/reg.test: updated to Henry Spencer's new regexp engine
1.429 + (mid-Sept 99). Should greatly reduce stack space reqs.
1.430 +
1.431 + * library/tcltest1.0/pkgIndex.tcl: fixed procs in pkgIndex.tcl file
1.432 +
1.433 + * generic/tclEnv.c: fixed mem leak with putenv and DStrings
1.434 + * doc/Encoding.3: corrected docs
1.435 + * tests/basic.test: updated test cases for 8.3
1.436 + * tests/encoding.test: fixed test case that change system
1.437 + encoding to a double-byte one (this causes a bogus mem read
1.438 + error for purify)
1.439 + * unix/Makefile.in: purify has to use -best-effort to instrument
1.440 + * unix/tclAppInit.c: identified potential mem leak when compiling
1.441 + tcltest (not critical)
1.442 + * unix/tclUnixPipe.c: fixed mem leak in TclpCreateProcess when
1.443 + doing alloc between vfork and execvp.
1.444 + * unix/tclUnixTest.c: fixed mem leak in findexecutable test command
1.445 +
1.446 +1999-10-05 Jeff Hobbs <hobbs@scriptics.com>
1.447 +
1.448 + * {win,mac,unix,tools,}/README:
1.449 + * win/README.binary:
1.450 + * win/makefile.vc:
1.451 + * {win,unix}/configure.in:
1.452 + * generic/tcl.h:
1.453 + * library/init.tcl: updated to 8.3a1 from 8.2.0.
1.454 +
1.455 + * library/http2.1/http.tcl: fixed possible use of global c var.
1.456 +
1.457 + * win/tclWinReg.c: fixed registry command to properly 'get'
1.458 + HKEY_PERFORMANCE_DATA root key data. Needs more work.
1.459 +
1.460 + * generic/tclNamesp.c:
1.461 + * generic/tclVar.c:
1.462 + * generic/tclCmdIL.c: fixed comment typos
1.463 +
1.464 + * mac/tclMacFCmd.c: fixed filename stuff to support UTF-8 [Bug: 2869]
1.465 +
1.466 + * win/tclWinSerial.c: changed SerialSetOptionProc to return
1.467 + TCL_OK by default. (patch from Rolf Schroedter)
1.468 +
1.469 +1999-09-21 Jennifer Hom <jenn@scriptics.com>
1.470 +
1.471 + * library/tcltest1.0/tcltest.tcl: Applied patches sent in by
1.472 + Andreas Kupries to fix typos in comments and ::tcltest::grep,
1.473 + fix hook redefinition problems, and change "string compare" to
1.474 + "string equal." [Bug: 2836, 2837, 2839, 2840]
1.475 +
1.476 +1999-09-20 Jeff Hobbs <hobbs@scriptics.com>
1.477 +
1.478 + * tests/env.test:
1.479 + * unix/Makefile.in: added support for AIX LIBPATH env var [Bug: 2793]
1.480 + removed second definition of INCLUDE_INSTALL_DIR (the one that
1.481 + referenced @includedir@) [Bug: 2805]
1.482 + * unix/dltest/Makefile.in: added -lc to LIBS [Bug: 2794]
1.483 +
1.484 +1999-09-16 Jeff Hobbs <hobbs@scriptics.com>
1.485 +
1.486 + * tests/timer.test: changed after delay in timer test 6.29 from
1.487 + 1 to 10. [Bug: 2796]
1.488 +
1.489 + * tests/pkg.test:
1.490 + * generic/tclPkg.c: fixed package version check to disallow 1.2..3
1.491 + [Bug: 2539]
1.492 +
1.493 + * unix/Makefile.in: fixed gendate target - this never worked
1.494 + since RCS was intro'd.
1.495 + * generic/tclGetDate.y: updated to reflect previous changes
1.496 + to tclDate.c (leap year calc) and added CEST and UCT time zone
1.497 + recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954,
1.498 + 1245, 1249]
1.499 +
1.500 + * generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really
1.501 + dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc
1.502 + and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719]
1.503 + and changed Tcl_Alloc, et al to not panic when a alloc request
1.504 + for zero came through and NULL was returned (valid on AIX, Tru64)
1.505 + [Bug: 2795, etc]
1.506 +
1.507 + * tests/clock.test:
1.508 + * doc/clock.n:
1.509 + * generic/tclClock.c: added -milliseconds switch to clock clicks
1.510 + to guarantee that the return value of clicks is in the millisecs
1.511 + granularity [Bug: 2682, 1332]
1.512 +
1.513 +1999-09-15 Jeff Hobbs <hobbs@scriptics.com>
1.514 +
1.515 + * generic/tclIOCmd.c: fixed potential core dump in conjunction
1.516 + with stacked channels with result obj manipulation in
1.517 + Tcl_ReadChars [Bug: 2623]
1.518 +
1.519 + * tests/format.test:
1.520 + * generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605]
1.521 +
1.522 + * doc/msgcat.n: fixed \\ bug in example [Bug: 2548]
1.523 +
1.524 + * unix/tcl.m4:
1.525 + * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition
1.526 + [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610]
1.527 +
1.528 + * doc/array.n:
1.529 + * tests/var.test:
1.530 + * tests/set.test:
1.531 + * generic/tclVar.c: added an array unset operation, with docs
1.532 + and tests. Variation of [Bug: 1775]. Added fix in TclArraySet
1.533 + to check when trying to set in a non-existent namespace. [Bug: 2613]
1.534 +
1.535 +1999-09-14 Jeff Hobbs <hobbs@scriptics.com>
1.536 +
1.537 + * tests/linsert.test:
1.538 + * doc/linsert.n:
1.539 + * generic/tclCmdIL.c: fixed end-int interpretation of linsert
1.540 + to correctly calculate value for end, added test and docs [Bug: 2693]
1.541 +
1.542 + * doc/regexp.n:
1.543 + * doc/regsub.n:
1.544 + * tests/regexp.test:
1.545 + * generic/tclCmdMZ.c: add -start switch to regexp and regsub
1.546 + with docs and tests
1.547 +
1.548 + * doc/switch.n: added proper use of comments to example.
1.549 + * generic/tclCmdMZ.c: changed switch to complain when an error
1.550 + occurs that seems to be due to a misplaced comment.
1.551 +
1.552 + * generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions
1.553 + in regsub [Bug: 2723]
1.554 +
1.555 + * generic/tclCmdMZ.c: changed [string equal] to return an Int
1.556 + type object (was a Boolean)
1.557 +
1.558 +1999-09-01 Jennifer Hom <jenn@scriptics.com>
1.559 +
1.560 + * library/tcltest1.0/tcltest.tcl: Process command-line arguments
1.561 + only ::tcltest doesn't have a child namespace (requires that
1.562 + command-line args are processed in that namespace)
1.563 +
1.564 +1999-09-01 Jeff Hobbs <hobbs@scriptics.com>
1.565 +
1.566 + * generic/tclParseExpr.c: changed '"' to '\"' to make FreeBSD
1.567 + happy [Bug: 2625]
1.568 + * generic/tclProc.c: moved static buf to better location and
1.569 + changed static msg that would overflow in ProcessProcResultCode
1.570 + [Bug: 2483] and added Tcl_DStringFree to Tcl_ProcObjCmd.
1.571 + Also reworked size of static buffers.
1.572 + * tests/stringObj.test: added test 9.11
1.573 + * generic/tclStringObj.c: changed Tcl_AppendObjToObj to
1.574 + properly handle the 1-byte dest and mixed src case where
1.575 + both had had Unicode string len checks made on them. [Bug: 2678]
1.576 + * unix/aclocal.m4:
1.577 + * unix/tcl.m4: adjusted fix from 8-21 to add -bnoentry to the
1.578 + AIX-* case and readjusted the range
1.579 +
1.580 +1999-08-31 Jennifer Hom <jenn@scriptics.com>
1.581 +
1.582 + * library/tcltest1.0/tcltest.tcl:
1.583 + * doc/tcltest.n:
1.584 + * tests/README: Modified testConstraints variable so that it isn't
1.585 + unset every time ::tcltest::initConstraints is called and cleaned up
1.586 + documentation in the README file and the man page.
1.587 +
1.588 +1999-08-27 Jennifer Hom <jenn@scriptics.com>
1.589 +
1.590 + * tests/env.test:
1.591 + * tests/exec.test:
1.592 + * tests/io.test:
1.593 + * tests/event.test:
1.594 + * tests/tcltest.test: Added 'exit' calls to scripts that the tests
1.595 + themselves write, and removed accidental checkin of knownBugThreaded
1.596 + constraints for Solaris and Linux.
1.597 +
1.598 + * library/tcltest1.0/tcltest.tcl: Modified tcltest so that
1.599 + variables are only initialized to their default values if they did
1.600 + not previously exist.
1.601 +
1.602 +1999-08-26 Jennifer Hom <jenn@scriptics.com>
1.603 +
1.604 + * tests/tcltest.test:
1.605 + * library/tcltest1.0/tcltest.tcl: Added a -args flag that sets a
1.606 + variable named ::tcltest::parameters based on whatever's being
1.607 + sent in as the argument to the -args flag.
1.608 +
1.609 +1999-08-23 Jennifer Hom <jenn@scriptics.com>
1.610 +
1.611 + * tests/tcltest.test: Added additional tests for -tmpdir, marked
1.612 + all tests that use exec as unixOrPc.
1.613 +
1.614 + * tests/encoding.test:
1.615 + * tests/interp.test:
1.616 + * tests/macFCmd.test:
1.617 + * tests/parseOld.test:
1.618 + * tests/regexp.test: Applied patches from Jim Ingham to add
1.619 + encoding to a Mac only interp test, change an error message in
1.620 + macFCmd.tet, put a comment in parseOld.test, fix tests using the
1.621 + testencoding path command, and put unixOrPc constraints on tests
1.622 + that use exec.
1.623 +
1.624 +1999-08-21 Jeff Hobbs <hobbs@scriptics.com>
1.625 +
1.626 + * unix/aclocal.m4: Changed AIX-4.[2-9] check to AIX-4.[1-9]
1.627 + [Bug: 1909]
1.628 +
1.629 +1999-08-20 Jeff Hobbs <hobbs@scriptics.com>
1.630 +
1.631 + * generic/tclPosixStr.c: fixed typo [Bug: 2592]
1.632 +
1.633 + * doc/*: fixed various nroff bugs in man pages [Bug: 2503 2588]
1.634 +
1.635 +1999-08-19 Jeff Hobbs <hobbs@scriptics.com>
1.636 +
1.637 + * win/README.binary: fixed version info and some typos [Bug: 2561]
1.638 +
1.639 + * doc/interp.n: updated list of commands available in a safe
1.640 + interpreter [Bug: 2526]
1.641 +
1.642 + * generic/tclIO.c: changed Tcl_GetChannelNames* to use style guide
1.643 + headers (pleases HP cc)
1.644 +
1.645 +1999-08-18 Jeff Hobbs <hobbs@scriptics.com>
1.646 +
1.647 + * doc/Eval.3: fixed doc on input args [Bug: 2114]
1.648 +
1.649 + * doc/OpenFileChnl.3:
1.650 + * doc/file.n:
1.651 + * tests/cmdAH.test:
1.652 + * tclIO.c:
1.653 + * tclCmdAH.c: added "file channels ?pattern?" tcl command, with
1.654 + associated Tcl_GetChannelNames and Tcl_GetChannelNamesEx public
1.655 + C APIs (added to tcl.decls as well), with docs and tests.
1.656 +
1.657 + * tests/expr.test:
1.658 + * generic/tclCompile.c: add TCL_TOKEN_VARIABLE to the part types
1.659 + that cause differed compilation for exprs, to correct the expr
1.660 + double-evaluation problem for vars. Added test cases.
1.661 + Related to [Bug: 732]
1.662 +
1.663 + * unix/Makefile.in: changed the dependency structure so that
1.664 + install-* is dependent on * (ie - install-binaries is dependent
1.665 + on binaries).
1.666 +
1.667 + * library/auto.tcl:
1.668 + * library/init.tcl:
1.669 + * library/ldAout.tcl:
1.670 + * library/package.tcl:
1.671 + * library/safe.tcl:
1.672 + * library/word.tcl:
1.673 + * library/http2.1/http.tcl:
1.674 + * library/msgcat1.0/msgcat.tcl: updated libraries to better
1.675 + Tcl style guide (no more string comparisons with == or !=, spacing
1.676 + changes).
1.677 +
1.678 +1999-08-05 Jim Ingham <jingham@cygnus.com>
1.679 +
1.680 + * mac/tclMacProjects.sea.hqx: Rearrange the projects so that the build
1.681 + directory is separate from the sources. Much more convenient!
1.682 +
1.683 +1999-08-13 Scott Redman <redman@scriptics.com>
1.684 +
1.685 + * /: 8.2.0 tagged for final release
1.686 +
1.687 +1999-08-12 Scott Stanton <stanton@scriptics.com>
1.688 +
1.689 + * win/Makefile.in: Added COMPILE_DEBUG_FLAGS macro to make it
1.690 + easier to turn on compiler tracing.
1.691 +
1.692 + * tests/parse.test:
1.693 + * generic/tclParse.c: Fixed bug in Tcl_EvalEx where the termOffset
1.694 + was not being updated in cases where the evaluation returned a non
1.695 + TCL_OK error code. [Bug: 2535]
1.696 +
1.697 +1999-08-12 Scott Redman <redman@scriptics.com>
1.698 +
1.699 + * win/tclWinSerial.c: Applied patch from Petteri Kettunen to
1.700 + remove compiler warning.
1.701 +
1.702 +1999-08-10 Scott Redman <redman@scriptics.com>
1.703 +
1.704 + * generic/tclAlloc.c:
1.705 + * generic/tclCmdIL.c:
1.706 + * generic/tclIO.c:
1.707 + * generic/tclThread.c:
1.708 + * win/tclWinThrd.c:
1.709 + * unix/tclUnixThrd.c: Fixed Brent's changes so that they work on
1.710 + Windows (and he fixed the bug in the Unix thread implementation).
1.711 +
1.712 +1999-08-09 Brent Welch <welch@scriptics.com>
1.713 +
1.714 + * generic/tcl.decls:
1.715 + * generic/tclAlloc.c:
1.716 + * generic/tclCkalloc.c:
1.717 + * generic/tclCmdIL.c:
1.718 + * generic/tclDecls.h:
1.719 + * generic/tclIO.c:
1.720 + * generic/tclInt.decls:
1.721 + * generic/tclIntDecls.h:
1.722 + * generic/tclStubInit.c:
1.723 + * generic/tclVar.c:
1.724 + * mac/tclMacThrd.c:
1.725 + * unix/tclUnixThrd.c:
1.726 + * win/tclWinThrd.c: Added use of Tcl_GetAllocMutex to tclAlloc.c
1.727 + and tclCkalloc.c so they can be linked against alternate thread
1.728 + packages. Added Tcl_GetChannelNames to tclIO.c. Added
1.729 + TclVarTraceExists hook so "info exists" triggers read traces
1.730 + exactly like it did in Tcl 7.6. Stubs table changes to reflect new
1.731 + internal and external APIs.
1.732 +
1.733 +1999-08-09 Jeff Hobbs <hobbs@scriptics.com>
1.734 +
1.735 + * tests/string.test: added largest_int proc to adapt for >32 bit
1.736 + machines and int overflow testing.
1.737 + * tests/tcltest.test: fixed minor error in 8.2 result (from dgp)
1.738 +
1.739 + * doc/Object.3: clarified Tcl_DecrRefCount docs [Bug: 1952]
1.740 + * doc/array.n: clarified array pattern docs [Bug: 1330]
1.741 + * doc/clock.n: fixed clock docs [Bug: 693]
1.742 + * doc/lindex.n: clarified to account for new end-int behavior.
1.743 + * doc/string.n: fixed formatting errors [Bug: 2188 2189]
1.744 + * doc/tclvars.n: fixed doc error [Bug: 2042]
1.745 + * library/init.tcl: fixed path handling in auto_execok (it could
1.746 + miss including the normal path on some Windows machines) [Bug: 1276]
1.747 +
1.748 +1999-08-05 Jeff Hobbs <hobbs@scriptics.com>
1.749 +
1.750 + * doc/tclvars.n: Made it clear that tcl_pkgPath was not set
1.751 + for Windows (already mentioned in init.tcl) [Bug: 2455]
1.752 + * generic/tclLiteral.c: fixed reference to bytes that might
1.753 + not be null terminated (using objPtr->bytes, which is) [Bug: 2496]
1.754 + * library/http2.1/http.tcl: Made use of "i" in init section use
1.755 + local var and start at 0 (was 1). [Bug: 2502]
1.756 +
1.757 +1999-08-04 Scott Stanton <stanton@scriptics.com>
1.758 +
1.759 + * tests/reg.test: Added test for REG_EXPECT bug fixed by Henry's
1.760 + patch.
1.761 +
1.762 + * generic/regc_nfa.c:
1.763 + * generic/regcomp.c:
1.764 + * generic/rege_dfa.c:
1.765 + * generic/regexec.c:
1.766 + * generic/regguts.h: Applied patches supplied by Henry Spencer to
1.767 + greatly enhance the performance of certain classes of regular
1.768 + expressions. [Bug: 2440, 2447]
1.769 +
1.770 +1999-08-03 Scott Redman <redman@scriptics.com>
1.771 +
1.772 + * win/tclWinInt.h: Remove function declarations in header that was
1.773 + moved to tclInt.decls file in previous changes.
1.774 +
1.775 +1999-08-02 Scott Redman <redman@scriptics.com>
1.776 +
1.777 + * unix/configure.in:
1.778 + * win/configure.in: Change beta level to b2.
1.779 +
1.780 + * generic/tcl.h:
1.781 + * generic/tcl.decls:
1.782 + * generic/tclDecls.h:
1.783 + * generic/tclInt.h:
1.784 + * generic/tclInt.decls:
1.785 + * generic/tclIntDecls.h:
1.786 + * generic/tclRegexp.h:
1.787 + * generic/tclStubInit.c: Move some exported public and internal
1.788 + functions to the stub tables. Removed functions that are in the
1.789 + stub tables (from this and previous changes) from the original
1.790 + header files.
1.791 +
1.792 +1999-08-01 Scott Redman <redman@scriptics.com>
1.793 +
1.794 + * win/tclWinSock.c: Added comment block to SocketThread()
1.795 + function. Added code to avoid calling TerminateThread(), but
1.796 + instead to send a message to the socket event window to tell it to
1.797 + terminate its thread.
1.798 +
1.799 +1999-07-30 Jennifer Hom <jenn@scriptics.com>
1.800 +
1.801 + * tests/tcltest.test:
1.802 + * library/tcltest1.0/tcltest.tcl: Exit with non-zero status if
1.803 + there were problems with the way the test suite was started
1.804 + (e.g. wrong # arguments).
1.805 +
1.806 +1999-07-30 Jeff Hobbs <hobbs@scriptics.com>
1.807 +
1.808 + * generic/tclInt.decls: added declaractions necessary for the
1.809 + Tcl test code to work wth stubs [Bug: 2445]
1.810 +
1.811 +1999-07-30 <redman@scriptics.com>
1.812 +
1.813 + * win/tclWinPipe.c:
1.814 + * win/Makefile.in: Fixing launching of 16-bit apps on Win9x from
1.815 + wish. The command line was primed with tclpip82.dll, but it was
1.816 + ignored. Fixed that, then fixed the gmake makefile to build
1.817 + tclpip82.dll as an executable.
1.818 +
1.819 + * win/tclWinSock.c: Applied small patch to get thread-specific
1.820 + data after initializing the socket driver.
1.821 +
1.822 + * unix/tclUnixThrd.c: Applied patch to fix threads on Irix 6.5.
1.823 + Patch from James Dennett. [Bug: 2450]
1.824 +
1.825 + * tests/info.test: Enable test for tclParse.c change (info
1.826 + complete).
1.827 +
1.828 +1999-07-30 <hobbs@scriptics.com>
1.829 +
1.830 + * tclIO.c: added fix for Kupries' trf patch [Bug: 2386]
1.831 +
1.832 + * tclParse.c: fixed bug in info complete regarding nested square
1.833 + brackets [Bug: 2382, 2466]
1.834 +
1.835 +1999-07-29 <redman@scriptics.com>
1.836 +
1.837 + * win/tclWinChan.c: Allow tcl to open CON and NUL, even for std
1.838 + channels. Checking for bad/unusable std channels was moved to Tk
1.839 + since its only purpose was to check whether to use the Tk Console
1.840 + Window for the std channels. [Bug: 2393 2392 2209 2458]
1.841 +
1.842 + * unix/mkLinks.tcl: Applied patch to avoid linking pack.n to
1.843 + pack-old.n. Patch from Don Porter. [Bug: 2469]
1.844 +
1.845 + * doc/Encoding.n: Applied patch to fix typo in .SH NAME line.
1.846 + Patch from Don Porter. [Bug: 2451]
1.847 +
1.848 + * win/tclWinSock.c: Free Win32 Event handles when destroying
1.849 + the socket helper thread.
1.850 +
1.851 +1999-07-28 <jenn@scriptics.com>
1.852 +
1.853 + * tests/tcltest.test:
1.854 + * library/tcltest1.0/tcltest.tcl: Fixed the condition under which
1.855 + ::tcltest::PrintError had an infinite loop problem and added a
1.856 + test case for it. Added an optional argument to
1.857 + ::tcltest::getMatchingFiles telling it where to search for test
1.858 + files.
1.859 +
1.860 +1999-07-27 <redman@scriptics.com>
1.861 +
1.862 + * tools/tclSplash.bmp: Updated Windows installer bitmap
1.863 + to ready Tcl/Tk Version 8.2.
1.864 +
1.865 +1999-07-26 <redman@scriptics.com>
1.866 +
1.867 + * tests/tcltest.test: Need to close the new core file, there
1.868 + seems to be a hang in threaded WinNT if the file isn't closed.
1.869 + Open issue, need to fix that hang.
1.870 +
1.871 + * tests/httpold.test: Add time delay in response from Http server
1.872 + so that test cases can properly detect timeout conditions with
1.873 + threads enabled on multi-CPU WinNT.
1.874 +
1.875 + * tests/winFCmd.test: Test case winFcmd-1.33 was looking for
1.876 + c:\windows, which may not exist. Instead, create a new directory
1.877 + on c:\ and use it for the test.
1.878 +
1.879 + * win/tclWinConsole.c:
1.880 + * win/tclWinPipe.c:
1.881 + * win/tclWinSock.c: Fix terminating helper threads by holding any
1.882 + mutexes from the primary thread while waiting for the helper
1.883 + thread to terminate. Without these changes, the test suite hangs
1.884 + on WinNT with 2 CPUs and threads enabled. Open issue, seems to be
1.885 + a sporadic hang on dual CPU systems still (very rare).
1.886 +
1.887 +1999-07-26 Jennifer Hom <jenn@scriptics.com>
1.888 +
1.889 + * tests/tcltest.test:
1.890 + * library/tcltest1.0/tcltest.tcl:
1.891 + * doc/tcltest.n: Cleaned up code in ::tcltest::PrintError, revised
1.892 + documentation, and added tests for the tcltest package.
1.893 +
1.894 +1999-07-23 <redman@scriptics.com>
1.895 +
1.896 + * tests/info.test:
1.897 + * generic/tclParse.c: Removed patch for info command, breaks test
1.898 + cases on Unix. Patch was bad and needs to be redone
1.899 + properly. [Bug: 2382]
1.900 +
1.901 +1999-07-22 <redman@scriptics.com>
1.902 +
1.903 + * Changed version to 8.2b2.
1.904 +
1.905 + * win/tclWinSock.c: Fixed hang with threads enabled, fixed
1.906 + semaphores with threads disabled.
1.907 +
1.908 + * win/safe.test: Fixed safe-6.3 with threads enabled.
1.909 +
1.910 + * win/Makefile.in: Fixed calling of tcltest to fix safe.test
1.911 + failures due to path TCL_LIBRARY path.
1.912 +
1.913 + * win/tclWinPort.h: Block out include of sys/*.h in order to
1.914 + build extensions with MetroWerks compiler for Win32. [Bug: 2385]
1.915 +
1.916 + * generic/tclCmdMZ.c:
1.917 + * generic/tclIO.c: Fix ANSI-style prototypes based on patch from
1.918 + Ulrich Ring. [Bug: 2391]
1.919 +
1.920 + * unix/Makefile.in: Need to make install-sh executable before
1.921 + calling (with chmod +x). [Bug: 2413]
1.922 +
1.923 + * tests/var.test:
1.924 + * generic/tclVar.c: Fixed bug that caused a seg. fault when using
1.925 + "array set a(b) {}", which is a bad array name anyway. Now the
1.926 + "array set" command will return an error in this case. Added test
1.927 + case and fixed existing test. [Bug: 2427]
1.928 +
1.929 +1999-07-21 <redman@scriptics.com>
1.930 +
1.931 + * tests/info.test:
1.932 + * generic/tclParse.c: Applied patch to fix "info complete"
1.933 + for the string {[a [b]}. Patch from Peter Spjuth. [Bug: 2382]
1.934 +
1.935 + * doc/Utf.3:
1.936 + * generic/tcl.decls:
1.937 + * generic/tclDecls.h:
1.938 + * generic/tclUtf.c: Changed function declarations in
1.939 + non-platform-specific public APIs to use "unsigned long" instead of
1.940 + "size_t", which may not be defined on certain compilers (rather
1.941 + than include sys/types.h, which may not exist).
1.942 +
1.943 + * unix/Makefile.in: Added the Windows configure script to the
1.944 + distribution file list, already shipping configure.in and the .m4
1.945 + files, but needed the configure script itself.
1.946 +
1.947 + * win/makefile.vc: Changed version number of DDE package in VC++
1.948 + makefile to use 1.1 instead of 1.0.
1.949 +
1.950 + * doc/open.n: Added documentation of \\.\comX notation for opening
1.951 + serial ports on Windows (alternative to comX:).
1.952 +
1.953 + * tests/ioCmd.test:
1.954 + * doc/open.n:
1.955 + * win/tclWinSerial.c: Applied patch from Rolf Schroedter to add
1.956 + -pollinterval option to fconfigure to modify the maxblocktime used
1.957 + in the fileevent polling. Added documentation and fixed the test
1.958 + case as well.
1.959 +
1.960 + * win/tclWinSock.c: Modified 8.1.0 version of the Win32 socket
1.961 + driver to move the handling of the socket event window in a
1.962 + separate thread. It also turned out that Win95 & Win98 were, in
1.963 + some cases, getting multiple FD_ACCEPTs but only handling one.
1.964 + Added a count for the FD_ACCEPT to take care of this. Tested on
1.965 + NT4 SP3, NT4 SP4, Win95, and Win98.
1.966 + [Bug: 2178 2256 2259 2329 2323 2355]
1.967 +
1.968 +1999-07-21 <jpeek@scriptics.com>
1.969 +
1.970 + * README: Small tweaks to clean up typos and wording.
1.971 +
1.972 +1999-07-20 Melissa Hirschl <hershey@matisse.scriptics.com>
1.973 +
1.974 + * generic/tclInitScript.h:
1.975 + * unix/tclUnixInit.c: merged code with 8.0.5. We now use an
1.976 + intermediate global tcl var "tclDefaultLibrary" to keep the
1.977 + "tcl_library" var from being set by the default value in the
1.978 + Makefile. Also fixed a bug in which caused the value of
1.979 + TCL_LIBRARY env var to be ignored.
1.980 + * unix/tclWinInit.c: just updated some comments.
1.981 +
1.982 +1999-07-19 Melissa Hirschl <hershey@matisse.scriptics.com>
1.983 +
1.984 + * library/http2.1/http.tcl: updated -useragent text to say version
1.985 + 2.1.
1.986 +
1.987 +1999-07-16 <redman@scriptics.com>
1.988 +
1.989 + * generic/tcl.decls:
1.990 + * generic/tclDecls.h:
1.991 + * generic/tclStubInit.c: Add Tcl_SetNotifier to stub table.
1.992 + [Bug: 2364]
1.993 +
1.994 + * unix/aclocal.m4:
1.995 + * unix/tcl.m4: Add check for Alpha/Linux to correct the IEEE
1.996 + floating flag to the compiler, should be -mieee. Patch from Don
1.997 + Porter.
1.998 +
1.999 + * tools/tcl.hpj.in: Change version number of .cnt file referenced
1.1000 + in .HPJ file.
1.1001 +
1.1002 +1999-07-15 <redman@scriptics.com>
1.1003 +
1.1004 + * tools/tcl.wse.in: Fixed naming of target files for Windows.
1.1005 +
1.1006 +1999-07-14 <jpeek@scriptics.com>
1.1007 +
1.1008 + * doc/re_syntax.n: Deleted sentence as suggested by Scott S.
1.1009 +
1.1010 +1999-07-12 <jpeek@scriptics.com>
1.1011 +
1.1012 + * doc/re_syntax.n: Removed two notes to myself (oops), cleaned
1.1013 + up wording, fixed changebars, made two examples easier to read.
1.1014 +
1.1015 +1999-07-11 <redman@scriptics.com>
1.1016 +
1.1017 + * win/makefile.vc: Since the makefile.vc should continue to work
1.1018 + while we're working out bugs/issues in the new TEA-style
1.1019 + autoconf/configure/gmake build mechanism for Windows, the version
1.1020 + numbers of the Tcl libraries need to remain in sync. Modified the
1.1021 + version numbers in the makefile to reflect the change to 8.2b1.
1.1022 +
1.1023 +1999-07-09 <redman@scriptics.com>
1.1024 +
1.1025 + * win/configure.in: Eval DLLSUFFIX, LIBSUFFIX, and EXESUFFIX in
1.1026 + the configure script so that substitutions get expanded before
1.1027 + being placed in the Makefile. The "d" portion for debug libraries
1.1028 + and DLLs was not being set properly.
1.1029 +
1.1030 +1999-07-08 <stanton@scriptics.com>
1.1031 +
1.1032 + * tests/string.test:
1.1033 + * generic/tclCmdMZ.c: Fixed bug in string range bounds checking
1.1034 + code.
1.1035 +
1.1036 +1999-07-08 Jennifer Hom <jenn@scriptics.com>
1.1037 +
1.1038 + * doc/tcltest.n:
1.1039 + * library/tcltest1.0/tcltest.tcl: Removed -asidefromdir and
1.1040 + -relateddir flags, removed unused ::tcltest::dotests proc, cleaned
1.1041 + up implementation of core file checking, and fixed the code that
1.1042 + checks for 1-letter flag abbreviations.
1.1043 +
1.1044 +1999-07-08 <stanton@scriptics.com>
1.1045 +
1.1046 + * win/Makefile.in: Added tcltest target so runtest works
1.1047 + properly. Added missing names to the clean/distclean targets.
1.1048 +
1.1049 + * tests/reg.test:
1.1050 + * generic/rege_dfa.c: Applied fix supplied by Henry Spencer for
1.1051 + bug in DFA state caching under lookahead conditions. [Bug: 2318]
1.1052 +
1.1053 +1999-07-07 <stanton@scriptics.com>
1.1054 +
1.1055 + * doc/fconfigure.n: Clarified default buffering behavior for the
1.1056 + standard channels. [Bug: 2335]
1.1057 +
1.1058 +1999-07-06 <redman@scriptics.com>
1.1059 +
1.1060 + * win/tclWinSerial.c: New implementation of serial port driver
1.1061 + from Rolf Shroedter (Rolf.Schroedter@dlr.de) that allows more than
1.1062 + one byte to be read from the port. Implemented using polling
1.1063 + instead of threads, there is a max. 10ms latency between checking the
1.1064 + port for file events. [Bug: 1980 2217]
1.1065 +
1.1066 +1999-07-06 <welch@scriptics.com>
1.1067 +
1.1068 + * library/http2.0/http.tcl: Fixed the -timeout option so it
1.1069 + handles timeouts that occur during connection attempts to
1.1070 + hosts that are down (the only case that really matters!)
1.1071 +
1.1072 +1999-07-03 <welch@scriptics.com>
1.1073 +
1.1074 + * doc/ChnlStack.3:
1.1075 + * generic/tcl.decls:
1.1076 + * generic/tclIO.c: Added a new variant of the "Trf patch"
1.1077 + from Andreas Kupres that adds new C APIs Tcl_StackChannel,
1.1078 + Tcl_UnstackChannel, and Tcl_GetStackedChannel.
1.1079 +
1.1080 +1999-07-03 <welch@scriptics.com>
1.1081 +
1.1082 + * generic/tclNotify.c:
1.1083 + * unix/tclUnixNotfy.c:
1.1084 + * unix/tclXtTest.c:
1.1085 + * unix/tclXtNotify.c:
1.1086 + * win/tclWinNotify.c:
1.1087 + * mac/tclMacNotify.c: Added Tcl_SetNotifier and the associated
1.1088 + hook points in the notifiers to be able to replace the notifier
1.1089 + calls at runtime The Xt notifier and test program use this hook.
1.1090 +
1.1091 +1999-07-03 <welch@scriptics.com>
1.1092 +
1.1093 + * generic/tclParse.c: Changed parsing of variable names to
1.1094 + allow empty array names. Now "$(foo)" is a variable reference!
1.1095 + Previous you had to use something like $::(foo), which is slower.
1.1096 + This change is requested by Jean-Luc Fontaine for his STOOOP
1.1097 + package.
1.1098 +
1.1099 +1999-07-01 <redman@scriptics.com>
1.1100 +
1.1101 + * generic/tclCmdAH.c:
1.1102 + * generic/tclFCmd.c: Call TclStat instead of TclpStat in order to
1.1103 + allow Tcl_Stat hooks to work properly.
1.1104 +
1.1105 +1999-06-29 Jennifer Hom <jenn@scriptics.com>
1.1106 +
1.1107 + * library/tcltest1.0/pkgIndex.tcl:
1.1108 + * library/tcltest1.0/tcltest.tcl:
1.1109 + * doc/tcltest.n:
1.1110 + * tests/all.tcl: Added -preservecore, -limitconstraints, -help,
1.1111 + -file, -notfile, -relateddir and -asidefromdir flags to the
1.1112 + tcltest package along with exported proc
1.1113 + ::tcltest::getMatchingFiles. The documentation was modified to
1.1114 + match and all.tcl was modified to use the new functionality
1.1115 + instead of implementing -file itself.
1.1116 +
1.1117 +1999-06-28 <redman@scriptics.com>
1.1118 +
1.1119 + * generic/tclIndexObj.c:
1.1120 + * doc/GetIndex.3:
1.1121 + * tests/binary.test:
1.1122 + * tests/winDde.test: Applied patch from Peter Hardie (with
1.1123 + changes) to fix problem with Tcl_GetIndexFromObj() when the key
1.1124 + being passed is the empty string. It used to match "" and return
1.1125 + TCL_OK, but it should have returned TCL_ERROR instead. Added test
1.1126 + case to "binary" and "dde" commands to check the behavior. Added
1.1127 + documentation note as well.
1.1128 +
1.1129 +1999-06-26 <redman@scriptics.com>
1.1130 +
1.1131 + * win/tclWinDde.c: Applied patch from Peter Hardie to add poke
1.1132 + command to dde. Also rev'd version of dde package to 1.1.
1.1133 + [Bug: 1738]
1.1134 +
1.1135 +1999-06-25 Jennifer Hom <jenn@scriptics.com>
1.1136 +
1.1137 + * unix/Makefile.in:
1.1138 + * win/Makefile.in:
1.1139 + * library/tcltest1.0/pkgIndex.tcl:
1.1140 + * library/tcltest1.0/tcltest.tcl:
1.1141 + * library/tcltest1.0: Added initial implementation of the Tcl test
1.1142 + harness package. This package was based on the defs.tcl file that
1.1143 + was part of the tests directory. Reversed the way that tests were
1.1144 + evaluated to fix a problem with false passes.
1.1145 +
1.1146 + * doc/tcltest.n: Added documentation for the tcltest package.
1.1147 +
1.1148 + * tests/README:
1.1149 + * tests/defs.tcl:
1.1150 + * tests/all.tcl: Modified all test files (tests/*.test) and
1.1151 + all.tcl to use the new tcltest package and removed references to
1.1152 + the defs.tcl file. Modified the README file to point to the man
1.1153 + page for tcltest.
1.1154 +
1.1155 +1999-06-25 <stanton@scriptics.com>
1.1156 +
1.1157 + * tests/reg.test:
1.1158 + * generic/regexec.c: Fixed bugs in non-greedy quantifiers.
1.1159 +
1.1160 +1999-06-23 <jpeek@scriptics.com>
1.1161 +
1.1162 + * doc/re_syntax.n:
1.1163 + * doc/switch.n:
1.1164 + * doc/lsearch.n:
1.1165 + * doc/RegExp.3:
1.1166 + * doc/regexp.n:
1.1167 + * doc/regsub.n: Moved information about syntax of 8.1 regular
1.1168 + expressions from regexp(n) manpage into new re_syntax(n) page.
1.1169 + Added pointers from other manpages to new re_syntax(n) page.
1.1170 +
1.1171 +1999-06-23 <stanton@scriptics.com>
1.1172 +
1.1173 + * unix/Makefile.in: Changed install-doc to install-man.
1.1174 +
1.1175 + * tools/uniParse.tcl:
1.1176 + * tools/uniClass.tcl:
1.1177 + * tools/README:
1.1178 + * tests/string.test:
1.1179 + * generic/regc_locale.c:
1.1180 + * generic/tclUniData.c:
1.1181 + * generic/tclUtf.c:
1.1182 + * doc/string.n: Updated Unicode character tables to reflect latest
1.1183 + Unicode 2.1 data. Also rationalized "regexp" and "string is"
1.1184 + definitions of character classes.
1.1185 +
1.1186 +1999-06-21 <stanton@scriptics.com>
1.1187 +
1.1188 + * unix/tclUnixThrd.c (TclpThreadCreate): Fixed memory leak where
1.1189 + thread attributes were not being released. [Bug: 2254]
1.1190 +
1.1191 +1999-06-17 <stanton@scriptics.com>
1.1192 +
1.1193 + * tests/regexp.test:
1.1194 + * generic/tclCmdMZ.c:
1.1195 + * generic/tclCmdIL.c: Changed to use new regexp interfaces. Added
1.1196 + -expanded, -line, -linestop, and -lineanchor switches to regsub.
1.1197 +
1.1198 + * doc/RegExp.3: Documented the new regexp interfaces and
1.1199 + the compile/execute flags.
1.1200 +
1.1201 + * generic/tclTest.c:
1.1202 + * generic/tclRegexp.h:
1.1203 + * generic/tclRegexp.c:
1.1204 + * generic/tcl.h:
1.1205 + * generic/tcl.decls: Renamed Tcl_RegExpMatchObj to
1.1206 + Tcl_RegExpExecObj and added a new Tcl_RegExpMatchObj that is
1.1207 + equivalent to Tcl_RegExpMatch. Added public macros for the regexp
1.1208 + compile/execute flags. Changed to store either an object pointer
1.1209 + or a string pointer in the TclRegexp structure. Changed to avoid
1.1210 + adding a reference to the object or copying the string.
1.1211 +
1.1212 + * generic/regcomp.c: lint
1.1213 +
1.1214 + * tests/reg.test:
1.1215 + * generic/regex.h:
1.1216 + * generic/regc_lex.c: Added REG_BOSONLY flag to allow Expect to
1.1217 + iterate through a string an only find matches that start at the
1.1218 + current position within the string.
1.1219 +
1.1220 +1999-06-16 <wart@scriptics.com>
1.1221 +
1.1222 + * unix/configure.in:
1.1223 + * unix/Makefile.in:
1.1224 + * unix/tcl.m4:
1.1225 + * unix/aclocal.m4: Numerous build changes to make Tcl conform to the
1.1226 + proposed TEA spec
1.1227 +
1.1228 +1999-06-16 Melissa Hirschl <hershey@matisse.scriptics.com>
1.1229 +
1.1230 + * generic/tclVar.c (Tcl_VariableObjCmd): fixed premature increment
1.1231 + in loop that was causing out-of-bounds reads on array "varName".
1.1232 +
1.1233 +1999-06-16 <stanton@scriptics.com>
1.1234 +
1.1235 + * tests/execute.test:
1.1236 + * generic/tclExecute.c (TclExecuteByteCode): Fixed crash caused by
1.1237 + a bug in INST_LOAD_SCALAR1 where the scalar index was read as
1.1238 + a signed 1 byte value instead of unsigned. [Bug: 2243]
1.1239 +
1.1240 +1999-06-14 Melissa Hirschl <hershey@matisse.scriptics.com>
1.1241 +
1.1242 + * doc/StringObj.3
1.1243 + * test/stringObj.test
1.1244 + * unix/Makefile.in
1.1245 + * win/Makefile.in
1.1246 + * win/makefile.vc
1.1247 + * generic/tclStringObj.c:
1.1248 + Merged String and Unicode object types. Added new functions to
1.1249 + the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj,
1.1250 + Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange,
1.1251 + Tcl_AppendUnicodeToObj.
1.1252 +
1.1253 +1999-06-09 <stanton@scriptics.com>
1.1254 +
1.1255 + * generic/tclUnicodeObj.c: Lots of cleanup and simplification.
1.1256 + Fixed several memory bugs. Added TclAppendUnicodeToObj.
1.1257 +
1.1258 + * generic/tclInt.h: Added declarations for various Unicode string
1.1259 + functions.
1.1260 +
1.1261 + * generic/tclRegexp.c:
1.1262 + * generic/tclCmdMZ.c: Changed to use new Unicode string interfaces
1.1263 + for better performance.
1.1264 +
1.1265 + * generic/tclRegexp.h:
1.1266 + * generic/tclRegexp.c:
1.1267 + * generic/tcl.h:
1.1268 + * generic/tcl.decls: Added Tcl_RegExpMatchObj and
1.1269 + Tcl_RegExpGetInfo calls to access lower level regexp API. These
1.1270 + features are needed by Expect. This is a preliminary
1.1271 + implementation pending final review and cleanup.
1.1272 +
1.1273 + * generic/tclCmdMZ.c:
1.1274 + * tests/string.test: Fixed bug where string map failed on null
1.1275 + strings.
1.1276 +
1.1277 + * generic/regexec.c:
1.1278 + * unix/tclUnixNotfy.c: lint
1.1279 +
1.1280 + * tools/genStubs.tcl: Changed to always write output in LF mode.
1.1281 +
1.1282 +1999-06-08 <stanton@scriptics.com>
1.1283 +
1.1284 + * win/tclWinSock.c: Rolled back to the 8.1.0 implementation
1.1285 + because of serious problems with the new driver. Basically no
1.1286 + incoming socket connections would be reported to a server port.
1.1287 + The 8.1.1 code needs to be redesigned and fixed correctly.
1.1288 +
1.1289 +1999-06-07 Melissa Hirschl <hershey@matisse.scriptics.com>
1.1290 +
1.1291 + * tests/string.test:
1.1292 + * generic/tclVar.c (Tcl_SetVar2Ex):
1.1293 + * generic/tclStringObj.c (Tcl_AppendObjToObj):
1.1294 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string
1.1295 + index, string length, string range, and append command in cases
1.1296 + where the object's internal rep is a bytearray. Objects with
1.1297 + other internal reps are converted to have the new unicode internal
1.1298 + rep.
1.1299 +
1.1300 + * unix/Makefile.in:
1.1301 + * win/Makefile.in:
1.1302 + * win/Makefile.vc:
1.1303 + * tests/unicode.test:
1.1304 + * generic/tclInt.h:
1.1305 + * generic/tclObj.c:
1.1306 + * generic/tclUnicodeObj.c: added a new object type to store the
1.1307 + unicode representation of a string.
1.1308 +
1.1309 + * generic/tclTestObj.c: added the objtype option to the testobj
1.1310 + command. This option returns the name of the type of internal rep
1.1311 + an object has.
1.1312 +
1.1313 +1999-06-04 <stanton@scriptics.com>
1.1314 +
1.1315 + * win/configure.in:
1.1316 + * win/Makefile.in: Windows build now handles static/dynamic
1.1317 + debug/nodebug builds and supports the standard targets using
1.1318 + Cygwin user tools plus GNU make and autoconf.
1.1319 +
1.1320 +1999-06-03 <stanton@scriptics.com>
1.1321 +
1.1322 + * generic/tclCmdMZ.c (Tcl_StringObjCmd):
1.1323 + * tests/string.test: Fixed bug where string equal/compare -nocase
1.1324 + reported wrong result on null strings. [Bug: 2138]
1.1325 +
1.1326 +1999-06-02 <stanton@scriptics.com>
1.1327 +
1.1328 + * generic/tclUtf.c (Tcl_UtfNcasecmp): Fixed incorrect computation
1.1329 + of relative ordering. [Bug: 2135]
1.1330 +
1.1331 +1999-06-01 <stanton@scriptics.com>
1.1332 +
1.1333 + * unix/configure.in: Fixed various small configure.in patches
1.1334 + submitted by Jan Nijtmans. [Bug: 2121]
1.1335 +
1.1336 + * tests/reg.test:
1.1337 + * generic/regc_color.c:
1.1338 + * generic/regc_cvec.c:
1.1339 + * generic/regc_lex.c:
1.1340 + * generic/regc_locale.c:
1.1341 + * generic/regc_nfa.c:
1.1342 + * generic/regcomp.c:
1.1343 + * generic/regcustom.h:
1.1344 + * generic/rege_dfa.c:
1.1345 + * generic/regerror.c:
1.1346 + * generic/regerrs.h:
1.1347 + * generic/regex.h:
1.1348 + * generic/regexec.c:
1.1349 + * generic/regfree.c:
1.1350 + * generic/regfronts.c:
1.1351 + * generic/regguts.h:
1.1352 + * generic/tclCmdMZ.c:
1.1353 + * generic/tclRegexp.c:
1.1354 + * generic/tclRegexp.h:
1.1355 + * generic/tclTest.c: Applied Henry Spencer's latest regexp patches
1.1356 + that fix an infinite loop bug and add support for testing whether
1.1357 + a string could match with additional input. [Bug: 2117]
1.1358 +
1.1359 +1999-05-28 <stanton@scriptics.com>
1.1360 +
1.1361 + * generic/tclObj.c: Changed to eliminate use of isupper/tolower in
1.1362 + favor of the Unicode versions.
1.1363 +
1.1364 + * win/Makefile.in:
1.1365 + * win/configure.in: Added preliminary TEA implementation.
1.1366 +
1.1367 + * win/tclWinDde.c: Fixed bug where dde calls were being passed an
1.1368 + invalid dde handle because Initialize had not been called.
1.1369 + [Bug: 2124]
1.1370 +
1.1371 +1999-05-26 <redman@scriptic.com>
1.1372 +
1.1373 + * generic/tclThreadTest.c: Fixed race condition in testthread
1.1374 + code that showed up in the WinNT test suite intermittently.
1.1375 +
1.1376 + * win/tclWinSock.c: Fixed a hang in the WinNT socket driver, wake
1.1377 + up the socket thread every 100ms to check for events on the
1.1378 + sockets that did not wake up the thread (race condition).
1.1379 +
1.1380 +1999-05-24 <stanton@scriptics.com>
1.1381 +
1.1382 + * tools/genStubs.tcl: Changed to allow a list of platforms instead
1.1383 + of just one at a time.
1.1384 +
1.1385 + * generic/tcl.decls:
1.1386 + * generic/tclCmdMZ.c:
1.1387 + * generic/tclDecls.h:
1.1388 + * generic/tclInt.decls:
1.1389 + * generic/tclIntDecls.h:
1.1390 + * generic/tclPort.h:
1.1391 + * generic/tclStubInit.c:
1.1392 + * generic/tclStubLib.c: Various header file related changes and other
1.1393 + lint to try to get the Mac builds working.
1.1394 +
1.1395 +1999-05-21 <redman@scriptics.com>
1.1396 +
1.1397 + * win/tclWinPipe.c: Fix bug when launching command.com on
1.1398 + Win95/98. Need to wait for the procInfo.hProcess of the process that
1.1399 + was created, not the hProcess of the current process. [Bug: 2105]
1.1400 +
1.1401 +1999-05-20 <redman@scriptics.com>
1.1402 +
1.1403 + * library/init.tcl: Add the directory where the executable is, and
1.1404 + the ../lib directory relative to that, to the auto_path variable.
1.1405 +
1.1406 +1999-05-19 <stanton@scriptics.com>
1.1407 +
1.1408 + Merged in various changes submitted by Jeff Hobbs:
1.1409 +
1.1410 + * generic/tcl.decls:
1.1411 + * generic/tclUtf.c: Added Tcl_UniCharIs* functions for control,
1.1412 + graph, print, and punct classes.
1.1413 +
1.1414 + * generic/tclUtil.c:
1.1415 + * doc/StrMatch.3: Added Tcl_StringCaseMatch() implementation to
1.1416 + support case-insensitive globbing.
1.1417 +
1.1418 + * doc/string.n:
1.1419 + * unix/mkLinks:
1.1420 + * tests/string.test:
1.1421 + * generic/tclCmdMZ.c: Added additional character class tests,
1.1422 + added -nocase switch to "string match", changed string first/last
1.1423 + to use offsets.
1.1424 +
1.1425 +1999-05-19 <redman@scriptics.com>
1.1426 +
1.1427 + * generic/tcl.h: Add extern "C" block around entire header file for
1.1428 + C++ compilers to fix linkage issues. Submitted by Don Porter and
1.1429 + Paul Duffin.
1.1430 +
1.1431 + * generic/tclRegexp.c: Fix bug when the regexp cache is empty
1.1432 + and an empty pattern is used in regexp ( such as {} or "" ).
1.1433 +
1.1434 +1999-05-18 <stanton@scriptics.com>
1.1435 +
1.1436 + * win/tclWinChan.c: Modified initialization code to avoid
1.1437 + inherenting closed or invalid channels. If the standard input is
1.1438 + anything other than a console, file, serial port, or pipe, then we
1.1439 + fall back to the standard Tk window console.
1.1440 +
1.1441 +1999-05-14 <stanton@scriptics.com>
1.1442 +
1.1443 + * generic/tclCmdAH.c (Tcl_ForObjCmd): Fixed crash caused by
1.1444 + failure to reset the result before evaluating the test
1.1445 + expression.
1.1446 +
1.1447 +1999-05-14 <surles@scriptics.com>
1.1448 +
1.1449 + * generic/tclBasic.c (Tcl_CreateInterp): Added introspection
1.1450 + variable for threaded interps. If the interp was compiled with
1.1451 + threads enabled, the tcl_platform(threaded) variable will exist.
1.1452 +
1.1453 +1999-05-14 <redman@scriptics.com>
1.1454 +
1.1455 + * generic/tclDate.c: Applied patch to fix 100-year and 400-year
1.1456 + boundaries in leap year code, from Isaac Hollander. [Bug: 2066]
1.1457 +
1.1458 +1999-05-13 <stanton@scriptics.com>
1.1459 +
1.1460 + * unix/Makefile.in:
1.1461 + * unix/tclAppInit.c: Minor cleanup related to Xt notifier.
1.1462 +
1.1463 + * unix/tclUnixInit.c (TclpSetInitialEncodings): Tcl now looks for
1.1464 + an encoding subfield in the LANG/LC_ALL variables in cases where
1.1465 + the locale is not found in the locale table. Ensure that
1.1466 + setlocale() is called at least once so X11 will initialize
1.1467 + properly. Also, forces the LC_NUMERIC locale to be "C" so numeric
1.1468 + processing in scripts is not affected by the current locale
1.1469 + setting. [Bug: 1989]
1.1470 +
1.1471 + * generic/tclRegexp.c: Increased per-thread regexp cache to 30
1.1472 + slots. This seems to be about the right number for larger
1.1473 + applications like exmh. [Bug: 1063]
1.1474 +
1.1475 +1999-05-12 <stanton@scriptics.com>
1.1476 +
1.1477 + * doc/tclsh.1: Updated references to rc script names to accurately
1.1478 + reflect the platform differences on Windows.
1.1479 +
1.1480 + * tests/regexp.test:
1.1481 + * generic/tclInt.h:
1.1482 + * generic/tclBasic.c:
1.1483 + * generic/tclRegexp.h:
1.1484 + * generic/tclRegexp.c: Replaced the per-interpreter regexp cache
1.1485 + with a per-thread cache. Changed the Regexp object to take
1.1486 + advantage of this extra cache. Added a reference count to the
1.1487 + TclRegexp type so regexps can be shared by multiple objects.
1.1488 + Removed the per-interp regexp cache from the interpreter. Now
1.1489 + regexps can be used with no need for an interpreter. [Bug: 1063]
1.1490 +
1.1491 + * win/tclWinInit.c (TclpSetVariables): Avoid calling GetUserName
1.1492 + if the value can be determined from the USERNAME environment
1.1493 + variable. GetUserName is very slow.
1.1494 +
1.1495 +1999-05-07 <stanton@scriptics.com>
1.1496 +
1.1497 + * win/winDumpExts.c:
1.1498 + * win/makefile.vc: Removed incorrect patch. [Bug: 1998]
1.1499 +
1.1500 + * generic/tcl.decls: Replaced const with CONST.
1.1501 +
1.1502 + * generic/tclResult.c (Tcl_AppendResultVA):
1.1503 + * generic/tclStringObj.c (Tcl_AppendStringsToObjVA): Fixed to copy
1.1504 + arglist using memcpy instead of assignment so it works properly on
1.1505 + OS/390. [Bug: 1997]
1.1506 +
1.1507 + * generic/tclLoadNone.c: Updated to use current interfaces, added
1.1508 + TclpUnloadFile. [Bug: 2003]
1.1509 +
1.1510 + * win/winDumpExts.c:
1.1511 + * win/makefile.vc: Changed to emit library name in defs
1.1512 + file. [Bug: 1998]
1.1513 +
1.1514 + * unix/configure.in: Added fix for OS/390. [Bug: 1976]
1.1515 +
1.1516 +1999-05-06 <stanton@scriptics.com>
1.1517 +
1.1518 + * tests/string.test:
1.1519 + * generic/tclCmdMZ.c:
1.1520 + * doc/string.n: Fixed bug in string equal/compare code when using
1.1521 + -length option. Cleaned up docs a bit more.
1.1522 +
1.1523 + * tests/http.test: Unset "data" array before running tests to
1.1524 + avoid failures due to previous tests.
1.1525 +
1.1526 + * doc/string.n:
1.1527 + * tests/cmdIL.test:
1.1528 + * tests/cmdMZ.test:
1.1529 + * tests/error.test:
1.1530 + * tests/ioCmd.test:
1.1531 + * tests/lindex.test:
1.1532 + * tests/linsert.test:
1.1533 + * tests/lrange.test:
1.1534 + * tests/lreplace.test:
1.1535 + * tests/string.test:
1.1536 + * tests/cmdIL.test:
1.1537 + * generic/tclUtil.c:
1.1538 + * generic/tclCmdMZ.c: Replaced "string icompare/iequal" with
1.1539 + -nocase and -length switches to "string compare/equal". Added a
1.1540 + -nocase option to "string map". Changed index syntax to allow
1.1541 + integer or end?-integer? instead of a full expression. This is
1.1542 + much simpler with safeTcl scripts since it avoids double
1.1543 + substitution issues.
1.1544 +
1.1545 + * doc/Utf.3:
1.1546 + * generic/tclStubInit.c:
1.1547 + * generic/tclDecls.h:
1.1548 + * generic/tclUtf.c:
1.1549 + * generic/tcl.decls: Added Tcl_UtfNcmp and Tcl_UtfNcasecmp.
1.1550 +
1.1551 +1999-05-05 <stanton@scriptics.com>
1.1552 +
1.1553 + * win/makefile.vc: Added encoding directory to install-libraries
1.1554 + target.
1.1555 +
1.1556 +1999-05-03 <stanton@scriptics.com>
1.1557 +
1.1558 + * doc/string.n:
1.1559 + * tests/cmdMZ.test:
1.1560 + * tests/string.test:
1.1561 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): Changed "string length"
1.1562 + to avoid regenerating the string rep of a ByteArray object.
1.1563 +
1.1564 + * tests/cmdIL.test:
1.1565 + * tests/cmdMZ.test:
1.1566 + * tests/error.test:
1.1567 + * tests/lindex.test:
1.1568 + * tests/linsert.test:
1.1569 + * tests/lrange.test:
1.1570 + * tests/lreplace.test:
1.1571 + * tests/string.test:
1.1572 + * generic/tclCmdMZ.c (Tcl_StringObjCmd):
1.1573 + * generic/tclUtil.c (TclGetIntForIndex): Applied Jeff Hobbs's
1.1574 + string patch which includes the following changes [Bug: 1845]:
1.1575 +
1.1576 + - string compare now takes optional length arg (for strncmp
1.1577 + behavior)
1.1578 +
1.1579 + - added string equal (just a few lines of code blended
1.1580 + in with string compare)
1.1581 +
1.1582 + - added string icompare/iequal for case-insensitive comparisons
1.1583 +
1.1584 + - string index's index can now be ?end[+-]?expression
1.1585 + I made this change in the private TclGetIntForIndex,
1.1586 + which means that the list commands also benefit, as
1.1587 + well as string range, et al.
1.1588 +
1.1589 + - added [string repeat string count]
1.1590 + Repeats given string number of times
1.1591 +
1.1592 + - added string replace, string equiv to lreplace
1.1593 + (quasi opposite of string range):
1.1594 + string replace first last ?string?
1.1595 + Example of use, replacing end of string with ...
1.1596 + should the string be more than 16 chars long:
1.1597 + string replace $string 16 end "..."
1.1598 + This just returns the string len < 16, so it
1.1599 + will only affect the long strings.
1.1600 +
1.1601 + - added optional first and last args to string to*
1.1602 + This allows you to just affect certain regions of
1.1603 + a string with the command (like just capping the
1.1604 + first letter). I found the original totitle to
1.1605 + be too draconian to be useful.
1.1606 +
1.1607 + - added [string map charMap string]
1.1608 + where charMap is a {from to from to} list that equates to
1.1609 + what one might get from [array get]. Each and
1.1610 + can be multiple chars (or none at all). For Tcl/CGI users,
1.1611 + this is a MAJOR speed booster.
1.1612 +
1.1613 + * generic/tclParse.c (Tcl_ParseCommand): Changed to avoid
1.1614 + modifying eval'ed strings that are already null terminated.
1.1615 + [Bug: 1793]
1.1616 +
1.1617 + * tests/binary.test:
1.1618 + * generic/tclBinary.c (DupByteArrayInternalRep): Fixed bug where
1.1619 + type was not being set in duplicated object. [Bug: 1975, 2047]
1.1620 +
1.1621 +1999-04-30 <stanton@scriptics.com>
1.1622 +
1.1623 + * Changed version to 8.1.1.
1.1624 +
1.1625 +1999-04-30 <stanton@scriptics.com>
1.1626 +
1.1627 + * Merged changes from 8.1.0 branch:
1.1628 +
1.1629 + * generic/tclParse.c: Fixed memory leak in CommandComplete.
1.1630 +
1.1631 + * generic/tclPlatDecls.h:
1.1632 + * generic/tclIntPlatDecls.h:
1.1633 + * generic/tclIntDecls.h:
1.1634 + * generic/tclDecls.h:
1.1635 + * tools/genStubs.tcl: Added 'extern "C" {}' block around the stub
1.1636 + table pointer declaration so the stub library can be used from
1.1637 + C++. [Bug: 1934]
1.1638 +
1.1639 + * Lots of documentation and other release engineering fixes.
1.1640 +
1.1641 +1999-04-28 <stanton@scriptics.com>
1.1642 +
1.1643 + * mac/tclMacResource.c:
1.1644 + * generic/tclListObj.c:
1.1645 + * generic/tclObj.c:
1.1646 + * generic/tclStringObj.c: Changed to avoid freeing the string
1.1647 + representation before freeing the internal rep. This helps with
1.1648 + debugging since the string rep will still be valid when the free
1.1649 + proc is invoked.
1.1650 +
1.1651 +1999-04-27 <stanton@scriptics.com>
1.1652 +
1.1653 + * generic/tclLiteral.c (TclHideLiteral): Fixed so hidden literals
1.1654 + get duplicated to avoid accidental sharing in the global object
1.1655 + table.
1.1656 +
1.1657 +1999-04-23 <stanton@scriptics.com>
1.1658 +
1.1659 + * generic/tclStubInit.c:
1.1660 + * tools/genStubs.tcl: Changed to avoid the need for forward
1.1661 + declarations in stub initializers.
1.1662 +
1.1663 +1999-04-23 <stanton@scriptics.com>
1.1664 +
1.1665 + * library/encoding/koi8-r.enc:
1.1666 + * tools/encoding/koi8-r.txt: Added support for the koi8-r Cyrillic
1.1667 + encoding. [Bug: 1771]
1.1668 +
1.1669 +1999-04-22 <stanton@scriptics.com>
1.1670 +
1.1671 + * win/tclWinFCmd.c:
1.1672 + * win/tclWin32Dll.c: Changed uses of "try" to "__try", since that
1.1673 + is the actual keyword. This eliminates the need for some -D flags
1.1674 + from the makefile.
1.1675 +
1.1676 + * generic/tclPort.h: Added include of tcl.h since it defines
1.1677 + various Windows macros that are needed before deciding which
1.1678 + platform porting file to use.
1.1679 +
1.1680 + * generic/tclEvent.c: lint
1.1681 +
1.1682 + * win/tclWinInit.c (TclpInitPlatform): Added call to TclWinInit
1.1683 + when building a static library since DllMain will not be invoked.
1.1684 + This could break old code that explicitly called TclWinInit, but
1.1685 + should be simpler in the long run.
1.1686 +
1.1687 +1999-04-22 Scott Stanton <stanton@scriptics.com>
1.1688 +
1.1689 + * generic/tclInt.h:
1.1690 + * generic/tclInt.decls:
1.1691 + * generic/tclCompile.c: Added TclSetByteCodeFromAny that takes a
1.1692 + hook procedure to invoke after compilation but before the byte
1.1693 + codes are emitted. This makes it possible to do postprocessing on
1.1694 + the compiled byte codes before the ByteCode is generated.
1.1695 +
1.1696 + * generic/tclLiteral.c: Added TclHideLiteral and TclAddLiteralObj
1.1697 + to make it possible to create local unshared literal objects.
1.1698 +
1.1699 + * win/tclWinInit.c:
1.1700 + * unix/tclUnixInit.c: Changed initial search path to match that
1.1701 + found used by tcl_findLibrary.
1.1702 +
1.1703 +1999-04-22 <redman@scriptics.com>
1.1704 +
1.1705 + * win/tclWinPort.h:
1.1706 + * win/tclWinSock.c: Added code to use WinSock 2.0 API on NT to
1.1707 + avoid creating a window to handle sockets. API not available on
1.1708 + Win95 and needs to be fixed on Win98, until then continue to use
1.1709 + the older (window-based) scheme on those two OSes.
1.1710 +
1.1711 +1999-04-15 <stanton@scriptics.com>
1.1712 +
1.1713 + * Merged 8.1 back into the main trunk
1.1714 +
1.1715 +1999-04-13 <stanton@scriptics.com>
1.1716 +
1.1717 + * library/encoding/gb2312.enc:
1.1718 + * library/encoding/euc-cn.enc:
1.1719 + * tools/encoding/gb2312.txt:
1.1720 + * tools/encoding/cp950.txt:
1.1721 + * tools/encoding/Makefile: Restored the double byte definition of
1.1722 + GB2312 and added the EUC-CN encoding. EUC-CN is a variant of
1.1723 + GB2312 that shifts the characters into bytes with the high bit set
1.1724 + and includes ASCII as a subset. [Bug: 632]
1.1725 +
1.1726 +1999-04-13 <redman@scriptics.com>
1.1727 +
1.1728 + * win/tclWinSock.c: Apply patch to allow write access to a socket
1.1729 + if FD_WRITE is sent but FD_CONNECT is not. Some strange problem
1.1730 + with either Win32 or a socket driver. [Bug: 1664 1776]
1.1731 +
1.1732 +1999-04-09 <redman@scriptics.com>
1.1733 +
1.1734 + * unix/tclUnixNotfy.c: Fixed notifier deadlock situation when the
1.1735 + pipe used to talk back notifier thread is filled with data. When
1.1736 + calling the write() function to feed data down that pipe, unlock
1.1737 + the notifierMutex to allow the notifier to wake up again. Found
1.1738 + as a result of the focus.test for Tk hanging. [Bug: 1700]
1.1739 +
1.1740 +1999-04-06 <stanton@scriptics.com>
1.1741 +
1.1742 + * tests/unixNotfy.test: Fixed hang in tests when built with thread
1.1743 + support.
1.1744 +
1.1745 + * tests/httpold.test: Fixed broken test that didn't wait long
1.1746 + enough for events to arrive.
1.1747 +
1.1748 + * tests/unixInit.test: Fixed race condition in test.
1.1749 +
1.1750 + * tests/unixInit.test:
1.1751 + * tests/fileName.test: Minor test nits.
1.1752 +
1.1753 + * unix/tclUnixInit.c (TclpSetInitialEncodings): Fixed bad initial
1.1754 + encoding string.
1.1755 +
1.1756 +1999-04-06 <surles@scriptics.com>
1.1757 +
1.1758 + * generic/tclVar.c:
1.1759 + * generic/tclEnv.c: Moved the "array set" C level code into a
1.1760 + common routine (TclArraySet). The TclSetupEnv routine now uses
1.1761 + this API to create an env array w/ no elements.
1.1762 +
1.1763 + * generic/tclEnv.c:
1.1764 + * generic/tclWinInit.h:
1.1765 + * generic/tclUnixInit.h:
1.1766 + * generic/tclInt.h: Made the Env module I18N compliant. Changed the
1.1767 + FindVariable routine to TclpFindVariable, that now does a case
1.1768 + insensitive string comparison on Windows, and not on UNIX. [Bug:
1.1769 + 1299, 1500]
1.1770 +
1.1771 +1999-04-05 <stanton@scriptics.com>
1.1772 +
1.1773 + * tests/io.test: Minor test cleanup.
1.1774 +
1.1775 + * generic/tclEncoding.c (Tcl_CreateEncoding): Minor lint to make
1.1776 + it easier to compile on Digital-unix. [Bug: 1659]
1.1777 +
1.1778 + * unix/configure.in:
1.1779 + * unix/tclUnixPort.h: Applied patch for OS/390 to handle lack of
1.1780 + sys/param.h. [Bug: 1725]
1.1781 +
1.1782 + * unix/configure.in: Fixed BSD/OS 4.* configuration to support
1.1783 + shared libraries properly. [Bug: 1730]
1.1784 +
1.1785 +1999-04-05 <redman@scriptics.com>
1.1786 +
1.1787 + * win/tclWinDde.c: decrease timeout value for DDE calls to 30k
1.1788 + [Bug: 1639]
1.1789 +
1.1790 + * generic/tcl.decls:
1.1791 + * generic/tcl.h:
1.1792 + * generic/tclDecls.h:
1.1793 + * generic/tclInt.decls:
1.1794 + * generic/tclInt.h:
1.1795 + * generic/tclIntDecls.h:
1.1796 + * generic/tclStubInit.c:
1.1797 + * generic/tclUtil.c: Added more functions to the Tcl stubs table,
1.1798 + including all Tcl_ functions not already in it (except Cmd
1.1799 + functions) and Tcl_GetCwd() and Tcl_Chdir() (new functions).
1.1800 +
1.1801 + * tests/safe.test:
1.1802 + * doc/safe.n:
1.1803 + * generic/tclBasic.c:
1.1804 + * library/safe.tcl: The encoding command is not safe as-is, so
1.1805 + create a safe alias to mask out the "encoding system <name>" but
1.1806 + allow all other uses including "encoding system". Added test cases
1.1807 + and updated the man page for Safe Tcl.
1.1808 +
1.1809 +1999-04-05 <stanton@scriptics.com>
1.1810 +
1.1811 + * tests/winTime.test:
1.1812 + * win/tclWinTime.c: Fixed crash in clock command that occurred
1.1813 + when manipulating negative time values in timezones east of
1.1814 + GMT. [Bug: 1142, 1458]
1.1815 +
1.1816 + * tests/platform.test:
1.1817 + * tests/fileName.test: Fixed broken tests.
1.1818 +
1.1819 + * generic/tclFileName.c: Moved global regexps into thread local
1.1820 + storage.
1.1821 +
1.1822 + * tests/socket.test: Changed so tests don't reuse sockets,
1.1823 + since Windows is slow to release sockets.
1.1824 +
1.1825 + * win/tclWinConsole.c:
1.1826 + * win/tclWinPipe.c:
1.1827 + * win/tclWinSerial.c: Fixed race condition where background
1.1828 + threads were terminated while they still held a lock in the
1.1829 + notifier.
1.1830 +
1.1831 +1999-04-02 <stanton@scriptics.com>
1.1832 +
1.1833 + * tests/http.test: Fixed bad test initialization code.
1.1834 +
1.1835 + * generic/tclThreadTest.c (ThreadExitProc): Fixed bug where static
1.1836 + memory was being returned instead of a dynamically allocated
1.1837 + result in error cases.
1.1838 +
1.1839 +1999-04-02 <redman@scriptics.com>
1.1840 +
1.1841 + * doc/dde.n:
1.1842 + * tools/tcl.wse.in:
1.1843 + * win/makefile.vc:
1.1844 + * win/pkgIndex.tcl:
1.1845 + * win/tclWinDde.c: Add new DDE package, code removed from Tk now
1.1846 + separated into its own package. Changed DDE-based send code into
1.1847 + "dde eval" command. Can be loaded into tclsh (not just wish).
1.1848 + Windows only.
1.1849 +
1.1850 +1999-04-02 <stanton@scriptics.com>
1.1851 +
1.1852 + * tests/expr.test:
1.1853 + * tests/for-old.test:
1.1854 + * tests/for.test:
1.1855 + * tests/foreach.test:
1.1856 + * tests/format.test:
1.1857 + * tests/httpold.test:
1.1858 + * tests/if.test:
1.1859 + * tests/init.test:
1.1860 + * tests/interp.test:
1.1861 + * tests/while.test: Added some tests for known bugs (marked with
1.1862 + knownBug constraint), and cleaned up a few bad tests.
1.1863 +
1.1864 + * generic/regc_locale.c:
1.1865 + * generic/regcustom.h:
1.1866 + * generic/tcl.decls:
1.1867 + * generic/tclCmdIL.c:
1.1868 + * generic/tclCmdMZ.c:
1.1869 + * generic/tclInt.h:
1.1870 + * generic/tclRegexp.c:
1.1871 + * generic/tclScan.c:
1.1872 + * generic/tclTest.c:
1.1873 + * generic/tclUtf.c:
1.1874 + * win/tclWinFCmd.c:
1.1875 + * win/tclWinFile.c: Made various Unicode utility functions
1.1876 + public. The following functions were made public and added to the
1.1877 + stubs table:
1.1878 + Tcl_UtfToUniCharDString, Tcl_UniCharToUtfDString,
1.1879 + Tcl_UniCharLen, Tcl_UniCharNcmp, Tcl_UniCharIsAlnum,
1.1880 + Tcl_UniCharIsAlpha, Tcl_UniCharIsDigit, Tcl_UniCharIsLower,
1.1881 + Tcl_UniCharIsSpace, Tcl_UniCharIsUpper, Tcl_UniCharIsWordChar
1.1882 +
1.1883 +1999-04-01 <stanton@scriptics.com>
1.1884 +
1.1885 + * tests/registry.test:
1.1886 + * win/tclWinReg.c: Internationalized the registry code. It now
1.1887 + uses Unicode interfaces on NT. [Bug: 1197]
1.1888 +
1.1889 + * tests/parse.test:
1.1890 + * generic/tclParse.c: Fixed crash due to multiple frees in parser
1.1891 + during error cleanup when parsing commands with more tokens than
1.1892 + will fit in the static area of the parse structure. [Bug: 1681]
1.1893 +
1.1894 + * generic/tclInt.h: Removed duplicate declarations.
1.1895 +
1.1896 + * generic/tclInt.decls:
1.1897 + * generic/tcl.decls: Added Tcl_WinUtfToTChar and Tcl_WinTCharToUtf
1.1898 + to the tclPlat table.
1.1899 +
1.1900 +1999-04-01 <redman@scriptics.com>
1.1901 +
1.1902 + * generic/tcl.decls:
1.1903 + * generic/tcl.h:
1.1904 + * generic/tclBasic.c:
1.1905 + * generic/tclDecls.h:
1.1906 + * generic/StubInit.c:
1.1907 + * tools/genStubs.tcl:
1.1908 + * unix/Makefile.in:
1.1909 + * win/makefile.vc: Applied patch from Jan Nijtmans to fix Ultrix
1.1910 + multiple symbol definition problem. Now, even Tcl includes a copy
1.1911 + of the Tcl stub library. Also fixed TCL_MEM_DEBUG mode (for Tk).
1.1912 +
1.1913 +1999-03-31 <redman@scriptics.com>
1.1914 +
1.1915 + * win/tclWinConsole.c: WinNT has a bug when reading a single
1.1916 + character from the console. Rewrote the code for the console to
1.1917 + read an entire line at a time using the reader thread.
1.1918 +
1.1919 +1999-03-30 <stanton@scriptics.com>
1.1920 +
1.1921 + * unix/Makefile.in: Removed trailing backslash that broke the
1.1922 + "depend" target.
1.1923 +
1.1924 + * unix/tclUnixInit.c (TclpSetInitialEncodings): Changed to avoid
1.1925 + calling setlocale(). We now look directly at env(LANG) and
1.1926 + env(LC_CTYPE) instead. [Bug: 1636]
1.1927 +
1.1928 + * generic/tclFileName.c:
1.1929 + * generic/tclDecls.h:
1.1930 + * generic/tcl.decls: Removed CONST from Tcl_JoinPath and
1.1931 + Tcl_TranslateFileName because it changes the signature of
1.1932 + Tcl_JoinPath in an incompatible manner.
1.1933 +
1.1934 + * generic/tclInt.h:
1.1935 + * generic/tclLoad.c (TclFinalizeLoad):
1.1936 + * generic/tclEvent.c (Tcl_Finalize): Defer unloading of loadable
1.1937 + modules until all exit handlers have been invoked.
1.1938 + [Bug: 998, 1273, 1573, 1593]
1.1939 +
1.1940 +1999-03-29 <stanton@scriptics.com>
1.1941 +
1.1942 + * generic/tclFileName.c:
1.1943 + * generic/tclDecls.h:
1.1944 + * generic/tcl.decls: Added CONST to Tcl_JoinPath and
1.1945 + Tcl_TranslateFileName.
1.1946 +
1.1947 +1999-03-29 <redman@scriptics.com>
1.1948 +
1.1949 + * tools/genStubs.tcl:
1.1950 + * unix/configure.in:
1.1951 + * unix/Makefile.in:
1.1952 + * win/makefile.vc:
1.1953 + * generic/tcl.h:
1.1954 + * generic/tclBasic.c:
1.1955 + * generic/tclDecls.h:
1.1956 + * generic/tclIntDecls.h:
1.1957 + * generic/tclPlatDecls.h:
1.1958 + * generic/tclIntPlatDecls.h: Removed the stub functions and
1.1959 + changed the stub macros to just use the name without params. Pass
1.1960 + &tclStubs into the interp (don't use tclStubsPtr because of
1.1961 + collisions with the stubs on Solaris).
1.1962 +
1.1963 +1999-03-27 <redman@scriptics.com>
1.1964 +
1.1965 + * win/makefile.bc: Removed makefile for Borland compiler, no
1.1966 + longer supported.
1.1967 +
1.1968 +1999-03-26 <redman@scriptics.com>
1.1969 +
1.1970 + * win/tclWinSerial.c:
1.1971 + * win/tclWinConsole.c:
1.1972 + * win/tclWinPipe.c: Don't close the Win32 handle for a channel if
1.1973 + it's a stdio handle (GetStdHandle()) during shutdown of a thread
1.1974 + to prevent it from destroying the stdio of other threads.
1.1975 +
1.1976 +1999-03-26 <suresh@scriptics.com>
1.1977 +
1.1978 + * unix/configure.in
1.1979 + --nameble-shared is now the default and build Tcl as a shared
1.1980 + library; specify --disable-shared to build a static Tcl library
1.1981 + and shell.
1.1982 +
1.1983 +1999-03-25 <stanton@scriptics.com>
1.1984 +
1.1985 + * tests/interp.test:
1.1986 + * generic/tclInterp.c (AliasObjCmd): Changed so aliases are
1.1987 + invoked at current scope in the target interpreter instead of at
1.1988 + the global scope. This was an incompatibility introduced in 8.1
1.1989 + that is being removed. [Bug: 1153, 1556]
1.1990 +
1.1991 + * library/encoding/big5.enc:
1.1992 + * library/encoding/gb2312.enc:
1.1993 + * tools/encoding/big5.enc:
1.1994 + * tools/encoding/gb2312.enc: Added ASCII to big5 and gb2312
1.1995 + encodings. [Bug: 632]
1.1996 +
1.1997 + * generic/tclPkg.c (Tcl_PkgRequireEx): Fixed broken clientData
1.1998 + initialization in package code.
1.1999 +
1.2000 + * unix/Makefile.in (dist): Added tcl.decls and tclInt.decls to
1.2001 + source distribution. [Bug: 1571]
1.2002 +
1.2003 + * doc/Thread.3: Updated documentation of Tcl_MutexLock to indicate
1.2004 + that the recursive locking behavior is undefined. On Windows, it
1.2005 + does not block, on Unix it deadlocks. [Bug: 1275]
1.2006 +
1.2007 +1999-03-24 <stanton@scriptics.com>
1.2008 +
1.2009 + * tests/execute.test:
1.2010 + * generic/tclExecute.c (TclExecuteByteCode): Fixed expression code
1.2011 + that incorrectly returned floating point values for integers if
1.2012 + the internal rep happened to be a double. Now we check to see if
1.2013 + the object has a string rep that looks like an integer before
1.2014 + using the double internal rep. [Bug: 1516]
1.2015 +
1.2016 +1999-03-24 <redman@scriptics.com>
1.2017 +
1.2018 + * generic/tclAlloc.c:
1.2019 + * generic/tclEncoding.c:
1.2020 + * generic/tclProc.c:
1.2021 + * unix/tclUnixTime.c:
1.2022 + * win/tclWinSerial.c: Fixed compilation warnings/errors for VC++
1.2023 + 5.0 and 6.0 and HP-UX native compiler without -Aa or -Ae.
1.2024 + [Bug: 1323 1518 1324 1583 1585 1586]
1.2025 +
1.2026 + * win/tclWinSock.c: Make sockets thread-safe on Windows. The
1.2027 + current implementation uses windows to handle events on the
1.2028 + socket, one for each thread (thread local storage). Previously,
1.2029 + there was only one window shared between threads, which didn't
1.2030 + work. [Bug: 1326]
1.2031 +
1.2032 +1999-03-23 <stanton@scriptics.com>
1.2033 +
1.2034 + * tools/tcl.wse: Fixed file association to look in the right place
1.2035 + for the wish icon. [Bug: 1544]
1.2036 +
1.2037 + * tests/winNotify.test:
1.2038 + * tests/ioCmd.test:
1.2039 + * tests/event.test: Changed to use new style conditionals.
1.2040 +
1.2041 + * tests/encoding.test: Fixed nonportable test.
1.2042 +
1.2043 + * unix/dltest/configure.in:
1.2044 + * unix/dltest/Makefile.in: Added missing DBGX macros. [Bug: 1564]
1.2045 +
1.2046 + * tests/winNotify.test:
1.2047 + * mac/tclMacNotify.c:
1.2048 + * win/tclWinNotify.c:
1.2049 + * unix/tclUnixNotfy.c:
1.2050 + * generic/tclNotify.c: Added a new Tcl_ServiceModeHook interface
1.2051 + that is invoked whenever the service mode changes. This is needed
1.2052 + to allow the Windows notifier to create a communication window the
1.2053 + first time Tcl is about to enter an external modal event loop
1.2054 + instead of at startup time. This will avoid the various problems
1.2055 + that people have been seeing where the system hangs when tclsh
1.2056 + is running outside of the event loop. [Bug: 783]
1.2057 +
1.2058 + * generic/tclInt.h:
1.2059 + * generic/tcl.decls: Renamed TclpAlertNotifier back to
1.2060 + Tcl_AlertNotifier since it is part of the public notifier driver
1.2061 + API.
1.2062 +
1.2063 +1999-03-23 <redman@scriptics.com>
1.2064 +
1.2065 + * win/tclWinSerial.c: Fixed problem with fileevent on the serial
1.2066 + port and nonblocking mode. Gets no longer hangs, fileevents fire
1.2067 + whenever there is any character data on the port.
1.2068 +
1.2069 + * tests/winConsole.test:
1.2070 + * win/tclWinConsole.c: Fixed problem with fileevents and gets from
1.2071 + a console stdin. Previously, fileevents were firing before an
1.2072 + entire line was available for reading, which meant that when you
1.2073 + did a gets or read, it blocked (even in nonblocking mode). Now, it
1.2074 + should work the same as Unix: fileevents fire when an entire line
1.2075 + is ready, and gets and read do not block in non-blocking mode.
1.2076 + Added an interactive test case to check for this.
1.2077 +
1.2078 +1999-03-22 <stanton@scriptics.com>
1.2079 +
1.2080 + * tests/reg.test:
1.2081 + * generic/regc_color.c: Applied regexp bug fix from Henry Spencer.
1.2082 +
1.2083 +1999-03-19 <redman@scriptics.com>
1.2084 +
1.2085 + * generic/tclCmdIL.c: Fixed the initialization of an array so that
1.2086 + the Sun 5.0 C compiler wouldn't complain.
1.2087 +
1.2088 + * unix/configure.in: Added support for --enable-64bit. For now,
1.2089 + this is only supported on Solaris 7 64bit (SunOS 5.7) using the Sun
1.2090 + compiler (not gcc).
1.2091 +
1.2092 +1999-03-18 <stanton@scriptics.com>
1.2093 +
1.2094 + * win/tclWinChan.c (TclpOpenFileChannel, Tcl_MakeFileChannel):
1.2095 + Changed to only test for console or comm handles when the type is
1.2096 + FILE_TYPE_CHAR to avoid useless tests on simple files. Also
1.2097 + reordered tests so consoles are tested first as this is more
1.2098 + common.
1.2099 +
1.2100 + * win/makefile.vc: Regularized usage of mkd and rmd and rm.
1.2101 +
1.2102 + * library/encoding/shiftjis.enc:
1.2103 + * tools/encoding/shiftjis.txt: Missing/incorrect characters in
1.2104 + shift-jis table. [Bug: 1008, 1526]
1.2105 +
1.2106 + * generic/tclInt.decls:
1.2107 + * generic/tcl.decls: Eliminated use of "string" and "list" from
1.2108 + argument lists to avoid conflicts with C++ STL. [Bug: 1181]
1.2109 +
1.2110 + * win/tclWinFile.c (TclpMatchFiles): Changed to ignore the
1.2111 + FS_CASE_IS_PRESERVED bit and always return exactly what we get
1.2112 + from the system.
1.2113 +
1.2114 +1999-03-17 <stanton@GASPODE>
1.2115 +
1.2116 + * win/README.binary:
1.2117 + * win/README:
1.2118 + * unix/configure.in:
1.2119 + * generic/tcl.h:
1.2120 + * README: Updated version to 8.1b3.
1.2121 +
1.2122 +1999-03-14 <stanton@GASPODE>
1.2123 +
1.2124 + * win/tclWinConsole.c:
1.2125 + * win/tclWinPipe.c:
1.2126 + * win/tclWinSerial.c: Changed so channel drivers wait for the
1.2127 + reader/writer threads to exit before returning during a close
1.2128 + operation. This ensures that the main thread is the last thread
1.2129 + to exit, so the process return value is set properly.
1.2130 +
1.2131 + * generic/tclIntDecls.h:
1.2132 + * generic/tclIntPlatDecls.h:
1.2133 + * generic/tclIntPlatStubs.c:
1.2134 + * generic/tclIntStubs.c:
1.2135 + * generic/tclPlatDecls.h:
1.2136 + * generic/tclPlatStubs.c:
1.2137 + * generic/tclStubInit.c:
1.2138 + * generic/tclStubs.c: Fixed bad eol characters.
1.2139 +
1.2140 + * generic/tclInt.decls: Changed "const" to "CONST" in
1.2141 + declarations for better portability.
1.2142 +
1.2143 + * generic/tcl.decls: Renamed panic and panicVA to Tcl_Panic and
1.2144 + Tcl_PanicVA in the stub files.
1.2145 +
1.2146 + * generic/tclInterp.c (Tcl_MakeSafe): Remove tcl_platform(user)
1.2147 + from safe interps.
1.2148 +
1.2149 +1999-03-11 <stanton@GASPODE>
1.2150 +
1.2151 + * unix/Makefile.in:
1.2152 + * unix/configure.in: Include compat files in the stub library in
1.2153 + addition to the main library. Compat files are now built for
1.2154 + dynamic use in all cases.
1.2155 +
1.2156 + * generic/tcl.h: Changed magic number so it doesn't match the plus
1.2157 + patch, at Jan's request.
1.2158 +
1.2159 + * unix/tclConfig.sh.in:
1.2160 + * unix/dltest/Makefile.in:
1.2161 + * unix/dltest/configure.in:
1.2162 + * unix/dltest/pkga.c:
1.2163 + * unix/dltest/pkgb.c:
1.2164 + * unix/dltest/pkgc.c:
1.2165 + * unix/dltest/pkgd.c:
1.2166 + * unix/dltest/pkge.c:
1.2167 + * unix/dltest/pkgf.c: Changed package tests to build against the
1.2168 + stubs library.
1.2169 +
1.2170 +1999-03-10 <stanton@GASPODE>
1.2171 +
1.2172 + * generic/tcl.h:
1.2173 + * generic/tcl.decls: Changed Tcl_ReleaseType from an enum to
1.2174 + macros so it can be used in .rc files.
1.2175 + Added Tcl_GetString.
1.2176 +
1.2177 + * mac/tclMacNotify.c:
1.2178 + * generic/tclNotify.c:
1.2179 + * generic/tclInt.h:
1.2180 + * win/tclWinNotify.c:
1.2181 + * generic/tcl.h: Renamed Tcl_AlertNotifier to TclpAlertNotifier.
1.2182 +
1.2183 + * generic/tclInt.decls: Added TclWinAddProcess to make it possible
1.2184 + for expect to use Tcl_WaitForPid(). This patch is from Gordon
1.2185 + Chaffee.
1.2186 +
1.2187 + * mac/tclMacPort.h:
1.2188 + * win/tclWinInit.c:
1.2189 + * unix/tclUnixPort.h:
1.2190 + * generic/tclAsync.c: Added TclpAsyncMark to fix bug in async
1.2191 + handling on Windows where async events don't wake up the event
1.2192 + loop. This patch comes from Gordon Chaffee.
1.2193 +
1.2194 + * generic/tcl.decls: Fixed declarations of reserved slots.
1.2195 +
1.2196 +1999-03-10 <redman@scriptic.com>
1.2197 +
1.2198 + * generic/tclCompile.h: Ensure that the ByteCode struct is binary
1.2199 + compatible with the version in 8.0.6.
1.2200 +
1.2201 + * generic/tcl.h:
1.2202 + * generic/tclBasic.c: Add Tcl_GetVersion() function to the public
1.2203 + C API to allow programs to check the version number of the Tcl
1.2204 + library at runtime. Also added an enum to clarify the release
1.2205 + level (alpha, beta, final).
1.2206 +
1.2207 +1999-03-09 <stanton@GASPODE>
1.2208 +
1.2209 + * Integrated changes from Tcl 8.0 including:
1.2210 + stubs mechanism
1.2211 + configure patches from Jan Nijtmans
1.2212 + rename of panic to Tcl_Panic
1.2213 +
1.2214 +1999-03-08 <lfb@scriptics.com>
1.2215 +
1.2216 + * win/tclWin32Dll.c: Removed Dll instance from thread-local
1.2217 + storage.
1.2218 +
1.2219 +1999-03-08 <stanton@GASPODE>
1.2220 +
1.2221 + * generic/tcl.h: Moved Tcl_Mutex, etc. macros above the inclusion
1.2222 + of tclDecls.h to avoid macro conflicts.
1.2223 +
1.2224 + * generic/tclInt.h:
1.2225 + * generic/regc_color.c:
1.2226 + * generic/regcomp.c:
1.2227 + * generic/tclCmdIL.c:
1.2228 + * generic/tclCmdAH.c:
1.2229 + * generic/tclIOCmd.c:
1.2230 + * generic/tclParse.c:
1.2231 + * generic/tclStringObj.c:
1.2232 + * unix/tclUnixNotfy.c: Cleaned up various compiler warnings,
1.2233 + eliminated UCHAR bugs.
1.2234 +
1.2235 + * unix/tclUnixNotfy.c:
1.2236 + * unix/tclUnixThrd.c:
1.2237 + * generic/tclThreadTest.c:
1.2238 + * mac/tclMacThrd.c: Changed TclpCondition*() to Tcl_Condition*().
1.2239 +
1.2240 + * INTEGRATED PATCHES FROM 8.0.6:
1.2241 +
1.2242 + * generic/tcl.decls:
1.2243 + * generic/tcl.h:
1.2244 + * generic/tclBasic.c:
1.2245 + * generic/tclDecls.h:
1.2246 + * generic/tclInt.decls:
1.2247 + * generic/tclInt.h:
1.2248 + * generic/tclIntDecls.h:
1.2249 + * generic/tclIntPlatDecls.h:
1.2250 + * generic/tclIntPlatStubs.c:
1.2251 + * generic/tclIntStubs.c:
1.2252 + * generic/tclPlatDecls.h:
1.2253 + * generic/tclPlatStubs.c:
1.2254 + * generic/tclStubInit.c:
1.2255 + * generic/tclStubLib.c:
1.2256 + * generic/tclStubs.c:
1.2257 + * tools/genStubs.tcl:
1.2258 + * unix/configure.in:
1.2259 + * unix/Makefile.in:
1.2260 + * unix/tclConfig.sh.in:
1.2261 + * win/makefile.vc:
1.2262 + * win/tclWinPort.h: Added Tcl stubs implementation. There are
1.2263 + now two new macros USE_TCL_STUBS and USE_TCL_STUB_PROCS that
1.2264 + enable use of stubs and disable stub macros respectively. All of
1.2265 + the public and private function declarations from tcl.h and
1.2266 + tclInt.h have moved into the *.decls files and the *Stubs.c and
1.2267 + *Decls.h files are generated using the genStubs.tcl script.
1.2268 +
1.2269 + * unix/Makefile.in:
1.2270 + * unix/configure.in:
1.2271 + * unix/ldAix: Enhanced AIX shared library support.
1.2272 +
1.2273 + * win/tclWinSock.c: Removed a bunch of extraneous PASCAL FAR
1.2274 + attributes from internal functions.
1.2275 +
1.2276 + * win/tclWinReg.c: Changed registry package to use stubs mechanism
1.2277 + so it no longer depends on the specific version of Tcl.
1.2278 +
1.2279 + * doc/AddErrInfo.3:
1.2280 + * doc/Eval.3:
1.2281 + * doc/PkgRequire.3:
1.2282 + * doc/SetResult.3:
1.2283 + * doc/StringObj.3:
1.2284 + * generic/tcl.h:
1.2285 + * generic/tclBasic.c:
1.2286 + * generic/tclPanic.c:
1.2287 + * generic/tclStringObj.c:
1.2288 + * generic/tclUtil.c:
1.2289 + * unix/mkLinks: Added va_list versions of all VARARGS
1.2290 + functions so they can be invoked from the stub functions.
1.2291 +
1.2292 + * doc/package.n:
1.2293 + * doc/PkgRequire.3:
1.2294 + * generic/tclPkg.c: Added Tcl_PkgProvideEx, Tcl_RequireEx,
1.2295 + Tcl_PresentEx, and Tcl_PkgPresent. Added "package present"
1.2296 + command.
1.2297 +
1.2298 + * generic/tclFileName.c:
1.2299 + * mac/tclMacFile.c:
1.2300 + * mac/tclMacShLib.exp:
1.2301 + * unix/tclUnixFile.c:
1.2302 + * win/tclWinFile.c: Changed so TclGetUserHome is defined on
1.2303 + all platforms, even though it is currently a noop on mac and
1.2304 + windows, and renamed it to TclpGetUserHome.
1.2305 +
1.2306 + * generic/tclPanic.c:
1.2307 + * generic/panic.c: Renamed panic to Tcl_Panic.
1.2308 +
1.2309 +1999-02-25 <redman@scriptics.com>
1.2310 +
1.2311 + * win/makefile.vc: Added tclWinConsole.c and tclWinSerial.c
1.2312 +
1.2313 + * win/tclWinConsole.c: New code to properly deal with fileevents
1.2314 + and nonblocking mode on consoles.
1.2315 +
1.2316 + * win/tclWinSerial.c: New code to properly deal with fileevents
1.2317 + and nonblocking mode on serial ports.
1.2318 +
1.2319 + * win/tclWinPipe.c:
1.2320 + * win/tclWinPort.h: Exported functions to allow creation of pipe
1.2321 + channels from tclWinChan.c
1.2322 +
1.2323 + * win/tclWinChan.c: Check the type of a channel, including for the
1.2324 + standard (stdin/stdout/stderr), and use the correct channel type
1.2325 + to create the channel (file, serial, console, or pipe).
1.2326 +
1.2327 +1999-02-11 <stanton@GASPODE>
1.2328 +
1.2329 + * README:
1.2330 + * generic/tcl.h:
1.2331 + * win/README.binary:
1.2332 + * win/README:
1.2333 + * unix/configure.in:
1.2334 + * mac/README: Updated version numbers to 8.1b2.
1.2335 +
1.2336 +1999-02-10 <stanton@GASPODE>
1.2337 +
1.2338 + * library/auto.tcl: Fixed auto_mkindex so it handles .tbc files.
1.2339 + Did some general cleanup to handle bad eval statements that didn't
1.2340 + use "list".
1.2341 +
1.2342 + * unix/mkLinks:
1.2343 + * doc/SetVar.3:
1.2344 + * generic/tcl.h:
1.2345 + * generic/tclVar.c: Restored Tcl_ObjGetVar2 and Tcl_ObjSetVar2
1.2346 + from 8.0. Renamed Tcl_Get/SetObjVar2 to Tcl_GetVar2Ex and
1.2347 + Tcl_SetVar2Ex.
1.2348 +
1.2349 +1999-02-10 <stanton@GASPODE>
1.2350 +
1.2351 + INTEGRATED PATCHES FROM 8.0.5b2:
1.2352 +
1.2353 + * test/winPipe.test: Changed to remove echoArgs.tcl temporary file
1.2354 + when done.
1.2355 +
1.2356 + * tests/cmdAH.test:
1.2357 + * generic/tclFileName.c (TclGetExtension): Changed behavior so the
1.2358 + split happens at the last period in the name instead of the first
1.2359 + period of the last run of periods. So, "foo..o" is split into
1.2360 + "foo." and ".o" now. [Bug: 1126]
1.2361 +
1.2362 + * win/makefile.vc: Added better support for paths with spaces in
1.2363 + the name. Added .lib and support .dlls to the install-binaries
1.2364 + target. Added generate of a pkgIndex.tcl script to the
1.2365 + install-libraries target.
1.2366 +
1.2367 + * win/tclAppInit.c:
1.2368 + * unix/tclAppInit.c:
1.2369 + * mac/tclMacAppInit.c:
1.2370 + * generic/tclTest.c: Changed some EXTERN declarations to extern
1.2371 + since they are not defining exported interfaces. This avoids
1.2372 + generating useless declspec() attributes and makes the windows
1.2373 + makefile simpler.
1.2374 +
1.2375 + * generic/tcl.h: Moved Tcl_AppInit declaration to end and cleared
1.2376 + out TCL_STORAGE_CLASS so it is not declared with a declspec().
1.2377 +
1.2378 + * tests/interp.test:
1.2379 + * generic/tclInterp.c (DeleteAlias): Changed to use
1.2380 + Tcl_DeleteCommandFromToken so we handle renames properly. This
1.2381 + avoids senseless panic. [Bug: 736]
1.2382 +
1.2383 + * unix/tclUnixChan.c:
1.2384 + * win/tclWinSock.c:
1.2385 + * doc/socket.n: Applied Gordon Chaffee's patch to handle failures
1.2386 + during asynchronous socket connection operations. This adds a new
1.2387 + "-error" fconfgure option to socket channels. [Bug: 893]
1.2388 +
1.2389 + * generic/tclProc.c:
1.2390 + * generic/tclNamesp.c:
1.2391 + * generic/tclInt.h:
1.2392 + * generic/tclCmdIL.c:
1.2393 + * generic/tclBasic.c:
1.2394 + * generic/tclVar.c: Applied patch from Viktor Dukhovni to
1.2395 + rationalize TCL_LEAVE_ERR_MSG behavior when creating variables.
1.2396 +
1.2397 + * generic/tclVar.c: Fixed bug in namespace tail computation.
1.2398 + Fixed bug where upvar could resurrect a namespace variable whose
1.2399 + namespace had been deleted.
1.2400 +
1.2401 + * generic/tclCompile.c (TclCompileExprCmd): Eliminated yet another
1.2402 + bogus optimization in expression compilation.
1.2403 +
1.2404 + * unix/configure.in: Added branch for BSD/OS-4* to shared library
1.2405 + case statement. [Bug: 975]
1.2406 + Fixed to correctly handle IRIX 6.5 n32 library support. [Bug: 1117]
1.2407 +
1.2408 + * win/winDumpExts.c: Patched to be pickier about stripping
1.2409 + @'s. [Bug: 920]
1.2410 +
1.2411 + * library/http2.0/http.tcl: Added catch around eof test in
1.2412 + CopyDone since the user may have already called http::reset.
1.2413 + [Bug: 1108]
1.2414 +
1.2415 + * unix/configure.in: Changed Linux and IRIX to set SHLIB_LIBS to
1.2416 + LIBS so shared libraries are linked with the system
1.2417 + libraries. [Bug: 1018]
1.2418 +
1.2419 + * generic/tclCompile.c (CompileExprWord): Fixed exception stack
1.2420 + overflow bug caused by missing statement. [Bug: 928]
1.2421 +
1.2422 + * generic/tclIOCmd.c:
1.2423 + * generic/tclBasic.c: Objectified the "open" command. [Bug: 1113]
1.2424 +
1.2425 + * generic/tclPosixStr.c (Tcl_ErrnoId, Tcl_ErrnoMsg): When using
1.2426 + egcs, ENOTSUP and EOPNOTSUPP are the same, so now we handle that
1.2427 + case. [Bug: 1137]
1.2428 +
1.2429 + * library/init.tcl: Various small changes requested by Jan Nijtmans.
1.2430 + - If the variable $tcl_library contains the empty string, this
1.2431 + empty string will be put in $auto_path. This is not useful at all,
1.2432 + it only slows down later package processing.
1.2433 + - If the variable tcl_pkgPath is not set, the "unset __dir"
1.2434 + fails. Thich makes init.tcl totally unusable. Better put a "catch"
1.2435 + around it.
1.2436 + - In the function tcl_findLibraries, the "string match" function
1.2437 + only works correctly if $tcl_patchLevel is in one of the forms
1.2438 + "?.?a?", "?.?b?" or "?.?.?". Could a "regexp" be used instead,
1.2439 + then it allows anything to be appended to the patchLevel
1.2440 + string. And it is more efficient.
1.2441 + - The tclPkgSetup function assumes that if $type != "load" then
1.2442 + the type must be "source". This needn't be true. Some users want
1.2443 + to add their own setup types.
1.2444 + [RFE: 1138] [Bug: 978]
1.2445 +
1.2446 + * win/tclWinReg.c:
1.2447 + * doc/registry.n: Added support for HKEY_PERFORMANCE_DATA and
1.2448 + HKEY_DYN_DATA keys. [Bug: 1109]
1.2449 +
1.2450 + * win/tclWinInit.c (TclPlatformInit): Added code to ensure
1.2451 + tcl_pkgPath is set to "" when no registry entry is found. [Bug: 978]
1.2452 +
1.2453 +1999-02-01 <stanton@GASPODE>
1.2454 +
1.2455 + * generic/tclBasic.c:
1.2456 + * generic/tclCmdAH.c:
1.2457 + * generic/tclCmdIL.c:
1.2458 + * generic/tclCmdMZ.c:
1.2459 + * generic/tclExecute.c:
1.2460 + * generic/tclHistory.c:
1.2461 + * generic/tclIO.c:
1.2462 + * generic/tclIOUtil.c:
1.2463 + * generic/tclInterp.c:
1.2464 + * generic/tclMain.c:
1.2465 + * generic/tclNamesp.c:
1.2466 + * generic/tclParse.c:
1.2467 + * generic/tclProc.c:
1.2468 + * generic/tclTest.c:
1.2469 + * generic/tclTimer.c:
1.2470 + * generic/tcl.h: Made eval interfaces compatible with 8.0 by
1.2471 + renaming Tcl_EvalObj to Tcl_EvalObjEx, renaming Tcl_Eval2 to
1.2472 + Tcl_EvalEx and restoring Tcl_EvalObj and Tcl_GlobalEvalObj
1.2473 + interfaces so they match Tcl 8.0.
1.2474 +
1.2475 +1999-01-28 <stanton@GASPODE>
1.2476 +
1.2477 + * Merged Tcl 8.0.5b1 changes.
1.2478 +
1.2479 + * generic/tclUtil.c (Tcl_DStringSetLength): Changed so the buffer
1.2480 + overallocates in a manner similar to Tcl_DStringAppend. This
1.2481 + should improve performance for TclUniCharToUtfDString.
1.2482 +
1.2483 +1998-12-11 === Tcl 8.1b1 Release ===
1.2484 +
1.2485 +1998-12-10 <stanton@GASPODE>
1.2486 +
1.2487 + * Fixed lots of files that used TCL_THREAD instead of TCL_THREADS.
1.2488 +
1.2489 + * generic/tclEncoding.c (Tcl_FreeEncoding): Moved most of the code
1.2490 + into a static FreeEncoding routine that does not grab the
1.2491 + encodingMutex to avoid deadlocks/races when called from other
1.2492 + routines that already have the mutex.
1.2493 +
1.2494 +1998-12-09 <stanton@GASPODE>
1.2495 +
1.2496 + * library/msgcat1.0/msgcat.tcl: Fixed bad export list, fixed so
1.2497 + all locale strings are converted to lower case, including file
1.2498 + names.
1.2499 +
1.2500 + * generic/regcomp.c (makescan): Fixed bug in longest match case
1.2501 + that caused anchored patterns to fail. [Bug: 897]
1.2502 +
1.2503 +1998-12-08 <stanton@GASPODE>
1.2504 +
1.2505 + * library/msgcat1.0/msgcat.tcl: changed mc to invoke mcunknown in
1.2506 + the calling context, changed locale lookups to be case insensitive
1.2507 +
1.2508 +1998-12-07 <stanton@GASPODE>
1.2509 +
1.2510 + * generic/tclAlloc.c (TclpRealloc): Fixed a memory allocation bug
1.2511 + where big blocks that were reallocated into a different heap
1.2512 + location were not being placed into the bigBlocks list. [Bug: 933]
1.2513 +
1.2514 + * tests/msgcat.test: Added message catalog test suite.
1.2515 +
1.2516 + * library/msgcat1.0/msgcat.tcl: minor bug fixes, integrated latest
1.2517 + changes from Mark Harrison.
1.2518 +
1.2519 +1998-12-04 <stanton@GASPODE>
1.2520 +
1.2521 + * library/msgcat1.0/msgcat.tcl: Changed code to conform to Tcl
1.2522 + coding standards. Changed to use file join for portability.
1.2523 +
1.2524 + * library/msgcat1.0: Added initial implementaion of Tcl message
1.2525 + catalog package contributed by Mark Harrison.
1.2526 +
1.2527 +1998-12-03 <stanton@GASPODE>
1.2528 +
1.2529 + * win/tclWinPipe.c (BuildCommandLine): Fixed bug that kept
1.2530 + arguments containing spaces from being properly quoted.
1.2531 +
1.2532 + * tests/defs: Changed so auto_path is set to only contain the Tcl
1.2533 + library directory. This keeps the tests from accidentally picking
1.2534 + up stuff in installed packages.
1.2535 +
1.2536 + * generic/tclUtil.c (Tcl_StringMatch): Changed to match 8.0
1.2537 + behavior in corner case where there is no closing bracket.
1.2538 +
1.2539 +1998-12-02 <stanton@GASPODE>
1.2540 +
1.2541 + * win/tclWinPipe.c (TclpCreateCommandChannel): Changed
1.2542 + reader/writer threads to have THREAD_PRIORITY_HIGHEST so they will
1.2543 + have a chance to run whenever there is something to do.
1.2544 +
1.2545 + * generic/tclIO.c (WriteBytes, WriteChars): Fixed so extraneous
1.2546 + flushes do not happen in line mode.
1.2547 + (TranslateOutputEOL): Made translation more efficient in line mode
1.2548 + and fixed a buffer overflow bug in CRLF translation. [Bug: 887]
1.2549 +
1.2550 +1998-12-02 <welch@SAGE>
1.2551 +
1.2552 + * Updated patchlevel to 8.1b1
1.2553 +
1.2554 +1998-12-02 <stanton@GASPODE>
1.2555 +
1.2556 + * generic/regc_color.c (subcolor): Added check for error case to
1.2557 + avoid an out of bounds array reference.
1.2558 +
1.2559 + * generic/tclCmdAH.c (Tcl_EncodingObjCmd): Changed to avoid using
1.2560 + Tcl_DStringResult because it is not binary clean.
1.2561 +
1.2562 + * generic/tclParse.c (Tcl_ParseCommand): Fixed bug in comment
1.2563 + parsing where a trailing comment looked like an incomplete
1.2564 + command.
1.2565 +
1.2566 +1998-12-02 <welch@SAGE>
1.2567 +
1.2568 + * Merged changes from 8.0.4, especially the new pkg_mkIndex
1.2569 +
1.2570 +1998-12-01 <stanton@GASPODE>
1.2571 +
1.2572 + * generic/tclIO.c (Tcl_ReadChars): Added a call to UpdateInterest
1.2573 + so we don't block when there is data sitting in the buffers.
1.2574 +
1.2575 + * generic/tclTest.c (TestevalobjvObjCmd): Updated for EvalObjv
1.2576 + change.
1.2577 +
1.2578 + * tests/parse.test: Updated tests for EvalObjv change.
1.2579 +
1.2580 + * generic/tclParse.c (EvalObjv, Tcl_EvalObjv): Changed
1.2581 + Tcl_EvalObjv interface to remove string and length arguments,
1.2582 + preserved original interface as EvalObjv for internal use.
1.2583 +
1.2584 + * generic/tcl.h: Changed Tcl_EvalObjv interface to remove string
1.2585 + and length arguments.
1.2586 +
1.2587 + * doc/Eval.3: Updated documentation for Tcl_EvalObjv to remove
1.2588 + string and length arguments.
1.2589 +
1.2590 + * generic/tclCompCmds.c (TclCompileForeachCmd): Fixed code that
1.2591 + corrupted the exceptDepth value in the compile environment when
1.2592 + foreach failed to compile inline. [Bug: 884]
1.2593 +
1.2594 + * library/encoding/euc-kr.enc:
1.2595 + * library/encoding/ksc5601.enc:
1.2596 + * tools/encoding/ksc5601.txt:
1.2597 + * unix/tclUnixInit.c: Added support for Korean EUC.
1.2598 +
1.2599 + * win/tclWinChan.c (TclpGetDefaultStdChannel): added check for a
1.2600 + failure during Tcl_MakeFileChannel.
1.2601 +
1.2602 +1998-11-30 <stanton@GASPODE>
1.2603 +
1.2604 + * unix/tclUnixNotfy.c (Tcl_WaitForEvent): Fixed hang that occurs
1.2605 + when trying to close a pipe that is currently being waited on by
1.2606 + the notifier thread. [Bug: 607]
1.2607 +
1.2608 + * unix/tclUnixFCmd.c (GetPermissionsAttribute): Increase size of
1.2609 + returnString buffer to avoid overflow. [Bug: 584]
1.2610 +
1.2611 + * generic/tclThreadTest.c (TclThreadSend): Fixed memory leak due
1.2612 + to use of TCL_VOLATILE instead of TCL_DYNAMIC.
1.2613 +
1.2614 + * generic/tclThread.c (TclRememberSyncObject): Fixed memory leak
1.2615 + caused by failure to reuse condition variables.
1.2616 +
1.2617 + * unix/tclUnixNotfy.c: (Tcl_AlertNotifier, Tcl_WaitForEvent,
1.2618 + NotifierThreadProc, Tcl_InitNotifier): Fixed race condition caused
1.2619 + by incorrect use of condition variables when sending messages
1.2620 + between threads.. [Bug: 607]
1.2621 +
1.2622 + * generic/tclTestObj.c (TeststringobjCmd): MAX_STRINGS was off by one
1.2623 + so the strings array was too small.
1.2624 +
1.2625 + * generic/tclCkalloc.c (Tcl_DbCkfree): Moved mutex lock so
1.2626 + ValidateMemory is done inside the mutex to avoid a race condition
1.2627 + when validate_memory is enabled. [Bug: 880]
1.2628 +
1.2629 +1998-11-23 <stanton@GASPODE>
1.2630 +
1.2631 + * regexec.c: more performance tuning from Henry Spencer.
1.2632 +
1.2633 +1998-11-17 <stanton@GASPODE>
1.2634 +
1.2635 + * tclScan.c: moved "scan" implementation out of tclCmdMZ.c and
1.2636 + added Unicode support. This required a complete reimplementation
1.2637 + of the command to avoid using scanf(), which isn't Unicode aware.
1.2638 + Two new features were added in the process: %n to return the
1.2639 + current number of characters consumed, and XPG3-style %n$ argument
1.2640 + order specifiers similar to those provided by the "format"
1.2641 + command. [Bug: 833]
1.2642 +
1.2643 + * tclAlloc.c: changed so allocated memory is always 8-byte aligned
1.2644 + to improve memory performance and to ensure that it will work on
1.2645 + systems that don't like accessing 4-byte aligned values
1.2646 + (e.g. Solaris and HP-UX). [Bug: 834]
1.2647 +
1.2648 +1998-11-06 <stanton@GASPODE>
1.2649 +
1.2650 + * tclVar.c (TclGetIndexedScalar): Fixed bug 796, var name was
1.2651 + getting lost before being passed to CallTraces.
1.2652 +
1.2653 +1998-10-21 <stanton@GASPODE>
1.2654 +
1.2655 + * added "encoding" command
1.2656 +
1.2657 + * Moved internal regexp declarations from tclInt.h to tclRegexp.h
1.2658 +
1.2659 + * integrated regexp updates from Henry Spencer
1.2660 +
1.2661 +1998-10-15 <stanton@GASPODE>
1.2662 +
1.2663 + * tclUtf.c: added Unicode character table support
1.2664 +
1.2665 + * tclInt.h: added TclUniCharIsWordChar
1.2666 +
1.2667 + * tclCmdMZ.c (Tcl_StringObjCmd): added "totitle" subcommand,
1.2668 + changed "wordend" and "wordstart" to properly handle Unicode word
1.2669 + characters and connector punctuation
1.2670 +
1.2671 +1998-10-05 <stanton@GASPODE>
1.2672 +
1.2673 + * auto.tcl, package.tcl: fixed SCCS strings
1.2674 +
1.2675 + * tclIndex: updated index to reflect 8.1 files
1.2676 +
1.2677 + * tclCompile.c (TclCompileScript): changed to avoid modifying the
1.2678 + input string in place because name lookup operations could have
1.2679 + arbitrary side effects
1.2680 +
1.2681 + * tclInterp.c: added guard against deleting current interpreter
1.2682 +
1.2683 + * tclMacFile.c, tclUnixFile.c, tclWinFile.c, tclFileName.c: added
1.2684 + warnings around code that modifies strings in place
1.2685 +
1.2686 + * tclExecute.c: fixed off-by-one copying error, fixed merge bugs
1.2687 +
1.2688 + * tclEvent.c: changed so USE_TCLALLOC is tested for value instead
1.2689 + of definition
1.2690 +
1.2691 + * tclCompCmds.c: replaced SCCS strings, added warnings around code
1.2692 + that modifies strings in place
1.2693 +
1.2694 + * interp.test: added test for interp deleting itself
1.2695 +
1.2696 +1998-09-30 <stanton@GASPODE>
1.2697 +
1.2698 + * makefile.vc: fixed so TCL_LIBRARY is set before running tcltest
1.2699 +
1.2700 + * tclWin32Dll.c: removed TclpFinalize, cleanup of merges
1.2701 +