summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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]
* Change ForIterData, make it const-safe.nijtmans2009-08-163-4/+6
|
* const addition (pkge.c)nijtmans2009-08-161-1/+1
| | | | | Use <pthread.h> in stead of "pthread.h" Eliminate some more gcc warnings
* const addition (pkge.c)nijtmans2009-08-165-29/+34
| | | | | Use <pthread.h> in stead of "pthread.h" Eliminate some more gcc warnings
* TIP #353 IMPLEMENTATIONdgp2009-08-1211-97/+264
| | | | | | | | | | | | | | * doc/NRE.3: New public routine Tcl_NRExprObj() permits * generic/tcl.decls: extension commands to evaluate Tcl expressions * generic/tclBasic.c: in NR-enabled command procedures. * generic/tclCmdAH.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclObj.c: * tests/expr.test: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* * doc/refchan.n [Bug 2827000]: Extended the implementation ofandreas_kupries2009-08-064-7/+184
| | | | | | | | * 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}).
* * tests/coroutine.test: fix testfile cleanupMiguel Sofer2009-08-022-8/+10
|
* Added *unsupported* command to report an object's representation.dkf2009-08-024-4/+52
|
* Stop calling endpwent() and endgrent(); unneeded. [Bug 1942222]dkf2009-08-023-18/+20
|
* eliminate TclWinResetInterfaceEncodings, becausenijtmans2009-08-025-66/+46
| | | | | | it does exactly the same as TclWinEncodingsCleanup, make sure that tclWinProcs and tclWinTCharEncoding are always set and reset concurrently.
* * generic/tclStringObj.c: Corrected failure to grow bufferdgp2009-07-313-2/+15
| | | | | * tests/format.test: when format spec request large width floating point values. Thanks to Clemens Misch. [Bug 2830354]
* Simplify a bit further following more testingdkf2009-07-261-10/+3
|
* Use [try] to replace obscurer uses of [catch].dkf2009-07-265-611/+612
|
* Forced LF translation when generating .h's to avoid spurious diffs when ↵ferrieux2009-07-262-1/+7
| | | | regenerating on a Windows box.
* [Bug 2827066] msys build --enable-symbols brokennijtmans2009-07-264-6/+20
| | | | | And modified the same for unicows.dll, as a preparation for [Enh 2819611]
* Correct "incidental" test failure; exact error message generated bydkf2009-07-251-55/+33
| | | | ::tcl::HistAdd changed
* Make [history] (well, [::tcl::history]) be a real ensemble.dkf2009-07-253-190/+134
|
* minor cleanupsdgp2009-07-242-3/+5
|
* Clarify code by using [try] instead of [catch] in a few placesdkf2009-07-241-557/+426
|
* Removed mention of auto_mkindex_old from indexed locations; we reallydkf2009-07-241-7/+9
| | | | | don't want people finding out about it and using it if they're not already doing so...
* Made it clearer what most people want instead of [self class].dkf2009-07-242-13/+26
|
* Revert series of local changes not relevant to the last commit.andreas_kupries2009-07-236-34/+11
|
* * generic/tclIO.c (Tcl_GetChannelHandle): Do not crash forandreas_kupries2009-07-239-16/+63
| | | | | | | | * generic/tclPipe.c (FileForRedirect): getHandleProc == NULL, this is allowed. Provide a nice error message in the bypass area. Updated caller to check the bypass for a mesage. This fixes the bug [Bug 2826248] reported by Andy Sonnenburg <andy22286@users.sourceforge.net>
* fix SunCC warningdas2009-07-231-2/+2
|
* Fix for [Bug 2820349]Joe Mistachkin2009-07-232-1/+7
|
* Feature Request 2814786: remove TclpPanicnijtmans2009-07-225-36/+17
|
* * macosx/tclMacOSXFCmd.c: CONST -> constnijtmans2009-07-225-10/+17
| | | | | | * generic/tclGetDate.y: * generic/tclDate.c: * generic/tclLiteral.c: (char *) cast in ckfree call
* Refined the 20090617 patch on [exit] streamlining, so that it now correctly ↵ferrieux2009-07-222-5/+21
| | | | calls thread exit handlers for the calling thread, which includes <Destroy> bindings in Tk [Bug 2001201 again].
* 2009-07-21 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2009-07-213-184/+8
| | | | | * library/tzdata/Asia/Dhaka: * library/tzdata/Indian/Mauritius: Olson's tzdata2009k.