summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclInt.h: fix warning when building threaded with -DPURIFY.das2007-05-091-1/+2
|
* [Tcl Bug 1706140]dgp2007-05-076-63/+69
| | | | | | | | | | | | | | | | | * generic/tclLink.c (LinkTraceProc): Update Tcl_VarTraceProcs so that * generic/tclNamesp.c (Error*Read): they call Tcl_InterpDeleted() * generic/tclTrace.c (Trace*Proc): for themselves, and do not rely * generic/tclUtil.c (TclPrecTraceProc): on (frequently buggy) setting of the TCL_INTERP_DESTROYED flag by the trace core. * generic/tclVar.c: Update callers of TclCallVarTraces to not pass in the TCL_INTERP_DESTROYED flag. Also apply filters so that public routines only pass documented flag values down to lower level routines. * generic/tclTrace.c (TclCallVarTraces): The setting of the TCL_INTERP_DESTROYED flag is now done entirely within the TclCallVarTraces routine, the only place it can be done right.
* regendkf2007-05-052-2/+26
|
* Changes to allow the tip257 code to work as an extension properly post-tip280dkf2007-05-055-112/+174
|
* More type-pun warning squelchesdkf2007-05-054-273/+283
|
* Record the dll base addresses for some additional extensionspatthoyts2007-05-041-1/+5
|
* Comment and open file as textpatthoyts2007-05-041-3/+14
|
* * tests/encoding.test: Modified so that encoding tests happenKevin B Kenny2007-05-044-18/+55
| | | | | | | | | in a private namespace, to avoid polluting the global one. This problem was discovered when running the test suite '-singleproc 1 -skip exec.test' because the 'path' variable in encoding.test conflicted with the one in io.test. * tests/io.test: Made more of the working variables private to the namespace.
* Changelog clarificationMiguel Sofer2007-05-031-1/+2
|
* * generic/tclPathObj.c (Tcl_FSJoinPath, Tcl_FSGetNormalizedPath):Kevin B Kenny2007-05-022-3/+14
| | | | | | Corrected several memory leaks that caused refcount imbalances resulting in memory leaks on Windows. Thanks to Joe Mistachkin for the patch.
* Convert to using ANSI function definitions.dkf2007-05-027-1066/+1058
|
* * generic/tclTest.c (SimpleMatchInDirectory): Corrected a refcountKevin B Kenny2007-05-022-2/+7
| | | | | imbalance that affected the filesystem-[147]* tests in the test suite. Thanks to Don Porter for the patch. [Bug 1710707]
* * tests/utf.test (utf-25.1--utf-25.4): Modified tests toKevin B Kenny2007-05-022-33/+70
| | | | | clean up after the 'testobj' extension to avoid spurious reports of memory leaks.
* * generic/tclVar.c (TclPtrSetVar): fixed leak whenever newvaluePtrMiguel Sofer2007-05-022-2/+13
| | | | | had refCount 0 and was used for appending (but not lappending). [Bug 1710710], thanks to mistachkin and kbk.
* * generic/tclIO.c (DeleteChannelTable): Made changes so thatKevin B Kenny2007-05-013-76/+91
| | | | | | | DeleteChannelTable tries to close all open channels, not just the first. [Bug 1710285] * generic/tclThread.c (TclFinalizeSynchronization): Make sure that TSD blocks get freed on non-threaded builds. [Bug 1710825]
* * generic/tclCmdMZ.c (STR_MAP): When [string map] has a pure dictdgp2007-05-012-2/+8
| | | | map, a missing Tcl_DictObjDone() call led to a memleak. [Bug 1710709]
* * unix/Makefile.in: add 'tclsh' dependency to install targets that relydas2007-04-302-6/+11
| | | | on tclsh, fixes parallel 'make install' from empty build dir.
* * generic/tclIO.c (FixLevelCode): Corrected reference countandreas_kupries2007-04-302-13/+26
| | | | | | mismanagement of newlevel, newcode. Changed to allocate the Tcl_Obj's as late as possible, and only when actually needed. [Bug 1705778, leak K29].
* * generic/tclProc.c (Tcl_ProcObjCmd, SetLambdaFromAny): CorrectedKevin B Kenny2007-04-302-74/+88
| | | | | reference count mismanagement on the name of the source file in the TIP 280 code. [Bug 1705778, leak K02 among other manifestations]
* move 8.5a6 tag pointcore_8_5_a6hobbs2007-04-261-2/+2
|
* Fix [Bug 1705778, leak K15]dkf2007-04-252-239/+280
|
* * generic/tclIOUtil.c (Tcl_FSChdir): Changed the memory managementKevin B Kenny2007-04-252-3/+13
| | | | | | to that the path returned from Tcl_FSGetNativePath is not duplicated before being stored as the current directory, to avoid a memory leak. [Bug 1705778, leak K01 among other manifestations]
* * generic/tclCompExpr.c (ParseExpr): Revised to be sure thatdgp2007-04-252-3/+24
| | | | | | an error return doesn't prevent all literals getting placed on the litList to be returned to the caller for freeing. Corrects some memleaks. [Bug 1705778, leak K23]
* * unix/Makefile.in (dist): copy license.terms to dist macosx dir; fix ↵das2007-04-252-18/+21
| | | | autoheader bits.
* * unix/Makefile.in (dist): add macosx/*.xcconfig files to src dist.das2007-04-252-2/+7
|
* * generic/tclListObj.c: reverting [Patch 738900] (committed onMiguel Sofer2007-04-242-106/+63
| | | | | | 2007-04-20). Causes some Tk test breakage of unknown importance, but the impact of the patch itself is likely to be so small that it does not warrant investigation at this time.
* * generic/tclListObj.c (TclLsetFlat): Fixed a bug where the newKevin B Kenny2007-04-242-2/+11
| | | | | list under construction was leaked in the error case.[Bug 1705778, leaks K13 and K14]
* Fix [Bug 1705778, leak K05]dkf2007-04-242-1/+9
|
* Fix [Bug 1705778, leak K04]dkf2007-04-242-99/+101
|
* * generic/tclNamesp.c (Tcl_DeleteNamespace): Corrected flaw in thedgp2007-04-242-1/+12
| | | | | flag marking scheme to be sure that global namespaces are freed when their interp is deleted. [Bug 1705778].
* * generic/tclBinary.c: Addressed several code paths where theKevin B Kenny2007-04-242-1/+12
| | | | | error return from the 'binary format' command leaked the result buffer.
* * unix/Makefile.in (dist): add platform library package to src disthobbs2007-04-242-11/+13
|
* corrected botched indentsdgp2007-04-241-38/+38
|
* * generic/tclCompExpr.c (ParseExpr): Memory leak in error case; thedgp2007-04-242-1/+7
| | | | literal Tcl_Obj was not getting freed. [Bug 1705778, leak #1 (new)]
* revised phrasing a bit for claritydgp2007-04-241-2/+3
|
* typodgp2007-04-241-1/+1
|
* * generic/tclExecute.c (TclExecuteByteCode): Plugged six memoryKevin B Kenny2007-04-242-1/+10
| | | | leaks in bignum arithmetic.
* fix typo in ChangeLog messageKevin B Kenny2007-04-241-1/+1
|
* * generic/tclIOCmd.c (Tcl_ReadObjCmd): Plugged a leak of theKevin B Kenny2007-04-243-3/+15
| | | | | | | | buffer object if the physocal read returned an error and the bypass area had no message. * generic/tclIORChan.c (TclChanCreateObjCmd): Plugged a leak of the return value from the "initialize" method of a channel handler.
* Plugged two memory leaksKevin B Kenny2007-04-232-3/+5
|
* typodas2007-04-231-1/+0
|
* * macosx/Tcl-Common.xcconfig: enable more warnings.das2007-04-2312-43/+140
| | | | | | | | | | | | | | | | | | | | | | | * macosx/Tcl.xcodeproj/project.pbxproj: add 'DebugMemCompile' build configuration that calls configure with --enable-symbols=all; override configure check for __attribute__((__visibility__("hidden"))) in Debug configuration to restore availability of ZeroLink. * macosx/tclMacOSXNotify.c: fix warnings. * macosx/tclMacOSXFCmd.c: const fixes. * macosx/Tcl-Common.xcconfig: fix whitespace. * macosx/Tcl-Debug.xcconfig: * macosx/Tcl-Release.xcconfig: * macosx/README: * macosx/GNUmakefile: fix/add copyright and license refs. * macosx/tclMacOSXBundle.c: * macosx/Tcl-Info.plist.in: * macosx/Wish-Info.plist.in: * macosx/Tcl.xcode/project.pbxproj: * macosx/Tcl.xcodeproj/project.pbxproj:
* * unix/configure.in: install license.terms into Tcl.framework.das2007-04-232-1/+3
| | | | * unix/configure: autoconf-2.59
* * unix/tclLoadDyld.c (TclpLoadMemory): fix (void*) arithmetic.das2007-04-231-4/+4
|
* * unix/tclUnixFCmd.c: add workaround for crashing bug in fts_open()das2007-04-233-21/+40
| | | | * unix/tclUnixInit.c: without FTS_NOSTAT on 64bit Darwin 8 or earlier.
* * generic/tclCkalloc.c: fix warnings from gcc build configured withdas2007-04-233-31/+29
| | | | | * generic/tclCompile.c: --enable-64bit --enable-symbols=all. * generic/tclExecute.c:
* * generic/tclVar.c (UnsetVarStruct): Make sure thedgp2007-04-232-2/+8
| | | | | TCL_INTERP_DESTROYED flags gets passed to unset trace routines so they can respond appropriately. [Bug 1705778, leak #9]
* * generic/tclCompCmds.c (TclCompileUpvarCmd): Plugged a memoryKevin B Kenny2007-04-233-5/+16
| | | | | | | | leak in 'upvar' when compiling (a) upvar outside a proc, (b) upvar with a syntax error, or (c) upvar where the frame index is not known at compile time. * generic/tclParseExpr.c (ParseExpr): Plugged a memory leak when parsing expressions that contain syntax errors.
* * generic/tclCompile.c (TclFreeCompileEnv): Tip 280's new fieldMiguel Sofer2007-04-232-1/+10
| | | | extCmdMapPtr was not being freed [Bug 1705778, leak #1].
* * generic/tclTest.c (Testregexpobjcmd): Removed an invalid accessKevin B Kenny2007-04-232-3/+5
| | | | beyond the end of 'objv' in 'testregexp -about'.