| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
3986 validity checking if $::http::strict is true (default true
for 8.5). [Bug 1560506]
|
| |
|
|
|
|
| |
allowing '_' in module names.
|
|
|
|
|
|
| |
* generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc):
* tests/encoding.test (encoding-16.1): fix alignment issues in
unicode <> utf conversion procs. [Bug 1122671]
|
|
|
|
|
| |
* tests/append.test(4.21-22): fix for longstanding [Bug 1570718],
lappending nothing to non-list. Reported by lvirden
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the elements of objv, [Bug #730244].
|
| |
|
| |
|
|
|
|
| |
by dgp.
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* generic/tclIntDecls.h:
* generic/tclObj.c:
* generic/tclStubInit.c: added an internal function
TclObjBeingDeleted to provide info as to the reason for the loss
of an internal rep. [FR 1512138]
|
|
|
|
|
|
|
|
|
| |
* generic/tclHistory.c:
* generic/tclInt.h:
* generic/tclProc.c: made Tcl_RecordAndEvalObj not call "history"
if it has been redefined to an empty proc, in order to reduce the
noise when debugging [FR 1190441]. Moved TclCompileNoOp from
tclProc.c to tclCompile.c
|
|
|
|
|
|
|
| |
* tests/pkg.test: before comparison. The shorter string is the
smaller number. Added testcases as well. Interestingly all
existing test cases for vcompare compared numbers of the same
length with each other. See [SF Tcl Bug 1563836].
|
|
|
|
|
|
|
|
| |
* tests/expr.test: calculation done to determine whether a
shift in the (long int) type is possible. The calculation had
literal value "1" where it needed a value "1L" to compute the
correct result. Error detected via testing with the
math::bigfloat package [Bug 1567222]
|
|
|
|
| |
possible NULL derefs, [Bug 1566382] and coverity #33.
|
|
|
|
| |
{-1, 0, 1} to match expectations of CompareVersion() callers.
|
|
|
|
|
|
| |
* generic/regc_nfa.c (freearc): changed tests and asserts to
equivalent formulation, designed to avoid an explicit comparison
to NULL and satisfy coverity that 6 and 9 are not bugs.
|
|
|
|
| |
elements) code.
|
|
|
|
|
|
|
|
| |
* generic/regcomp.c (compile): the static function addmcce does
nothing when called with two NULL pointers; the only call is by
compile with two NULL pointers (regcomp.c #includes
regc_cvec.c). The whole thing is now ifdef'ed out with the macro
REGEXP_ADDMCCE_UNUSED. This also silences coverity's #7.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
boundary. [SF Tcl Bug 1563836].
* generic/tclPkg.c: [SF Tcl Bug 1563836]. Rewrote CompareVersion
to perform string comparison instead of numeric. This breaks
through the 32bit limit on version numbers. See code for details
(handling of leading zeros, signs, etc.). un-CONSTed some
arguments of CompareVersions, RequirementSatisfied, and
AllRequirementsSatisfied. The new compare modifies the string
(temporary string terminators). All callers use heap-allocated
ver-intreps, so we are good with that.
|
|
|
|
|
| |
TCL_GLOBMODE_TAILS and pathPrefix==NULL. This would cause a
segfault, as found by coverity #26.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
required.
Tcl_Time structure members are longs. Support for varying compiler options
and build to platform-specific subdirs.
|
|
|
|
|
| |
aka coverity #51. Extended loop condition, added checking for
NULL to prevent seg.fault.
|
| |
|
|
|
|
| |
TIP#268 changes.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
0-length strings. This is coverity's bugs #54-5
|
|
|
|
| |
start==NULL and numBytes<0. This is coverity's bug #20
|
|
|
|
| |
end of the structure, for better backward compatibility.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclDecls.h: Regenerated from tcl.decls.
* generic/tclStubInit.c:
* doc/PkgRequire.3: Documentation of extended API,
* doc/package.n: extended testsuite.
* tests/pkg.test:
* generic/tcl.decls: Implementation.
* generic/tclBasic.c:
* generic/tclConfig.c:
* generic/tclInt.h:
* generic/tclPkg.c:
* generic/tclTest.c:
* generic/tclTomMathInterface.c:
* library/init.tcl:
* library/package.tcl:
* library/tm.tcl:
|
| |
|
|
|
|
| |
TclParseNumber covers the task just fine.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* tests/expr.test: was completely broken. Falling back on use of
bignums for all non-trivial ** calculations until
native-type-constrained special cases can be done carefully and
correctly. [Bug 1561260].
|