summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [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
* D'oh! Used an 8.5-ism...dkf2007-03-011-2/+2
|
* Fix [Bug 1671138]dkf2007-03-013-2/+30
|
* Typo, more.andreas_kupries2007-02-221-2/+2
|
* Typoandreas_kupries2007-02-221-2/+2
|
* * tests/pkg.test: Added tests for the case of an alpha packageandreas_kupries2007-02-222-1/+24
| | | | | | satisfying a require for the regular package, demonstrating a corner case specified in TIP#280. More notes in the comments to the test.
* * doc/tcltest.n: Typo fix. [Bug 1663539]dgp2007-02-202-2/+6
|
* * unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.hobbs2007-02-193-344/+359
| | | | * unix/configure: autoconf-2.13
* (Tcl_FSEvalFile): safe incr of objPtr refhobbs2007-02-191-1/+2
|
* * generic/tclEncoding.c (EscapeFromUtfProc): Applied patchandreas_kupries2007-02-123-4/+86
| | | | | | | | | supplied by Mo DeJong to fix [Bug 1516109]. Backport from Tcl 8.5. Mo's description: Clear the TCL_ENCODING_END flag when end bytes are written. This fix keep this method from writing escape bytes for an encoding like iso2022-jp multiple times when the escape byte overlap with the end of the IO buffer. * tests/io.test: Add test case for escape byte overlap case.
* * unix/configure.in: add caching to -pipe check.das2007-02-043-433/+444
| | | | * unix/configure: autoconf-2.13
* * win/Makefile.in (install-private-headers): added targethobbs2007-01-302-2/+28
|
* * doc/fcopy.n: Typo fix. [Bug 1630627]dgp2007-01-292-2/+6
|
* renamed SC_COMMANDS_PRE to SC_CONFIG_COMMANDS_PRE for parity with AC 2.5xdas2007-01-261-3/+3
|
* previous commit omitted some changes from the HEADdas2007-01-252-355/+353
|
* *** empty log message ***das2007-01-251-1/+1
|
* * unix/tcl.m4: integrate CPPFLAGS into CFLAGS as late as possibledas2007-01-254-323/+370
| | | | | | | | * unix/configure.in: and move (rather than duplicate) -isysroot flags from CFLAGS to CPPFLAGS to avoid errors about multiple -isysroot flags from some older gcc builds. * unix/configure: autoconf-2.13
* * compat/memcmp.c (memcmp): Fixed the VOID / CONST typo introducedandreas_kupries2007-01-222-2/+7
| | | | by the last checkin.
* Fix [Bug 1631017]dkf2007-01-222-4/+10
|
* * macosx/tclMacOSXNotify.c: accommodate changes to prototypes ofdas2007-01-195-362/+406
| | | | | | | | | | | | | | OSSpinLock(Un)Lock API. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861] (Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when present in CFLAGS to avoid discrepancies between what headers configure sees during preprocessing tests and compiling tests. * unix/configure: autoconf-2.13
* * unix/tclUnixThrd.c (TclpInetNtoa): fix for 64 bit.das2006-12-191-1/+1
|
* * unix/tclUnixThrd.c (TclpInetNtoa): fix for 64 bit.das2006-12-191-3/+3
|
* * unix/tclUnixThrd.c (TclpInetNtoa): fix for 64 bit.das2006-12-192-6/+4
|
* * unix/tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -archdas2006-12-193-324/+412
| | | | | flag succeeds before enabling 64bit build. * unix/configure: autoconf-2.13
* Fix example. [Bug 1615277]dkf2006-12-142-3543/+3311
|
* typodas2006-12-081-2/+2
|
* Backport to 8.4 (Don Porter's work).andreas_kupries2006-12-053-4/+20
| | | | | | | | | | | | When no requirements are supplied to a [package require $pkg] and [package unknown] is invoked to find a satisfying package, pass the requirement argument "0-" (which means all versions are acceptable). This permits a registered [package unknown] command to call [package vsatisfies $testVersion {*}$args] without any special handling of the empty $args case. This fixes/avoids a bug in [::tcl::tm::UnknownHandler] that was causing old TM versions to be provided in preference to newer TM versions. Thanks to Julian Noble for discovering the issue.
* Fix [Bug 1606454]dkf2006-12-042-642/+646
|
* * generic/tclBasic.c: TIP #280 implementation, conditional on the define ↵andreas_kupries2006-11-2818-56/+2611
| | | | | | | | | | | | | | | | | | | | | | | TCL_TIP280. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test:
* * unix/tclUnixChan.c (TclUnixWaitForFile):Kevin B Kenny2006-11-283-4/+222
| | | | | | | * tests/event.test (event-14.*): Corrected a bug where TclUnixWaitForFile would present select() with the wrong mask on an LP64 machine if a fd number exceeds 32. Thanks to Jean-Luc Fontaine for reporting and diagnosing [Bug 1602208].
* * tcl.m4 (Linux): --enable-64bit support. [Patch 1597389], [Bug 1230558]das2006-11-263-329/+382
| | | | * configure: autoconf-2.13
* * unix/tclUnixFCmd.c (CopyFile): [SF Tcl Bug 1586470]. Added codeandreas_kupries2006-11-072-1/+17
| | | | | to fall back to a hardwired default block size should the filesystem report a bogus value.
* * generic/tclBasic.c (TEOVI): fix por possible leak of a CommandMiguel Sofer2006-11-043-13/+46
| | | | | | | | | in the presence of execution traces that delete it. * generic/tclBasic.c (TEOVI): * tests/trace.test (trace-21.11): fix for [Bug 1590232], execution traces may cause a second command resolution in the wrong namespace.
* * generic/tclEnv.c (Darwin): mark _environ symbol as unexported.das2006-10-312-1/+6
|
* Fix bug #1582769 build with VC2003 and correct i386 arch.patthoyts2006-10-312-2/+9
|
* * README: Bump version number to 8.4.15dgp2006-10-2310-16/+29
| | | | | | | | | | | | * 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: