summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify use of "struct" keyword in many places.jan.nijtmans2016-06-301-2/+2
|
* Code-cleanup: CONST -> const, don't use macro's like __REG_CONST and types ↵jan.nijtmans2015-12-211-1/+1
| | | | like re_void any more. No change in functionality.
* Simplify NativeIsComPort() implementation: native paths never end in ':', ↵jan.nijtmans2014-11-131-20/+12
| | | | and never use forward slashes (any more), so no need to check for that.
* Better errormessage when file path contains invalid characters.jan.nijtmans2014-11-031-0/+5
|\
| * Better errormessage when file path contains invalid characters. See: ↵jan.nijtmans2014-11-031-0/+5
| | | | | | | | [03414f517b7a74].
* | Added comments raising questions about possible updates to channeldgp2014-03-211-0/+4
| | | | | | drivers on Windows.
* | Do not reopen a win serial channel for serial detection. There are issues ↵oehhar2014-02-251-2/+101
|\ \ | |/ | | | | with some Bluetooth virtual com. Fix bug [2413550], patch by Rolf Schroedter
| * Changed position of flag evaluation as proposed by Phil Hoffmanbug_2413550oehhar2014-02-111-18/+18
| |
| * win/tclWinChan.c Tcl_InitNotifier: Bug [2413550] Avoid reopening of serial ↵oehhar2014-01-301-2/+149
| | | | | | | | channels which causes issues with Bluetooth virtual com. Patch by Rolf Schroedter.
* | Fix compilation with latest MinGW-w64 version 3.0: Conflict on ↵jan.nijtmans2013-10-021-23/+6
|\ \ | |/ | | | | EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64.
| * Fix compilation with latest MinGW-w64 version 3.0: Conflict on ↵jan.nijtmans2013-10-021-23/+6
| | | | | | | | EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64.
| * 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
| |
| * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-2/+2
| |\
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-9/+8
| | |
| | * ifdef protections to permit builds with mingw on amd64 systems.jan.nijtmans2011-03-111-6/+10
| | | | | | | | | | | | Thanks to "mescalinum" for reporting and testing. Merged --cherrypick from Tcl8.5 (2010-09-08,48191d3979)
* | | Fixes to my previous commit, from Francois Vogel. (My thanks and apologies!)dkf2012-08-051-1/+1
| | |
* | | Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-7/+9
| | |
* | | More generation of error codes (most platform-specific parts not already usingdkf2011-04-061-0/+2
| | | | | | | | | Tcl_PosixError).
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-3/+3
| | | | | | | | | 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/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
| | * * win/tclWinChan.c: [Bug 819667] Improve logic for identifying COMhobbs2006-08-301-51/+52
| | | | | | | | | | | | ports.
| | * bug #1225957Kevin B Kenny2005-06-231-113/+100
| | |
| | * TIP#218 IMPLEMENTATIONandreas_kupries2005-01-271-73/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/tclWinChan.c (FileCloseProc): Invokemdejong2005-01-191-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | TclpCutFileChannel() to remove a FileInfo from the thread local list before deallocating it. This should have been done via an earlier call to Tcl_CutChannel, but I was running into a crash in the next call to Tcl_CutChannel during the IO finalization stage.
| | * * win/tclWin32Dll.c (DllMain, _except_dllmain_detach_handler,mdejong2004-06-211-7/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclpCheckStackSpace, _except_checkstackspace_handler, TclWinCPUID, _except_TclWinCPUID_detach_handler): * win/tclWinChan.c (Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Rework pushing of exception handler function pointer so that compiling with gcc -O3 works. Remove empty function call to avoid compiler warning. Mark the DllMain function as noinline to avoid compiler error from duplicated asm labels in generated code.
| * | fix gcc warnings: unused variable 'registration'nijtmans2010-11-191-2/+2
| | |
| * | * win/tclWin32Dll.c: #ifdef protections to permit builds withdgp2010-09-081-8/+11
| | | | | | | | | | | | | | | * win/tclWinChan.c: mingw on amd64 systems. Thanks to "mescalinum" * win/tclWinFCmd.c: for reporting and testing.
| * | installData.tcl: Make sure that copyDir only receives normalized paths.nijtmans2010-05-211-6/+6
| | | | | | | | | | | | | | | | | | tclPlatDecls.h: Fix <tchar.h> inclusion for CYGWIN. tclPathObj.c: Fix Tcl_SetStringObj usage for CYGWIN. *.c: Fix various minor other gcc warnings, like signed<->unsigned mismatch.
| * | * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> * tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
* | | Fix various gcc-4.5.2 64-bit warning messages,nijtmans2011-01-251-3/+3
| | | | | | | | | | | | e.g. by using full 64-bits for socket fd's
* | | fix gcc warnings: unused variable 'registration'nijtmans2010-11-191-2/+2
| | |
* | | Various clean-ups, converting from tclWinProc->xxxProc directly to Xxxnijtmans2010-09-131-3/+3
| | | | | | | | | | | | (no change in functionality)
* | | * win/tclWinChan.c: #ifdef protections to permit builds withdgp2010-09-081-8/+11
| | | | | | | | | | | | | | | * win/tclWinFCmd.c: mingw on amd64 systems. Thanks to "mescalinum" for reporting and testing. [Bug 3059922]
* | | Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-221-2/+2
| | | | | | | | | | | | Eliminate various unnecessary type casts.
* | | don't cast away "const" without reason.nijtmans2010-03-161-2/+2
| | |
* | | * 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.
* | | Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-181-6/+6
| | |
* | | 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:
* | | * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> * tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-20/+19
|/ /
* | Complete the purge of K&R function definitions from manually-written code.dkf2007-04-161-6/+8
| |
* | * win/tclWinChan.c [Bug 819667] Improve logic for identifying COMhobbs2006-08-301-51/+52
| | | | | | | | ports.
* | * doc/CrtChannel.3: Added TCL_CHANNEL_VERSION_5, made itandreas_kupries2006-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: