summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* * win/tclWin32Dll.c (squelch_warnings): Squelchmdejong2003-01-161-12/+14
| | | | | | | | | | | | | | | | | | | | | | compiler warnings from SEH ASM code. * win/tclWinChan.c (squelch_warnings): Squelch compiler warnings from SEH ASM code. * win/tclWinDde.c: Add casts to avoid compiler warnings. Pass pointer to DWORD instead of int to avoid compiler warnings. * win/tclWinFCmd.c (squelch_warnings): Add casts and fixup decls to avoid compiler warnings. Squelch compiler warnings from SEH ASM code. * win/tclWinFile.c: Add casts and fixup decls to avoid compiler warnings. Remove unused variable. * win/tclWinNotify.c: Declare as DWORD instead of int to avoid compiler warning. * win/tclWinReg.c: Add casts to avoid compiler warning. Fix assignment in if expression bug. * win/tclWinSerial.c: Add casts to avoid compiler warnings. Remove unused variable. * win/tclWinSock.c: Add casts and fixup decls to avoid compiler warnings.
* * win/tclWinConsole.c:davygrvy2002-11-261-41/+85
| | | | | | | | | | | | | | | | * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * win/tclWinThrd.c: * win/tclWinTime.c: General cleanup of all worker threads used by the channel drivers. Eliminates the normal case where the worker thread is terminated ('cept the winsock one). Instead, use kernel events to signal a clean exit. Only when the worker thread is blocked on an I/O call is the thread terminated. Essentially, this makes all other channel worker threads behave like the PipeReaderThread() function for it's cleaner exit behavior. This appears to fix [Bug 597924] but needs 3rd party confirmation to close the issue.
* * generic/tclEvent.c (TclInExit, TclInThreadExit):mdejong2002-11-071-4/+4
| | | | | | | | | | | | | | | Split out functionality of TclInExit to make it clear which one should be called in each situation. * generic/tclInt.decls: Declare TclInThreadExit. * generic/tclIntDecls.h: Regen. * generic/tclStubInit.c: Regen. * mac/tclMacChan.c (StdIOClose): * unix/tclUnixChan.c (FileCloseProc): * win/tclWinChan.c (FileCloseProc): * win/tclWinConsole.c (ConsoleCloseProc): * win/tclWinPipe.c (TclpCloseFile): * win/tclWinSerial.c (SerialCloseProc): Invoke the new TclInThreadExit method instead of TclInExit.
* Made variable static.dkf2002-07-191-2/+6
|
* * [Patch 505630] Updated interfaces of generic/tclBasic.cc (TIP 27).dgp2002-01-251-2/+2
| | | | | | | * [Patch 506818] Updated interfaces of generic/tclHash.c (TIP 27). * [Patch 506807] Updated interfaces of generic/tclObj.c (TIP 27). * [Patch 507304] Updated interfaces of win/tclWin32.c (TIP 27). * Update all callers.
* Corrections to earlier TIP 27 changes.dgp2002-01-241-2/+2
| | | | Thanks to Andreas Kupries for the feedback.
* * Updated APIs in the file generic/tclIO.c according to the guidelinesdgp2002-01-151-9/+9
| | | | | | | | | | | of TIP 27. Several minor documentation corrections as well. * Updated channel driver interface according to the guidelines of TIP 27. See also [Bug 500348]. * Moved Tcl_EolTranslation enum declaration from generic/tcl.h to generic/tclInt.h (renamed to TclEolTranslation). It is not used anywhere in Tcl's public interface.
* * win/tclWinSerial.c (SerialSetOptionProc): Applied patch for SFandreas_kupries2002-01-111-15/+8
| | | | | | | bug #500348 supplied by Rolf Schroedter <schroedter@users.sourceforge.net>. The function modified the contents of the the 'value' string and now does not do this anymore. This is a followup to the change made on 2001-12-17.
* * win/tclWinSerial.c (SerialCheckProc): corrected timehobbs2001-12-191-5/+6
| | | | calculations to be unsigned. (schroedter)
* * Applied #219311 on behalf of Rolf Schroedterandreas_kupries2001-12-171-4/+34
| | | | | <schroedter@users.sourceforge.net> to prevent fcopy on serial ports from flooding the event queue.
* * win/tclWinChan.c:hobbs2001-10-151-243/+1071
| | | | | | * win/tclWinPort.h: * win/tclWinSerial.c: added TIP #35 Windows enhancements for serial configuration. [Patch #438509] (schroedter)
* * win/tclWinConsole.c:mdejong2001-07-161-2/+1
| | | | | | | | | | * win/tclWinPipe.c: * win/tclWinPort.h: * win/tclWinSerial.c: * win/tclWinThrd.c: Remove unnecessary #includes of dos.h, direct.h, and tchar.h. This will help the Cygwin porting effort since these headers do not exist under Cygwin.
* * win/tclWinSerial.c (SerialGetOptionProc): corrected reporting ofhobbs2000-09-291-2/+2
| | | | space parity on Windows (Eason) [Bug 6057].
* up-port of the stacked channel implementation rewrite in 8.3.2 tohobbs2000-09-281-11/+15
| | | | 8.4a2 code base, merged in with some existing new 8.4a2 features.
* * win/tclWinSerial.c: cast cleanup [Bug: 5626]hobbs2000-05-221-3/+3
|
* * win/tclWinSerial.c: adopted patch from Schroedter to handlehobbs1999-11-241-13/+104
| | | | fconfigure $sock -lasterror on Windows. [RFE: 3368]
* * {win,mac,unix,tools,}/README:hobbs1999-10-051-2/+2
| | | | | | | | | | | | * win/README.binary: * win/makefile.vc: * {win,unix}/configure.in: * generic/tcl.h: * library/init.tcl: updated to 8.3a1 from 8.2.0. * win/tclWinReg.c: fixed registry command to properly 'get' HKEY_PERFORMANCE_DATA root key data. Needs more work. * win/tclWinSerial.c: changed SerialSetOptionProc to return TCL_OK by default. (patch from Rolf Schroedter)
* Applied patch to remove compiler warning.redman1999-08-121-47/+48
|
* * doc/open.n: Added documentation of \\.\comX notation for openingredman1999-07-221-91/+149
| | | | | | | | | | | serial ports on Windows (alternative to comX:). * tests/ioCmd.test: * doc/open.n: * win/tclWinSerial.c: Applied patch from Rolf Schroedter to add -pollinterval option to fconfigure to modify the maxblocktime used in the fileevent polling. Added documentation and fixed the test case as well.
* New windows serial port driver.redman1999-07-071-805/+478
| | | | [Bug 1980 2217]
* Resynced with mainline.rjohnson1999-04-211-1/+1
|
* Merge with 8.1.0 branchredman1999-04-211-32/+10
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-0/+1401