| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
memcpy() sequence with ckrealloc() call.
|
|
|
|
|
|
|
| |
* generic/tclEvent.c (Tcl_CreateThread): calls to Tcl_Alloc()
* generic/tclObj.c (UpdateStringOfBignum): with calls to
* unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better
* win/tclAppInit.c (setargv): supports memory debugging.
|
| |
|
|
|
|
|
|
|
| |
key names correctly, so that Unicode names exceeding 127 chars
can be retrieved without crashing. [Bug 1682211]
* tests/registry.test (registry-4.9): Added test case for the
above bug.
|
|
|
|
|
|
| |
to avoid gcc warning by using local variables. When
the macro argument is of type long long instead
of long, the incorrect warning is not generated.
|
|
|
|
| |
that `make test` does not depend on working dir.
|
| |
|
|
|
|
|
|
| |
* tests/foreach.test (foreach-10.1): of value list to be assigned
to variables so that shimmering of that list doesn't lead to invalid
pointers. [Bug 1671087]
|
|
|
|
|
|
| |
* tests/event.test (event-5.3): of the command prefix for the interp's
background error handling command to avoid panics due to pointers
to memory invalid after shimmering. [Bug 1670155]
|
|
|
|
|
|
|
| |
* tests/namespace.test (namespace-42.8): private copy of the
command prefix as we invoke the command appropriate to a particular
subcommand of a particular ensemble to avoid panic due to shimmering
of the List intrep. [Bug 1670091]
|
|
|
|
|
| |
* tests/var.test (var-17.1): the "list" argument to [array set] to
avoid crash due to shimmering invalidating pointers. [Bug 1669489].
|
| |
|
| |
|
|
|
|
| |
to use the cheaper TclListObjCopy() instead of Tcl_DuplicateObj()
|
|
|
|
|
|
|
| |
* library/platform/pkgIndex.tcl: package is present in the inspected
* unix/Makefile.in: shell. Package forget it to prevent errors. Bumped
* win/Makefile.in: package version to 1.1.3, and updated the makefiles
installing it as Tcl Module.
|
| |
|
|
|
|
|
| |
'loadTestedCommands' function of tcltest to bring in the
correct path for the registry library.
|
|
|
|
|
|
| |
the code for version-2 'zoneinfo' files.
* tests/clock.test (clock-56.3): Added a test case for Y2038 and
'zoneinfo'.
|
|
|
|
|
| |
itself does not do any direct intrep surgery. Better isolates those
things into the implementation of the "list" Tcl_ObjType.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
(restoring missing Mexican time zones). Added rudimentary handling of
version-2 'zoneinfo' files. Update US DST rules so that zones
such as 'EST5EDT' get the correct transition dates.
* tests/clock.test: Added rudimentary test cases for 'zoneinfo'
parsing. Adjusted several tests that depended on obsolete
US DST transition rules.
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Tcl.xcodeproj/project.pbxproj: ensure gcc version used by
* macosx/Tcl.xcodeproj/default.pbxuser: Xcode and configure/make are
* macosx/Tcl-Common.xcconfig: consistent and independent of
gcc_select default and CC env var; fixes for Xcode 3.0.
* unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check.
* unix/configure: autoconf-2.59
|
|
|
|
|
|
|
|
|
|
| |
private
copies of the list and indexlist arguments, so we can operate on the
list elements directly with no fear of shimmering effects. Replaces
defensive coding schemes that are otherwise required. End result is
that TclLindexList is entirely a wrapper around TclLindexFlat, which
is now the core engine of all [lindex] operations.
|
|
|
|
| |
list validity test.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* library/platform/pkgIndex.tcl: of a failure put the captured stderr
* unix/Makefile.in: into the error message to aid in debugging. Bumped
* win/Makefile.in: package version to 1.1.2, and updated the makefiles
installing it as Tcl Module.
|
| |
|
| |
|
|
|
|
|
| |
TclInvalidateStringRep() call when we directly manipulate the
intrep of an unshared "list" Tcl_Obj. [Bug 1672585].
|
|
|
|
| |
to append Tcl_Obj's instead of strings. [RFE 1669420]
|
|
|
|
| |
optimizations.
|
| |
|
|
|
|
|
|
| |
to work, immediate operands referring to aux-data must be identified as such in the instruction descriptor table using OPERAND_AUX4 (all are always 4 bytes).
Rewrote the compiled [dict update] so that it stores critical non-varying data in an aux-data value instead of a (shimmerable) literal. [Bug 1671001]
|
|
|
|
| |
and optimizations.
|
|
|
|
| |
and optimizations.
|
|
|
|
| |
spirit; avoid shimmer effects rather than react to them.
|
|
|
|
|
| |
* tests/foreach.test (foreach-1.14): useful error information when
loop variable sets fail.
|
|
|
|
|
|
| |
efficient private copy of the list argument, so we can operate on the
list elements directly with no fear of shimmering effects. Replaces
defensive coding schemes that are otherwise required.
|
|
|
|
|
| |
efficient private copies of the variable and value lists, so we can
operate on them without any special shimmer defense coding schemes.
|
| |
|
| |
|
|
|
|
|
| |
refcount release between NewRC and FreeRC for the channel handle
object, spotted by Don Porter. This fixes the bug 1667990.
|
|
|
|
|
| |
of the objv array that used to be a workaround for Bug 404865. That bug
is long fixed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
the recounting logic of the List internal rep need not be repeated
there. Better encapsulation of internal details.
* generic/tclInt.h: New internal routine TclListObjCopy() used
* generic/tclListObj.c: to efficiently do the equivalent of
[lrange $list 0 end]. After some experience with this, might be
a good candidate for exposure as a public interface. It's useful
for callers of Tcl_ListObjGetElements() who want to control the
ongoing validity of the returned objv pointer.
|
|
|
|
|
|
| |
satisfying a require for the regular package, demonstrating a
corner case specified in TIP#280. More notes in the comments to
the test.
|
| |
|
| |
|
| |
|