summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixSock.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2020-09-171-4/+4
|\
| * Change version number of http package from 2.9.5 -> 2.10.0a1, since it's ↵jan.nijtmans2020-09-171-4/+4
| |\ | | | | | | | | | | | | different from the 2.9.5 version in Tcl 8.6.x. Use "$idx >= 0" check in stead of "$idx > -1" everywhere.
| | * Eliminate many unnecessary type-casts, mostly (size_t) when value is already ↵jan.nijtmans2020-08-111-1/+1
| | | | | | | | | | | | size_t or int
| | * Merge-mark 8.5. Remove some ARGSUSED usage.jan.nijtmans2020-04-171-5/+0
| | |\
* | | \ Merge 8.7jan.nijtmans2020-04-151-1/+1
|\ \ \ \ | |/ / /
| * | | Merge 8.6jan.nijtmans2020-04-151-1/+1
| |\ \ \ | | |/ /
| | * | Merge 8.5jan.nijtmans2020-04-151-1/+1
| | |\ \ | | | |/
* | | | merge 8.7dgp2020-04-011-1/+48
|\ \ \ \ | |/ / /
| * | | merge 8.6dgp2020-04-011-1/+48
| |\ \ \ | | |/ /
| | * | fixes [f583715154] - tclUnixSock.c: introduced ThreadActionProc considering ↵sebres2020-03-311-1/+48
| | | | | | | | | | | | | | | | a transfer of async-connecting channel between threads; cherry-picked some prevention against invalid thread owner addressed in [815e246806]
* | | | merge 8.7dgp2020-03-171-5/+0
|\ \ \ \ | |/ / /
| * | | TIP 569 - remove lint commentsdgp2020-03-171-5/+0
| | | |
* | | | merge 8.7dgp2020-03-091-16/+6
|\ \ \ \ | |/ / /
| * | | TCL_UNUSED in the unix sources.dgp2020-03-091-16/+6
| | | |
* | | | Merge 8.7jan.nijtmans2020-03-051-13/+6
|\ \ \ \ | |/ / /
| * | | Merge 8.6jan.nijtmans2020-03-051-13/+6
| |\ \ \ | | |/ /
| | * | Move setting of interpreter error-message from tclUnixSock.c to tclIO.c, ↵jan.nijtmans2020-03-051-31/+30
| | | | | | | | | | | | | | | | | | | | since the same should be done for all channel types. (Thanks, Don, for noticing this!) Also, ENOTCONN for a half-close should not be fatal, just a EINVAL, when doing it as part of a full close. See: [65c9cd1534]
* | | | merge 8.7dgp2020-03-041-3/+11
|\ \ \ \ | |/ / /
| * | | merge 8.6dgp2020-03-041-3/+11
| |\ \ \ | | |/ /
| | * | The close routines of the "tcp" channel type were failing to record errordgp2020-03-041-1/+10
| | | | | | | | | | | | messages and error codes.
* | | | Merge 8.7jan.nijtmans2020-02-281-3/+3
|\ \ \ \ | |/ / /
| * | | Implement TIP #562: Deprecate channel types 1-4jan.nijtmans2020-02-281-0/+4
| |\ \ \
| | * | | Make Tcl_ChannelCloseProc() deprecated too. Implement close2Proc and ↵jan.nijtmans2020-01-311-0/+4
| | | | | | | | | | | | | | | | | | | | wideSeekProc for all internal channel types.
* | | | | Merge 8.7jan.nijtmans2020-02-281-47/+54
|\ \ \ \ \ | |/ / / /
| * | | | Merge 8.7jan.nijtmans2020-02-131-20/+10
| |\ \ \ \ | | |/ / /
| * | | | Mark more unused parametersjan.nijtmans2019-09-031-2/+9
| | | | |
| * | | | Experiment: compile Tcl with C++ compiler. WIPjan.nijtmans2019-07-041-45/+45
| | | | |
* | | | | Merge 8.7jan.nijtmans2020-01-301-5/+6
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge 8.6jan.nijtmans2020-01-301-5/+6
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Reset WSAGetLastError()/errno always, even when this error is not reported ↵jan.nijtmans2020-01-301-5/+6
| | | | | | | | | | | | | | | | | | | | due to the earlier error.
* | | | | Merge 8.7jan.nijtmans2020-01-301-17/+6
|\ \ \ \ \ | |/ / / /
| * | | | Merge 8.6jan.nijtmans2020-01-301-17/+6
| |\ \ \ \ | | |/ / / | | | / / | | |/ / | |/| |
| | * | According to the ↵jan.nijtmans2020-01-301-17/+6
| | | | | | | | | | | | | | | | [https://core.tcl-lang.org/tcl/artifact?udc=1&ln=469-471&name=5ac7827cd282bbda|documentation], close2Proc(...., 0) should operate the same as closeProc(). Fix the UNIX/Windows socket channels to behave like that.
| * | | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-1/+1
| | | | | | | | | | | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | | | More size_t-related consolidations. Now regexp can handle strings >2GB and ↵jan.nijtmans2019-02-051-3/+3
| | | | | | | | | | | | | | | | more. Remove many type-casts which are not necessary any more.
* | | | Another (big) round of int -> size_t enhancements. So Tcl can handle string ↵jan.nijtmans2019-02-011-1/+2
|\ \ \ \ | |/ / / | | | | | | | | >2GiB in more places.
* | | | Fix encoding handling (check for TCL_IO_FAILURE was wrong). Eliminate ↵jan.nijtmans2018-11-221-2/+2
| | | | | | | | | | | | | | | | (size_t) type casts and use of ckalloc() -> Tcl_Alloc()
* | | | Implement TIP 445dgp2018-11-131-6/+9
|\ \ \ \ | |/ / /
| * | | merge 8.7dgp2018-10-181-3/+3
| |\ \ \
| * \ \ \ merge 8.7dgp2017-12-191-1/+1
| |\ \ \ \
| * \ \ \ \ merge trunkdgp2017-09-011-1/+5
| |\ \ \ \ \
| * \ \ \ \ \ merge trunkdgp2017-06-161-3/+3
| |\ \ \ \ \ \
| * \ \ \ \ \ \ merge trunkdgp2017-05-081-1/+1
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ merge trunkdgp2017-04-271-6/+28
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ merge trunkdgp2017-04-111-129/+199
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ merge trunkdgp2017-01-121-8/+31
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ merge trunkdgp2016-11-161-3/+3
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Reduce direct use of the tclEmptyStringRep.dgp2016-10-121-6/+9
| | | | | | | | | | | | |
* | | | | | | | | | | | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | | | | | | | | | | | | merge 8.7jan.nijtmans2018-06-251-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / |/| | | | | | | | | / / / | | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | |