summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* added regression test for recent bug fixvincentdarley2003-02-053-24/+81
|
* test suite fixes for spaces in pathsvincentdarley2003-02-042-48/+49
|
* finalization and test fixesvincentdarley2003-02-0414-147/+247
|
* Marked filesystem-7.1 as known bug.andreas_kupries2003-02-041-1/+1
|
* doc formatting fixhobbs2003-02-041-3/+3
|
* * generic/tclBasic.c: Changed [trace add command] so that 'rename' Kevin B Kenny2003-02-033-16/+44
| | | | | | | | | | callbacks get fully qualified names of the command. [Bug 651271]. ***POTENTIAL INCOMPATIBILITY*** * tests/trace.test: Modified the test cases for [trace add command] to expect fully qualified names on the 'rename' callbacks. Added a case for renaming a proc within a namespace. * doc/trace.n: Added language about use of fully qualified names in trace callbacks.
* * generic/tclCompCmds.c: Removed an unused variable that caused Kevin B Kenny2003-02-012-13/+7
| | | | compiler warnings on SGI. [Bug 664379]
* * generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage Kevin B Kenny2003-02-013-79/+122
| | | | | | | | | is called to report the same package as being loaded in two interps, it shows up in [info loaded {}] in both of them (previously, it didn't appear in the static package list in the second. * tests/load.test Added regression test for the above bug. [Bug 670042]
* * generic/tclClock.c: Fixed a bug that incorrectly allowed Kevin B Kenny2003-02-013-5/+22
| | | | | | | | [clock clicks {}] and [clock clicks -] to be accepted as if they were [clock clicks -milliseconds]. * tests/clock.test: Added regression tests for the above bug. [Bug 675356]
* * tests/unixNotfy.test: Added cleanup of working files Kevin B Kenny2003-02-012-47/+84
| | | | [Bug 675609]
* 2003-02-01 Kevin Kenny <kennykb@users.sourceforge.net> Kevin B Kenny2003-02-013-16/+36
| | | | | | | | | * doc/Tcl.n: Added headings to the eleven paragraphs, to improve formatting in the tools that attempt to extract tables of contents from the manual pages. [Bug 627455] * generic/tclClock.c: Expanded mutex protection around the setting of env(TZ) and the thread-unsafe call to tzset(). [Bug 656660]
* The utility [slave] command failed to properly [list]-quote adgp2003-01-312-3/+8
| | | | | constructed [open] command, causing failure when the pathname contained whitespace. [Bug 678415]
* * tests/tcltest.test: Cleaned up management of file/directorydgp2003-01-312-57/+82
| | | | creation/deletion to improve "-debug 1" output. [Bug 675614]
* * tests/main.test: Stopped main.test from deleting existing file.dgp2003-01-312-2/+11
| | | | Test suite should not delete files that already exist. [Bug 675660]
* * tests/main.test: Constrain tests that do not work on Windows.dgp2003-01-282-7/+11
|
* filesystem bug fix and new testvincentdarley2003-01-284-5/+220
|
* * generic/tcl.h: Add TCL_PREFIX_IDENT andmdejong2003-01-285-8/+61
| | | | | | | | | | | | | | | | | TCL_DEBUG_IDENT, used only by TclpCreateProcess. * unix/Makefile.in: Define TCL_DBGX. * win/Makefile.in: Define TCL_DBGX. * win/tclWinPipe.c (TclpCreateProcess): Check that the Tcl pipe dll actually exists in the Tcl bin directory and panic if it is not found. Incorporate TCL_DBGX into the Tcl pipe dll name. This fixes a really mysterious error that would show up when exec'ing a 16 bit application under Win95 or Win98 when Tcl was compiled with symbols. The error seemed to indicate that the executable could not be found, but it was actually the Tcl pipe dll that could not be found.
* typo corrections in comments.dgp2003-01-271-5/+7
|
* * win/README: Update msys+mingw URL to release 6.mdejong2003-01-272-4/+9
| | | | This version bundles gcc 3.
* * win/configure: Regen.mdejong2003-01-274-37/+114
| | | | | | | | * win/configure.in: Add test that checks to see if the compiler can cast to a union type. * win/tclWinTime.c: Squelch compiler warning about union initializer by casting to union type when compiling with gcc.
* * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel):mdejong2003-01-265-26/+222
| | | | | | | | | | | | | | | | Invoke TclpCutFileChannel and TclpSpliceFileChannel. * generic/tclInt.h: Declare TclpCutFileChannel and TclpSpliceFileChannel. * unix/tclUnixChan.c (FileCloseProc, TclpOpenFileChannel, Tcl_MakeFileChannel, TclpCutFileChannel, TclpSpliceFileChannel): Implement thread load data cut and splice for file channels. This avoids an invalid memory ref when compiled with -DDEPRECATED. * win/tclWinChan.c (FileCloseProc, TclpCutFileChannel, TclpSpliceFileChannel): Implement thread load data cut and splice for file channels. This avoids an invalid memory ref that was showing up in the thread extension.
* * win/tclWin32Dll.c (TclpCheckStackSpace, squelch_warnings):mdejong2003-01-254-125/+209
| | | | | | | | | | | | | | * win/tclWinChan.c (Tcl_MakeFileChannel, squelch_warnings): * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, squelch_warnings): Re-implement inline ASM SEH handlers for gcc. The esp and ebp registers are now saved on the stack instead of in global variables so that the code is thread safe. Add additional checks when TCL_MEM_DEBUG is defined to be sure the values were recovered from the stack properly. Remove squelch_warnings functions and add a dummy call in the handler methods to squelch compiler warnings.
* * win/configure:mdejong2003-01-254-42/+76
| | | | | | | | | | | | | | | * win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that no alloca function is found in malloc.h and we are compiling with GCC. Remove HAVE_NO_ALLOC_DECL define. * win/tclWin32Dll.c (TclpCheckStackSpace): Don't define alloca as a cdecl function. Doing this caused a tricky runtime bug because the _alloca function expects the size argument to be passed in a register and not on the stack. To fix this problem, we use inline ASM when compiling with gcc to invoke _alloca with the size argument loaded into a register.