os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/ChangeLog.2000
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/ChangeLog.2000 Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,2583 @@
1.4 +2000-12-14 Don Porter <dgp@users.sourceforge.net>
1.5 +
1.6 + * generic/tclExecute.c:
1.7 + * tests/expr-old.test: Re-wrote Tcl's [expr rand()] and
1.8 + [expr srand($seed)] implementations, fixing a range error
1.9 + on some 64-bit platforms. Added tests that detect the bug.
1.10 + The rewrite changes the seed -> sequence map on 64-bit
1.11 + platforms, only for seed >= 2^31, a slight incompatibility.
1.12 + [Bug 121072, Patch 102781]
1.13 +
1.14 +2000-12-10 Don Porter <dgp@users.sourceforge.net>
1.15 +
1.16 + * library/init.tcl:
1.17 + * library/msgcat/msgcat.tcl:
1.18 + * library/msgcat/pkgIndex.tcl:
1.19 + * library/opt/optparse.tcl:
1.20 + * library/opt/pkgIndex.tcl: Where [uplevel] is used in a proc
1.21 + to evaluate a Tcl built-in command in the caller's context,
1.22 + the built-in commands are now fully namespace-qualified. This
1.23 + prevents problems when the caller context is in a namespace where
1.24 + the built-in command name has been used by a command in the
1.25 + namespace. (For example, [::ns::set] might be called instead
1.26 + of the intended [::set]). [Bug #119422, Patch #102545]
1.27 +
1.28 +2000-12-09 jeff hobbs <jhobbs@interwoven.com>
1.29 +
1.30 + * win/tclWinTime.c (CalibrationThread): added lint return value to
1.31 + prevent compiler warning. [Bug #125005]
1.32 +
1.33 + * docs/scan.n:
1.34 + * tests/scan.test:
1.35 + * generic/tclScan.c (Tcl_ScanObjCmd): changed %o and %x to use
1.36 + strtoul instead of strtol to correctly preserve scan<>format
1.37 + conversion of large integers. [Patch #102663, Bug #124600]
1.38 +
1.39 + * generic/tclExecute.c (TclExecuteByteCode): Commited patch fixing
1.40 + handling of {!<boolean>} in expressions. [Patch #102702]
1.41 +
1.42 +2000-12-08 jeff hobbs <jhobbs@interwoven.com>
1.43 +
1.44 + * library/init.tcl: Added support for PATHEXT variable in
1.45 + auto_execok, recognizing the proper set of executable extensions
1.46 + on Windows. [Patch #102719]
1.47 +
1.48 +2000-12-08 Andreas Kupries <a.kupries@westend.com>
1.49 +
1.50 + * generic/tclEncoding.c (LoadTableEncoding): Changed dangerous
1.51 + code to something less critical. This fixes bug 119417, part A
1.52 + without affecting the speed when loading encodings.
1.53 +
1.54 +2000-12-08 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.55 +
1.56 + * doc/open.n: Added xref to fconfigure and advice on the opening
1.57 + of binary files. Should help prevent a recurrence of bugs like
1.58 + #124558
1.59 +
1.60 +2000-12-07 jeff hobbs <jhobbs@interwoven.com>
1.61 +
1.62 + * generic/tcl.h: added note about need to updated
1.63 + library/dde/pkgIndex.tcl with minor version increment.
1.64 +
1.65 + * library/dde/pkgIndex.tcl: updated to use 84 version to reflect
1.66 + the makefile. Should probably be updated to use its real version
1.67 + at some point. [Patch #102560, Bug #119421]
1.68 +
1.69 +2000-12-06 eric melski <ericm@ajubasolutions.com>
1.70 +
1.71 + * generic/tcl.h (attemptckalloc): Fixed typo for #define of
1.72 + attemptckalloc (was defined to Tcl_AttempDbCkalloc, should have
1.73 + been Tcl_AttemptDbCkalloc). [Bug: 124384]
1.74 +
1.75 + * generic/tclCkalloc.c: Added
1.76 + TCL_MEM_DEBUG versions of Tcl_AttemptDbCkrealloc and
1.77 + Tcl_AttemptDbCkalloc. [Bug: 124384].
1.78 +
1.79 +2000-11-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.80 +
1.81 + * generic/tclExecute.c (TclExecuteByteCode): Logical negation "!"
1.82 + can now handle string booleans, provided those values are placed
1.83 + in variables.
1.84 +
1.85 + * tests/expr.test (expr-13.17): Check that [expr {!$var}] can
1.86 + negate the string-versions of booleans "yes", "false", etc.
1.87 +
1.88 + * library/tcltest/tcltest.tcl (getMatchingFiles,
1.89 + getMatchingDirectories):
1.90 + * tools/man2html.tcl (doDir):
1.91 + * tools/man2help.tcl (doDir):
1.92 + * library/package.tcl (tclPkgUnknown,tclMacPkgSearch):
1.93 + * library/safe.tcl (AddSubDirs): [glob] uses -directory instead of
1.94 + unsafe [file join] to fix Bug #123313
1.95 +
1.96 + * generic/tclIndexObj.c:
1.97 + * generic/tclTestObj.c (TestindexobjCmd): Changed internal
1.98 + representation of index objects to fix Bug #119082; fix
1.99 + shouldn't be visible to outside world...
1.100 +
1.101 + * generic/tclTest.c (TestGetIndexFromObjStructObjCmd):
1.102 + * tests/indexObj.test: (indexObj-6.*) Added to test for presence
1.103 + of Bug #119082.
1.104 +
1.105 +2000-11-23 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.106 +
1.107 + * generic/tclCmdIL.c (Tcl_LsortObjCmd): Fixed memory leak from Bug
1.108 + #119398
1.109 +
1.110 + * library/init.tcl (unknown): Added specific level parameters to
1.111 + all uplevel invokations to boost performance; didn't dare touch
1.112 + the "namespace inscope" stuff though, since it looks sensitive
1.113 + to me! Should fix Bug #123217, though testing is tricky...
1.114 +
1.115 +2000-11-21 Andreas Kupries <a.kupries@westend.com>
1.116 +
1.117 + * All of the changes below are described in TIP #7 ~ Specification
1.118 + and result from the application of the patch contained
1.119 + therein. Creator of the patch is Kevin Kenny
1.120 + <kennykb@crd.ge.com>. The patch used here is actually a bit
1.121 + different. Two MS specific constant values (format FOOui64) were
1.122 + replaced with a more portable formatting of the values and an
1.123 + additional cast to LONGLONG. My cross-compiling gcc was unable to
1.124 + process the original form. The SF Id of the patch is 102459.
1.125 +
1.126 + * tclWinTime.c: Add to the static data a set of variables that
1.127 + manage the phase-locked techniques, including a
1.128 + ''CRITICAL_SECTION'' to guard them so that multi-threaded code
1.129 + is stable.
1.130 +
1.131 + * tclWinTime.c: Modify ''TclpGetSeconds'' to call ''TclpGetTime''
1.132 + and return the 'seconds' portion of the result. This change is
1.133 + necessary to make sure that the two times are consistent near
1.134 + the rollover from one second to another.
1.135 +
1.136 + * tclWinTime.c: Modify ''TclpGetClicks'' to use TclpGetTime to
1.137 + determine the click count as a number of microseconds.
1.138 +
1.139 + * tclWinTime.c: Modify ''TclpGetTime'' to return the time as
1.140 + M*Q+B, where Q is the result of ''QueryPerformanceCounter'', and
1.141 + M and B are variables maintained by the phase-locked loop to
1.142 + keep the result as close as possible to the system clock. The
1.143 + ''TclpGetTime'' call will also launch the phase-lock management
1.144 + in a separate thread the first time that it is invoked. If the
1.145 + performance counter is unavailable, or if its frequency is not
1.146 + one of the two common 8254-compatible rates, then
1.147 + ''TclpGetTime'' will return the result of ''ftime'' as it does
1.148 + in Tcl 8.3.2.
1.149 +
1.150 + * tclWinTime.c: Add the clock calibration procedure. The
1.151 + calibration is somewhat complex; to save space, the reader is
1.152 + referred to the reference implementation for the details of how
1.153 + the time base and frequency are maintained.
1.154 +
1.155 + * tclWinNotify.c: Modify ''Tcl_Sleep'' to test that the process
1.156 + has, in fact, slept for the requisite time by calling
1.157 + ''TclpGetTime'' and comparing with the desired time. Otherwise,
1.158 + roundoff errors may cause the process to awaken early.
1.159 +
1.160 + * tclWinTest.c: Add a ''testwinclock'' command. This command
1.161 + returns a four element list comprising the seconds and
1.162 + microseconds portions of the system clock and the seconds and
1.163 + microseconds portions of the Tcl clock.
1.164 +
1.165 + * winTime.test: Add to the test suite a test that makes sure that
1.166 + the Tcl clock stays within 1.1 ms of the system clock over the
1.167 + duration of the test.
1.168 +
1.169 +2000-11-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.170 +
1.171 + * doc/global.n:
1.172 + * doc/upvar.n:
1.173 + * doc/variable.n: Improved documentation to mention that variables
1.174 + so created are listed in [info locals] and added a few more
1.175 + cross-links between these commands. Fixes bug #119387
1.176 +
1.177 +2000-11-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.178 +
1.179 + * tests/safe.test: (safe-4.3):
1.180 + * generic/tclVar.c (TclLookupVar): Changed again. Now passes all
1.181 + the tests, though one needed modifying since it required the
1.182 + wrong answer. (Why on earth do we have inline modification of
1.183 + argument strings? This sort of thing is horrendous to debug and
1.184 + doesn't work well in a multithreaded environment!) Fixes bug
1.185 + 119192.
1.186 +
1.187 + * tests/var.test: (var-1.19) If my attempts to fix the problem
1.188 + aren't right yet, my attempts to describe it look pretty good to
1.189 + me...
1.190 +
1.191 +2000-11-16 Andreas Kupries <a.kupries@westend.com>
1.192 +
1.193 + * win/tclWinPort.h (line 69): Changed reference to winsock2.h into
1.194 + winsock.h. This was a leftover from a foray into using winsock
1.195 + version 2 (History lesson from Scott Redman and Jeff
1.196 + Hobbs). This code was no problem when compiling Tcl itself, but
1.197 + could trip extensions. Fixes bug 122568.
1.198 +
1.199 +2000-11-15 jeff hobbs <jeff.hobbs@acm.org>
1.200 +
1.201 + * unix/Makefile.in: removed bp.c references (hasn't existed in a
1.202 + long time). Corrected 'make dist' to make dist with unversioned
1.203 + library directories (same as out of cvs), so make install works
1.204 + correctly with either source tree.
1.205 +
1.206 +2000-11-15 jeff hobbs <jeff.hobbs@acm.org>
1.207 +
1.208 + * generic/tclVar.c (TclLookupVar): reverted fix below as it broke
1.209 + all other array unset error reporting. Bug-119192 is still
1.210 + open.
1.211 +
1.212 +2000-11-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.213 +
1.214 + * generic/tclVar.c (TclLookupVar): Changed references to part2 to
1.215 + use elName instead in various error message generating spots, so
1.216 + as to fix Bug-119192.
1.217 +
1.218 +2000-11-03 David Gravereaux <davygrvy@ajubasolutions.com>
1.219 +
1.220 + * win/.cvsignore: Removed 'configure' from the glob list now
1.221 + that it's included.
1.222 +
1.223 +2000-11-03 Jeff Hobbs <hobbs@ajubasolutions.com>
1.224 +
1.225 + 8.4a2 RELEASE
1.226 +
1.227 + * unix/Makefile.in (install-libraries, dist):
1.228 + * win/makefile.vc (install-libraries):
1.229 + * win/Makefile.in (install-libraries): updated to install
1.230 + unversioned library directories into versioned directories.
1.231 +
1.232 + * tools/tcl.wse.in: updated for unversioning of library dirs
1.233 +
1.234 + * unix/mkLinks: updated mkLinks with latest doc updates
1.235 +
1.236 + * doc/Tcl_Main.3: added docs for Tcl_SetMainLoop
1.237 +
1.238 + * generic/tclStubInit.c:
1.239 + * generic/tclDecls.h:
1.240 + * generic/tcl.decls: added Tcl_SetMainLoop proc that allows people
1.241 + to set a main loop that will run for tclsh.
1.242 + * generic/tcl.h: added Tcl_MainLoopProc typedef
1.243 + * generic/tclMain.c (Tcl_SetMainLoop, StdinProc, Prompt): new
1.244 + StdinProc and Prompt static procs and Tcl_SetMainLoop stubs proc.
1.245 + The first two handle a fileevent based prompt (taken from
1.246 + tkMain.c). Tcl_SetMainLoop enables the interactive setting of a
1.247 + main loop procedure. This enables Tk to be a loadable package.
1.248 +
1.249 +2000-11-02 David Gravereaux <davygrvy@ajubasolutions.com>
1.250 +
1.251 + * generic/tclEvent.c: tclLibraryPath Tcl_Obj didn't have a way
1.252 + to share its data among threads. This caused Tcl_Init() to
1.253 + always fail in threads. Added a way to pass the data around
1.254 + with a global char*. [BUG: 5301]
1.255 +
1.256 +2000-11-02 Jeff Hobbs <hobbs@ajubasolutions.com>
1.257 +
1.258 + * unix/configure:
1.259 + * unix/dltest/configure:
1.260 + * win/configure:
1.261 + * tools/configure: checked in configure scripts so people doing
1.262 + CVS checkouts aren't required to have autoconf. Changes to
1.263 + configure.in in the future will require the corresponding
1.264 + configure script to also be re-autoconf'ed and checked in.
1.265 +
1.266 + * win/makefile.vc:
1.267 + * win/tcl.m4: makefile fixes for Win64 support
1.268 +
1.269 + * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): minor cast
1.270 + changes.
1.271 +
1.272 +2000-11-01 Jeff Hobbs <hobbs@ajubasolutions.com>
1.273 +
1.274 + * unix/tcl.m4: removed use of -lbsd and -ldl for AIX-5.
1.275 +
1.276 + * tests/subst.test: added tests for non-zero return code handling
1.277 + by subst.
1.278 + * generic/tclParse.c (Tcl_EvalEx): corrected handling of non-zero,
1.279 + non-error return code cases for subst. [BUG: 119829]
1.280 +
1.281 + * generic/tclVar.c (TclVarTraceExists): Corrected excessive mem
1.282 + use when info exists was called on a non-existent array element.
1.283 + [BUG: 119213, 119336]
1.284 +
1.285 +2000-10-30 David Gravereaux <davygrvy@ajubasolutions.com>
1.286 +
1.287 + * win/configure.in:
1.288 + * win/Makefile.in:
1.289 + * win/makefile.vc:
1.290 + * win/tcl.rc:
1.291 + * win/tclsh.rc: Added logic to derive filenames better in the resource
1.292 + scripts based on compile options.
1.293 +
1.294 +2000-10-30 Jeff Hobbs <hobbs@ajubasolutions.com>
1.295 +
1.296 + * unix/tclUnixInit.c: added default encoding map from
1.297 + "ja_JP.eucJP" to "euc-jp". (takahashi)
1.298 +
1.299 + * tests/clock.test: corrected clock-2.* test numbering
1.300 +
1.301 + * unix/configure.in (SC_TCL_LINK_LIBS): removed code that was
1.302 + commented out (it had been moved to tcl.m4's SC_TCL_LINK_LIBS
1.303 + already).
1.304 +
1.305 + * unix/tcl.m4: consolidated gettimeofday check for AIX.
1.306 +
1.307 +2000-10-27 Jeff Hobbs <hobbs@ajubasolutions.com>
1.308 +
1.309 + * unix/configure.in:
1.310 + * unix/tcl.m4: added support for AIX-5.
1.311 +
1.312 + * generic/tclIO.c (Tcl_NotifyChannel): removed #ifdef around code
1.313 + for old channel structures, placed preserve/release around statePtr
1.314 + * generic/tclIO.c (CloseChannel): the statePtr for a channel was
1.315 + not being freed when the last channel in a stack was freed,
1.316 + causing a mem leak.
1.317 +
1.318 + * unix/tclUnixChan.c: updated channel types to strict
1.319 + TCL_CHANNEL_VERSION_2 style to avoid compiler warnings. They work
1.320 + either way, but this avoids compiler warnings (that worries people).
1.321 +
1.322 +2000-10-27 Jennifer Hom <jenn@ajubasolutions.com>
1.323 +
1.324 + * library/tcltest1.0/tcltest.tcl: Removed a cd into the test
1.325 + directory in runAllTests that screwed up the temporary directory
1.326 + setting, effectively preventing users from running tests on
1.327 + multiple platforms at the same time.
1.328 +
1.329 +2000-10-26 David Gravereaux <davygrvy@ajubasolutions.com>
1.330 +
1.331 + * win/tclWinFile.c (TclpMatchFilesTypes): NULL was being set to
1.332 + "attr" which was a DWORD. Changed NULL to zero because a 'void *'
1.333 + can't be set to a DWORD to avoid the compiler warning.
1.334 +
1.335 +2000-10-24 Jennifer Hom <jenn@ajubasolutions.com>
1.336 +
1.337 + * tests/all.tcl: Removed support for tcltest 1.0.
1.338 +
1.339 + * tests/tcltest.test:
1.340 + * library/tcltest1.0/tcltest.tcl:
1.341 + * library/tcltest1.0/pkgIndex.tcl:
1.342 + * docs/tcltest.n: Moved tcltest2 code so that it's the standard
1.343 + version of tcltest. Removed all tcltest2 files
1.344 + (tests/tcltest2.test, library/tcltest1.0/tcltest2.tcl,
1.345 + docs/tcltest2.n).
1.346 +
1.347 +2000-10-20 Jeff Hobbs <hobbs@ajubasolutions.com>
1.348 +
1.349 + * win/tclWinFile.c (TclpMatchFilesTypes): made the stat call only
1.350 + occur when necessary (for 'glob' command). Significantly speeds
1.351 + up glob command from 8.3. [BUG: 6216]
1.352 +
1.353 +2000-10-19 Jennifer Hom <jenn@ajubasolutions.com>
1.354 +
1.355 + * library/tcltest1.0/tcltest2.tcl:
1.356 + * tests/tcltest2
1.357 + * doc/tcltest2.n: Code and documentation cleanup. Modified
1.358 + -verbose to take list of keywords as well as string of letters.
1.359 + Removed Tcl version information from tcltest. Removed
1.360 + tcltest::grep from tcltest package. Added optional 3rd directory
1.361 + argument to makeFile/makeDirectory and removeFile/removeDirectory.
1.362 +
1.363 + * tests/basic.test: Changed references to tcltest::tclVersion to
1.364 + hardcoded numbers.
1.365 + * generic/tcl.h: Changed reference to tcltest2.tcl and tcltest.tcl
1.366 + in comments to tests/basic.test.
1.367 +
1.368 +2000-10-06 David Gravereaux <davygrvy@ajubasolutions.com>
1.369 +
1.370 + * win/tclWinChan.c: moved Win2K bug case test with GetStdHandle()
1.371 + from TclpGetDefaultStdChannel into Tcl_MakeFileChannel to enable
1.372 + a more general method in detecting invalid OS handles rather than
1.373 + just a specific known case. [BUG: 5971]
1.374 +
1.375 +2000-10-06 Jeff Hobbs <hobbs@ajubasolutions.com>
1.376 +
1.377 + * tests/cmdAH.test: extra tests for 'file channels' that include
1.378 + multiple interpreter tests and channel sharing
1.379 + * generic/tclIO.c (Tcl_GetChannelNamesEx): corrected function (and
1.380 + consequently 'file channels') to return channels that are actually
1.381 + registered for this specific interp, rather than this thread.
1.382 +
1.383 + * doc/CrtChannel.3: fixed spelling mistakes
1.384 +
1.385 +2000-09-29 Jennifer Hom <jenn@ajubasolutions.com>
1.386 +
1.387 + * library/tcltest1.0/tcltest2.tcl:
1.388 + * tests/tcltest2.test:
1.389 + * doc/tcltest2.n: Modified the new form of the test command to
1.390 + accept both attribute-value pairs and command line options.
1.391 + Updated the tests and the documentation for this new format.
1.392 + Also changed the option names for the test command.
1.393 +
1.394 +2000-09-29 Jeff Hobbs <hobbs@scriptics.com>
1.395 +
1.396 + * win/tclWinSerial.c (SerialGetOptionProc): corrected reporting of
1.397 + space parity on Windows (Eason) [Bug 6057].
1.398 +
1.399 + * win/Makefile.in: commented use of TESTFLAGS
1.400 + * unix/Makefile.in: added TESTFLAGS to test target to
1.401 + conform with Windows makefile and TEA style.
1.402 +
1.403 + * tests/stack.test: prevented possible crash on systems with low
1.404 + default stacksize (Tru64, AIX) in infinite recursion test. A
1.405 + solution to check remaining stack space in the core is best, but
1.406 + hard to do in a cross-platform manner.
1.407 +
1.408 + * generic/tclIOGT.c (FLUSH_DELAY): renamed DELAY define to
1.409 + FLUSH_DELAY to avoid defn conflict using Tru64's cc.
1.410 +
1.411 +2000-09-28 Jeff Hobbs <hobbs@ajubasolutions.com>
1.412 +
1.413 + * tools/tcl.wse.in: added tclPlatDecls.h and tkPlatDecls.h to the
1.414 + Windows .exe install.
1.415 +
1.416 + * tests/fCmd.test (fCmd-6.20): corrected test to remove
1.417 + c:/tcl8975@ after creating it.
1.418 +
1.419 + * tests/fileName.test: cleaned up the testing of glob patterns for
1.420 + c:/globTest (Windows) to directly create/remove directory.
1.421 +
1.422 +2000-09-27 Jeff Hobbs <hobbs@ajubasolutions.com>
1.423 +
1.424 + * generic/tcl.decls:
1.425 + * generic/tclIO.c: updated Tcl_IsChannelShared,
1.426 + Tcl_IsChannelRegistered, Tcl_CutChannel, Tcl_SpliceChannel,
1.427 + Tcl_IsChannelExisting, and Tcl_ClearChannelHandlers to conform to
1.428 + the new stacked channel implementation. Their stub slots were
1.429 + also moved to give preference to the new 8.3.2 stub functions.
1.430 + This will cause an incompatability with 8.4a1 only.
1.431 + (StopCopy): fixed a bug introduced by a partial fix in 8.3.2 that
1.432 + didn't set nonBlocking correctly when resetting the flags for the
1.433 + write side. [Bug: 6261]
1.434 +
1.435 + * doc/ChnlStack.3:
1.436 + * doc/CrtChannel.3:
1.437 + * generic/tcl.decls:
1.438 + * generic/tcl.h:
1.439 + * generic/tclDecls.h:
1.440 + * generic/tclIO.c:
1.441 + * generic/tclIO.h:
1.442 + * generic/tclIOGT.c:
1.443 + * generic/tclInt.decls:
1.444 + * generic/tclIntDecls.h:
1.445 + * generic/tclStubInit.c:
1.446 + * generic/tclTest.c:
1.447 + * tests/iogt.test:
1.448 + * unix/Makefile.in:
1.449 + * win/Makefile.in:
1.450 + * win/makefile.vc:
1.451 + * win/tclConfig.sh.in:
1.452 + * win/tclWinChan.c:
1.453 + * win/tclWinConsole.c:
1.454 + * win/tclWinPipe.c:
1.455 + * win/tclWinSerial.c:
1.456 + * win/tclWinSock.c: Up-port of changes made in 8.3.2 to 8.4a2 code
1.457 + base. Most of these changes relate to the rewrite of the stacked
1.458 + channel implementation, with a few config related fixes.
1.459 +
1.460 + Following is an asynchronous include of the applicable ChangeLog
1.461 + entries from 8.3.2.
1.462 +
1.463 + ********************************************************
1.464 + ** START OF ASYNCHRONOUS UP-PORT LOG (8.3.2 -> 8.4a2) **
1.465 + ********************************************************
1.466 +
1.467 +2000-08-07 Jeff Hobbs <hobbs@scriptics.com>
1.468 +
1.469 + * doc/ChnlStack.3:
1.470 + * doc/CrtChannel.3: updated the docs to be aware of the
1.471 + TCL_CHANNEL_VERSION_2 style of Tcl channels.
1.472 +
1.473 + * generic/tclIO.c (Tcl_CreateChannel): added assertion to verify
1.474 + that the new channel versioning will be binary compatible with
1.475 + older channel drivers.
1.476 +
1.477 +2000-08-05 Jeff Hobbs <hobbs@scriptics.com>
1.478 +
1.479 + * generic/tclIOGT.c (TclChannelTransform): fixed segfault that
1.480 + would occur when transforming a channel with a proc that did not
1.481 + yet exist. (Kupries)
1.482 +
1.483 + * generic/tclTest.c (TestChannelCmd): added some lint init'ing of
1.484 + statePtr and chan vars.
1.485 +
1.486 +2000-07-26 Jeff Hobbs <hobbs@scriptics.com>
1.487 +
1.488 + * merged core-8-3-1-io-rewrite back into core-8-3-1-branch.
1.489 + The core-8-3-1-io-rewrite branch should now be considered defunct.
1.490 +
1.491 + * generic/tclStubInit.c:
1.492 + * generic/tclDecls.h:
1.493 + * generic/tcl.decls:
1.494 + * generic/tcl.h:
1.495 + * generic/tclIO.c: moved the Tcl_Channel* macros from tcl.h to
1.496 + tclIO.c and made them proper stubbed functions. These are:
1.497 + Tcl_ChannelName, Tcl_ChannelVersion, Tcl_ChannelBlockModeProc,
1.498 + Tcl_ChannelCloseProc, Tcl_ChannelClose2Proc, Tcl_ChannelInputProc,
1.499 + Tcl_ChannelOutputProc, Tcl_ChannelSeekProc, Tcl_ChannelSetOptionProc,
1.500 + Tcl_ChannelGetOptionProc, Tcl_ChannelWatchProc,
1.501 + Tcl_ChannelGetHandleProc, Tcl_ChannelFlushProc,
1.502 + and Tcl_ChannelHandlerProc. These should be used to access the
1.503 + Tcl_ChannelType structure instead of direct pointer dereferencing.
1.504 +
1.505 + * tests/iogt.test: added RCS string, marked tests 2.* to be
1.506 + unixOnly due to underlying system differences.
1.507 +
1.508 +2000-07-25 Andreas Kupries <a.kupries@westend.com>
1.509 +
1.510 + * tests/iogt.test: (line 866f) New tests iogt-6.[01], highlighting
1.511 + buffering trouble when stacking and unstacking transformations.
1.512 + iogt-6.0 is solved, see the changes below. iogt-6.1 remains, for
1.513 + now, due to the perceived complexity of solutions.
1.514 +
1.515 + * generic/tclIO.h: (line 139f) struct Channel, added a buffer
1.516 + queue, to hold data pushed back when stacking a transformation.
1.517 +
1.518 + * generic/tclIO.c:
1.519 + (line 91f, line 7434f) New internal function 'CopyBuffer'.
1.520 + Derived from 'CopyAndTranslateBuffer', with translation
1.521 + removed.
1.522 + (line 1025f, line 1212f): Initialization of new queue.
1.523 + (line 1164f, Tcl_StackChannel): Pushback of input queue.
1.524 + (line 1293f, Tcl_UnstackChannel): Discard input and pushback.
1.525 + (line 3748f, Tcl_ReadRaw): Modified to use data in the push back
1.526 + area before going to the driver. Uses 'CopyBuffer', s.a.
1.527 + (line 4702f, GetInput): Modified to use data in the push back
1.528 + area before going to the driver.
1.529 + (line 4867f, Tcl_Seek): Modified to take pushback of the topmost
1.530 + channel in a stack into account.
1.531 + (line 5620f, Tcl_InputBuffered): See above. Added
1.532 + 'Tcl_ChannelBuffered'. Analogue to 'Tcl_InputBuffered' but for
1.533 + the buffer area in the channel.
1.534 +
1.535 + * generic/tcl.decls: New public API 'Tcl_ChannelBuffered'. S.a.
1.536 +
1.537 +2000-07-17 Jeff Hobbs <hobbs@scriptics.com>
1.538 +
1.539 + * unix/Makefile.in:
1.540 + * win/Makefile.in:
1.541 + * win/makefile.vc: added tclIOGT.c to objects list to compile.
1.542 +
1.543 + * generic/tclStubInit.c:
1.544 + * generic/tclIntDecls.h:
1.545 + * generic/tclInt.decls: commented out internal decls for
1.546 + TclTestChannelCmd and TclTestChannelEventCmd as they were moved to
1.547 + tclTest.c. Added new decls for TclChannelEventScriptInvoker and
1.548 + TclChannelTransform.
1.549 +
1.550 + * generic/tclIO.c (CloseChannel): stopped masking out of the
1.551 + TCL_READABLE|TCL_WRITABLE bits from the state flags in
1.552 + CloseChannel, instead adding extra intelligence to
1.553 + CheckChannelErrors with a new CHANNEL_RAW_MODE bit for special
1.554 + behavior when called from Raw channel APIs.
1.555 +
1.556 +2000-07-13 Jeff Hobbs <hobbs@scriptics.com>
1.557 +
1.558 + * generic/tclIO.c (StackSetBlockMode): moved set of chanPtr
1.559 + outside of blockModeProc check to avoid infinite loop when
1.560 + blockModeProc was NULL (Kupries). updated TransformSeekProc to
1.561 + not call Tcl_Seek directly (Kupries).
1.562 +
1.563 + * win/tclWinChan.c: updated fileChannelType to v2 channel struct
1.564 + * win/tclWinConsole.c: updated consoleChannelType to v2 channel struct
1.565 + * win/tclWinPipe.c: updated pipeChannelType to v2 channel struct
1.566 + * win/tclWinSerial.c: updated serialChannelType to v2 channel struct
1.567 + * win/tclWinSock.c: updated tcpChannelType to v2 channel struct
1.568 +
1.569 +2000-07-11 Brent Welch <welch@ajubasolutions.com>
1.570 +
1.571 + * win/tclConfig.sh.in (TCL_LIBS): Cleaned up unix-specific
1.572 + autoconf variables.
1.573 +
1.574 +2000-07-11 Jeff Hobbs <hobbs@scriptics.com>
1.575 +
1.576 + * tests/iogt.test: made tests [345].0 not run by default as they
1.577 + were failing in the new design, but I'm not convinced that the
1.578 + returned result isn't correct.
1.579 +
1.580 + * generic/tclDecls.h:
1.581 + * generic/tclStubInit.c:
1.582 + * generic/tcl.decls: added Tcl_GetTopChannel C API that returns
1.583 + the current top channel of a channel stack. Tcl_GetChannel was
1.584 + changed earlier to return the bottommost channel of a stack
1.585 + because that is the one that is guaranteed to stay around the
1.586 + longest, and this was needed to compensate for certain
1.587 + operations that want to look at the state of the main channel.
1.588 + Most channel APIs already compensate for grabbing the top, so it
1.589 + shouldn't be needed often.
1.590 +
1.591 + * generic/tclIO.c (Tcl_StackChannel, Tcl_UnstackChannel): Added
1.592 + flushing of buffers (Kupries), removed use of DownChannel macro,
1.593 + added Tcl_GetTopChannel public API to get to the top channel of
1.594 + the channel stack (necessary for TLS). Rewrote Tcl_NotifyChannel
1.595 + for new channel design (Kupries). Did some code cleanup in the
1.596 + transform code. tclIO.c must still be broken into bits (separate
1.597 + out test code and giot code, create tclIO.h).
1.598 +
1.599 +2000-07-10 Andreas Kupries <a.kupries@westend.com>
1.600 +
1.601 + * tests/iogt.test: Reverted some earlier changes as a fix by Jeff
1.602 + revived the original and correct behaviour. IOW, the tests showed
1.603 + a genuine error and I didn't see it :(.
1.604 +
1.605 + * generic/tclIO.c (Tcl_Read|Write_Raw): Changed to directly use
1.606 + the drivers and not DoRead|DoWrite. The latter use the buffering
1.607 + system, encoding and eol-translation and this wreaks havoc with
1.608 + the data going through the transformations. Both procedures use
1.609 + CheckForchannelErrors and let it believe that there is no
1.610 + background copy in progress or else stacked channels could not
1.611 + be used for that.
1.612 +
1.613 + * generic/tclIO.c (TclCopyChannel, CopyData): Moved access to the
1.614 + topmost channel from the first to the second procedure to make
1.615 + the decision about that at the last possible time (Callbacks can
1.616 + change the stacking).
1.617 +
1.618 + test suite: failures of iogt-[345].0
1.619 +
1.620 +2000-07-06 Jeff Hobbs <hobbs@scriptics.com>
1.621 +
1.622 + * tests/iogt.test: new tests for stacked channel stuff based off
1.623 + new 'testchannel transform|unstack' code (Kupries IOGT extension).
1.624 + * generic/tcl.decls:
1.625 + * generic/tcl.h:
1.626 + * generic/tclDecls.h:
1.627 + * generic/tclStubsInit.c:
1.628 + * generic/tclIO.c: complete rewrite of Tcl Channel code for
1.629 + stacked channels. Channels are now designed to work in a more
1.630 + stacked fashion with a shared ChannelState data structure.
1.631 +
1.632 +2000-06-02 Jeff Hobbs <hobbs@scriptics.com>
1.633 +
1.634 + * generic/tclIO.c (CloseChannel): removed the &ing out of
1.635 + (TCL_READABLE|TCL_WRITABLE) from the flags, as CloseChannel does
1.636 + this on the next pass through for the top channel, and it appeared
1.637 + to be causing hangs by not allowing the final flush.
1.638 +
1.639 +2000-06-01 Jeff Hobbs <hobbs@scriptics.com>
1.640 +
1.641 + * generic/tclIO.c (CloseChannel): Rewrote CloseChannel code to
1.642 + unstack a channel during the close process. Fixed a refcount bug
1.643 + in Tcl_UnstackChannel. [Bug: 5623]
1.644 + (CloseChannel): further extended CloseChannel in the stacked case
1.645 + to effect certain operations on the next channel that would have
1.646 + been done in Tcl_Close. Also added CHANNEL_CLOSED and removed
1.647 + (TCL_READABLE|TCL_WRITABLE) bits from chanPtr->flags. Changed
1.648 + final reset of the WatchProc to check the chanDownPtr's (next)
1.649 + interestMask.
1.650 +
1.651 + ******************************************************
1.652 + ** END OF ASYNCHRONOUS UP-PORT LOG (8.3.2 -> 8.4a2) **
1.653 + ******************************************************
1.654 +
1.655 +2000-09-20 Jeff Hobbs <hobbs@scriptics.com>
1.656 +
1.657 + * tests/socket.test: removed doTestsWithRemoteServer constraint
1.658 + from socket-12.*. It requires 'exec', not a remote server.
1.659 + Cleaned up some coding errors.
1.660 +
1.661 +2000-09-20 Jennifer Hom <jenn@ajubasolutions.com>
1.662 +
1.663 + * library/tcltest1.0/pkgIndex.tcl: Updated to load tcltest 2.0.
1.664 + * library/tcltest1.0/tcltest2.tcl: New version of tcltest.
1.665 + Cleanup of command line parsing: allows users to specify command
1.666 + line arguments through an environment variable named
1.667 + TCLTEST_OPTIONS [RFE: 3748], does not respond to incorrect
1.668 + arguments, and forces usage of entire flag name when using command
1.669 + line arguments. Defines accessor procs for all tcltest
1.670 + variables. Allows users to use 'return' in test scripts. Allow
1.671 + users to specify whether test files should be sourced or run in a
1.672 + separate process. 'all.tcl' code moved to tcltest package.
1.673 + 'test' proc modified to use attribute-value pairs. Allow users to
1.674 + specify what return codes, output, and errors can be compared and
1.675 + whether these values should be compared using regexp, glob, or
1.676 + exact matching. makeDirectory & removeDirectory now operate with
1.677 + respect to temporaryDirectory [Bug: 6001]. Test results from
1.678 + tests run in slave interpreters are now included in test totals
1.679 + [Bug: 1493]. Test files that return error values are now reported.
1.680 +
1.681 + * tests/all.tcl: Added code to check for the tcltest version
1.682 + loaded; modified to figure out which tests to run based on the
1.683 + tcltest version loaded.
1.684 + * tests/tcltest.test: Modified to explicitly load version 1.0 of
1.685 + tcltest.
1.686 + * tests/tcltest2.test: New test suite for tcltest; includes all of
1.687 + the old tests plus new ones reflecting changes made for version
1.688 + 2.0.
1.689 + * tests/cmdAH.test: Added singleTestInterp constraint to
1.690 + cmdAH-31.2; this test does not run if tests aren't sourced into a
1.691 + single interpreter.
1.692 + * tests/socket.test: Fixed two tests that were referencing
1.693 + variables outside of scope.
1.694 +
1.695 + * tools/tcl.wse.in: Added code to install tcltest2.tcl.
1.696 +
1.697 + * doc/tcltest2.n: New documentation for tcltest version 2.0.
1.698 + Removes documentation for tcltest namespace variables. Adds
1.699 + documentation for new tcltest procs.
1.700 +
1.701 + * unix/mkLinks: Added code to link to tcltest2.n.
1.702 +
1.703 + * generic/tcl.h: Added comment to modify tcltest2.tcl as well as
1.704 + tcltest.tcl for version changes.
1.705 +
1.706 +2000-09-19 Eric Melski <ericm@ajubasolutions.com>
1.707 +
1.708 + * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): When using -all, all
1.709 + attempts after the first to match the regexp against the string
1.710 + should include the TCL_REG_NOTBOL flag, to avoid erroneously
1.711 + matching ^ in the middle of the string. Added code to set this
1.712 + flag after the first pass through the matching loop. [Bug: 6284].
1.713 +
1.714 +2000-09-19 David Gravereaux <davygrvy@ajubasolutions.com>
1.715 +
1.716 + * doc/Eval.3: Added a note about the script argument to Tcl_Eval()
1.717 + should be in UTF-8 or risk implied conversion errors when possible
1.718 + combinations of upper ascii can be valid UTF-8 special codes.
1.719 +
1.720 +2000-09-17 Eric Melski <ericm@ajubasolutions.com>
1.721 +
1.722 + * tests/cmdIL.test: Added a test for fix for [Bug: 6212].
1.723 +
1.724 + * generic/tclCmdIL.c (Tcl_LsortObjCmd): Applied patch from [Bug:
1.725 + 6212], which corrected an error in the handling of the -index option.
1.726 +
1.727 +2000-09-14 Eric Melski <ericm@ajubasolutions.com>
1.728 +
1.729 + * doc/Alloc.3: Added entries for Tcl_AttemptAlloc, Tcl_AttempRealloc.
1.730 +
1.731 + * doc/StringObj.3: Added entry for Tcl_AttemptSetObjLength.
1.732 +
1.733 + * generic/tclDecls.h:
1.734 + * generic/tclStubInit.c: Regen'ed stubs files from new tcl.decls.
1.735 +
1.736 + * generic/tcl.decls: Added stubs for the Tcl_Attempt* memory
1.737 + allocators and for Tcl_AttemptSetObjLength.
1.738 +
1.739 + * generic/tcl.h: Added #define's for attemptckalloc,
1.740 + attemptckrealloc, which map to the Tcl_Attempt* memory allocators.
1.741 +
1.742 + * generic/tclCkalloc.c: Added non-panic'ing versions of Tcl_Alloc,
1.743 + Tcl_Realloc, etc.; these are called Tcl_AttemptAlloc,
1.744 + Tcl_AttemptRealloc, etc. These are used by
1.745 + Tcl_AttemptSetObjLength and the string obj append functions.
1.746 +
1.747 + * generic/tclStringObj.c: Modified string growth algorithm to use
1.748 + doubling algorithm as long as possible, and only fall back when
1.749 + that fails. Added Tcl_AttemptSetObjLength, and modified
1.750 + AppendUnicodeToUnicodeRep, AppendUtfToUtfRep, and
1.751 + Tcl_AppendStringsToObjVA to support this.
1.752 +
1.753 +2000-09-07 David Gravereaux <davygrvy@ajubasolutions.com>
1.754 +
1.755 + * win/.cvsignore: changed the glob patterns a bit to exclude VC++
1.756 + project conversion backups.
1.757 +
1.758 + * win/tclWinPipe.c: Stage-1 bug fix for TR#2460 "exec leaks memory".
1.759 + Added more logic around the close-down of the pipe reader thread so
1.760 + as to avoid, at all cost, a TerminateThread. Most cases with exec
1.761 + are fixed, but I don't consider 2460 done yet. Closing down the
1.762 + read side of a pipe before the child process, doesn't really fit
1.763 + the windows model. [BUG: 2460]
1.764 +
1.765 +2000-09-07 Jeff Hobbs <hobbs@scriptics.com>
1.766 +
1.767 + * doc/trace.n: minor doc cleanup
1.768 +
1.769 +2000-09-06 André Pönitz <poenitz@htwm.de>
1.770 +
1.771 + * doc/*.n: added or changed "SEE ALSO:" section
1.772 +
1.773 +2000-09-06 Jeff Hobbs <hobbs@scriptics.com>
1.774 +
1.775 + * win/tclWinLoad.c (TclpLoadFile): added special message for
1.776 + ERROR_PROC_NOT_FOUND exception in loading a dll.
1.777 + * win/tclWinError.c: changed ERROR_PROC_NOT_FOUND to map from
1.778 + ESRCH (POSIX: no such process) to EINVAL because there is no good
1.779 + mapping for "procedure not found".
1.780 +
1.781 + * README:
1.782 + * generic/tcl.h:
1.783 + * library/tcltest1.0/tcltest.tcl:
1.784 + * tools/tcl.wse.in:
1.785 + * tools/tcltk-man2html.tcl:
1.786 + * unix/configure.in:
1.787 + * unix/tcl.spec:
1.788 + * win/README.binary:
1.789 + * win/configure.in: updated patchlevel to 8.4a2
1.790 +
1.791 + * unix/tclUnixPipe.c (TclpCreateProcess): Removed WNOHANG from
1.792 + Tcl_WaitPid call in error case of process creation on Unix, as it
1.793 + would lead to defunct processes. [Bug: 6148]
1.794 +
1.795 + * tests/string.test: extended string repeat tests
1.796 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): changed STR_REPEAT to
1.797 + preallocate the full space of the final string, avoided repeated
1.798 + appends.
1.799 +
1.800 + * doc/source.n:
1.801 + * doc/Eval.3: added extra note about how to safe use ^Z in code,
1.802 + as it is now a cross-platform (was just Windows) EOF char.
1.803 +
1.804 +2000-09-05 Jeff Hobbs <hobbs@scriptics.com>
1.805 +
1.806 + * generic/tclHash.c: fixed pedantic warning of incorrectly placed
1.807 + #endif
1.808 +
1.809 + * generic/tclExecute.c (TclExecuteByteCode): INST_STR_INDEX fixed
1.810 + pedantic cast warning.
1.811 + Corrected support for building with -DTCL_COMPILE_STATS.
1.812 + Added efficiency check of object equality.
1.813 +
1.814 +2000-08-29 Eric Melski <ericm@ajubasolutions.com>
1.815 +
1.816 + * generic/tclStringObj.c: Applied patch from Gerhard Hintermayer
1.817 + to provide a more conservative string growth algorithm for strings
1.818 + larger than one megabyte; this allows more efficient use of memory
1.819 + for very large strings.
1.820 +
1.821 +2000-08-25 Eric Melski <ericm@ajubasolutions.com>
1.822 +
1.823 + * tests/trace.test: Extended array tracing tests.
1.824 +
1.825 + * doc/trace.n: Clarified information about when array traces will
1.826 + be fired.
1.827 +
1.828 + * generic/tclVar.c (Tcl_ArrayObjCmd): Corrected call to CallTraces
1.829 + (for TCL_TRACE_ARRAY) to only be called when the variable is
1.830 + either an array or is undefined, to ensure that array traces do
1.831 + not fire for scalar variables.
1.832 +
1.833 +2000-08-24 Eric Melski <ericm@ajubasolutions.com>
1.834 +
1.835 + * doc/man.macros: Tweaked tab settings for .SO (Standard Options)
1.836 + sections, based on suggestion from Peter Spjuth.
1.837 +
1.838 +2000-08-24 Mo DeJong <mdejong@redhat.com>
1.839 +
1.840 + * unix/README: Update to account for removal of --enable-gcc.
1.841 + * unix/configure.in:
1.842 + * unix/tcl.m4 (SC_ENABLE_GCC): Remove --enable-gcc option.
1.843 + * win/README: Add note about building with Cygwin.
1.844 + * win/configure.in:
1.845 + * win/tcl.m4 (SC_ENABLE_GCC): Remove --enable-gcc option.
1.846 + Remove quick hack that provided cross compile support for
1.847 + windows builds.
1.848 +
1.849 +2000-08-24 Eric Melski <ericm@ajubasolutions.com>
1.850 +
1.851 + Overall change: Added support for command rename/delete traces
1.852 + and new trace syntax, from patch from Vince Darley. Added support
1.853 + for array traces for variables. [RFE: 5048, 5967].
1.854 +
1.855 + * doc/trace.n: Updated documentation for new syntax; flagged old
1.856 + syntax as deprecated; added documentation for command
1.857 + rename/delete traces and variable array traces.
1.858 +
1.859 + * tests/trace.test: Updated tests for new trace syntax; new tests
1.860 + for command rename/delete traces; new tests for array traces.
1.861 +
1.862 + * generic/tclVar.c: Support for new trace syntax; support for
1.863 + TCL_TRACE_ARRAY.
1.864 +
1.865 + * generic/tclStubInit.c:
1.866 + * generic/tclDecls.h:
1.867 + * generic/tcl.decls: Stub functions for command rename/delete traces.
1.868 +
1.869 + * generic/tcl.h:
1.870 + * generic/tclInt.h:
1.871 + * generic/tclBasic.c: Support for command traces.
1.872 +
1.873 + * generic/tclCmdMZ.c (TclTraceVariableObjCmd): Patched to support
1.874 + new [trace] syntax:
1.875 + trace {add|remove|list} {variable|command} name ops command
1.876 + Added support for command traces (rename, delete operations).
1.877 + Added support for TCL_TRACE_ARRAY at Tcl level (array operation
1.878 + for variable traces).
1.879 +
1.880 +2000-08-20 Eric Melski <ericm@ajubasolutions.com>
1.881 +
1.882 + * generic/tclVar.c: Added check for non-arrays for [array statistics]
1.883 + command (patch from Mark Patton).
1.884 +
1.885 +2000-08-19 David Gravereaux <davygrvy@ajubasolutions.com>
1.886 +
1.887 + * generic/tclPlatDecls.h: without a previous '#include <windows.h>',
1.888 + tclPlatDecls.h can't be parsed due to a missing definition of TCHAR.
1.889 + Added a check to include it when not defined.
1.890 +
1.891 + ***POSSIBLE OBSCURE BUG*** could be caused when the compile flags
1.892 + for the core happen to be different than a project who uses these
1.893 + publics regarding -D_MBCS and -D_UNICODE. This added check might
1.894 + have to be revisited later with a better understanding of the
1.895 + reprocusions. I think TCHAR should be replaced with it's expansion.
1.896 +
1.897 +2000-08-18 David Gravereaux <davygrvy@ajubasolutions.com>
1.898 +
1.899 + * win/.cvsignore (added): provides a cleaner build environment with
1.900 + graphical CVS clients.
1.901 +
1.902 +2000-08-15 Eric Melski <ericm@ajubasolutions.com>
1.903 +
1.904 + * library/tcltest1.0/tcltest.tcl: Set debug level in
1.905 + tcltest::restoreState to 2, for consistancy with the debug level
1.906 + in tcltest::saveState [Bug: 4505].
1.907 +
1.908 +2000-08-14 Eric Melski <ericm@ajubasolutions.com>
1.909 +
1.910 + * win/makefile.vc:
1.911 + * win/Makefile.in:
1.912 + * unix/Makefile.in: Added tclPlatDecls.h to the list of installed
1.913 + headers, for more complete stubs support. [Bug: 5241].
1.914 +
1.915 + * generic/tcl.h: Added #include "tclPlatDecls.h" to get
1.916 + platform-specific stubs declarations (Tcl_WinTCharToUtf, etc)
1.917 + [Bug: 5241].
1.918 +
1.919 + * README: Updated link for instructions on compiling Tcl from
1.920 + sources to point to correct location
1.921 + (http://dev.scriptics.com/doc/... instead of
1.922 + http://dev.scriptics.com/support/...).
1.923 +
1.924 +2000-08-11 Eric Melski <ericm@ajubasolutions.com>
1.925 +
1.926 + * generic/tclEnv.c (TclUnsetEnv): Changed declaration of length
1.927 + variable from "unsigned int" to "int", to match usage when passed
1.928 + to TclpFindVariable [Bug: 6126].
1.929 +
1.930 +2000-08-10 Eric Melski <ericm@ajubasolutions.com>
1.931 +
1.932 + * library/msgcat1.0/pkgIndex.tcl: Bumped version number to 1.2
1.933 + [Bug: 6100].
1.934 +
1.935 + * library/msgcat1.0/msgcat.tcl: Removed erroneous [package forget]
1.936 + in msgcat namespace initializer. Bumped version number to 1.2
1.937 + [Bug: 6100].
1.938 +
1.939 +2000-08-10 David Gravereaux <davygrvy@ajubasolutions.com>
1.940 +
1.941 + * generic/tclObj.c: r1.15 accidentally changed a global mutex
1.942 + name tclObjMutex to ObjMutex. Put the correct name back.
1.943 +
1.944 +2000-08-07 Eric Melski <ericm@ajubasolutions.com>
1.945 +
1.946 + * tests/indexObj.test: Added tests using the [testwrongnumargs]
1.947 + command to test Tcl_WrongNumArgs.
1.948 +
1.949 + * generic/tclTest.c (TestWrongNumArgsObjCmd): Added test function
1.950 + for the Tcl_WrongNumArgs function.
1.951 +
1.952 + * generic/tclIndexObj.c (Tcl_WrongNumArgs): Corrected algorithm to
1.953 + not insert a space before the message component when objc == 0
1.954 + [Bug: 6078].
1.955 +
1.956 +2000-07-27 Mo DeJong <mdejong@redhat.com>
1.957 +
1.958 + * win/configure.in: TCL_STUB_LIB_FLAG should not
1.959 + include ${TCL_DBGX} in win/tclConfig.sh, fix that.
1.960 +
1.961 +2000-07-25 David Gravereaux <davygrvy@ajubasolutions.com>
1.962 +
1.963 + * doc/Async.3:
1.964 + * generic/tclAsync.c:
1.965 + * generic/tclInt.decls:
1.966 + * generic/tclIntPlatDecls.h:
1.967 + * generic/tclStubInit.c:
1.968 + * generic/tclTest.c:
1.969 + * mac/tclMacPort.h:
1.970 + * unix/tclUnixPort.h:
1.971 + * win/tclWinInit.c: Thread-safe rewrite for tclAsync.c. Added
1.972 + notifier alerting on all platforms as it was only working on Win
1.973 + before. Removed older Win hacks that would end-up waking the
1.974 + wrong notifier in the presence of a threaded build. All tests
1.975 + pass as before. New test cases will be added soon for the new
1.976 + behavior. [BUG: 5791]
1.977 +
1.978 +2000-07-25 Eric Melski <ericm@ajubasolutions.com>
1.979 +
1.980 + * generic/tclVar.c (CallTraces): Added check for VAR_TRACE_ACTIVE
1.981 + on the array containing the variable before executing traces on
1.982 + that array, to conform with normal variable traces and the
1.983 + documentation, which states that while executing a trace, other
1.984 + traces on that variable are disabled. [Bug: 6049].
1.985 +
1.986 + * win/tclWinPipe.c (BuildCommandLine): Added Tcl_DStringFree call
1.987 + to prevent potential memory leaks [Bug: 6041].
1.988 +
1.989 +2000-07-24 Eric Melski <ericm@ajubasolutions.com>
1.990 +
1.991 + * doc/msgcat.n: Added documentation about the selection of the
1.992 + default locale on Windows.
1.993 +
1.994 +2000-07-23 Joe English <jenglish@flightlab.com>
1.995 + * doc/AddErrInfo.3:
1.996 + * doc/ChnlStack.3:
1.997 + * doc/Exit.3:
1.998 + * doc/GetIndex.3:
1.999 + * doc/Notifier.3:
1.1000 + * doc/Object.3:
1.1001 + * doc/RegExp.3:
1.1002 + * doc/SetResult.3:
1.1003 + * doc/SplitList.3:
1.1004 + * doc/Thread.3: Added missing entries to NAME section.
1.1005 +
1.1006 + * doc/AddErrInfo.3:
1.1007 + * doc/CrtObjCmd.3:
1.1008 + * doc/RecEvalObj.3: Changed Tcl_EvalObj to Tcl_EvalObjEx
1.1009 +
1.1010 +2000-07-21 Eric Melski <ericm@ajubasolutions.com>
1.1011 +
1.1012 + * generic/tclStubInit.c:
1.1013 + * generic/tclObj.c:
1.1014 + * generic/tclInt.h:
1.1015 + * generic/tclHash.c:
1.1016 + * generic/tclDecls.h:
1.1017 + * generic/tcl.h:
1.1018 + * generic/tcl.decls:
1.1019 + * doc/Hash.3: Reapplied patch from Paul Duffin to extend hash tables
1.1020 + to allow custom key types, such as Tcl_Obj *'s, and others.
1.1021 +
1.1022 + * doc/binary.n: Noted that the example in the introduction assumes a
1.1023 + 32-bit system [Bug: 6035].
1.1024 +
1.1025 +2000-07-21 Mo DeJong <mdejong@redhat.com>
1.1026 +
1.1027 + * win/configure.in: Define ${prefix} and ${exec_prefix} like
1.1028 + unix/configure.in. Fix or add TCL_SRC_DIR, TCL_STUB_LIB_FILE,
1.1029 + TCL_STUB_LIB_FLAG, TCL_BUILD_STUB_LIB_SPEC, TCL_STUB_LIB_SPEC,
1.1030 + TCL_BUILD_STUB_LIB_PATH, TCL_STUB_LIB_PATH.
1.1031 +
1.1032 +2000-07-20 Eric Melski <ericm@ajubasolutions.com>
1.1033 +
1.1034 + * generic/tclStubInit.c:
1.1035 + * generic/tclObj.c:
1.1036 + * generic/tclInt.h:
1.1037 + * generic/tclHash.c:
1.1038 + * generic/tclDecls.h:
1.1039 + * generic/tcl.h:
1.1040 + * generic/tcl.decls:
1.1041 + * doc/Hash.3: Reverted patch from Paul Duffin to extend hash tables
1.1042 + to allow custom key types, such as Tcl_Obj *'s, and others; it
1.1043 + seems to break Tk.
1.1044 +
1.1045 +2000-07-19 Eric Melski <ericm@ajubasolutions.com>
1.1046 +
1.1047 + * generic/tclStubInit.c:
1.1048 + * generic/tclObj.c:
1.1049 + * generic/tclInt.h:
1.1050 + * generic/tclHash.c:
1.1051 + * generic/tclDecls.h:
1.1052 + * generic/tcl.h:
1.1053 + * generic/tcl.decls:
1.1054 + * doc/Hash.3: Applied patch from Paul Duffin to extend hash tables
1.1055 + to allow custom key types, such as Tcl_Obj *'s, and others.
1.1056 +
1.1057 + * tests/pkgMkIndex.test: Added tests for pkg_compareExtension.
1.1058 +
1.1059 + * library/package.tcl: Enhanced pkg_compareExtension to handle
1.1060 + Unixes which tack the version number on to the end of library
1.1061 + names (eg, foo.so.1.2); such filenames will be correctly matched.
1.1062 + (Patch from Vince Darley).
1.1063 +
1.1064 + * win/makefile.vc: Applied patch from Don Porter to provide better
1.1065 + nmake support for NT/Alpha [RFE: 5938].
1.1066 +
1.1067 +2000-07-18 Mo DeJong <mdejong@redhat.com>
1.1068 +
1.1069 + * unix/configure.in:
1.1070 + * unix/tcl.m4:
1.1071 + * win/tcl.m4: Properly quote arguments to m4 macros. This allows
1.1072 + Tcl to work with the new version of autoconf.
1.1073 +
1.1074 +2000-07-18 Eric Melski <ericm@ajubasolutions.com>
1.1075 +
1.1076 + * tests/opt.test: Removed references to Lfirst, Lrest functions.
1.1077 +
1.1078 + * library/opt0.4/optparse.tcl: Applied patch from Chris Nelson,
1.1079 + which replaces the [Lfirst] function with an inline [lindex ... 0]
1.1080 + and [Lrest] with [lrange ... 1 end], for better performance.
1.1081 + [RFE: 6019]
1.1082 +
1.1083 +
1.1084 +2000-07-18 Eric Melski <ericm@scriptics.com>
1.1085 +
1.1086 + * compat/string.h: Fixed function prototypes for strpbrk and
1.1087 + strtok [Bug: 6020].
1.1088 +
1.1089 +2000-07-17 David Gravereaux <davygrvy@ajubasolutions.com>
1.1090 +
1.1091 + * win/tclWinChan.c: Win2K OS bug with
1.1092 + GetStdHandle(STD_OUTPUT_HANDLE) giving the wrong answer. This
1.1093 + made TclpGetDefaultStdChannel grab what it thought was a valid
1.1094 + native stdout handle. Added a new WriteFile() test to make sure
1.1095 + it's really valid. This OS bug doesn't affect the shells. Only
1.1096 + -subsystem:windows (aka WinMain) application that dynamically
1.1097 + load tclXX.dll [BUG: 5971]
1.1098 +
1.1099 +2000-07-17 Eric Melski <ericm@scriptics.com>
1.1100 +
1.1101 + * library/msgcat1.0/msgcat.tcl:
1.1102 + * doc/msgcat.n:
1.1103 + * tests/msgcat.test: Applied patches from Chris Nelson, to provide
1.1104 + the mcmset function, which allows the translator to set multiple
1.1105 + string translations in a single function call, rather than
1.1106 + requiring many calls to mcset. [RFE: 6000, 5993]. In addition,
1.1107 + these patches correct mcload to use utf-8 encoding on when reading
1.1108 + message catalog files, and provides for better default behavior
1.1109 + for determining the locale on a Windows system.
1.1110 +
1.1111 +2000-07-17 Mo DeJong <mdejong@redhat.com>
1.1112 +
1.1113 + * unix/tcl.m4 (SC_ENABLE_GCC): Don't set CC=gcc
1.1114 + before running AC_PROG_CC if CC is already set.
1.1115 +
1.1116 +2000-07-13 André Pönitz <poenitz@mathematik.tu-chemnitz.de>
1.1117 +
1.1118 + * doc/lappend.n:
1.1119 + * doc/lindex.n:
1.1120 + * doc/linsert.n:
1.1121 + * doc/list.n:
1.1122 + * doc/llength.n:
1.1123 + * doc/lrange.n:
1.1124 + * doc/lreplace.n:
1.1125 + * doc/lsearch.n:
1.1126 + * doc/lsort.n: Added SEE ALSO sections.
1.1127 +
1.1128 +2000-07-07 Mo DeJong <mdejong@redhat.com>
1.1129 +
1.1130 + * win/configure.in: Fix definition of
1.1131 + TCL_SRC_DIR so that it matches the Unix version.
1.1132 + * win/tclConfig.sh.in: Removed duplicate variables.
1.1133 +
1.1134 +2000-07-06 Eric Melski <ericm@scriptics.com>
1.1135 +
1.1136 + * tests/msgcat.test:
1.1137 + * library/msgcat1.0/msgcat.tcl: Applied patch from Christian
1.1138 + Krone, to provide extended args support for msgcat::unknown, which
1.1139 + is used for strings without a known translation in the current
1.1140 + locale [Bug: 5984].
1.1141 +
1.1142 +2000-06-29 Eric Melski <ericm@scriptics.com>
1.1143 +
1.1144 + * doc/msgcat.n: Doc's for mcmax function.
1.1145 +
1.1146 + * library/msgcat1.0/msgcat.tcl: Applied patches from Laurent
1.1147 + Duperval, to add mcmax function, which computes the length of the
1.1148 + longest of several translated strings. Bumped version number to 1.1.
1.1149 +
1.1150 +2000-06-27 Eric Melski <ericm@scriptics.com>
1.1151 +
1.1152 + * tests/stringObj.test: Tweaked tests to avoid hardcoded
1.1153 + high-ASCII characters (which will fail in multibyte locales);
1.1154 + instead used \uXXXX syntax. [Bug: 3842].
1.1155 +
1.1156 +2000-06-26 Eric Melski <ericm@scriptics.com>
1.1157 +
1.1158 + * doc/package.n: Corrected information about [package forget]
1.1159 + arguments [Bug: 5418].
1.1160 +
1.1161 +2000-06-23 Eric Melski <ericm@scriptics.com>
1.1162 +
1.1163 + * doc/Hash.3: Added documentation patch for Tcl_Obj *'s as keys in
1.1164 + Tcl hash tables [RFE: 5934].
1.1165 +
1.1166 + * generic/tcl.h:
1.1167 + * generic/tclHash.c: Applied patch from [RFE: 5934], which extends
1.1168 + Tcl hash tables to allow Tcl_Obj *'s as the key.
1.1169 +
1.1170 +2000-06-20 Eric Melski <ericm@ajubasolutions.com>
1.1171 +
1.1172 + * tests/opt.test:
1.1173 + * library/opt0.4/optparse.tcl: Applied patch from [Bug: 5922], which
1.1174 + corrected an incorrect use of [string match].
1.1175 +
1.1176 + * unix/tclConfig.sh.in:
1.1177 + * win/tclConfig.sh.in: Applied patch from [Bug: 5921], which corrects a
1.1178 + typo in the comments in these files.
1.1179 +
1.1180 +2000-06-19 Eric Melski <ericm@scriptics.com>
1.1181 +
1.1182 + * doc/RegExp.3: Replaced instances of "Tcl_GetRegExpInfo" with
1.1183 + "Tcl_RegExpGetInfo", the correct name of the function [Bug: 5901].
1.1184 +
1.1185 +2000-06-13 Eric Melski <ericm@scriptics.com>
1.1186 +
1.1187 + * win/tcl.m4:
1.1188 + * win/configure.in:
1.1189 + * win/Makefile.in: Applied patch from [RFE: 5844], to extend
1.1190 + support for mingw compile environment on Windows.
1.1191 +
1.1192 + * win/tclWinDde.c:
1.1193 + * win/tclWinInit.c:
1.1194 + * win/tclWinNotify.c:
1.1195 + * win/tclWinPipe.c:
1.1196 + * win/tclWinReg.c:
1.1197 + * win/tclWinThrd.c: Applied patch from [Bug: 5794], to fix
1.1198 + compiler warnings when using mingw on Windows.
1.1199 +
1.1200 +2000-05-31 Jeff Hobbs <hobbs@scriptics.com>
1.1201 +
1.1202 + * tests/set-old.test:
1.1203 + * doc/unset.n:
1.1204 + * generic/tclVar.c (Tcl_UnsetObjCmd): added -nocomplain and --
1.1205 + options to unset, to allow for a silent unset operation.
1.1206 +
1.1207 +2000-05-31 Eric Melski <ericm@scriptics.com>
1.1208 +
1.1209 + * generic/tclVar.c (Tcl_ArrayObjCmd): Added support for regexp and
1.1210 + exact matching for [array names] command. [RFE: 3684].
1.1211 +
1.1212 + * doc/array.n: Added documentation for [array names
1.1213 + -exact/-regexp/-glob] [RFE: 3684].
1.1214 +
1.1215 + * tests/set-old.test: Added tests for [array names
1.1216 + -exact/-regexp/-glob] [RFE: 3684].
1.1217 +
1.1218 +2000-06-06 Jeff Hobbs <hobbs@scriptics.com>
1.1219 +
1.1220 + 8.4a1 RELEASE
1.1221 +
1.1222 + * generic/tclExecute.c (TclExecuteByteCode INST_STR_CMP): added
1.1223 + test of iResult return from memcmp, as memcmp isn't required to
1.1224 + return only -1,0,1.
1.1225 +
1.1226 +2000-06-03 Jeff Hobbs <hobbs@scriptics.com>
1.1227 +
1.1228 + * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Corrected
1.1229 + caching of the index ptr to account for offsets != sizeof(char *).
1.1230 + [Bug: 5153]
1.1231 +
1.1232 +2000-05-29 Sandeep Tamhankar <sandeep@scriptics.com>
1.1233 +
1.1234 + * tests/http.test
1.1235 + * doc/http.n
1.1236 + * library/http2.3/http.tcl: Fixed bug 5741, where unsuccessful
1.1237 + geturl calls sometimes leaked memory and resources (sockets).
1.1238 + Also, switched around some of the logic so that http::wait never
1.1239 + throws an exception. This is because in an asynchronous geturl,
1.1240 + the command callback will probably end up doing all the error
1.1241 + handling anyway, and in an asynchronous situation, the user
1.1242 + expects to check the state when the transaction completes, as
1.1243 + opposed to being thrown an exception. For the http package, this
1.1244 + menas the user can check http::status for "error" and http::error
1.1245 + for the error message after doing the http::wait.
1.1246 +
1.1247 +2000-05-27 Jeff Hobbs <hobbs@scriptics.com>
1.1248 +
1.1249 + * tests/info.test:
1.1250 + * doc/info.n:
1.1251 + * generic/tclIOUtil.c (Tcl_EvalFile):
1.1252 + * generic/tclCmdIL.c (InfoScriptCmd): added ability to set the
1.1253 + info script return value [info script ?newFileName?]. This will
1.1254 + be beneficial for virtual file system programs. [Bug: 4225]
1.1255 +
1.1256 +2000-05-26 Jeff Hobbs <hobbs@scriptics.com>
1.1257 +
1.1258 + * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): reworked to operate in
1.1259 + Unicode, tweaked for performance.
1.1260 + (Tcl_StringObjCmd) changed STR_FIRST/STR_LAST error message to
1.1261 + something more understandable, reworked STR_FIRST, STR_LAST,
1.1262 + STR_MAP, STR_MATCH, STR_RANGE, STR_REPLACE to operate in Unicode.
1.1263 + Removed inneffectual STR_RANGE "special" ByteArray support.
1.1264 + Optimized STR_MAP algorithm, especially optimized for one-pair case.
1.1265 + Fixed possible mem overrun in STR_INDEX bytearray case.
1.1266 +
1.1267 + * generic/tclCompExpr.c: changed INST_STREQ -> INST_STR_EQ,
1.1268 + INST_STRNEQ -> INST_STR_NEQ
1.1269 + * generic/tclCompile.c: added streq, strneq, strcmp, strlen &
1.1270 + strmatch to the compiled stats instructionTable
1.1271 + * generic/tclCompile.h: added instructions INST_STR_CMP,
1.1272 + INST_STR_INDEX, INST_STR_MATCH
1.1273 + * generic/tclCompCmds.c: added byte compiler support for
1.1274 + [string compare|match|index].
1.1275 + * generic/tclExecute.c:
1.1276 + Changed INST_STR_(N)EQ to return an Int object and not bother
1.1277 + trying to reuse the top stack object.
1.1278 + Added INST_STR_CMP, INST_STR_INDEX, INST_STR_MATCH bytecode ops.
1.1279 + Extended evalstats output info with Tcl_IsShared stat info.
1.1280 +
1.1281 + * generic/tclInt.h:
1.1282 + * generic/tclObj.c (Tcl_DbIsShared): added support for checking
1.1283 + result of Tcl_IsShared in evalstats (TCL_COMPILE_STATS).
1.1284 +
1.1285 + * generic/tclStringObj.c (Tcl_AppendUnicodeToObj): removed dead code.
1.1286 + (AppendUnicodeToUnicodeRep) removed overallocation by extra
1.1287 + sizeof(Tcl_UniChar) multiplier.
1.1288 +
1.1289 + * tests/string.test: added string map tests for the one-pair case,
1.1290 + corrected tests to reflect improved error messages in first/last.
1.1291 + Added tests against mem overrun in string index bytearray case.
1.1292 +
1.1293 +2000-05-23 Eric Melski <ericm@scriptics.com>
1.1294 +
1.1295 + * generic/tclInt.h: Added function prototypes for
1.1296 + TclCompileStringCmd and TclCompileReturnCmd.
1.1297 +
1.1298 + * generic/tclCompile.h: Added definition of INST_STRLEN opcode and
1.1299 + updated LAST_INST_OPCODE value.
1.1300 +
1.1301 + * generic/tclBasic.c: Added information about TclCompileStringCmd
1.1302 + and TclCompileReturnCmd to BuiltInCmds table.
1.1303 +
1.1304 + * generic/tclExecute.c (TclExecuteByteCode): Added support for the
1.1305 + INST_STRLEN opcode.
1.1306 +
1.1307 + * generic/tclCompCmds.c
1.1308 + (TclCompileStringCmd): Basic implementation of byte-compiled
1.1309 + [string] command. Not all subcommands are implemented; those
1.1310 + that are not an out-line compiled.
1.1311 +
1.1312 + (TclCompileReturnCmd): Byte-compiled implementation of [return]
1.1313 + command. Only "simple" returns are byte-compiled; in particular,
1.1314 + if the -code, -errorinfo or -errorcode flags are used, the command
1.1315 + is not byte-compiled.
1.1316 +
1.1317 +2000-05-22 Jeff Hobbs <hobbs@scriptics.com>
1.1318 +
1.1319 + * doc/scan.n:
1.1320 + * doc/array.n: minor doc fixes [Bug: 5396]
1.1321 +
1.1322 + * generic/tclEnv.c: cast cleanup [Bug: 5624]
1.1323 + * win/tclWinConsole.c: cast and header cleanup [Bug: 5625]
1.1324 + * win/tclWinSerial.c: cast cleanup [Bug: 5626]
1.1325 + * win/tclWinFCmd.c: cast cleanup [Bug: 5627]
1.1326 +
1.1327 +2000-05-19 Jeff Hobbs <hobbs@scriptics.com>
1.1328 +
1.1329 + * generic/tclTest.c:
1.1330 + * generic/tclIO.c: moved channel test commands from tclIO.c to
1.1331 + tclTest.c.
1.1332 + * generic/tclIO.h: new file, split out from tclIO.c to allow test
1.1333 + commands to be moved to tclTest.c.
1.1334 +
1.1335 + * generic/tclStubInit.c:
1.1336 + * generic/tclIntDecls.h:
1.1337 + * generic/tclInt.decls: removed TclTestChannel*Cmd from internal
1.1338 + stubs table and added TclChannelEventScriptInvoker to the internal
1.1339 + stubs table so it can be used from the test code.
1.1340 +
1.1341 +2000-05-18 Eric Melski <ericm@scriptics.com>
1.1342 +
1.1343 + * tests/clock.test: Added test for "2 days 2 hours ago" style
1.1344 + specifications.
1.1345 +
1.1346 + * generic/tclDate.c: Regenerated from tclGetDate.y.
1.1347 +
1.1348 + * generic/tclGetDate.y: Tweaked grammar to properly handle the
1.1349 + "ago" keyword when it follows multiple relative unit specifiers,
1.1350 + as in "2 days 2 hours ago". [Bug: 5497].
1.1351 +
1.1352 +2000-05-18 Jeff Hobbs <hobbs@scriptics.com>
1.1353 +
1.1354 + * win/{tcl.m4,Makefile.in,configure.in}: added support for mingw
1.1355 + compile env and cross-compiling. [Bug: 5499]
1.1356 +
1.1357 + * generic/tclClock.c (FormatClock): correct code to handle locale
1.1358 + specific return values from strftime, if any. [Bug: 3345]
1.1359 +
1.1360 + * unix/tclUnixInit.c (TclpSetInitialEncodings): attempt to
1.1361 + correct setlocale calls for XIM support and locale issues.
1.1362 + [BUG: 5422 3345 4236 2522 2521]
1.1363 +
1.1364 +2000-05-17 Jeff Hobbs <hobbs@scriptics.com>
1.1365 +
1.1366 + * library/init.tcl (auto_import): added check to see if a valid
1.1367 + pattern was coming in, to avoid simple error cases [Bug: 3326]
1.1368 +
1.1369 + * doc/regsub.n: correct regsub docs [Bug: 5346]
1.1370 +
1.1371 +2000-05-15 Eric Melski <ericm@scriptics.com>
1.1372 +
1.1373 + * library/history.tcl: Corrected an off-by-one error in HistIndex,
1.1374 + which was causing [history redo] to start its search at the wrong
1.1375 + event index. [Bug: 1269].
1.1376 +
1.1377 +2000-05-10 Jeff Hobbs <hobbs@scriptics.com>
1.1378 +
1.1379 + * generic/tclPosixStr.c (Tcl_SignalMsg): clarified #defines for
1.1380 + Linux on Sparc to compile correctly. [Bug: 5364]
1.1381 +
1.1382 + * doc/namespace.n:
1.1383 + * tests/namespace.test:
1.1384 + * generic/tclNamesp.c (Tcl_NamespaceObjCmd): added 'namespace
1.1385 + exists' command. [Bug: 4665]
1.1386 +
1.1387 + * doc/source.n:
1.1388 + * doc/Eval.3:
1.1389 + * tests/source.test:
1.1390 + * generic/tclIOUtil.c (Tcl_EvalFile): added explicit \32 (^Z)
1.1391 + eofchar (affects Tcl_EvalFile in C, "source" in Tcl). This was
1.1392 + implicit on Windows already, and is now cross-platform to allow
1.1393 + for scripted documents.
1.1394 +
1.1395 +2000-05-09 Andreas Kupries <a.kupries@westend.com>
1.1396 + operating as proxy for David Gravereaux <davygrvy@pobox.com>
1.1397 +
1.1398 + * win/tclWinThrd.c (TclpInitLock, TclpMasterLock): Added missing
1.1399 + initialization of joinLock.
1.1400 +
1.1401 +2000-05-09 Eric Melski <ericm@scriptics.com>
1.1402 +
1.1403 + * tests/lsearch.test:
1.1404 + * doc/lsearch.n:
1.1405 + * generic/tclCmdIL.c (Tcl_LsearchObjCmd): Extended [lsearch] to
1.1406 + support sorted list searching and typed list searching. [RFE: 4098].
1.1407 +
1.1408 +2000-05-08 Jeff Hobbs <hobbs@scriptics.com>
1.1409 +
1.1410 + * doc/expr.n:
1.1411 + * tests/expr.test:
1.1412 + * tests/expr-old.test: added tests for 'eq' and 'ne'
1.1413 + * generic/tclExecute.c:
1.1414 + * generic/tclCompile.h: added INST_STREQ and INST_STRNEQ opcodes
1.1415 + that do strict string comparisons.
1.1416 + * generic/tclCompExpr.c: added 'eq' and 'ne' string comparison
1.1417 + operators.
1.1418 + * generic/tclParseExpr.c (GetLexeme): added 'eq' and 'ne' expr
1.1419 + parse terms (string (in)equality check).
1.1420 +
1.1421 + * generic/tclCmdIL.c (Tcl_LinsertObjCmd): made use of
1.1422 + Tcl_DuplicateObj where code was otherwise duplicated. Made
1.1423 + special case of inserting one element at the end work again (where
1.1424 + index == len).
1.1425 + (Tcl_LreplaceObjCmd): moved Tcl_DuplicateObj call lower and
1.1426 + cleaned up use of other arguments.
1.1427 +
1.1428 + * generic/tclObj.c (Tcl_DuplicateObj): simplified code to call
1.1429 + TclInitStringRep, which the code was just duplicating in part.
1.1430 +
1.1431 + * doc/Utf.3:
1.1432 + * generic/tclStubInit.c:
1.1433 + * generic/tcl.decls:
1.1434 + * generic/tclDecls.h:
1.1435 + * generic/tclUtf.c: Added new functions Tcl_UniCharNcasecmp and
1.1436 + Tcl_UniCharCaseMatch (unicode parallel to Tcl_StringCaseMatch)
1.1437 + * generic/tclUtil.c: rewrote Tcl_StringCaseMatch algorithm for
1.1438 + optimization and made Tcl_StringMatch just call Tcl_StringCaseMatch
1.1439 + * tests/string.test: extended string match tests
1.1440 +
1.1441 +2000-05-08 Eric Melski <ericm@scriptics.com>
1.1442 +
1.1443 + * tests/set-old.test:
1.1444 + * doc/array.n:
1.1445 + * generic/tclVar.c: Added [array statistics] command [RFE: 4557]
1.1446 +
1.1447 +2000-05-06 Andreas Kupries <a.kupries@westend.com>
1.1448 + operating as proxy for David Gravereaux <davygrvy@pobox.com>
1.1449 +
1.1450 + * tclThreadJoin.c: Fixed several places with missing a & in
1.1451 + arguments to calls of Tcl_Mutex(Un)lock and
1.1452 + Tcl_ConditionNotify functions.
1.1453 +
1.1454 +2000-05-02 Jeff Hobbs <hobbs@scriptics.com>
1.1455 +
1.1456 + * README:
1.1457 + * generic/tcl.h:
1.1458 + * library/init.tcl:
1.1459 + * library/reg1.0/pkgIndex.tcl:
1.1460 + * library/tcltest1.0/tcltest.tcl:
1.1461 + * mac/README:
1.1462 + * tools/tcl.hpj.in:
1.1463 + * tools/tcl.wse.in:
1.1464 + * unix/README:
1.1465 + * unix/configure.in:
1.1466 + * unix/tcl.spec:
1.1467 + * win/README:
1.1468 + * win/README.binary:
1.1469 + * win/configure.in:
1.1470 + * win/makefile.vc:
1.1471 + * win/tcl.m4: updated patchlevel to 8.4a1
1.1472 +
1.1473 + * tests/compile.test:
1.1474 + * tests/init.test:
1.1475 + * tests/proc.test:
1.1476 + * tests/proc-old.test:
1.1477 + * tests/rename.test:
1.1478 + * generic/tclProc.c: reworked error return for procedures with
1.1479 + incorrect args to be like the C Tcl_WrongNumArgs, where a "wrong #
1.1480 + args: ..." message is printed out with the args list.
1.1481 +
1.1482 + * unix/Makefile.in: add tclsh.ico and tcl.spec to dist target
1.1483 +
1.1484 +2000-05-02 Andreas Kupries <a.kupries@westend.com>
1.1485 +
1.1486 + * Overall changes:
1.1487 + (1) Implementation of joinable threads for all platforms.
1.1488 + (2) Additional API's for channels. Required to allow the
1.1489 + thread extension to move channels between threads.
1.1490 +
1.1491 + * generic/tcl.decls (lines 1360f): Added Tcl_JoinThread,
1.1492 + Tcl_IsChannelShared, Tcl_IsChannelRegistered, Tcl_CutChannel,
1.1493 + Tcl_SpliceChannel, Tcl_IsChannelExisting and
1.1494 + Tcl_ClearChannelHandlers (slots 394 to 400).
1.1495 +
1.1496 + * generic/tclIO.c: Implemented Tcl_IsChannelRegistered,
1.1497 + Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel,
1.1498 + Tcl_IsChannelExisting and Tcl_ClearChannelHandlers.
1.1499 + Tcl_CutChannel uses code from CloseChannel. Replaced this code
1.1500 + by a call to Tcl_CutChannel. Replaced several code fragments
1.1501 + adding channels to the channel list with calls to
1.1502 + Tcl_SpliceChannel. Removed now unused variables from
1.1503 + CloseChannel and Tcl_UnstackChannel. Tcl_ClearChannelHandlers
1.1504 + uses code from Tcl_Close. Replaced this code by a call to
1.1505 + Tcl_ClearChannelHandlers. Removed now unused variables from
1.1506 + Tcl_Close. Added the subcommands 'cut', 'forgetch', 'splice' and
1.1507 + 'isshared' to the test code
1.1508 + (TclTestChannelCmd).
1.1509 +
1.1510 + * unix/tclUnixThread.c: Implemented Tcl_JoinThread using the
1.1511 + pthread-functionality.
1.1512 +
1.1513 + * win/tclWinThrd.c: Fixed several small typos in comments.
1.1514 + Implemented Tcl_JoinThread using a platform independent
1.1515 + emulation layer (see generic/tclThreadJoin.c below). Added
1.1516 + 'joinLock' to serialize Tcl_CreateThread and TclpExitThread to
1.1517 + prevent a race for joinable threads.
1.1518 +
1.1519 + * mac/tclMacThrd.c: Implemented Tcl_JoinThread using a platform
1.1520 + independent emulation layer (see generic/tclThreadJoin.c
1.1521 + below). Due to the cooperative nature of threading on this
1.1522 + platform the race mentioned above is not present.
1.1523 +
1.1524 + * generic/tclThreadJoin.c: New file. Contains a platform
1.1525 + independent emulation layer helping in the implementation of
1.1526 + joinable threads for the win and mac platforms.
1.1527 +
1.1528 + * generic/tclInt.h: Added declarations for TclJoinThread,
1.1529 + TclRememberJoinableThread and TclSignalExitThread. These
1.1530 + procedures define the API of the emulation layer for joinable
1.1531 + threads (see generic/tclThreadJoin.c above).
1.1532 +
1.1533 + * win/Makefile.in:
1.1534 + * win/makefile.vc: Added generic/tclTheadJoin.o to the rules.
1.1535 +
1.1536 + * mac/: I don't know to which file generic/tclTheadJoin.o has to
1.1537 + be added to so that it compiles. Sorry.
1.1538 +
1.1539 + * unix/tclUnixChan.c: #ifdef'd the thread-local list of file
1.1540 + channels as it prevents us from transfering channels. To restore
1.1541 + this we may need an extended interface to drivers in the
1.1542 + future. Target: 9.0. Found while testing the new transfer of
1.1543 + channels. The information in this list for a channel was left
1.1544 + behind and then crashed the system during finalization.
1.1545 +
1.1546 + * generic/tclThreadTest.c: Added -joinable flag to 'testthread
1.1547 + create'. Added subcommand 'testthread join'.
1.1548 +
1.1549 + * doc/CrtChannel.3: Added documentation for Tcl_IsChannelRegistered,
1.1550 + Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel,
1.1551 + Tcl_IsChannelExisting and Tcl_ClearChannelHandlers.
1.1552 +
1.1553 + * doc/Thread.3: Added documentation for Tcl_JoinThread.
1.1554 +
1.1555 + * tests/thread.test: Added tests for joining of threads.
1.1556 +
1.1557 +2000-04-27 Eric Melski <ericm@scriptics.com>
1.1558 +
1.1559 + * doc/library.n: Added entries for auto_qualify and auto_import
1.1560 + [Bug: 1271].
1.1561 +
1.1562 + * doc/Init.3: Manual entry for Tcl_Init [Bug: 1820].
1.1563 +
1.1564 + * doc/expr.n: Added documentation for each of the math library
1.1565 + functions that expr supports [Bug: 1054].
1.1566 +
1.1567 +2000-04-26 Eric Melski <ericm@scriptics.com>
1.1568 +
1.1569 + * doc/memory.n: Man page for Tcl "memory" command, which is
1.1570 + created when TCL_MEM_DEBUG is defined at compile time.
1.1571 +
1.1572 + * doc/TCL_MEM_DEBUG.3: Man page with overall information about
1.1573 + TCL_MEM_DEBUG usage.
1.1574 +
1.1575 + * doc/DumpActiveMemory.3: Man page for Tcl_DumpActiveMemory,
1.1576 + Tcl_InitMemory, and Tcl_ValidateAllMemory [Bug: 1816, 1835].
1.1577 +
1.1578 + * generic/tclCkalloc.c: Fixed some function headers.
1.1579 +
1.1580 + * unix/mkLinks: Regen'd with new mkLinks.tcl.
1.1581 +
1.1582 + * unix/mkLinks.tcl: Fixed indentation, made link setup more
1.1583 + intelligent (only do one existance test per man page, instead of
1.1584 + one per function).
1.1585 +
1.1586 + * doc/library.n: Fixed .SH NAME macro to include each function
1.1587 + documented on the page, so that mkLinks will know about the
1.1588 + functions listed there, and so that the Windows help file index
1.1589 + will get set up correctly [Bug: 1898, 5273].
1.1590 +
1.1591 +2000-04-26 Jeff Hobbs <hobbs@scriptics.com>
1.1592 +
1.1593 + 8.3.1 RELEASE
1.1594 +
1.1595 + * README:
1.1596 + * mac/README:
1.1597 + * tools/tcl.wse.in:
1.1598 + * unix/README:
1.1599 + * unix/tcl.spec:
1.1600 + * win/README:
1.1601 + * win/README.binary: Updating URLs to reference dev.scriptics.com
1.1602 +
1.1603 +2000-04-25 Jeff Hobbs <hobbs@scriptics.com>
1.1604 +
1.1605 + * unix/Makefile.in:
1.1606 + * win/Makefile.in:
1.1607 + * win/makefile.vc: updated for http change and some cleanup
1.1608 + * library/http2.[13]: moved dir http2.1 to http2.3 to match version
1.1609 +
1.1610 + * doc/Utf.3: clarified docs for Tcl_(UniChar|Utf)AtIndex
1.1611 +
1.1612 + * unix/tclUnixThrd.c: removed {}s around PTHREAD_MUTEX_INITIALIZER
1.1613 + [Bug: 5254]
1.1614 +
1.1615 + * unix/tclLoadDyld.c (TclpLoadFile): removed use of interp->result
1.1616 +
1.1617 +2000-04-25 Eric Melski <ericm@scriptics.com>
1.1618 +
1.1619 + * unix/mkLinks:
1.1620 + * doc/AddErrInfo.3: Added information about Tcl_LogCommandInfo
1.1621 + [Bug: 1818].
1.1622 +
1.1623 +2000-04-24 Eric Melski <ericm@scriptics.com>
1.1624 +
1.1625 + * unix/mkLinks:
1.1626 + * doc/OpenFileChnl.3: Added man entry for Tcl_Ungets [Bug: 1834].
1.1627 +
1.1628 + * unix/mkLinks:
1.1629 + * doc/SourceRCFile.3: Man page for Tcl_SourceRCFile [Bug: 1833].
1.1630 +
1.1631 + * unix/mkLinks:
1.1632 + * doc/ParseCmd.3: Added documentation for Tcl_ParseVar [Bug: 1828].
1.1633 +
1.1634 +2000-04-24 Jeff Hobbs <hobbs@scriptics.com>
1.1635 +
1.1636 + * unix/tclUnixNotfy.c (Tcl_FinalizeNotifier, NotifierThreadProc):
1.1637 + added write of 'q' into triggerPipe for notifier in threaded case,
1.1638 + so that Tcl doesn't hang when children are still running [Bug: 4139]
1.1639 +
1.1640 + * unix/tclUnixThrd.c (Tcl_MutexLock): minor comment fixes.
1.1641 +
1.1642 +2000-04-23 Jim Ingham <jingham@cygnus.com>
1.1643 +
1.1644 + These changes make some error handling marginally better for Mac
1.1645 + sockets. It is still somewhat flakey, however.
1.1646 +
1.1647 + * mac/tclMacSock.c (TcpClose): Add timeouts to the close - these
1.1648 + don't seem to be honored, however.
1.1649 + Use a separate PB for the release, since an async connect socket
1.1650 + will still be using the original buffer.
1.1651 + Make sure TCPRelease returns noErr before freeing the recvBuff.
1.1652 + If the call returns an error, then the buffer is not right.
1.1653 + * mac/tclMacSock.c (CreateSocket): Add timeouts to the async
1.1654 + create. These don't seem to trigger, however. Sigh...
1.1655 + * mac/tclMacSock.c (WaitForSocketEvent): If an TCP_ASYNC_CONNECT
1.1656 + socket errors out, then return EWOULDBLOCK & error out.
1.1657 + * mac/tclMacSock.c (NotifyRoutine): Added a NotifyRoutine for
1.1658 + experimenting with MacTCP.
1.1659 +
1.1660 +2000-04-22 Jim Ingham <jingham@cygnus.com>
1.1661 +
1.1662 + * library/package.tcl (tclPkgUnknown): Fixed a typo in the Mac package
1.1663 + search part of tclPkgUnknown.
1.1664 +
1.1665 +2000-04-21 Sandeep Tamhankar <sandeep@scriptics.com>
1.1666 +
1.1667 + * library/http2.1/http.tcl: Fixed a newly introduced bug where if
1.1668 + there's a -command callback and something goes wrong, geturl threw
1.1669 + an exception, called the callback, and unset the token. I changed
1.1670 + it so that it will not call the callback when throwing an
1.1671 + exception (so the caller only finds out about a given error from
1.1672 + one place). Also, fixed http::ncode so that it actually gives you
1.1673 + back the http return code (i.e. 200, 404, etc.) instead of the
1.1674 + first digit of the version of HTTP being used (i.e. 1).
1.1675 +
1.1676 +2000-04-21 Brent Welch <welch@scriptics.com>
1.1677 +
1.1678 + * library/http2.1/http.tcl: More thrashing with the "server closes
1.1679 + without reading post data" scenario. Reverted to the previous
1.1680 + filevent configuratiuon, which seems to work better with small
1.1681 + amounts of post data.
1.1682 +
1.1683 +2000-04-20 Jeff Hobbs <hobbs@scriptics.com>
1.1684 +
1.1685 + * generic/tclAlloc.c: wrapped caddr_t define to not be done on Unix
1.1686 + * unix/tclUnixPort.h: added Tclp*Alloc defines to allow the use of
1.1687 + USE_TCLALLOC on Unix. [Bug: 4731]
1.1688 +
1.1689 +2000-04-19 Jeff Hobbs <hobbs@scriptics.com>
1.1690 +
1.1691 + * library/dde1.1/pkgIndex.tcl:
1.1692 + * library/reg1.0/pkgIndex.tcl:
1.1693 + * win/tclWinChan.c:
1.1694 + * win/tclWinThrd.c: converted CRLF to LF the */tcl.hpj.in files
1.1695 + were not converted, as it confuses hcw locally. [Bug: 5096]
1.1696 +
1.1697 + * win/Makefile.in: expanded cleanup target for help files
1.1698 +
1.1699 + * doc/Thread.3: minor macro cleanup
1.1700 +
1.1701 + * generic/tclFileName.c (SplitUnixPath): added support for QNX
1.1702 + node ids.
1.1703 +
1.1704 +2000-04-18 Jeff Hobbs <hobbs@scriptics.com>
1.1705 +
1.1706 + * README:
1.1707 + * generic/tcl.h:
1.1708 + * tools/tcl.wse.in:
1.1709 + * unix/configure.in:
1.1710 + * unix/tcl.spec:
1.1711 + * win/configure.in:
1.1712 + * win/README.binary: bumped version to 8.3.1
1.1713 +
1.1714 + * win/tcl.hpj.in: updated copyright date
1.1715 +
1.1716 + * generic/tclEnv.c: environment support for Mac OS/X
1.1717 + * unix/tclUnixPort.h: environment support for Mac OS/X
1.1718 + * unix/tclLoadDyld.c: new file for Mac OS/X dl functions
1.1719 + * unix/Makefile.in: added install-strip target; bindir, libdir,
1.1720 + mandir, includedir vars; tclLoadDyld.c target [Bug: 2527]
1.1721 +
1.1722 + * unix/tclUnixChan.c (CreateSocket): force a socket back into
1.1723 + blocking mode (default state) after a -async connect succeeds.
1.1724 + [Bug: 4388]
1.1725 +
1.1726 + * generic/tclEvent.c (TclInitSubsystems): Moved tclLibraryPath to
1.1727 + thread-local storage to prevent thread-related race condition.
1.1728 + [Bug: 5033]
1.1729 + * unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets the
1.1730 + library path as it was unnecessary and conflicts with move of
1.1731 + tclLibraryPath to thread-local storage.
1.1732 +
1.1733 +2000-04-18 Scott Redman <redman@scriptics.com>
1.1734 +
1.1735 + * win/Makefile.in:
1.1736 + * win/tcl.rc:
1.1737 + * win/tclsh.rc:
1.1738 + * win/tclsh.ico: Modified copyright dates in Windows resource
1.1739 + files. Added an icon for tclsh.exe.
1.1740 +
1.1741 +2000-04-17 Brent Welch <welch@scriptics.com>
1.1742 +
1.1743 + * generic/tcl.h, generic/tclThreadTest.c, unix/tclUnixThrd.c,
1.1744 + win/tclWinThread.c, mac/tclMacThread.c:
1.1745 + Added Tcl_CreateThreadType and TCL_RETURN_THREAD_TYPE
1.1746 + macros for declaring the NewThread callback proc.
1.1747 +
1.1748 +2000-04-14 Jeff Hobbs <hobbs@scriptics.com>
1.1749 +
1.1750 + * unix/tclUnixChan.c (TtyParseMode): Only allow setting mark/space
1.1751 + parity on platforms that support it [Bug: 5089]
1.1752 +
1.1753 + * generic/tclBasic.c (Tcl_GetVersion): adjusted use of major/minor
1.1754 + to not conflict with global decl on some systems [Bug: 2882]
1.1755 +
1.1756 + * doc/AppInit.3:
1.1757 + * doc/Async.3:
1.1758 + * doc/BackgdErr.3:
1.1759 + * doc/CrtChannel.3:
1.1760 + * doc/CrtInterp.3:
1.1761 + * doc/CrtMathFnc.3:
1.1762 + * doc/DString.3:
1.1763 + * doc/Eval.3:
1.1764 + * doc/ExprLong.3:
1.1765 + * doc/GetInt.3:
1.1766 + * doc/GetOpnFl.3:
1.1767 + * doc/Interp.3:
1.1768 + * doc/LinkVar.3:
1.1769 + * doc/OpenFileChnl.3:
1.1770 + * doc/OpenTcp.3:
1.1771 + * doc/PkgRequire.3:
1.1772 + * doc/RecordEval.3:
1.1773 + * doc/SetResult.3:
1.1774 + * doc/SplitList.3:
1.1775 + * doc/StaticPkg.3:
1.1776 + * doc/TraceVar.3:
1.1777 + * doc/Translate.3:
1.1778 + * doc/UpVar.3:
1.1779 + * doc/load.n: removed or updated references to interp->result use.
1.1780 +
1.1781 +2000-04-13 Jeff Hobbs <hobbs@scriptics.com>
1.1782 +
1.1783 + * doc/regexp.n: doc clarification [Bug: 5037]
1.1784 + * doc/update.n: typo fix [Bug: 4996]
1.1785 +
1.1786 + * unix/tcl.m4 (SC_ENABLE_THREADS): enhanced the detection of
1.1787 + pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added
1.1788 + --enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
1.1789 +
1.1790 +2000-04-12 Jeff Hobbs <hobbs@scriptics.com>
1.1791 +
1.1792 + * doc/dde.n: corrected dde poke docs. [Bug: 4991]
1.1793 +
1.1794 +2000-04-11 Eric Melski <ericm@scriptics.com>
1.1795 +
1.1796 + * win/tclWinPipe.c: Added "CONST" keyword to declaration of char
1.1797 + *native in TclpCreateTempFile, to supress compiler warnings.
1.1798 +
1.1799 +2000-04-10 Brent Welch <welch@scriptics.com>
1.1800 +
1.1801 + * generic/tcl.h: Fixed Tcl_CreateThread declaration.
1.1802 + * library/tcltest1.0/tcltest.tcl: Fixed the "mainThread"
1.1803 + initialization to work with either testthread or the thread extension
1.1804 + * unix/tclUnixThrd.c: Fixed compiler warning when compiling
1.1805 + with -DTCL_THREADS
1.1806 +
1.1807 +2000-04-10 Eric Melski <ericm@scriptics.com>
1.1808 +
1.1809 + * win/tclWinPipe.c (TclpCreateTempFile): Added conversion of
1.1810 + contents string from UTF to native encoding [Bug: 4030].
1.1811 +
1.1812 + * tests/regexp.test: Added tests for infinite looping in [regexp
1.1813 + -all].
1.1814 +
1.1815 + * generic/tclCmdMZ.c: Fixed infinite loop bug with [regexp -all]
1.1816 + [Bug: 4981].
1.1817 +
1.1818 + * tests/*.test: Changed all occurances of "namespace import
1.1819 + ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
1.1820 +
1.1821 +2000-04-09 Brent Welch <welch@scriptics.com>
1.1822 +
1.1823 + * lib/httpd2.1/http.tcl: Worked on the "server closes before
1.1824 + reading post data" case, which unfortunately causes different
1.1825 + error cases on Solaris, which can read the reply, and Linux
1.1826 + and Windows, which cannot read anything. This is all in the
1.1827 + loop-back case - client and server on the same host. Also
1.1828 + unified the error handling so the "ioerror" status goes away
1.1829 + and errors are reflected in a more uniform way. Updated the
1.1830 + man page to document the behavior.
1.1831 +
1.1832 +2000-04-09 Jeff Hobbs <hobbs@scriptics.com>
1.1833 +
1.1834 + * tests/reg.test (matchexpected): corrected tests to use tcltest
1.1835 + constraint types to skip certain tests.
1.1836 +
1.1837 + * generic/tclBasic.c (Tcl_SetCommandInfo): comment fix
1.1838 +
1.1839 + * unix/tclUnixThrd.c (Tcl_CreateThread): moved TCL_THREADS ifdef
1.1840 + inside of func as it is declared for non-threads builds as well.
1.1841 + In the non-threads case, it always returns TCL_ERROR (couldn't
1.1842 + create thread).
1.1843 +
1.1844 +2000-04-08 Andreas Kupries <a.kupries@westend.com>
1.1845 +
1.1846 + * Overall change: Definition of a public API for the creation of
1.1847 + new threads.
1.1848 +
1.1849 + * generic/tclInt.h (line 1802f): Removed the definition of
1.1850 + 'TclpThreadCreate'. (line 793f) Removed the definition of
1.1851 + 'Tcl_ThreadCreateProc'.
1.1852 +
1.1853 + * generic/tcl.h (line 388f): Readded the definition of
1.1854 + 'Tcl_ThreadCreateProc'. Added Win32 stuff send in by David
1.1855 + Graveraux <davygrvy@bigfoot.com> to that too (__stdcall,
1.1856 + ...). Added macros for the default stacksize and allowed flags.
1.1857 +
1.1858 + * generic/tcl.decls (line 1356f): Added definition of
1.1859 + 'Tcl_CreateThread', slot 393 of the stub table. Two new
1.1860 + arguments in the public API, for stacksize and flags.
1.1861 +
1.1862 + * win/tclWinThrd.c:
1.1863 + * mac/tclMacThrd.c: Renamed TclpThreadCreate to Tcl_CreateThread,
1.1864 + added handling of the stacksize. Flags are currently ignored.
1.1865 +
1.1866 + * unix/tclUnixThrd.c: See above, but handles joinable
1.1867 + flag. Ignores the specified stacksize if the macro
1.1868 + HAVE_PTHREAD_ATTR_SETSTACKSIZE is not defined.
1.1869 +
1.1870 + * generic/tclThreadTest.c (line 363): See below.
1.1871 +
1.1872 + * unix/tclUnixNotfy.c (line 210): Adapted to the changes
1.1873 + above. Uses default stacksize and no flags now.
1.1874 +
1.1875 + * unic/tcl.m4 (line 382f): Added a check for
1.1876 + 'pthread_attr_setstacksize' to detect platforms not implementing
1.1877 + this feature of pthreads. If it is implemented, configure will
1.1878 + define the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE (See
1.1879 + unix/tclUnixThrd.c too).
1.1880 +
1.1881 + * doc/Thread.3: Added Tcl_CreateThread and its arguments to the
1.1882 + list of described functions. Removed stuff about not providing a
1.1883 + public C-API for thread-creation.
1.1884 +
1.1885 +2000-04-07 Jeff Hobbs <hobbs@scriptics.com>
1.1886 +
1.1887 + * doc/binary.n: clarified docs on sign extension in binary scan
1.1888 + [Bug: 3466]
1.1889 +
1.1890 + * library/tcltest1.0/tcltest.tcl (initConstraints): removed win32s
1.1891 + references (no longer supported)
1.1892 +
1.1893 + * tests/fCmd.test: marked test 8.1 knownBug because it is
1.1894 + dangerous on poorly configured systems [Bug: 3881]
1.1895 + and added 8.2 to keep essence of 8.1 tested.
1.1896 +
1.1897 +2000-04-05 Andreas Kupries <a.kupries@westend.com>
1.1898 +
1.1899 + * generic/tclIO.c (Tcl_UnstackChannel, line 1831): Forcing
1.1900 + interest mask to the correct value after an unstack and
1.1901 + re-initialization of the notifier via the watchProc. Without this
1.1902 + the first fileevent after an unstack will come through and be
1.1903 + processed, but no more. [Bug: ??].
1.1904 +
1.1905 +2000-03-04 Brent Welch <welch@scriptics.com>
1.1906 +
1.1907 + * {win,unix}/Makefile.in: added dependency of tclStubInit.c on
1.1908 + tcl.decls and tclInt.decls
1.1909 + * generic/tclThread.c: Tweak so this compiles w/out TCL_THREADS
1.1910 + * generic/{tcl.decls,tclStubInit.c}: Just touched the tcl.decls and
1.1911 + regenerated the tclStubInit.c file
1.1912 +
1.1913 +2000-03-29 Sandeep Tamhankar <sandeep@scriptics.com>
1.1914 +
1.1915 + * library/http2.1/http.tcl: For the -querychannel option,
1.1916 + fconfigure the socket to be binary so that we don't translate
1.1917 + anything while reading the data. This is because we determine the
1.1918 + content length of the data on the channel by using seek (to the end
1.1919 + of the file) and tell on the file handle, and we need the
1.1920 + content-length to match the amount of data actually sent, and
1.1921 + translation can affect the number of bytes posted.
1.1922 +
1.1923 +2000-04-03 Andreas Kupries <a.kupries@westend.com>
1.1924 +
1.1925 + * Overall change: Definition of public API's for the finalization
1.1926 + of conditions and mutexes. [Bug: 4199].
1.1927 +
1.1928 + * generic/tclInt.h: Removed definitions of TclFinalizeMutex and
1.1929 + TclFinalizeCondition.
1.1930 +
1.1931 + * generic/tcl.decls: Added declarations of Tcl_MutexFinalize and
1.1932 + Tcl_ConditionFinalize.
1.1933 +
1.1934 + * generic/tclThread.c: Renamed TclFinalizeMutex to
1.1935 + Tcl_MutexFinalize. Renamed TclFinalizeCondition to
1.1936 + Tcl_ConditionFinalize.
1.1937 +
1.1938 + * generic/tclNotify.c: Changed usage of TclFinalizeMutex to
1.1939 + Tcl_MutexFinalize.
1.1940 +
1.1941 + * unix/tclUnixNotfy.c:
1.1942 + * generic/tclThreadTest.c: Changed usages of TclFinalizeCondition to
1.1943 + Tcl_ConditionFinalize.
1.1944 +
1.1945 + * generic/tcl.h: Added empty macros for Tcl_MutexFinalize and
1.1946 + Tcl_ConditionFinalize, to be used when the core is compiled
1.1947 + without threads.
1.1948 +
1.1949 + * doc/Thread.3: Added description the new API's.
1.1950 +
1.1951 +2000-04-03 Jeff Hobbs <hobbs@scriptics.com>
1.1952 +
1.1953 + * generic/tclCmdIL.c (InfoVarsCmd): checked for non-NULL procPtr
1.1954 + to prevent itcl info override crash [Bug: 4064]
1.1955 +
1.1956 + * tests/foreach.test:
1.1957 + * tests/namespace.test:
1.1958 + * tests/var.test: Added lsorts to avoid random sorted return
1.1959 + problems. [Bug: 2682]
1.1960 +
1.1961 + * tests/fileName.test: fixed 14.1 test fragility [Bug: 1482]
1.1962 +
1.1963 + * tools/man2help2.tcl: fixed winhelp cross-linking error [Bug: 4156]
1.1964 + improved translation to winhelp [Bug: 3679]
1.1965 +
1.1966 + * unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir
1.1967 + correctly [Bug: 4085]
1.1968 +
1.1969 + * unix/dltest/pkg[a-e].c: Cleaned up test packages [Bug: 2293]
1.1970 +
1.1971 +2000-04-03 Eric Melski <ericm@scriptics.com>
1.1972 +
1.1973 + * unix/tclUnixFCmd.c (SetGroupAttribute):
1.1974 + * unix/tclUnixFCmd.c (SetOwnerAttribute): Added (uid_t) and (gid_t)
1.1975 + casts to avoid compiler warnings.
1.1976 +
1.1977 +2000-03-31 Eric Melski <ericm@scriptics.com>
1.1978 +
1.1979 + * generic/tclGet.c (Tcl_GetDouble): Added additional conditions to
1.1980 + error test (previously only errno was checked, but the return
1.1981 + value of strtod() should be checked as well). [Bug: 4118].
1.1982 +
1.1983 + * tests/exec.test: Added test for proper conversion of UTF data
1.1984 + when used with "<< $dataWithUTF" on exec's.
1.1985 +
1.1986 + * unix/tclUnixPipe.c (TclpCreateTempFile): Added
1.1987 + Tcl_UtfToExternalDString call, so that if there is UTF content in
1.1988 + the string it will be properly converted to the system encoding
1.1989 + before being written [Bug: 4030].
1.1990 + (TclpCreateTempFile): Added a check on the return value of tmpnam;
1.1991 + some systems (Linux, for example) will start to return NULL after
1.1992 + tmpnam has been called TMP_MAX times; not checking for this can
1.1993 + have bad results (overwriting temp files, core dumps, etc.)
1.1994 +
1.1995 +2000-03-30 Jeff Hobbs <hobbs@scriptics.com>
1.1996 +
1.1997 + * generic/tclBasic.c (Tcl_DeleteCommandFromToken): Added comments
1.1998 + noting the need to pair ckalloc with ckfree. [Bug: 4262]
1.1999 +
1.2000 + * generic/tclInt.decls:
1.2001 + * generic/tclIntPlatDecls.h:
1.2002 + * generic/tclStubInit.c:
1.2003 + * win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s
1.2004 + support).
1.2005 +
1.2006 + * win/tclWinReg.c: made use of TclWinGetPlatformId instead of
1.2007 + getting info again
1.2008 +
1.2009 + * win/tclWinPort.h:
1.2010 + * win/Makefile.in:
1.2011 + * win/configure.in:
1.2012 + * win/tcl.m4: Added support for gcc/mingw on Windows [Bug: 4234]
1.2013 +
1.2014 +2000-03-29 Jeff Hobbs <hobbs@scriptics.com>
1.2015 +
1.2016 + * generic/tclCompile.c (TclCleanupByteCode): made ByteCode cleanup
1.2017 + more aware of TCL_BYTECODE_PRECOMPILED flagged structs (gen'd by
1.2018 + tbcload), to correctly clean them up.
1.2019 +
1.2020 + * generic/tclClock.c (FormatClock): moved check for empty format
1.2021 + earlier, commented 0 result return value
1.2022 +
1.2023 +2000-03-29 Sandeep Tamhankar <sandeep@scriptics.com>
1.2024 +
1.2025 + * library/http2.1/http.tcl: Removed an unnecessary fileevent
1.2026 + statement from the error processing part of the Write method.
1.2027 + Also, fixed two potential memory leaks in wait and reset, in which
1.2028 + the state array wasn't being unset before throwing an exception.
1.2029 + Prior to this version, Brent checked in a fix to catch a
1.2030 + fileevent statement that was sometimes causing a stack trace when
1.2031 + geturl was called with -timeout. I believe Brent's fix is
1.2032 + necessary because TLS closes bad sockets for secure connections,
1.2033 + and the fileevent was trying to act on a socket that no longer
1.2034 + existed.
1.2035 +
1.2036 +2000-03-27 Jeff Hobbs <hobbs@scriptics.com>
1.2037 +
1.2038 + * tests/httpd: removed unnecessary 'puts stderr "Post Dispatch"'
1.2039 +
1.2040 + * tests/namespace.test:
1.2041 + * generic/tclNamesp.c (Tcl_Export): added a uniq'ing test to the
1.2042 + export list so only one instance of each export pattern would
1.2043 + exist in the list.
1.2044 +
1.2045 + * generic/tclExecute.c (TclExecuteByteCode): optimized case for
1.2046 + the empty string in ==/!= comparisons
1.2047 +
1.2048 +2000-03-27 Eric Melski <ericm@scriptics.com>
1.2049 +
1.2050 + * unix/tclUnixChan.c: Added (off_t) type casts in lseek() call
1.2051 + [Bug: 4409].
1.2052 +
1.2053 + * unix/tclLoadAout.c:
1.2054 + * unix/tclUnixPipe.c: Added (off_t) type casts in lseek() calls
1.2055 + [Bug: 4410].
1.2056 +
1.2057 +2000-03-22 Sandeep Tamhankar <sandeep@scriptics.com>
1.2058 +
1.2059 + * library/http2.1/http.tcl: Fixed a bug where string query data
1.2060 + that was bigger than queryblocksize would get duplicate characters
1.2061 + at block boundaries.
1.2062 +
1.2063 +2000-03-22 Sandeep Tamhankar <sandeep@scriptics.com>
1.2064 +
1.2065 + * library/http2.1/http.tcl: Fixed bug 4463, where we were getting
1.2066 + a stack trace if we tried to publish a project to a good host but
1.2067 + a port where there was no server listening. It turned out the
1.2068 + problem was a stray fileevent that needed to be cleared. Also,
1.2069 + fixed a bug where http::code could stack trace if called on a bad
1.2070 + token (one which didn't represent a successful geturl) by adding
1.2071 + an http element to the state array in geturl.
1.2072 +
1.2073 +2000-03-21 Eric Melski <ericm@scriptics.com>
1.2074 +
1.2075 + * tests/clock.test: Modified some tests that were not robust with
1.2076 + respect to the time zone in which they were run and were thus
1.2077 + failing.
1.2078 +
1.2079 + * doc/clock.n: Clarified meaning of -gmt with respect to -base
1.2080 + when used with [clock scan] (-gmt does not affect the
1.2081 + interpretation of -base).
1.2082 +
1.2083 +2000-03-19 Sandeep Tamhankar <sandeep@scriptics.com>
1.2084 +
1.2085 + * library/http2.1/http.tcl: geturl used to throw an exception when
1.2086 + the connection failed; I accidentally returned a token with the
1.2087 + error info, breaking backwards compatibility. I changed it back
1.2088 + to throwing an exception, but unsetting the state array first
1.2089 + (thus still eliminating the original memory leak problem).
1.2090 +
1.2091 +2000-03-19 Sandeep Tamhankar <sandeep@scriptics.com>
1.2092 +
1.2093 + * library/http2.1/http.tcl: Added -querychannel option and altered
1.2094 + some of Brent's modifications to allow asynchronous posts (via
1.2095 + -command). Also modified -queryprogress so that it calls the
1.2096 + query callback as <callback> <token> <total size> <current size>
1.2097 + to be consistent with -progress. Added -queryblocksize option
1.2098 + with default 8192 bytes for post blocksize. Fixed a bunch of
1.2099 + potential memory leaks for the case when geturl receives bad args
1.2100 + or can't open a socket, etc. Overall, the package really rocks
1.2101 + now.
1.2102 +
1.2103 + * doc/http.n: Added -queryblocksize, -querychannel, and
1.2104 + -queryprogress. Also, changed the description of -blocksize,
1.2105 + which states that the -progress callback will be called for each
1.2106 + block, to now qualify that with an "if -progress is specified".
1.2107 +
1.2108 + * tests/http.test: Added a querychannel test for synchronous and
1.2109 + asynchronous posts, altered the queryprogress test such that the
1.2110 + callback conforms to the -progress format. Also, had to use the
1.2111 + -queryblocksize option to do the post 16K at a time to match
1.2112 + Brent's expected results (and to test that -queryblocksize works).
1.2113 +
1.2114 +2000-03-15 Brent Welch <welch@scriptics.com>
1.2115 +
1.2116 + * library/http2.1/http.tcl: Added -queryprogress callback to
1.2117 + http::geturl and also changed it so that writing the post data
1.2118 + is event driven if the queryprogress callback or a timeout is given.
1.2119 + This allows a timeout to occur when writing lots of post data.
1.2120 + The queryprogress callback is called after each block of query
1.2121 + data is posted. It has the same signature as the -progress callback.
1.2122 +
1.2123 +2000-03-06 Eric Melski <ericm@scriptics.com>
1.2124 +
1.2125 + * library/package.tcl: Applied patch from Bug: 2570; rather than
1.2126 + setting geometry of slave interp to 0x0 when Tk was loaded, it now
1.2127 + does "wm withdraw .". Both remove the main window from the
1.2128 + display, but the former caused some internal structures to get
1.2129 + initialized to zero, which caused crashes with some extensions.
1.2130 +
1.2131 +2000-03-02 Jeff Hobbs <hobbs@scriptics.com>
1.2132 +
1.2133 + * library/package.tcl (tclPkgUnknown): extended to allow
1.2134 + recognizes changes in the auto_path while sourcing in other
1.2135 + pkgIndex.tcl files
1.2136 +
1.2137 + * doc/FindExec.3: fixed doc for declaration of Tcl_FindExecutable
1.2138 + [Bug: 4275]
1.2139 +
1.2140 + * generic/tclFileName.c (Tcl_TranslateFileName): Applied patch
1.2141 + from Newman to significantly speedup file split/join on Windows
1.2142 + (replaces regexp with custom parser). [Bug: 2867]
1.2143 +
1.2144 + * win/README.binary: change mailing lists from @consortium.org
1.2145 + to @scriptics.com [Bug: 4173]
1.2146 +
1.2147 +2000-02-28 Eric Melski <ericm@scriptics.com>
1.2148 +
1.2149 + * tests/clock.test: Added test for ISO bases < 100000
1.2150 +
1.2151 + * generic/tclDate.c: (generated on Solaris)
1.2152 + * generic/tclGetDate.y: Changed condition for deciding if a number
1.2153 + is an ISO 8601 base from number >= 100000 to numberOfDigits >= 6.
1.2154 + Previously it would fail to recognize 000000 as an ISO base.
1.2155 +
1.2156 +2000-02-14 Eric Melski <ericm@scriptics.com>
1.2157 +
1.2158 + * unix/Makefile.in: Added rpm target to generate Tcl binary RPM.
1.2159 +
1.2160 + * unix/tcl.spec: RPM specification file for a Tcl binary RPM for
1.2161 + Linux.
1.2162 +
1.2163 +2000-02-10 Jeff Hobbs <hobbs@scriptics.com>
1.2164 +
1.2165 + 8.3.0 RELEASE
1.2166 +
1.2167 + * changes: updated for 8.3.0 release
1.2168 +
1.2169 + * doc/load.n: added notes about dll load errors on Windows
1.2170 +
1.2171 + * unix/README:
1.2172 + * unix/Makefile.in (dist): removed porting.notes and porting.old
1.2173 + from distribution and CVS. The information was very outdated. Now
1.2174 + refer to http://dev.scriptics.com/services/support/platforms.html
1.2175 +
1.2176 + * tests/unixInit.test: fixed japanese LANG encoding test [Bug: 3549]
1.2177 +
1.2178 + * unix/configure.in:
1.2179 + * unix/tcl.m4: correct CFLAG_WARNING setting,
1.2180 + fixed gcc config for AIX,
1.2181 + added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
1.2182 +
1.2183 + * win/tclWinLoad.c (TclpLoadFile): improved error message for load
1.2184 + failures, could perhaps be even more intelligent.
1.2185 +
1.2186 +2000-02-09 Jim Ingham <jingham@cygnus.com>
1.2187 +
1.2188 + * mac/tclMacSock.c: Don't panic when you get an error closing an async
1.2189 + socket. This doesn't seem to hurt anything, and we return the error so
1.2190 + the caller can do the right thing.
1.2191 +
1.2192 + New Files:
1.2193 + * mac/MW_TclHeader.h:
1.2194 + * mac/MW_TclTestHeader.h:
1.2195 + * mac/MW_TclTestHeader.pch:
1.2196 + * mac/MW_TclAppleScriptHeader.h: More convenient to use .h prefix files
1.2197 + in the preference panels...
1.2198 +
1.2199 + The above are curtesy of Daniel Steffen (steffen@math.mq.edu.au)
1.2200 +
1.2201 +2000-02-08 Eric Melski <ericm@scriptics.com>
1.2202 +
1.2203 + * tests/clock.test: Added tests for "next monthname" constructs.
1.2204 + * generic/tclDate.c:
1.2205 + * generic/tclGetDate.y (Message): Added a grammar rule for "next
1.2206 + monthname" so that we can handle "next january" and similar
1.2207 + constructs (bug #4146).
1.2208 +
1.2209 +2000-02-08 Jeff Hobbs <hobbs@scriptics.com>
1.2210 +
1.2211 + * README:
1.2212 + * tools/tcl.wse.in:
1.2213 + * unix/configure.in:
1.2214 + * win/configure.in:
1.2215 + * win/README:
1.2216 + * win/README.binary:
1.2217 + * generic/tcl.h (TCL_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
1.2218 +
1.2219 + * doc/library.n:
1.2220 + * library/auto.tcl: fixed crufty puts code and docs [Bug: 4122]
1.2221 +
1.2222 + * library/tcltest1.0/tcltest.tcl: correctly protected searchDirectory
1.2223 + list to allow dirnames with spaces
1.2224 +
1.2225 + * unix/tcl.m4: changed all -fpic to -fPIC
1.2226 +
1.2227 + * generic/tclDecls.h:
1.2228 + * generic/tcl.decls: change Tcl_GetOpenFile to use decl of 'int
1.2229 + forWriting' instead of 'int write' to avoid shadowing [Bug: 4121]
1.2230 +
1.2231 + * tests/httpold.test: changed test script to source in the httpd
1.2232 + server procs from httpd instead of having its own set.
1.2233 +
1.2234 + * tests/httpd: improved query support in test httpd to handle fix
1.2235 + in http.tcl. [Bug: 4089 change 2000-02-01]
1.2236 +
1.2237 + * unix/README: fixed notes about --enable-shared and add note
1.2238 + about --disable-shared.
1.2239 +
1.2240 +2000-02-07 Eric Melski <ericm@scriptics.com>
1.2241 +
1.2242 + * tests/package.test:
1.2243 + * library/tclIndex:
1.2244 + * library/package.tcl: Renamed ::package namespace to ::pkg.
1.2245 +
1.2246 +2000-02-03 Eric Melski <ericm@scriptics.com>
1.2247 +
1.2248 + * doc/Package.n:
1.2249 + * doc/packagens.n: Renamed Package.n -> packagens.n because Windows
1.2250 + can't deal with case-sensitive names.
1.2251 +
1.2252 +2000-02-02 Jeff Hobbs <hobbs@scriptics.com>
1.2253 +
1.2254 + * tests/regexp.test: added tests for -all and -inline switches
1.2255 + * doc/regexp.n: added docs for -all and -inline switches
1.2256 + * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): added extra comments for
1.2257 + new -all and -inline switches to regexp command
1.2258 +
1.2259 +2000-02-01 Eric Melski <ericm@scriptics.com>
1.2260 +
1.2261 + * library/init.tcl: Applied patch from rfe 1734 regarding
1.2262 + auto_load errors not setting error message and errorInfo properly.
1.2263 +
1.2264 +2000-02-01 Jeff Hobbs <hobbs@scriptics.com>
1.2265 +
1.2266 + * win/Makefile.in (install-*): reduced verbosity of install
1.2267 +
1.2268 + * generic/tclFileName.c (Tcl_JoinPath): improved support for special
1.2269 + QNX node id prefixes in pathnames [Bug: 4053]
1.2270 +
1.2271 + * library/http1.0/http.tcl:
1.2272 + * library/http2.1/http.tcl: The query data POSTed was newline
1.2273 + terminated when it shouldn't be altered [Bug: 4089]
1.2274 +
1.2275 +2000-01-31 Eric Melski <ericm@scriptics.com>
1.2276 +
1.2277 + * tests/package.test:
1.2278 + * library/tclIndex:
1.2279 + * library/package.tcl: Added ::package namespace and
1.2280 + ::package::create function.
1.2281 +
1.2282 + * library/init.tcl: Fixed problem with auto_load and determining
1.2283 + if commands were loaded.
1.2284 +
1.2285 + * library/auto.tcl: "Fixed" issues with $ in files to be auto indexed.
1.2286 +
1.2287 + * doc/Package.n: New man page for package::create function.
1.2288 +
1.2289 + * doc/pkgMkIndex.n: Added additional information.
1.2290 +
1.2291 + * doc/library.n: Added additional qualification regarding auto_mkindex.
1.2292 +
1.2293 +2000-01-28 Eric Melski <ericm@scriptics.com>
1.2294 +
1.2295 + * tests/pkg/magicchar2.tcl:
1.2296 + * tests/autoMkindex.test: Test for auto loader fix (bug #2480).
1.2297 +
1.2298 + * library/init.tcl: auto_load was using [info commands $name] to
1.2299 + determine if a given command was available; if the command name
1.2300 + had * or [] it, this would fail because info commands uses
1.2301 + glob-style matching. This is fixed. (Bug #2480).
1.2302 +
1.2303 + * tests/pkg/spacename.tcl:
1.2304 + * tests/pkgMkIndex.test: Tests for fix for bug #2360.
1.2305 +
1.2306 + * library/package.tcl: Fixed to extract only the first element of
1.2307 + the list returned by auto_qualify (bug #2360).
1.2308 +
1.2309 + * tests/pkg/magicchar.tcl:
1.2310 + * tests/autoMkindex.test: Test for fix for bug #2611.
1.2311 +
1.2312 + * library/auto.tcl: Fixed the regular expression that performs $
1.2313 + escaping before sourcing a file to index. It was erroneously
1.2314 + adding \ escapes even to $'s that were already escaped,
1.2315 + effectively "un-escaping" those $'s. (bug #2611).
1.2316 +
1.2317 +2000-01-27 Eric Melski <ericm@scriptics.com>
1.2318 +
1.2319 + * tests/autoMkindex.test:
1.2320 + * library/auto.tcl: Applied patch (with slight modification) from
1.2321 + bug #2701: auto_mkIndex uses platform dependent file paths.
1.2322 + Added test for fix.
1.2323 +
1.2324 +2000-01-27 Jennifer Hom <jenn@scriptics.com>
1.2325 +
1.2326 + * library/tcltest1.0/tcltest.tcl: Changed NormalizePath to
1.2327 + normalizePath and exported it as a public proc. This proc
1.2328 + creates an absolute path given the name of the variable containing
1.2329 + the path to modify. The path is modified in place.
1.2330 + * library/tcltest1.0/pkgIndex.tcl: Added normalizePath.
1.2331 + * tests/all.tcl: Changed code to use normalizePath.
1.2332 +
1.2333 +2000-01-27 Eric Melski <ericm@scriptics.com>
1.2334 +
1.2335 + * tests/pkg/samename.tcl: test file for bug #1983
1.2336 +
1.2337 + * tests/pkgMkIndex.test:
1.2338 + * doc/pkgMkIndex.n:
1.2339 + * library/package.tcl: Per rfe #4097, optimized creation of direct
1.2340 + load packages to bypass computing the list of commands added by
1.2341 + the new package. Also made direct loading the default, and added
1.2342 + a -lazy option.
1.2343 + Fixed bug #1983, dealing with pkg_mkIndex incorrectly handling
1.2344 + situations with two procs by the same name but in different
1.2345 + namespaces (ie, foo::baz and bar::baz).
1.2346 +
1.2347 +2000-01-26 Eric Melski <ericm@scriptics.com>
1.2348 +
1.2349 + * generic/tclNamesp.c: Undid fix for #956, which broke backwards
1.2350 + compatibility.
1.2351 +
1.2352 + * doc/variable.n:
1.2353 + * doc/trace.n:
1.2354 + * doc/namespace.n:
1.2355 + * doc/info.n: Added further information about differences between
1.2356 + "namespace which" and "info exists".
1.2357 +
1.2358 + * doc/SetErrno.3: Added descriptions of ErrnoId() and ErrnoMsg()
1.2359 + functions.
1.2360 +
1.2361 +2000-01-25 Jeff Hobbs <hobbs@scriptics.com>
1.2362 +
1.2363 + * unix/tcl.m4: modified EXTRA_CFLAGS to add -DHAVE_TZSET for
1.2364 + OSF1-V* and ULTRIX-4.* when not using gcc. Also added higher min
1.2365 + stack size for OSF1-V* when building with threads. [Bug: 4063]
1.2366 +
1.2367 + * generic/tclClock.c (FormatClock): inlined resultPtr, as it
1.2368 + conflicted with var creation for HAVE_TZSET #def [Bug: 4063]
1.2369 +
1.2370 + * generic/tclCmdIL.c (Tcl_LsortObjCmd): fixed potential leak
1.2371 + when calling lsort -command with bad command [Bug: 4067]
1.2372 +
1.2373 + * generic/tclFileName.c (Tcl_JoinPath): added support for special
1.2374 + QNX node id prefixes in pathnames [Bug: 4053]
1.2375 +
1.2376 + * doc/ListObj.3: clarified Tcl_ListObjGetElements docs [Bug: 4080]
1.2377 +
1.2378 + * doc/glob.n: clarified Mac path separator determination docs.
1.2379 +
1.2380 + * win/makefile.vc: added some support for building helpfile on Windows
1.2381 +
1.2382 +2000-01-23 Jeff Hobbs <hobbs@scriptics.com>
1.2383 +
1.2384 + * library/init.tcl (auto_execok): added 'start' to list of
1.2385 + recognized built-in commands for COMSPEC on NT. [Bug: 2858]
1.2386 +
1.2387 + * unix/tclUnixPort.h: moved include of <utime.h> lower since some
1.2388 + systems (UTS) require sys/types.h to be included first [Bug: 4031]
1.2389 +
1.2390 + * unix/tclUnixChan.c (CreateSocketAddress): changed comparison
1.2391 + with -1 to 0xFFFFFFFF, to ensure 32 bit comparison even on 64 bit
1.2392 + systems. [Bug: 3878]
1.2393 +
1.2394 + * generic/tclFileName.c: improved guessing of path separator
1.2395 + for the Mac. (Darley)
1.2396 +
1.2397 + * generic/tclInt.h:
1.2398 + * generic/tcl.decls: moved Tcl_ProcObjCmd to stubs table [Bug: 3827]
1.2399 + and removed 'register' from stub definition of
1.2400 + Tcl_AppendUnicodeToObj [Bug: 4038]
1.2401 +
1.2402 +2000-01-21 Eric Melski <ericm@scriptics.com>
1.2403 +
1.2404 + * unix/mkLinks:
1.2405 + * doc/GetHostName.3: Man page for Tcl_GetHostName (bug #1817).
1.2406 +
1.2407 + * doc/lreplace.n: Corrected man page with respect to treatment of
1.2408 + empty lists, and "prettied up" the page. (bug #1705).
1.2409 +
1.2410 +2000-01-20 Eric Melski <ericm@scriptics.com>
1.2411 +
1.2412 + * tests/namespace.test: Added test for undefined variables with
1.2413 + namespace which (bug #956).
1.2414 +
1.2415 + * generic/tclNamesp.c: Added check for undefined variables in
1.2416 + NamespaceWhichCmd (bug #956).
1.2417 +
1.2418 + * tests/var.test: Added tests for corrected variable behavior
1.2419 + (bug #981).
1.2420 +
1.2421 + * doc/upvar.n: Expanded explanation of upvar behavior with respect to
1.2422 + variable traces. (bugs 3917 1433 2110).
1.2423 +
1.2424 + * generic/tclVar.c: Changed behavior of variable command when name
1.2425 + refers to an element in an array (ie, "variable foo(x)") to always
1.2426 + return an error, regardless of existance of that element in the
1.2427 + array (now behavior is consistant with docs too) (bug #981).
1.2428 +
1.2429 +2000-01-20 Jeff Hobbs <hobbs@scriptics.com>
1.2430 +
1.2431 + * generic/tclCmdIL.c (InfoBodyCmd): made [info body] return a
1.2432 + string if the body has been bytecompiled.
1.2433 + * generic/tclBasic.c (Tcl_EvalObjEx): added pedantic check for
1.2434 + originating proc body of bytecompiled code, #def'd out as the
1.2435 + change for [info body] should make it unnecessary
1.2436 +
1.2437 + * unix/tclUnixNotfy.c (Tcl_InitNotifier): added cast for tsdPtr
1.2438 +
1.2439 + * tests/set.test: added test for complex array elem name compiling
1.2440 + * generic/tclCompCmds.c (TclCompileSetCmd): Fixed parsing of array
1.2441 + elements during compiling, and slightly optimised same [Bug: 3889]
1.2442 +
1.2443 + * doc/tclvars.n: added definitions for tcl_(non)wordchars
1.2444 +
1.2445 + * doc/vwait.n: added notes about requirement for vwait var being
1.2446 + globally scoped [Bug: 3329]
1.2447 +
1.2448 + * library/word.tcl: changed tcl_(non)wordchars settings to use
1.2449 + new unicode regexp char class escapes instead of char sequences
1.2450 +
1.2451 +2000-01-14 Eric Melski <ericm@scriptics.com>
1.2452 +
1.2453 + * tests/var.test: Added a test for the array multiple delete
1.2454 + protection in Tcl_UnsetVar2.
1.2455 +
1.2456 + * generic/tclVar.c: Added protection in Tcl_UnsetVar2 against
1.2457 + attempts to multiply delete arrays when unsetting them (bug
1.2458 + #3453). This could happen if there was an unset trace on an array
1.2459 + element and the trace proc made a global or upvar link to the
1.2460 + array, and then the array was unset at the global level. See the
1.2461 + bug reference for more information.
1.2462 +
1.2463 + * unix/tclUnixTime.c: New clock format format.
1.2464 +
1.2465 + * compat/strftime.c: New clock format format.
1.2466 +
1.2467 + * generic/tclGetDate.y: New clock scan format.
1.2468 +
1.2469 +2000-01-13 Jeff Hobbs <hobbs@scriptics.com>
1.2470 +
1.2471 + * changes: updated changes file to reflect 8.3b2 mods
1.2472 +
1.2473 + * README:
1.2474 + * generic/tcl.h:
1.2475 + * tools/tcl.wse.in:
1.2476 + * unix/configure.in:
1.2477 + * unix/tcl.m4:
1.2478 + * win/README.binary:
1.2479 + * win/configure.in: updated to patchlevel 8.3b2
1.2480 +
1.2481 + * generic/regexec.c: added var initialization to prevent compiler
1.2482 + warning
1.2483 +
1.2484 +2000-01-13 Eric Melski <ericm@scriptics.com>
1.2485 +
1.2486 + * tests/cmdIL.test: Added tests for lsort -dictionary with
1.2487 + characters that occur between Z and a in ASCII.
1.2488 +
1.2489 + * generic/tclCmdIL.c: Modified DictionaryCompare function (used by
1.2490 + lsort -dictionary) to do upper/lower case equivalency before doing
1.2491 + character comparisons, instead of after. This fixes bug #1357, in
1.2492 + which lsort -dictionary [list ` AA c CC] and lsort -dictionary
1.2493 + [list AA c ` CC] gave different (and both wrong) results.
1.2494 +
1.2495 +2000-01-12 Eric Melski <ericm@scriptics.com>
1.2496 +
1.2497 + * tests/clock.test: Added tests for "next <day-of-week>" and
1.2498 + "<day-of-week>"
1.2499 + Added tests for "monday 1 week ago", etc, from RFE #3671.
1.2500 +
1.2501 + * doc/tests/clock.test: Added numerous tests for clock scan.
1.2502 +
1.2503 + * doc/generic/tclGetDate.y: Fixed some shift/reduce conflicts in
1.2504 + clock grammar.
1.2505 +
1.2506 + * doc/doc/clock.n: Added documentation for new supported clock
1.2507 + scan formats and additional explanation of daylight savings time
1.2508 + correction algorithm.
1.2509 +
1.2510 +2000-01-12 Jeff Hobbs <hobbs@scriptics.com>
1.2511 +
1.2512 + * doc/file.n:
1.2513 + * tests/unixFCmd.test:
1.2514 + * unix/tclUnixFCmd.c: added support for symbolic permissions
1.2515 + setting in SetPermissionsAttribute (file attr $file -perm ...)
1.2516 + [Bug: 3970]
1.2517 +
1.2518 + * generic/tclClock.c: fixed support for 64bit handling of clock
1.2519 + values [Bug: 1806]
1.2520 +
1.2521 + * generic/tclThreadTest.c: upped a buffer size to hold double
1.2522 +
1.2523 + * tests/info.test:
1.2524 + * generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong)
1.2525 +
1.2526 + * generic/tclNamesp.c: made imported commands also import their
1.2527 + compile proc [Bug: 2100]
1.2528 +
1.2529 + * tests/expr.test:
1.2530 + * unix/Makefile.in:
1.2531 + * unix/configure.in:
1.2532 + * unix/tcl.m4: recognize strtod bug on Tru64 v5.0 [Bug: 3378]
1.2533 + and added tests to prevent unnecessary chmod +x in sources while
1.2534 + installing, as well as more intelligent setsockopt/gethostbyname
1.2535 + checks [Bug: 3366, 3389]
1.2536 +
1.2537 + * unix/tclUnixThrd.c: added compile time support (through use of
1.2538 + the TCL_THREAD_STACK_MIN define) for increasing the default stack
1.2539 + size for a thread. [Bug: 3797, 1966]
1.2540 +
1.2541 +2000-01-11 Eric Melski <ericm@scriptics.com>
1.2542 +
1.2543 + * generic/tclGetDate.y: Added comments for the Convert function.
1.2544 + Added a fix for daylight savings time handling for relative time
1.2545 + spans of days, weeks or fortnights. (bug 3441, 3868).
1.2546 +
1.2547 + * generic/tclDate.c: Fixed compiler warning issues.
1.2548 +
1.2549 +2000-01-10 Jeff Hobbs <hobbs@scriptics.com>
1.2550 +
1.2551 + * compat/waitpid.c: use pid_t type instead of int [Bug: 3999]
1.2552 +
1.2553 + * tests/utf.test: fixed test that allowed \8 as octal value
1.2554 + * generic/tclUtf.c: changed Tcl_UtfBackslash to not allow
1.2555 + non-octal digits (8,9) in \ooo substs. [Bug: 3975]
1.2556 +
1.2557 + * generic/tcl.h: noted need to change win/tcl.m4 and
1.2558 + tools/tclSplash.bmp for minor version changes
1.2559 +
1.2560 + * library/http2.1/http.tcl: trim value for $state(meta) key
1.2561 +
1.2562 + * unix/tclUnixFile.c: fixed signature style on functions
1.2563 +
1.2564 + * unix/Makefile.in: made sure tcl.m4 would be installed with dist
1.2565 +
1.2566 + * unix/tcl.m4: added ELF support for NetBSD [Bug: 3959]
1.2567 +
1.2568 +2000-01-10 Eric Melski <ericm@scriptics.com>
1.2569 +
1.2570 + * generic/tclGetDate.y: Added rules for ISO 8601 formats (BUG #847):
1.2571 + CCYY-MM-DD
1.2572 + CCYYMMDD
1.2573 + YY-MM-DD
1.2574 + YYMMDD
1.2575 + CCYYMMDDTHHMMSS
1.2576 + CCYYMMDD HHMMSS
1.2577 + CCYYMMDDTHH:MM:SS
1.2578 + Fixed "clock scan <number>" to scan the number as an hour for the
1.2579 + current day, rather than a minute after 00:00 for the current day
1.2580 + (bug #2732).
1.2581 +
1.2582 +2000-01-07 Eric Melski <ericm@scriptics.com>
1.2583 +
1.2584 + * generic/tclClock.c: Changed switch in Tcl_ClockObjCmd to use
1.2585 + enumerated values instead of constants. (ie, COMMAND_SCAN instead
1.2586 + of 3).