summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-251-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * 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 parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script Tcl_Obj*'s, to properly account for them while counting lines for #280.
* * macosx/tclMacOSXNotify.c: fix multiple issues with nested event loopsdas2009-08-241-0/+6
| | | | | when CoreFoundation notifier is running in embedded mode. (fixes problems in TkAqua Cocoa reported by Youness Alaoui on tcl-mac)
* * generic/tclFileName.c: Correct regression in [Bug 2837800] fix.dgp2009-08-211-0/+5
| | | | * tests/fileName.test:
* * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-201-0/+3
| | | | matches something like ~foo. [Bug 2837800]
* * generic/tclPathObj.c: [Bug 2806250] Prevent the storage of stringsdgp2009-08-201-0/+9
| | | | | | | | 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.
* Backport of memory leak plug.dkf2009-08-201-7/+10
|
* * generic/tclPathObj.c: Added NULL check to prevent crashes duringdgp2009-08-181-0/+5
| | | | * tests/fileName.test: [glob]. [Bug 2837800]
* * doc/refchan.n [Bug 2827000]: Extended the implementation ofandreas_kupries2009-08-061-0/+9
| | | | | | | | * 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}).
* Stop calling endpwent() and endgrent(); unneeded. [Bug 1942222]dkf2009-08-021-4/+12
|
* * generic/tclStringObj.c: Corrected failure to grow bufferdgp2009-07-311-0/+6
| | | | | * tests/format.test: when format spec request large width floating point values. Thanks to Clemens Misch. [Bug 2830354]
* * generic/tclIO.c (Tcl_GetChannelHandle): [Bug 2826248]: Do not crashandreas_kupries2009-07-241-0/+9
| | | | | | | | * generic/tclPipe.c (FileForRedirect): for getHandleProc == NULL, this is allowed. Provide a nice error message in the bypass area. Updated caller to check the bypass for a mesage. Bug reported by Andy Sonnenburg <andy22286@users.sourceforge.net>. Backported from CVS head.
* Fix for [Bug 2820349]Joe Mistachkin2009-07-231-0/+4
|
* 2009-07-21 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2009-07-211-0/+5
| | | | | * library/tzdata/Asia/Dhaka: * library/tzdata/Indian/Mauritius: Olson's tzdata2009k.
* Performance boost for [string is].dkf2009-07-201-18/+26
|
* * generic/tclCmdIL.c: Removed unused variables.dgp2009-07-161-0/+13
| | | | | | | | | | | | * generic/tclCompile.c: * generic/tclVar.c: * unix/tclUnixChan.c: * generic/tclScan.c: Typo in ACCEPT_NAN configuration. * generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200]
* * generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter,andreas_kupries2009-07-141-0/+23
| | | | | | | | | | | | | | | | | | | | | | TclArgumentBCRelease, TclArgumentGet): * generic/tclCompile.c (EnterCmdWordIndex, TclCleanupByteCode, TclInitCompileEnv, TclCompileScript): * generic/tclCompile.h (ExtCmdLoc): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclInt.h (ExtIndex, CFWordBC): * tests/info.test (info-39.0): Backport of some changes made to the Tcl head, to handle literal sharing better. The code here is much simpler (trimmed down) compared to the head as the 8.5 branch is not bytecode compiling whole files, and doesn't compile eval'd code either. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This removes the problems with location data caused by literal sharing in proc bodies. Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex).
* Handle the GetUserName API call appropriately for wide/narrow versions. [Bug ↵patthoyts2009-07-011-0/+7
| | | | 2806622]
* * generic/tclStringObj.c: sprintf() -> Tcl_ObjPrintf() conversion.dgp2009-06-151-0/+4
|
* * generic/tclCompile.c: The value stashed in iPtr->compiledProcPtrdgp2009-06-131-0/+14
| | | | | | | | | | | | | * generic/tclProc.c: when compiling a proc survives too long. We * tests/execute.test: only need it there long enough for the right TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once that is done, the CompileEnv controls. If we let the value of iPtr->compiledProcPtr linger, though, then any other bytecode compile operation that takes place will also have its CompileEnv initialized with it, and that's not correct. The value is meant to control the compile of the proc body only, not other compile tasks that happen along. Thanks to Carlos Tasada for discovering and reporting the problem. [Bug 2802881].
* * generic/tclStringObj.c: Revised [format] to not overflow thedgp2009-06-101-1/+9
| | | | | | | integer calculations computing the length of the %ll formats of really big integers. Also added protections so that [format]s that would produce results overflowing the maximum string length of Tcl values throw a normal Tcl error instead of a panic. [Bug 2801413]
* * generic/tclGetDate.y: Fixed a thread safety bug in the generatedKevin B Kenny2009-06-091-0/+11
| | | | | | | | | | * library/clock.tcl: Bison parser (needed a %pure-parser * tests/clock.test: declaration to avoid static variables). Discovered that the %pure-parser declaration allowed for returning the Bison error message to the Tcl caller in the event of a syntax error, so did so. * generic/tclDate.c: bison 2.3
* New DST rule for Bangladesh (Olson's tzdata2009i)Kevin B Kenny2009-06-081-0/+5
|
* * generic/tclExecute.c: Replace dynamically-initialized table withdgp2009-06-021-0/+4
| | | | | a table of static constants in the lookup table for exponent operator computations that fit in a 64 bit integer result.
* * generic/tclExecute.c: Corrected implementations and selectiondgp2009-06-021-0/+5
| | | | logic of the INST_EXPON instruction to fix [Bug 2798543].
* * tests/expr.test: Added many tests demonstrating the brokendgp2009-06-011-0/+5
| | | | cases of [Bug 2798543].
* Applied Olson's tzdata2009hKevin B Kenny2009-05-301-0/+5
|
* * library/platform/platform.tcl: Fixed handling of cpu ia64,andreas_kupries2009-05-291-0/+7
| | | | | | * library/platform/pkgIndex.tcl: taking ia64_32 into account * unix/Makefile.in: now. Bumped version to 1.0.5. Updated the * win/Makefile.in: installation commands.
* * generic/tclObj.c (Tcl_GetCommandFromObj): fix for bug [2785893],Miguel Sofer2009-05-081-0/+6
| | | | | insure that a command in a deleted namespace cannot be found through a cached name.
* * generic/tclCmdMZ.c: Improve overflow error message fromdgp2009-05-061-0/+5
| | | | [string repeat]. [Bug 2582327]
* Revert last commit which fails to build with msvc2005 and msvc6patthoyts2009-04-291-5/+0
|
* Fix [Bug 2651823].dkf2009-04-291-0/+5
|
* comment with last tcl.m4 changehobbs2009-04-281-0/+5
|
* Backport fix for [Bug 1028264]: WSACleanup() too early. The fix introduces ↵ferrieux2009-04-271-0/+6
| | | | "late exit handlers" for similar late process-wide cleanups.
* Backport fix for [Bug 2446662]: resync Win behavior on RST with that of unix ↵ferrieux2009-04-271-0/+5
| | | | (EOF).
* Fix examples. [Bug 2780680]dkf2009-04-271-2/+8
|
* Don't chmod/exec installManPage. [Patch 2769530]stwo2009-04-241-0/+5
|
* * generic/tclStringObj.c: AppendUnicodeToUnicodeRep failedcore_8_5_7dgp2009-04-151-0/+3
| | | | to set stringPtr->allocated to 0, leading to crashes.
* * changes: Update for 8.5.7 release.dgp2009-04-151-2/+6
|
* Removed -Wno-implicit-int from CFLAGS_WARNING.stwo2009-04-141-0/+4
| | | | Regen unix/configure.
* * library/tzdata/Asia/Karachi: Updated rules for Pakistan SummerKevin B Kenny2009-04-141-0/+5
| | | | Time (Olson's tzdata2009f)
* D'ohdas2009-04-111-2/+2
|
* *** 8.5.7 TAGGED FOR RELEASE ***dgp2009-04-101-0/+2
|
* * generic/tclStringObj.c (UpdateStringOfString): Fix bug detecteddgp2009-04-101-0/+3
| | | | by compiler warning about undefined "dst".
* * unix/tclUnixChan.c: TclUnixWaitForFile(): use FD_* macrosdas2009-04-101-0/+4
| | | | | * macosx/tclMacOSXNotify.c: to manipulate select masks (Cassoff). [Bug 1960647]
* * unix/tclLoadDyld.c: use RTLD_GLOBAL instead of RTLD_LOCAL.das2009-04-101-0/+3
| | | | [Bug 1961211]
* typodas2009-04-101-2/+2
|
* * macosx/tclMacOSXNotify.c: revise CoreFoundation notifier to allowdas2009-04-101-2/+26
| | | | | | | | | | | | | | | | | | * unix/tclUnixChan.c: embedding into applications that * unix/tclUnixEvent.c: already have a CFRunLoop running and want to run the tcl event loop via Tcl_ServiceModeHook(TCL_SERVICE_ALL). * macosx/tclMacOSXNotify.c: add CFRunLoop based Tcl_Sleep() and * unix/tclUnixChan.c: TclUnixWaitForFile() implementations * unix/tclUnixEvent.c: and disable select() based ones in CoreFoundation builds. * unix/tclUnixNotify.c: simplify, sync with tclMacOSXNotify.c. * generic/tclInt.decls: add TclMacOSXNotifierAddRunLoopMode() * generic/tclIntPlatDecls.h: internal API, regen. * generic/tclStubInit.c:
* * changes: Update for 8.5.7 release.dgp2009-04-101-0/+2
|
* * macosx/tclMacOSXBundle.c: on Mac OS X 10.4 and later, replacedas2009-04-101-0/+5
| | | | deprecated NSModule API by dlfcn API.
* * generic/tcl.h: Bump to 8.5.7 for release.dgp2009-04-101-0/+11
| | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * README: * unix/configure: autoconf-2.59 * win/configure: