summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c: More replacements of Tcl_UtfBackslash() callsdgp2011-03-061-0/+6
| | | | | | * generic/tclCmdMZ.c: with TclParseBackslash() where possible. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclUtil.c:
* * generic/tclUtil.c (TclFindElement): Guard escape sequence scansdgp2011-03-061-0/+5
| | | to not overrun the string end. [Bug 3192636]
* * generic/tclParse.c (TclParseBackslash): Correct trunction checks indgp2011-03-061-0/+5
| | | * tests/parse.test: \x and \u substitutions. [Bug 3200987]
* [Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2,nijtmans2011-01-251-0/+6
| | | | backported strcpy->memcpy change but not change in any struct.
* Fix gcc-4.5.2 error: lvalue required as ...nijtmans2011-01-141-0/+5
| | | | (backported from 8.5/8.6)
* [Bug 3127687] Triggers FORTIFY_SOURCE buffer overflow detectionnijtmans2010-12-051-0/+5
|
* Backported from 8.6 (see 2010-08-04).andreas_kupries2010-11-031-0/+8
| | | | | | | * win/tclWin32Dll.c (asciiProcs, unicodeProcs): * win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with * win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to prefer dependent DLLs in same dir as loaded DLL.
* Add -D_CRT_SECURE_NO_DEPRECATE and -D_CRT_NONSTDC_NO_DEPRECATE, reducing the ↵nijtmans2010-10-311-0/+9
| | | | | | | | number of deprecation warnings on later VC++ versions. Better VCVERSION determination. All changes backported from Tcl8.5/8.6
* Update for VS10nijtmans2010-10-231-0/+1
|
* [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-231-0/+9
| | | | Upgrade everything to Unicode 6.0, except non-BMP characters > 0xFFFF
* * tclWinsock.c: [Bug 3056775]: Fixed race condition between threadandreas_kupries2010-09-241-0/+7
| | | | | | and internal co-thread access of a socket's structure because of the thread not using the socketListLock in TcpAccept(). Added documentation on how the module works to the top.
* * generic/tclExecute.c: [Bug 3057639]. Applied patch by Jeff toandreas_kupries2010-09-011-9/+19
| | | | | | | * generic/tclVar.c: make the behaviour of lappend in bytecompiled * tests/append.test: mode consistent with direct-eval and 'append' * tests/appendComp.test: generally. Added tests (append*-9.*) showing the difference.
* [Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6:nijtmans2010-07-251-0/+6
| | | | revert tclInt.h to what it was before, and relax the relation between Tcl_CallFrame and CallFrame.
* [Bug 3031278] fixed merge problem in previous commit.nijtmans2010-07-181-0/+4
|
* [Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6nijtmans2010-07-171-0/+5
|
* (Backport) take over definitions of _WIN32, DLLIMPORT, DLLEXPORT and ↵nijtmans2010-07-161-0/+5
| | | | TCL_LL_MODIFIER macros from Tcl8.5/8.6
* [Bug 3019634] errno.h and tclWinPort.h have conflicting definitions.nijtmans2010-06-281-0/+5
|
* * library/platform/platform.tcl: Added OSX Intel 64bitandreas_kupries2010-06-091-0/+5
| | | | * library/platform/pkgIndex.tcl: Package updated to version 1.0.9.
* * library/platform/platform.tcl: Fix cpu name for Solaris/Intel 64bit.andreas_kupries2010-05-071-0/+5
| | | | * library/platform/pkgIndex.tcl: Package updated to version 1.0.8.
* Typoandreas_kupries2010-04-291-1/+1
|
* * library/platform/platform.tcl: Another stab at getting the /lib,andreas_kupries2010-04-291-0/+6
| | | | | * library/platform/pkgIndex.tcl: /lib674 difference right for linux. Package updated to version 1.0.7.
* * doc/unset.n: [Bug 2988940]: Fix typo.dkf2010-04-181-0/+4
|
* Fixed missing update of platform package index.andreas_kupries2010-04-141-4/+5
|
* * library/platform/platform.tcl: Linux platform identification:andreas_kupries2010-04-141-0/+8
| | | | | | | Check /lib64 for existence of files matching libc* before accepting it as base directory. This can happen on weirdly installed 32bit systems which have an empty or partially filled /lib64 without an actual libc. Bumped to version 1.0.6.
* Fixed object leakvasiljevic2010-04-061-0/+4
|
* * generic/tclStringObj.c: (SetStringFromAny): avoid tramplingvasiljevic2010-04-021-0/+6
| | | | | over the tclEmptyStringRep->bytes as it is thread-shared (thx to Gustaf Neumann for the (hard) work of locating this one).
* [backported] Refrain from a possibly lengthy reverse-DNS lookup on 0.0.0.0 whenferrieux2010-03-011-0/+6
| | | | | calling [fconfigure -sockname] on an universally-bound (default) server socket.
* Fix [Bug 2954959] expr abs(-0.0) is -0.0nijtmans2010-02-221-0/+5
| | | | Added some test cases, adapted and backported from 8.5
* * generic/tclCompile.c: [Bug 2949302]: Fixed leak of supportandreas_kupries2010-02-111-0/+6
| | | | | structures for [info frame] which occured when bytecode compilation fails.
* Fix buggy date in tclIO.c history.ferrieux2010-02-071-1/+1
|
* [Bug 2942697]: Rework the RE engine so that certain pathological patterns aredkf2010-02-011-1/+9
| | | | | matched much more rapidly. Many thanks to Tom Lane for dianosing this issue and providing an initial patch.
* (Backport) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-161-0/+5
| | | | manifestations in the future.
* * 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).