Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| |/ | |||||
* | | 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. | ||||
| * | [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) | ||||
| * | Fix test failure socket-2.9: "1 {not owner}" instead of "1 {couldn't open ↵ | oehhar | 2014-04-01 | 1 | -9/+8 |
| | | | | | | | | socket address already in use}" by only setting returned error message if not jet set. | ||||
| * | Set return message in close if a flush error is reported (which may be an ↵ | oehhar | 2014-04-01 | 1 | -2/+13 |
| | | | | | | | | error from a background flush). Ticket [97069ea11a] | ||||
* | | 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. | ||||
| * | Minimal patch to fix iocmd-23.11. Might not be the best fix, but is *a* fix. | dgp | 2014-03-27 | 2 | -3/+22 |
| | | |||||
* | | 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 |
| | | |||||
* | | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵ | jan.nijtmans | 2014-02-10 | 16 | -72/+69 |
| | | | | | | | | | | Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW] | ||||
* | | [a4494e28ed] Use flag bit instead of NULL pointer to suppress | dgp | 2014-02-06 | 2 | -10/+30 |
|\ \ | |/ | | | | | | | | | teardown list of imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace. | ||||
| * | Change the flag value to avoid merge conflict with trunk. | dgp | 2014-02-06 | 1 | -1/+1 |
| | | |||||
| * | [a4494e28ed] Use flag bit instead of NULL pointer to suppress teardown list of | dgp | 2014-02-06 | 2 | -10/+30 |
| | | | | | | | | | | imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace. | ||||
* | | check for existance of __BORLANDC__ before using its value | jan.nijtmans | 2014-02-06 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Check for existance of __BORLANDC__ before using its value | jan.nijtmans | 2014-02-06 | 1 | -1/+1 |
| | | |||||
* | | Simplify the core output operations of channels. Reduce duplicative and dead ↵ | dgp | 2014-02-04 | 3 | -591/+68 |
|\ \ | |/ | | | | | code. | ||||
| * | Be sure to finalize the identity encoding.dgp_optimize_output_stage | dgp | 2014-02-04 | 1 | -0/+1 |
| | | |||||
| * | merge 8.5 | dgp | 2014-02-03 | 1 | -3/+5 |
| |\ | |||||
| * | | Simplify macro typecasting. | dgp | 2014-01-31 | 1 | -6/+3 |
| | | | |||||
| * | | The "channel" Tcl_ObjType is caching only. It never needs an UpdateString ↵ | dgp | 2014-01-31 | 1 | -46/+6 |
| | | | | | | | | | | | | | | | routine. It's also static to the tclIO.c file. | ||||
| * | | Do not call updateStringProc directly. We have TclGetString() for that. | dgp | 2014-01-31 | 1 | -10/+1 |
| | | | |||||
| * | | Refactor to eliminate the DoWriteChars() layer. | dgp | 2014-01-30 | 1 | -64/+22 |
| | | |