summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclIO.c (Tcl_SetChannelOption):mdejong2003-03-061-2/+2
| | | | | | | | | | | | | Invoke the Tcl_SetChannelBufferSize method as a result of changing the -buffersize option to fconfigure. The previous implementation used some inlined code that reset the buffer size to the default size instead of ignoring the request as implemented in Tcl_SetChannelBufferSize. * tests/io.test: Update test case so that it actually checks the implementation of Tcl_SetChannelBufferSize.
* The [switch] command is now bytecode compiled, at least in the most commondkf2003-03-051-1/+129
| | | | | case. There's room for improvement in the future, of course. [Patch #644819] Also adds another macro to help with jump offset fixups.
* * README: Bumped version number ofdgp2003-03-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: Tcl to 8.5a0. * library.init.tcl: * mac/README: * macosx/Tcl.pbproj/project.pbxproc: * tests/basic.test: * tools/configure.in: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.bc: * win/makefile.vc: * win/tcl.m4: * tools/configure: autoconf * unix/configure: * win/configure:
* * tests/winTime.test: added note about PCI hardware dependencyhobbs2003-02-271-1/+3
| | | | issues with high performance clock.
* Stop [lsearch -start 0 {} x] from crashing. [Bug #694232]dkf2003-02-271-1/+5
|
* * tests/pid.test: See below [Bug #678412].andreas_kupries2003-02-252-10/+10
| | | | * tests/io.test: Made more robust against spaces in paths [Bug #678400].
* * tests/execute.test: cleaning up testobj's at the end, to avoidMiguel Sofer2003-02-251-1/+4
| | | | leak warning by valgrind.
* Stopped sign-bit propagation in [binary scan] of wide values. [Bug #690774]dkf2003-02-211-1/+9
|
* * generic/tclEncoding.c (LoadTableEncoding):hobbs2003-02-211-1/+131
| | | | | | | | | * library/encoding/cp932.enc: Correct jis round-trip encoding * library/encoding/euc-jp.enc: by adding 'R' type to .enc files. * library/encoding/iso2022-jp.enc: [Patch #689341] (koboyasi, taguchi) * library/encoding/jis0208.enc: * library/encoding/shiftjis.enc: * tests/encoding.test:
* * generic/tclStringObj.c: restored Tcl_SetObjLength() side-effectdas2003-02-191-2/+2
| | | | | | | | | | | | | | | | | | | 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-191-2/+2
| | | | | | | | | 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]
* * generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH):hobbs2003-02-182-3/+82
| | | | | | | | | | | | * 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.
* Removed Windows line terminators. [Bug 687913].Kevin B Kenny2003-02-171-326/+326
|
* Don Porter's fix for bad parsing of nested scripts [Bug 681841].Miguel Sofer2003-02-166-15/+34
|
* Fixed Tcl_DeleteEvents not to get a pointer smash when deleting the Kevin B Kenny2003-02-151-0/+326
| | | | | | | 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.
* * win/tclWinTime.c: Added code to test and compensate for forward Kevin B Kenny2003-02-141-14/+11
| | | | | | | | | | | | | | | 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.
* glob -l on broken symlink fixvincentdarley2003-02-122-7/+48
|
* * tests/lsearch.test:hobbs2003-02-111-1/+6
| | | | | * 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-111-3/+3
| | | | server. Replaced references to scriptics.com by tcl.tk.
* correct test nameshobbs2003-02-111-3/+3
|
* * tests/stringObj.test:hobbs2003-02-111-13/+8
| | | | | * generic/tclStringObj.c (Tcl_GetCharLength): correct ascii char opt of 2002-11-11 to not stop early on \x00. [Bug #684699]
* remove excess EOF whitespacehobbs2003-02-111-14/+1
|
* * generic/tclParse.cMiguel Sofer2003-02-111-1/+5
| | | | * tests/parse.test: fix for [Bug 684744], by Don Porter.
* * tests/fileSystem.test: added test 8.3hobbs2003-02-111-0/+10
| | | | | * generic/tclIOUtil.c (Tcl_FSGetNormalizedPath): (Tcl_FSMatchInDirectory): handle the cwdLen == 0 case
* filesystem speed up round 2vincentdarley2003-02-101-1/+16
|
* add catches to suppress unnecessary errorshobbs2003-02-091-3/+3
|
* first speedups to Win filesystemvincentdarley2003-02-072-1/+38
|
* fix to crashing filesystem testvincentdarley2003-02-072-6/+9
|
* * generic/tclCompCmds.c (TclCompileIncrCmd):mdejong2003-02-071-2/+1
| | | | | | | | | | | * 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-062-3/+18
| | | | | | | | | | | | | 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.
* * tests/interp.test:mdejong2003-02-052-27/+27
| | | | | | | * 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-051-0/+15
|
* test suite fixes for spaces in pathsvincentdarley2003-02-041-48/+48
|
* finalization and test fixesvincentdarley2003-02-044-15/+16
|
* Marked filesystem-7.1 as known bug.andreas_kupries2003-02-041-1/+1
|
* * generic/tclBasic.c: Changed [trace add command] so that 'rename' Kevin B Kenny2003-02-031-11/+16
| | | | | | | | | | 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/tclLoad.c: Changed the code so that if Tcl_StaticPackage Kevin B Kenny2003-02-011-61/+72
| | | | | | | | | 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-011-1/+7
| | | | | | | | [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-011-47/+79
| | | | [Bug 675609]
* The utility [slave] command failed to properly [list]-quote adgp2003-01-311-3/+5
| | | | | constructed [open] command, causing failure when the pathname contained whitespace. [Bug 678415]
* * tests/tcltest.test: Cleaned up management of file/directorydgp2003-01-311-57/+79
| | | | creation/deletion to improve "-debug 1" output. [Bug 675614]
* * tests/main.test: Stopped main.test from deleting existing file.dgp2003-01-311-2/+5
| | | | Test suite should not delete files that already exist. [Bug 675660]
* * tests/main.test: Constrain tests that do not work on Windows.dgp2003-01-281-7/+7
|
* filesystem bug fix and new testvincentdarley2003-01-281-0/+14
|
* only do groups check on unixhobbs2003-01-251-5/+7
|
* execution trace, command trace and stringObj bug fixesvincentdarley2003-01-172-32/+101
|
* * tests/winDde.test:hobbs2003-01-161-1/+5
| | | | | | * win/tclWinDde.c (Tcl_DdeObjCmd): Prevent crash when empty service name is passed to 'dde eval' and goto errorNoResult in request and poke error cases to free up any allocated data.
* non-ascii chars in file mtime fixvincentdarley2003-01-091-1/+17
|
* * generic/tclCompCmds.c (TclCompileReturnCmd):dgp2003-01-081-2/+32
| | | | | | | * tests/compile.test: Corrects failure of bytecompiled [catch {return}] to have result TCL_RETURN (not TCL_OK) [Bug 633204]. This patch is a workaround for 8.4.X. A new opcode INST_RETURN is a better long term solution for 8.5 and later.
* * generic/tclPipe.c (TclCleanupChildren):davygrvy2002-12-171-1/+29
| | | | | | | | | | | | | | * tests/winPipe.c: * win/tclWinPipe.c (Tcl_WaitPid): * win/tclWinTest.c: Gave Tcl_WaitPid the ability to return a Win32 exception code translated into a posix style SIG*. This allows [close] to report "CHILDKILLED" without the meaning getting lost in a truncated exit code. In TclCleanupChildren(), TclpGetPid() had to get moved to before Tcl_WaitPid() as the the handle is removed from the list taking away the ability to get the process id after the wait is done. This shouldn't effect the unix implimentaion unless waitpid is called with a pid of zero, meaning "any". I don't think it is..