summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
Commit message (Collapse)AuthorAgeFilesLines
* Disable C4090 warning; See: ↵jan.nijtmans2022-05-221-0/+1
| | | | [https://developercommunity.visualstudio.com/t/c-compiler-incorrect-propagation-of-const-qualifie/39071]
* Merge 8.5jan.nijtmans2021-08-231-1/+0
|\
| * Code formattingjan.nijtmans2021-08-231-4/+2
| |
* | Fix implib filenames (adapted from Mingw2's 006-proper-implib-name.mingw.patch)jan.nijtmans2020-10-291-4/+0
|\ \ | |/ | | 3 new testcases
| * Slight tweak to previous commit: Move definition of __USE_MINGW_ANSI_STDIO ↵jan.nijtmans2020-10-291-4/+0
| | | | | | | | to the Makefile
| * (cherry-pick): Fix [c975939973]: Usage of gnu_printf in latest mingw-w64. jan.nijtmans2020-10-221-0/+4
| | | | | | Change (internal, windows-only) TCL_I_MODIFIER to TCL_Z_MODIFIER, since that's how it's called in Tcl 8.7 and up
| * (cherry-pick): Fix [014ade1d44]: Misleading error message when using "-path" ↵jan.nijtmans2020-10-091-3/+3
| | | | | | | | | | multiple times with "glob". Also fix a few (harmless) -Wundef warnings
* | Fix [c975939973]: Usage of gnu_printf in latest mingw-w64jan.nijtmans2020-10-211-0/+4
| |
* | Eliminate warnings when compiling with -Wundefjan.nijtmans2020-10-081-3/+3
| |
* | Merge 8.5jan.nijtmans2020-08-121-1/+3
|\ \ | |/
| * Update .travis.yml: remove deprecated "sudo" and rename "matrix" to "jobs"jan.nijtmans2020-08-121-1/+3
| | | | | | Fix travis build for Windows/Debug
| * Only use OPTS=msvcrt in combination with "static", otherwise it's a NOOP. ↵jan.nijtmans2019-12-161-0/+1
| | | | | | | | Disable pragma warning:C4146 (backported from 8.6), since it only gives misleading warnings.
* | rules.vc: No need to redefine values which are already the default. ↵jan.nijtmans2020-06-121-2/+1
| | | | | | | | tclWinPort.h: Fix comment
* | Even more uppercase HEX representations in source-codejan.nijtmans2020-03-221-2/+2
| |
* | Fix Travis build for MSVC Debug modejan.nijtmans2019-12-131-0/+1
| |
* | Enhance rules.vc like already done in other configure scripts: Determine ↵jan.nijtmans2019-11-281-1/+1
| | | | | | | | HAVE_STDINT_H/HAVE_INTTYPES_H/HAVE_STDBOOL_H/MP_NO_STDINT the simple way, just by compiler version.
* | Use <inttypes.h> header-file on windows when available, just as on UNIXjan.nijtmans2019-11-111-0/+3
|\ \ | |/
| * On win32, include <inttypes.h> if available, just as on UNIX. jan.nijtmans2019-11-111-5/+11
| | | | | | Disable compiler warning C4244 on all Microsoft compiler versions, not just the latest ones.
* | Don't let Tcl compilation depend on USE_32BIT_TIME_T any more: Microsoft ↵jan.nijtmans2019-09-071-5/+1
|\ \ | |/ | | | | | | could discontinue this macro any moment, then we are prepared .... As a bonus: time_t is now allowed to be 64-bit internally, without effect on the C API (like stub-enabled extensions)
| * Don't let Tcl depend on USE_32BIT_TIME_T any more: If your compiler supports ↵jan.nijtmans2019-09-061-5/+1
| | | | | | | | | | it, time_t will be 64-bit internally. But at API-level, time_t will still be restricted to 32-bit on Win32 (Not on Win64). This keeps Tcl_StatBuf the same (unless USE_64BIT_TIME_T is defined), so 64-bit times still cannot be used everywhere.
* | Fix [4718b41c56]: windows x86 & x64: file mtime overflows in modification ↵jan.nijtmans2019-09-051-1/+1
| | | | | | | | date (2038?, windows 32-bit time_t?)
* | integrate branch bug-4718b41c56, revert/rebuild win/configure (2.69 in ↵sebres2019-07-121-1/+6
|\ \ | |/ | | | | tcl8.6), conflicts resolved, etc
| * little tweaks, makeing it possible to use either _USE_64BIT_TIME_T or ↵jan.nijtmans2019-07-101-10/+7
| | | | | | | | | | __MINGW_USE_VC2005_COMPAT interchangably. Put some more remarks, making it more clear what the effect of this is.
| * win/x86: compat fix, 64-bit time_t for 32-build is optional now (via ↵sebres2019-07-101-4/+6
| | | | | | | | configure/make option time64bit or define _USE_64BIT_TIME_T)
| * fixes [4718b41c56] for windows x86 (mingw / MSVC versions with CRT ↵sebres2019-07-081-3/+8
| | | | | | | | supporting 64-bit time_t)
| * squelch some warnings on higher Visual Studio versions: we are not going to ↵jan.nijtmans2018-10-291-0/+2
| | | | | | | | bother on this any more.
* | Squelch C4244 warning on any MSVC compiler.jan.nijtmans2019-06-251-3/+5
| |
* | merge 8.5jan.nijtmans2018-05-141-0/+3
|\ \ | |/
| * Unbreak build when HAVE_FTS is not set. jan.nijtmans2018-05-141-0/+3
| | | | | | Move definitions of Tcl_DirEntry and TclDIR to tclWinPort.h, where it actually belongs
* | Allow additional optional "interp" argument for testinterpresolver command. ↵jan.nijtmans2016-09-051-1/+1
| | | | | | | | | | | | Not used yet in any test-case. Protect panic in tclLiteral.c for possible null-pointer access. (cherry-picked from Gustaf Neuman's interpresolver patch). Eliminate some unecessary spacing.
* | 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)