summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
Commit message (Collapse)AuthorAgeFilesLines
* Combine flags and testFlags in TcpState. That should unbreak socket testcase ↵jan.nijtmans2022-09-081-11/+4
| | | | failure
* Merge 8.6jan.nijtmans2022-09-071-114/+113
|\
| * code cleanup (backported from 8.7)jan.nijtmans2022-09-071-308/+458
| |
* | Merge 8.6. Primarily ticket [55a02f20ec]apnadkarni2022-09-051-4/+4
|\ \ | |/
| * typo'sjan.nijtmans2022-09-031-3/+3
| |
| * Eliminate many unnecessary type-casts, mostly (size_t) when value is already ↵jan.nijtmans2020-08-111-1/+1
| | | | | | | | size_t or int
* | Make a start converting -1 -> TCL_INDEX_NONE where appropriatejan.nijtmans2022-07-191-2/+2
| |
* | TclWinConvertError -> Tcl_WinConvertErrorjan.nijtmans2021-03-091-18/+18
| |
* | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-1/+1
| | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | merge 8.6dgp2020-04-301-1/+1
|\ \ | |/
| * Win: use physical host DNS name instead cluster name. Ticket [da235271f1]oehhar2020-04-301-1/+1
| |
| * Merge-mark 8.5. Remove some ARGSUSED usage.jan.nijtmans2020-04-171-7/+0
| |\
| | * Unbreak shared windows build. Remove some ARGSUSED usage.jan.nijtmans2020-04-171-3/+0
| | |
| | * win socket -async: do not loose connect notification by temporarily stop ↵oehhar2014-05-301-6/+14
| | |\ | | | | | | | | | | | | connect monitoring. Bug [336441ed59]
| | | * Try not to loose FD_CONNECT by switching monitoring off.oehhar2014-05-291-5/+9
| | |/
* | | TIP 569 - remove lint commentsdgp2020-03-171-7/+0
| | |
* | | TCL_UNUSED for win sources.dgp2020-03-091-13/+6
| | |
* | | 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-261-3/+3
|\ \ \ \
| * \ \ \ Merge 8.6jan.nijtmans2020-02-241-3/+3
| |\ \ \ \ | | |/ / / | |/| / / | | |/ /
| | * | Fix [da235271f1]: [info hostname] on Windows is limited to max NetBIOS name ↵jan.nijtmans2020-02-211-3/+3
| | | | | | | | | | | | | | | | length
* | | | Merge 8.7jan.nijtmans2020-02-131-19/+11
|\ \ \ \ | |/ / /
| * | | 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.6jan.nijtmans2020-01-301-16/+7
| |\ \ \ | | |/ /
| | * | According to the ↵jan.nijtmans2020-01-301-16/+7
| | | | | | | | | | | | | | | | [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.
| * | | Merge 8.6jan.nijtmans2019-09-201-2/+2
| |\ \ \ | | |/ /
| | * | Let's use GetWindowLongW/SetWindowLongW on Win32 directly. Missed them ↵jan.nijtmans2019-09-201-2/+2
| | | | | | | | | | | | | | | | because they are not used in Win64.
* | | | More Win32 API impovals.jan.nijtmans2019-09-201-8/+8
| | | |
* | | | Merge 8.7jan.nijtmans2019-09-191-11/+11
|\ \ \ \ | |/ / /
| * | | Merge 8.6jan.nijtmans2019-09-191-2/+2
| |\ \ \ | | |/ /
| | * | Some more *A() -> *W() Win32 API changes, making Unicode calls Explicit.jan.nijtmans2019-09-191-23/+23
| | | |
| * | | Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without ↵jan.nijtmans2019-09-191-9/+9
| |\ \ \ | | |/ / | | | | | | | | -DUNICODE)
| | * | TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since ↵jan.nijtmans2019-09-181-8/+8
| | | | | | | | | | | | | | | | we are impicitly compiling with -DUNICODE
* | | | Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵jan.nijtmans2019-09-051-4/+13
|\ \ \ \ | |/ / / | | | | | | | | Windows) without -Wunused-parameters warnings
| * | | Use *WChar* in stead of *Char16* functions on Windows, always. It's actually ↵jan.nijtmans2019-08-031-1/+1
| | | | | | | | | | | | | | | | the same, but more consistent.
* | | | Merge tip-548 (since using the *WChar* functions leads to less type-casts in ↵jan.nijtmans2019-08-031-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | c++) Als finish implementaton for MacOSX
| * | | Merge 8.7. Documentation improvements and code cleanup. Approaching finish.jan.nijtmans2019-08-011-2/+1
| |\ \ \
| * | | | Rename UTF-related functions to "WChar" and "Char16" variants, more ↵jan.nijtmans2019-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | intuitive because they represent wchar_t and char16_t (since C++11) types in modern compilers.
| * | | | Improvement: always export both 16-bit and 32-bit UTF functionjan.nijtmans2019-07-051-1/+1
| | | | |
| * | | | TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide ↵jan.nijtmans2019-06-031-1/+2
| |/ / / | | | | | | | | | | | | more flexible replacement functions
* | | | Merge 8.7. Continue implementation for win32jan.nijtmans2019-08-021-27/+27
|/ / /
* | | Change TCHAR -> WCHAR in many places, since that's what it is since Windows NTjan.nijtmans2019-03-111-2/+2
| | |
* | | merge 8.6jan.nijtmans2018-06-251-10/+10
|\ \ \ | |/ /
| * | Simplify ToUtf(), expecially for TCL_UTF_MAX>3 (with correct surrogate ↵jan.nijtmans2018-06-251-8/+8
| | | | | | | | | | | | | | | handling). Fix various typo's
* | | Revert a few more (int -> size_t) transitions, which could effect extensions ↵jan.nijtmans2017-12-151-1/+1
| | | | | | | | | | | | | | | (such as Itcl 3.4) which use internal Tcl header files. Better wait until 9.0 for this. What we _can_ do is change some (internal) fields to 'unsigned': that doubles the epoch range without further danger. Thanks, Don, for pointing this out!
* | | unbreak windows build (by previous commit)jan.nijtmans2017-04-111-1/+1
| | |
* | | More minor style fixes.dkf2017-04-101-76/+74
| | |
* | | Merge Harald's "robust-async-connect-tests" branch. Thanks!jan.nijtmans2017-04-101-1/+28
|\ \ \