Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Salvaged what was left of value in the dgp-read-bytes-detour branch. | dgp | 2014-05-13 | 1 | -79/+97 | |
|\ | | | | | | | | | | | | | Refactored much management of the BLOCKED and EOF flags into ChanRead() then began repairing some of the logic about them. Tests iogt-2.* now fail because they've been crafted as experiments recording the fine detail of reflected channel driver calls, and fixing the management of channel flags is changing that. | |||||
| * | missing declarationdgp_read_bytes_detour | dgp | 2014-03-21 | 1 | -0/+1 | |
| | | ||||||
| * | Fixup ChanRead() header. Note (dstSize > 0) precondition. | dgp | 2014-03-21 | 1 | -2/+8 | |
| | | ||||||
| * | Documentation header for ChanRead() | dgp | 2014-03-21 | 1 | -2/+23 | |
| | | ||||||
| * | Both callers of ChanRead() have simlar epilogs. Shift that into ChanRead | dgp | 2014-03-20 | 1 | -73/+50 | |
| | | | | | | and refactor. | |||||
* | | Test iocmd-32.1 is not "impossible" but after writing it properly it | dgp | 2014-05-09 | 1 | -1/+11 | |
| | | | | | | does segfault trying to use a deleted interp. Fixed. | |||||
* | | Merge the reforms of dgp-read-bytes branch into 8.5+ releases. | dgp | 2014-05-08 | 5 | -862/+704 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Large overhaul of I/O read operations - Protects integer overflow of buffers, reusing append machinery - Forces -buffersize changes to take place when commanded - Uses assertions to simplify code in "can't happen" situations - Eliminated duplication of -translation processing - Fixes bugs io-35.18b and io-35.20 | |||||
| * \ | Merge 8.5.dgp_read_bytes | dgp | 2014-05-08 | 3 | -9/+27 | |
| |\ \ | |/ / |/| | | ||||||
* | | | Stop leak in iocmd-21.22. | dgp | 2014-05-08 | 1 | -0/+1 | |
| | | | ||||||
* | | | Stop leaks of cloned Tcl_ChannelTypes. | dgp | 2014-05-07 | 1 | -8/+20 | |
| | | | ||||||
* | | | Stop leak in io-53.5. | dgp | 2014-05-07 | 1 | -0/+1 | |
| | | | ||||||
* | | | Stop leak in io-33.7. | dgp | 2014-05-06 | 1 | -1/+2 | |
| | | | ||||||
* | | | Stop memory leak in io-29.34 | dgp | 2014-05-06 | 1 | -0/+2 | |
| | | | ||||||
* | | | Stop memory leak in io-29.27. | dgp | 2014-05-06 | 1 | -0/+1 | |
| | | | ||||||
| * | | merge 8.5 | 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 | |
| | | | ||||||
| * | | Merge GotFlag() backport from 8.5. Conflicts galore! | dgp | 2014-05-05 | 1 | -90/+82 | |
| |\ \ | |/ / |/| | | ||||||
* | | | Backport "GotFlag" macro from Tcl 8.6. Makes code more readable. No change ↵ | jan.nijtmans | 2014-05-05 | 1 | -97/+89 | |
| | | | | | | | | | | | | in functionality. | |||||
| * | | merge 8.5 | dgp | 2014-05-02 | 1 | -2/+59 | |
| |\ \ | |/ / |/| | | ||||||
* | | | Backport channel self restacking support. (Test iogt-2.4). | dgp | 2014-05-02 | 1 | -2/+59 | |
|\ \ \ | ||||||
| * | | | 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). | |||||
| | | | | | ||||||
| | | \ \ | ||||||
| | *-. \ \ | Merge in the fixes for improper ChannelBuffer sharing via recycling. | dgp | 2014-05-01 | 1 | -8/+27 | |
| | |\ \ \ \ | ||||||
| | * | | | | | [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 | |
| | |\ \ \ \ \ | ||||||
| * | | | | | | | 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 | |
| |\ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ | Merge the [testchannel transform] fixes. | dgp | 2014-04-22 | 1 | -47/+75 | |
| |\ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ | Merge refcounting machinery for ChannelBuffer. | dgp | 2014-04-21 | 3 | -8/+46 | |
| |\ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ | Merge reflected channel improvements. | dgp | 2014-04-17 | 1 | -95/+50 | |
| |\ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ | [d19a30db57] Fixed segfault in [clock] internals. Includes test. | dgp | 2014-04-16 | 1 | -15/+21 | |
| |\ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ | 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) | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ | Purge the (now unused) argc and argv fields. | dgp | 2014-04-15 | 1 | -124/+4 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ | [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. | |||||
| * | | | | | | | | | | | | | | | [e663138a06] Fix the new INST_NUM_TYPE instruction so that the boundary | dgp | 2014-04-14 | 1 | -6/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cases of [string is] on integral values are computed right. Code is now correct, though still suffers from a large amount of ugly. | |||||
| * | | | | | | | | | | | | | | | Fix bug [e663138a06]: Test failures in "string is" | jan.nijtmans | 2014-04-10 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | Fix for Bug [97069ea11a]: Set return message in close if a flush error is ↵ | oehhar | 2014-04-04 | 1 | -1/+11 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reported (which may be an error from a background flush) | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge minimal fix for iocmd-23.11. | dgp | 2014-03-28 | 2 | -10/+30 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | | | | | | | | | | | | | | | | Simplify macro handling in tclOO*Decls.h, just as already done in "novem" ↵ | jan.nijtmans | 2014-02-26 | 3 | -69/+55 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [0c37ab8944], itcl*Decls.h and tdbc*Decls.h. This doesn't change the way symbols are exported. This simplifications were already present in the Tcl 8.6.2 headers, but those were buggy when tclOO was linked in statically without using stubs. | |||||
| * | | | | | | | | | | | | | | | | | [8d5f5b8034] Flush internal representations in [string tolower] of unshared obj | dkf | 2014-02-25 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | Fix execute permission bit (should not be set) for *Decls.h files | jan.nijtmans | 2014-02-11 | 5 | -0/+0 | |
| | | | | | | | | | | | | | | | | | |