| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
segfault trying to use a deleted interp. Fixed.
|
| |
| |
| | |
does segfault trying to use a deleted interp. Fixed.
|
| | |
|
|\ \
| |/ |
|
| |
| |
| | |
Not sure this is the right behavior, but it's better than crashing.
|
| | |
|
|\ \
| |/ |
|
| |
| |
| | |
stop segfaults in tests iocmd-21.2[12].
|
| | |
|
|\ \
| |/
| |
| | |
callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could use
cleanup and improvements.
|
| |
| |
| |
| | |
callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could
use cleanup and improvements.
|
|\ \
| |/
| |
| |
| | |
Note that top channel regeneration is removed, so that Preserve/Release
call pairs are sure to operate on the same pointers. Other bug fixes
may need to change that.
|
| | |
|
|\ \
| |/ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
combination with tcltest86.dll to do that (Windows only)
|
| |
| |
| |
| | |
owner == handler.
|
| |
| |
| |
| |
| |
| |
| | |
test case. Modified [chan postevent] to properly inject the
event(s) into the owner thread's event queue for execution in the
correct context. Renamed the ForwardOpTo...Thread() function to
match with our terminology.
|
| |
| |
| |
| |
| |
| |
| | |
core if it were not disabled as knownBug. For a reflected channel
transfered to a different thread the [chan postevent] run in the
handler thread tries to execute the owner threads's fileevent
scripts by itself, wrongly reaching across thread boundaries.
|
| |
| |
| |
| | |
in branch bug-3522560.
|
| | |
|
| |
| |
| | |
memory leak that cannot be plugged while testing what the test aims to test.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Need cleanup code to bring an end to the otherwise endless loop of thread
finalization that continually tries to flush before closing, and is
continually thwarted by a driver raising EAGAIN. If this dance isn't
cleanly terminated, it continues and corrupts any subsequent tests that
define a [foo] command.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This takes as many leaks as possible out of the testing harness, so the leaks
remaining are the fault of the tested code.
Committed to a branch because the conversion creates new test failures that
need review.
|
| | |
|
| |
| |
| | |
pipeline creation, package handling, procedures, [scan] formats)
|
|\ \
| |/
| | |
cause more harm than good. Purged them (except in zlib files).
|
| |\
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>,
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
comment regarding the meaning of -1, added two more testcases for
other negative values, and input wrapped to negative.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the list of POSIX modes used when opening a file for
'a'ppend. This enables the proper automatic seek-to-end-on-write
by the OS. See [Bug 680143] for longer discussion.
* tests/ioCmd.test (iocmd-13.7.*): Extended the testsuite to check
the new handling of 'a'.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/fileSystem.test: issues uncovered by -debug 1 test
* tests/ioCmd.test: operations. Also backported some
* tests/pid.test: other fixes from the HEAD.
* tests/socket.test: [Bugs 675605, 675655]
* tests/source.test:
|
| | |
| | |
| | |
| | | |
* tests/ioCmd.test: included regexp-special chars. [Bug 775394]
|
| | |
| | |
| | |
| | | |
Improved error-message regarding legacy form.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.h: the Tcl Head, with help from Jeff Hobbs.
* generic/tclStrToD.c:
* generic/tclTest.c:
* generic/tclTomMath.decls:
* generic/tclUtil.c:
* tests/util.test:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits
that (a) fixes a severe performance problem with floating point
shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits
to generate the digit strings for 'e' and 'f' format, so that it
can be used for tcl_precision != 0 (and possibly later for [format]),
(c) fixes [Bug 3120139] by making TclPrintDouble inherently
locale-independent, (d) adds test cases to util.test for
correct rounding in difficult cases of TclDoubleDigits where fixed-
precision results are requested. (e) adds test cases to util.test for
the controversial aspects of [Bug 3105247]. As a side effect, two
more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c)
are brought into the build, since the new code uses them.
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
* generic/tclTomMathDecls.h: Regenerated.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclIORChan.c: reflective channels (TIP 219, method
* tests/ioCmd.test: 'read'), enabling handlers to signal EAGAIN to
indicate 'no data, but not at EOF either', and other system
errors. Updated documentation, extended testsuite (New test cases
iocmd*-23.{9,10}).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|