summaryrefslogtreecommitdiffstats
path: root/tests/parse.test
Commit message (Collapse)AuthorAgeFilesLines
* Thanks to TIP #587, convert many escapes in the testcases into the actual ↵jan.nijtmans2021-03-301-7/+7
| | | | (UTF-8) character.
* Merge 8.6jan.nijtmans2021-01-281-9/+9
|\
| * Use {} braces in more "expr" expressions.jan.nijtmans2021-01-281-9/+9
| |
* | TIP 590: Recommend lowercase Package Namesjan.nijtmans2020-12-041-1/+1
|\ \
| * \ Lesser TIP #590 implementation: Only package renaming, no code changesjan.nijtmans2020-11-061-1/+1
| |\ \
| | * | Case-sensitive package namesjan.nijtmans2020-11-031-3/+3
| |/ /
* | | Some missing test-constraintsjan.nijtmans2020-11-241-1/+1
| | |
* | | More ©-sign consolidationjan.nijtmans2020-11-231-1/+1
| | |
* | | Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-2/+2
|/ / | | | | | | whenever reasonable.
* | Merge 8.6jan.nijtmans2020-10-301-2/+2
|\ \ | |/
| * Add "{}" around many "expr" commands in testcases. Also in doc/expr.njan.nijtmans2020-10-301-2/+2
| |
* | Merge 8.6jan.nijtmans2020-09-041-3/+3
|/
* Many more internal master/slave -> parent/child renamingsjan.nijtmans2020-09-011-10/+10
|
* [d2ffcca163] Limit parsing results that are documented to accept only ASCII ↵dgp2014-12-051-0/+3
|\ | | | | | | chars to actually follow that constraint. This requires not trusting isalnum(.) and isalpha(.) to deliver portable identical results.
| * One way to fix the parser of $-substitution accepting non-ASCII varnames.dgp2014-11-251-0/+3
| |
* | update changes; more test suite polishing.dgp2014-11-071-1/+1
| |
* | Make sure all uses of the [testbytestring] command are constrained.dgp2014-11-071-2/+4
| |
* | Modify the "gettimes" test-command to use the Tcl_Obj API. jan.nijtmans2014-07-161-14/+15
| | | | | | | | 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.
* | Test for TclContinuationsGet() usage, and simplifications.dgp2013-08-071-0/+6
| |
* | Demonstrate and fix memory leak in Tcl_ParseVar().dgp2013-07-241-0/+21
|\ \ | |/
| * Demonstrate and fix memory leak in Tcl_ParseVar().dgp2013-07-241-0/+21
| |
* | Better testevent cleanup and event loop managementdgp2013-01-311-3/+2
| |
* | missing testevent deletedgp2013-01-301-1/+1
| |
* | For Parse/eval & msgcat, select modernizations from Patrick Fradin + -debug fixdgp2013-01-301-11/+11
|\ \ | |/
| * For Parse/eval, select modernizations from Patrick Fradin.dgp2013-01-301-11/+11
| |
* | Test for Bug 1884496 (not buggy on trunk).dgp2013-01-111-0/+9
| |
* | No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | | | | | combination with tcltest86.dll to do that (Windows only)
* | Revised TclFindElement() interface.dgp2011-05-021-0/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The final argument had been bracePtr, the address of a boolean var, where the caller can be told whether or not the parsed list element was enclosed in braces. In practice, no callers really care about that. What the callers really want to know is whether the list element value exists as a literal substring of the string being parsed, or whether a call to TclCopyAndCollpase() is needed to produce the list element value. Now the final argument is changed to do what callers actually need. This is a better fit for the calls in tclParse.c, where now a good deal of post-processing checking for "naked backslashes" is no longer necessary. ***POTENTIAL INCOMPATIBILITY*** For any callers calling in via the internal stubs table who really do use the final argument explicitly to check for the enclosing brace scenario. Simply looking for the braces where they must be is the revision available to those callers, and it will backport cleanly. Tests for expanded literals quoting detection.
| * Tests for expanded literals quoting detection.dgp2011-05-021-0/+12
| |
* | * 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]
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-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 causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * README: Bump version number to 8.4.13 and updatedgp2006-03-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: changes to start prep for an 8.4.13 release. * generic/tcl.h: * tools/tcl.wse.in: * unix/configure{.in}: * unix/tcl.spec: * win/README.binary: * win/configure{.in}: * tests/parse.test: Missing constraint
| | * * generic/tclBasic.c: Revised handling of TCL_EVAL_* flags todgp2006-03-061-2/+22
| | | | | | | | | | | | | | | * tests/parse.test: simplify TclEvalObjvInternal and to correct the auto-loading of alias targets (parse-8.12). [Bug 1444291].
| | * * generic/tclBasic.c: Corrections to be sure that TCL_EVAL_GLOBALdgp2006-02-281-10/+45
| | | | | | | | | | | | | | | | | | * tests/parse.test: evaluations act the same as [uplevel #0] * tests/trace.test: evaluations, even when execution traces or invocations of [::unknown] are present. [Bug 1439836].
| | * * generic/tclBasic.c (Tcl_EvalEx,TclEvalTokensStandard):dgp2005-03-181-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_SubstObj): * tests/basic.test (basic-46.4): Restored recursion limit * tests/parse.test (parse-19.*): testing in nested command substitutions within direct script evaluation (Tcl_EvalEx) that got lost in the parser reforms of Tcl 8.1. Added tests for correct behavior. [Bug 1115904]
| | * More elimination of dup test numbers [Bugs 710365, 710369]dkf2003-03-271-2/+2
| | |
| * | * generic/tclParse.c (ParseComment): The new TclParseAllWhiteSpace()dgp2008-05-211-1/+5
| | | | | | | | | | | | | | | | | | | | | * tests/parse.test (parse-15.60): routine has no mechanism to return the "incomplete" status of "\\\n" so calling this routine anywhere that can be reached within a Tcl_ParseCommand() call is a mistake. In particular, ParseComment() must not use it. [Bug 1968882].
* | | * generic/tclCompile.c: Re-implement Tcl_SubstObj() as a simpledgp2009-09-171-22/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclParse.c: wrapper around TclNRSubstObj(). This has * tests/basic.test: the effect of caching compiled bytecode in * tests/parse.test: the value to be substituted. Note that Tcl_SubstObj() now exists only for extensions. Tcl itself no longer makes any use of it. Note also that TclSubstTokens() is now reachable only by Tcl_EvalEx() and Tcl_ParseVar() so tests aiming to test its functioning needed adjustment to still have the intended effect.
* | | * generic/tclBasic.c: Completed the NR-enabling of [subst].dgp2009-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c: [Bug 2314561]. * generic/tclCompCmds.c: * generic/tclCompile.c: * generic/tclInt.h: * tests/coroutine.test: * tests/parse.test:
* | | * generic/tclCompCmds.c (TclCompileSubstCmd): Added a bytecodedgp2009-09-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c: compiler routine for the [subst] command. * generic/tclCmdMZ.c: This is a partial solution to the need to * generic/tclCompile.c: NR-enable [subst] since bytecode execution is * generic/tclCompile.h: already NR-enabled. [Bug 2314561] Two new * generic/tclExecute.c: bytecode instructions, INST_NOP and * generic/tclInt.h: INST_RETURN_CODE_BRANCH were added to support * generic/tclParse.c: the new routine. INST_RETURN_CODE_BRANCH is * tests/basic.test: likely to be useful in any future effort to * tests/info.test: add a bytecode compiler routine for [try]. * tests/parse.test:
* | | Alternate fix for[Bug 2251175]: missing backslash substitution on expanded ↵ferrieux2008-11-271-2/+2
| | | | | | | | | | | | literals.
* | | Fix [Bug 2251175]: missing backslash generic/tclCompCmds.c substitution on ↵ferrieux2008-11-171-1/+7
| | | | | | | | | | | | expanded literals.
* | | * generic/tclParse.c: reverting the "fix" for [Bug 2017583],Miguel Sofer2008-07-141-3/+3
| | | | | | | | | | | | | | | * tests/parse.test: numLevel management and TclInterpReady check seems to be necessary after all.
* | | * generic/tclParse.c: remove unnecessary numLevel managementMiguel Sofer2008-07-141-3/+3
| | | | | | | | | | | | [Bug 2017583]
* | | NRE implementation [Patch 2017110]Miguel Sofer2008-07-131-3/+3
| | |
* | | * generic/tclParse.c (ParseComment): The new TclParseAllWhiteSpace()dgp2008-05-211-1/+5
|/ / | | | | | | | | | | | | * tests/parse.test (parse-15.60): routine has no mechanism to return the "incomplete" status of "\\\n" so calling this routine anywhere that can be reached within a Tcl_ParseCommand() call is a mistake. In particular, ParseComment() must not use it. [Bug 1968882].