summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Disable buffer recycling to expose bugs for fixing.dgp2014-04-251-1/+1
|
* [3493120] Plug memory leak in thread exit.dgp2014-04-233-2/+34
|\
| * Memory leak after thread exit, fixed (alloc cache released by exit), belong ↵sebres2014-04-223-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.
* | Add refcounting and preservation to [testchannel transform] to stop segfaultdgp2014-04-221-47/+75
|/ | | in test iogt-2.4.
* Added a refcounting mechanism to ChannelBuffers. Other edits todgp2014-04-213-8/+46
| | | stop segfaults in tests iocmd-21.2[12].
* Reflected channels. Keep a set of method names cached so we don't createdgp2014-04-171-40/+43
| | | new each operation, and we can benefit from any lookup info cached in intreps.
* Simplify reflected channels.dgp2014-04-171-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].
* merge fork: Segmentation fault using some functions of tcl::clock, fixed, ↵jan.nijtmans2014-04-161-18/+21
|\ | | | | | | belong to ticket [d19a30db57]
| * Segmentation fault using some functions of tcl::clock, fixed, belong to ↵sebres2014-04-161-18/+21
| | | | | | | | ticket [d19a30db57]
* | Fix compiler warnings in win32/cygwin build.jan.nijtmans2014-04-162-6/+14
|/
* Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-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 (now unused) argc and argv fields.dgp2014-04-151-107/+3
|
* [88aef05cda] Stop reentrancy segfault in reflected channels by managingdgp2014-04-151-2/+20
| | | | callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could use cleanup and improvements.
* Fix test failure socket-2.9: "1 {not owner}" instead of "1 {couldn't open ↵oehhar2014-04-011-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 ↵oehhar2014-04-011-2/+13
| | | | error from a background flush). Ticket [97069ea11a]
* Minimal patch to fix iocmd-23.11. Might not be the best fix, but is *a* fix.dgp2014-03-272-3/+22
|
* Change the flag value to avoid merge conflict with trunk.dgp2014-02-061-1/+1
|
* [a4494e28ed] Use flag bit instead of NULL pointer to suppress teardown list ofdgp2014-02-062-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 valuejan.nijtmans2014-02-061-1/+1
|
* Be sure to finalize the identity encoding.dgp_optimize_output_stagedgp2014-02-041-0/+1
|
* merge 8.5dgp2014-02-031-3/+5
|\
| * Fix [4b3b7a3082]: tcl8.5.15/generic/tclExecute.c:7713: array index before ↵jan.nijtmans2014-01-311-3/+5
| | | | | | | | sanity check ?
* | Simplify macro typecasting.dgp2014-01-311-6/+3
| |
* | The "channel" Tcl_ObjType is caching only. It never needs an UpdateString ↵dgp2014-01-311-46/+6
| | | | | | | | | | routine. It's also static to the tclIO.c file.
* | Do not call updateStringProc directly. We have TclGetString() for that.dgp2014-01-311-10/+1
| |
* | Refactor to eliminate the DoWriteChars() layer.dgp2014-01-301-64/+22
| |
* | Eliminate DoWrite(). It duplicates WriteBytes().dgp2014-01-301-163/+2
| |
* | Trial: Implement DoWrite() as WriteBytes().dgp2014-01-301-0/+4
| |
* | Simplification and cleanup enabled by last commit.dgp2014-01-301-301/+7
| |
* | Refactor WriteChars() and WriteBytes() into simple wrappers of a commondgp2014-01-303-13/+39
|/ | | routine Write().
* The outputStage field is now unused, so never allocate it.dgp2014-01-281-29/+0
|
* tidy things updgp2014-01-281-194/+17
|
* Working code with no staging buffer use.dgp2014-01-281-31/+97
|
* WIPdgp2014-01-281-0/+69
|
* Eliminate the copy to a staging buffer when that serves no functional purpose.dgp2014-01-241-10/+12
|
* Silence compiler warnings.dgp2014-01-211-6/+6
|
* Cygwin: Fix conflicting definition with _mingw_stat64.h, if included ↵jan.nijtmans2013-11-221-1/+1
| | | | together with <tcl.h>
* Fix [e832d2b08]: unnecessary code in Tcl_SetMaxBlockTime.jan.nijtmans2013-11-161-5/+1
|
* Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-045-15/+25
| | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h it was no problem, because tcl.h already contains those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
* [3556215]: Made [scan] match [format] better in what it accepts as a formatdkf2013-10-221-0/+6
| | | string, by allowing uppercase %X, %E and %G.
* Fix execute permission on many files which shouldn't have it.jan.nijtmans2013-10-171-0/+0
|
* Update to Unicode 6.3 tablesjan.nijtmans2013-10-092-108/+110
|
* [d614d63989] Ensure that there are no trailing colons as that causes chaos ↵dkf2013-09-251-24/+59
| | | | when a deleteProc is specified.
* Line numbers wrong in compiled [global] and [variable].dgp2013-09-191-6/+12
|
* Line numbers wrong in compiled [namespace upvar].dgp2013-09-191-4/+4
|
* Line numbers wrong in compiled [upvar].dgp2013-09-191-8/+8
|
* Line numbers wrong in compiled [dict update].dgp2013-09-191-1/+1
|
* Line numbers wrong in compiled [dict for].dgp2013-09-191-1/+1
|
* Line numbers wrong in compiled [dict get].dgp2013-09-191-4/+3
|
* Stop segfault due to OBOE in CompileWord() calls in [dict incr] compiler.dgp2013-09-191-1/+1
|