summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclDTrace.d (new file): add DTrace provider for Tcl; allowsdas2007-09-1312-486/+1075
| | | | | | | | | | | | | | | * generic/tclCompile.h: tracing of proc and command entry & * generic/tclBasic.c: return, bytecode execution, object * generic/tclExecute.c: allocation and more; with essentially * generic/tclInt.h: zero cost when tracing is inactive; * generic/tclObj.c: enable with --enable-dtrace configure * generic/tclProc.c: arg (disabled by default, will only * unix/Makefile.in: enable if DTrace is present). * unix/configure.in: [Patch 1793984] * macosx/Makefile: enable DTrace support. * unix/configure: autoconf-2.13
* * library/tcltest/tcltest.tcl: Accept underscores and colons indgp2007-09-113-5/+12
| | | | | | * library/tcltest/pkgIndex.tcl: constraint names. Properly handle constraint expressions that return non-numeric boolean results like "false". Bump to tcltest 2.2.9. [Bug 1772989; RFE 1071322]
* Fix for AMD64 target symbols builds.patthoyts2007-09-113-13/+23
|
* * generic/tclLink.c (Tcl_UpdateLinkedVar): guard against var beinghobbs2007-09-102-2/+14
| | | | unlinked. [Bug 1740631] (maros)
* Fixed obvious stupid error. [Bug 1786647]dkf2007-09-061-1/+1
|
* fix building on Pantherdas2007-09-051-1/+2
|
* * generic/tclClock.c (FormatClock): Claimed additional space forKevin B Kenny2007-08-252-1/+11
| | | | | | the %c format code to avoid a buffer overrun when formatting (for example) a Friday in February in the Portuguese locale. [Bug 1751117]
* * generic/tclCompile.c: replaced copy loop that tripped someMiguel Sofer2007-08-242-5/+10
| | | | compilers with memmove [Bug 1780870]
* ensure WORDS_BIGENDIAN redefinition is consistent with autoconf definitiondas2007-08-231-2/+2
|
* * tests/trace.test: Backport some tests.dgp2007-08-142-1/+31
|
* * unix/tclLoadDyld.c: use dlfcn API on Mac OS X 10.4 and later; fixdas2007-08-143-178/+389
| | | | | | issues with loading from memory on intel and 64bit; add debug messages. * tests/load.test: add test load-10.1 for loading from vfs.
* fix missing preprocessor \ line continuationdas2007-08-111-2/+2
|
* * unix/Makefile.in: add support for compile flags specific todas2007-08-074-29/+49
| | | | | | | | | | object files linked directly into executables. * unix/configure.in (Darwin): only use -seg1addr flag when prebinding; use -mdynamic-no-pic flag for object files linked directly into exes; support overriding TCL_PACKAGE_PATH in environment. * unix/configure: autoconf-2.13
* * generic/tclEnv.c: improve environ handling on Mac OS X (adapteddas2007-08-072-27/+11
| | | | * unix/tclUnixPort.h: from Apple changes in Darwin tcl-64).
* * generic/tclParse.c: In contexts where interp and parsePtr->interpdgp2007-07-192-8/+13
| | | | might be different, be sure to use the latter for error reporting.
* * library/init.tcl (unknown): Corrected inconsistent error messagedgp2007-07-052-12/+16
| | | | in interactive [unknown] when empty command is invoked. [Bug 1743676]
* De-fang an instance of the shared-result anti-pattern. [Bug 1716704]dkf2007-06-302-1/+10
|
* Prevent RemeberSyncObj() from growing the syncvasiljevic2007-06-302-3/+20
| | | | | object lists by reusing already free'd slots, if possible. See discussion on Bug 1726873 for more information.
* * generic/tclAlloc.c: on Darwin, ensure memory allocated bydas2007-06-293-50/+71
| | | | | * generic/tclThreadAlloc.c: the custom TclpAlloc()s is aligned to 16 byte boundaries (as is the case with the Darwin system malloc).
* formattingdgp2007-06-271-2/+2
|
* * generic/tclCmdMZ.c: Corrected broken trace reversal logic indgp2007-06-274-8/+34
| | | | | | * generic/tclTest.c: TclCheckInterpTraces that led to infinite loop * tests/basic.test: when multiple Tcl_CreateTrace traces were set and one of them did not fire due to level restrictions. [Bug 1743931].
* * macosx/tclMacOSXNotify.c (AtForkChild): don't call CoreFoundationdas2007-06-232-6/+30
| | | | APIs after fork() on systems where that would lead to an abort().
* * README: updated links. [Bug 1715081]hobbs2007-06-102-27/+19
|
* * unix/configure.in (Darwin): add plist for tclsh; link thedas2007-06-066-356/+401
| | | | | | | | * unix/Makefile.in (Darwin): Tcl and tclsh plists into their * macosx/Tclsh-Info.plist.in (new): binaries in all cases. * unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds. * unix/configure: autoconf-2.13
* * tests/result.test (result-6.2): Add test for Bug 1649062 sodgp2007-06-052-0/+21
| | | | that 8.4 and 8.5 both test the same outcome and we verify compatibility.
* * README: Bump version number to 8.4.16dgp2007-05-3010-34/+85
| | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure:
* * unix/tclUnixThrd.c (Tcl_JoinThread): fix for 64-bit handling ofhobbs2007-05-292-1/+10
| | | | pthread_join exit return code storage. [Bug 1712723]
* typocore_8_4_15dgp2007-05-241-1/+0
|
* * generic/tclIO.c: Backport memleak fix in TclFinalizeIOSubsystem.dgp2007-05-242-75/+85
|
* * tests/fCmd.test: Backport the notNetworkFilesystem constraint.dgp2007-05-172-7/+10
|
* sync with HEAD tcl/changesdas2007-05-161-2/+4
|
* Mark tag for 8.4.15 (RC1) releasedgp2007-05-161-0/+4
|
* * generic/tclNamesp.c: Plugged memory leak related todgp2007-05-152-2/+11
| | | | [namespace delete ::]. [Bug 1716782]
* * changes: updates for 8.4.15 release.dgp2007-05-154-5/+39
| | | | | * win/tclWinReg.c: Bump to registry 1.1.5 to account * library/reg/pkgIndex.tcl: for [1682211] bug fix.
* * generic/tclInt.h: TclFinalizeThreadAlloc() is always defined,dgp2007-05-102-2/+5
| | | | so make sure it is also always declared.
* [Tcl Bug 1706140]dgp2007-05-105-53/+54
| | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c (Trace*Proc): Update Tcl_VarTraceProcs so * generic/tclLink.c (LinkTraceProc): that they call * generic/tclUtil.c (TclPrecTraceProc): Tcl_InterpDeleted() for themselves, and do not rely on (frequently buggy) setting of the TCL_INTERP_DESTROYED flag by the trace core. * generic/tclVar.c: Update callers of CallVarTraces 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/tclVar.c (CallVarTraces): The setting of the TCL_INTERP_DESTROYED flag is now done entirely within the CallVarTraces routine, the only place it can be done right.
* * unix/Makefile.in: add 'tclsh' dependency to install targets that relydas2007-04-302-4/+9
| | | | on tclsh, fixes parallel 'make install' from empty build dir.
* * macosx/tclMacOSXNotify.c: fix warnings.das2007-04-296-134/+186
| | | | | | | | | | * macosx/README: sync whitespace/formatting with HEAD. * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * macosx/Makefile: fix/add copyright and license refs. * macosx/tclMacOSXBundle.c: * macosx/Tcl-Info.plist.in:
* * unix/Makefile.in (dist): copy license.terms to dist macosx dir.das2007-04-293-12/+15
| | | | | * unix/configure.in: install license.terms into Tcl.framework. * unix/configure: autoconf-2.13
* * unix/tclLoadDyld.c (TclpLoadMemory): fix (void*) arithmetic.das2007-04-291-42/+48
|
* * unix/tclUnixFCmd.c: add workaround for crashing bug in fts_open()das2007-04-292-18/+34
| | | | * unix/tclUnixInit.c: without FTS_NOSTAT on 64bit Darwin 8 or earlier.
* Restored Cygwin buildability [Bug 1387154]Kevin B Kenny2007-04-213-6/+15
|
* * generic/tclInt.decls: Yet another round of attemptingKevin B Kenny2007-04-218-27/+38
| | | | | | | | | * generic/tclInt.h: to get the correct type signature * unix/tclUnixPort.h: for TclpLocaltime and TclpGmtime. * unix/tclUnixTime.c: CONST TclpTime_t is a 'time_t *CONST' * win/tclWinTime.c: and not a 'CONST time_t*'! * generic/tclIntDecls.h: [Bug 1677275] * generic/tclIntPlatDecls.h: Regenerated.
* Thread exit handler marks the current thread as un-initialized.vasiljevic2007-03-242-12/+15
| | | | | | This allows exit handlers that are registered later to re-initialize this subsystem in case they need to use some sync primitives (cond variables) from this file again.
* * generic/tclEvent.c (Tcl_CreateThread): Replaced some calls todgp2007-03-195-11/+18
| | | | | | * generic/tclPkg.c (CheckVersion): Tcl_Alloc() with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging.
* * win/tclWinReg.c (GetKeyNames): Size the buffer for enumeratingKevin B Kenny2007-03-173-24/+95
| | | | | | | key names correctly, so that Unicode names exceeding 127 chars can be retrieved without crashing. [Bug 1682211] * tests/registry.test (registry-4.9): Added test case for the above bug.
* * generic/tclExecute.c (INST_FOREACH_STEP4): Re-fetch pointers fordgp2007-03-133-7/+30
| | | | | * tests/foreach.test (foreach-10.1): the value list each iteration of the loop as defense against shimmers. [Bug 1671087]
* * generic/tclVar.c (TclArraySet): Re-fetch pointers for the listdgp2007-03-133-2/+29
| | | | | | * tests/var.test (var-17.1): argument of [array set] each time through the loop as defense against possible shimmer issues. [Bug 1669489].
* Fix [Bug 1675116] in a way suitable for 8.4.dkf2007-03-103-2/+25
|
* * macosx/tclMacOSXNotify.c: add spinlock debugging and sanity checks.das2007-03-074-13/+39
| | | | | * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.13