summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclIO.c (CopyData): [Bug 2895565]. Dropped bogosityandreas_kupries2009-11-121-1/+8
| | | | | | * tests/io.test: which used the number of _written_ bytes or character to update the counters for the read bytes/characters. New test io-53.11. This is a backward port from the 8.5 branch.
* Fixed a number of test issues for Vista and Win7.patthoyts2009-11-101-0/+7
| | | | | These test failures are due to the more restrictive permissions on the newer versions of Windows.
* Removed outdated Msys + Mingw info, fix for [Bug 2459744].stwo2009-11-101-0/+4
|
* * generic/tclObj.c: Plus memory leak in TclContinuationsEnter().andreas_kupries2009-11-101-0/+5
| | | | [Bug 2895323]. Backport from Tcl 8.5 branch, change by Don Porter.
* * tests/info.test: Resolve ambiguous resolution of variableandreas_kupries2009-11-091-0/+3
| | | | "res". Backport from 8.5
* * generic/tclBasic.c (TclEvalObjEx): Moved the #280 decrement ofandreas_kupries2009-11-091-0/+8
| | | | | | | refCount for the file path out of the branch after the whole conditional, closing a memory leak. Added clause on structure type to prevent seg.faulting. Backport from valgrinding the Tcl 8.5 branch.
* * generic/tclCompCmds.c: [Bug 2881263] (TclCompileForeachCmd,andreas_kupries2009-10-231-0/+5
| | | | | | TclCompileLindexCmd): Fixed. Moved the use of DefineLineInformation after all regular variable declarations, so that an empty statement (-UTIP_280) doesn't confuse c89 compilers.
* * library/platform/pkgIndex.tcl: Backported the platform packagesandreas_kupries2009-10-231-0/+6
| | | | | | | * library/platform/platform.tcl: from head and8.5 into the 8.4 * library/platform/shell.tcl: branch. Updated makefiles to install * unix/Makfile.in: the packages. * win/Makefile.in:
* * generic/tclIO.c (FlushChannel): Skip OutputProc for low-levelandreas_kupries2009-10-231-0/+7
| | | | | | 0-length writes. When closing pipes which have already been closed not skipping leads to spurious SIG_PIPE signals. Reported by Mikhail Teterin <mi+thun@aldan.algebra.com>.
* Fix [Bug 2882561].dkf2009-10-211-11/+16
|
* Fix for [Bug 1565466]Joe Mistachkin2009-10-181-0/+8
|
* * macosx/tclMacOSXBundle.c: Workaround CF memory managment bug indas2009-10-051-0/+5
| | | | * unix/tclUnixInit.c: Mac OS X 10.4 & earlier. [Bug 2569449]
* * generic/tclAlloc.c: Cleaned up various routines in thedgp2009-09-281-0/+8
| | | | | | | * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclParse.c: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796].
* * generic/tclCmdMZ.c (Tcl_SubstObj): Pass 'length' values todgp2009-09-181-0/+6
| | | | | recursive parsing calls to convert O(N^2) operations of [subst] to O(N).
* * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-251-0/+24
| | | | | | | | | | | | | | | | | | | | | | | EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, ListLines): * 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/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-22): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script's, to properly account for them while counting lines for #280, during direct and compiled execution.
* * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-171-0/+5
| | | | * tests/fileName.test: matches something like ~foo. [Bug 2837800]
* Fix for [Bug 2820349]Joe Mistachkin2009-07-231-0/+4
|
* * 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.4 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).
* * 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].
* * unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): harden the checkhobbs2009-04-281-0/+5
| | | | to add _r to CC on AIX with threads.
* 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).
* * generic/tclStringObj.c (UpdateStringOfString): Added cast to fixandreas_kupries2009-04-221-0/+5
| | | | signed/unsigned mismatch breaking win32 symbol/debug build.
* * generic/tclStringObj.c: AppendUnicodeToUnicodeRep faileddgp2009-04-151-0/+5
| | | | to set stringPtr->allocated to 0, leading to crashes.
* Removed -Wno-implicit-int from CFLAGS_WARNING.stwo2009-04-141-0/+4
|
* * library/tcltest/tcltest.tcl: Fixed unsafe [eval]s in the tcltestdgp2009-04-081-0/+5
| | | | * library/tcltest/pkgIndex.tcl: package. [Bug 2570363]
* * generic/tclStringObj.c: Completed backports of fixes fordgp2009-04-071-0/+5
| | | | [Bug 2494093] and [Bug 2553906].
* * doc/Alloc.3: Size argument is "unsigned int". [Bug 2556263]dgp2009-03-301-0/+2
|
* * generic/tclStringObj.c: Added protections from invalid memorydgp2009-03-301-0/+8
| | | | | | | * generic/tclTestObj.c: accesses when we append (some part of) * tests/stringObj.test: a Tcl_Obj to itself. Added the appendself and appendself2 subcommands to the [teststringobj] testing command and added tests to the test suite. [Bug 2603158]
* * tests/fileName.test: Tests for [Bug 2710920] to guard againstdgp2009-03-271-0/+5
| | | | its appearance.
* * generic/tclStringObj.c: Test stringObj-6.9 checks thatdgp2009-03-211-0/+4
| | | | | * tests/stringObj.test: Tcl_AppendStringsToObj() no longer crashes when operating on a pure unicode value. [Bug 2597185]
* * generic/tclExecute.c (INST_CONCAT1): Panic when appends overflowdgp2009-03-201-0/+5
| | | | the max length of a Tcl value. [Bug 2669109]
* * win/tclWinFile.c (TclpObjNormalizePath): Corrected Tcl_Obj leak.dgp2009-03-181-0/+5
| | | | Thanks to Joe Mistachkin for detection and patch. [Bug 2688184].
* * generic/tclPathObj.c: Fixed mistaken logic in TclFSGetPathType()dgp2009-02-201-0/+7
| | | | | | * tests/fileName.test: that assumed (not "absolute" => "relative"). This is a false assumption on Windows, where "volumerelative" is another possibility. [Bug 2571597].
* * generic/tcl.h (Darwin): workaround conflict between deprecated tcldas2009-02-061-0/+5
| | | | panic macro and panic() function declaration in <mach/mach.h> header.
* * generic/tclStringObj.c: Added overflow protections to thedgp2009-02-051-0/+6
| | | | | AppendUtfToUtfRep routine to either avoid invalid arguments and crashes, or to replace them with controlled panics. [Bug 2561794]
* * generic/tclStringObj.c (SetUnicodeObj): Corrected failure ofdgp2009-02-041-0/+6
| | | | | Tcl_SetUnicodeObj() to panic on a shared object. [Bug 2561488]. Also factored out common code to reduce duplication.
* * generic/tclStringObj.c (STRING_SIZE): Corrected failure to limitdgp2009-01-091-0/+6
| | | | | memory allocation requests to the sizes that can be supported by Tcl's memory allocation routines. [Bug 2494093].
* * generic/tclStringObj.c (STRING_UALLOC): Added missing parensdgp2009-01-081-0/+6
| | | | | required to get correct results out of things like STRING_UALLOC(num + append). [Bug 2494093].
* * generic/tclIOUtil.c (Tcl_FSGetNormalizedPath): Added anotherdgp2008-12-041-0/+6
| | | | | flag value TCLPATH_NEEDNORM to mark those intreps which need more complete normalization attention for correct results. [Bug 2385549]
* * generic/tclFileName.c (TclDoGlob): One of thedgp2008-12-031-0/+8
| | | | | | | Tcl_FSMatchInDirectory() calls did not have its return code checked. Some VFS drivers can return TCL_ERROR, and when that's not checked, the error message gets converted into a list of matching files returned by [glob], with ridiculous results.
* * generic/tclIO.c (TclFinalizeIOSubsystem): Revised latest commit todgp2008-12-011-0/+5
| | | | something that doesn't crash the test suite.
* * generic/tclIO.c (TclFinalizeIOSubsystem): Applied backport ofandreas_kupries2008-11-251-0/+7
| | | | | | Alexandre Ferrieux's patch for [Bug 2270477] to prevent infinite looping during finalization of channels not bound to interpreters.
* * generic/tclIO.c: Backport of fix for [Bug 2333466].andreas_kupries2008-11-231-0/+4
|
* * generic/tclPort.h: remove the ../{win,unix}/ header dirs as thehobbs2008-11-041-0/+6
| | | | | build system already has it, and it confuses builds when used with private headers installed.
* * doc/global.n: Correct false claim about [info locals].dgp2008-09-251-0/+4
|
* * tests/fileName.test: Revise new tests for portability to casedgp2008-08-141-0/+5
| | | | insensitive filesystems.
* * generic/tclCompile.h: add support for debug logging of DTracedas2008-08-141-0/+4
| | | | | * generic/tclBasic.c: 'proc', 'cmd' and 'inst' probes (does _not_ require a platform with DTrace).
* * unix/Makefile.in: ensure Makefile shell is /bin/bash fordas2008-08-131-0/+11
| | | | | * unix/configure.in (SunOS): DTrace-enabled build on Solaris. (followup to 2008-06-12) [Bug 2016584]
* * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-0/+6
| | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.