summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * doc/namespace.n: the description of [namespace unknown] failedMiguel Sofer2009-09-232-2/+8
| | | | to mention [namespace path]: fixed. Thx emiliano.
* editdgp2009-09-221-2/+2
|
* * tests/regexp.test: Added check for error message frommdejong2009-09-212-1/+19
| | | | | unbalanced [] in regexp. Added additional simple test cases of basic regsub command.
* * generic/tclCompile.c: Correct botch in the conversion ofdgp2009-09-212-2/+9
| | | | Tcl_SubstObj(). Thanks to Kevin Kenny for detection and report.
* * generic/tclCompile.c: Re-implement Tcl_SubstObj() as a simpledgp2009-09-175-107/+77
| | | | | | | | | | * 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.
* need to remember to save before commit...das2009-09-171-2/+2
|
* typodas2009-09-171-2/+2
|
* fix string buffer sizes for pointer printingdas2009-09-171-42/+30
| | | | fix whitespace, formatting & style to match codebase conventions
* Extended ::tcl::unsupported::representation.ferrieux2009-09-162-6/+50
|
* fix warningdas2009-09-121-2/+2
|
* * generic/tclBasic.c: Completed the NR-enabling of [subst].dgp2009-09-118-30/+215
| | | | | | | | | * generic/tclCmdMZ.c: [Bug 2314561]. * generic/tclCompCmds.c: * generic/tclCompile.c: * generic/tclInt.h: * tests/coroutine.test: * tests/parse.test:
* Clean up http tokens properly.dkf2009-09-112-107/+167
|
* Correct handling of quoted charset names. [Bug 2849860]dkf2009-09-102-12/+23
|
* * generic/tclParse.c Corrected line counting error in multi-commanddgp2009-09-073-1/+15
| | | | * tests/into.test: script substitutions. [Bug 2850901].
* Added another test case, "known bug" because of [Bug 2314561] incompletenessdkf2009-09-071-4/+8
|
* Basic test of yielding inside a substdkf2009-09-071-38/+10
|
* * generic/tclExecute.c: fix potential uninitialized variable use anddas2009-09-079-39/+65
| | | | | | | | | | | | * generic/tclFCmd.c: null dereference flagged by clang static * generic/tclProc.c: analyzer. * generic/tclTimer.c: * generic/tclUtf.c: * generic/tclExecute.c: silence false positives from clang static * generic/tclIO.c: analyzer about potential null dereference. * generic/tclScan.c: * generic/tclCompExpr.c:
* make support for clang static analyzer safer & cleanerdas2009-09-071-7/+9
|
* Fixed up error in stack requirement estimation that made debug buildsdgp2009-09-041-1/+11
| | | | panic during execution of [subst] bytecode.
* Patched up flaw in option syntax checkingdgp2009-09-041-6/+3
|
* * generic/tclCompCmds.c (TclCompileSubstCmd): Added a bytecodedgp2009-09-0412-132/+616
| | | | | | | | | | | | | * 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:
* Improve consistency of formatting of comments and function declsdkf2009-09-041-45/+47
|
* Added suggestions for how to handle the multithreaded case. [Bug 2844962]dkf2009-09-032-19/+34
|
* Add xref to script-level documentationdkf2009-09-031-1/+3
|
* * generic/tclIORTrans.c (ReflectInput): Remove error response toandreas_kupries2009-09-012-5/+11
| | | | | | | | 0-result from method 'limit?' of transformations. Return the number of copied bytes instead, which is possibly nothing. The latter then triggers EOF handling in the higher layers, making the 0-result of limit? the way to inject artificial EOF's into the data stream.
* * library/tcltest/tcltest.tcl: Bump to tcltest 2.3.2 after revisiondgp2009-09-015-9/+16
| | | | | | * library/tcltest/pkgIndex.tcl: to verbose error message. * unix/Makefile.in: * win/Makefile.in:
* add "error:" to -verbose line test failure output to satisfy stricter log ↵das2009-08-301-2/+2
| | | | parsers like Xcode 3.2
* workaround llvm LTO bug on ppcdas2009-08-281-1/+2
|
* * generic/tclStringObj.c: A few more string overflow cases indgp2009-08-272-3/+18
| | | | [format]. [Bug 2845535]
* guard clang analyzer Tcl_Panic annotation with #ifndef USE_TCL_STUBSdas2009-08-251-2/+5
|
* fix warningsdas2009-08-252-3/+3
|
* * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-2512-110/+1288
| | | | | | | | | | | | | | | | | | | | | | | Tcl_EvalEx, TclEvalEx, TclAdvanceContinuations, TclNREvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript, TclCompileTokens): * 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 the parser, compiler, and execution engine with code and attendant data structures tracking the position of continuation lines which are not visible in the resulting script Tcl_Obj*'s, to properly account for them while counting lines for #280.
* Better formattingdkf2009-08-241-5/+5
|
* * generic/tclInt.h: Annotate Tcl_Panic as noreturn for clang staticdas2009-08-242-4/+5
| | | | analyzer in PURIFY builds, replacing preprocessor/assert technique.
* * macosx/tclMacOSXNotify.c: fix multiple issues with nested event loopsdas2009-08-242-26/+57
| | | | | when CoreFoundation notifier is running in embedded mode. (fixes problems in TkAqua Cocoa reported by Youness Alaoui on tcl-mac)
* Typo found by Andreas Kupriesdkf2009-08-221-2/+2
|
* * generic/tclFileName.c: Correct regression in [Bug 2837800] fix.dgp2009-08-212-2/+7
| | | | * tests/fileName.test:
* regression testsdgp2009-08-211-1/+29
|
* * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-202-2/+33
| | | | matches something like ~foo. [Bug 2837800]
* * generic/tclPathObj.c: [Bug 2806250] Prevent the storage of stringsdgp2009-08-202-149/+89
| | | | | | | | starting with ~ in the "tail" part (normPathPtr field) of the path intrep when PATHFLAGS != 0. This establishes the assumptions relied on elsewhere that the name stored there is a relative path. Also refactored to make an AppendPath() routine instead of the cut/paste stanzas that were littered throughout.
* Use the Tcl value stack more, simplify exit paths in [lsearch]dkf2009-08-201-75/+40
|
* Small tweaksdkf2009-08-201-43/+39
|
* Close off memory leak in [lsort].dkf2009-08-202-74/+69
|
* Interpreted [if] is now fully NRE-enabled. [Bug 2823276]dkf2009-08-192-36/+83
|
* another testdgp2009-08-191-1/+11
|
* Make interpreted [for] and [while] NRE-safe. [Bug 2823276]dkf2009-08-192-63/+128
|
* Formatting correctionsdkf2009-08-192-14/+13
|
* 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-183-2/+42
| | | | * tests/fileName.test: [glob]. [Bug 2837800]