summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2019-12-121-1/+1
|\
| * Little code tweaks, regarding the use of TCL_UTF_MAX or wchar_t.jan.nijtmans2019-12-121-1/+1
| |
* | Merge 8.7jan.nijtmans2019-09-191-7/+7
|\ \ | |/
| * Merge 8.6jan.nijtmans2019-09-191-4/+4
| |\
| | * Some more *A() -> *W() Win32 API changes, making Unicode calls Explicit.jan.nijtmans2019-09-191-4/+4
| | |
| * | Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without ↵jan.nijtmans2019-09-191-3/+3
| |\ \ | | |/ | | | | | | -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-09-141-1/+2
|\ \ \ | |/ /
| * | Use *WChar* in stead of *Char16* functions on Windows, always. It's actually ↵jan.nijtmans2019-08-031-1/+1
| | | | | | | | | | | | the same, but more consistent.
| * | 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.7dkf2019-04-191-5/+80
|\ \ \ | |/ /
| * | Merge 8.7, and fix build problem on Windowsjan.nijtmans2019-04-071-8/+8
| |\ \
| * | | Implement -closemodedkf2019-03-271-5/+80
| | | |
* | | | Eliminate many (mostly harmless) MSVC warning messages. Tcl 9 compiles ↵jan.nijtmans2019-03-131-5/+5
| | | | | | | | | | | | | | | | warning-free now on MSVC.
* | | | Merge 8.7jan.nijtmans2019-03-111-8/+8
|\ \ \ \ | | |/ / | |/| |
| * | | Improve parsing of -xchar option for serial channels: Allow full 8-bit range ↵jan.nijtmans2019-03-111-8/+8
| |/ / | | | | | | | | | (correct UTF-8 handling), and let UNIX/win32 produce the same error-message in case of char > 0xFF
* | | Merge 8.7jan.nijtmans2018-11-221-1/+1
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2018-11-221-2/+2
| |\ \ | | |/ | | | In addition, tclWinSerial.c: Change back two internal variables from size_t -> int, shouldn't have been done here.
* | | merge trunkjan.nijtmans2018-10-041-1/+1
|\ \ \ | |/ /
* | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-11/+11
|/ / | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | merge 8.7jan.nijtmans2017-12-061-1/+1
|\ \
| * | Fix [8e1e31eac0fd6b6c4452bc108a98ab08c6b64588|8e1e31eac0]: lsort treats NUL ↵jan.nijtmans2017-11-301-1/+1
| | | | | | | | | | | | | | | chars strangely. Also fix various initializations, which only make a difference when TCL_UTF_MAX == 4. Add new test-cases which demonstrate the fix. For TCL_UTF_MAX == 4, surrogates will now be handled as expected as well when sorting.
* | | merge trunkjan.nijtmans2017-06-121-77/+16
|\ \ \ | |/ /
| * | merge core-8-6-branchjan.nijtmans2017-05-011-77/+16
| |\ \ | | |/
| | * merge core-8-6-branchjan.nijtmans2017-04-281-1/+1
| | |\
| | * | code review, robustness increase, avoid infinite wait by exit, thread exit ↵sebres2017-04-111-109/+15
| | | | | | | | | | | | | | | | | | | | | | | | and by pipes of closed processes); use pipe-helpers (TI-structure handling) for all pipe-workers (tclWinConsole, tclWinSerial);
| | * | the same handling to initialize thread without suspend/resume helpers ↵sebres2017-04-051-3/+3
| | | | | | | | | | | | | | | | (otherwise may be dangerous by very huge resp. too busy system);
| | * | small review: rewritten using already available event handles, additionally ↵sebres2017-04-051-18/+16
| | | | | | | | | | | | | | | | prevents infinite waits (using timeout 5000ms);
| | * | Contributed by "stanko" as patch within ↵sebres2017-04-051-3/+38
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | 8bd13f07bde6fb0631f27927e36461fdefe8ca95 Resolves blocking of pipes-thread (reader/writer) under huge last: Terminating threads during their initialization resp. teardown phase may result LoaderLock in the ntdll.dll's (to remain locked indefinitely). This causes ntdll.dll's LdrpInitializeThread() to deadlock trying to acquire LoaderLock. Possible fix for 9d75181ee70af318830e99ede6ebb5df72a9b079
* | | merge trunkjan.nijtmans2017-04-121-1/+1
|/ /
* | Simplify use of "struct" keyword in many places.jan.nijtmans2016-06-301-2/+2
|/
* Remove a number of eol-spaces. No change in functionality.jan.nijtmans2014-11-141-1/+1
|
* Do not reopen a win serial channel for serial detection. There are issues ↵oehhar2014-02-251-10/+15
|\ | | | | | | with some Bluetooth virtual com. Fix bug [2413550], patch by Rolf Schroedter
| * Do not reopen a win serial channel for serial detection. There are issues ↵oehhar2014-02-241-10/+15
| |\ | | | | | | | | | with some Bluetooth virtual com. Fix bug [2413550], patch by Rolf Schroedter
| | * win/tclWinChan.c Tcl_InitNotifier: Bug [2413550] Avoid reopening of serial ↵oehhar2014-01-301-10/+15
| |/ | | | | | | channels which causes issues with Bluetooth virtual com. Patch by Rolf Schroedter.
* | Map WSAEWOULDBLOCK to EWOULDBLOCK. Suggested by Reinhard Max.jan.nijtmans2013-11-161-2/+2
| |
* | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-101-2/+0
|\ \ | |/
| * Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-101-2/+0
| |
| * 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
| |
* | Don't use deprecated functionjan.nijtmans2012-11-161-1/+1
| |
* | fix two minor blunders, introduced by [1fb35ca910]jan.nijtmans2012-08-061-2/+2
| | | | | | Only define _USE_32BIT_TIME_T for Tcl build, and only once.
* | Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-81/+62
| |
* | Revert some cygwin-related signature changes from [835f8e1e9d] (2010-01-22).jan.nijtmans2012-03-231-1/+1
|\ \ | |/ | | | | | | | | | | They were an attempt to make the cygwin port compile again, but since cygwin is based on unix this serves no purpose any more. Use EAGAIN in stead of EWOULDBLOCK, because in VS10+ the value of EWOULDBLOCK is no longer the same as EAGAIN Add tclWinError.c to the CYGWIN build.
| * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
| |\
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-3/+1
| | |
* | | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-091-3/+1
|\ \ \ | |/ /
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-091-3/+1
| | |