summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* * library/clock.tcl (ParseClockScanFormat):Kevin B Kenny2009-10-271-1/+14
| | | | | | | | Corrected a problem where [clock scan] didn't load the timezone soon enough when processing a time format that lacked a complete date. [Bug 2886852] * tests/clock.test (clock-66.1): Added a test case for the above bug.
* * library/clock.tcl (ProcessPosixTimeZone):Kevin B Kenny2009-10-241-1/+11
| | | | | | | | | | | Corrected a regression in the fix to [Bug 2207436] that caused [clock] to apply EU daylight saving time rules in the US. Thanks to Karl Lehenbauer for reporting this regression. * tests/clock.test (clock-52.4): Added a regression test for the above bug. * library/tzdata/Asia/Dhaka: * library/tzdata/Asia/Karachi: New DST rules for Bangladesh and Pakistan. (Olson's tzdata2009o.)
* Let [$obj varname x(y)] work. [Bug 2883857]dkf2009-10-221-1/+12
|
* Fix for [Bug 1565466]Joe Mistachkin2009-10-181-4/+7
|
* [Bug 2874678]: Don't leak bignums in [dict incr]...dkf2009-10-081-15/+22
|
* * generic/tclCmdMZ.c: Replaced TclProcessReturn() calls withdgp2009-09-281-1/+15
| | | | | | * tests/error.test: Tcl_SetReturnOptions() calls as a simple fix for [Bug 2855247]. Thanks to Anton Kovalenko for the report and fix. Additional fixes for other failures demonstrated by new tests.
* * tests/error.test (error-15.9.*): More coverage tests for [try].dgp2009-09-281-2/+11
| | | | Test error-15.9.3.0.0 covers [Bug 2855247].
* * tests/error.test (error-15.8.*): Coverage tests illustratingdgp2009-09-281-1/+18
| | | | flaws in the propagation of return options by [try].
* * tests/regexp.test: Added check for error message frommdejong2009-09-211-1/+13
| | | | | unbalanced [] in regexp. Added additional simple test cases of basic regsub command.
* * generic/tclCompile.c: Re-implement Tcl_SubstObj() as a simpledgp2009-09-172-25/+14
| | | | | | | | | | * generic/tclParse.c: wrapper around TclNRSubstObj(). This has * tests/basic.test: the effect of caching compiled bytecode in * tests/parse.test: the value to be substituted. Note that Tcl_SubstObj() now exists only for extensions. Tcl itself no longer makes any use of it. Note also that TclSubstTokens() is now reachable only by Tcl_EvalEx() and Tcl_ParseVar() so tests aiming to test its functioning needed adjustment to still have the intended effect.
* * generic/tclBasic.c: Completed the NR-enabling of [subst].dgp2009-09-112-4/+4
| | | | | | | | | * generic/tclCmdMZ.c: [Bug 2314561]. * generic/tclCompCmds.c: * generic/tclCompile.c: * generic/tclInt.h: * tests/coroutine.test: * tests/parse.test:
* Clean up http tokens properly.dkf2009-09-111-107/+162
|
* * generic/tclParse.c Corrected line counting error in multi-commanddgp2009-09-071-1/+6
| | | | * tests/into.test: script substitutions. [Bug 2850901].
* Added another test case, "known bug" because of [Bug 2314561] incompletenessdkf2009-09-071-4/+8
|