Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Thanks to TIP #587, convert many escapes in the testcases into the actual ↵ | jan.nijtmans | 2021-03-30 | 1 | -1/+1 |
| | | | | (UTF-8) character. | ||||
* | TIP 590: Recommend lowercase Package Names | jan.nijtmans | 2020-12-04 | 1 | -1/+1 |
|\ | |||||
| * | Case-sensitive package names | jan.nijtmans | 2020-11-03 | 1 | -1/+1 |
| | | |||||
* | | Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵ | jan.nijtmans | 2020-11-23 | 1 | -3/+3 |
|/ | | | | whenever reasonable. | ||||
* | Merge 8.6 | jan.nijtmans | 2020-10-30 | 1 | -6/+6 |
|\ | |||||
| * | Add "{}" around many "expr" commands in testcases. Also in doc/expr.n | jan.nijtmans | 2020-10-30 | 1 | -6/+6 |
| | | |||||
* | | Merge 8.6 | jan.nijtmans | 2020-09-04 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Let all test-cases load the "tcltest" package the same way. Depend on ↵ | jan.nijtmans | 2020-09-04 | 1 | -1/+1 |
| | | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions | ||||
* | | Merge 8.6 | jan.nijtmans | 2020-09-01 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | Many more internal master/slave -> parent/child renamings | jan.nijtmans | 2020-09-01 | 1 | -8/+8 |
| | | |||||
| * | Merge 8.5 | jan.nijtmans | 2020-05-04 | 1 | -6/+6 |
| |\ | |||||
| | * | Test-case cleanup. Increase timeout a little bit in main.test, making Travis ↵ | jan.nijtmans | 2020-05-04 | 1 | -6/+6 |
| | | | | | | | | | | | | build errors because of this less likely. | ||||
| | * | Repair invalid utf-8 in subst.test. | dgp | 2020-04-11 | 1 | -1/+1 |
| | | | |||||
* | | | More of the same (see previous commit) | jan.nijtmans | 2020-07-16 | 1 | -1/+1 |
| | | | |||||
* | | | Eliminate exess spacings in many test-cases | jan.nijtmans | 2016-03-10 | 1 | -7/+7 |
|/ / | |||||
* | | Make sure all uses of the [testbytestring] command are constrained. | dgp | 2014-11-07 | 1 | -2/+2 |
| | | |||||
* | | Convert some non-ASCII characters in testcase comments - which were mangled ↵ | jan.nijtmans | 2014-07-17 | 1 | -1/+1 |
| | | | | | | | | by my editor in [79ace7b793] - to valid UTF-8: This way my editor will not mangle them again, and fossil will show in the UI which characters are supposed to be there. | ||||
* | | Modify the "gettimes" test-command to use the Tcl_Obj API. | jan.nijtmans | 2014-07-16 | 1 | -4/+8 |
| | | | | | | | | New "testbytestring" command which can be used to replace the (to-be-deprecated) "bytestring" command from tcltest and/or the "indentity" encoding. Adapt many testcases to use the "testbytestring" command. | ||||
* | | [f0f876c141] Improve consistency in error messages. | dkf | 2014-06-17 | 1 | -4/+4 |
| | | |||||
* | | Simplify AuxData access with a macro. | dgp | 2013-07-27 | 1 | -0/+4 |
| | | |||||
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 |
|\ \ | |/ | | | 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 cause | dgp | 2011-03-02 | 1 | -2/+0 |
| |\ | | | | | | | more harm than good. Purged them. | ||||
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 |
| | | | | | | | | | more harm than good. Purged them. | ||||
| | * | * tests/subst.test (subst-12.3-5): More tests for Bug 1036649. | dgp | 2004-10-26 | 1 | -1/+9 |
| | | | |||||
| | * | reversed expected result from subst-12.3 to match Tcl 7.6 behavior. | dgp | 2004-10-26 | 1 | -2/+2 |
| | | | |||||
| | * | * tests/subst.test (subst-12.3,4): More tests for Bug 1036649. | dgp | 2004-10-26 | 1 | -3/+17 |
| | | | |||||
| | * | * tests/subst.test (12.2): test correction. | Miguel Sofer | 2004-09-30 | 1 | -2/+2 |
| | | | |||||
| | * | fix for buffer overflow in [subst], [Bug 1036649] | Miguel Sofer | 2004-09-29 | 1 | -1/+18 |
| | | | |||||
| | * | * generic/tclCmdMZ.c (Tcl_SubstObj): Corrected and added test for | dgp | 2003-03-12 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | * tests/subst.test (subst-2.4): Tcl_SubstObj's incorrect halting of substitution at the first \x00 byte. [Bug 685106] | ||||
| | * | * doc/tcltest.n: Added missing "-body" to example. Thanks to | dgp | 2003-03-08 | 1 | -1/+5 |
| | | | | | | | | | | | | Helmut Giese. [Bug 700011] | ||||
* | | | * generic/tclCompile.c: Prevent writing to the intrep fields of a | dgp | 2010-10-06 | 1 | -1/+25 |
| | | | | | | | | | | | | * tests/subst.test: freed Tcl_Obj. [Bug 3081065] | ||||
* | | | * generic/tclCompCmdsSZ.c (TclSubstCompile): If the first token does | dkf | 2010-04-08 | 1 | -3/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | not result in a *guaranteed* push of a Tcl_Obj on the stack, we must push an empty object. Otherwise it is possible to get to a 'concat1' or 'done' without enough values on the stack, resulting in a crash. Thanks to Joe Mistachkin for identifying a script that could trigger this case. | ||||
* | | | Assorted improvements to make better use of tcltest2 | dkf | 2008-04-23 | 1 | -46/+49 |
|/ / | |||||
* | | * generic/tclParse.c (Tcl_SubstObj): Fix for failed subst-12.3 test. | dgp | 2004-10-26 | 1 | -1/+9 |
| | | | | | | | | * tests/subst.test (subst-12.3-5): More tests for Bug 1036649. | ||||
* | | Reversed expected result from test subst-12.3. | dgp | 2004-10-26 | 1 | -2/+2 |
| | | |||||
* | | * tests/subst.test (subst-12.3,4): More tests for Bug 1036649. | dgp | 2004-10-26 | 1 | -1/+17 |
| | | |||||
* | | * tests/subst.test (12.1-2): added tests for [Bug 1036649] | Miguel Sofer | 2004-09-30 | 1 | -1/+16 |
| | | |||||
* | | * generic/tclBasic.c (Tcl_EvalTokensStandard): | dgp | 2003-03-13 | 1 | -10/+14 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_SubstObj): * generic/tclCompCmds.c (TclCompileSwitchCmd): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclCompile.c (TclSetByteCodeFromAny,TclCompileScript, TclCompileTokens,TclCompileCmdWord): * generic/tclCompile.h (TclCompileScript): * generic/tclExecute.c (TclCompEvalObj): * generic/tclInt.h (Interp,TCL_BRACKET_TERM,TclSubstTokens): * generic/tclParse.c (ParseTokens,Tcl_SubstObj,TclSubstTokens): * tests/subst.test (2.4, 8.7, 8.8, 11.4, 11.5): Substantial refactoring of Tcl_SubstObj to make use of the same parsing and substitution procedures as normal script evaluation. Tcl_SubstObj() moved to tclParse.c. New routine TclSubstTokens() created in tclParse.c which implements all substantial functioning of Tcl_EvalTokensStandard(). TclCompileScript() loses its "nested" argument, the Tcl_Interp struct loses its termOffset field and the TCL_BRACKET_TERM flag in the evalFlags field, all of which were only used (indirectly) by Tcl_SubstObj(). Tests subst-8.7,8.8,11.4,11.5 modified to accomodate the only behavior change: reporting of parse errors now takes precedence over [return] and [continue] exceptions. All other behavior should | ||||
* | Don Porter's fix for bad parsing of nested scripts [Bug 681841]. | Miguel Sofer | 2003-02-16 | 1 | -3/+3 |
| | |||||
* | * tests/subst.test: added 5.8-10 as further tests for [Bug 495207] | Miguel Sofer | 2002-08-08 | 1 | -1/+15 |
| | |||||
* | * Corrected [subst] so that return codes | dgp | 2002-04-05 | 1 | -1/+13 |
| | | | | | | TCL_BREAK and TCL_CONTINUE returned by variable substitution have the same effect as when those codes are returned by command substitution. [Bug 536879] | ||||
* | avoiding a buffer overrun in [subst]; restoring tcl7.6 behaviour [Bug #495207] | Miguel Sofer | 2002-02-25 | 1 | -1/+13 |
| | |||||
* | TIP#36 implementation. Also includes cleanup for subst option | dkf | 2001-07-12 | 1 | -8/+8 |
| | | | | | handling and improved documentation for the subst command (in my capacity as maintainer of the Commands M-Z functional area.) | ||||
* | * tests/subst.test: | hobbs | 2001-06-28 | 1 | -1/+6 |
| | | | | | * generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash handling of multibyte utf-8 chars. [Bug #217987] | ||||
* | * tests/subst.test: added tests for non-zero return code handling | hobbs | 2000-11-01 | 1 | -14/+66 |
| | | | | | | by subst. * generic/tclParse.c (Tcl_EvalEx): corrected handling of non-zero, non-error return code cases for subst. [BUG: 119829] | ||||
* | * tests/*.test: Changed all occurances of "namespace import | ericm | 2000-04-10 | 1 | -2/+2 |
| | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. | ||||
* | Fixed style problems in many of the test files. | rjohnson | 1999-06-26 | 1 | -2/+2 |
| | | | | Fixed bug in pkg.test where defs.tcl was still being used. | ||||
* | Modified the tests to use the package tcltest | jenn | 1999-06-26 | 1 | -2/+3 |
| | |||||
* | merged tcl 8.1 branch back into the main trunk | stanton | 1999-04-16 | 1 | -3/+22 |
| | |||||
* | Replaced SCCS strings, fixed binary filescore_8_0_3 | stanton | 1998-09-14 | 1 | -1/+1 |
| |