| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* doc/trace.n: Clarified information about when array traces will
be fired.
* generic/tclVar.c (Tcl_ArrayObjCmd): Corrected call to CallTraces
(for TCL_TRACE_ARRAY) to only be called when the variable is
either an array or is undefined, to ensure that array traces do
not fire for scalar variables.
|
| |
|
|
|
|
| |
from Peter Spjuth.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
syntax as deprecated; added documentation for command
rename/delete traces and variable array traces.
* tests/trace.test: Updated tests for new trace syntax; new tests
for command rename/delete traces; new tests for array traces.
* generic/tclVar.c: Support for new trace syntax; support for
TCL_TRACE_ARRAY.
* generic/tclStubInit.c:
* generic/tclDecls.h:
* generic/tcl.decls: Stub functions for command rename/delete traces.
* generic/tcl.h:
* generic/tclInt.h:
* generic/tclBasic.c: Support for command traces.
* generic/tclCmdMZ.c (TclTraceVariableObjCmd): Patched to support
new [trace] syntax:
trace {add|remove|list} {variable|command} name ops command
Added support for command traces (rename, delete operations).
Added support for TCL_TRACE_ARRAY at Tcl level (array operation
for variable traces).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclPlatDecls.h: without a previous '#include <windows.h>',
tclPlatDecls.h can't be parsed due to a missing definition of TCHAR.
Added a check to include it when not defined.
***POSSIBLE OBSCURE BUG*** could be caused when the compile flags
for the core happen to be different than a project who uses these
publics regarding -D_MBCS and -D_UNICODE. This added check might
have to be revisited later with a better understanding of the
reprocusions. I think TCHAR should be replaced with it's expansion.
|
| |
|
| |
|
| |
|
|
|
|
| |
clients.
|
| |
|
| |
|
|
|
|
|
| |
tcltest::restoreState to 2, for consistancy with the debug level
in tcltest::saveState [Bug: 4505].
|
|
|
|
|
|
|
|
|
|
| |
* win/Makefile.in:
* unix/Makefile.in: Added tclPlatDecls.h to the list of installed
headers, for more complete stubs support. [Bug: 5241].
* generic/tcl.h: Added #include "tclPlatDecls.h" to get
platform-specific stubs declarations (Tcl_WinTCharToUtf, etc)
[Bug: 5241].
|
| |
|
|
|
|
|
| |
variable from "unsigned int" to "int", to match usage when passed
to TclpFindVariable [Bug: 6126].
|
|
|
|
|
|
|
|
| |
[Bug: 6100].
* library/msgcat1.0/msgcat.tcl: Removed erroneous [package forget]
in msgcat namespace initializer. Bumped version number to 1.2
[Bug: 6100].
|
|
|
|
| |
in msgcat namespace initializer.
|
|
|
|
|
| |
* generic/tclObj.c: r1.15 accidentally changed a global mutex
name tclObjMutex to ObjMutex. Put the correct name back.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
command to test Tcl_WrongNumArgs.
* generic/tclTest.c (TestWrongNumArgsObjCmd): Added test function
for the Tcl_WrongNumArgs function.
* generic/tclIndexObj.c (Tcl_WrongNumArgs): Corrected algorithm to
not insert a space before the message component when objc == 0
[Bug: 6078].
|
| |
|
|
|
|
| |
include ${TCL_DBGX} in win/tclConfig.sh, fix that.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
on the array containing the variable before executing traces on
that array, to conform with normal variable traces and the
documentation, which states that while executing a trace, other
traces on that variable are disabled. [Bug: 6049].
|
|
|
|
| |
to prevent potential memory leaks [Bug: 6041].
|
|
|
|
| |
default locale on Windows.
|
|
|
|
|
|
|
|
| |
doc/Object.3, doc/RegExp.3, doc/SetResult.3, doc/SplitList.3, doc/Thread.3:
Added missing entries to NAME sections.
doc/AddErrInfo.3, doc/CrtObjCmd.3, doc/RecEvalObj.3:
Changed Tcl_EvalObj to Tcl_EvalObjEx
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclObj.c:
* generic/tclInt.h:
* generic/tclHash.c:
* generic/tclDecls.h:
* generic/tcl.h:
* generic/tcl.decls:
* doc/Hash.3: Reapplied patch from Paul Duffin to extend hash tables
to allow custom key types, such as Tcl_Obj *'s, and others.
|
|
|
|
| |
32-bit system [Bug: 6035].
|
|
|
|
|
|
|
|
| |
${exec_prefix} like unix/configure.in.
Fix or add TCL_SRC_DIR, TCL_STUB_LIB_FILE,
TCL_STUB_LIB_FLAG, TCL_BUILD_STUB_LIB_SPEC,
TCL_STUB_LIB_SPEC, TCL_BUILD_STUB_LIB_PATH,
TCL_STUB_LIB_PATH.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclObj.c:
* generic/tclInt.h:
* generic/tclHash.c:
* generic/tclDecls.h:
* generic/tcl.h:
* generic/tcl.decls:
* doc/Hash.3: Reverted patch from Paul Duffin to extend hash tables
to allow custom key types, such as Tcl_Obj *'s, and others; it
seems to break Tk.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclObj.c:
* generic/tclInt.h:
* generic/tclHash.c:
* generic/tclDecls.h:
* generic/tcl.h:
* generic/tcl.decls:
* doc/Hash.3: Applied patch from Paul Duffin to extend hash tables
to allow custom key types, such as Tcl_Obj *'s, and others.
|
|
|
|
|
|
|
| |
* library/package.tcl: Enhanced pkg_compareExtension to handle
Unixes which tack the version number on to the end of library
names (eg, foo.so.1.2); such filenames will be correctly matched.
(Patch from Vince Darley).
|
|
|
|
| |
nmake support for NT/Alpha [RFE: 5938].
|
| |
|
|
|
|
|
|
|
| |
* unix/tcl.m4:
* win/tcl.m4: Properly quote arguments to m4
macros. This allows Tcl to work with the new
version of autoconf.
|
| |
|
|
|
|
|
|
|
| |
* library/opt0.4/optparse.tcl: Applied patch from Chris Nelson,
which replaces the [Lfirst] function with an inline [lindex ... 0]
and [Lrest] with [lrange ... 1 end], for better performance.
[RFE: 6019]
|
|
|
|
| |
strtok [Bug: 6020].
|
| |
|
|
|
|
|
| |
0x00010001 instead of INVALID_HANDLE_VALUE for WinMain apps.
Added a new test case to catch it.
|