summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
Commit message (Collapse)AuthorAgeFilesLines
* Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-161-1/+1
| | | | type-casts which are not necessary any more.
* Don't ever allow UTF-8 sequences of more than 4 characters to be generated ↵jan.nijtmans2016-08-301-1/+1
| | | | | or parsed, even when TCL_UTF_MAX>4: According to current Unicode standard, a byte string of >4 characters can never form a single UTF-8 character. And a few minor micro-optimizations related to UTF-8 handling.
* Bugfix [ae61a67192]. file {stat, type, size} etc. support for built-in ↵ashok2016-07-091-0/+14
| | | | special Windows files/devices like CON.
* Fix [59a2e78e54d3361c33b8cd6eef55d384d8abecd7|59a2e78e54] : tclWinTime.c ↵jan.nijtmans2014-10-081-4/+4
|\ | | | | | | | | does not compile with MSVC14. Eliminate use of __MINGW32__ macro everywhere, as it is deprecated.
| * Fix [59a2e78e54d3361c33b8cd6eef55d384d8abecd7|59a2e78e54] : tclWinTime.c ↵jan.nijtmans2014-10-081-4/+4
| | | | | | | | | | does not compile with MSVC14. Eliminate use of __MINGW32__ macro everywhare, as it is deprecated.
* | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-9/+0
|\ \ | |/ | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
| * Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-9/+0
| | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
* | Fix [42b8083613]jan.nijtmans2013-06-171-8/+4
| |
* | Don't use deprecated stricmp/strnicmp any more, but underscored variant for ↵jan.nijtmans2013-06-141-5/+3
|\ \ | |/ | | | | | | non-GNU compilers. Some formatting - improved comments.
| * Don't use deprecated stricmp/strnicmp any more, but underscored variant for ↵jan.nijtmans2013-06-141-5/+3
| | | | | | | | non-GNU compilers.
* | Silence various warnings when doing a 64-bit build with MSVC: Those warnings ↵jan.nijtmans2013-06-121-2/+7
|\ \ | |/ | | | | | | can only _really_ be fixed in "novem" (so, don't silence them there). Use vsnprintf (more portable) in stead of _vsnprintf, except on MSVC
| * Silence various warnings when doing a 64-bit build with MSVC: Those warnings ↵jan.nijtmans2013-06-121-4/+6
| | | | | | | | can only _really_ be fixed in "novem" (so, don't silence them there)
* | Improve compatibility detection for <time.h> and <sys/stat.h>: jan.nijtmans2013-06-111-2/+1
|\ \ | |/ | | | | - Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. - Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly.
| * Improve compatibility detection for <time.h> and <sys/stat.h>: jan.nijtmans2013-06-111-2/+1
| | | | | | | | - Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. - Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly.
* | Remove wrapper macro for ntohs(): unnecessary, because it doesn't require an ↵jan.nijtmans2012-08-201-1/+0
|\ \ | |/ | | | | initialized winsock_2 library
| * Remove wrapper macro for ntohs(): unnecessary, because it doesn't require an ↵jan.nijtmans2012-08-201-1/+0
| | | | | | | | initialized winsock_2 library
* | fix two minor blunders, introduced by [1fb35ca910]jan.nijtmans2012-08-061-1/+1
| | | | | | Only define _USE_32BIT_TIME_T for Tcl build, and only once.
* | Reference to correct Bug #number. jan.nijtmans2012-08-061-1/+1
|\ \ | |/ | | Fix warning in winDde.c, and more test-cases using Unicode characters
| * Reference to correct Bug #numberjan.nijtmans2012-08-061-1/+1
| |\
* | \ [Bug 3511806] Compiler checks too earlyjan.nijtmans2012-03-301-6/+1
|\ \ \ | |/ / | | | (autoconf still to be run!)
| * | [Bug 3511806] Compiler checks too earlyjan.nijtmans2012-03-301-6/+1
| |\ \ | | |/ | | | (autoconf still to be run!)
| | * [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-201-36/+3
| | | | | | | | | (backported from Tcl 8.5)
* | | se lower numbers, preventing integer overflow in tclWinError.cjan.nijtmans2012-03-271-17/+25
| | |
* | | [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-151-43/+8
|\ \ \ | |/ /
| * | xjan.nijtmans2012-03-151-46/+9
| | |
* | | DWORD_PTR typedef after <windows.h>jan.nijtmans2012-03-071-6/+6
|\ \ \ | |/ /
| * | DWORD_PTR typedef after <windows.h>jan.nijtmans2012-03-071-4/+4
| |\ \ | | |/
| | * DWORD_PTR typedef after <windows.h>jan.nijtmans2012-03-071-6/+6
| | |
* | | Compatibility with older Visual Studio versionsjan.nijtmans2012-03-061-0/+6
|\ \ \ | |/ /
| * | Compatibility with older Visual Studio versionsjan.nijtmans2012-03-061-0/+6
| |\ \ | | |/
| | * Compatibility with older Visual Studio versionsjan.nijtmans2012-03-061-0/+6
| | |
* | | mingw doesn't have LABEL_SECURITY_INFORMATION definitionjan.nijtmans2012-02-031-0/+4
|\ \ \ | |/ /
| * | mingw doesn't have LABEL_SECURITY_INFORMATION definitionjan.nijtmans2012-02-031-0/+4
| |\ \ | | |/
| | * mingw doesn't have LABEL_SECURITY_INFORMATION definitionjan.nijtmans2012-02-031-0/+4
| | |
* | | Bug-3474726 minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-211-8/+2
|\ \ \ | |/ /
| * | Bug-3474726 minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-211-8/+2
| |\ \ | | |/
| | * [Bug-3474726] minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-191-8/+2
| | |
* | | [Bug 2935503] Windows: file mtime sets wrong time (VS2005+ only)jan.nijtmans2011-11-221-0/+5
|\ \ \ | |/ /
| * | [Bug 2935503] Windows: file mtime sets wrong time (VS2005+ only)jan.nijtmans2011-11-221-0/+5
| |\ \ | | |/
* | | [Bug 3407070] tclPosixStr.c won't build with EOVERFLOW==E2BIGjan.nijtmans2011-09-121-4/+4
|\ \ \ | |/ /
| * | [Bug 3407070] tclPosixStr.c won't build with EOVERFLOW==E2BIGjan.nijtmans2011-09-121-116/+82
| |\ \ | | |/
| | * Make compilable in Visual Studio againjan.nijtmans2011-09-121-0/+7
| | |
| | * [Bug 3407070] tclPosixStr.c won't build with EOVERFLOW==E2BIGjan.nijtmans2011-09-121-116/+75
| | |
* | | mingw64 compiler warnings. Reverse the detection of struct _stat32i64, jan.nijtmans2011-08-151-1/+1
|\ \ \ | |/ / | | | otherwise when mingw doesn't have it, tclTest.c cannot be compiled
| * | mingw64 compiler warnings. Reverse the detection of struct _stat32i64, jan.nijtmans2011-08-151-1/+1
| |\ \ | | |/ | | | otherwise when mingw doesn't have it, tclTest.c cannot be compiled
| | * [Bug 3388350] mingw64 compiler warnings. jan.nijtmans2011-08-151-1/+1
| | | | | | | | | | | | Reverse the detection of struct _stat32i64, otherwise when mingw doesn't have it, tclTest.c cannot be compiled
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-1/+1
| |\ \ | | |/
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-1/+1
| | |
* | | Fix tcl8.6b2/win/tclWinPort.h:122:10: error: redefinition of 'struct ↵jan.nijtmans2011-08-121-1/+1
| | | | | | | | | | | | __stati64' on newer mingw versions when compiling tktreectrl
* | | [Bug 3372130] Fix hypot math function with MSVC10jan.nijtmans2011-07-211-1/+3
|\ \ \ | |/ /