| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* tests/pkg.test: TCL_TIP268 sections.
FossilOrigin-Name: 69225f179ab55eba6e40f459dc5f277860760dc0
|
|
|
| |
FossilOrigin-Name: 5aab07238c12d72691a31eef16dcd8d1fd47c19c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
FossilOrigin-Name: 9eb5b5b76c36ef5452df1d5d43ec78519fadb17b
|
|
|
|
|
|
| |
unlinked. [Bug 1740631] (maros)
FossilOrigin-Name: 1ae99dbfd25fe27ff3e6bcb9b983d71f89ef026e
|
|
|
|
|
|
|
|
| |
the %c format code to avoid a buffer overrun when formatting
(for example) a Friday in February in the Portuguese locale.
[Bug 1751117]
FossilOrigin-Name: 975081e0e19ceb6459b7acc83342582026551689
|
|
|
|
|
|
| |
compilers with memmove [Bug 1780870]
FossilOrigin-Name: abcd910d180774226d14905cdda213965e47db13
|
|
|
| |
FossilOrigin-Name: 6b0d11412ba0115b72591e7f20828f237eb6e7fa
|
|
|
|
|
|
| |
* unix/tclUnixPort.h: from Apple changes in Darwin tcl-64).
FossilOrigin-Name: a9a78987d9dbff3cc3746645cb04e51462fd5049
|
|
|
|
|
|
| |
might be different, be sure to use the latter for error reporting.
FossilOrigin-Name: 01fbe5d14ad428fbf8f95244d74398b30f5731b8
|
|
|
| |
FossilOrigin-Name: 409b92bba6c38622bc34dca77662a124d854257c
|
|
|
|
|
|
|
| |
object lists by reusing already free'd slots, if possible.
See discussion on Bug 1726873 for more information.
FossilOrigin-Name: 5018ee60c0634af72594ae74d2725bbb9249ab62
|
|
|
|
|
|
|
| |
* generic/tclThreadAlloc.c: the custom TclpAlloc()s is aligned to
16 byte boundaries (as is the case with the Darwin system malloc).
FossilOrigin-Name: f80bb890e9e3e930f39faf8e6386468eb6c606df
|
|
|
|
|
|
|
|
| |
* 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].
FossilOrigin-Name: a32f24e76c41ce5cac687595ad2450339b8cc8f8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
FossilOrigin-Name: f1616f051e667752e5f46da6599d86fecec64670
|
|
|
| |
FossilOrigin-Name: bb3dfd4fa32568f85e4adf3b34133ff68cc7f4f3
|
|
|
|
|
|
| |
[namespace delete ::]. [Bug 1716782]
FossilOrigin-Name: 13bfe388224dbb90372889d1e58bede56081bf65
|
|
|
|
|
|
| |
so make sure it is also always declared.
FossilOrigin-Name: cd054b4cdff8e6a6fd1928fb9711d7ff9b1d0154
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: e09d290d78d358bdb642204b2e1d794f4f93e953
|
|
|
| |
FossilOrigin-Name: 336c551ccc103380d932482ead2b120f4bcb1d13
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: c109ead7b6580bc2ed9f05a731312bd0eaa13272
|
|
|
|
|
|
|
|
| |
* generic/tclPkg.c (CheckVersion): Tcl_Alloc() with calls to
* unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better
* win/tclAppInit.c (setargv): supports memory debugging.
FossilOrigin-Name: 801b5dc41c0bffb2278f82825a7cda803f16faaf
|
|
|
|
|
|
|
| |
* tests/foreach.test (foreach-10.1): the value list each iteration
of the loop as defense against shimmers. [Bug 1671087]
FossilOrigin-Name: 336d9f35daed5947096d2cf4b6967c5bed47949b
|
|
|
|
|
|
|
|
| |
* tests/var.test (var-17.1): argument of [array set] each time
through the loop as defense against possible shimmer issues.
[Bug 1669489].
FossilOrigin-Name: d5a61fe6c13f537abdaa84d535aebd756f541110
|
|
|
| |
FossilOrigin-Name: 6b2b4fef7a90a6ed374c83a4c98c782f9cfe3f3a
|
|
|
| |
FossilOrigin-Name: 5d3f8bc4a902e8a1d5747a9fa089620248d9164b
|
|
|
| |
FossilOrigin-Name: ef06e2aa1d01c6353aabccca34e6c01446f14edb
|
|
|
| |
FossilOrigin-Name: ba27b6b0d86b8572f25e98a6aab816cf07e806fd
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: e60b64283806fa6296e1255cc7509b775fdb8f41
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: fb9873f4571dec518c943740f9646b7d62faf02e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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:
FossilOrigin-Name: a88d79cbf88f04a3f3918625a36a4df1d75704a2
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: 87f0d6eba665832f778ec088b2e60df5e3078bf9
|
|
|
| |
FossilOrigin-Name: b57dd06aba6766b6df998666984e728067ea9590
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
FossilOrigin-Name: 02f32d5d722564be41ed25f18a12460f8119aa50
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h: `make checkexports` test.
* win/tclWin32Dll.c:
* win/tclWinFile.c:
FossilOrigin-Name: 2eadc777e927c60db9faec712e1634d1a80e0c00
|
|
|
|
|
|
|
| |
argument version==NULL passed in. Backport of the fix for the
same problem in 8.5.
FossilOrigin-Name: 52ce4a8c3aef5bd7835b2c22787e7cdde919d956
|
|
|
| |
FossilOrigin-Name: 1114fb679189b0de3cc5a0850f99c22f80ba982d
|
|
|
|
|
|
|
|
| |
* generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc):
* tests/encoding.test (encoding-16.1): fix alignment issues in
unicode <> utf conversion procs. [Bug 1122671]
FossilOrigin-Name: b800442074e2773c8356ec9e18e7d1b06e54338a
|
|
|
|
|
|
|
| |
* tests/append.test(4.21-22): fix for longstanding [Bug 1570718],
lappending nothing to non-list. Reported by lvirden
FossilOrigin-Name: 6631da8060da6f46e008ef470b6e270a8ab3ca61
|
|
|
| |
FossilOrigin-Name: 9f44abdef2653c931590c41f7d6f20c7c903f7b5
|
|
|
|
|
|
| |
separators by [glob]. [Bug 1569042]
FossilOrigin-Name: dfeb6ada5a2865594e1da93cd1ae427e49860287
|
|
|
|
|
|
|
| |
* generic/tclUtil.c (Tcl_SplitList): optimisation, [Patch 1344747]
by dgp.
FossilOrigin-Name: 3151fcb2e1bebd488c3fa299e9d532bcaca703ab
|
|
|
|
|
|
|
|
|
|
| |
* win/nmakehlp.c: MSVC8 and AMD64 target. Backport from 8.5
* win/rules.vc:
* generic/tcl.h: Fixed stat definition for MSVC8 AMD64.
* win/tclWinSock.c: Casting type police.
* win/tclWinTime.c:
FossilOrigin-Name: 962a33862b39e8b8cb638dccffd3e0a9230b0f15
|
|
|
|
|
|
|
|
| |
demonstrates, "#define NULL 0" is just wrong, and as a quotable chat
figure observed, "If NULL isn't defined, we're not using a C compiler."
Improper fallback definition of NULL removed.
FossilOrigin-Name: 62873cf9a9bf4c79478faa112232ea4ec2af4742
|
|
|
|
|
|
|
| |
aka coverity #51. Extended loop condition, added checking for
NULL to prevent seg.fault.
FossilOrigin-Name: 82a33de1626129ff601526bb0655cad8fd75ad46
|
|
|
|
|
|
|
|
| |
registered core version when TIP#268 features are
activated. Better compatibility with existing packages.
Like Tk.
FossilOrigin-Name: 034d4274109d393882be49929c350df2a68ee582
|
|
|
|
|
|
|
|
|
| |
start==NULL and numBytes<0. This is coverity's bug #20
* generic/tclStringObj.c (STRING_SIZE): fix allocation for
0-length strings. This is coverity's bugs #54-5
FossilOrigin-Name: cbbabd2395ec80a8faa1b00c284951f29da82e61
|
|
|
|
|
|
| |
end of the structure, for better backward compatibility.
FossilOrigin-Name: ce1746af4588eeea87c18087473b7ab27a3ce905
|
|
|
|
|
|
|
|
| |
return information from 'Tcl_PkgRequireProc'. Keep the
interpreter result empty. Backport of fix for problem found
while testing #268 under 8.5. More details in the comments.
FossilOrigin-Name: 1f5d22e0081b37097d63a8a10d6e5f8e5982eb0f
|
|
|
| |
FossilOrigin-Name: 1f72f1dc049e51205cf3f66fd1765a8fe80025c2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBasic.c: Define TCL_TIP268 to activate the new
* generic/tclDecls.h: features.
* generic/tclInt.h:
* generic/tclPkg.c:
* generic/tclStubInit.c:
* generic/tclTest.c:
* library/init.tcl
* library/package.tcl:
* tests/pkg.test:
* tests/platform.test:
* tests/safe.test:
* doc/PkgRequire.3:
FossilOrigin-Name: 78a272c42aaf7c6c9472f55bef7a82605b1cc2c6
|