summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
Commit message (Collapse)AuthorAgeFilesLines
* Little code tweaks, regarding the use of TCL_UTF_MAX or wchar_t.jan.nijtmans2019-12-121-1/+1
|
* 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
* | 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.7, and fix build problem on Windowsjan.nijtmans2019-04-071-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
* | | Implement -closemodedkf2019-03-271-5/+80
|/ /
* | 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 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
| | |
* | | More generation of error codes (most platform-specific parts not already usingdkf2011-04-061-13/+52
| | | | | | | | | Tcl_PosixError).
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-9/+9
| | | | | | | | | 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.
| | * * win/tclWinSerial.c (SerialCloseProc, TclWinOpenSerialChannel):hobbs2008-01-141-3/+4
| | | | | | | | | | | | use critical section for read & write side. [Bug 1353846] (newman)
| | * win/tclWinSerial.c (SerialSetOptionProc): free argv [Bug 1067708]hobbs2005-10-051-424/+429
| | |
| | * TIP#218 IMPLEMENTATIONandreas_kupries2005-01-271-15/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and * generic/tcl.h: implementation. Removal of old * generic/tclIO.c: driver-specific TclpCut/Splice * generic/tclInt.h: functions. Replaced with generic * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * mac/tclMacChan.c: