summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
Commit message (Collapse)AuthorAgeFilesLines
* TclWinConvertError -> Tcl_WinConvertErrorjan.nijtmans2021-03-091-12/+12
|
* 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.
* 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.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.
* | TCL_UNUSED for win sources.dgp2020-03-091-9/+4
| |
* | 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-01-071-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
* | | 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
|/ /
* | Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we ↵jan.nijtmans2019-06-291-1/+1
| | | | | | | | always compile in UNICODE mode.
* | Change TCHAR -> WCHAR in many places, since that's what it is since Windows NTjan.nijtmans2019-03-111-3/+3
| |
* | 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.
* | 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
| |\
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-9/+8
| | |
| | * ifdef protections to permit builds with mingw on amd64 systems.jan.nijtmans2011-03-111-6/+10
| | | | | | | | | | | | Thanks to "mescalinum" for reporting and testing. Merged --cherrypick from Tcl8.5 (2010-09-08,48191d3979)
* | | Fixes to my previous commit, from Francois Vogel. (My thanks and apologies!)dkf2012-08-051-1/+1
| | |
* | | Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-7/+9
| | |
* | | More generation of error codes (most platform-specific parts not already usingdkf2011-04-061-0/+2
| | | | | | | | | Tcl_PosixError).
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-3/+3
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | MSVC 6 does not have the %I modifier in sprintfjan.nijtmans2011-03-071-1/+1
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.