| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/SetChanErr.3: ** New File **. Documentation of the new
channel API functions.
* generic/tcl.decls: Stub declarations of the new channel API.
* generic/tclDecls.h: Regenerated
* generic/tclStubInit.c:
* tclIORChan.c: ** New File **. Implementation of the reflected
channel.
* generic/tclInt.h: Integration of reflected channel and new error
* generic/tclIO.c: propagation into the generic I/O core.
* generic/tclIOCmd.c:
* generic/tclIO.h:
* library/init.tcl:
* tests/io.test: Extended testsuite.
* tests/ioCmd.test:
* tests/chan.test:
* generic/tclTest.c:
* generic/tclThreadTest.c:
* unix/Makefile.in: Integration into the build machinery.
* win/Makefile.in:
* win/Makefile.vc:
|
| |
|
|
|
|
|
|
|
|
|
| |
* tests/io.test: changed from ten bytes to one byte. Need for this
change was proven by Ross Cartlidge <rossc@cisco.com> where
[read stdin 1] was grabbing 10 bytes followed by starting a child
process that was intended to continue reading from stdin. Even
with -buffersize set to one, nine chars were getting lost by buffer
size over reading for the native read().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclDecls.h: Regenerated from tcl.decls.
* generic/tclStubInit.c:
* doc/CrtChannel.3: Documentation of extended API,
* generic/tcl.decls: extended testsuite, and
* generic/tcl.h: implementation. Removal of old
* generic/tclIO.c: driver-specific TclpCut/Splice
* generic/tclInt.h: functions. Replaced with generic
* tests/io.test: thread-action calls through the
* unix/tclUnixChan.c: new hooks. Update of all builtin
* unix/tclUnixPipe.c: channel drivers to version 4.
* unix/tclUnixSock.c: Windows drivers extended to
* win/tclWinChan.c: manage thread state in a thread
* win/tclWinConsole.c: action handler.
* win/tclWinPipe.c:
* win/tclWinSerial.c:
* win/tclWinSock.c:
|
|
|
|
|
|
|
|
| |
* tests/io.test: [bgerror] to make use of [interp bgerror].
* tests/socket.test:
* tests/timer.test:
* generic/tclInterp.c: Corrected [interp bgerror] error message.
|
|
|
|
|
|
|
|
|
| |
* tests/fileSystem.test:
* tests/io.test:
* tests/msgcat.test:
* tests/tcltest.test:
* tests/unixInit.test: fixed bugs causing failures when running
tests with -tmpdir arg not set to working dir.
|
| |
|
|
|
|
| |
Also turn conditional tests into constrained tests
|
|
|
|
|
|
| |
* tests/namespace.test:
* tests/string.test:
* tests/io.test (io-50.4): Use namespace variables.
|
| |
|
|
|
|
| |
* tests/io.test: file of test data as needed.
|
|
|
|
|
|
| |
loop rather than just calling [update] periodically, avoiding
intermittent failures (usually in io-29.32) that stemmed from
unreaped processes on Windows.
|
|
|
|
| |
on WinXP.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* tests/iogt.test: Tests cases that set invalid -buffersize settings on channels
either wrapped in a catch or modified to a valid range. The assertion results
were not modified to show that the behavior of Tcl_SetChannelBufferSize
is unchanged.
|
| |
|
|
|
|
| |
* tests/io.test: Take care to use namespace variables.
|
|
|
|
|
| |
930851]. When changing the eofchar we have to zap the related
flags to prevent them from prematurely aborting the next read.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* tests/cmdMZ.test: list-quoting of path names that might
* tests/exec.test: contain Tcl-special chars like { or [.
* tests/io.test: Should help us sort out Tcl Bug 554068.
* tests/pid.test:
* tests/socket.test:
* tests/source.test:
* tests/unixInit.test:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Tcl.n: of the new leading {expand} syntax on words.
* generic/tcl.h: Parses such words as the new Tcl_Token type
* generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx
* generic/tclCompile.c: and the bytecode compiler/execution engine
* generic/tclCompile.h: to recognize the new token type. New opcodes
* generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new
* generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs
* generic/tclTest.c: and tests are included.
* tests/basic.test:
* tests/compile.test:
* tests/parse.test:
* library/auto.tcl: Replaced several [eval]s used to perform
* library/package.tcl: argument expansion with the new syntax.
* library/safe.tcl: In the test files lindex.test and lset.test,
* tests/cmdInfo.test: replaced use of [eval] to force direct
* tests/encoding.test: string evaluation with use of [testevalex]
* tests/execute.test: which more directly and robustly serves the
* tests/fCmd.test: same purpose.
* tests/http.test:
* tests/init.test:
* tests/interp.test:
* tests/io.test:
* tests/ioUtil.test:
* tests/iogt.test:
* tests/lindex.test:
* tests/lset.test:
* tests/namespace-old.test:
* tests/namespace.test:
* tests/pkg.test:
* tests/pkgMkIndex.test:
* tests/proc.test:
* tests/reg.test:
* tests/trace.test:
* tests/upvar.test:
* tests/winConsole.test:
* tests/winFCmd.test:
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/exec.test: Corrected temporary file management
* tests/fileSystem.test: issues uncovered by -debug 1 test
* tests/io.test: operations. Also backported some
* tests/ioCmd.test: other fixes from the HEAD.
* tests/main.test:
* tests/pid.test: [Bugs 675605, 675655, 675659]
* tests/socket.test:
* tests/source.test:
|
|
|
|
| |
* tests/ioCmd.test: included regexp-special chars. [Bug 775394]
|
|
|
|
|
|
|
| |
* tests/ioCmd.test: Define a fcopy constraint and add
it to the constraint list of any test that depends
on the fcopy command. This is only useful to
Jacl which does not support fcopy.
|
|
|
|
| |
out of a couple of tests.
|
|
|
|
|
|
| |
it to the constraint list of any test that depends
on the fileevent command. This is only useful to
Jacl which does not support fileevent.
|
|
|
|
|
|
| |
it to the constraint list of any test that creates
a pipe using the open command. This is only useful to
Jacl which does not support pipes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Invoke the Tcl_SetChannelBufferSize method
as a result of changing the -buffersize
option to fconfigure. The previous
implementation used some inlined code that
reset the buffer size to the default size
instead of ignoring the request as
implemented in Tcl_SetChannelBufferSize.
* tests/io.test: Update test case so that
it actually checks the implementation of
Tcl_SetChannelBufferSize.
|
|
|
|
| |
* tests/io.test: Made more robust against spaces in paths [Bug #678400].
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* generic/tclIO.c (WriteChars): Added flag to break out of loop if
nothing of the input is consumed at all, to prevent infinite
looping of called with a non-UTF-8 string. Fixes Bug 584603
(partially). Added new test "io-60.1". Might need additional
changes to Tcl_Main so that unprintable results are printed as
binary data.
|
|
|
|
| |
in the test suite.
|
|
|
|
|
|
|
|
|
| |
testsuite assumes [pwd] = [temporaryDirectory] and writable.
* tests/iogt.test: Fixed bug #575860.
* tests/io.test: Fixed bug #575862.
* tests/exec.test:
* tests/ioCmd.test: Fixed bug #575836.
|
|
|
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: their former behavior, and documented
* tests/cmdAH.test: it. Corrected misspelling of hook
* tests/event.test: procedure. Restored tests.
* tests/http.test:
* tests/io.test:
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: restored writeability testing of
-tmpdir, augmented by a special exception for the deafault value.
|
|
|
|
|
|
| |
contents. Updated tests that depended on buggy behavior. Also
added warning messages to "-debug 1" operations to debug test
calls to (make|remove)(File|Directory).
|
|
|
|
|
|
|
|
|
|
|
|
| |
revealed by running test suite with "-singleproc 1".
* doc/tcltest.n:
* library/tcltest/tcltest.tcl:
* tests/tcltest.test: Several updates to tcltest.
1) changed to lazy initialization of test constraints
2) deprecated [initConstraintsHook]
3) repaired badly broken [limitConstraints].
[Patch 512214, Bug 558742, Bug 461000]
|
|
|
|
| |
an [open "|[interpreter]"] is attempted.
|
|
|
|
|
| |
use the useless and buggy [saveState] and [restoreState] commands
of tcltest. Updated to use tcltest 2 as well. [Patch 544546]
|
|
|
|
|
|
|
|
|
| |
* tests/encoding.test: corrected iso2022 encoding results.
added encoding-24.*
* generic/tclEncoding.c (EscapeFromUtfProc): corrected output of
escape codes as per RFC 1468. [Patch #474358] (taguchi)
(TclFinalizeEncodingSubsystem): corrected potential double-free
when encodings were finalized on exit. [Bug #219314, #524674]
|
| |
|
|
|
|
|
| |
This version builds clean on Solaris/SPARC, with GCC and CC, both with and
without threads and both in 32-bit and 64-bit mode.
|
|
|
|
|
| |
dependent, the other not. -eofchar is not empty on the windows
platform.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
server sockets. [Bug 496733]
* generic/tclIO.c (Tcl_GetChannelOption, Tcl_SetChannelOption):
Instead of returning nothing for the -translation option
on a server socket, always return "auto". Return the empty
string enclosed in quotes for the -eofchar option on
a server socket. Fixup -eofchar usage message so that
it matches the implementation.
* tests/io.test: Add -eofchar tests and -translation tests
to ensure options are read only on server sockets.
* tests/socket.test: Update tests to account for -eofchar
and -translation option changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Martin Forssen <ruric@users.sourceforge.net>. The encoding
chosen in the script exposing the bug writes out three intro
characters when TCL_ENCODING_START is set, but does not consume
any input as TCL_ENCODING_END is cleared. As some output was
generated the enclosing loop calls UtfToExternal again, again
with START set. Three more characters in the out and still no
use of input ... To break this infinite loop we remove
TCL_ENCODING_START from the set of flags after the first call
(no condition is required, the later calls remove an unset flag,
which is a no-op). This causes the subsequent calls to
UtfToExternal to consume and convert the actual input.
|
|
|
|
|
| |
<schroedter@users.sourceforge.net> to prevent fcopy on serial
ports from flooding the event queue.
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/socket.test: Removed _most_ instances of hardwired port
numbers for listening sockets. Remaining are the ports in all
tests with constraint 'doTestsWithRemoteServer'. These seem to
be designed for a more controlled environment and are usually
skipped when running the testsuite.
* tests/io.test: Removed all instances of hardwired port numbers
for listening sockets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following files were impacted.
* doc/Access.3:
* doc/FileSystem.3:
* doc/OpenFileChnl.3:
* doc/file.n:
* doc/glob.n:
* generic/tcl.decls:
* generic/tcl.h:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclDate.c:
* generic/tclDecls.h:
* generic/tclEncoding.c:
* generic/tclFCmd.c:
* generic/tclFileName.c:
* generic/tclGetDate.y:
* generic/tclIO.c:
* generic/tclIOCmd.c:
* generic/tclIOUtil.c:
* generic/tclInt.decls:
* generic/tclInt.h:
* generic/tclIntDecls.h:
* generic/tclLoad.c:
* generic/tclStubInit.c:
* generic/tclTest.c:
* generic/tclUtil.c:
* library/init.tcl:
* mac/tclMacFCmd.c:
* mac/tclMacFile.c:
* mac/tclMacInit.c:
* mac/tclMacPort.h:
* mac/tclMacResource.c:
* mac/tclMacTime.c:
* tests/cmdAH.test:
* tests/event.test:
* tests/fCmd.test:
* tests/fileName.test:
* tests/io.test:
* tests/ioCmd.test:
* tests/proc-old.test:
* tests/registry.test:
* tests/unixFCmd.test:
* tests/winDde.test:
* tests/winFCmd.test:
* unix/mkLinks:
* unix/tclUnixFCmd.c:
* unix/tclUnixFile.c:
* unix/tclUnixInit.c:
* unix/tclUnixPipe.c:
* win/tclWinFCmd.c:
* win/tclWinFile.c:
* win/tclWinInit.c:
* win/tclWinPipe.c
|