summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Typo fix [Bug #688943]dkf2003-02-202-2/+6
|
* * unix/tclUnixThrd.c (TclpReaddir):hobbs2003-02-203-5/+18
| | | | | | * unix/tclUnixPort.h: update to Bug 689100 patch to ensure that there is a defined value of MAXNAMLEN (aka NAME_MAX in POSIX) and that we have some buffer allocated.
* added missing bug #das2003-02-191-1/+1
|
* * generic/tclStringObj.c: restored Tcl_SetObjLength() side-effectdas2003-02-195-80/+227
| | | | | | | | | | | | | | | | | | | of always invalidating unicode rep (if the obj has a string rep). Added hasUnicode flag to String struct, allows decoupling of validity of unicode rep from buffer size allocated to it (improves memory allocation efficiency). [Bugs #686782, #671138, #635200] * macosx/Tcl.pbproj/project.pbxproj: * macosx/Makefile: reworked embedded build to no longer require relinking but to use install_name_tool instead to change the install_names for embedded frameworks. * macosx/Tcl.pbproj/project.pbxproj: preserve mod dates when running 'make install' to build framework (avoids bogus rebuilds of dependent frameworks because tcl headers appear changed). * tests/ioCmd.test (iocmd-1.8): fix failure when system encoding is utf-8: use iso8859-1 encoding explicitly.
* * generic/tclCompile.c (TclCompileExprWords): remove unusedMiguel Sofer2003-02-195-11/+17
| | | | | | | | | variable "range" [Bug 664743] * generic/tclExecute.c (ExprSrandFunc): remove unused variable "result" [Bug 664743] * generic/tclStringObj.c (UpdateStringOfString): remove unused variable "length" [Bug 664751] * tests/execute.test (execute-7.30): fix for [Bug 664775]
* * unix/tcl.m4: [Bug #651811] Added definition of _XOPEN_SOURCE andandreas_kupries2003-02-193-40/+56
| | | | | | | | linkage of 'xnet' library to HP 11 branch. This kills a lot of socket-related failures in the testsuite when Tcl was compiled in 64 bit mode (both PA-RISC 2.0W, and IA 64). * unix/configure: Regenerated.
* * unix/tclUnixThrd.c (TclpReaddir): reduce size of name string inhobbs2003-02-192-3/+12
| | | | tsd to NAME_MAX instead of PATH_MAX. [Bug #689100] (waters)
* (HaveVersion): correctly decl statichobbs2003-02-191-2/+2
|
* * unix/configure: Regen.mdejong2003-02-193-316/+329
| | | | | | * unix/tcl.m4 (SC_ENABLE_THREADS): Make sure -lpthread gets passed on the link line when checking for the pthread_attr_setstacksize symbol.
* cleanup of new simplefs test codevincentdarley2003-02-182-6/+15
|
* * generic/tclBasic.c (TclRenameCommand): fixing error in previousMiguel Sofer2003-02-182-3/+7
| | | | commit.
* * generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH):hobbs2003-02-189-16/+324
| | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd STR_MATCH): * generic/tclUtf.c (TclUniCharMatch): * generic/tclInt.decls: add private TclUniCharMatch function that * generic/tclIntDecls.h: does string match on counted unicode * generic/tclStubInit.c: strings. Tcl_UniCharCaseMatch has the * tests/string.test: failing that it can't handle strings or * tests/stringComp.test: patterns with embedded NULLs. Added tests that actually try strings/pats with NULLs. TclUniCharMatch should be TIPed and made public in the next minor version rev.
* * generic/tclBasic.c (TclRenameCommand): 'oldFullName' object wasMiguel Sofer2003-02-182-7/+19
| | | | | not being freed on all function exits, causing a memory leak [Bug 684756]
* * generic/tclIO.c (Tcl_GetsObj): Minor changemdejong2003-02-172-2/+9
| | | | | | so that eol is only assigned at the top of the TCL_TRANSLATE_AUTO case block. The other cases assign eol so this does not change any functionality.
* update in commentdgp2003-02-171-2/+2
|
* Removed Windows line terminators. [Bug 687913].Kevin B Kenny2003-02-172-326/+330
|
* Don Porter's fix for bad parsing of nested scripts [Bug 681841].Miguel Sofer2003-02-1612-120/+251
|
* Corrected a couple of typos in error messages. [Bug 596027]Kevin B Kenny2003-02-152-4/+7
|
* Fixed Tcl_DeleteEvents not to get a pointer smash when deleting the Kevin B Kenny2003-02-154-8/+565
| | | | | | | last event in the queue. Added test code in 'tcltest' and a new file of test cases 'notify.test' to exercise this functionality; several of the new test cases fail for the original code and pass for the corrected code.
* * README: Bumped to version 8.4.2.hobbs2003-02-1511-56/+79
| | | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tcl.spec: * win/README.binary: * win/configure: * win/configure.in: * macosx/Tcl.pbproj/project.pbxproj:
* generic/tclStringObj.c (Tcl_GetCharLength): perf tweakhobbs2003-02-151-7/+8
|
* correct HP-UX ia64 --enable-64bit build flagshobbs2003-02-151-2/+7
|
* * win/tclWinTime.c: Added code to test and compensate for forward Kevin B Kenny2003-02-141-10/+15
| | | | | | | | | | | | | | | leaps of the performance counter. See the MSDN Knowledge Base article Q274323 for the hardware problem that makes this necessary on certain machines. * tests/winTime.test: Revised winTime-2.1 - it had a tolerance of thousands of seconds, rather than milliseconds. (What's six orders of magnitude among friends? Both the above changes are triggered by a problem reported at http://aspn.activestate.com/ASPN/Mail/Message/ActiveTcl/1536811 although the developers find it difficult to believe that it accounts for the observed behavior and suspect a fault in the RTC chip.
* * win/tclWinTime.c: Added code to test and compensate for forward Kevin B Kenny2003-02-142-27/+40
| | | | | | | | | | | | | | | leaps of the performance counter. See the MSDN Knowledge Base article Q274323 for the hardware problem that makes this necessary on certain machines. * tests/winTime.test: Revised winTime-2.1 - it had a tolerance of thousands of seconds, rather than milliseconds. (What's six orders of magnitude among friends? Both the above changes are triggered by a problem reported at http://aspn.activestate.com/ASPN/Mail/Message/ActiveTcl/1536811 although the developers find it difficult to believe that it accounts for the observed behavior and suspect a fault in the RTC chip.
* Added conversion from the system encoding to tcl_platform(user), so Kevin B Kenny2003-02-132-5/+15
| | | | that it works with non-ASCII7 user names. [Bug 685926]
* Added language to describe the handling of the end-of-file character Kevin B Kenny2003-02-132-3/+19
| | | | \u001a embedded in a script file. [Bug 685485]
* glob -l on broken symlink fixvincentdarley2003-02-124-9/+68
|
* lint init regexphobbs2003-02-111-2/+2
|
* * tests/lsearch.test:hobbs2003-02-113-3/+29
| | | | | * generic/tclCmdIL.c (Tcl_LsearchObjCmd): protect against the case that lsearch -regepx list and pattern objects are equal.
* Corrected a problem where http-4.14 would fail when run with a proxy Kevin B Kenny2003-02-112-3/+20
| | | | server. Replaced references to scriptics.com by tcl.tk.
* correct test nameshobbs2003-02-111-3/+3
|
* * tests/stringObj.test:hobbs2003-02-113-32/+34
| | | | | * generic/tclStringObj.c (Tcl_GetCharLength): correct ascii char opt of 2002-11-11 to not stop early on \x00. [Bug #684699]
* * generic/tclParse.c (CommandComplete): more paranoid check tohobbs2003-02-111-2/+2
| | | | break on (p >= end) instead of just (p == end).
* remove excess EOF whitespacehobbs2003-02-111-14/+1
|
* * generic/tclParse.cMiguel Sofer2003-02-113-3/+12
| | | | * tests/parse.test: fix for [Bug 684744], by Don Porter.
* * generic/tclIOUtil.c (Tcl_FSJoinPath, Tcl_FSGetNormalizedPath):hobbs2003-02-112-80/+99
| | | | | | | | (UpdateStringOfFsPath): revert the cwdLen == 0 check and instead follow a different code path in Tcl_FSJoinPath. (Tcl_FSConvertToPathType, Tcl_FSGetNormalizedPath): (Tcl_FSGetFileSystemForPath): Update string rep path objects before freeing the internal object. (darley)
* * tests/fileSystem.test: added test 8.3hobbs2003-02-113-73/+97
| | | | | * generic/tclIOUtil.c (Tcl_FSGetNormalizedPath): (Tcl_FSMatchInDirectory): handle the cwdLen == 0 case
* * unix/tclUnixFile.c (TclpMatchInDirectory): simplify the hiddenhobbs2003-02-111-24/+14
| | | | file match check.
* * win/configure:mdejong2003-02-113-52/+67
| | | | | | | | | | | | * win/configure.in: Generate error when attempting to build under Cygwin. The Cygwin port of Tcl/Tk does not build and people are filing bug reports under the mistaken impression that someone is actually maintaining the Cygwin port. A post to comp.lang.tcl asking someone to volunteer as an area maintainer has generated no results. Closing bugs 680840, 630199, and 634772 and marking as "Won't fix".
* * doc/append.n: Return value was not documented. [Bug 683188]dkf2003-02-102-1/+7
|
* further fs cleanupvincentdarley2003-02-106-53/+48
|
* filesystem speed up round 2vincentdarley2003-02-108-291/+785
|
* add catches to suppress unnecessary errorshobbs2003-02-091-3/+3
|
* code cleanup of eval and string comp usehobbs2003-02-082-12/+15
|
* first speedups to Win filesystemvincentdarley2003-02-075-152/+233
|
* fix to crashing filesystem testvincentdarley2003-02-074-50/+80
|
* * generic/tclCompCmds.c (TclCompileIncrCmd):mdejong2003-02-073-7/+14
| | | | | | | | | | | * tests/incr.test: Don't include the text "(increment expression)" in the errorInfo generated by the compiled version of the incr command since it does not match the message generated by the non-compiled version of incr. It is also not possible to match this error output under Jacl, which does not support a compiler.
* * generic/tclExecute.c (TclExecuteByteCode): When anmdejong2003-02-064-4/+34
| | | | | | | | | | | | | error is encountered reading the increment value during a compiled call to incr, add a "(reading increment)" error string to the errorInfo variable. This makes the errorInfo variable set by the compiled incr command match the value set by the non-compiled version. * tests/incr-old.test: Change errorInfo result for the compiled incr command case to match the modified implementation. * tests/incr.test: Add tests to make sure the compiled and non-compiled errorInfo messages are the same.
* * library/tcltest/tcltest.tcl: Filename arguments to [outputChannel]dgp2003-02-063-19/+101
| | | | | | | and [errorChannel] (also -outfile and -errfile) were [open]ed but never [closed]. Also, [cleanupTests] could remove output or error files. [Bug 676978]. * library/tcltest/pkgIndex.tcl: Bumped to version 2.2.2.
* * tests/interp.test:mdejong2003-02-053-27/+35
| | | | | | | * tests/set-old.test: Run test cases that depend on hash order through lsort so that the tests also pass under Jacl. Does not change test results under Tcl.