| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
generation where we can detect that we're not in the WrongNumArgs case.
The compiler just checks that the argument count is in the right range and
issues a standard dispatch; that's enough to do an efficient job.
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | | |
| \ | |
|\ \ \
| | |/ |
|
| | |
| | |
| | | |
(Backported from Tcl 8.6)
|
| | |\ |
|
| | | | |
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | | |
immediately overwritten. Thanks to Stuart Cassoff for spotting.
|
| | |
| | |
| | | |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|\ \ \
| |/ /
| | | |
cause more harm than good. Purged them (except in zlib files).
|
| |\ \
| | |/
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclBinary.c:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclExecute.c:
* generic/tclLink.c:
* generic/tclMain.c:
* generic/tclProc.c:
* generic/tclScan.c:
* generic/tclTest.c:
* generic/tclVar.c:
* mac/tclMacInit.c:
* unix/tclUnixInit.c:
* win/tclWinInit.c: Insure that the core never calls TclPtrSetVar,
Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref
new value. It is not possible to handle error returns correctly in
that case [Bug 1334947], one has the choice of leaking the object
in some cases, or else risk crashing in some others.
|
| | | |
|
| | |
| | |
| | |
| | | |
when numeric scan-value cache contains NULL value.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
when the generated string representation would grow beyond Tcl's
size limits. [Bug 2994924]
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
do that
|
| | |
| | |
| | |
| | |
| | | |
sure we never try to double zero repeatedly to get a buffer size. Also
added a check for sanity on the size of buffer being appended.
|
| | |
| | |
| | |
| | | |
3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.h (TclAppendBytesToByteArray): placing overflow
protection responsibility on caller. Convert "len" argument to signed
int which any value already vetted for overflow issues will fit into.
* generic/tclStringObj.c: Update caller; standardize panic msg.
* generic/tclBinary.c (UpdateStringOfByteArray): Add panic
when the generated string representation would grow beyond Tcl's
size limits. [Bug 2994924]
|
| | |
| | |
| | |
| | | |
against buffer overflows.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclStringObj.c (Tcl_AppendObjToObj): an append of a byte
array to another into an efficent operation. The problem was the (lack
of) a proper growth management strategy for the byte array.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* use do { ... } while (0) in macros
* avoid shadowing one local variable with another
* use clearer 'foo.bar++;' instead of '++foo.bar;' where result not
required (i.e., semantically equivalent)
* follow Engineering Manual rules on spacing and declarations
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
warning: array subscript has type 'char'
win/makefile.vc Revert to version 1.203 [Bug #2912773]
|
| | |
| | |
| | |
| | |
| | | |
warning: array subscript has type 'char'
win/makefile.vc Revert to version 1.203 [Bug #2912773]
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdIL.c:
* generic/tclCompile.c:
* generic/tclExecute.c:
* generic/tclHash.c:
* generic/tclIOUtil.c:
* generic/tclVar.c:
* generic/tclBasic.c: Silence compiler warnings about ClientData.
* generic/tclProc.c:
* generic/tclScan.c: Typo in ACCEPT_NAN configuration.
* generic/tclStrToD.c: Set floating point control register on
MIPS systems so that the gradual underflow expected by Tcl is
in effect. [Bug 2819200]
|
| | |
| | |
| | |
| | |
| | | |
- some internal const decorations
- spacing
|
| | |
| | |
| | |
| | | |
etc.)
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Applied a patch from Duoas which extends the TclMakeEnsemble command to
handle sub-ensembles from tables. Cleaned up the original patch a bit.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
const tables, so those will be
put by the C-compiler in the
TEXT segment in stead of the
DATA segment. This makes those
table sharable in shared libraries.
|
| | | |
|
| | | |
|
| | | |
|