summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 3371644 Repair failure to properly handle (length == -1) in TclConvertElement().dgp2011-07-191-1/+7
|
* merge new testdgp2011-07-131-0/+5
|\
| * 3366265 Buffer allocated one byte too small caused overrun.dgp2011-07-132-0/+10
| |
| * comment fixjan.nijtmans2011-05-061-3/+3
| |
| * Fixed the shift in line numbers used for testing 'info frame' introduced by ↵andreask2011-04-201-0/+2
| | | | | | | | checkin [79367df0f0] (Mar 2, 2011).
* | Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507]Kevin B Kenny2011-07-021-0/+33
| |
* | tcltest 2.3.3 fixes:dgp2011-06-212-2/+2
| | | | | | | | | | | | | | * Use [package ifneeded] so slave gets exactly same tcltest version as master * Use [configure] command instead of legacy ::argv magic to pass tcltest configuration options to slave interp. Test files using the new [loadIntoSlaveInterpreter] command updated to declare their need for tcltest 2.3.3 as minimum acceptable release.
* | Backport tcltest 2.3.3 for release with Tcl 8.5.*dgp2011-06-212-20/+16
| |
* | [Bug 3185407]: Extend the set of epochs that are potentially bumped (indkf2011-06-021-0/+16
| | | | | | | | TclInvalidateNsCmdLookup) when a command is created, for a slight performance drop (in some circumstances) and improved semantics.
* | Completed patch with mucho comments. Merge 8.5.dgp2011-05-103-9/+37
| |
* | mergedgp2011-03-061-0/+38
|\ \
| * \ * 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]
* | | Correct flaw in the rewrite handling [list \\\\\}].dgp2011-03-031-0/+4
|/ /
* | 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.