summaryrefslogtreecommitdiffstats
path: root/tests/compile.test
Commit message (Collapse)AuthorAgeFilesLines
* style revisions to latest commitdgp2008-04-171-8/+1
|
* * 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.
* * tests/compile.test (compile-12.4): Backport test for Bug 1001997.dgp2004-10-261-1/+59
| | | | | | | | | | | | | | * tests/timer.test (timer-10.1): Backport test for Bug 1016167. * tests/tcltest.test (tcltest-12.3,4): Backport setup corrections. * tests/error.test (error-6.3,4,7,9): Backport of some tests. * tests/basic.test (basic-49.*): * tests/namespace.test (namespace-8.7): * tests/init.test (init-2.8): Updated to not rely on http package. * generic/tclThreadTest.c (ThreadEventProc): Corrected subtle bug where the returned (char *) from Tcl_GetStringResult(interp) continued to be used without copying or refcounting, while activity on the interp continued.
* * generic/tclCompile.c (TclCompileScript):Miguel Sofer2004-03-151-2/+2
| | | | | | | | | * tests/compile.test (compile-3.5): corrected wrong test and behaviour in the earlier fix for [Bug 705406]; Don Porter reported this as [Bug 735055], and provided the solution. Fixed in HEAD on 2003-05-09, but backport to 8-4-branch was wrongly omitted; re-reported as [Bug 916795] by Roy Terry, diagnosed by dgp.
* * generic/tclCompile.c:Miguel Sofer2003-03-191-1/+12
| | | | | * tests/compile.test: bad command count on TCL_OUT_LINE_COMPILE [Bug 705406] (Don Porter). Backport from 8.5a0
* * generic/tclCompCmds.c (TclCompileReturnCmd):dgp2003-01-081-2/+32
| | | | | | | * tests/compile.test: Corrects failure of bytecompiled [catch {return}] to have result TCL_RETURN (not TCL_OK) [Bug 633204]. This patch is a workaround for 8.4.X. A new opcode INST_RETURN is a better long term solution for 8.5 and later.
* 2002-08-26 Miguel Sofer <msofer@users.sourceforge.net>Miguel Sofer2002-08-261-1/+12
| | | | | | * generic/tclCompCmds.c: fix for [Bug 599788] (error in element name causing segfault), reported by Tom Wilkason. Fixed by copying the tokens instead of the source string.
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-101-13/+12
| | | | in the test suite.
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-4/+4
| | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2).
* [Bug 569438] in the processing of dollar variablesMiguel Sofer2002-06-161-1/+10
|
* made bytecodes check for a catch before returning; the compiled [return] is ↵Miguel Sofer2002-04-151-1/+10
| | | | otherwise non-catchable. [Bug 542588]
* Fixed buffer overrun reported in 530320; luckily it is not likely todkf2002-03-151-1/+8
| | | | | be exploitable in any meaningful way, but crashing Tcl instead of triggering an error still isn't good.
* More expr syntax error improvementsdkf2001-12-061-3/+3
|
* Improved messages produced on getting a syntax error in an expressiondkf2001-12-041-3/+3
|
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-2/+2
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* * tests/compile.test: added a test for bug [Bug 483309]Miguel Sofer2001-11-191-1/+14
|
* Small modif to tests/compile.test: better constraint handling forMiguel Sofer2001-10-121-24/+21
| | | | tests committed earlier today.
* * tests/compile.test: new tests for [Bug 467523]Miguel Sofer2001-10-121-2/+52
|
* * tests/compile.test: added compile-11.* interp result checkshobbs2001-08-311-15/+42
| | | | | | | | | * generic/tclUtil.c (TclGetIntForIndex): added Tcl_ResetResult before Tcl_AppendStringsToObj to prevent shared object crash when called from bcc instruction. The Tcl_Append* calls that append to the result object that are invoked by bcc insts must remember to call Tcl_ResetResult because the bcc doesn't do this for us. [Bug #456892]
* Fixed overagressive compilation of [catch], [Bug #219184]Miguel Sofer2001-08-221-2/+10
|
* * tests/compile.test:hobbs2000-05-031-3/+2
| | | | | | | | | | * tests/init.test: * tests/proc.test: * tests/proc-old.test: * tests/rename.test: * generic/tclProc.c: reworked error return for procedures with incorrect args to be like the C Tcl_WrongNumArgs, where a "wrong # args: ..." message is printed out with the args list.
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-16/+42
|
* * generic/tclCompile.c (CompileExprWord): Fixed exception stackstanton1999-02-021-1/+10
| | | | overflow bug caused by missing statement. [Bug: 928]
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* *** empty log message ***stanton1998-06-251-0/+10
|
* *** empty log message ***stanton1998-06-181-7/+48
|
* Initial revisionrjohnson1998-03-261-0/+128