summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * win/tclWinDde.c: VC++ 6.0 doesn't havenijtmans2010-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | * win/tclWinReg.c PDWORD_PTR * win/tclWinThrd.c: Fix various minor gcc warnings. * win/tclWinTime.c * win/tclWinConsole.c Put channel type definitions * win/tclWinChan.c in static const memory * win/tclWinPipe.c * win/tclWinSerial.c * win/tclWinSock.c * generic/tclIOGT.c * generic/tclIORChan.c * generic/tclIORTrans.c * unix/tclUnixChan.c * unix/tclUnixPipe.c * unix/tclUnixSock.c * unix/configure (regenerated with autoconf 2.59) * tests/info.test: Make test independant from tcltest implementation.
* Record that [Bug 2898722] is lurking.dkf2010-01-101-12/+51
|
* * generic/tclPathObj.c (TclPathPart): Correct inconsistency betweendgp2010-01-051-1/+16
| | | | | | * tests/fileName.test (filename-14.31): the string rep and the intrep of a path value created by [file rootname]. Thanks to Vitaly Magerya for reporting. [Bug 2918610]
* * generic/tclBasic.c: Fix lerak of coroutines on namespaceMiguel Sofer2010-01-032-2/+50
| | | | | | | * generic/tclCompile.h: deletion, [Bug 2724403]. Added a test * generic/tclNamesp.c: for this leak, and also a test for * tests/coroutine.test: leaks on namespace deletion. * tests/namespace.test:
* [Bug 2923613]: Make the safer [source] handle a [return] at the end of thedkf2009-12-301-1/+12
| | | | file correctly.
* [Bug 2895741]: Make min() and max() supported in safe interpreters.dkf2009-12-292-254/+270
|
* Handle completely invalid input to the decode methods [Bug 2922555]patthoyts2009-12-291-6/+15
|
* [Bug 942170]: Detect the st_blocks field of 'struct stat' correctly.dkf2009-12-281-1/+3
|
* Correct failing testdkf2009-12-281-2/+2
|
* Slight improvement of test so it shouldn't block forever if it failsdkf2009-12-281-2/+6
|
* [Bug 2891362]: Make time limits work better with the event loop.dkf2009-12-281-81/+21
|
* [Bug 2918962]: Stop crash when -index and -stride are used together in [lsort].dkf2009-12-221-1/+7
|
* Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still ↵nijtmans2009-12-211-8/+8
| | | | not enabled yet, but at least it is a step in the right direction.
* * generic/tclBasic.c: Fix for bad cmd resolution by coroutinesMiguel Sofer2009-12-191-1/+11
| | | | | * tests/coroutine.test: [Bug #2917627]. Thanks to schelte for finding it.
* Upgrade to Safe Base's handling of [glob] to be more permissive with thedkf2009-12-161-1/+36
| | | | | feature set supported, but stricter with path management. It also now has an error pattern more like the standard [glob] command.
* Revert the 1.19 -> 1.20 commit now that bug 2487771 appears fixed.dgp2009-12-091-2/+2
|
* * generic/tclCmdIL.c: Fix of [Bug #2910094] by akuMiguel Sofer2009-12-071-1/+19
| | | | * tests/coroutine.test:
* Plug memory leak. [Bug 2910044]dkf2009-12-071-1/+66
|
* oops - test error due to deletion of now not-created namespaceMiguel Sofer2009-12-061-6/+1
|
* clear old junk in tests/coroutine.test:Miguel Sofer2009-12-061-41/+1
|
* * tests/tailcall.test: remove some old unused crud; improved theMiguel Sofer2009-12-051-27/+28
| | | | stack depth tests.
* * generic/tclBasic.c: Fixed things so that you can tailcallMiguel Sofer2009-12-051-1/+18
| | | | | | | | * generic/tclNamesp.c: properly out of a coroutine. * tests/tailcall.test: * generic/tclInterp.c: Fixed tailcalls for same-interp aliases (no test)
* Fix [Bug 2906841] and a few other smaller issues.dkf2009-12-031-262/+301
|
* Match the version-bump of TclOO.dkf2009-11-271-2/+2
|
* [Bug 2903811]: Remove unneeded restrictions on usefully calling thedkf2009-11-271-1/+34
| | | | oo::object->variable method. Leaving it hidden is enough.
* Ensure that destroying an object in a constructor doesn't crash. [Bug 2903011]dkf2009-11-241-1/+18
|
* [Bug 2893771] Teach [file stat] to handle locked files.patthoyts2009-11-241-11/+16
| | | | | This stops [file exists] from returning false for files that exist but are locked by resorting to FindFirstFile when GetFileAttributes fails.
* * tests/fCmd.test (fCmd-30.1): Changed registry location of theKevin B Kenny2009-11-231-2/+2
| | | | | | 'My Documents' folder to the one that's correct for Windows 2000, XP, Server 2003, Vista, Server 2008, and Windows 7. (See http://support.microsoft.com/kb/310746)
* Test constraint 2000orNewer should only be true on Windows platformdgp2009-11-231-2/+2
|
* #undef STATIC_BUILD in tclWin(Dde|Reg).c, in order to makenijtmans2009-11-231-6/+17
| | | | | | | | | | | sure that Xxxxx_Init is always exported even when Tcl is built static (otherwise we cannot create a DLL). tclThreadTest.c: Make all functions static, except TclThread_Init. fCmd.test Enable fCmd-30.1 when registry is available. tcl.m4 Fix ${SHLIB_LD_LIBS} definition, fix conflicts configure.in between static libraries and import library on windows. configure (regenerated) Makefile.in Simplifications related to tcl.m4 changes.
* a bit of cleanupdgp2009-11-201-5/+5
|
* Test-case for fixed [Bug 2849797]nijtmans2009-11-192-12/+13
| | | | | | Fix safe-10.1 and safe-10.4 test cases, making the wrong assumption that Tcltest should be a static package.
* Fix [Bug 2891171]: URL checking too strict when using multiple question ↵nijtmans2009-11-181-2/+2
| | | | marks (added test case)
* Revert mistaken commitdgp2009-11-165-47/+25
|
* (forward port) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-166-27/+50
| | | | manifestations in the future. Add tcltest support for finalization.
* * generic/tclIO.c (CopyData): [Bug 2895565]. Dropped bogosityandreas_kupries2009-11-121-1/+32
| | | | | | * tests/io.test: which used the number of _written_ bytes or character to update the counters for the read bytes/characters. New test io-53.11. This is a forward port from the 8.5 branch.
* Cleanup directories that have been set chmod 000.patthoyts2009-11-101-10/+30
| | | | | | | | | On Windows7 and Vista we really have no access and these were getting left behind. A few tests were changed to reflect the intent of the test where setting a directory chmod 000 should prevent any modification. This restriction was ignored on XP but is honoured on Vista
* * generic/tclObj.c: Plus memory leak in TclContinuationsEnter().andreas_kupries2009-11-101-2/+2
| | | | | [Bug 2895323]. Forward port from Tcl 8.5 branch, change by Don Porter.
* * tests/info.test: Resolve ambiguous resolution of variableandreas_kupries2009-11-091-2/+2
| | | | "res". Forward port from 8.5
* [Bug 2891026] add addtional contraints for vista+ for non-readable directoriespatthoyts2009-11-071-9/+26
|
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-18/+1
| | | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (8) Converted the path token system to cache normalized paths and path <-> token conversions. Removed more procedures not used any longer. Removed the test cases 4.3 and 4.4 from safe.test. They were testing the now deleted command "InterpStateName".
* More variable hygiene.dkf2009-10-301-146/+229
|
* Cleanup non-writable test directory on Windows.patthoyts2009-10-301-1/+2
| | | | | | | When creating the notwritabledir we deny the current user access to delete the file. We must grant this right when we cleanup. Required on Windows 7 when the user does not automatically have administrator rights.
* More variable cleansingdkf2009-10-291-180/+189
|
* test hygiene for the ::tmp variabledgp2009-10-294-9/+17
|
* More variable cleansingdkf2009-10-291-247/+432
|
* General cleanliness improvements.dkf2009-10-291-255/+408
|
* * library/clock.tcl (LocalizeFormat):Kevin B Kenny2009-10-291-1/+5
| | | | | | * tests/clock.test (clock-67.1): Corrected a problem where '%%' followed by a letter in a format group could expand recursively: %%R would turn into %%H:%M:%S. [Bug 2819334]
* * generic/tclLiteral.c: Fixed 2 bugs reported in [Bug 2888044].dgp2009-10-281-1/+2
| | | | | | | | | | | * tests/info.test: First, as noted in the comments of the TclCleanupLiteralTable routine, since the teardown of the intrep of one Tcl_Obj can cause the teardown of others in the same table, the full table cleanup must be done with care, but the code did not contain the same care demanded in the comment. Second, recent additions to the info.test file had poor hygiene, leaving an array variable ::a lying around, which breaks later interp.test tests during a -singleproc 1 run of the test suite.
* * tests/fileName.test (fileName-20.[78]): Corrected poor testKevin B Kenny2009-10-281-1/+12
| | | | | | hygiene (failure to save and restore the working directory) that caused these two tests to fail on Windows (and [Bug 2806250] to be reopened).