summaryrefslogtreecommitdiffstats
path: root/win/tclWinInit.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-121-3/+3
| | | corrections in history.tcl and tcltest.test.
* Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it ↵jan.nijtmans2023-03-301-58/+12
| | | | on other platforms either.
* Fix [0f19edcb78]: Windows 11 not reported in tcl_platform(osVersion)jan.nijtmans2023-01-041-0/+3
|
* Ticket [55a02f20ec] - fallback to USERPROFILE when setting HOME env on Windowsapnadkarni2022-09-051-1/+8
|
* Add support for windows-arm platformjan.nijtmans2022-02-071-42/+0
|
* Merge 8.5jan.nijtmans2021-02-231-5/+5
|\
| * Revise buffer-sizes used in GetModuleFileNameW() calls. Available ↵jan.nijtmans2021-02-231-6/+6
| | | | | | | | buffer-size reported to GetModuleFileNameW() was not always accurate
* | Merge 8.5: Add 4 processor-types to Win32/Cygwin. "platform" -> 1.0.16jan.nijtmans2021-01-051-2/+2
|\ \ | |/
| * Add 4 processor-types to Win32/Cygwin. On Cygwin, don't bother ↵jan.nijtmans2021-01-051-2/+2
| | | | | | | | tcl_platform[os], since "Windows NT" is the only one supported. "platform" -> 1.0.16
* | Merge 8.6jan.nijtmans2020-12-131-2/+2
|\ \
* | | Merge 8.6. Get CreateSymbolicLinkW symbol from kernel32.dll, since Windows ↵jan.nijtmans2020-12-111-0/+3
|/ / | | | | | | XP doesn't have it
* | More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in ↵jan.nijtmans2020-10-131-1/+1
| | | | | | | | stead of Tcl_NewIntObj()
* | Eliminate many unnecessary type-casts, mostly (size_t) when value is already ↵jan.nijtmans2020-08-111-2/+2
| | | | | | | | size_t or int
* | Fix [d402ffe76]: Win32 potential crash when using main(). Thanks to ↵jan.nijtmans2020-05-111-20/+11
| | | | | | | | Christian Werner for the Bug report and the Fix.
* | Make sure that "Windows NT" is the only supported Windows platform. On ↵jan.nijtmans2020-04-031-12/+4
| | | | | | | | Windows CE, no chance that Tcl 8.6 will ever run .... Windows XP is the minimum now.
* | Remove MODULE_SCOPE function TclpSetInterfaces(), which is just empty. jan.nijtmans2020-03-311-7/+6
| | | | | | Increase size of MSG structure in Cygwin Notifier: Should conform with Win32 size. Some related code cleanup.
* | Even more uppercase HEX representations in source-codejan.nijtmans2020-03-221-1/+1
| |
* | Merge 8.6. jan.nijtmans2020-03-131-1/+1
|\ \ | | | | | | Code review: Tcl 8.6 doesn't (need to) build with -DUNICODE -D_UNICODE any more, so things can be simplified. Good work, thanks!
* | | fix back-ported from tclSE (with several modifications due to conflicts and ↵sebres2020-03-131-2/+14
|/ / | | | | | | compat reasons)
* | Fix some gcc(-9) warnings caused by -Wcast-function-typejan.nijtmans2020-03-041-2/+2
| |
* | Fix [0b9332722a]: Support utf-8 on Windows consolejan.nijtmans2020-01-131-3/+9
| |
* | Some more *A() -> *W() Win32 API changes, making Unicode calls Explicit.jan.nijtmans2019-09-191-1/+1
| |
* | TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since ↵jan.nijtmans2019-09-181-7/+7
| | | | | | | | we are impicitly compiling with -DUNICODE
* | windows (mingw build): fix debug recognition (::tcl_platform(debug)), no ↵sebres2019-09-021-1/+1
| | | | | | | | debug if NDEBUG is set
* | Fix [8566dc22f9]: various spelling fixes in commentsjan.nijtmans2019-08-221-1/+1
|\ \ | |/
| * Fix [8566dc22f9]: various spelling fixes in commentsjan.nijtmans2019-08-221-1/+1
| |
* | Simplify ToUtf(), expecially for TCL_UTF_MAX>3 (with correct surrogate ↵jan.nijtmans2018-06-251-8/+11
| | | | | | | | | | handling). Fix various typo's
* | merge 8.5 (conflicts resolved, rewritten without winapi-stubs)sebres2018-05-281-11/+23
|\ \ | |/
| * optimized winapi-stubs loading (8.5th only); if user name specified without ↵sebres2018-05-251-11/+23
| | | | | | | | domain and equals the current user - try safest and fastest way to get current user-home path (without usage of netapi)
* | Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-031-14/+6
|\ \ | |/ | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
| * Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-031-4/+1
| | | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
* | merge core-8-6-branchjan.nijtmans2017-04-281-1/+1
|\ \
* | | shared structures of pipe-workers rewritten using atomic state of the thread; sebres2017-04-111-0/+20
|/ / | | | | | | asynchronous start/stop of pipe-workers (if possible), try the soft way to end workers using cancelSynchronousIo before it would be terminated;
* | Remove unused variable, don't use deprecated function, some formatting.jan.nijtmans2014-04-161-5/+5
| |
* | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-14/+10
|\ \ | |/ | | | | | | | | 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-14/+10
| | | | | | | | | | | | 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)
* | Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-041-2/+2
|\ \ | |/
| * Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-041-2/+2
| |
* | Add missing __stdcall (which crashes on win32), and clean-up indentingjan.nijtmans2014-02-041-10/+11
|\ \ | |/
| * Add missing __stdcall (which crashes on win32), and clean-up indentingjan.nijtmans2014-02-041-10/+11
| |
* | Fix [651e828a52]: Wrong Windows version reported for Windows 8.1jan.nijtmans2014-02-031-4/+14
|\ \ | |/
| * Fix [651e828a52]: Wrong Windows version reported for Windows 8.1jan.nijtmans2014-02-031-4/+14
| |
* | Starting with Windows 8 DSK, GetVersionExA is deprecatedjan.nijtmans2013-11-201-3/+3
|\ \ | |/
| * Starting with Windows 8 DSK, GetVersionExA is deprecatedjan.nijtmans2013-11-201-3/+3
| |
* | Eliminate a lot of dead code (for Windows 95/98/ME only). jan.nijtmans2013-06-191-6/+3
| | | | | | Eliminate all usage of TclWinSetInterfaces(), which does exactly the same as TclpSetInterfaces(), but keep exported symbol and stub entry.
* | also search for the library directory (init.tcl, encodings, etc) relative to ↵Joe Mistachkin2012-11-131-1/+63
|\ \ | |/ | | | | the build directory associated with the source checkout.
| * also search for the library directory (init.tcl, encodings, etc) relative to ↵Joe Mistachkin2012-11-131-1/+63
| | | | | | | | the build directory associated with the source checkout.
* | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-271-2/+0
|\ \ | |/
| * [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-1/+1
| |\
| | * [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-1/+1
| | |