| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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].
|
|
|
|
|
| |
* unix/Makefile.in:
* win/Makefile.in:
|
|
|
|
|
| |
* library/http/pkgIndex.tcl: to " " -> "%20" as per RFC 3986.
* tests/http.test (http-5.1): bump http to 2.5.3
|
|
|
|
|
|
| |
HP-UX 11.00 and beyond as having mt-safe implementations of the
gethost functions.
* unix/configure: Regenerated, using autoconf 2.59
|
|
|
|
|
| |
the increment needed to align the pointer, and added
documentation explaining why the macro is implemented as it is.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
it will actually be used; #ifdef parts of TSD that are not always
needed; adjust #ifdefs to cover all possible cases; fix whitespace.
|
|
|
|
| |
* doc/msgcat.n:
|
| |
|
| |
|
|
|
|
| |
* tests/expr.test: $x**1 as $x**3. [Bug 1555371]
|
|
|
|
|
|
|
|
|
| |
* library/tcltest/pkgIndex.tcl: for new "-verbose line" feature.
* library/tcltest/tcltest.tcl:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.bc:
* win/makefile.vc:
|
|
|
|
| |
* library/msgcat/pkgIndex.tcl: for modifications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/msgcat.test: default msgcat locale to
* unix/tclUnixInit.c (TclpSetVariables): current CFLocale identifier
if available (via private ::tcl::mac::locale global, set at interp init
when on Mac OS X 10.3 or later with CoreFoundation).
* library/tcltest/tcltest.tcl: add 'line' verbose level: prints source
* doc/tcltest.n: file line information of failing tests.
* macosx/Tcl.xcodeproj/project.pbxproj: add new tclUnixCompat.c file;
revise tests target to use new tcltest 'line' verbose level.
* unix/configure.in: add descriptions to new AC_DEFINEs for MT-safe.
* unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers.
* unix/configure: autoconf-2.59
* unix/tclConfig.h.in: autoheader-2.59
|
|
|
|
| |
MT-safe per-se.
|
|
|
|
| |
and CopyHostent. Also fixed bad var names in TclpGetHostByName.
|