summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
Commit message (Collapse)AuthorAgeFilesLines
* 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:
| | * * win/tclWinSerial.c (SerialCloseProc): correct mem leak onhobbs2003-05-111-1/+3
| | | | | | | | | | | | closing a Windows serial port [Bug #718002] (schroedter)
| * | Various CYGWIN-related fixesnijtmans2010-01-311-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | backported from HEAD. Still configure script not modified, so CYGWIN build is still disabled. Reason: although the build succeeds with those changes, many tests still fail.
* | | Fix various gcc-4.5.2 64-bit warning messages,nijtmans2011-01-251-2/+2
| | | | | | | | | | | | e.g. by using full 64-bits for socket fd's
* | | Various clean-ups, converting from tclWinProc->xxxProc directly to Xxxnijtmans2010-09-131-4/+4
| | | | | | | | | | | | (no change in functionality)
* | | Unnecessary type casts, See Tcl [Patch #2997087]nijtmans2010-05-111-2/+2
| | | | | | | | | | | | Don't duplicate CYGWIN timezone #define from tclPort.h in tclWinPort.h
* | | reverted earlier rename from tcl*Stubs tonijtmans2010-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | tcl*ConstStubs, it's not necessary at all. tclEnsemble.c: Fix signed-unsigned mismatch make tclWinProcs "const" Add first part of mslu support, See [Feature Request #2819611]
* | | Fix TCL_LL_MODIFIER for Cygwinnijtmans2010-01-131-10/+8
| | | | | | | | | | | | | | | and various other minor CYGWIN compilation problems
* | | * win/tclWinDde.c: VC++ 6.0 doesn't havenijtmans2010-01-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * win/tclWinReg.c PDWORD_PTR * win/tclWinThrd.c: Fix various minor gcc warnings. * win/tclWinTime.c * win/tclWinConsole.c Put channel type definitions * win/tclWinChan.c in static const memory * win/tclWinPipe.c * win/tclWinSerial.c * win/tclWinSock.c * generic/tclIOGT.c * generic/tclIORChan.c * generic/tclIORTrans.c * unix/tclUnixChan.c * unix/tclUnixPipe.c * unix/tclUnixSock.c * unix/configure (regenerated with autoconf 2.59) * tests/info.test: Make test independant from tcltest implementation.
* | | Style improvements - invoking callbacks without visual junk.dkf2008-10-261-4/+4
| | |
* | | * win/tclWinChan.c: Fix minor compiler warnings whennijtmans2008-10-141-2/+2
| | | | | | | | | | | | | | | | | | | | | * win/tclWinDde.c: compiling wit -Wwrite-strings * win/tclWinInit.c: * win/tclWinReg.c: * win/tclWinSerial.c:
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-12/+12
|/ /
* | * win/tclWinSerial.c (SerialCloseProc, TclWinOpenSerialChannel):hobbs2008-01-141-3/+4
| | | | | | | | use critical section for read & write side. [Bug 1353846] (newman)
* | Replaced commas in varargs with string concatenation where possible [Patch ↵Kevin B Kenny2007-04-201-5/+5
| | | | | | | | 1515234]
* | * doc/CrtChannel.3: Added TCL_CHANNEL_VERSION_5, made itandreas_kupries2006-03-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: the version where the "truncateProc" * generic/tclIO.c: is defined at, and moved all channel * generic/tclIOGT.c: drivers of Tcl to v5. * generic/tclIORChan.c: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * win/tclWinChan.c: * win/tclWinConsole.c: * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c:
* | Cleanup and ANSIfydkf2005-10-311-154/+176
| |
* | win/tclWinSerial.c (SerialSetOptionProc): free argv [Bug 1067708]hobbs2005-10-051-24/+34
| |
* | Getting more systematic about styledkf2005-07-241-330/+359
| |
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | 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:
* | * win/tclWinSerial.c (SerialErrorStr): Fixed a syntax errorpatthoyts2003-08-191-2/+2
| | | | | | | | created in the previous code cleanup.
* | Style guide policedkf2003-08-191-1093/+1144
| |
* | * win/tclWinSerial.c (SerialCloseProc): correct mem leak onhobbs2003-05-111-1/+3
|/ | | | closing a Windows serial port [Bug #718002] (schroedter)
* * win/tclWinSerial.c (SerialOutputProc): add casts forhobbs2003-01-161-4/+4
| | | | bytesWritten to allow strict compilation (no warnings).