| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the
[Bug 1965787]. 'tell' now works for locations > 2 GB as well
instead of going negative.
* generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by
* tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside
of the supported range are now clipped to nearest boundary instead
of ignored.
|
|
|
|
|
|
|
| |
* tests/parse.test (parse-15.60): routine has no mechanism to
return the "incomplete" status of "\\\n" so calling this routine
anywhere that can be reached within a Tcl_ParseCommand() call is a
mistake. In particular, ParseComment() must not use it. [Bug 1968882].
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
Added comments to the test that it can fail on a heavily loaded
system.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
cancel. cancel has to be done after the vwait completes.
|
|
|
|
| |
* tests/io.test (io-53.8,53.9,53.10): spaces in builddir path
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
| |
condition.
|
|
|
|
| |
1854435]
|
| |
|
|
|
|
| |
confusing the simple-minded code doing the calculations). [Bug 1903325]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/Makefile.in (install-libraries): Added -myaddr option to allow
* library/http/http.tcl (http::geturl): control of selected socket
* library/http/pkgIndex.tcl: interface. [Bug 559898]
* doc/http.n, tests/http.test: Added -keepalive and
-protocol 1.1 with chunked transfer encoding support. [Bug
1063703, 1470377, 219225]
Added ability to override Host in -headers. [Bug 928154]
Added -strict option to control URL validation on per-call basis.
[Bug 1560506]
|
|
|
|
|
| |
* tests/http.test (http-3.1): http PUT and DELETE requests.
* doc/http.n: [Bug 1599901, 862554]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Tcl-Common.xcconfig: ${builddir} and ${INSTALL_ROOT}
* unix/Makefile.in: to contain spaces.
* unix/configure.in:
* unix/install-sh:
* unix/tcl.m4:
* tests/ioCmd.test:
* unix/Makefile.in (install-strip): strip non-global symbols from
dynamic library.
|
|
|
|
| |
* tests/socket.test (socket-2.11): (esp. on multi-proc machines).
|
| |
|
|
|
|
|
|
|
| |
* tests/var.test (var-8.2): unset traces on vars should be called
with a FQ named during namespace deletion. This was causing
infinite loops when unset traces recreated the var, as reported by
Julian Noble on [Bug 1911919].
|
|
|
|
|
| |
* tests/event.test (event-5.*): checking to protect against callers
passing invalid return options dictionaries. [Bug 1901113]
|
|
|
|
|
|
| |
* tests/expr.test: function and the [::tcl::mathfunc::abs]
command do not return the value of -0, or equivalent values with
more alarming string reps like -1e-350. [Bug 1893815].
|
|
|
|
| |
script bytecode is invalidated in the right situations.
|
|
|
|
| |
script bytecode is invalidated in the right situations.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
penultimate paragraph. [Bug 1898025]
* generic/tclClock.c (ParseClockFormatArgs): Changed to check that
the clock value is in the range of a 64-bit integer. [Bug 1862555]
* library/clock.tcl (::tcl::clock::format, ::tcl::clock::scan,
::tcl::clock::add, ::tcl::clock::LocalizeFormat): Fixed bugs
in caching of localized strings that caused weird results when
localized date/time formats were used. [Bug 1902423]
* tests/clock.test (clock-61.*, clock-62.1): Regression tests
for [Bug 1862555] and [Bug 1902423].
|
|
|
|
|
| |
* tests/regexpComp.test: star possibly being escaped in
determining right anchor. [Bug 1902436]
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* library/clock.tcl (::tcl::clock::format):
* tests/clock.test (clock-1.0, clock-1.4):
Performance enhancements in [clock format] (moving
the analysis of $args into C code, holding on to
Tcl_Objs with resolved command names, [lassign]
in place of [foreach], avoiding [namespace which]
for command resolution).
|
|
|
|
|
| |
* tests/cmdIL.test (cmdIL-7.7): fix crash on reversing an empty
list [Bug 1876793].
|
| |
|
|
|
|
|
| |
* tests/format.test: account for big.used == 0 corner case in the
%ll(idox) format directives. [Bug 1867855].
|