| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
reduce indentation for the Invocation Block.
|
| |
|
|
|
|
|
|
|
|
|
| |
to tclWinPort.h, where it belongs.
Add fallback in tcl.h, so at least TCHAR typedef is
always available in win32, even without <tchar.h>
Tk already did the same in tkWinPort.h, now Tcl does
it the same (correct) way.
|
|
|
|
|
|
|
|
| |
not result in a *guaranteed* push of a Tcl_Obj on the stack, we must
push an empty object. Otherwise it is possible to get to a 'concat1'
or 'done' without enough values on the stack, resulting in a crash.
Thanks to Joe Mistachkin for identifying a script that could trigger
this case.
|
| |
|
|
|
|
| |
setting a variable fails.
|
| |
|
| |
|
|
|
|
| |
and some formatting fixes
|
|
|
|
|
| |
* unix/tclLoadDyld.c (TclpDlopen): to make it build on OSX.
Also add missing ChangeLog entry for previous commit by KBK.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol,
* generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API.
* generic/tclInt.h:
* generic/tclLoad.c:
* generic/tclLoadNone.c:
* generic/tclStubInit.c:
* tests/fileSystem.test:
* tests/load.test:
* tests/unload.test:
* unix/tclLoadDl.c:
* unix/tclLoadDyld.c:
* unix/tclLoadNext.c:
* unix/tclLoadOSF.c:
* unix/tclLoadShl.c:
* unix/tclUnixPipe.c:
* win/Makefile.in:
* win/tclWinLoad.c:
|
|
|
|
|
|
| |
floating point number until it is actually used. (This change avoids
a bogus syslog message regarding a 'floating point software assist
fault' on SGI systems.)
|
|
|
|
|
|
|
|
| |
ReflectSeekWide, ReflectWatch, ReflectBlock, ReflectSetOption,
ReflectGetOption, ForwardProc): [Bug 2978773]: Preserve
ReflectedChannel* structures across handler invokations, to avoid
crashes when the handler implementation induces nested callbacks
and destruction of the channel deep inside such a nesting.
|
|
|
|
|
| |
the validity tests on internal rep of a "cmdName" value to avoid
invalid reads reported by valgrind.
|
| |
|
|
|
|
| |
further optimization, making use of indexType.
|
|
|
|
| |
caught by valgrind testing.
|
| |
|
| |
|
|
|
|
| |
* tests/result.test: that it rejects illegal non-list values.
|
|
|
|
|
| |
(InfoClassMethodTypeCmd): Added introspection of method types so that
it is possible to find this info out without using errors.
|
|
|
|
| |
[try] command does not trap unwinding due to limits.
|
|
|
|
| |
indices of script arguments to [try].
|
|
|
|
| |
exactly the same as the one in "return"
|
|
|
|
|
| |
values to identify the argument indices of the various script arguments
to [try]. Passing in -1 led to invalid memory reads.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* generic/tclTestObj.c: operations. Thanks to kbk for fix and test.
* tests/listObj.test: [Bug 2971669].
|
| |
|
|
|
|
|
| |
of an instruction! Tightened the instruction issuing. Moved endCatch
calls closer to their point that they guard.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ReflectSeekWide): [Bug 2921116]: Added missing TclEventuallyFree
calls for preserved ReflectedTransform* structures. Reworked
ReflectInput to preserve the structure for its whole life, not
only in InvokeTclMethod.
* generic/tclIO.c (Tcl_GetsObj): [Bug 2921116]: Regenerate
topChan, may have been changed by a self-modifying transformation.
* tests/ioTrans/test (iortrans-4.8, iortrans-4.9, iortrans-5.11,
iortrans-7.4, iortrans-8.3): New test cases.
|
|
|
|
|
| |
pointers.
Fix double declaration of TclNativeDupInternalRep
|
|
|
|
|
|
| |
* doc/refchan.n: <ferrieux@users.sourceforge.net> for debugging and fixing
* tests/ioCmd.test: the problem. It is the write-side equivalent
to the bug fixed 2009-08-06.
|
|
|
|
|
|
|
|
| |
Applied missing part of [Patch 2961556]
Change all tclWinProcs signatures to use
TCHAR* in stead of WCHAR*. This is meant
as preparation to make [Enh 2965056]
possible at all.
|
|
|
|
| |
test that tommath stubs are present in stub library
|
| |
|
| |
|
|
|
|
| |
Tcl, as this is about the last chance to get this right.
|
|
|
|
|
|
|
|
| |
* use do { ... } while (0) in macros
* avoid shadowing one local variable with another
* use clearer 'foo.bar++;' instead of '++foo.bar;' where result not
required (i.e., semantically equivalent)
* follow Engineering Manual rules on spacing and declarations
|
| |
|
| |
|
| |
|
|
|
|
|
| |
in separate file.
Don't use -fvisibility=hidden for cygwin
|
| |
|
| |
|
|
|
|
| |
messages for [::tcl::prefix match].
|
| |
|
|
|
|
| |
[info] as part of long-term project to classify all Tcl's generated errors.
|