summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
| | * | * generic/tclStringObj.c: Test stringObj-6.9 checks thatdgp2009-03-211-1/+7
| | | | | | | | | | | | | | | | | | | | * tests/stringObj.test: Tcl_AppendStringsToObj() no longer crashes when operating on a pure unicode value. [Bug 2597185]
| | * | * generic/tclPathObj.c: Fixed mistaken logic in TclFSGetPathType()dgp2009-02-201-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | * tests/fileName.test: that assumed (not "absolute" => "relative"). This is a false assumption on Windows, where "volumerelative" is another possibility. [Bug 2571597].
| | * | * tests/fileName.test: Revise new tests for portability to casedgp2008-08-141-4/+4
| | | | | | | | | | | | | | | | insensitive filesystems.
| | * | * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-2/+40
| | | | | | | | | | | | | | | | | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
| | * | * generic/tclProc.c (Tcl_ProcObjCmd): Fixed memory leak triggeredandreas_kupries2008-08-111-5/+31
| | | | | | | | | | | | | | | | | | | | | | | | * tests/proc.test: by procbody::test::proc. See [Bug 2043636]. Added a test case demonstrating the leak before the fix. Fixed a few spelling errors in test descriptions as well.
| | * | * generic/tclBasic.c: Added missing release of extended commandandreas_kupries2008-07-281-82/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | word index when deleting an interpreter (DeleteInterpProc). Added missing ref count when creating an empty string as path (EvalEx). * generic/tclCompile.c (TclInitCompileEnv): Made same change to control flow as in TclEvalObjEx. Not needed while uplevel and siblings go through the eval-direct code path, however if that changes (like it did in 8.5+) better to have this in place instead of re-searching why certain places are without absolute locations. * tests/info.test: Added tests 38.*, exactly testing the tracking of location for uplevel scripts, and made the testsuite fully usable with and without -singleproc 1.
| | * | * tests/info.test: Add !singleTestInterp constraint to various tests;das2008-07-251-27/+27
| | | | | | | | | | | | | | | | | | | | (info-22.8, info-23.0): switch to glob matching to avoid sensitivity to tcltest.tcl line number changes. [Bug 1605269]
| | * | * tests/info.test: Tests 38.* added, exactly testing the trackingandreas_kupries2008-07-241-1/+86
| | | | | | | | | | | | | | | | of location for uplevel scripts.
| | * | Contrain the new test to run only when tip280 is active.andreas_kupries2008-07-231-2/+2
| | | |
| | * | * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-231-12/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdIL.c: immediately, without search. Reworked setup * generic/tclCompile.c: of eoFramePtr, doesn't need the line * tests/info.test: information, more sensible to have everything on line 1 when eval'ing a pure list. Updated the users of the line information to special case this based on the frame type (i.e. TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new behaviour.
| | * | * tests/binary.test: Corrected flawed tests revealed by a -debug 1dgp2008-06-202-10/+4
| | | | | | | | | | | | | | | | * tests/io.test: -singleproc 1 test suite run.
| | * | * generic/tclCmdIL.c (InfoFrameCmd): Backport of fix made on theandreas_kupries2008-06-161-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/info.test: head branch :: Moved the code looking up the information for key 'proc' out of the TCL_LOCATION_BC branch to after the switch, this is common to all frame types. Updated the testsuite to match. This was exposed by the 2008-06-08 commit (Miguel), switching uplevel from direct eval to compilation. Fixes [Bug 1987851].
| | * | reduce reg-33.14 space used to prevent stack segfaulthobbs2008-05-261-2/+2
| | | |
| | * | * tests/io.test (io-53.9): need to close chan before removing file.hobbs2008-05-261-1/+2
| | | |
| | * | * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-231-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
| | * | style revisions to latest commitdgp2008-04-172-10/+7
| | | |
| | * | * generic/tclCompExpr.c (CompileMathFuncCall): Addedandreas_kupries2008-04-171-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/compile.test (compile-16.0): Tcl_ResetResult before appending error message, to clear out possible sharing. Added test case demonstrating the crash (abort on shared object) without the fix.
| | * | * generic/tclIO.c (CopyData): Applied another patch by Alexandreandreas_kupries2008-04-152-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>, to shift EOF handling to the async part of the command if a callback is specified, should the channel be at EOF already when fcopy is called. Testcase by myself.
| | * | * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Keeping check for negativeandreas_kupries2008-04-102-10/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | values, changed to not be an error, but behave like the special value -1 (copy all, default). * tests/iocmd.test (iocmd-15.{12,13}): Removed. * tests/io.test (io-52.5{,a,b}): Reverted last change, added comment regarding the meaning of -1, added two more testcases for other negative values, and input wrapped to negative.
| | * | * tests/io.test (io-52.5): Removed '-size -1' from test, does notandreas_kupries2008-04-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | seem to have any bearing, and was an illegal value. Test case is not affected by the value of -size, test flag restoration and that everything was properly copied.