| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
signed by default.
|
| |
|
|
|
|
|
|
| |
TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped
spaces were handled incorrectly.
* tests/util.test: Added new tests util-8.[2-6].
|
| |
|
|
|
|
| |
must be constant' with the driveSpec array with OpenWatcom.
|
| |
|
|
|
|
|
| |
this difference is already adjusted for in tclWinPort.h. Removed
unreferenced posixEpoch file-scope global.
|
|
|
|
| |
typedef ssue as MinGW and cygwin.
|
|
|
|
|
| |
did for MinGW lack of missing LPFN_* typedefs in their WINE derived
winsock2.h
|
| |
|
| |
|
| |
|
|
|
|
|
| |
is the correct one to use across the Tcl sources. Even though we do
force it in tcl.h, the true parent one is __WIN32__.
|
| |
|
|
|
|
|
|
| |
couldn't take variables within it under the watcom compiler.
I believe Borland has this strictness as well. VC++ must be
non-standard about this.
|
|
|
|
| |
bugs discussed in [Bug 411825].
|
| |
|
|
|
|
| |
follow soon.
|
| |
|
|
|
|
| |
has a bug in its preprocessor and can't build Tcl even with this minor patch.
|
| |
|
| |
|
|
|
|
| |
functions between stubs tables by just copying them about.
|
| |
|
| |
|
|
|
|
| |
Also, fixed the Bug #788780.
|
| |
|
|
|
|
| |
created in the previous code cleanup.
|
| |
|
|
|
|
|
| |
* win/tcl.m4 (SC_ENABLE_SYMBOLS): Use test instead
of -eq, which does not work. [Bug 781109]
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* library/msgcat/pkgIndex.tcl: platforms do not try to use the
registry package. This can save a costly and pointless package
search. Bumped to 1.3.1. Thanks to "imdave1". [Bug 781609].
|
|
|
|
|
|
|
|
| |
added a Tcl_ResetResult(interp) at each point where the interp's
result is pushed onto the stack, to avoid keeping an extra
reference that may cause costly Tcl_Obj duplication [Bug 781585]
Detected by Franco Violi, analyzed by Peter Spjuth and Donal
Fellows.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
since it made the sizeof(Tcl_Obj) different for
regular vs mem debug builds.
* generic/tclInt.h: Define TclDecrRefCount in terms
of Tcl_DbDecrRefCount which removes one layer of
inderection.
* generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount,
Tcl_DbDecrRefCount, Tcl_DbIsShared):
Define ThreadSpecificData that contains a hashtable.
The table is used to ensure that a Tcl_Obj is only
acted upon in the thread that allocated it. This
checking code is enabled only when mem debug and
threads are enabled.
|
|
|
|
|
|
|
|
|
|
| |
* tests/basic.test: Bug 489537, Tcl's longstanding failure to
* tests/dict.test: properly quote any leading '#' character
* tests/dstring.test: when generating the string rep of a list
* tests/list.test: so that the comment-power of that character
* tests/parse.test: is hidden from any [eval], in order to
* tests/util.test: satisfy the documentation that [list] does
[eval]-safe quoting.
|
|
|
|
| |
* tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
|
| |
|
|
|
|
| |
* library/reg/pkgIndex.tcl:
|
|
|
|
| |
targets for compatibility with non-gnu makes.
|
| |
|
|
|
|
| |
registry set command to fail when built with VC7.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the ref count of a Tcl_Obj is the thread that
originally allocated the thread. This fail fast
behavior will catch programming errors that
allow a single Tcl_Obj to be accessed from multiple
threads.
* generic/tcl.h (Tcl_Obj): Add allocThread member
to Tcl_Obj. This member records the thread id the
Tcl_Obj was allocated. It is used to check that
any future ref count incr or decr is done from
the same thread that allocated the Tcl_Obj.
This member is defined only when threads and
mem debug are enabled.
* generic/tclInt.h (TclNewObj, TclDbNewObj,
TclDecrRefCount):
Define TclNewObj and TclDbNewObj using TclDbInitNewObj
when mem debug is enabled. This fixes a problem where
TclNewObj calls did not work the same as TclDbNewObj
when mem debug was enabled.
* generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount,
Tcl_DbDecrRefCount): Add new helper to init Tcl_Obj
members when mem debug is enabled. Init the allocThread
member in TclDbInitNewObj and check it in
Tcl_DbIncrRefCount and Tcl_DbDecrRefCount to make sure
a Tcl_Obj allocated in one thread is not being acted
upon in another thread.
|
| |
|