summaryrefslogtreecommitdiffstats
path: root/win/tclWinInt.h
Commit message (Collapse)AuthorAgeFilesLines
* Do not reopen a win serial channel for serial detection. There are issues ↵oehhar2014-02-251-1/+1
|\ | | | | | | 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-1/+1
| | | | | | | | 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-0/+17
|\ \ | |/ | | | | 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-0/+17
| | | | | | | | EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64.
* | Better place to put vsnprintf switch, so it is usable by all *.c files. jan.nijtmans2013-06-181-6/+0
| | | | | | Fix comment on _ANSI_ARGS_ which is no longer true since 8.6.
* | MSVC 6.0 does not have the %I modifierjan.nijtmans2012-07-081-0/+6
|\ \ | |/
| * add TCL_I_MODIFIER and use it in the correct placesjan.nijtmans2012-07-081-0/+6
| |
* | Remove tclWinProcs, as it is no longer being usedjan.nijtmans2011-10-051-86/+0
| |
* | MSVC 6 does not have the %I modifier in sprintfjan.nijtmans2011-03-071-0/+6
| |
* | 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.
| | * Backported from 8.6 (see 2010-08-04).andreas_kupries2010-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | * win/tclWin32Dll.c (asciiProcs, unicodeProcs): * win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with * win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to prefer dependent DLLs in same dir as loaded DLL.
| | * backport of some file readable/writable fixes from HEADvincentdarley2006-03-101-1/+27
| | |
| | * * win/tclWin32Dll.c: Backported Anton Kovalenko's patch #1256872patthoyts2005-11-031-1/+15
| | | | | | | | | | | | | | | * win/tclWinConsole.c: to give unicode console support on * win/tclWinInt.h: suitable systems (eg: NT/XP)
| | * * win/tclWin32Dll.c (TclpCheckStackSpace): Kevin B Kenny2004-05-031-2/+2
| | | | | | | | | | | | | | | * tests/stack.test (stack-3.1): Fix for undetected stack overflow in TclReExec on Windows. [Bug 947070]
| | * define WIN32_CE platform infohobbs2004-03-211-1/+5
| | |
| | * filesystem fixes backportedvincentdarley2003-04-141-2/+7
| | |
| * | * win/tclWin32Dll.c (asciiProcs, unicodeProcs):hobbs2010-08-041-2/+2
| | | | | | | | | | | | | | | | | | * win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with * win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to prefer dependent DLLs in same dir as loaded DLL.
| * | Handle the GetUserName API call appropriately for wide/narrow versions. [Bug ↵patthoyts2009-07-011-1/+2
| | | | | | | | | | | | 2806622]
* | | Eliminate many tclWinProcs-> indirect calls, which are no longer needed.nijtmans2010-10-121-2/+2
| | | | | | | | | | | | Fix some MSVC 6.0 warnings
* | | mingw should always link with -ladvapi32nijtmans2010-09-091-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove ascii variant of tkWinPocs table, it is no longer necessary. Fix CreateProcess signature and remove unused GetModuleFileName and lstrcpy mingw/cygwin fixes: <tchar.h> should always be included, and fix conflict in various macro values: Always force the same values as in VC++.
* | | * win/tclWin32Dll.c (asciiProcs, unicodeProcs):hobbs2010-08-041-2/+2
| | | | | | | | | | | | | | | | | | * win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with * win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to prefer dependent DLLs in same dir as loaded DLL.
* | | test that tclOO stubs are present in stub librarynijtmans2010-03-071-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | Applied missing part of [Patch 2961556] Change all tclWinProcs signatures to use TCHAR* in stead of WCHAR*. This is meant as preparation to make [Enh 2965056] possible at all.
* | | reverted earlier rename from tcl*Stubs tonijtmans2010-02-151-58/+26
| | | | | | | | | | | | | | | | | | | | | | | | 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]
* | | Follow-up to [2010-01-29] commit:nijtmans2010-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prevent space within stub table function parameters if the parameter type is a pointer. Minor formatting, and VOID -> void. Change signature of TclNRInterpProcCore, and TclOONewProc(Instance|)MethodEx, indicating that errorProc is a function pointer tclVar.c: fixed two gcc warnings
* | | eliminate TclWinResetInterfaceEncodings, becausenijtmans2009-08-021-19/+18
| | | | | | | | | | | | | | | | | | it does exactly the same as TclWinEncodingsCleanup, make sure that tclWinProcs and tclWinTCharEncoding are always set and reset concurrently.
* | | Handle the GetUserName API call appropriately for wide/narrow versions. [Bug ↵patthoyts2009-07-011-1/+2
| | | | | | | | | | | | 2806622]
* | | More elimination of pre-C89-isms.dkf2008-05-021-35/+35
|/ /
* | * win/tclWin32Dll.c: Applied patch #1256872 to provide unicodepatthoyts2005-11-031-1/+18
| | | | | | | | | | * win/tclWinConsole.c: support in the console on suitable systems. * win/tclWinInt.h: Patch by Anton Kovalenko
* | * win/tclWinInt.h:davygrvy2004-11-031-33/+25
| | | | | | | | * win/tclWinPort.h: exported internals dropped by a count of 14.
* | Second part of fix for Bug 926106Kevin B Kenny2004-11-011-2/+2
| |
* | * win/tclWin32Dll.c (TclpCheckStackSpace): Kevin B Kenny2004-05-031-2/+2
| | | | | | | | | | * tests/stack.test (stack-3.1): Fix for undetected stack overflow in TclReExec on Windows. [Bug 947070]
* | Patch 922727 committed. Implements three changes:dgp2004-04-061-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* | filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-211-1/+2
| | | | | | | | variable names in
* | filesystem bug fixesvincentdarley2003-10-131-1/+26
| |
* | * win/tclWinInt.h (VER_PLATFORM_WIN32_CE): conditionally define.hobbs2003-04-181-1/+5
| | | | | | | | | | * win/tclWinInit.c: recognize Windows CE as a Win platform. This just recognizes CE - full support will come later.
* | fix 5 small filesystem bugs, and some typosvincentdarley2003-04-111-2/+7
|/
* finalization and test fixesvincentdarley2003-02-041-2/+3
|
* WinTcl crash on exit fixvincentdarley2003-01-101-1/+2
|
* non-ascii chars in file mtime fixvincentdarley2003-01-091-1/+4
|
* comments addedvincentdarley2002-10-291-1/+8
|
* vfs, winfs testsuitevincentdarley2002-06-131-1/+3
|
* fs clarification and windows fixesvincentdarley2002-06-121-2/+10
|
* * generic/tclAlloc.c:hobbs2002-04-231-1/+8
| | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclThreadAlloc.c (new): * unix/Makefile.in: * unix/tclUnixThrd.c: * win/Makefile.in: * win/tclWinInt.h: * win/tclWinThrd.c: added new threaded allocator contributed by AOL that significantly reduces lock contention when multiple threads are in use. Only Windows and Unix implementations are ready, and the Windows one may need work. It is only used by default on Unix for now, and requires that USE_THREAD_ALLOC be defined (--enable-threads on Unix will define this).
* win/tclWinInt.h: moved undef of TCL_STORAGE_CLASS. [Bug #478579]hobbs2002-03-221-3/+3
|
* win fs fixesvincentdarley2001-10-291-1/+4
|
* * generic/tclInt.decls: Also added 'TclWinFlushDirtyChannels' toandreas_kupries2001-09-101-3/+1
| | | | | | | | | | | the internal platform specific stub table. * win/tclWinFile.c (TclpObjStat): Now added the call to 'TclWinFlushDirtyChannels' to this function. I don't know where my head was last thursday (2001-09-06), but the call was actually added to 'TclpObjChdir', i.e. the implementation of [cd]. Corrected this now. Thanks to Vince Darley for spotting this.
* * All the changes below serve to fix bug [219148] which reports aandreas_kupries2001-09-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80x performance hit for file I/O on Win* systems. On my system it was closer to a 120x hit. Problem report by Uwe Traum <no email address available>. The fix goes like this: The obstacle is 'FlushFileBuffers', executed whenever Tcl writes data to the OS, as Tcl has to wait for the disk to complete I/O, and disks are slow. We remove that obstacle. This opens another problem, [file size] reports back wrong numbers. So for [file size] we add the call back in. As optimization we keep track of the channels which were written to and flush only these. * win/tclWinFile.c (TclpObjStat): Added a call to 'TclWinFlushDirtyChannels'. This ensures that [file size] and related commands report the correct size of a file even if Tcl has recently written to it. Unixoid OS's always report the correct size even for files with pending data, but Win* syssystem don't. They only report what is actually on disk. * win/tclWinInt.h: Added declaration of 'TclWinFlushDirtyChannels', making it available to other parts of the tcl core. * win/tclWinChan.c (TclWinFlushDirtyChannels): New, internal, procedure. Goes through the list of open file channels and forces the OS to flush its file buffers for all which were written to since the last call of this function. This is an expensive operation as Tcl has to wait for the OS to complete actual writes to the disk. (FileInfo): Added dirty flag required by the procedure above. (FileOutputProc): Removed flushing of file buffers, setting the dirty flag instead. This means that the previously incurred delays do not happen anymore. (TclWinOpenFileChannel): Added initialization of 'dirty' flag.
* Removed tclWinTCharEncoding (static variable in win/tclWin32Dll.c)dkf2001-03-261-2/+1
|