summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-231-17/+17
| | | | 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/+129
| | | | | | | * 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.
* * generic/tclProc.c (ProcWrongNumArgs): [Bug 3045010]: Make thedkf2010-08-151-3/+3
| | | | | handling of passing the wrong number of arguments to [apply] somewhat less verbose when a lambda term is present.
* * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): [Bug 2826551, Patch 2948425]:dkf2010-08-121-18/+246
| | | | Backport of updates to make handling of RE line anchors correct.
* Test iocmd-32.2 tests for Bug 3034840dgp2010-08-031-1/+14
|
* * tests/var.test (var-19.1): [Bug 3037525]: Added testandreas_kupries2010-08-031-1/+8
| | | | demonstrating the local hashtable deletion crash and fix.
* * tests/info.test (info-39.1, test_info_frame): Changed absoluteandreas_kupries2010-08-031-3/+3
| | | | | | | to relative frame adressing to handle difference between testing with -singleproc 1 vs. the default -singleproc 0. Plus comment fix. The test and issue are not relevant to the trunk, forward porting is not required.
* * generic/tclExecute.c (IllegalExprOperandType): [Bug 3024379]: Madedkf2010-07-021-15/+19
| | | | | | sure that errors caused by an argument to an operator being outside the domain of the operator all result in ::errorCode being ARITH DOMAIN and not NONE.
* * generic/tclCmdIL.c (Tcl_LsetObjCmd): [Bug 3019351]: Corrected wrongdkf2010-06-222-2/+2
| | | | args message.
* [Backport] Also check the reverse path of dict->list EIAS violation.ferrieux2010-05-201-1/+2
|
* Backport of fix for [Bug 3004007], EIAS violation in list-dict conversions.ferrieux2010-05-191-1/+2
|
* * generic/tclResult.c: [Bug 2383005] Revise [return -errorcode] sodgp2010-03-241-2/+4
| | | | * tests/result.test: that it rejects illegal non-list values.
* * generic/tclListObj.c: Prevent in overflow trouble in [lreplace]dgp2010-03-181-1/+25
| | | | | * generic/tclTestObj.c: operations. Thanks to kbk for fix and test. * tests/listObj.test: [Bug 2971669].
* * generic/tclIORChan.c: [Bug 2936225]: Thanks to Alexandre Ferrieuxandreas_kupries2010-03-091-1/+77
| | | | | | * doc/refchan.n: <ferrieux@users.sourceforge.net> for debugging and fixing * tests/ioCmd.test: the problem. It is the write-side equivalent to the bug fixed 2009-08-06.
* Fix [Bug 2954959] expr abs(0.0) is -0.0nijtmans2010-02-211-1/+19
| | | | and added test cases for it.
* [Bug 2949740]: Do not try to put a NULL pipeline channel into binary mode.dkf2010-02-111-1/+4
|
* * generic/tclCompile.c: [Bug 2933089]: A literal sharing problem withandreas_kupries2010-02-021-1/+41
| | | | | | * generic/tclCompile.h: 'info frame' affects not only 8.6 but 8.5 as * generic/tclExecute.h: well. Backported the fix done in 8.6, without * tests/info.test: changes. New testcase info-39.1.
* Fix [Bug 2939073]: dangling ref when an unset trace triggered by [array unset]dkf2010-02-021-5/+29
| | | | hits the next element to be deleted.
* Fix environment tests under CYGWINnijtmans2010-01-061-3/+3
|
* Various trivial fixes, discovered during CYGWIN porting attempt. All ↵nijtmans2010-01-061-7/+7
| | | | backported from trunk.
* * generic/tclPathObj.c (TclPathPart): Correct inconsistency betweendgp2010-01-051-1/+15
| | | | | | * 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]
* [Bug 2923613]: Make the safer [source] handle a [return] at the end of the filedkf2009-12-301-1/+12
| | | | correctly.
* [Bug 2895741]: Make min() and max() supported in safe interpreters.dkf2009-12-292-28/+50
|
* [Bug 942170]: Detect the st_blocks field of 'struct stat' correctly.dkf2009-12-281-1/+3
|
* Correct failing testdkf2009-12-281-2/+2
|
* [Bug 2891362]: Make time limits work better with the event loop.dkf2009-12-281-1/+13
|
* 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.
* [Bug 1911342]: Rewrite formatting to avoid bogus link from tm.n to list.n indkf2009-12-161-1/+8
| | | | the HTML documentation.
* * library/safe.tcl: Backport of the streamlined safe base fromandreas_kupries2009-12-091-19/+3
| | | | | * tests/safe.test: head to the 8.5 branch (See head changelog entries 2009-11-05, 2009-11-06, 2009-12-03).
* Fix [Bug 2891556] and improve test to detect similar manifestations in the ↵ferrieux2009-11-161-1/+2
| | | | future.
* * tests/io.test: New test io-53.11 to test for [Bug 2895565].dgp2009-11-121-1/+32
|
* Fixed a number of test issues for Vista and Win7.patthoyts2009-11-113-265/+331
| | | | | These test failures are due to the more restrictive permissions on the newer versions of Windows.
* * generic/tclBasic.c (TclEvalObjEx): Plug memory leak indgp2009-11-091-2/+2
| | | | | | TCL_EVAL_DIRECT evaluation. * tests/info.test: Resolve ambiguous resolution of variable "res".
* Backported permissions fix for Windows 7 to cleanup test directory.patthoyts2009-11-031-1/+2
|
* Test hygiene for the ::tmp variabledgp2009-10-294-9/+17
|
* * 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]
* * 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.)
* Fix for [Bug 988703, 1565466]Joe Mistachkin2009-10-181-4/+7
|
* [Bug 2874678]: Don't leak bignums in [dict incr]...dkf2009-10-081-13/+23
|
* * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-251-10/+283
| | | | | | | | | | | | | | | | | | | | | | | | EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines): * 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/tclParse.c (TclSubstTokens, Tcl_SubstObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-24): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script Tcl_Obj*'s, to properly account for them while counting lines for #280.
* regression testsdgp2009-08-211-1/+29
|
* another testdgp2009-08-191-1/+11
|
* test for 2806250dgp2009-08-181-1/+11
|
* nicer test failure modedgp2009-08-181-2/+2
|
* * generic/tclPathObj.c: Added NULL check to prevent crashes duringdgp2009-08-181-1/+33
| | | | * tests/fileName.test: [glob]. [Bug 2837800]
* * doc/refchan.n [Bug 2827000]: Extended the implementation ofandreas_kupries2009-08-061-1/+73
| | | | | | | | * generic/tclIORChan.c: reflective channels (TIP 219, method * tests/ioCmd.test: 'read'), enabling handlers to signal EAGAIN to indicate 'no data, but not at EOF either', and other system errors. Updated documentation, extended testsuite (New test cases iocmd*-23.{9,10}).
* * generic/tclStringObj.c: Corrected failure to grow bufferdgp2009-07-311-1/+5
| | | | | * tests/format.test: when format spec request large width floating point values. Thanks to Clemens Misch. [Bug 2830354]
* * 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.5 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).