summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Test for [Bug 3285472]. Not buggy in trunk.dgp2011-04-121-0/+5
|\
| * Repair corruption in [string reverse] when string rep invalidation faileddgp2011-04-121-0/+5
| | | | | | to also reset the bytes allocated for string rep to zero [Bug 3285472].
* | revert 6b6ef4e0b1, removing the temporary tests againjan.nijtmans2011-04-121-4/+0
|\ \
* | | insure that 'coroutine eval' runs the initial command in the proper context, ↵mig2011-04-111-0/+24
| | | | | | | | | | | | [Bug 3282869]
* | | Add some (temporary) test cases showing the problem with --export-dynamicjan.nijtmans2011-04-071-0/+4
|/ /
* | Better error-message in case of errors related to setting a variablejan.nijtmans2011-04-043-29/+29
| |
* | More generation of error codes (namespace creation, path normalization,dkf2011-04-031-3/+3
| | | | | | pipeline creation, package handling, procedures, [scan] formats)
* | Use the error messages generated by the variable management code rather thandkf2011-03-282-36/+46
| | | | | | creating our own in [regexp] and [regsub].
* | More test suite updating.dkf2011-03-111-33/+22
| |
* | Fix remaining broken tests (test failures appear non-serious)dkf2011-03-101-2/+2
| |
* | Fix most of the failing tests (some of which were due to breakage done to thedkf2011-03-102-17/+23
| | | | | | parser used in auto_mkIndex; never a good idea to delete the ::tcl NS!)
* | Merge to feature branchdkf2011-03-103-136/+128
|\ \
| * | Make tests in child interpreters report their summary info in the master.dkf2011-03-102-20/+14
| | | | | | | | | Bumped tcltest version to 2.3.3
| * | Update more of the test suite to use Tcltest 2.dkf2011-03-091-116/+114
| | |
* | | Merge to feature branchdkf2011-03-091-6/+17
|\ \ \ | |/ /
| * | * generic/tclNamesp.c: Tighten the detector of nested [namespace code]dgp2011-03-091-6/+17
| |\ \ | | |/ | | | | | | | | | | | | | | | * tests/namespace.test: quoting that the quoted scripts function properly even in a namespace that contains a custom "namespace" command. [Bug 3202171] * doc/tclvars.n: Formatting fix. Thanks to Pat Thotys.
| | * * generic/tclNamesp.c: Tighten the detector of nested [namespace code] bug_3202171dgp2011-03-091-6/+17
| | | | | | | | | | | | | | | * tests/namespace.test: quoting that the quoted scriptsfunction properly even in a namespace that contains a custom "namespace" command. [Bug 3202171]
* | | Turn namespace into an ensemble. Not yet on trunk because of some mysterious ↵dkf2011-03-091-2/+2
|/ / | | | | | | failures that need resolving...
* | Update more of the test suite to use Tcltest 2.dkf2011-03-093-172/+312
| |
* | Make the assembler code more like Tcl code.dkf2011-03-081-247/+17
| |
* | * generic/tclParse.c (TclParseBackslash): Correct trunction checks indgp2011-03-061-0/+38
|\ \ | |/ | | * tests/parse.test: \x and \u substitutions. [Bug 3200987]
| * * generic/tclParse.c (TclParseBackslash): Correct trunction checks indgp2011-03-061-0/+38
| |\ | | | | | | * tests/parse.test: \x and \u substitutions. [Bug 3200987]
| | * * generic/tclParse.c (TclParseBackslash): Correct trunction checks indgp2011-03-061-0/+38
| | | | | | | | | * tests/parse.test: \x and \u substitutions. [Bug 3200987]
* | | <verbatim>Kevin B Kenny2011-03-052-0/+3526
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclAssembly.c (new file): * generic/tclBasic.c (Tcl_CreateInterp): * generic/tclInt.h: * tests/assemble.test (new file): * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: Merged dogeen-assembler-branch into HEAD. Since all functional changes are in the tcl::unsupported namespace, there's no reason to sequester this code on a separate branch. </verbatim>
| * \ \ merge trunkdogeen_assembler_branchKevin B Kenny2011-03-05144-296/+21
| |\ \ \ | |/ / / |/| | |
* | | | Renamed BottomData to TEBCdata, so that the name refers to what it is rather ↵Miguel Sofer2011-03-051-1/+1
| | | | | | | | | | | | | | | | than to its storage location.
* | | | [Bug 3185009]: Keep references to resolved object variables so that an unset ↵dkf2011-03-051-0/+16
|\ \ \ \ | | | | | | | | | | | | | | | doesn't leave any dangling pointers for code to trip over.
| * | | | [Bug 3185009]: Keep references to resolved object variables so that an unset ↵Bug_3185009dkf2011-03-041-0/+16
| | | | | | | | | | | | | | | | | | | | doesn't leave any dangling pointers for code to trip over.
* | | | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-02144-295/+4
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | cause more harm than good. Purged them (except in zlib files).
| * | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-02140-286/+2
| |\ \ \ | | | |/ | | |/| more harm than good. Purged them.
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-01132-270/+0
| | | | | | | | | | | | more harm than good. Purged them.
| | * | [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-231-17/+18
| | | | | | | | | | | | | | | | Upgrade everything to Unicode 6.0, except non-BMP characters > 0xFFFF
| | * | * generic/tclExecute.c: [Bug 3057639]. Applied patch by Jeff toandreas_kupries2010-09-012-7/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclVar.c: make the behaviour of lappend in bytecompiled * tests/append.test: mode consistent with direct-eval and 'append' * tests/appendComp.test: generally. Added tests (append*-9.*) showing the difference.
| | * | Fix [Bug 2954959] expr abs(-0.0) is -0.0nijtmans2010-02-221-2/+19
| | | | | | | | | | | | | | | | Added some test cases, adapted and backported from 8.5
| | * | Backport test to prove Tcl 8.4 is not buggy (2918610).dgp2010-01-051-1/+16
| | | |
| | * | (Backport) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-161-1/+2
| | | | | | | | | | | | | | | | manifestations in the future.
| | * | * 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 backward port from the 8.5 branch.
| | * | Fixed a number of test issues for Vista and Win7.patthoyts2009-11-104-263/+330
| | | | | | | | | | | | | | | | | | | | These test failures are due to the more restrictive permissions on the newer versions of Windows.
| | * | * tests/info.test: Resolve ambiguous resolution of variableandreas_kupries2009-11-091-2/+2
| | | | | | | | | | | | | | | | "res". Backport from 8.5
| | * | Fix for [Bug 1565466]Joe Mistachkin2009-10-181-4/+7
| | | |
| | * | * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-251-12/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, ListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-22): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script's, to properly account for them while counting lines for #280, during direct and compiled execution.
| | * | regression testsdgp2009-08-211-1/+33
| | | |
| | * | another testdgp2009-08-191-1/+11
| | | |
| | * | test for 2806250dgp2009-08-181-1/+11
| | | |
| | * | nicer test failure modedgp2009-08-181-2/+2
| | | |
| | * | * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-171-1/+32
| | | | | | | | | | | | | | | | * tests/fileName.test: matches something like ~foo. [Bug 2837800]
| | * | * generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter,andreas_kupries2009-07-141-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclArgumentBCRelease, TclArgumentGet): * generic/tclCompile.c (EnterCmdWordIndex, TclCleanupByteCode, TclInitCompileEnv, TclCompileScript): * generic/tclCompile.h (ExtCmdLoc): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclInt.h (ExtIndex, CFWordBC): * tests/info.test (info-39.0): Backport of some changes made to the Tcl head, to handle literal sharing better. The code here is much simpler (trimmed down) compared to the head as the 8.4 branch is not bytecode compiling whole files, and doesn't compile eval'd code either. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This removes the problems with location data caused by literal sharing in proc bodies. Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex).
| | * | * generic/tclCompile.c: The value stashed in iPtr->compiledProcPtrdgp2009-06-131-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclProc.c: when compiling a proc survives too long. We * tests/execute.test: only need it there long enough for the right TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once that is done, the CompileEnv controls. If we let the value of iPtr->compiledProcPtr linger, though, then any other bytecode compile operation that takes place will also have its CompileEnv initialized with it, and that's not correct. The value is meant to control the compile of the proc body only, not other compile tasks that happen along. Thanks to Carlos Tasada for discovering and reporting the problem. [Bug 2802881].
| | * | * generic/tclStringObj.c: Added protections from invalid memorydgp2009-03-301-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclTestObj.c: accesses when we append (some part of) * tests/stringObj.test: a Tcl_Obj to itself. Added the appendself and appendself2 subcommands to the [teststringobj] testing command and added tests to the test suite. [Bug 2603158]
| | * | * tests/fileName.test: Tests for [Bug 2710920] to guard againstdgp2009-03-271-1/+13
| | | | | | | | | | | | | | | | its appearance.