| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
to delete the async handler (common trap). As, only the one
that created the handler is allowed to delete it.
|
|
|
|
|
| |
to locate handler token fails. Happens when some other
thread attempts to delete somebody else's token.
|
| |
|
| |
|
|
|
|
|
| |
This allows extensions to be compiled with -fvisiblity=hidden and still all
symbols decorated with EXPORT. See: <http://gcc.gnu.org/wiki/Visibility>
|
|
|
|
|
|
|
|
|
|
| |
implementation. Added test cases about how it handles if the rug
is pulled out from under a channel (= killing threads,
interpreters containing the tcl command for a channel, and channel
sitting in a different interpreter/thread.)
* generic/tclIORChan.c: Fixed the bugs exposed by the new
testcases, redone most of the cleanup and exit handling.
|
| |
|
|
|
|
|
|
|
|
|
| |
* generic/tclTest.c: USE_OBSOLETE_FS_HOOKS, completing
* tests/ioCmd.test: the deprecation path for these
* tests/ioUtil.test (removed): obsolete interfaces. (Code was active
in Tcl 8.4, present but enabled only by customized compile switch in
Tcl 8.5, and now completely gone for Tcl 8.6). Also removed all tests
relevant only to the removed interfaces.
|
|
|
|
| |
Thanks to hat0 for spotting this.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclStubInit.c: export only module-scope pointers to
* generic/tclStubLib.c: the main stubs tables (for package
* tools/genStubs.tcl: initialization). [Patch 1938497]
* generic/tclBasic.c (Tcl_CreateInterp):
* generic/tclTomMathInterface.c (TclTommath_Init):
|
|
|
|
|
|
|
|
| |
* generic/tclNotify.c: module-scope hooks table instead of
* generic/tclStubInit.c: runtime stubs-table modification;
* macosx/tclMacOSXNotify.c: ensure all hookable notifier functions
* win/tclWinNotify.c: check for hooks; remove hook checks in
* unix/tclUnixNotfy.c: notifier API callers. [Patch 1938497]
|
|
|
|
|
|
|
| |
* io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>,
* chanio.test (chan-io-53.8a): to shift EOF handling to the async
part of the command if a callback is specified, should the channel
be at EOF already when fcopy is called. Testcase by myself.
|
| |
|
|
|
|
| |
of tclStubLib.o from TCL_OBJS. [Bug 1942795]
|
|
|
|
|
| |
Added comments to the test that it can fail on a heavily loaded
system.
|
|
|
|
| |
'struct timezone' in the call to 'gettimeofday'. [Bug 1942197].
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
values, changed to not be an error, but behave like the special
value -1 (copy all, default).
* tests/iocmd.test (iocmd-15.{12,13}): Removed.
* tests/io.test (io-52.5{,a,b}): Reverted last change, added
* tests/chanio.test (chan-io-52.5{,a,b}): comment regarding the
meaning of -1, added two more testcases for other negative values,
and input wrapped to negative.
|
| |
|
| |
|
|
|
|
|
| |
* tests/io.test (io-52.5): does not seem to have any bearing, and
was an illegal value.
|
|
|
|
|
|
|
|
| |
* tests/ioCmd.test (iocmd-15.{13,14}): value to reject negative
values, and values overflowing 32-bit signed. [Bug 1557855]. Basic
patch by Alexandre Ferrieux <ferrieux@users.sourceforge.net>, with
modifications from me to separate overflow from true negative
value. Extended testsuite.
|
|
|
|
| |
* tests/io.test (io-53.8,53.9,53.10): spaces in builddir path
|
|
|
|
| |
used in GrowEvaluationStack() and friends.
|
|
|
|
|
|
|
| |
* generic/tclIntDecls.h:
* generic/tclIntPlatDecls.h:
* generic/tclPlatDecls.h:
* generic/tclTomMathDecls.h:
|
|
|
|
| |
*StubsPtr as EXTERN instead of extern.
|
|
|
|
|
|
|
|
| |
* tests/chanio.test:
* generic/tclIO.c: Additional changes to data structures for fcopy
* generic/tclIO.h: and channels to perform proper cleanup in case
of a channel having two background copy operations running as is
now possible.
|
| |
|
|
|
|
|
|
| |
TclCopyChannel): New macro, and the places using it. This change
allows for bi-directional fcopy on channels. Thanks to Alexandre
Ferrieux <ferrieux@users.sourceforge.net> for the patch.
|
| |
|
|
|
|
|
|
| |
Fix [format {% d}] so that it behaves the same way as in 8.4 and
as C's printf().
* tests/format.test: Add a test for '% d' and '%+d'.
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/io.test (io-53.9): Made test cleanup robust against
the possibility of slow process shutdown on Windows.
* win/tcl.m4: Added -D_CRT_SECURE_NO_DEPRECATE and
-DCRT_NONSTDC_NO_DEPRECATE to the MSVC compilation flags
so that the compilation doesn't barf on perfectly reasonable
Posix system calls.
* win/configure: Manually patched (don't have the right autoconf
to hand).
|
|
|
|
|
|
|
|
|
|
|
| |
Tcl was creating an NTFS junction point (IO_REPARSE_TAG_MOUNT_POINT)
but filling in the union member for a Vista symbolic link.
We had gotten away with this error because the union member
(SymbolicLinkReparseBuffer) was misdefined in this file
and in the 'winnt.h' in early versions of MinGW. MinGW 3.4.2
has the correct definition of SymbolicLinkReparseBuffer, exposing
the mismatch, and making tests cmdAH-19.4.1, fCmd-28.*, and
filename-11.* fail.
|
|
|
|
|
|
| |
* tests/chanio.test: on Alexandre's test script. Also fixed
problem with timer in preceding test, was not canceled properly
in the ok case.
|
|
|
|
|
|
|
|
| |
write when input was zero-length anyway. Otherwise keept it an
error, and separate the message from 'written too much'.
* tests/ioCmd.test (iocmd-24.6): Testcase updated for changed
message.
|
|
|
|
|
|
|
|
|
| |
the now closed channel from the reflection map. Before we could
crash the system by invoking 'chan postevent' on a closed
reflected channel, dereferencing the dangling pointer in the
map.
* tests/ioCmd.test (iocmd-31.8): Testcase for the above.
|
|
|
|
|
|
| |
* tests/io.test: prevent fcopy from calling -command synchronously
* tests/chanio.test: the first time. Thanks to Alexandre Ferrieux
<ferrieux@users.sourceforge.net> for report and patch.
|
|
|
|
|
|
|
|
| |
* generic/tclIntDecls.h:
* generic/tclIntPlatDecls.h:
* generic/tclPlatDecls.h:
* generic/tclStubInit.c:
* generic/tclTomMathDecls.h:
|
|
|
|
|
|
| |
* tools/genStubs.tcl: avoid exporting them from libraries that link
with -ltclstub; constify tcl*StubsPtr and stub
table hook pointers. [Bug 1819422]
|
|
|
|
| |
only in libtclstub and no longer in libtcl.
|
|
|
|
|
|
|
| |
[Bug 780533], with many thanks to Alexandre Ferrieux
<ferrieux@users.sourceforge.net> for tracking it down and
providing a solution. Still have to convert his test script into
a proper test case.
|
|
|
|
|
|
|
|
| |
* tools/genStubs.tcl: creation so that "tclStubsPtr" is not present
* unix/Makefile.in: in libtcl.so, but is present only in
* win/Makefile.in: libtclstub.a. This tightens up the rules for
* win/makefile.bc: users of the stubs interfaces. [Bug 1819422]
* win/makefile.vc:
|
|
|
|
|
|
|
| |
* tools/genStubs.tcl: creation so that "tclStubsPtr" is not present
* unix/Makefile.in: in libtcl.so, but is present only in
* win/Makefile.in: libtclstub.a. This tightens up the rules for
users of the stubs interfaces. [Bug 1819422]
|
| |
|
| |
|
| |
|