| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
closing a Windows serial port [Bug #718002] (schroedter)
|
|
|
|
| |
bytesWritten to allow strict compilation (no warnings).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
* [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.
|
|
|
|
| |
Thanks to Andreas Kupries for the feedback.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
calculations to be unsigned. (schroedter)
|
|
|
|
|
| |
<schroedter@users.sourceforge.net> to prevent fcopy on serial
ports from flooding the event queue.
|
|
|
|
|
|
| |
* win/tclWinPort.h:
* win/tclWinSerial.c: added TIP #35 Windows enhancements for
serial configuration. [Patch #438509] (schroedter)
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
space parity on Windows (Eason) [Bug 6057].
|
|
|
|
| |
8.4a2 code base, merged in with some existing new 8.4a2 features.
|
| |
|
|
|
|
| |
fconfigure $sock -lasterror on Windows. [RFE: 3368]
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
[Bug 1980 2217]
|
| |
|
| |
|
|
|