Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Symptom relief. Make test stop panicking. | dgp | 2014-05-06 | 1 | -1/+4 | |
| | | | | This is not the proper final answer. ChannelBuffer management in FlushChannel is simply not robustly correct yet. | |||||
* | Add Panic call to better identify where iogt-2.5 goes wrong. | dgp | 2014-05-06 | 1 | -0/+3 | |
| | ||||||
* | Merge 8.5. New test iogt-2.5 panics. | dgp | 2014-05-06 | 1 | -2/+13 | |
|\ | ||||||
| * | Have to manage the lifetime of the self handle in testchannel transform. | dgp | 2014-05-06 | 1 | -2/+13 | |
| | | ||||||
| * | Backport "GotFlag" macro from Tcl 8.6. Makes code more readable. No change ↵ | jan.nijtmans | 2014-05-05 | 1 | -97/+89 | |
| | | | | | | | | in functionality. | |||||
| * | Backport channel self restacking support. (Test iogt-2.4). | dgp | 2014-05-02 | 1 | -2/+59 | |
| |\ | ||||||
* | | | Re-apply [3010352], bringing back the symbol exports of shared libraries as ↵ | jan.nijtmans | 2014-05-02 | 1 | -1/+7 | |
| |/ |/| | | | | | it was in 8.6.0/8.6.1. | |||||
* | | Add some comments about possible other self-restacking troubles. | dgp | 2014-05-02 | 1 | -1/+8 | |
| | | ||||||
* | | Fully restore topChan resetting to accommodate self-restacking channels. | dgp | 2014-05-02 | 1 | -17/+26 | |
| | | ||||||
* | | Re-enable buffer recycling. | dgp | 2014-05-02 | 1 | -1/+1 | |
| | | ||||||
* | | Stop the segfault in iogt-2.4. First by changing the UpdateInterest() | dgp | 2014-05-01 | 1 | -1/+8 | |
| | | | | | | | | | | | | | | call that triggers it. "downChanPtr" may no longer be the right argument at that point. Second, after ending the segfault, the test became an infinite loop (nested unstacking?! whoa.), so revised the test to one that terminates (and passes). Left behind a comment that the recursive unstacking case may require more examination. | |||||
* | | merge trunk | dgp | 2014-05-01 | 3 | -13/+61 | |
|\ \ | ||||||
| * \ | We must Preserve channels if we're going to use TclChanCaughtErrorBypass() ↵ | dgp | 2014-05-01 | 1 | -3/+22 | |
| |\ \ | | |/ | | | | | | | to get error information after channel routines are called (and have possibly called for the channel to go away). | |||||
| | * | We must Preserve channels if we're going to use TclChanCaughtErrorBypass() | dgp | 2014-05-01 | 1 | -4/+22 | |
| | | | | | | | | | | | | to get error information after channel routines are called (and have possibly called for the channel to go away). | |||||
| | * | Fix more corner-cases like ↵ | jan.nijtmans | 2014-05-01 | 4 | -12/+30 | |
| | | | | | | | | | | | | [0e92c404f19ede5b2eb06e6db27647d3138cc56|0e92c404f1]: The only place where a type of &tclByteArrayType can be trusted is when determining its length, because the character length of a (UTF-8) string is always equal to the byte length of the byte array. | |||||
| | | | ||||||
| | \ | ||||||
| *-. \ | Merge in the fixes for improper ChannelBuffer sharing via recycling. | dgp | 2014-05-01 | 1 | -8/+27 | |
| |\ \ \ | | | |/ | ||||||
| | | * | Better (safer) fix for [0e92c404f1] | jan.nijtmans | 2014-04-30 | 1 | -1/+1 | |
| | |/ | ||||||
| | * | Stop the segfaults in [close] during [gets] tests. | dgp | 2014-04-30 | 1 | -9/+14 | |
| | | | | | | | | | Not sure this is the right behavior, but it's better than crashing. | |||||
| | * | Panic message to pinpoint the cause of iocmd-21.23 segfault. | dgp | 2014-04-30 | 1 | -0/+3 | |
| | | | ||||||
| | * | Make sure no shared ChannelBuffers get recycled. | dgp | 2014-04-29 | 1 | -0/+11 | |
| | | | ||||||
| * | | [82e7f67325] Fix an evil refcount problem in compiled [string replace]. | dkf | 2014-04-30 | 1 | -2/+12 | |
| | | | ||||||
* | | | merge trunk | dgp | 2014-04-29 | 1 | -2/+4 | |
|\ \ \ | |/ / | ||||||
| * | | Fix bug exposed when buffer recycling is disabled. | dgp | 2014-04-29 | 1 | -2/+4 | |
| |\ \ | | |/ | ||||||
| | * | Fix bug exposed when buffer recycling is disabled. | dgp | 2014-04-29 | 1 | -2/+4 | |
| | |\ | ||||||
| | | * | Revise the logic for setting TCL_ENCODING_END in the outputEncodingFlagsdgp_no_buffer_recycle | dgp | 2014-04-29 | 1 | -2/+4 | |
| | | | | | | | | | | | | so it does not rely on buffer recycling. | |||||
| | | * | Disable buffer recycling to expose bugs for fixing. | dgp | 2014-04-25 | 1 | -1/+1 | |
| | |/ | ||||||
* | | | Disable buffer recycling, which creates mysteries. | dgp | 2014-04-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | Test iortrans-4.8.2 demos an infinite loop. Possible trouble with | dgp | 2014-04-25 | 1 | -0/+5 | |
|/ / | | | | | pushback buffers. | |||||
* | | Make sure the ReflectedChannel struct is freed in the handler thread, | dgp | 2014-04-24 | 1 | -2/+2 | |
| | | | | | | | | where it was allocated. This constraint allows the struct to safely hold Tcl_Obj values, which has been convenient for storing callback commands. | |||||
* | | [3493120] Plug memory leak in thread exit. | dgp | 2014-04-24 | 3 | -2/+34 | |
|\ \ | |/ | ||||||
| * | [3493120] Plug memory leak in thread exit. | dgp | 2014-04-23 | 3 | -2/+34 | |
| |\ | ||||||
| | * | Memory leak after thread exit, fixed (alloc cache released by exit), belong ↵ | sebres | 2014-04-22 | 3 | -2/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | to ticket [3493120] Moved over to branch bug-3493120. This is not ready for the core-8-5-branch. Segfaults all over the place in a thread-enabled build on a CentOS system. | |||||
* | | | Merge the [testchannel transform] fixes. | dgp | 2014-04-22 | 1 | -47/+75 | |
|\ \ \ | |/ / | ||||||
| * | | Add refcounting and preservation to [testchannel transform] to stop segfault | dgp | 2014-04-22 | 1 | -47/+75 | |
| |/ | | | | | in test iogt-2.4. | |||||
* | | Merge refcounting machinery for ChannelBuffer. | dgp | 2014-04-21 | 3 | -8/+46 | |
|\ \ | |/ | ||||||
| * | Added a refcounting mechanism to ChannelBuffers. Other edits to | dgp | 2014-04-21 | 3 | -8/+46 | |
| | | | | | | stop segfaults in tests iocmd-21.2[12]. | |||||
* | | Merge reflected channel improvements. | dgp | 2014-04-17 | 1 | -95/+50 | |
|\ \ | |/ | ||||||
| * | Reflected channels. Keep a set of method names cached so we don't create | dgp | 2014-04-17 | 1 | -40/+43 | |
| | | | | | | new each operation, and we can benefit from any lookup info cached in intreps. | |||||
| * | Simplify reflected channels. | dgp | 2014-04-17 | 1 | -55/+7 | |
| | | | | | | | | | | | | | | Instead of having two modes of Close operations and the need to choose between them with a special value of the methods field, when the initialize pass fails for some reason, simply do not create the channel so there's nothing that needs closing. Then the methods field no longer holds anything used, so eliminate it. All the methods checking is done by [chan create]. | |||||
* | | [d19a30db57] Fixed segfault in [clock] internals. Includes test. | dgp | 2014-04-16 | 1 | -15/+21 | |
|\ \ | |/ | ||||||
| * | merge fork: Segmentation fault using some functions of tcl::clock, fixed, ↵ | jan.nijtmans | 2014-04-16 | 1 | -18/+21 | |
| |\ | | | | | | | | | | belong to ticket [d19a30db57] | |||||
| | * | Segmentation fault using some functions of tcl::clock, fixed, belong to ↵ | sebres | 2014-04-16 | 1 | -18/+21 | |
| | | | | | | | | | | | | ticket [d19a30db57] | |||||
* | | | Fix compiler warnings in win32/cygwin build | jan.nijtmans | 2014-04-16 | 2 | -6/+14 | |
|\ \ \ | |/ / | ||||||
| * | | Fix compiler warnings in win32/cygwin build. | jan.nijtmans | 2014-04-16 | 2 | -6/+14 | |
| |/ | ||||||
* | | Remove unused variable, don't use deprecated function, some formatting. | jan.nijtmans | 2014-04-16 | 1 | -1/+1 | |
| | | ||||||
* | | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵ | jan.nijtmans | 2014-04-16 | 1 | -0/+6 | |
|\ \ | |/ | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x) | |||||
| * | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵ | jan.nijtmans | 2014-04-16 | 1 | -0/+6 | |
| | | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x) | |||||
* | | Purge the (now unused) argc and argv fields. | dgp | 2014-04-15 | 1 | -124/+4 | |
|\ \ | |/ | ||||||
| * | Purge (now unused) argc and argv fields. | dgp | 2014-04-15 | 1 | -107/+3 | |
| | | ||||||
* | | [88aef05cda] Stop reentrancy segfault in reflected channels by managing | dgp | 2014-04-15 | 1 | -2/+20 | |
|\ \ | |/ | | | | | callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could use cleanup and improvements. |