| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
ERROR_PROC_NOT_FOUND exception in loading a dll.
* win/tclWinError.c: changed ERROR_PROC_NOT_FOUND to map from
ESRCH (POSIX: no such process) to EINVAL because there is no good
mapping for "procedure not found".
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* library/tcltest1.0/tcltest.tcl:
* tools/tcl.wse.in:
* tools/tcltk-man2html.tcl:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in: updated patchlevel to 8.4a2
|
| |
|
|
|
|
|
| |
Tcl_WaitPid call in error case of process creation on Unix, as it
would lead to defunct processes. [Bug: 6148]
|
| |
|
|
|
|
|
| |
preallocate the full space of the final string, avoided repeated
appends.
|
|
|
|
|
|
| |
pedantic cast warning.
Corrected support for building with -DTCL_COMPILE_STATS.
Added efficiency check of object equality.
|
|
|
|
| |
#endif
|
|
|
|
|
| |
* doc/Eval.3: added extra note about how to safe use ^Z in code,
as it is now a cross-platform (was just Windows) EOF char.
|
|
|
|
|
|
| |
to provide a more conservative string growth algorithm for strings
larger than one megabyte; this allows more efficient use of memory
for very large strings.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|