Tcl Source Code

All files named "win/tclWin32Dll.c"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for win/tclWin32Dll.c

2024-08-28
16:33
Merge [3a60363aa10ef993]: Clean up a lot of whitespace issues. file: [f440232f66] check-in: [627781a6db] user: pooryorick branch: unchained, size: 15099
2024-07-20
15:59
Merge trunk [91c2f411e7e71552], TIP #636 (tip-636-tcl9-644), resolve all conflicts including those resulting from conflicting Tcl_Obj interface implementations, and relicense under GNU Affero General Public License. All tests pass. file: [96b389a9a8] check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 15097
2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [990e98b584] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 14728
2023-03-07
18:23
Merge 8.7 file: [b97ccd8687] check-in: [fe9c231f48] user: jan.nijtmans branch: main, size: 14726
18:14
Merge 8.6 file: [0ea1374e92] check-in: [f934119c5c] user: jan.nijtmans branch: core-8-branch, size: 17400
17:56
Fix a few -Wconversion warnings file: [b76df44166] check-in: [eb74f26d43] user: jan.nijtmans branch: core-8-6-branch, size: 20574
2022-02-18
16:34
Merge 8.7 file: [0c7df7bfaa] check-in: [4adc3df295] user: jan.nijtmans branch: main, size: 14718
16:32
Merge 8.6 file: [4ae667fba1] check-in: [703fd1a845] user: jan.nijtmans branch: core-8-branch, size: 17392
16:31
Eliminate aarch64-w64-mingw32-clang warning file: [8e10534c5c] check-in: [c405a0ef24] user: jan.nijtmans branch: core-8-6-branch, size: 20556
2022-02-07
08:48
Merge 8.7 file: [c4b2d460d5] check-in: [1cc6bb7b9f] user: jan.nijtmans branch: main, size: 14682
08:48
Merge 8.6 file: [ed60ee0461] check-in: [6b7ec7b56a] user: jan.nijtmans branch: core-8-branch, size: 17356
2022-02-04
16:19
See https://github.com/tcltk/tcl/pull/10 file: [f38fd86d20] check-in: [fc056d6a1d] user: jan.nijtmans branch: windows-arm64, size: 20537
2021-01-08
21:07
Merge 8.7 (resolve conflicts) file: [a821f1ff47] check-in: [5295f674c1] user: dgp branch: main, size: 14613
2020-12-17
15:44
Simplifications when assuming VS 2015 or later file: [7522d0ddac] check-in: [c9307db938] user: jan.nijtmans branch: tip-592, size: 17287
2020-12-16
15:32
TIP #592 implementation: Stop support for Windows XP, Server 2003, Vista, Server 2008 file: [817d360148] check-in: [32516a92d8] user: jan.nijtmans branch: tip-592, size: 17489
2020-12-08
15:42
Merge 8.7 file: [0cb447887d] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 14799
15:31
Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet file: [5511aba36b] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 17473
2020-10-22
09:23
(cherry-pick): Fix [c975939973]: Usage of gnu_printf in latest mingw-w64. Change (internal, windows-only) TCL_I_MODIFIER to TCL_Z_MODIFIER, since that's how it's called in Tcl 8.7 and up file: [92d4fceef7] check-in: [71c2ffb382] user: jan.nijtmans branch: core-8-5-branch, size: 35409
2020-04-03
08:36
Make sure that "Windows NT" is the only supported Windows platform. On Windows CE, no chance that Tcl 8.6 will ever run .... Windows XP is the minimum now. file: [856876ba20] check-in: [0bb3a71ba6] user: jan.nijtmans branch: core-8-6-branch, size: 20468
2020-03-31
11:02
Merge 8.7 file: [9802fe7ba5] check-in: [7aca5f8d81] user: jan.nijtmans branch: trunk, size: 14801
10:46
Merge 8.6 file: [f596922668] check-in: [5f099cb477] user: jan.nijtmans branch: core-8-branch, size: 17475
10:17
Remove MODULE_SCOPE function TclpSetInterfaces(), which is just empty. Increase size of MSG structure in Cygwin Notifier: Should conform with Win32 size. Some related code cleanup. file: [be07268506] check-in: [2616eb1a29] user: jan.nijtmans branch: core-8-6-branch, size: 20927
2020-03-25
10:11
Simplify platform/internal stubs. Not to be merged soon, still highly experimental!!!! file: [a7c5827c57] check-in: [f9b8d0eda5] user: jan.nijtmans branch: stub-simplification, size: 14806
2020-03-22
21:28
Merge 8.7 file: [2d38f2af7f] check-in: [d652d14132] user: jan.nijtmans branch: trunk, size: 14809
21:24
Merge 8.6 file: [18021d986e] check-in: [4757d0acec] user: jan.nijtmans branch: core-8-branch, size: 17480
21:16
Even more uppercase HEX representations in source-code file: [ded42261c2] check-in: [ed3245630a] user: jan.nijtmans branch: core-8-6-branch, size: 21183
2020-03-09
16:34
merge 8.7 file: [5a954934ee] check-in: [a0ed9240c8] user: dgp branch: trunk, size: 14809
16:13
TCL_UNUSED for win sources. file: [e6c5864492] check-in: [2c8f3c4653] user: dgp branch: core-8-branch, size: 17480
2020-02-28
12:46
Merge 8.7 file: [5289e63437] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 14861
2019-09-19
18:27
Merge 8.7 file: [08e6ba48aa] check-in: [f6491a4282] user: jan.nijtmans branch: cplusplus, size: 17532
15:36
Merge 8.7 file: [680060e954] check-in: [8c85c9ded5] user: jan.nijtmans branch: trunk, size: 14788
07:44
Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without -DUNICODE) file: [fd588a989c] check-in: [d43bb90300] user: jan.nijtmans branch: core-8-branch, size: 17459
2019-09-18
15:11
TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since we are impicitly compiling with -DUNICODE file: [e9d282ca98] check-in: [d05832de38] user: jan.nijtmans branch: core-8-6-branch, size: 21183
2019-09-14
13:07
Merge 8.7 file: [86791f052b] check-in: [9ea2eea22d] user: jan.nijtmans branch: trunk, size: 14786
2019-09-05
15:14
Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and Windows) without -Wunused-parameters warnings file: [61a98944fc] check-in: [48b1783ecd] user: jan.nijtmans branch: cplusplus, size: 17512
2019-08-12
20:38
Merge branch tip-548. No longer define addtional stub-entries for functions that will be removed (because of deprecation) anyway file: [d8e0cdeb9b] check-in: [50d822dbab] user: jan.nijtmans branch: utf-max, size: 17436
2019-08-03
21:51
Use *WChar* in stead of *Char16* functions on Windows, always. It's actually the same, but more consistent. file: [6625787436] check-in: [4229b74992] user: jan.nijtmans branch: tip-548, size: 17439
20:25
Merge tip-548 (since using the *WChar* functions leads to less type-casts in c++) Als finish implementaton for MacOSX file: [50584744d7] check-in: [3da6c33030] user: jan.nijtmans branch: cplusplus, size: 17491
2019-08-02
12:15
Merge 8.7. Continue implementation for win32 file: [79ca767f2b] check-in: [ff6fa30271] user: jan.nijtmans branch: cplusplus, size: 17523
2019-08-01
16:03
Merge 8.7. Documentation improvements and code cleanup. Approaching finish. file: [8da31327c0] check-in: [57546481c1] user: jan.nijtmans branch: tip-548, size: 17459
11:55
Merge tip-548 file: [593576b47b] check-in: [8819e7a6a3] user: jan.nijtmans branch: utf-max, size: 17456
2019-07-11
07:18
Rename UTF-related functions to "WChar" and "Char16" variants, more intuitive because they represent wchar_t and char16_t (since C++11) types in modern compilers. file: [d143f793f6] check-in: [070bfd62cb] user: jan.nijtmans branch: tip-548, size: 17537
2019-07-07
20:38
Merge 8.7, and a few tweaks: Only provide Tcl_WinUtfToTChar on Tcl 8.x, not on 9.0 any more file: [0508a08b99] check-in: [49e4bfa90e] user: jan.nijtmans branch: tip-548, size: 17535
2019-07-05
09:03
Improvement: always export both 16-bit and 32-bit UTF function file: [885704eeb9] check-in: [27f2c4cf5e] user: jan.nijtmans branch: tip-548, size: 17532
2019-06-29
14:35
Merge tip-548 file: [08f8829c4d] check-in: [214386a043] user: jan.nijtmans branch: utf-max, size: 17532
13:59
Merge 8.7 file: [28bb05b037] check-in: [1ecbfe0266] user: jan.nijtmans branch: tip-548, size: 17532
13:59
Merge 8.7 file: [c0d4ec10f4] check-in: [2d3e4efedb] user: jan.nijtmans branch: trunk, size: 17495
13:57
Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we always compile in UNICODE mode. file: [fa33dcfff0] check-in: [dcb0c6ddcb] user: jan.nijtmans branch: core-8-branch, size: 17462
2019-06-27
10:49
Merge tip-548 file: [0ec264ea99] check-in: [dc9451c7a2] user: jan.nijtmans branch: utf-max, size: 17539
08:22
Code cleanup for Tcl_WinUtfToTChar/Tcl_WinTCharToUtf. Tested with Tk now. file: [4ba1cbb108] check-in: [59429c36a4] user: jan.nijtmans branch: tip-548, size: 17539
2019-06-26
21:25
Merge tip-548 file: [cab28664da] check-in: [3c0f28be06] user: jan.nijtmans branch: utf-max, size: 17570
21:03
Add compatibility macro's for Tcl_WinUtfToTChar/Tcl_WinTCharToUtf file: [d40d519653] check-in: [a3e7f82f8e] user: jan.nijtmans branch: tip-548, size: 17570
2019-06-03
21:20
Merge tip-548 branch. file: [8a181029fa] check-in: [3040ef7443] user: jan.nijtmans branch: utf-max, size: 17521
19:48
TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide more flexible replacement functions file: [718a1903ad] check-in: [49785ba3b0] user: jan.nijtmans branch: tip-548, size: 17521
2019-05-22
07:32
More WIP: eliminate all usage of (platform-specific) Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() to its proposed portable replacements: Tcl_Utf16ToUtfDString()/Tcl_UtfToUtf16DString() This allows for Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() to be declared deprecated. file: [dd288a7193] check-in: [a33e22b6ba] user: jan.nijtmans branch: utf-max, size: 17418
2019-04-02
19:17
Merge 8.6 file: [410d3b2242] check-in: [1bcfcb3ac6] user: jan.nijtmans branch: androwish, size: 21617
2019-03-12
20:39
Even better support for -DTCL_UTF_MAX=6. Ongoing improvements (TIP being planned) file: [6762dcd0f5] check-in: [fdcb2a7323] user: jan.nijtmans branch: utf-max, size: 17463
2019-03-11
20:56
Merge 8.7 file: [6c7d1cf005] check-in: [13fd8a4647] user: jan.nijtmans branch: trunk, size: 17502
20:32
Change TCHAR -> WCHAR in many places, since that's what it is since Windows NT file: [69af3cd3fe] check-in: [876f74eabe] user: jan.nijtmans branch: core-8-branch, size: 17469
2019-03-10
21:04
Merge 8.7 file: [4145acf03f] check-in: [316ceb7616] user: jan.nijtmans branch: trunk, size: 17506
20:18
re-implemente changes in win/tclWinFile.c (handling -DTCL_UTF_MAX=6) using 3 new utility functions. This allows to re-use code in more places: cleaner implementation more future-proof. file: [9124d0ee90] check-in: [9eb437a15d] user: jan.nijtmans branch: core-8-branch, size: 17473
2019-03-08
23:54
Merge trunk. Further WIP for TIP #497, far from finished .... file: [bf9f05f324] check-in: [9fcbdde251] user: jan.nijtmans branch: tip-497, size: 19333
2019-03-02
16:04
Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish. file: [8cf29f03d8] check-in: [9e1984c250] user: jan.nijtmans branch: core-8-6-branch, size: 21168
2019-02-27
21:58
Merge 8.7 file: [dde2d385fc] check-in: [727e74f081] user: jan.nijtmans branch: trunk, size: 19580
2019-02-19
20:17
Merge 8.7 file: [fd080b879f] check-in: [2b82daafb8] user: jan.nijtmans branch: trunk, size: 19472
20:16
Merge 8.6 file: [f868942b6d] check-in: [1b17625b60] user: jan.nijtmans branch: core-8-branch, size: 19439
20:12
Fix some comments: "upper" -> "high" (when talking about surrogates) file: [d3ecf8358e] check-in: [1d9b7f26b0] user: jan.nijtmans branch: core-8-6-branch, size: 21060
19:38
Minor optimizations file: [d797531c35] check-in: [0e2621fc4b] user: jan.nijtmans branch: bug-bd94500678, size: 19547
2018-11-15
08:19
Merge 8.7 Fix Tcl_InitStringRep() signature in line with TIP #494, so it can handle lengths >2Gb on 64-bit platforms Various other code cleanups, unnecessary type-casts e.o. file: [e72ca11933] check-in: [016f65758f] user: jan.nijtmans branch: trunk, size: 19474
08:07
Merge 8.6 file: [c469808b22] check-in: [7578ff8f8c] user: jan.nijtmans branch: core-8-branch, size: 19441
08:05
Make Tcl_WinTCharToUtf/Tcl_WinUtfToTChar work (again) with TCL_UTF_MAX=6. No effect when TCL_UTF_MAX=3|4 file: [d6e5ade84f] check-in: [504991e0b5] user: jan.nijtmans branch: core-8-6-branch, size: 21062
2018-10-08
19:00
TIP #494 implementation: More use of size_t in Tcl 9 file: [8fb0fcbb81] check-in: [f3d49044c4] user: jan.nijtmans branch: trunk, size: 17485
18:34
Merge 8.6 Also fix startup problems on win32, when the encoding path contains invalid UTF-8 (reported by François Vogel) Various other code cleanup, e.g. remove empty.zip file, as this didn't work quite as expected. file: [3c0681df9a] check-in: [59a19cdee3] user: jan.nijtmans branch: core-8-branch, size: 17452
2018-10-07
20:26
Streamline: Tcl_WinTCharToUtf/Tcl_WinUtfToTChar(): Always initialize DString, and let it return NULL when imput is NULL. That's what seem to assume the callers. file: [731535dd1a] check-in: [2d904bee38] user: jan.nijtmans branch: core-8-6-branch, size: 19073
2018-10-06
19:20
Use more TCL_AUTO_LENGTH, when appropriate file: [99995d06e4] check-in: [c643e8fe38] user: jan.nijtmans branch: memory-API, size: 17485
18:33
merge trunk file: [234d934cb1] check-in: [52bb60626e] user: jan.nijtmans branch: memory-API, size: 17556
17:12
protect Tcl_WinUtfToTChar/Tcl_WinTCharToUtf against NULL input values: return empty string in that case. Add TIP #494-compatible definitions of TCL_IO_FAILURE/TCL_AUTO_LENGTH, and use it in some appropriate places. file: [afdb3f4431] check-in: [159c6f011e] user: jan.nijtmans branch: core-8-branch, size: 17512
2018-10-05
21:22
Merge 8.6 file: [9e9f5d254b] check-in: [3565334f08] user: jan.nijtmans branch: core-8-branch, size: 17387
20:54
Better implementations of Tcl_WinTCharToUtf() and Tcl_WinUtfToTChar(). They don't make any assumption on whether encodings are initialized, or specific win32 handling of special characters. file: [2d44b561bf] check-in: [2d625d3ed3] user: jan.nijtmans branch: core-8-6-branch, size: 19008
2018-09-25
15:05
merge trunk file: [1cfc338521] check-in: [3ef03e978c] user: dgp branch: memory-API, size: 18963
2018-09-24
23:24
More fixes in Tcl_WinTChar2Utf: Don't restart loop when output contains null-byte. file: [d7aa955302] check-in: [050b7ee0e1] user: jan.nijtmans branch: core-8-branch, size: 18903
2018-09-23
14:57
Merge trunk file: [c64cf44fb0] check-in: [5e6c9e758b] user: jan.nijtmans branch: memory-API, size: 18962
2018-09-22
16:51
Handle the (unlikely) case that Tcl_DStringSetLength() results in a re-allocation of the buffer file: [740a63dc26] check-in: [24aadadf9c] user: jan.nijtmans branch: core-8-branch, size: 18902
10:09
Prevent possible build order problem, due to missing dde/registry dll's. Make sure that Tcl_WinTChar2Utf() never produces intermediate null-bytes. file: [67942aec80] check-in: [645fb65227] user: jan.nijtmans branch: core-8-branch, size: 18856
2018-09-13
20:52
merge trunk file: [2318bfe70f] check-in: [8e81b9d9b8] user: jan.nijtmans branch: memory-API, size: 18624
20:30
Fix test-case registry-6.20, which started failing starting with the TIP #389 commit. file: [ad2c261d71] check-in: [0db5ab91bb] user: jan.nijtmans branch: core-8-branch, size: 18564
2018-09-03
09:12
merge zipfs file: [7fbe912e5a] check-in: [4efd0e60fa] user: jan.nijtmans branch: androwish, size: 20688
2018-09-01
22:01
Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion) file: [fc98b9f4be] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 18049
2018-07-30
19:00
merge trunk file: [249574a98e] check-in: [6e3719d0e0] user: jan.nijtmans branch: memory-API, size: 18037
2018-07-20
16:05
merge 8.6 file: [3401a4dc91] check-in: [29189acca8] user: sebres branch: core-8-branch, size: 17989
15:58
win: avoids warning by x64-build in function 'TclWinCPUID' - pointer targets in passing argument 1 of '__cpuid' differ in signedness [-Wpointer-sign] (int* vs unsigned int*) file: [6647e32b7a] check-in: [edab70f507] user: sebres branch: core-8-6-branch, size: 20239
2018-06-14
18:31
Merge trunk. Some more size_t additions in parameters/fields file: [e8d06539a2] check-in: [ae9773610f] user: jan.nijtmans branch: memory-API, size: 18030
2018-01-20
16:42
merge zipfs file: [3f4b614257] check-in: [5e8eb1bf5e] user: jan.nijtmans branch: androwish, size: 20681
2018-01-10
14:02
Re-implement Tcl_WinTCharToUtf/Tcl_WinUtfToTChar in pure win32 api, even for TCL_UTF_MAX=3. We can do that now safely, because of the changed handling of valid 4-byte UTF-8 characters in the previous commit. file: [342da4dada] check-in: [a2c5eee57d] user: jan.nijtmans branch: core-8-branch, size: 17982
2017-12-28
21:17
merge core-8-branch file: [7a0be02aeb] check-in: [92e15a4e78] user: jan.nijtmans branch: tip-389, size: 18091
21:15
merge core-8-6-branch file: [2ceb2833ab] check-in: [a9598976f4] user: jan.nijtmans branch: core-8-branch, size: 19384
21:14
Fix bug introduced in [0dd0d14489258621] (only for TCL_UTF_MAX > 3): If len parameter = -1, returned size includes terminating 0-byte. So, account for that. Also, fix some comments which were not accurate any more, now that Windows 95/98 is not supported any more. file: [33d8c4157a] check-in: [b4b65e69b8] user: jan.nijtmans branch: core-8-6-branch, size: 20232
20:29
merge core-8-branch file: [359cb71789] check-in: [9bd909d0f9] user: jan.nijtmans branch: tip-389, size: 18185
18:51
merge core-8-6-branch file: [5ea7911f00] check-in: [e7cb6182f1] user: jan.nijtmans branch: core-8-branch, size: 19478
18:45
Make Tcl_WinTCharToUtf/Tcl_WinUtfToTChar work when TCL_UTF_MAX > 3, mainly when sizeof(Tcl_UniChar) != 2. file: [c4efc90172] check-in: [0dd0d14489] user: jan.nijtmans branch: core-8-6-branch, size: 20326
2017-12-27
20:24
merge core-8-branch. Re-implement Tcl_WinTCharToUtf/Tcl_WinUtfToTChar using only win32 API. file: [679fde4785] check-in: [465d5c8195] user: jan.nijtmans branch: tip-389, size: 18956
2017-11-23
12:04
Remove more pre-XP stuff. file: [8c205ab9c6] check-in: [215237be17] user: jan.nijtmans branch: tip-487, size: 18798
08:30
Re-base "stop-ce" branch to core-8-branch. This is what will be proposed for 8.7 in TIP #487. file: [3afa19c2f3] check-in: [63bb6eced7] user: jan.nijtmans branch: tip-487, size: 19314
2017-11-21
14:59
Drop Windows CE support, since it doesn't appear to work anyway. file: [354f51d1e7] check-in: [2daef8d76d] user: jan.nijtmans branch: drop-ce, size: 19337
2017-11-20
14:55
TIP 487 implementation: Stop support for Windows XP and Windows CE file: [928d46314f] check-in: [47d26a0b4a] user: jan.nijtmans branch: tip-487, size: 18416
2017-09-01
14:20
merge zipfs file: [fd8efac3c5] check-in: [e57ab5d3e2] user: jan.nijtmans branch: androwish, size: 20100
2017-08-17
22:50
Merge core-8-6-branch. Update outdated comment (cherry-pick [d5dec2b0514639f44929cbbba9c4130798a8a54a|d5dec2b051]) file: [7f71978939] check-in: [1b01d8a66c] user: jan.nijtmans branch: trunk, size: 19628
2017-08-13
22:05
Support cross-compiling Tcl for 'Win32 on ARM' using Visual Studio. file: [271183dd39] check-in: [bde6588ccd] user: mistachkin branch: irontcl, size: 19651
2017-05-03
15:05
Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX) file: [aa87d647be] check-in: [8785cdc62c] user: jan.nijtmans branch: core-8-5-branch, size: 35410
11:11
amend to [bd65277151de5a31]: forgotten declaration of hInstance. file: [8d48d5127c] check-in: [6a9db6d662] user: sebres branch: core-8-5-branch-fix-1997007, size: 35847
10:15
back-porting of branch "fix-1997007" to "core-8-5-branch": Closing tcl pipes prevents windows threads from starting up. file: [642dfd5304] check-in: [bd65277151] user: sebres branch: core-8-5-branch-fix-1997007, size: 35836
2017-02-25
16:20
merge zipfs file: [e84e1b73a5] check-in: [c6ee2a4e5c] user: jan.nijtmans branch: androwish, size: 20061
2016-11-16
10:55
Use more "size_t" in stead of "int" internall. Also eliminate a lot of type-casts which are not necessary any more. file: [73a6fbe535] check-in: [521d320b7b] user: jan.nijtmans branch: trunk, size: 19589
2016-11-11
14:53
Fix harmless gcc warning message: using "unsigned" doesn't serve any purpose, actually. file: [69b7e50d6c] check-in: [01243c07ff] user: jan.nijtmans branch: trunk, size: 19594
2014-05-02
07:15
merge novem file: [5813e3fca2] check-in: [08a7e90291] user: jan.nijtmans branch: novem-more-memory-API, size: 19606
2014-02-10
11:59
Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW file: [ee7613748b] check-in: [80cf092cc7] user: jan.nijtmans branch: trunk, size: 19612
2013-11-20
14:40
Starting with Windows 8 DSK, GetVersionExA is deprecated file: [850acb499e] check-in: [bd84c74e43] user: jan.nijtmans branch: trunk, size: 19618
14:38
Starting with Windows 8 DSK, GetVersionExA is deprecated file: [40b0bec3e0] check-in: [450e7bd007] user: jan.nijtmans branch: core-8-5-branch, size: 35419
2013-10-02
08:08
Fix compilation with latest MinGW-w64 version 3.0: Conflict on EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64. file: [20a0892bd4] check-in: [7488de4f4b] user: jan.nijtmans branch: trunk, size: 19615
07:58
Fix compilation with latest MinGW-w64 version 3.0: Conflict on EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64. file: [c55fa4e537] check-in: [93a144a3be] user: jan.nijtmans branch: core-8-5-branch, size: 35416
2013-09-26
13:13
merge novem

WARNING: No checks of build-ability done yet. file: [1bc825c23b] check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 20143

2013-09-24
05:43
Support compiling Tcl for Win32 on ARM. file: [c7aca4603c] check-in: [fbab8d9b31] user: mistachkin branch: win32-arm, size: 20153
2013-06-19
12:53
Eliminate a lot of dead code (for Windows 95/98/ME only). Eliminate all usage of TclWinSetInterfaces(), which does exactly the same as TclpSetInterfaces(), but keep exported symbol and stub entry. file: [6f346e574d] check-in: [68c2017fb2] user: jan.nijtmans branch: trunk, size: 20114
2012-12-12
21:21
More memory API changes, mainly char* -> void* and unsigned -> size_t file: [093593f662] check-in: [19fb92fb72] user: jan.nijtmans branch: novem-more-memory-API, size: 20830
2012-11-27
11:02
Conversion of Win-specific code to new model API. WARNING! UNTESTED! file: [54647fbaaf] check-in: [4adcc3c51f] user: dkf branch: novem-64bit-sizes, size: 20865
2011-10-05
13:58
Remove tclWinProcs, as it is no longer being used file: [e29b52c6bf] check-in: [3bc90017b9] user: jan.nijtmans branch: trunk, size: 20836
2011-08-16
11:23
[Bug 3388350] mingw64 compiler warnings file: [dc60ae86bb] check-in: [5fa631a777] user: jan.nijtmans branch: core-8-4-branch, size: 37145
2011-03-12
15:06
Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in rest of Tcl source code. No ABI change. API change *should* be harmless. file: [9e5971d12e] check-in: [5574bdd262] user: dkf branch: trunk, size: 24657
2011-03-11
23:08
ifdef protections to permit builds with mingw on amd64 systems. Thanks to "mescalinum" for reporting and testing. Merged --cherrypick from Tcl8.5 (2010-09-08,48191d3979) file: [790ab94908] check-in: [c2cb4f795d] user: jan.nijtmans branch: core-8-4-branch, size: 37116
12:33
* win/tcl.m4: handle --enable-64bit=ia64 for gcc. * win/configure: (autoconf-2.13) * win/tclWin32Dll.c: [Patch 3059922]: fixes for mingw64 - gcc4.5.1 Merged --cherrypick from Tcl8.5 (2011-01-17, 6e410a115b) file: [e73e9ca902] check-in: [05a17ef7c7] user: jan.nijtmans branch: core-8-4-branch, size: 37013
2011-03-02
20:27
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them (except in zlib files). file: [e0d8d6720b] check-in: [c64f310d38] user: dgp branch: trunk, size: 24729
16:06
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: [0f67bac41b] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 35897
2011-03-01
15:38
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: [ecf1f214b7] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 37984
2011-01-17
08:43
handle --enable-64bit=ia64 for gcc. BACKPORT. [Patch 3059922]: fixes for mingw64 - gcc4.5.1 file: [a1dbb59213] check-in: [6e410a115b] user: nijtmans branch: core-8-5-branch, size: 35978
2011-01-12
20:30
merge file: [e00fbfe486] check-in: [e66fd7b686] user: dgp branch: dgp-refactor, size: 24806
15:34
Update to CVS head Wednesday Jan 11. file: [66d7377def] check-in: [905d97c057] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 27213
15:23
This commit is both no-NRE v2, implemented by subtracting the NRE pieces (*), and update to CVS trunk head of Wednesday Jan 5. (*) no-NRE v1 in the other branch was created in an additive manner from the point where 8.5 was branched from the trunk, by adding all the patches but those for NRE. file: [a89cbac354] check-in: [2d93b1436c] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 27255
07:37
VS 2005 64-bit does not have intrin.h, and does not need it. file: [d2240d34e8] check-in: [5e2970599b] user: nijtmans branch: trunk, size: 24806
2010-12-30
14:42
merge file: [23f06d4cd8] check-in: [45d5c91eaf] user: dgp branch: dgp-refactor, size: 24848
2010-12-21
10:04
[Patch 3059922]: fixes for mingw64 - gcc4.5.1 tdm64-1: completed for all environments. file: [12cd7f9e18] check-in: [03a45b4b7a] user: nijtmans branch: trunk, size: 24848
2010-12-19
18:14
[Patch 3124554]: fixes for mingw64 - gcc4.5.1 tdm64-1: Fixed for gcc, not yet for MSVC 64-bit. file: [9a9c21c1aa] check-in: [1e77131c2b] user: nijtmans branch: trunk, size: 24575
2010-12-16
09:47
Windows specific files, updated to head. file: [3841604cb7] check-in: [5fe6c2f5f2] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 26663
2010-12-01
16:42
merge file: [9697cd20c6] check-in: [0af397c644] user: kennykb branch: dogeen-assembler-branch, size: 23986
2010-11-23
14:27
Jumps of win/ files. Fixed missing patches to configure. Jumped configure.in and tcl.m4. Also @578 file: [a1a254130e] check-in: [1c930c462b] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 26640
13:02
merge file: [fd1c8b07a5] check-in: [06e3ec78e1] user: dgp branch: dgp-refactor, size: 23983
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: [6dbb1c905b] check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 32573
2010-11-19
20:47
fix gcc warnings: unused variable 'registration' file: [d9468b70ef] check-in: [862a46901a] user: nijtmans branch: trunk, size: 23983
20:34
fix gcc warnings: unused variable 'registration' file: [20e9f7b4e9] check-in: [0f2da3bcd9] user: nijtmans branch: core-8-5-branch, size: 35311
2010-11-18
17:15
Next, @134 file: [1b32ac0c25] check-in: [7fc03e57d1] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 32579
2010-11-08
21:26
Fix missing comma in last commit file: [81bdabe2cc] check-in: [5541622ab4] user: andreas_kupries branch: core-8-4-branch, size: 38073
2010-11-05
16:40
merge file: [9c018f7ffa] check-in: [b68283928e] user: dgp branch: dgp-refactor, size: 23960
2010-11-04
21:48
[FRQ 491789]: "setargv() doesn't support a unicode cmdline" implemented for Tcl on MSVC++ file: [3cf0ecadf3] check-in: [6bbdcbed5f] user: nijtmans branch: trunk, size: 23960
2010-11-03
22:10
Backported from 8.6 (see 2010-08-04). * 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. file: [96cd530268] check-in: [296bc1241d] user: andreas_kupries branch: core-8-4-branch, size: 38072
2010-10-20
01:50
merge file: [747f81afde] check-in: [6c4e1f869f] user: kennykb branch: dogeen-assembler-branch, size: 23949
2010-10-12
13:17
merge file: [90a18f5890] check-in: [482c6c5066] user: dgp branch: dgp-refactor, size: 23946
10:21
Eliminate many tclWinProcs-> indirect calls, which are no longer needed. Fix some MSVC 6.0 warnings file: [a97885c027] check-in: [006b71eced] user: nijtmans branch: trunk, size: 23946
2010-09-17
12:55
Merge from HEAD to rmax-ipv6-branch file: [5031d339c3] check-in: [70c6ac9692] user: rmax branch: rmax-ipv6-branch, size: 23972
2010-09-14
12:38
merge file: [a9fc252d84] check-in: [8201bbf582] user: dgp branch: dgp-refactor, size: 23972
08:53
Allow all Win2000+ API entries in Tcl Eliminate dynamical loading of advapi23 and kernal32 symbols. file: [fa4d15b83b] check-in: [48bcb44884] user: nijtmans branch: trunk, size: 23972
2010-09-13
16:57
merge file: [1cec41932b] check-in: [ec5c3bd471] user: dgp branch: dgp-refactor, size: 25882
2010-09-10
20:56
Partly revert yesterday's change, to make it work on VC++ 6.0 again. file: [817efb759b] check-in: [56f47fed71] user: nijtmans branch: trunk, size: 25882
13:27
merge file: [89e71f306b] check-in: [65447175aa] user: dgp branch: dgp-refactor, size: 23983
2010-09-09
14:30
mingw should always link with -ladvapi32 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++. file: [4a5e983cfa] check-in: [0d850f32ad] user: nijtmans branch: trunk, size: 23983
2010-09-08
15:42
* win/tclWin32Dll.c: #ifdef protections to permit builds with * win/tclWinChan.c: mingw on amd64 systems. Thanks to "mescalinum" * win/tclWinFCmd.c: for reporting and testing.
file: [c207cde02a] check-in: [48191d3979] user: dgp branch: core-8-5-branch, size: 35257
2010-08-04
21:48
merge file: [05f0983359] check-in: [0dcf82938b] user: dgp branch: dgp-refactor, size: 31822
21:28
* win/tclWin32Dll.c (TclWinInit): hard-enforce Windows 9x as an unsupported platform with a panic. Code to support it still exists in other files (to go away in time), but new APIs are being used that don't exist on Win9x.
file: [f3e94fe80a] check-in: [77395d89cc] user: hobbs branch: trunk, size: 31819
19:35
* 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.
file: [0caa86c777] check-in: [6b14ef3555] user: hobbs branch: trunk, size: 31698
19:17
* 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.
file: [93d57db043] check-in: [c33c6a7479] user: hobbs branch: core-8-5-branch, size: 35197
2010-03-11
15:19
merge updates from HEAD file: [70b8f386af] check-in: [144ace2ad8] user: dgp branch: dgp-refactor, size: 31667
13:35
Remove unnecessary '&' decoration for function pointers. Fix double declaration of TclNativeDupInternalRep file: [471b3a4583] check-in: [bb4a12448b] user: nijtmans branch: trunk, size: 31667
2010-03-08
14:34
merge updates from HEAD file: [5c93ccdf94] check-in: [58e959de47] user: dgp branch: dgp-refactor, size: 31725
2010-03-07
14:39
test that tclOO stubs are present in stub library 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. file: [a2ac52ff3e] check-in: [0ccb7b21a9] user: nijtmans branch: trunk, size: 31725
2010-02-17
15:36
merge updates from HEAD file: [b058b27695] check-in: [ac9a3fc416] user: dgp branch: dgp-refactor, size: 31707
2010-02-15
22:56
reverted earlier rename from tcl*Stubs to 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] file: [e807cd2acd] check-in: [0d29245dd5] user: nijtmans branch: trunk, size: 31707
2009-08-03
14:14
merge updates from HEAD file: [d5e4226115] check-in: [69dee2802f] user: dgp branch: dgp-refactor, size: 29998
2009-08-02
10:41
eliminate TclWinResetInterfaceEncodings, because it does exactly the same as TclWinEncodingsCleanup, make sure that tclWinProcs and tclWinTCharEncoding are always set and reset concurrently. file: [c14964ab35] check-in: [182c7a48f3] user: nijtmans branch: trunk, size: 29998
2009-07-01
15:12
merge updates from HEAD file: [cf6aa3df58] check-in: [82a7e96ce9] user: dgp branch: dgp-refactor, size: 29998
14:38
Handle the GetUserName API call appropriately for wide/narrow versions. [Bug 2806622] file: [8b9a0477f6] check-in: [62ff377237] user: patthoyts branch: trunk, size: 29999
14:05
Handle the GetUserName API call appropriately for wide/narrow versions. [Bug 2806622] file: [638eb1a853] check-in: [2d7deaad2f] user: patthoyts branch: core-8-5-branch, size: 35167
2008-11-10
02:18
merge updates from HEAD file: [a3c5c0c209] check-in: [4a9c1325dc] user: dgp branch: dgp-refactor, size: 29893
2008-10-26
18:34
Style improvements - invoking callbacks without visual junk. file: [4528db10b9] check-in: [a1a8afc25d] user: dkf branch: trunk, size: 29888
2008-08-04
19:36
merge updates from HEAD file: [8aa2480cd6] check-in: [7f632c54de] user: dgp branch: dgp-refactor, size: 29899
2008-08-01
18:22
* doc/Exit.3: do not call Tcl_Finalize implicitly * generic/tclEvent.c: on DLL_PROCESS_DETACH as it may lead * win/tclWin32Dll.c (DllMain): to issues and the user should be explicitly calling Tcl_Finalize before unloading regardless. Clarify the docs to note the explicit need in embedded use.
file: [ca80fc069b] check-in: [5f526d80a6] user: hobbs branch: trunk, size: 29896
2008-07-29
20:13
merge updates from (near) HEAD file: [b00f1e397c] check-in: [f51e3a3c72] user: dgp branch: dgp-refactor, size: 32394
2008-07-13
09:03
NRE implementation [Patch 2017110] file: [c1605aa56a] check-in: [a646e4c362] user: msofer branch: trunk, size: 32392
2008-05-11
04:22
merge updates from HEAD file: [a3b4b40ace] check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 35079
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: [a2c6fe92b6] check-in: [2d205c22fb] user: dkf branch: trunk, size: 35074
2007-12-13
15:22
merge stable branch onto HEAD file: [5aa0694063] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 35051
2007-11-16
08:07
merge updates from HEAD file: [b659652974] check-in: [4b5515a616] user: dgp branch: dgp-refactor, size: 35056
07:20
merge updates from HEAD file: [e058993409] check-in: [be7502a53e] user: dgp branch: core-stabilizer-branch, size: 35055
2007-11-15
09:21
Prefer UINT_PTR to DWORD_PTR when casting pointers to integer types for greater portability (bug #1831253) file: [14ee6834e2] check-in: [beee16b764] user: patthoyts branch: trunk, size: 35057
2007-11-12
20:40
merge updates from HEAD file: [d853f10d66] check-in: [27f428842c] user: dgp branch: dgp-refactor, size: 35062
19:18
merge updates from HEAD file: [f2b0c4c2f2] check-in: [72c5ac9502] user: dgp branch: core-stabilizer-branch, size: 35061
2007-11-10
19:01
* generic/tclBasic.c: * generic/tclInt.h: * unix/tclUnixInit.c: * win/tclWin32Dll.c: restore simpler behaviour for stack checking, not adaptive to stack size changes after a thread is launched. Consensus is that "nobody does that", and so it is not worth the cost.
file: [6622a94f67] check-in: [00f0c2974d] user: msofer branch: trunk, size: 35060
17:40
minor code cleanup in TclpGetCStackParams; hoist a couple of structs from TSD into the activation record file: [388dd66aef] check-in: [40cc92d53f] user: kennykb branch: trunk, size: 35065
17:24
2007-11-10 Kevin Kenny <[email protected]>
* win/tclWin32Dll.c: Rewrote the Windows stack checking algorithm to use information from VirtualQuery to determine the bound of the stack. This change fixes a bug where the guard page of the stack was never restored after an overflow. It also eliminates a nasty piece of assembly code for structured exception handling on mingw. It introduces an assumption that the stack is a single memory arena returned from VirtualAlloc, but the code in MSVCRT makes the same assumption, so it should be fairly safe.
file: [3379c389df] check-in: [bf656a0123] user: kennykb branch: trunk, size: 35240
16:08
* generic/tclBasic.c: * generic/tclInt.h: * unix/tclUnixInit.c: * unix/tclUnixPort.h: * win/tclWin32Dll.c: modify the stack checking algorithm to recheck in case of failure. The working assumptions are now that (a) a thread's stack is never moved, and (b) a thread's stack can grow but not shrink. Port to windows - could be more efficient, but is already cheaper than it was.
file: [e9e8e990ad] check-in: [a3b6a2d871] user: msofer branch: trunk, size: 37768
2006-10-17
04:36
* generic/tclIOUtil.c: Cleaned up some code flagged by a * generic/tclInt.h: `make checkexports` test. * win/tclWin32Dll.c: * win/tclWinFile.c:
file: [0a1bceb158] check-in: [2eadc777e9] user: dgp branch: core-8-4-branch, size: 38027
2006-03-10
10:35
backport of some file readable/writable fixes from HEAD file: [ded5e8c832] check-in: [5e3421a173] user: vincentdarley branch: core-8-4-branch, size: 38027
2005-12-02
18:42
merge updates from HEAD file: [7e8ac40f4a] check-in: [1059d34b2b] user: dgp branch: dgp-refactor, size: 35297
2005-11-04
00:06
ANSIfy file: [6db1da6973] check-in: [eeb132b4ae] user: dkf branch: trunk, size: 35292
2005-11-03
17:52
merge updates from HEAD file: [310b760327] check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 35478
11:53
* win/tclWin32Dll.c: Backported Anton Kovalenko's patch #1256872 * win/tclWinConsole.c: to give unicode console support on * win/tclWinInt.h: suitable systems (eg: NT/XP)
file: [09c5a86241] check-in: [9944c4de74] user: patthoyts branch: core-8-4-branch, size: 36314
01:16
* win/tclWin32Dll.c: Applied patch #1256872 to provide unicode * win/tclWinConsole.c: support in the console on suitable systems. * win/tclWinInt.h: Patch by Anton Kovalenko
file: [9f55cde367] check-in: [2cd9811bc4] user: patthoyts branch: trunk, size: 35479
2005-08-02
18:14
merge updates from HEAD file: [3d9f6c4a43] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 35001
2005-07-26
04:11
Merge updates from HEAD file: [02bfc37af2] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 35002
2005-07-24
22:56
Getting more systematic about style file: [75d8840293] check-in: [83d72c558c] user: dkf branch: trunk, size: 34997
2005-07-12
20:35
merged changes from HEAD file: [12dfb3bdee] check-in: [5316ea45e0] user: kennykb branch: kennykb-numerics-branch, size: 40410
2005-06-22
21:12
merge updates from HEAD file: [7b2ff6ea61] check-in: [2c0cc8807c] user: dgp branch: dgp-refactor, size: 40406
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611)
file: [bf772bc9d6] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 40409
2005-06-06
21:04
Correct crash in stack.test on gcc/win32 file: [fdcae9aedd] check-in: [be4c5ca620] user: kennykb branch: core-8-4-branch, size: 35994
20:54
Correct crash in stack.test on gcc/win32; fix compile errors in tclObj.c on hpux/native cc file: [110e2df340] check-in: [065f9ddc96] user: kennykb branch: trunk, size: 40406
2005-05-21
15:10
Resynchronized with HEAD file: [34289e296d] check-in: [96be07d7c8] user: kennykb branch: kennykb-numerics-branch, size: 40775
2005-05-16
19:23
merge updates from HEAD file: [0f28bd1f08] check-in: [03a5891876] user: dgp branch: dgp-refactor, size: 40771
15:35
restore MSVC buildability of tclWin32Dll.c file: [71ddfbb8fc] check-in: [c022adcc3b] user: kennykb branch: trunk, size: 40771
2005-05-14
20:46
* generic/tclInt.decls: * generic/tclTest.c: * generic/tclUtil.c: * win/tclWin32Dll.c: fixed link error due to direct access by tclTest.c to the MODULE_SCOPE tclPlatform global: renamed existing TclWinGetPlatform() accessor to TclGetPlatform() and moved it to generic code so that it can be used by on all platforms where MODULE_SCOPE is enforced.
* macosx/tclMacOSXBundle.c: * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API.
* unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052]
* tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core.
* unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe.
* macosx/Makefile: enable configure caching.
* unix/configure.in: wrap tclConfig.h header in #ifndef _TCLCONFIG so that it can be included more than once without warnings from gcc4.0 (as happens e.g. when including both tclInt.h and tclPort.h)
* macosx/tclMacOSXBundle.c: * unix/tclUnixChan.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings.
* unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs
file: [7621594a37] check-in: [7ff2693241] user: das branch: trunk, size: 40689
2005-05-13
21:20
further rework of SEH file: [0d172a6020] check-in: [d1306f71a8] user: kennykb branch: trunk, size: 41164
2005-05-11
16:58
merge updates from HEAD file: [0a2eb6d8f5] check-in: [a8212110f1] user: dgp branch: dgp-refactor, size: 39828
15:00
Synchronized with HEAD file: [5764fe62c1] check-in: [6ea4a2ae77] user: kennykb branch: kennykb-numerics-branch, size: 39832
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [13d1445d91] check-in: [1cc2336920] user: kennykb branch: trunk, size: 39828
2005-05-09
22:13
further fixes for structured event handling and frame pointer omission file: [18c8993c42] check-in: [9a65c5d521] user: kennykb branch: kennykb-numerics-branch, size: 39849
2005-05-08
20:41
portability hacks and eliminate bad CPUID code file: [524bbdb9af] check-in: [ed4639b2c7] user: kennykb branch: kennykb-numerics-branch, size: 35346
2004-12-09
23:00
Merge updates from HEAD file: [8076cf95a9] check-in: [24873008cc] user: dgp branch: dgp-refactor, size: 37130
2004-11-01
16:58
Second part of fix for Bug 926106 file: [e5243c1779] check-in: [824c70e9e5] user: kennykb branch: trunk, size: 37130
2004-09-08
23:02
Merge updates from HEAD file: [1c32eabf59] check-in: [dff8728918] user: dgp branch: dgp-refactor, size: 37102
2004-09-01
17:41
* win/tclWin32Dll.c (TclWinCPUID): need _asm for WIN64 (Itanium), until we have it, just return unknown. [Bug 1020445]
file: [15dd3a2088] check-in: [a8677f610a] user: hobbs branch: trunk, size: 37100
17:28
* win/tclWin32Dll.c (TclWinCPUID): need _asm for WIN64 (Itanium), until we have it, just return unknown. [Bug 1020445]
file: [50cf8f2df2] check-in: [89a2af995e] user: hobbs branch: core-8-4-branch, size: 34864
2004-07-02
16:52
backport of recent fs fixes from cvs head file: [9aaba6e1d3] check-in: [6611bc2f61] user: vincentdarley branch: core-8-4-branch, size: 34832
2004-06-29
10:07
fix to compilation error with VC++ 5.2 file: [95d9d2bd94] check-in: [47ebcf3c8a] user: vincentdarley branch: trunk, size: 37068
2004-06-21
22:07
* win/tclWin32Dll.c (DllMain, _except_dllmain_detach_handler, TclpCheckStackSpace, _except_checkstackspace_handler, TclWinCPUID, _except_TclWinCPUID_detach_handler): * win/tclWinChan.c (Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Rework pushing of exception handler function pointer so that compiling with gcc -O3 works. Remove empty function call to avoid compiler warning. Mark the DllMain function as noinline to avoid compiler error from duplicated asm labels in generated code.
file: [81913bf74e] check-in: [00950ad7df] user: mdejong branch: core-8-4-branch, size: 34641
22:05
* win/tclWin32Dll.c (DllMain, _except_dllmain_detach_handler, TclpCheckStackSpace, _except_checkstackspace_handler, TclWinCPUID, _except_TclWinCPUID_detach_handler): * win/tclWinChan.c (Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Rework pushing of exception handler function pointer so that compiling with gcc -O3 works. Remove empty function call to avoid compiler warning. Mark the DllMain function as noinline to avoid compiler error from duplicated asm labels in generated code.
file: [d1ad009564] check-in: [c06e682eb3] user: mdejong branch: trunk, size: 36884
2004-06-05
17:31
* generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw build works again. * generic/tclDecls.h: Changes to the tests for * generic/tclInt.decls: clock frequency in * generic/tclIntDecls.h: Tcl_WinTime * generic/tclIntPlatDecls.h: so that any clock frequency * generic/tclPlatDecls.h: is accepted provided that * generic/tclStubInit.c: all CPU's in the system share * tests/platform.test (platform-1.3): a common chip, and hence, * win/tclWin32Dll.c (TclWinCPUID): presumably, a common clock. * win/tclWinTest.c (TestwincpuidCmd) This change necessitated a * win/tclWinTime.c (Tcl_GetTime): small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722] file: [c70421ec78] check-in: [ac070357cf] user: kennykb branch: trunk, size: 35065
17:25
* generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw build works again. * generic/tclInt.decls: Changes to the tests for * generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime * generic/tclStubInit.c: so that any clock frequency * tests/platform.test (platform-1.3): is accepted provided that * win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share * win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence, * win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This change necessitated a small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722] file: [ec08fa7d8e] check-in: [a45bf99c8e] user: kennykb branch: core-8-4-branch, size: 32822
2004-05-06
01:04
* win/tclWin32Dll.c: Structured Exception Handling added around Tcl_Finalize called from DllMain's DLL_PROCESS_DETACH. We can't be 100% assured that Tcl is being unloaded by the OS in a stable condition and we need to protect the exit handlers should the stack be in a hosed state. AT&T style assembly for SEH under MinGW included, too. [Patch 858493]

Also added DisableThreadLibraryCalls() for the DLL_PROCESS_ATTACH case. We're not interested in knowing about DLL_THREAD_ATTACH, so disable the notices. file: [6cd9352e46] check-in: [f2508033ca] user: davygrvy branch: core-8-4-branch, size: 29489

2004-05-04
17:44
Merge updates from HEAD. file: [b3afd42e64] check-in: [de9c64200c] user: dgp branch: dgp-refactor, size: 31731
2004-04-24
07:45
(DllMain): Added DisableThreadLibraryCalls() for the DLL_PROCESS_ATTACH case. We're not interested in knowing about DLL_THREAD_ATTACH, so disable it. file: [075e747b14] check-in: [e52275fb00] user: davygrvy branch: trunk, size: 31732
2004-04-23
07:41
Removed my mistake of adding an exit handler to TclWinInit. TclWinEncodingsCleanup called from TclFinalizeFilesystem does the Tcl_FreeEncoding for us. file: [36ec58936d] check-in: [e17820f46c] user: davygrvy branch: trunk, size: 31697
2004-04-20
02:10
Added an exit handler in tclWinInit() so tclWinTCharEncoding could be freed for Tcl_Finalize. file: [9c9f321147] check-in: [720eaf6d1b] user: davygrvy branch: trunk, size: 32327
2004-02-07
05:47
Merge updates from HEAD

Note that this branch currently does not fully support the new {expand} syntax. Updates to TclEvalScriptTokens and TclCompileScriptTokens are still to come. file: [4beebd9c72] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 31696

2004-01-21
19:59
filesystem optimisation -- Three main issues accomplished: (1) cleaned up variable names in file: [1f4a6b2929] check-in: [9cfcca63fb] user: vincentdarley branch: trunk, size: 31702
2003-12-26
04:12
* win/tclWin32Dll.c (DllMain): Add HAVE_NO_SEH blocks in place of __try and __except statements to support gcc builds. This is needed after David's changes on 2003-12-21. [Tcl patch 858493]
file: [5d128394d2] check-in: [e091eeb230] user: mdejong branch: trunk, size: 31506
2003-12-24
04:18
All uses of 'panic' (the macro) changed to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264] file: [faa2f292a6] check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 29410
2003-12-21
21:58
Structured Exception Handling added around Tcl_Finalize called from DllMain's DLL_PROCESS_DETACH. We can't 100% assured that Tcl is being unloaded by the OS in a stable condition and we need to protect the exit handlers should the stack be in a hosed state. AT&T style assembly for SEH under MinGW has not been added yet. This is a first part change for [Patch 858493] file: [7c923213aa] check-in: [1c41033288] user: davygrvy branch: trunk, size: 29394
2003-10-16
02:28
Merged updates from HEAD file: [13e2950113] check-in: [44102608b1] user: dgp branch: dgp-refactor, size: 29022
2003-10-13
16:48
filesystem bug fixes file: [b928c84ac7] check-in: [f53be6ca93] user: vincentdarley branch: trunk, size: 29028
2003-09-29
22:38
Symbols which are visible outside a single compilation unit must have the prefix 'Tcl' to keep them out of the way of non-Tcl C code on Unix. (Problem reported by George Staplin.) file: [5bfde0b7f9] check-in: [cd7c23855c] user: dkf branch: trunk, size: 27449
2003-06-24
17:27
Merge updates from the HEAD file: [859a074c15] check-in: [d0a473ec1b] user: dgp branch: dgp-refactor, size: 27444
2003-06-23
10:14
filesystem fixes -- see ChangeLog file: [649178ef24] check-in: [c25e6f0318] user: vincentdarley branch: trunk, size: 27450
2003-04-14
15:45
filesystem fixes backported file: [12a27da856] check-in: [7dd244b532] user: vincentdarley branch: core-8-4-branch, size: 27145
2003-04-11
15:59
fix 5 small filesystem bugs, and some typos file: [9cc9051730] check-in: [da7df285d1] user: vincentdarley branch: trunk, size: 27141
2003-02-04
17:06
finalization and test fixes file: [e7b0fc0481] check-in: [1bf7a82411] user: vincentdarley branch: trunk, size: 20702
2003-01-25
14:11
* win/tclWin32Dll.c (TclpCheckStackSpace, squelch_warnings): * win/tclWinChan.c (Tcl_MakeFileChannel, squelch_warnings): * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, squelch_warnings): Re-implement inline ASM SEH handlers for gcc. The esp and ebp registers are now saved on the stack instead of in global variables so that the code is thread safe. Add additional checks when TCL_MEM_DEBUG is defined to be sure the values were recovered from the stack properly. Remove squelch_warnings functions and add a dummy call in the handler methods to squelch compiler warnings.
file: [a5357b3ac3] check-in: [071e3de4fc] user: mdejong branch: trunk, size: 20039
12:48
* win/configure: * win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that no alloca function is found in malloc.h and we are compiling with GCC. Remove HAVE_NO_ALLOC_DECL define. * win/tclWin32Dll.c (TclpCheckStackSpace): Don't define alloca as a cdecl function. Doing this caused a tricky runtime bug because the _alloca function expects the size argument to be passed in a register and not on the stack. To fix this problem, we use inline ASM when compiling with gcc to invoke _alloca with the size argument loaded into a register.
file: [037b2a075c] check-in: [6eae293500] user: mdejong branch: trunk, size: 19449
2003-01-24
08:04
* win/configure: Regen. * win/configure.in: * win/tclWin32Dll.c (TclpCheckStackSpace): Rework the SEH exception handler logic to avoid using the stack since alloca will modify the stack. This was causing a nasty bug that would set the exception handler to 0 because it tried to pop the previous exception handler off the top of the stack.
file: [e0ba78873a] check-in: [83a1c026c6] user: mdejong branch: trunk, size: 19322
2003-01-16
19:01
* win/tclWin32Dll.c (squelch_warnings): Squelch compiler warnings from SEH ASM code. * win/tclWinChan.c (squelch_warnings): Squelch compiler warnings from SEH ASM code. * win/tclWinDde.c: Add casts to avoid compiler warnings. Pass pointer to DWORD instead of int to avoid compiler warnings. * win/tclWinFCmd.c (squelch_warnings): Add casts and fixup decls to avoid compiler warnings. Squelch compiler warnings from SEH ASM code. * win/tclWinFile.c: Add casts and fixup decls to avoid compiler warnings. Remove unused variable. * win/tclWinNotify.c: Declare as DWORD instead of int to avoid compiler warning. * win/tclWinReg.c: Add casts to avoid compiler warning. Fix assignment in if expression bug. * win/tclWinSerial.c: Add casts to avoid compiler warnings. Remove unused variable. * win/tclWinSock.c: Add casts and fixup decls to avoid compiler warnings.
file: [b1e03c3344] check-in: [bba93619da] user: mdejong branch: trunk, size: 18910
2003-01-09
10:38
non-ascii chars in file mtime fix file: [f5a26423e9] check-in: [f53b3ba4da] user: vincentdarley branch: trunk, size: 18594
2002-12-06
23:22
* generic/tclStubInit.c: regen * generic/tclIntPlatDecls.h: regen * generic/tclInt.decls: added TclWinResetInterface
* win/tclWin32Dll.c (TclWinResetInterfaces): * win/tclWinInit.c (TclpSetInitialEncodings, WinEncodingsCleanup): add exit handler that resets the encoding information to a state where we can reuse Tcl. Following these changes, it is possible to reuse Tcl (following Tcl_FindExecutable or Tcl_CreateInterp) following a Tcl_Finalize.
file: [dc81e848aa] check-in: [e4ec3dc36c] user: hobbs branch: trunk, size: 18459
2002-10-29
14:17
comments added file: [34e374efce] check-in: [2c8a263292] user: vincentdarley branch: trunk, size: 18003
2002-10-15
20:26
* win/tclWin32Dll.c (ESP, EBP, TclpCheckStackSpace, _except_checkstackspace_handler): * win/tclWinChan.c (ESP, EBP, Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (ESP, EBP, DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Implement SEH support under gcc using inline asm. Tcl should now compile with Mingw 1.1. [Patch 525746]
file: [0aa4a3c8fc] check-in: [878325c8b2] user: hobbs branch: core-8-3-1-branch, size: 16042
2002-08-20
20:25
merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk file: [7bc98bd48b] check-in: [354986d9c3] user: das branch: macosx-8-4-branch, size: 17293
2002-06-13
09:39
vfs, winfs testsuite file: [9e14091bef] check-in: [494e81b676] user: vincentdarley branch: trunk, size: 17299
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: [364d8328b7] check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 16944
2002-03-15
01:10
* win/configure: Regen. * win/configure.in: Add configure time test for SEH support in the compiler. * win/tclWin32Dll.c (ESP, EBP, TclpCheckStackSpace, _except_checkstackspace_handler): * win/tclWinChan.c (ESP, EBP, Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (ESP, EBP, DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Implement SEH support under gcc using inline asm. Tcl and Tk should now compile with Mingw 1.1. [Patch 525746]
file: [3e57665b83] check-in: [6683e2fa91] user: mdejong branch: trunk, size: 16939
2002-03-08
01:45
* win/tclWin32Dll.c (TclpCheckStackSpace): * win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Replace hard coded constants with Win32 symbolic names. Move control flow statements out of __try blocks since the documentation indicates it is frowned upon.
file: [6f648f7ef3] check-in: [6556155cb4] user: mdejong branch: trunk, size: 15746
2002-02-08
02:52
* Partial TIP 27 rollback. Following routines restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects.
* generic/tclCmdMZ.c: corrected use of C++-style comment.
file: [2588d8f148] check-in: [bb1a244cde] user: dgp branch: trunk, size: 15606
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [b64a3d0237] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 15627
2002-01-25
21:36
* [Patch 505630] Updated interfaces of generic/tclBasic.cc (TIP 27). * [Patch 506818] Updated interfaces of generic/tclHash.c (TIP 27). * [Patch 506807] Updated interfaces of generic/tclObj.c (TIP 27). * [Patch 507304] Updated interfaces of win/tclWin32.c (TIP 27). * Update all callers.
file: [58eb36228d] check-in: [375ac8d641] user: dgp branch: trunk, size: 15618
2001-11-19
17:45
win fs fixes file: [1de22d70c1] check-in: [393f41f0e5] user: vincentdarley branch: trunk, size: 15616
2001-10-29
15:02
win fs fixes file: [15fbfcaac8] check-in: [3ecf07ac1a] user: vincentdarley branch: trunk, size: 14909
2000-08-08
19:03
Deleted: Created branch tclpro-1-5-0-synthetic check-in: [e979569c4f] user: cvs2fossil branch: tclpro-1-5-0-synthetic, size: 0
2000-03-31
08:52
* generic/tclInt.decls: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: * win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s support).
* win/tclWinReg.c: made use of TclWinGetPlatformId instead of getting info again
* win/tclWinPort.h: * win/Makefile.in: * win/configure.in: * win/tcl.m4: Added support for gcc/mingw on Windows [Bug: 4234]
file: [1d242c4b67] check-in: [36c0007d3f] user: hobbs branch: trunk, size: 14709
1999-12-09
14:44
* win/tclWin32Dll.c: * win/tclWinChan.c: * win/tclWinFCmd.c: * win/tclWinInit.c: * win/tclWinPipe.c: * win/tclWinSock.c: removed all code that supported Win32s. It was no longer officially supported, and likely didn't work anyway. * win/makefile.vc: removed 16 bit stuff, cleaned up. * win/tcl16.rc: * win/tclWin16.c: * win/winDumpExts.c: these files have been removed from the source tree (no longer necessary to build) * win/aclocal.m4: made it just include tcl.m4
file: [4ef99ebcae] check-in: [28cb1be105] user: hobbs branch: trunk, size: 16493
1999-04-23
01:57
* win/tclWinFCmd.c: * win/tclWin32Dll.c: Changed uses of "try" to "__try", since that is the actual keyword. This eliminates the need for some -D flags from the makefile. file: [ab8ae81cec] check-in: [ffcd4f3326] user: stanton branch: trunk, size: 17196
1999-04-21
00:42
Deleted: Added comments for 4/19 and 4/20 check-in: [6c6fc5d7b2] user: redman branch: scriptics-tclpro-1-2-old, size: 0
1999-04-16
00:46
merged tcl 8.1 branch back into the main trunk file: [d6bc3519f2] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 17192
1999-04-14
00:33
Fixed comments in code that referred to APIs that no longer exist, were misspelled, or have been updated. file: [2cc55a6294] check-in: [2d7ffe4998] user: surles branch: core-8-1-branch-old, size: 17195
1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
1999-03-10
05:52
Merged stubs changes into mainline for 8.0 file: [9dd81c6c72] check-in: [1969693351] user: stanton branch: trunk, size: 10041
1999-03-09
01:31
Moved Dll instance from thread-local-storage. file: [a23dd46e72] check-in: [b52c2b3eff] user: lfb branch: core-8-1-branch-old, size: 17188
1999-03-04
00:59
* win/tclWinInt.h: * win/tclWin32Dll.c: * unix/tclUnixInit.c: Added TclpCheckStackSpace. file: [8d048db36b] check-in: [5991f75c67] user: stanton branch: dev-stubs-branch, size: 10045
1998-09-30
20:50
* makefile.vc: fixed so TCL_LIBRARY is set before running tcltest

* tclWinInit.c: lint

* tclWin32Dll.c: removed TclpFinalize, cleanup of merges file: [acaf5169b0] check-in: [281afe0988] user: stanton branch: core-8-1-branch-old, size: 17192

1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [fafe503be5] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 17788
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [ba5e584f4b] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 15987
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [0f0582c4b3] check-in: [196f92fd17] user: stanton branch: trunk, size: 9193
1998-07-09
19:02
added STATIC_BUILD test around DllMain, etc. file: [2c4318dcf6] check-in: [c86ad816b9] user: stanton branch: trunk, size: 9172
1998-04-29
17:10
added TclWinInit and TclpFinalize file: [2c88a9c75a] check-in: [b9d8955be1] user: stanton branch: trunk, size: 9081
1998-03-26
14:56
Added: Initial revision file: [6a9c54b72a] check-in: [f86c34e38d] user: rjohnson branch: trunk, size: 8451