summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
Commit message (Collapse)AuthorAgeFilesLines
* More internal use of size_t. Eliminate unused "isBin" argument from ↵jan.nijtmans2016-12-011-1/+1
| | | | TclpSysAlloc()
* merge trunkjan.nijtmans2016-11-161-1/+1
|\
| * 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.
* | merge trunkjan.nijtmans2016-08-301-1/+1
|\ \ | |/
| * 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.
* | merge trunkdgp2016-07-091-0/+14
|\ \ | |/
| * Bugfix [ae61a67192]. file {stat, type, size} etc. support for built-in ↵ashok2016-07-091-0/+14
| | | | | | | | special Windows files/devices like CON.
* | Merge trunkjan.nijtmans2014-10-081-4/+4
|\ \ | |/
| * 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.
* | | merge trunk. jan.nijtmans2014-04-161-9/+0
|\ \ \ | |/ / | | | Remove (internal) functions TclWinGetServByName(), TclWinGetSockOpt() and TclWinSetSockOpt(), which are no longer needed for any purpose.
| * | 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)
* | | merge trunkjan.nijtmans2013-06-181-11/+5
|\ \ \ | |/ /
| * | 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.
* | | merge trunk (except for disabled MSVC warnings, see [48b92a6ab6])jan.nijtmans2013-06-121-4/+6
|\ \ \ | |/ /
| * | 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
| | |