summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7 (resolve conflicts)dgp2021-01-081-8/+8
|\
| * Omit -Wdeclaration-after-statement from CFLAGS: No longer needed since we ↵jan.nijtmans2021-01-081-8/+8
| | | | | | | | | | stopped support for MSVC 6++ Change Tcl_WideInt -> long long in various places: Tcl_WideInt could be a 128-bit type, we don't want that everywhere.
* | Merge 8.7jan.nijtmans2020-12-081-1/+1
|\ \ | |/
| * 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.7jan.nijtmans2020-03-221-3/+3
|\ \ | |/
| * Merge 8.6jan.nijtmans2020-03-221-3/+3
| |\
| | * Even more uppercase HEX representations in source-codejan.nijtmans2020-03-221-3/+3
| | |
| | * Implement WideSeekProc() for all channels which have a SeekProc(). Implement ↵jan.nijtmans2020-03-041-2/+16
| | | | | | | | | | | | | | | Close2Proc() for all channels, as minimal wrapper around CloseProc(). Backported (with comments) and adapted from core-8-branch.
* | | merge 8.7dgp2020-03-091-9/+4
|\ \ \ | |/ /
| * | TCL_UNUSED for win sources.dgp2020-03-091-9/+4
| | |
* | | Merge 8.7jan.nijtmans2020-02-281-86/+11
|\ \ \ | |/ /
| * | Implement TIP #562: Deprecate channel types 1-4jan.nijtmans2020-02-281-5/+17
| |\ \
| | * | Make Tcl_ChannelCloseProc() deprecated too. Implement close2Proc and ↵jan.nijtmans2020-01-311-4/+10
| | | | | | | | | | | | | | | | wideSeekProc for all internal channel types.
| | * | Merge 8.7jan.nijtmans2020-01-301-1/+8
| | | |
* | | | Merge 8.7jan.nijtmans2020-02-281-17/+22
|\ \ \ \ | |/ / /
| * | | Merge 8.7jan.nijtmans2020-01-071-3/+3
| |\ \ \ | | |/ /
| * | | Merge 8.7jan.nijtmans2019-09-191-2/+2
| |\ \ \
| * \ \ \ Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵jan.nijtmans2019-09-051-4/+9
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Windows) without -Wunused-parameters warnings
| * | | | | Merge 8.7. Continue implementation for win32jan.nijtmans2019-08-021-13/+13
| |/ / / /
* | | | | Merge 8.7jan.nijtmans2019-12-231-3/+3
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge 8.6jan.nijtmans2019-12-231-3/+3
| |\ \ \ \ | | |_|/ / | |/| | / | | | |/ | | |/|
| | * | Workaround for [ce3b9f2b04]: compilation errors with clang (windows msys2)jan.nijtmans2019-12-231-3/+3
| | | |
* | | | Merge 8.7jan.nijtmans2019-09-191-2/+2
|\ \ \ \ | |/ / /
| * | | Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without ↵jan.nijtmans2019-09-191-2/+2
| |\ \ \ | | |/ / | | | / | | |/ | |/| -DUNICODE)
| | * TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since ↵jan.nijtmans2019-09-181-5/+5
| | | | | | | | | | | | we are impicitly compiling with -DUNICODE
* | | Merge 8.7jan.nijtmans2019-06-291-1/+1
|\ \ \ | |/ /
| * | Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we ↵jan.nijtmans2019-06-291-1/+1
| | | | | | | | | | | | always compile in UNICODE mode.
* | | Merge 8.7jan.nijtmans2019-03-111-3/+3
|\ \ \ | |/ /
| * | Change TCHAR -> WCHAR in many places, since that's what it is since Windows NTjan.nijtmans2019-03-111-3/+3
| | |
* | | merge trunkjan.nijtmans2018-09-131-5/+5
|\ \ \ | |/ /
| * | Eliminate the use of macro's like LLONG_MAX|MIN, since they assume that ↵jan.nijtmans2018-09-131-5/+5
| | | | | | | | | | | | Tcl_WideInt equals "long long". Also eliminate uses of Tcl_WideAsLong() and friends, as - often - simple type cases make things more clear.
* | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-3/+3
|/ / | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | merge trunkjan.nijtmans2017-06-121-64/+81
|\ \
| * | Make trunk compile on MSVC (problem was: warning C4554: '&' : check operator ↵fvogel2017-04-291-1/+1
| | | | | | | | | | | | precedence for possible error; use parentheses to clarify precedence)
| * | [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-271-64/+81
| |\ \ | | |/ | | | | | | zlib channel transform.
* | | merge trunkjan.nijtmans2017-04-121-1/+1
|/ /
* | Simplify use of "struct" keyword in many places.jan.nijtmans2016-06-301-2/+2
|/
* Code-cleanup: CONST -> const, don't use macro's like __REG_CONST and types ↵jan.nijtmans2015-12-211-1/+1
| | | | like re_void any more. No change in functionality.
* Simplify NativeIsComPort() implementation: native paths never end in ':', ↵jan.nijtmans2014-11-131-20/+12
| | | | and never use forward slashes (any more), so no need to check for that.
* Better errormessage when file path contains invalid characters.jan.nijtmans2014-11-031-0/+5
|\
| * Better errormessage when file path contains invalid characters. See: ↵jan.nijtmans2014-11-031-0/+5
| | | | | | | | [03414f517b7a74].
* | Added comments raising questions about possible updates to channeldgp2014-03-211-0/+4
| | | | | | drivers on Windows.
* | Do not reopen a win serial channel for serial detection. There are issues ↵oehhar2014-02-251-2/+101
|\ \ | |/ | | | | with some Bluetooth virtual com. Fix bug [2413550], patch by Rolf Schroedter
| * Changed position of flag evaluation as proposed by Phil Hoffmanoehhar2014-02-111-18/+18
| |
| * win/tclWinChan.c Tcl_InitNotifier: Bug [2413550] Avoid reopening of serial ↵oehhar2014-01-301-2/+149
| | | | | | | | channels which causes issues with Bluetooth virtual com. Patch by Rolf Schroedter.
* | Fix compilation with latest MinGW-w64 version 3.0: Conflict on ↵jan.nijtmans2013-10-021-23/+6
|\ \ | |/ | | | | EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64.
| * Fix compilation with latest MinGW-w64 version 3.0: Conflict on ↵jan.nijtmans2013-10-021-23/+6
| | | | | | | | EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64.
| * and don't forget the %jan.nijtmans2012-07-081-1/+1
| |
| * add TCL_I_MODIFIER and use it in the correct placesjan.nijtmans2012-07-081-1/+1
| |
| * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-2/+2
| |\