| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
global variables ::errorInfo, ::errorCode, ::env and
::tcl_platform: many were relying on the alternative lookup in the
global namespace, that feature is tested specifically in namespace
and variable tests.
The modified testfiles are: apply.test, basic.test, case.test,
cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test,
event.test, expr.test, fileSystem.test, for.test, http.test,
if.test, incr-old.test, incr.test, interp.test, io.test,
ioCmd.test, load.test, misc.test, namespace.test, parse.test,
parseOld.test, pkg.test, proc-old.test, set.test, switch.test,
tcltest.test, thread.test, var.test, while-old.test, while.test.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|