Tcl Source Code

History of win/tclWinSock.c of 627781a6dbb0e63a
Login

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

History of file win/tclWinSock.c at check-in 627781a6dbb0e63a

2025-08-12
09:06
More booleans. file: [e4f31a1987] check-in: [8a9080996d] user: dkf branch: c-std-update, size: 84149
2025-08-01
11:48
More moving of variable declarations file: [2b65464f73] check-in: [1d20e4cf45] user: dkf branch: c-std-update, size: 84076
2025-07-12
20:58
Define TclPrintfResult() for common pattern in error generation. file: [621f50a8c0] check-in: [70b6205548] user: dkf branch: c-std-update, size: 84358
2025-07-02
20:31
merge trunk file: [4a37f8a5fe] check-in: [b013256012] user: dkf branch: c-std-update, size: 84498
2025-06-25
16:41
Merge 9.0 - Fix [40b1814b93] and [7c2716733a] Window handle use-after-frees. file: [b8f775177c] check-in: [54eb90319d] user: apnadkarni branch: main, size: 84464
2025-06-23
07:26
Move code that might work to shared place, and delete copy that definitely won't ever work file: [cd289e62da] check-in: [65474529f0] user: dkf branch: main, size: 84360
2025-06-20
13:15
Give each TSD struct its own name as well as the standard ThreadSpecificData file: [32b3a40e62] check-in: [8d695d0eb6] user: dkf branch: c-std-update, size: 84906
2025-06-14
05:31
Bug [40b1814b93] - Proposed fix for Winsock use-after-frees file: [76e959838d] check-in: [bbb565eca7] user: apnadkarni branch: bug-40b1814b93, size: 84931
2025-04-02
15:44
Another bunch of -Wconversion warning fixes file: [f306129230] check-in: [58b859b5ea] user: jan.nijtmans branch: tip-626, size: 84872
2025-03-25
16:08
Fix all (Windows) C4244 warnings in win/tclWin*.c files file: [6d8de9e5fa] check-in: [8a471302b0] user: jan.nijtmans branch: main, size: 84839
2025-01-20
14:39
Fixes for many many whitespace infelicities file: [933cb409ac] check-in: [ba7d219e65] user: dkf branch: whitespace-fix, size: 84820
2025-01-10
13:01
Add TclPrintfResult() for easy error message generation file: [80e053fb8e] check-in: [665eb99f69] user: dkf branch: dkf-c11-features, size: 84695
2025-01-08
08:36
(cherry-pick): Simplification for [d58e315172] file: [586ef45adc] check-in: [1dd56a242c] user: jan.nijtmans branch: core-8-branch, size: 86286
2024-12-15
15:03
Convert collection of related constants to an enum file: [6b9263e5a0] check-in: [2e25432abf] user: dkf branch: main, size: 84827
2024-08-29
09:17
Merge [612cbe4899eb25a2]: Simpler commenting of Tcl_ChannelType instances; make zip channel type const. file: [53ff3d5929] check-in: [2468f77a5a] user: pooryorick branch: unchained, size: 85216
08:23
Merge [f6c559b364487a9d]: Space before tab is an extremely unlikely to be correct indentation pattern. file: [2ee189088a] check-in: [8a11a89576] user: pooryorick branch: unchained, size: 85502
2024-08-28
20:48
Merge [63b426f8f209c2ae]: Fix [e589d9bdab] - fconfigure socket -peername. file: [031df62738] check-in: [f90b067d4e] user: pooryorick branch: unchained, size: 85504
19:50
Merge [7349d7971a237947]: Fix [3fc3287497]: TclGetProcessGlobalValue encodes information twice on Windows. file: [8ca4559210] check-in: [879157fad4] user: pooryorick branch: unchained, size: 85490
16:33
Merge [3a60363aa10ef993]: Clean up a lot of whitespace issues. file: [7535f2bb49] check-in: [627781a6db] user: pooryorick branch: unchained, size: 85415
2024-08-27
18:59
Merge [d90e8286b699c68a]: Add some typecasts, remove duplicate "memset", remove some spacing. file: [ea12091904] check-in: [1ed16444f4] user: pooryorick branch: unchained, size: 85412
18:36
Merge [e0bdc14669e8fbcd]: Cleaning up tclWinSock.c. file: [6ff9fd69a6] check-in: [5a98192fb9] user: pooryorick branch: unchained, size: 85417
2024-08-26
09:56
Merge [3bdb40e1f2683f5f]: Few more spacing/formatting tweaks. file: [0e08debfce] check-in: [30d592af71] user: pooryorick branch: unchained, size: 85293
09:54
Merge [9a59cf84995963c5]: More spacing/formatting tweaks. file: [45a2ceb729] check-in: [33360d10e4] user: pooryorick branch: unchained, size: 85294
09:45
Merge [1fbff64078d7fb02]: Fix indentation/brace usage style issues. file: [ac2c333a37] check-in: [bd3faf4a67] user: pooryorick branch: unchained, size: 85317
2024-08-25
12:47
Merge [934b2040da5963c5]: Derpfix... file: [efa5141d6c] check-in: [b57c97171c] user: pooryorick branch: unchained, size: 85312
12:38
Merge [d368958709619b2c]: Reduce the number of warnings on Windows: channel names generated in one place. file: [f94a3a3823] check-in: [fe79137131] user: pooryorick branch: unchained, size: 85355
2024-08-22
21:06
Merge [b05d33be57ea5930]: Fix [31fc36fe47] - socket crash with multiple threads. file: [bfc031cc49] check-in: [ec84d4bf16] user: pooryorick branch: unchained, size: 85405
18:59
Merge [f1543f19f80d7261]: Add more Tcl_Size and size_t. file: [99bedbcc27] check-in: [db9f3230e9] user: pooryorick branch: unchained, size: 85327
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: [a65056e7f5] check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 85334
2024-07-08
16:32
Remaining can't -> cannot changes file: [68799ad136] check-in: [9f35c75244] user: jan.nijtmans branch: bug-0439e1e1a3, size: 84841
2024-07-05
11:52
Use GetHostNameW() in stead of gethostname()

Only available in Windows 8+ file: [70c17a9863] check-in: [a7937609c5] user: jan.nijtmans branch: gethostnamew, size: 83552

2024-06-09
10:33
Simpler commenting of Tcl_ChannelType instances; make zip channel type const file: [fde18cca4a] check-in: [612cbe4899] user: dkf branch: main, size: 84839
2024-06-04
15:35
Space before tab is an extremely unlikely to be correct indentation pattern file: [77beb932ed] check-in: [f6c559b364] user: dkf branch: main, size: 85125
2024-05-24
15:51
Fix [e589d9bdab] - fconfigure socket -peername file: [e60478ceee] check-in: [44009dc22e] user: apnadkarni branch: core-8-branch, size: 86288
15:13
Fix [e589d9bdab] file: [19fc05fa4a] check-in: [ddf5f314e0] user: apnadkarni branch: bug-e589d9bdab, size: 85127
2024-05-23
15:37
Fix [3fc3287497]: TclGetProcessGlobalValue encodes information twice on Windows file: [03efe7aba8] check-in: [7349d7971a] user: jan.nijtmans branch: main, size: 85113
15:14
Fix [3fc3287497]: TclGetProcessGlobalValue encodes information twice on Windows file: [2f8d1100c0] check-in: [73dc48ac59] user: jan.nijtmans branch: core-8-branch, size: 86274
10:18
Possible fix for [3fc3287497]: TclGetProcessGlobalValue encodes information twice on Windows file: [49e044bdd8] check-in: [e99ba02756] user: jan.nijtmans branch: bug-3fc3287497, size: 89242
08:53
More trickery with macros file: [4573d6c037] check-in: [a3f9c1bec2] user: dkf branch: more-macros, size: 84901
2024-05-20
16:38
merge trunk file: [a7adef874d] check-in: [3fd88cd4cd] user: dkf branch: result-helpers, size: 84898
2024-05-14
16:06
Add helper macros TclSetResult and TclPrintfResult file: [a4420eb827] check-in: [0b65fb9e0c] user: dkf branch: result-helpers, size: 84901
2024-05-13
15:41
Clean up a lot of small whitespace issues

This is the dullest commit ever. Sorry. file: [a86865fe30] check-in: [3a60363aa1] user: dkf branch: main, size: 85041

2024-05-08
15:11
Merge 8.7 file: [9746ec4761] check-in: [d90e8286b6] user: jan.nijtmans branch: main, size: 85038
15:06
Add some typecasts, remove duplicate "memset", remove some spacing. file: [789d9bb596] check-in: [71dea9c67f] user: jan.nijtmans branch: core-8-branch, size: 86213
14:39
Backport [e0bdc14669] "Cleaning up tclWinSock.c" file: [b4a599b4a6] check-in: [718495c125] user: oehhar branch: core-8-branch, size: 86218
09:03
Cleaning up tclWinSock.c file: [e7dfb41b37] check-in: [e0bdc14669] user: dkf branch: main, size: 85043
2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [0b06ba09e2] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 84754
2024-04-18
15:06
Tidy up some indentation and other little code style issues file: [4bb77d86ef] check-in: [cb11914788] user: dkf branch: tidy-indentation, size: 85106
2024-03-20
13:49
Few more spacing/formatting tweaks file: [47d0192334] check-in: [3bdb40e1f2] user: jan.nijtmans branch: main, size: 84919
13:14
(backport) more spacing/formatting tweaks. For now, macosx/unix/win only. file: [f651b32ea8] check-in: [dc8a99efff] user: jan.nijtmans branch: core-8-branch, size: 86110
2024-03-19
17:09
more spacing/formatting tweaks file: [c922f2ce85] check-in: [9a59cf8499] user: dkf branch: main, size: 84920
16:12
Backport fix for [bda99f2393]: gets stdin problem when non-blocking - Windows (cherry-pick): Fix indentation/brace usage style issues file: [e0b03188c5] check-in: [770221ff54] user: jan.nijtmans branch: core-8-branch, size: 86133
14:56
Fix indentation/brace usage style issues file: [39457eb502] check-in: [1fbff64078] user: dkf branch: main, size: 84943
2024-02-19
16:27
TCL_INTEGER_SPACE + 4 could be too small for a channelName on win32. Backported from 9.0: Derpfix... file: [408ea3679b] check-in: [1a335aed10] user: jan.nijtmans branch: core-8-6-branch, size: 89195
2024-02-16
16:59
(Cherry-pick): Derpfix... file: [4ca83af7d4] check-in: [12125d5be6] user: jan.nijtmans branch: core-8-branch, size: 86128
16:23
Derpfix... file: [47820a3be9] check-in: [934b2040da] user: dkf branch: main, size: 84938
14:43
(cherry-pick) Reduce the number of warnings on Windows: channel names generated in one place file: [e5022fda3d] check-in: [e494ede6de] user: jan.nijtmans branch: core-8-branch, size: 86171
14:17
Reduce the number of warnings on Windows: channel names generated in one place file: [e1d73bd33c] check-in: [d368958709] user: dkf branch: main, size: 84981
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: [fbf85083ac] check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 85040
2024-01-27
22:05
Now passing tests file: [f89e3c23e1] check-in: [fbcb7c7022] user: dkf branch: oo-properties-c-impl, size: 85027
2024-01-04
20:58
Merge 9.0 file: [ee6a5700cc] check-in: [bfb5c2d0d3] user: jan.nijtmans branch: tip-671, size: 85033
2023-10-21
14:51
Merge 8.7 - Bug [31fc36fe47] - socket crash with multiple threads. file: [afa8598ac4] check-in: [b05d33be57] user: apnadkarni branch: main, size: 85031
13:00
Proposed fix file: [e8dc61950b] check-in: [a88829719d] user: apnadkarni branch: bug-31fc36fe47, size: 86222
2023-10-10
19:40
Merge 8.7 file: [c8ac2579ed] check-in: [f1543f19f8] user: jan.nijtmans branch: main, size: 84953
2023-06-14
15:17
Use lossless profile for command line args. Couple of platform-specific cases. file: [9a0a37d3d5] check-in: [1e1a880f3e] user: apnadkarni branch: tip-671, size: 84962
2023-04-12
14:25
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [1bac4a96b7] check-in: [d65da06a77] user: pooryorick branch: main, size: 84960
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [7c4c695493] check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 86144
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: [19fb881663] check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 89199
2023-04-04
20:50
more progress file: [e377c0e5ce] check-in: [4e36871191] user: jan.nijtmans branch: optional-signed-size, size: 84958
2023-03-30
22:22
Merge 8.7 file: [d56d484e6f] check-in: [7c9d2dc7a3] user: jan.nijtmans branch: main, size: 84957
22:02
Merge 8.6 file: [b2ee4bfd02] check-in: [166e8656a7] user: jan.nijtmans branch: core-8-branch, size: 86141
15:19
Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it on other platforms either. file: [86a0a51658] check-in: [ec56f33813] user: jan.nijtmans branch: bug-0cb3554903, size: 89196
2023-02-25
03:03
Compiles and runs. Tests still to be ported. file: [b593fbbeed] check-in: [c057c79d2b] user: apnadkarni branch: tip-656-tcl9, size: 84869
2023-02-22
17:07
port jan-encoding-profile to 9.0 file: [8280d90223] check-in: [900d53d140] user: jan.nijtmans branch: jan-encoding-profile-for-9.0, size: 84857
2022-11-24
17:41
Merge 8.7 file: [e1084c5db4] check-in: [e31792be33] user: jan.nijtmans branch: main, size: 84855
16:16
Use some more TCL_INDEX_NONE and Tcl_Size file: [20003091bb] check-in: [9a501de3ec] user: jan.nijtmans branch: core-8-branch, size: 86053
2022-11-07
20:46
Deprecate TclpHasSockets(): Every system nowadays has sockets file: [6f991645b6] check-in: [02f41946ab] user: jan.nijtmans branch: core-8-branch, size: 86016
2022-11-06
21:01
Remove TclpHasSockets(): Every system nowadays has sockets file: [4e43943e1b] check-in: [512fc5578d] user: jan.nijtmans branch: main, size: 84812
2022-10-27
07:13
Merge 8.7 file: [7d2c5aa847] check-in: [238455ebc4] user: jan.nijtmans branch: main, size: 88501
07:11
TIP #468: Support Passing TCP listen Backlog Size Option to TCP Socket Creation file: [b49fa22ac7] check-in: [49befbf025] user: jan.nijtmans branch: core-8-branch, size: 89705
2022-10-23
10:53
Merge 8.7 file: [3e6710e306] check-in: [56c666a3c4] user: jan.nijtmans branch: main, size: 88306
2022-10-13
10:31
rebase to 8.7. Add documentation file: [62805c23df] check-in: [dd3e22aaf6] user: jan.nijtmans branch: tip-468, size: 89763
2022-10-12
11:22
Rebase to 8.7 file: [8f5653ae51] check-in: [7e26012229] user: jan.nijtmans branch: tip-641, size: 89510
10:50
Merge 8.7 file: [774f06d46b] check-in: [be6f6f10ce] user: jan.nijtmans branch: main, size: 88364
2022-10-04
15:52
TIP #641 implementation: Let Tcl_GetBoolean(FromObj) handle (C99) bool file: [f7215071eb] check-in: [725affb0ff] user: jan.nijtmans branch: tip-641, size: 89978
2022-09-26
21:45
Adapt implementation to TIP: -nagle -> -nodelay (and invert some logic) file: [553eeb4f58] check-in: [177effccfa] user: jan.nijtmans branch: tip-344, size: 89568
2022-09-08
14:18
Merge 8.7 file: [1f0ea5fae2] check-in: [2d527d2c3e] user: jan.nijtmans branch: tip-344, size: 89558
14:14
Merge 8.7 file: [05e7345a61] check-in: [eabc05de29] user: jan.nijtmans branch: main, size: 88889
14:06
Combine flags and testFlags in TcpState. That should unbreak socket testcase failure file: [cdc133322c] check-in: [d19ee61498] user: jan.nijtmans branch: core-8-branch, size: 90093
2022-09-07
13:47
Merge 8.7 file: [9ab49a30bf] check-in: [bba45b98a3] user: jan.nijtmans branch: tip-344, size: 89794
07:47
Merge 8.7 file: [dee4cef68f] check-in: [7b88ab39e3] user: jan.nijtmans branch: main, size: 89125
07:42
Merge 8.6 file: [84275a6398] check-in: [cecb37eb5e] user: jan.nijtmans branch: core-8-branch, size: 90329
07:22
code cleanup (backported from 8.7) file: [93b295548f] check-in: [fe8b793fd8] user: jan.nijtmans branch: core-8-6-branch, size: 89108
2022-09-05
15:25
Merge 8.7. Primarily ticket [55a02f20ec] file: [1e532fefc2] check-in: [4c33048573] user: apnadkarni branch: main, size: 89880
12:18
Merge 8.6. Primarily ticket [55a02f20ec] file: [b46f340c26] check-in: [aaac8c1ac3] user: apnadkarni branch: core-8-branch, size: 91154
2022-09-03
13:57
typo's file: [2ac617f8c6] check-in: [15bb2e6c98] user: jan.nijtmans branch: core-8-6-branch, size: 87819
13:45
TIP #344 implementation file: [c6801e59dc] check-in: [8c06ee429e] user: jan.nijtmans branch: tip-344, size: 90619
2022-09-02
07:42
Some more (internal) ClientData -> void * changes file: [9bc68d9eb5] check-in: [1f524aee1d] user: jan.nijtmans branch: main, size: 89883
2022-07-19
08:56
Merge 8.7 file: [e69212436f] check-in: [7c6436ddb3] user: jan.nijtmans branch: main, size: 89975
08:35
Make a start converting -1 -> TCL_INDEX_NONE where appropriate file: [a511908619] check-in: [ec4c6a5785] user: jan.nijtmans branch: core-8-branch, size: 91157
2022-03-21
14:18
Fix compiler warnings, due to the use of macro's file: [f94e6ccf39] check-in: [67dcdf17e2] user: jan.nijtmans branch: main, size: 89951
2021-09-22
21:46
Various fixes. Not done yet file: [7c464ac0ba] check-in: [3e61b427fa] user: jan.nijtmans branch: tcl-time-64bit, size: 89896
2021-04-17
23:26
Use C enums instead of clusters of #defines file: [e035243747] check-in: [9cc837d642] user: dkf branch: enum, size: 91341
2021-04-12
19:14
merge core-8-branch file: [2a6b255376] check-in: [7fe5a49c05] user: dkf branch: enum-and-inline, size: 91226
2021-04-08
14:26
Merge 8.7 file: [2e9d36ba85] check-in: [652f6ffee1] user: jan.nijtmans branch: main, size: 89924
2021-04-07
16:47
Use a lot more enums and inline funcs instead of macros; behaviour is more predictable. file: [8b21e7fc73] check-in: [03219f19f4] user: dkf branch: enum-and-inline, size: 91208
2021-03-09
15:28
TclWinConvertError -> Tcl_WinConvertError file: [dc3f1cdd34] check-in: [745469da9e] user: jan.nijtmans branch: rfe-800716, size: 91133
2020-12-08
15:42
Merge 8.7 file: [5a475dcfb5] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 89906
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: [8f4c0dd60d] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 91115
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: [f67fc84b91] check-in: [71c2ffb382] user: jan.nijtmans branch: core-8-5-branch, size: 69596
2020-08-11
05:39
Eliminate many unnecessary type-casts, mostly (size_t) when value is already size_t or int file: [442558041d] check-in: [013b828787] user: jan.nijtmans branch: core-8-6-branch, size: 87822
2020-08-10
16:16
windows: replace gethostbyname with getaddrinfo (gethostbyname can hang sporadically, closes [7cf7cce423]); corresponding to MS (https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-gethostbyname): Developers creating Windows Sockets 2 applications are urged to use the getaddrinfo function instead of gethostbyname file: [f658f0ee14] check-in: [ebf745562a] user: sebres branch: core-8-5-branch, size: 69616
2020-04-30
19:25
merge 8.7 file: [e5cac478cf] check-in: [948dd75b36] user: dgp branch: trunk, size: 89907
19:24
merge 8.6 file: [7c61523a5a] check-in: [c1648c2e63] user: dgp branch: core-8-branch, size: 91116
15:35
Win: use physical host DNS name instead cluster name. Ticket [da235271f1] file: [0ac0ef166c] check-in: [2ba1cd687f] user: oehhar branch: core-8-6-branch, size: 87830
2020-04-27
11:08
small review file: [a8b456190c] check-in: [b6d4029d2b] user: sebres branch: bug-b6d0d8cc2c, size: 72730
10:45
fixes [b6d0d8cc2c]: on close firstly try graceful disconnect and don't linger if it succeeds (and perform a hard reset in case socket closed without data sent/received) file: [c91a489a69] check-in: [b960d1b71e] user: sebres branch: bug-b6d0d8cc2c, size: 72759
2020-04-17
13:09
Merge-mark 8.5. Remove some ARGSUSED usage. file: [a4bffa6490] check-in: [afe11ea5cc] user: jan.nijtmans branch: core-8-6-branch, size: 87822
13:01
Unbreak shared windows build. Remove some ARGSUSED usage. file: [fd962d3472] check-in: [8dd8b3e777] user: jan.nijtmans branch: core-8-5-branch, size: 69469
2020-03-31
07:09
Internal API simplifications: Don't use types like HINSTANCE/HMODULE any more, just void*. Has effect only on Win32 and Cygwin. file: [fedd72072a] check-in: [3ec419f7df] user: jan.nijtmans branch: trunk, size: 89899
2020-03-25
10:11
Simplify platform/internal stubs. Not to be merged soon, still highly experimental!!!! file: [b93e37aaa6] check-in: [f9b8d0eda5] user: jan.nijtmans branch: stub-simplification, size: 89895
2020-03-17
01:20
merge 8.7 file: [a504afeba9] check-in: [4d9717c8ef] user: dgp branch: trunk, size: 89877
01:01
TIP 569 - remove lint comments file: [0232a547b8] check-in: [658a498ae4] user: dgp branch: core-8-branch, size: 91108
2020-03-09
16:34
merge 8.7 file: [cf8898eda4] check-in: [a0ed9240c8] user: dgp branch: trunk, size: 89998
16:13
TCL_UNUSED for win sources. file: [593479486c] check-in: [2c8f3c4653] user: dgp branch: core-8-branch, size: 91229
2020-03-04
14:33
Merge 8.7. Remove documentation and typedefs related to old channel types. file: [8c3bab604a] check-in: [d5bc305ad2] user: jan.nijtmans branch: trunk, size: 90130
2020-02-28
14:07
Merge 8.7 file: [439a8e5b5d] check-in: [0d3f9515c0] user: jan.nijtmans branch: trunk, size: 90123
13:13
Implement TIP #562: Deprecate channel types 1-4 file: [5973815b0e] check-in: [74755e2555] user: jan.nijtmans branch: core-8-branch, size: 91361
12:46
Merge 8.7 file: [d66d067703] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 90106
2020-02-26
10:58
Merge 8.7 file: [200edf7b50] check-in: [cfcbd55aba] user: jan.nijtmans branch: cplusplus, size: 91283
2020-02-24
12:19
Merge 8.7 file: [8f1ccb9d1a] check-in: [62e1651518] user: jan.nijtmans branch: trunk, size: 89577
12:18
Merge 8.6 file: [2d87009b47] check-in: [1d3f5159be] user: jan.nijtmans branch: core-8-branch, size: 90754
2020-02-21
09:25
Fix [da235271f1]: [info hostname] on Windows is limited to max NetBIOS name length file: [d6a48c6f76] check-in: [632704e948] user: jan.nijtmans branch: core-8-6-branch, size: 87943
09:00
Win: Change order of checking hostname: first DNS, then netbios. Bug [da235271f1] file: [20574ecb93] check-in: [7fedbce431] user: oehhar branch: bug-da235271f1-win-netbios-host-prefered, size: 87950
2020-02-13
22:06
Merge 8.7 file: [2166668094] check-in: [c59e305ca6] user: jan.nijtmans branch: cplusplus, size: 91275
2020-01-31
14:58
Make Tcl_ChannelCloseProc() deprecated too. Implement close2Proc and wideSeekProc for all internal channel types. file: [96aed12c64] check-in: [4107df0b30] user: jan.nijtmans branch: deprecate-channel-type-1-4, size: 90824
2020-01-30
13:54
Merge 8.7 file: [de66e4e7a0] check-in: [e49c635f8c] user: jan.nijtmans branch: trunk, size: 89569
13:54
Merge 8.6 file: [8616489860] check-in: [8feacb7452] user: jan.nijtmans branch: core-8-branch, size: 90746
13:52
Reset WSAGetLastError()/errno always, even when this error is not reported due to the earlier error. file: [9e6ee368d6] check-in: [1f9f6b8596] user: jan.nijtmans branch: core-8-6-branch, size: 87935
13:27
Merge 8.7 file: [2831d89a94] check-in: [904884ed6a] user: jan.nijtmans branch: trunk, size: 89532
13:21
Merge 8.6 file: [c3c2f9d1a6] check-in: [0d5cc3c4bb] user: jan.nijtmans branch: core-8-branch, size: 90709
13:00
According to the documentation, close2Proc(...., 0) should operate the same as closeProc(). Fix the UNIX/Windows socket channels to behave like that. file: [d4815407e0] check-in: [28c4356c52] user: jan.nijtmans branch: core-8-6-branch, size: 87898
2019-11-17
19:47
Merge 8.7 file: [a6679363f5] check-in: [acbfa8fc49] user: jan.nijtmans branch: tip-468, size: 91541
2019-09-20
21:21
Merge 8.7 file: [1637e2a0c6] check-in: [ed4252bf0d] user: jan.nijtmans branch: trunk, size: 89476
21:20
Merge 8.6 file: [92e5507e84] check-in: [eb2dd45bdd] user: jan.nijtmans branch: core-8-branch, size: 90653
21:01
Let's use GetWindowLongW/SetWindowLongW on Win32 directly. Missed them because they are not used in Win64. file: [010cd7d853] check-in: [b23280452f] user: jan.nijtmans branch: core-8-6-branch, size: 87842
13:53
More Win32 API impovals. file: [3ef6dbbfa2] check-in: [3cd1f252bf] user: jan.nijtmans branch: cplusplus, size: 91182
2019-09-19
18:27
Merge 8.7 file: [46d223310f] check-in: [f6491a4282] user: jan.nijtmans branch: cplusplus, size: 91174
15:36
Merge 8.7 file: [6403baa0f7] check-in: [8c85c9ded5] user: jan.nijtmans branch: trunk, size: 89474
15:24
Merge 8.6 file: [7cd403ae8b] check-in: [6b92f77a0a] user: jan.nijtmans branch: core-8-branch, size: 90651
11:36
Don't build the Tcl library in Unicode mode any more. Just tclAppInit.c (and cat32 on Windows) file: [1cbbba9694] check-in: [31d001f4a3] user: jan.nijtmans branch: implicit-unicode, size: 87840
07:44
Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without -DUNICODE) file: [29bddc2c1a] check-in: [d43bb90300] user: jan.nijtmans branch: core-8-branch, size: 90649
2019-09-18
15:11
TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since we are impicitly compiling with -DUNICODE file: [fd1b613c04] check-in: [d05832de38] user: jan.nijtmans branch: core-8-6-branch, size: 87817
2019-09-14
13:07
Merge 8.7 file: [53236c68e8] check-in: [9ea2eea22d] user: jan.nijtmans branch: trunk, size: 89465
2019-09-05
15:14
Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and Windows) without -Wunused-parameters warnings file: [475f62e7f3] check-in: [48b1783ecd] user: jan.nijtmans branch: cplusplus, size: 91165
2019-08-03
21:51
Use *WChar* in stead of *Char16* functions on Windows, always. It's actually the same, but more consistent. file: [af722a111f] check-in: [4229b74992] user: jan.nijtmans branch: tip-548, size: 90642
20:25
Merge tip-548 (since using the *WChar* functions leads to less type-casts in c++) Als finish implementaton for MacOSX file: [8d375c6159] check-in: [3da6c33030] user: jan.nijtmans branch: cplusplus, size: 91032
2019-08-02
12:15
Merge 8.7. Continue implementation for win32 file: [33567749bf] check-in: [ff6fa30271] user: jan.nijtmans branch: cplusplus, size: 91025
2019-08-01
11:55
Merge tip-548 file: [12f71ac897] check-in: [8819e7a6a3] user: jan.nijtmans branch: utf-max, size: 90643
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: [5701cd167f] check-in: [070bfd62cb] user: jan.nijtmans branch: tip-548, size: 90663
2019-07-05
09:03
Improvement: always export both 16-bit and 32-bit UTF function file: [2ab0174ce9] check-in: [27f2c4cf5e] user: jan.nijtmans branch: tip-548, size: 90662
2019-06-03
19:48
TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide more flexible replacement functions file: [4949aa52a6] check-in: [49785ba3b0] user: jan.nijtmans branch: tip-548, size: 90662
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: [605db4b51e] check-in: [a33e22b6ba] user: jan.nijtmans branch: utf-max, size: 90642
2019-03-11
20:56
Merge 8.7 file: [1b117f1f62] check-in: [13fd8a4647] user: jan.nijtmans branch: trunk, size: 89458
20:32
Change TCHAR -> WCHAR in many places, since that's what it is since Windows NT file: [90ec4b9bba] check-in: [876f74eabe] user: jan.nijtmans branch: core-8-branch, size: 90635
2018-10-28
19:36
Merge tip-468 branch file: [4d617a8e73] check-in: [55c044358f] user: jan.nijtmans branch: tip-468, size: 91528
19:26
Merge 8.7 file: [f11424a0ac] check-in: [4f12a75d03] user: jan.nijtmans branch: tip-468, size: 90835
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: [2eff6d55a5] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 89463
2018-06-25
20:39
merge 8.7 file: [31aced76f1] check-in: [cafdafc31b] user: jan.nijtmans branch: trunk, size: 89449
20:38
merge 8.6 file: [8c00426f95] check-in: [1c67775fe7] user: jan.nijtmans branch: core-8-branch, size: 90640
07:22
Simplify ToUtf(), expecially for TCL_UTF_MAX>3 (with correct surrogate handling). Fix various typo's file: [e30699bc47] check-in: [257ff5d1b3] user: jan.nijtmans branch: core-8-6-branch, size: 87808
2017-12-15
21:27
Revert a few more (int -> size_t) transitions, which could effect extensions (such as Itcl 3.4) which use internal Tcl header files. Better wait until 9.0 for this. What we _can_ do is change some (internal) fields to 'unsigned': that doubles the epoch range without further danger. Thanks, Don, for pointing this out! file: [1ddbbd8c1d] check-in: [b59ef9e0d8] user: jan.nijtmans branch: core-8-branch, size: 90636
2017-08-13
22:05
Support cross-compiling Tcl for 'Win32 on ARM' using Visual Studio. file: [3793a33621] check-in: [bde6588ccd] user: mistachkin branch: irontcl, size: 87783
2017-05-03
10:20
[win] Ensure nothing calls CreateThread directly, may cause conflicts when using the CRT library resp. libraries with static TLS. Rewritten using new TclWinThreadCreate (call TclWinThreadExit added at end of corresponding thread proc). file: [f88b1f8230] check-in: [a18ff63eb7] user: sebres branch: core-8-5-branch-fix-1997007, size: 69702
2017-04-11
11:30
unbreak windows build (by previous commit) file: [a13117e3ee] check-in: [d64f0632a8] user: jan.nijtmans branch: trunk, size: 90630
10:04
merge trunk file: [0e58822fe1] check-in: [9aa06eddb4] user: jan.nijtmans branch: novem, size: 89445
2017-04-10
16:21
More minor style fixes. file: [f7850e4a24] check-in: [4809613b1b] user: dkf branch: trunk, size: 90630
12:39
Merge Harald's "robust-async-connect-tests" branch. Thanks! file: [722bcd22cd] check-in: [9f162eb401] user: jan.nijtmans branch: trunk, size: 90488
11:01
Merge "tip-468" branch. Add new function Tcl_OpenTcpClientEx() with same change as Tcl_OpenTcpServerEx(): in stead of a port number, supplie a "service" string. file: [11440f87c5] check-in: [97a181d1d6] user: jan.nijtmans branch: tip-468-bis, size: 90520
09:35
merge (minor style issues from) trunk file: [6028cfe209] check-in: [6ecd17f92a] user: jan.nijtmans branch: tip-468, size: 89827
2017-04-09
16:51
Minor style issues through the socket implementation code. file: [d892fac22d] check-in: [11fdde797a] user: dkf branch: trunk, size: 89632
14:32
TIP 468 implementation from Shannon Noe. file: [ddcb906063] check-in: [ca6b6fe37e] user: dkf branch: tip-468, size: 88172
2017-04-06
15:25
Some more (internal) stub entries which can be cleaned up with -DTCL_NO_DEPRECATED, because they are not used any more. file: [b0395f7d37] check-in: [d731f72293] user: jan.nijtmans branch: trunk, size: 87977
2017-01-10
14:35
Further experimental follow-up: Add internal function TclOpenTcpClientEx(), as companion to Tcl_OpenTcpServerEx(). Should be exported through new TIP. file: [82aa4258f7] check-in: [78d4429e3b] user: jan.nijtmans branch: tip-456, size: 88617
13:56
Experimental follow-up: Change internal TclCreateSocketAddress() signature, from using "int port" to "const char *service". file: [cea6aa8479] check-in: [3b3fac1cee] user: jan.nijtmans branch: tip-456, size: 88068
2017-01-04
13:01
merge trunk file: [14dbbc05d5] check-in: [473ff0966a] user: jan.nijtmans branch: novem, size: 86792
2016-12-14
15:49
Make OpenTcpServerEx accept a 'service' string parameter instead of a port. file: [a75a6fd380] check-in: [c62457ec51] user: limeboy branch: tip-456, size: 87920
2016-11-25
14:53
Windows support and minor touchups to the documentation. file: [4e5c034f97] check-in: [aefe40befa] user: limeboy branch: tip-456, size: 87783
2016-11-24
12:47
Implement the whole TIP 456 specification.

Also introduces the `-reuseaddr' and `-reuseport' options for the `socket' command. file: [c854e762d5] check-in: [e4212ca03b] user: limeboy branch: tip-456, size: 87683

2016-11-22
11:21
Added stub entry for tip #456. Documentation and tests still missing. Doesn't conform to TIP yet. file: [85f996157c] check-in: [fce8b81c46] user: jan.nijtmans branch: tip-456, size: 87675
10:06
This is patch.002 from ticket [0b9d3ba2ba], as first start of tip-456 implementation file: [c55cb3cef3] check-in: [ae02accafa] user: jan.nijtmans branch: tip-456, size: 87631
2016-11-16
11:17
merge trunk file: [a0bf64b9ca] check-in: [31a3f9bee0] user: jan.nijtmans branch: novem, size: 86477
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: [718b1611ad] check-in: [521d320b7b] user: jan.nijtmans branch: trunk, size: 87605
2016-07-01
08:33
Merge trunk file: [9011ab752a] check-in: [9b227b619e] user: jan.nijtmans branch: novem-more-memory-API, size: 86487
2016-06-29
15:52
Merge trunk file: [1fc0a4a73d] check-in: [e711b0ba95] user: jan.nijtmans branch: novem, size: 86484
11:39
Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions which are deprecated. file: [2bee53e506] check-in: [3108faf68a] user: jan.nijtmans branch: trunk, size: 87612
2016-06-28
13:44
Merge trunk file: [cc4b42b85f] check-in: [ab33fe9082] user: jan.nijtmans branch: novem-more-memory-API, size: 86480
2016-04-19
20:35
Fork of Tcl used in the "Little" project. http://www.mcvoy.com/lm/little/index.html file: [6b08358b8f] check-in: [69b737f5a1] user: dgp branch: little, size: 88034
2016-04-08
13:31
merge trunk file: [580a47d32d] check-in: [ede492c9a2] user: jan.nijtmans branch: novem, size: 86477
13:30
Fix [2538f373ffc78d6d]: crash in Tcl_OpenTcpServer() on Windows file: [8dc31d244b] check-in: [697c1c9931] user: jan.nijtmans branch: trunk, size: 87605
13:27
Fix [2538f373ffc78d6d]: crash in Tcl_OpenTcpServer() on Windows file: [5375c8bf89] check-in: [e40eb76900] user: jan.nijtmans branch: core-8-6-branch, size: 87802
2016-03-29
12:07
merge trunk file: [893c5b1b75] check-in: [ad2fb188b8] user: dgp branch: novem, size: 86480
10:17
Eliminate AT_FORK_INIT_VALUE/RESET_ATFORK_MUTEX macro's, since other values than the default are not supported anyway. This results in the elimination of (empty functions anyway) AtForkPrepare/AtForkParent. Also improve consistancy in some variable names. No change of functionality. file: [21b33baf3c] check-in: [255b94edcb] user: jan.nijtmans branch: trunk, size: 87608
2015-06-18
20:58
Fix win compile file: [379b4ad93f] check-in: [cd6bd2d51a] user: jan.nijtmans branch: novem-more-memory-API, size: 86680
2014-12-23
15:19
merge trunk file: [ad179dacc2] check-in: [ce8eb2a4dd] user: dgp branch: novem, size: 86677
2014-12-17
07:53
Merge trunk file: [9d301fe10d] check-in: [bc38411db8] user: oehhar branch: tip-427, size: 87805
2014-12-08
16:23
merge trunk file: [3856a243ee] check-in: [16ac00f4bb] user: jan.nijtmans branch: novem, size: 86655
2014-12-06
11:19
Potential fix for [c6ed4acfd8]. Simple typo in original fix for [336441ed59]. Was looping on statePtr->next instead of statePtr2->next. Would result in an infinite loop. Definitely a bug but whether it completely fixes the above in all cases needs to be tested. file: [57e7649d68] check-in: [0658e05c4a] user: ashok branch: trunk, size: 87783
2014-11-14
09:47
merge trunk file: [f0b8333ba0] check-in: [b83be1ab3b] user: jan.nijtmans branch: novem, size: 86654
09:44
Remove a number of eol-spaces. No change in functionality. file: [866ceae704] check-in: [43b5a95f6d] user: jan.nijtmans branch: trunk, size: 87782
2014-10-18
22:49
merge trunk: file: [1b6981a95a] check-in: [7abadb418f] user: dgp branch: novem, size: 86773
2014-10-17
14:28
Merge trunk file: [ac4e7a020c] check-in: [1984d275c5] user: oehhar branch: tip-428, size: 90658
12:52
fconfigure -peername and -sockname return empty string while async connect running. file: [8547e20b8d] check-in: [44cb942486] user: oehhar branch: trunk, size: 87901
2014-09-26
12:05
Implemented tip-427: socket fconfigure option -connecting plus no -peername,-sockname when still connecting. file: [66c562deec] check-in: [2baaa060aa] user: oehhar branch: tip-427, size: 87923
11:34
Win implementation of TIP 428 Rev 1.21: fconfigure channel -error ?errorDictVar? file: [6c07e65e38] check-in: [2d27b66029] user: oehhar branch: tip-428, size: 90150
2014-09-25
13:27
Win implementation of TIP 428 Rev 1.21: fconfigure channel -error ?otherVar? This branch is a double subbranch. Thus, this branch is closed and restarted as a direct branch from trunk. file: [c6951ea314] check-in: [ed4a7d805e] user: oehhar branch: tip-428, size: 91446
2014-07-17
12:49
Minor code improvement: combine "flags" and "testFlags" struct members to a single one. file: [84194d10c8] check-in: [f1e67b2730] user: jan.nijtmans branch: mistake, size: 88013
09:53
Replaced option "-unsupported1" by test command "testsocket debugflags" (thanks Donal, Donald). file: [e31657ca71] check-in: [33737f615b] user: oehhar branch: robust-async-connect-tests, size: 88249
2014-06-16
21:28
Implements Tip 428: socket error dict returned by fconfigure -options file: [d93ec7eb7a] check-in: [25d2506e45] user: oehhar branch: tip-428, size: 89760
21:01
Implemented tip-427: socket fconfigure option -connecting plus no -peername,-sockname when still connecting. Branch depends on other branch -> closed and restarted as branch from trunk. file: [dfa5b4264a] check-in: [109f86e24f] user: oehhar branch: tip-427, size: 89018
2014-06-05
19:09
Robust async connect tests by temporarely switching off auto continuation. Ticket [13d3af3ad5] file: [fc03a839c5] check-in: [0c5005721e] user: oehhar branch: robust-async-connect-tests, size: 88397
2014-05-30
10:36
win socket -async: do not loose connect notification by temporarily stop connect monitoring. Bug [336441ed59] file: [dd80d30e5b] check-in: [6ecb583012] user: oehhar branch: core-8-5-branch, size: 69526
2014-05-29
14:56
Try not to loose FD_CONNECT by switching monitoring off. file: [41a5236feb] check-in: [a658836882] user: oehhar branch: bug-336441ed59, size: 69407
2014-05-23
15:08
merge trunk file: [c44f976376] check-in: [c933efe84d] user: jan.nijtmans branch: novem, size: 86265
14:59
eliminate two unused variables. file: [754451bba6] check-in: [abf4af70fa] user: jan.nijtmans branch: trunk, size: 87393
2014-05-20
14:46
Fix and improve socket -async [13d3af3ad5] file: [ef0f0a0a4b] check-in: [fdd8917252] user: oehhar branch: trunk, size: 87472
2014-05-02
07:15
merge novem file: [bf3fb22dfd] check-in: [08a7e90291] user: jan.nijtmans branch: novem-more-memory-API, size: 71315
2014-04-16
11:21
merge trunk file: [55187ef29b] check-in: [b436bc86df] user: jan.nijtmans branch: novem, size: 71320
11:20
Remove unused variable, don't use deprecated function, some formatting. file: [6544fe513c] check-in: [29bb868e02] user: jan.nijtmans branch: trunk, size: 72493
11:06
merge trunk. Remove (internal) functions TclWinGetServByName(), TclWinGetSockOpt() and TclWinSetSockOpt(), which are no longer needed for any purpose. file: [ede5b2daae] check-in: [a7d000700b] user: jan.nijtmans branch: novem, size: 71319
09:44
Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on 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) file: [704b34cb84] check-in: [61866a947e] user: jan.nijtmans branch: trunk, size: 72497
09:28
Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on 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) file: [32ebec7c1c] check-in: [7e814eaa84] user: jan.nijtmans branch: core-8-5-branch, size: 69230
2014-04-08
15:15
Beautify check for async connect reentry file: [e4aed6c79f] check-in: [2b3521353b] user: oehhar branch: bug-13d3af3ad5, size: 90001
14:40
Changed error report logic, that an async connect error is only reported by 'fconfigure -error' and not by a possible last command terminating the async connect. The terminating command always returns "socket is not connected" on connect error. In addition, some flags were renamed: TCP_ASYNC_SOCKET to TCP_NONBLOCKING and also the new state flags. file: [f38f158b65] check-in: [774db15517] user: oehhar branch: bug-13d3af3ad5, size: 89905
2014-04-07
15:08
Renamed function CreateClientSocket to TcpConnect and variable error to connectError file: [0a5be06767] check-in: [27e28d5ecc] user: oehhar branch: bug-13d3af3ad5, size: 88957
12:34
Return async connect error by first following read or write operation. file: [6276d57fef] check-in: [0818d96293] user: oehhar branch: bug-13d3af3ad5, size: 88765
2014-04-04
16:27
Avoid multiple returns of connect errors file: [3bcdcc978a] check-in: [0def1219a1] user: oehhar branch: bug-13d3af3ad5, size: 88530
2014-04-02
12:43
Fix bug [581937ab1e]: fire readable event on async socket connect failure file: [9dc3894f35] check-in: [29adf4bac3] user: oehhar branch: bug-581937ab1e, size: 71318
08:35
Set all variables written by the notifier thread as volatile. file: [9d853631ac] check-in: [7af0573f72] user: oehhar branch: bug-336441ed59, size: 71322
08:22
Marked all communication variables which are set by notifier thread with "volatile". file: [6c1e1113d4] check-in: [31e88e5cda] user: oehhar branch: bug-13d3af3ad5, size: 87348
2014-04-01
12:16
Removed thread debugging printf messages file: [93da619572] check-in: [7dc794f0c8] user: oehhar branch: bug-13d3af3ad5, size: 87319
2014-03-24
11:03
Fire also readable event on final async connect failure. Armor WaitForSocketEvent by access signal against notifier thread access. file: [a81c6fa3c8] check-in: [f1d2f6dbad] user: oehhar branch: bug-13d3af3ad5, size: 90307
2014-03-23
11:42
Be sure tsd pointer to the info structure is invalidated before memory free file: [82dbf72960] check-in: [d045cdc948] user: oehhar branch: bug-13d3af3ad5, size: 89467
11:31
Be shure tsd pointer to the info structure is invalidated before memory free file: [c82abbc611] check-in: [25f4fca4ee] user: oehhar branch: bug-336441ed59, size: 71213
2014-03-22
16:14
Bug [336441ed59]: Buffer infoPtr between socket creation and insertion into info structure in thread local memory. Backported fix from commit [65b320b464] from branch "bug-[13d3af3ad5]". file: [bfdb6915c2] check-in: [2596fec7bd] user: oehhar branch: bug-336441ed59, size: 70583
2014-03-14
17:01
WaitForConnection like tclUnixSock.c, new option [fconfigure -connecting] file: [a2eeb95a91] check-in: [650e8b8468] user: oehhar branch: bug-13d3af3ad5, size: 88882
16:59
file tclWinSock.c reorganized to minimize diff to tclUnixSock.c. No functional change file: [7916beca14] check-in: [dc0a9645cc] user: oehhar branch: bug-13d3af3ad5, size: 89008
10:59
Remove writable shortcut and errorneous workaround to get [connect -async] fail error to [fconfigure -error] file: [ec852cf450] check-in: [aa6c8b17e1] user: oehhar branch: bug-13d3af3ad5-fork, size: 87708
09:12
Async connect terminates: fire fileevent by setting readyEvent, propage commit fail message to [fconfigure -error] file: [f8d69d8782] check-in: [711c272f36] user: oehhar branch: bug-13d3af3ad5, size: 87942
2014-03-11
13:35
No [fconfigure -error] error in connect process; gets after failed async connect returns connect error file: [cb86b0e964] check-in: [cb1a6a0924] user: oehhar branch: bug-13d3af3ad5, size: 86197
2014-03-10
16:59
Additional security for wrong pointer file: [05b5cef96f] check-in: [64ccc14933] user: oehhar branch: bug-13d3af3ad5, size: 85992
15:38
Fire write fileevent if async connect fails finally (test socket-14.2) file: [fb987fbb11] check-in: [c80dc6e566] user: oehhar branch: bug-13d3af3ad5, size: 85827
15:22
Also continue async connect without event loop if gets/puts is called (test socket-14.8.*) file: [adf10fe086] check-in: [33d1e6a53a] user: oehhar branch: bug-13d3af3ad5, size: 85497
14:36
Workaround if FD_CONNECT notification comes before socket list registration in TcpThreadActionProc file: [be82fd8ce2] check-in: [a4af0b5949] user: oehhar branch: bug-13d3af3ad5, size: 85253
2014-03-08
00:21
socket -async and gets/puts stall on windows (Ticket [336441ed59])

This is a change for a problem which is pretty much impossible to test for in the testsuite, as it is a race condition on a problem with Windows and as such cannot be reliably induced from the Tcl side, script nor C.

The problem affects only sockets which are opened -async.

At the time of the socket's creation the core will remember this fact in the SocketState flags (SOCKET_ASYNC_CONNECT <SAC>) and in the events to look for with select (FD_CONNECT).

Then, to handle the possiblity that the script writes to or read from the socket before the connection has completed the driver functions Tcp(Input|Output)Proc check for the flag, and if it is still set enter WaitForSocketEvent (FD_CONNECT) <WFSE> to sync-wait for the connection before continuing to actually read/write.

Unfortunately Windows sometimes deigns to not deliver FD_CONNECT, skipping directly to FD_READ|WRITE. When that happens the unmodified WFSE gets stuck in WFSO, and hangs the entire Tcl process.

The core actually already has code to deal with that situation, in part. This code is found in the SOCKET_MESSAGE branch of the big switch in SocketProc(). When it finds <SAC> in the flags not reset by an FD_CONNECT event it unconditionally clears the flag and forces an FD_WRITE on other parts (My change adds a comment to the location in question, as marker).

This code works for when Windows delivers the first event before the script manages to read/write from the new socket, because then the driver functions will see the cleared flag and not enter WFSE to wait for FD_CONNECT in the first place.

However, if the script was fast enough to already be in the WFSE waiting for FD_CONNECT then the main thread is stuck and the change made by SocketProc() does not help.

The commit here fixes that issue by extending WFSE to recognize the reset of SAC by SocketProc() as a valid break condition when it waits for FD_CONNECT, thus preventing it from getting stuck. file: [12cffa5d87] check-in: [521b7229c4] user: andreask branch: win-sock-async-connect-race-fix, size: 69326

2014-03-07
07:40
Still incomplete info structure in event proc: try to protect with locks (unsuccesful). Probably locks in accept socket creation missing. file: [2b2fb7da1a] check-in: [ffb0e6c712] user: oehhar branch: bug-13d3af3ad5, size: 82878
2014-03-06
18:21
More debug to chase different fd in struct than in callback file: [a7003fb42f] check-in: [210378511e] user: oehhar branch: bug-13d3af3ad5, size: 81858
10:37
Terminate async connect synchronously by any blocking operation file: [06f917f08c] check-in: [76a90541db] user: oehhar branch: bug-13d3af3ad5, size: 82207
2014-03-05
15:15
"gets" blocked after async cannect: SOCKET_ASYNC_CONNECT was not cleared file: [6862e67e31] check-in: [e6b7f7708c] user: oehhar branch: bug-13d3af3ad5, size: 79513
14:40
Refactor the error handling logic around connect() file: [a90e79ca70] check-in: [a532187514] user: max branch: bug-13d3af3ad5, size: 79489
13:12
avoid warnings about uninitialized infoPtr in DEBUG file: [87188b4f00] check-in: [49c77f95c1] user: max branch: bug-13d3af3ad5, size: 79517
13:09
Print out the value of infoPtr in DEBUG, so that coexisting sockets can be distinguished in the output. file: [83d7774567] check-in: [a3b9f7fdbd] user: max branch: bug-13d3af3ad5, size: 79479
10:20
Next async connect try works. Reset error and move notifier before connect. file: [54dbd76a0e] check-in: [296c6ffb8c] user: oehhar branch: bug-13d3af3ad5, size: 79513
2014-03-04
18:54
  • Use watchEvents only for read/write/close events of [chan event], don't mix with internal use of accept and connect events.
  • WIP: Refactor the tail of CreateClientSocket() to get notifications for completed async connects right.
file: [2e71492a3f] check-in: [9c695de236] user: max branch: bug-13d3af3ad5, size: 79599
07:54
Reverted move of WSAAsyncSelect before connect -> FD_Connect message does also fire if it exists on call. file: [e12c2f7dc9] check-in: [c044ae1f1b] user: oehhar branch: bug-13d3af3ad5, size: 78846
2014-03-03
15:57
WIP: async open event now passes to SocketEventProc() and connects but does not finalyze that (I guess). file: [c09e0292c3] check-in: [1a15736603] user: oehhar branch: bug-13d3af3ad5, size: 78934
2014-02-28
11:05
Make printf debugging switchable, because it affects 'make test' file: [f6a59c33a9] check-in: [84c3e283bc] user: max branch: bug-13d3af3ad5, size: 78740
10:47
Broken intermediate state.

Calling back to CreateClientSocket() from the event loop works, but the final failed or succeeded state of an asyncronous socket does not get notified to the channel correctly. file: [17f26e7849] check-in: [a1779bfd08] user: max branch: bug-13d3af3ad5, size: 78637

2013-11-24
22:12
merge trunk file: [28ff4522f7] check-in: [162f412163] user: jan.nijtmans branch: novem, size: 74108
2013-11-18
13:37
merge trunk file: [365722ee55] check-in: [797af34e34] user: max branch: bug-13d3af3ad5, size: 75603
13:32
Revert [3c0b0bbda6]. If this really is a problem, it needs to get fixed by other means than covering behind void pointers. file: [77077b36b7] check-in: [c1c1d9ee69] user: max branch: trunk, size: 74504
12:35
To prepare for completion of the [socket -async] implementation on Windows [13d3af3ad5]:
  • Move the server code from CreateSocket to Tcl_OpenTcpServer.
  • Rename CreateSocket to CreateClientSocket.
  • Unify the naming convention of socket channels with Unix (sock + hex representation of the state/info structure).
file: [a10a214b85] check-in: [09ba8482cc] user: max branch: bug-13d3af3ad5, size: 75612
11:00
Eliminate some redundant Tcl_GetErrno() calls. file: [b218c0abb8] check-in: [29b76e5d7d] user: jan.nijtmans branch: trunk, size: 74513
2013-11-16
20:33
Map WSAEWOULDBLOCK to EWOULDBLOCK. Suggested by Reinhard Max. file: [ffd01b3e44] check-in: [b34eced180] user: jan.nijtmans branch: trunk, size: 74495
2013-11-15
16:13
Don't leak getaddrinfo() results file: [27648178bb] check-in: [a94b14f5b4] user: max branch: trunk, size: 74480
2013-09-26
13:13
merge novem

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

2013-09-24
05:43
Support compiling Tcl for Win32 on ARM. file: [b4f1b8749c] check-in: [fbab8d9b31] user: mistachkin branch: win32-arm, size: 74465
2013-07-04
19:33
merge trunk file: [dbec765512] check-in: [26ef4ffa3f] user: jan.nijtmans branch: novem, size: 74084
2013-07-03
08:59
Fix compiler warning when compiling Itcl 4.0: In file included from ./generic/itcl2TclOO.c:12:0: /Tcl/include/tclInt.h:3012:8: warning: ‘struct addrinfo’ declared inside parameter list [enabled by default] const char **errorMsgPtr); ^ file: [75888fbd7d] check-in: [3c0b0bbda6] user: jan.nijtmans branch: trunk, size: 74480
2013-06-21
12:13
Merge trunk. Remove TclpReaddir and TclpInetNtoa from internal stub table: It's not used anywhere any more. file: [ef597156fb] check-in: [6606e36376] user: jan.nijtmans branch: novem, size: 74075
11:57
Don't use TclpInetNtoa any more, use inet_ntoa in stead. Since IP6 support it's even not necessary any more (except for fake-rfc2553, but mutexes are used here already) , but it's in the internal stub table so we cannot remove it until 9.0 file: [f8d4819d6b] check-in: [390eff66e1] user: jan.nijtmans branch: trunk, size: 74471
2013-01-26
16:11
macros for Tcl_GetString and Tcl_GetStringFromObj file: [277e3fe9f1] check-in: [7845d6854d] user: jan.nijtmans branch: novem-more-memory-API, size: 74446
2012-11-27
11:02
Conversion of Win-specific code to new model API. WARNING! UNTESTED! file: [31cc3cba3d] check-in: [4adcc3c51f] user: dkf branch: novem-64bit-sizes, size: 74591
2012-11-18
07:39
Better programming practice, no literal '-1' in source code. Might even be useful for 64bit-sizes branch

add TCL_NOSIZE as internal defined for -1, and use it in a lot of places Ass this function argument should be size_t, not ssize_t (still to be TIPped), something like this will be needed anyway.

file: [02ae31e56e] check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 74507
2012-11-16
14:15
More work done. Still I am finding places where int should be size_t and reverse. file: [3dc14441e9] check-in: [d348e679f7] user: jan.nijtmans branch: novem-64bit-sizes, size: 74541
2012-11-07
17:26
3574493 Avoid hanging on exit due to use of synchronization calls in routines called by DllMain(). file: [e9ba418d86] check-in: [ff93640153] user: dgp branch: core-8-5-branch, size: 68801
17:24
3574493 Avoid hanging on exit due to use of synchronization calls in routines called by DllMain(). file: [08bb396988] check-in: [42933eb98a] user: dgp branch: core-8-4-branch, size: 78576
2012-08-20
09:12
Remove wrapper macro for ntohs(): unnecessary, because it doesn't require an initialized winsock_2 library file: [5f5a8c35d1] check-in: [46096ee96a] user: jan.nijtmans branch: trunk, size: 74451
08:59
Remove wrapper macro for ntohs(): unnecessary, because it doesn't require an initialized winsock_2 library file: [ce42822722] check-in: [8dfb46ecf8] user: jan.nijtmans branch: core-8-5-branch, size: 68773
06:49
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler. file: [9f771d9b83] check-in: [db442914c7] user: jan.nijtmans branch: jn-no-struct-names, size: 74859
2012-08-09
14:34
Complete multi-fd server socket channels on Windows [Bug #3545363]. file: [23fd2d33e6] check-in: [aef7ffe46d] user: max branch: trunk, size: 74890
2012-08-05
20:34
Fixes to my previous commit, from Francois Vogel. (My thanks and apologies!) file: [79729b53df] check-in: [37c35b79b9] user: dkf branch: trunk, size: 72406
12:09
Final part of result generation conversion (modulo any minor blunders) file: [0eaa4d8b62] check-in: [1fb35ca910] user: dkf branch: trunk, size: 72405
2012-07-24
13:58
[Bug: 3545363]: Handle socket with multiple underlying file descriptors where required (TcpCloseProc, SocketProc). Refactor socket/descriptor setup. Fix memory leak in socket close (TcpCloseProc) and related dangling pointers in SocketEventProc. file: [2468fa742a] check-in: [7a82c3e60d] user: twylite branch: bug-3545363, size: 74866
2012-07-19
10:54
[Bug: 3545363]: Use a large enough buffer for accept()ing IPv6 connections. Fix conversion of host and port for passing to the accept proc to be independent of the IP version. file: [34406528ad] check-in: [a1fbf5e763] user: max branch: bug-3545363, size: 72529
2012-07-10
20:27
merge 8.5 file: [13240187cf] check-in: [c7c6dfcb5b] user: dgp branch: trunk, size: 72382
11:03
* win/tclWinSock.c (InitializeHostName): Corrected logic that extracted the name of the computer from the gethostname call so that it would use the name on success, not failure. Also ensured that the buffer size is exactly that recommended by Microsoft.
file: [f318d5f2dc] check-in: [2bd687a577] user: dkf branch: core-8-5-branch, size: 69221
2012-07-08
10:34
MSVC 6.0 does not have the %I modifier file: [37d2d3b5e8] check-in: [206a39d2c4] user: jan.nijtmans branch: trunk, size: 72543
10:26
and don't forget the % file: [437b6d9c6f] check-in: [9651124b67] user: jan.nijtmans branch: core-8-5-branch, size: 69391
10:23
add TCL_I_MODIFIER and use it in the correct places file: [cba75337e7] check-in: [89b4e59712] user: jan.nijtmans branch: core-8-5-branch, size: 69387
2012-07-03
14:52
Factor out a number of common patterns of use of Tcl_DStringAppend. file: [0147d49873] check-in: [4dd736c95f] user: dkf branch: trunk, size: 72475
2012-06-22
15:25
Rework the error message generation of [socket], so that the error code of getaddrinfo is used instead of errno unless it is EAI_SYSTEM. file: [9263df2d8f] check-in: [31ae01e6f6] user: max branch: trunk, size: 72484
2012-05-24
10:54
Revert most of [3caedf05df], since when we let cygwin share the win32 stub table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32 file: [4c6d909bbc] check-in: [3873dc6035] user: jan.nijtmans branch: trunk, size: 72321
2012-05-22
12:44
Revert most of [fcc5957e59], since when we let cygwin share the win32 stub table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32 file: [dff2b1badf] check-in: [87b2eb01a3] user: jan.nijtmans branch: mistake, size: 69295
07:30
Revert most of [ae92de6078], since when we let cygwin share the win32 stub table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32 file: [04082f9c0c] check-in: [455f8b5d30] user: jan.nijtmans branch: core-8-4-branch, size: 78546
2012-04-11
20:36
fix windows build broken by [92cfbef048] (Refactor Win socket and load code to be less baroque in its internals) file: [a5dad218d8] check-in: [c8d80a632a] user: jan.nijtmans branch: trunk, size: 71924
2012-04-05
09:34
Reduce amount of unreachable code. Refactor Win socket and load code to be less baroque in its internals. file: [a58b86583f] check-in: [92cfbef048] user: dkf branch: trunk, size: 71923
2012-04-04
09:54
[Bug 510001]: TclSockMinimumBuffers needs plat imp file: [12f6f3c739] check-in: [0dfb472cef] user: jan.nijtmans branch: trunk, size: 73802
09:05
[Bug 510001]: TclSockMinimumBuffers needs plat imp file: [0ef808d01c] check-in: [2725f75513] user: jan.nijtmans branch: core-8-5-branch, size: 68887
08:36
[Bug 510001]: TclSockMinimumBuffers needs plat imp file: [39f7c39b88] check-in: [cbf7dc0a31] user: jan.nijtmans branch: core-8-4-branch, size: 78104
2012-04-02
09:45
[Bug 3508771] load tclreg.dll in cygwin tclsh Implement TclWinGetTclInstance, TclpGetTZName, and various others for Cygwin file: [2a417ebfcf] check-in: [9e1a41ed83] user: jan.nijtmans branch: trunk, size: 73866
2012-03-30
14:57
[Bug 3508771] load tclreg.dll in cygwin tclsh Implement TclWinGetTclInstance, TclpGetTZName, and various others for Cygwin file: [ce8dbe2df5] check-in: [27ca86ce9b] user: jan.nijtmans branch: core-8-5-branch, size: 68937
2012-03-29
12:13
better solution for bug-510001 it fills a correctly working stub entry for Win64 file: [8fe640309a] check-in: [02368db2ae] user: jan.nijtmans branch: bug-510001, size: 78109
10:21
proposed solution for bug-510001 file: [2122211960] check-in: [2786a736bc] user: jan.nijtmans branch: bug-510001, size: 79204
2012-03-23
15:53
Revert some cygwin-related signature changes from [835f8e1e9d] (2010-01-22). They were an attempt to make the cygwin port compile again, but since cygwin is based on unix this serves no purpose any more. Use EAGAIN in stead of EWOULDBLOCK, because in VS10+ the value of EWOULDBLOCK is no longer the same as EAGAIN Add tclWinError.c to the CYGWIN build. file: [6b05b23c68] check-in: [70fd0e4074] user: jan.nijtmans branch: trunk, size: 73927
2011-08-16
12:03
[Bug 3388350] mingw64 compiler warnings file: [5b508fb003] check-in: [8c851aad1d] user: jan.nijtmans branch: core-8-5-branch, size: 68947
2011-08-15
11:18
[Bug 3388350] mingw64 compiler warnings file: [edd25348c9] check-in: [15f0eeed1a] user: jan.nijtmans branch: core-8-5-branch, size: 68944
11:07
[Bug 3388350] mingw64 compiler warnings file: [a07d9998bd] check-in: [e9a08358f4] user: jan.nijtmans branch: core-8-4-branch, size: 78112
2011-08-09
07:15
[Bug 3388350] mingw64 compiler warnings file: [c2e0642e24] check-in: [d323be815f] user: jan.nijtmans branch: trunk, size: 73942
2011-04-06
13:05
More generation of error codes (most platform-specific parts not already using Tcl_PosixError). file: [05a104cfd8] check-in: [1b095ad294] user: dkf branch: trunk, size: 73868
2011-03-14
14:41
merge trunk + update ckfree() and ckalloc() calls file: [da68936550] check-in: [4ddd1c56f7] user: dgp branch: dgp-refactor, size: 74440
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: [192839d0f7] check-in: [5574bdd262] user: dkf branch: trunk, size: 74396
2011-03-03
17:14
merge trunk file: [ff6a09c0c1] check-in: [affd89e3ef] user: dgp branch: dgp-refactor, size: 74564
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: [c350451df9] check-in: [c64f310d38] user: dgp branch: trunk, size: 74520
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: [e79116d5cd] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 68902
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: [78a1348339] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 78169
2011-01-25
22:33
Fix various gcc-4.5.2 64-bit warning messages, e.g. by using full 64-bits for socket fd's file: [d91a7fd853] check-in: [92caef797a] user: nijtmans branch: trunk, size: 74596
2011-01-12
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: [8202ce2321] check-in: [2d93b1436c] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 74641
2010-12-30
14:42
merge file: [01611d84ba] check-in: [45d5c91eaf] user: dgp branch: dgp-refactor, size: 74640
2010-12-16
01:42
merge file: [278c7448aa] check-in: [c6b9d34dfd] user: kennykb branch: dogeen-assembler-branch, size: 74643
2010-12-14
17:22
* win/tclWinSock.c (CreateSocket): Swap the loops over * unix/tclUnixSock.c (CreateClientSocket): local and remote addresses, so that the system's address preference for the remote side decides which family gets tried first. Cleanup and clarify some of the comments.
file: [a5fbbd6b84] check-in: [beb3b2f8a3] user: rmax branch: trunk, size: 74636
2010-12-11
18:39
merge file: [ba3f61f82c] check-in: [c291154f2c] user: kennykb branch: dogeen-assembler-branch, size: 74608
2010-12-10
15:44
Change first parameter of TclSockMinimumBuffers to ClientData, and TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit. file: [a1542cf790] check-in: [5d5c5e198a] user: nijtmans branch: trunk, size: 74605
2010-11-23
14:27
Jumps of win/ files. Fixed missing patches to configure. Jumped configure.in and tcl.m4. Also @578 file: [8f9fb425cb] check-in: [1c930c462b] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 74608
11:38
Next @500. file: [1f268f5f1f] check-in: [5365d7ae02] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 68073
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: [529bd3a6ad] check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 66789
2010-10-28
19:42
merge file: [ff32615a9c] check-in: [e30f206d70] user: kennykb branch: dogeen-assembler-branch, size: 74610
2010-10-26
17:54
merge file: [3a4ba7257b] check-in: [9769df30f1] user: dgp branch: dgp-refactor, size: 74607
13:59
* unix/tclUnixSock.c (TcpGetOptionProc): Prevent crash if interp is * win/tclWinSock.c (TcpGetOptionProc): NULL (a legal situation).
file: [bbe0416ab4] check-in: [6ecb99bd0f] user: dkf branch: trunk, size: 74602
13:42
merge file: [b53633ab59] check-in: [f6ee3ec4f9] user: dgp branch: dgp-refactor, size: 74545
13:14
Add support for ::tcl::unsupported::noReverseDNS file: [72f6d2add1] check-in: [714ff5371e] user: rmax branch: trunk, size: 74541
2010-10-20
01:50
merge file: [2a4e1ce80f] check-in: [6c4e1f869f] user: kennykb branch: dogeen-assembler-branch, size: 74376
2010-10-12
13:17
merge file: [2ce99a192b] check-in: [482c6c5066] user: dgp branch: dgp-refactor, size: 74373
10:21
Eliminate many tclWinProcs-> indirect calls, which are no longer needed. Fix some MSVC 6.0 warnings file: [2bdbde6749] check-in: [006b71eced] user: nijtmans branch: trunk, size: 74373
2010-09-28
17:30
merge file: [75f66a058a] check-in: [3c5eb8f8e4] user: dgp branch: dgp-refactor, size: 74359
15:43
merge file: [a82303db1e] check-in: [8b2c02cf9f] user: kennykb branch: dogeen-assembler-branch, size: 74362
15:13
  • doc/socket.n: Document the changes to the [socket] and [fconfiguyre] commands.
  • generic/tclInt.h: Introduce TclCreateSocketAddress() as a
  • generic/tclIOSock.c: replacement for the platform-dependent
  • unix/tclUnixSock.c: TclpCreateSocketAddress() functions.
  • unix/tclUnixChan.c: Extend the [socket] and [fconfigure]
  • unix/tclUnixPort.h: commands to behave as proposed in
  • win/tclWinSock.c: TIP #162.
  • win/tclWinPort.h:
  • compat/fake-rfc2553.c: A compat implementation of the APIs
  • compat/fake-rfc2553.h: defined in RFC-2553 (getaddrinfo() and friends) on top of the existing gethostbyname() etc.
  • unix/configure.in: Test whether the fake-implementation is
  • unix/tcl.m4: needed.
  • unix/Makefile.in: Add a compile target for fake-rfc2553.
  • win/configure.in: Allow cross-compilation by default
  • tests/socket.test: Improve the test suite to make more use of
  • tests/remote.tcl: randomized ports to reduce interference with tests running in parallel or other services on the machine.
file: [3b5914c630] check-in: [3f8b48b6b6] user: rmax branch: trunk, size: 74355
2010-09-27
16:50
Cleanup the previous HEAD merge file: [9e8d154b62] check-in: [aa25938ab0] user: rmax branch: rmax-ipv6-branch, size: 74359
11:00
Merge from HEAD file: [36d3366669] check-in: [d1f5c51f30] user: rmax branch: rmax-ipv6-branch, size: 70206
2010-09-26
14:33
merge file: [ad90b1249b] check-in: [bc9af6e422] user: dgp branch: dgp-refactor, size: 70206
2010-09-25
14:51
* tclAssembly.c: Massive refactoring of the assembler * tclAssembly.h: to use a Tcl-like syntax (and use * tests/assemble.test: Tcl_ParseCommand to parse it). The * tests/assemble1.bench: refactoring also ensures that Tcl_Tokens in the assembler have string ranges inside the source code, which allows for [eval] and [expr] assembler directives that simply call TclCompileScript and TclCompileExpr recursively. file: [f406944c6c] check-in: [8fa55c35f1] user: kennykb branch: dogeen-assembler-branch, size: 70209
2010-09-24
17:53
* tclWinsock.c: [Bug 3056775]: Fixed race condition between thread and internal co-thread access of a socket's structure because of the thread not using the socketListLock in TcpAccept(). Added documentation on how the module works to the top. file: [6370a699ca] check-in: [99a1ee3675] user: andreas_kupries branch: trunk, size: 70213
17:53
* tclWinsock.c: [Bug 3056775]: Fixed race condition between thread and internal co-thread access of a socket's structure because of the thread not using the socketListLock in TcpAccept(). Added documentation on how the module works to the top. file: [aa0484bc5e] check-in: [d9701e49d0] user: andreas_kupries branch: core-8-5-branch, size: 68989
17:53
* tclWinsock.c: [Bug 3056775]: Fixed race condition between thread and internal co-thread access of a socket's structure because of the thread not using the socketListLock in TcpAccept(). Added documentation on how the module works to the top. file: [c0ed664d74] check-in: [2c943927aa] user: andreas_kupries branch: core-8-4-branch, size: 78257
2010-09-17
16:21
Add support for ::tcl::unsupported::socketAF to enforce the address family file: [16ab1bdb23] check-in: [440f849a9c] user: rmax branch: rmax-ipv6-branch, size: 72382
12:55
Merge from HEAD to rmax-ipv6-branch file: [870a042d65] check-in: [70c6ac9692] user: rmax branch: rmax-ipv6-branch, size: 72366
2010-09-13
16:57
merge file: [61bb7cfb5e] check-in: [ec5c3bd471] user: dgp branch: dgp-refactor, size: 68229
14:20
Various clean-ups, converting from tclWinProc->xxxProc directly to Xxx (no change in functionality) file: [17201599b2] check-in: [18a516cee2] user: nijtmans branch: trunk, size: 68229
2010-08-30
14:11
merge file: [9e3cd370b5] check-in: [c748a54d3b] user: dgp branch: dgp-refactor, size: 68260
09:19
[Freq 2965056]: Windows build with -DUNICODE file: [50adea0080] check-in: [f5f9877d12] user: nijtmans branch: trunk, size: 68260
2010-06-08
16:03
Fix async client sockets file: [14d561dcf8] check-in: [71ba8c2755] user: rmax branch: rmax-ipv6-branch, size: 72401
2010-06-07
17:36
rebranch from HEAD file: [587d81f30f] check-in: [f3af08f468] user: rmax branch: rmax-ipv6-branch, size: 72398
2010-05-14
13:31
merge file: [6a13c50eeb] check-in: [384f57f831] user: dgp branch: dgp-refactor, size: 68264
2010-05-11
14:47
Unnecessary type casts, See Tcl [Patch #2997087] Don't duplicate CYGWIN timezone #define from tclPort.h in tclWinPort.h file: [099e08be34] check-in: [b231748527] user: nijtmans branch: trunk, size: 68264
2010-05-07
01:16
merge file: [0dd9f69745] check-in: [b5733b6f5e] user: dgp branch: dgp-refactor, size: 68333
2010-05-04
11:05
TCHAR-related fixes, making those files compile fine when TCHAR != char Please see comments in [Freq 2965056] (2965056-1.patch). file: [68a6b95df9] check-in: [2f92eaadea] user: nijtmans branch: trunk, size: 68333
2010-03-30
21:18
Use TclWinConvertWSAError() at the right places inside CreateSocket() file: [6704c59b87] check-in: [176cfa12e7] user: rmax branch: rmax-ipv6-branch, size: 72424
18:52
Fix the logic of connecting client sockets under Windows file: [10d16b2a10] check-in: [8973c3f502] user: rmax branch: rmax-ipv6-branch, size: 72183
16:26
First shot at porting the IPv6 changes to Windows file: [2f4880c74f] check-in: [ba424136ad] user: rmax branch: rmax-ipv6-branch, size: 72548
2010-03-08
14:34
merge updates from HEAD file: [6df0e2a568] check-in: [58e959de47] user: dgp branch: dgp-refactor, size: 68290
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: [bdb2b3a406] check-in: [0ccb7b21a9] user: nijtmans branch: trunk, size: 68290
2010-02-17
15:36
merge updates from HEAD file: [09761b66a8] check-in: [ac9a3fc416] user: dgp branch: dgp-refactor, size: 68297
2010-02-15
23:10
Eliminate all internal Tcl_WinUtfToTChar and Tcl_WinTCharToUtf calls, needed for mslu support. file: [4434accf6e] check-in: [89d7bf3904] user: nijtmans branch: trunk, size: 68297
2010-01-31
23:51
Various CYGWIN-related fixes backported from HEAD. Still configure script not modified, so CYGWIN build is still disabled. Reason: although the build succeeds with those changes, many tests still fail. file: [f2d2d20f87] check-in: [ad7cfb6ee3] user: nijtmans branch: core-8-5-branch, size: 67005
2010-01-13
18:47
merge updates from HEAD file: [736909849c] check-in: [e6c6ee7ccf] user: dgp branch: dgp-refactor, size: 68283
2010-01-10
22:58
* win/tclWinDde.c: VC++ 6.0 doesn't have * win/tclWinReg.c PDWORD_PTR * win/tclWinThrd.c: Fix various minor gcc warnings. * win/tclWinTime.c * win/tclWinConsole.c Put channel type definitions * win/tclWinChan.c in static const memory * win/tclWinPipe.c * win/tclWinSerial.c * win/tclWinSock.c * generic/tclIOGT.c * generic/tclIORChan.c * generic/tclIORTrans.c * unix/tclUnixChan.c * unix/tclUnixPipe.c * unix/tclUnixSock.c * unix/configure (regenerated with autoconf 2.59) * tests/info.test: Make test independant from tcltest implementation.
file: [ee73a36377] check-in: [ab99980096] user: nijtmans branch: trunk, size: 68283
2009-12-22
04:42
merge updates from HEAD file: [cb99443a91] check-in: [9fdc8d03f3] user: dgp branch: dgp-refactor, size: 68278
2009-12-21
23:25
Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still not enabled yet, but at least it is a step in the right direction. file: [52f03c4fd1] check-in: [dca4a9980e] user: nijtmans branch: trunk, size: 68278
2009-04-27
22:10
Backport fix for [Bug 1028264]: WSACleanup() too early. The fix introduces "late exit handlers" for similar late process-wide cleanups. file: [bc9a86654d] check-in: [19cb09b3ec] user: ferrieux branch: core-8-4-branch, size: 76273
21:45
Backport fix for [Bug 1028264]: WSACleanup() too early. The fix introduces "late exit handlers" for similar late process-wide cleanups. file: [08ce36a223] check-in: [d28ef3bfc1] user: ferrieux branch: core-8-5-branch, size: 66999
21:36
Backport fix for [Bug 2446662]: resync Win behavior on RST with that of unix (EOF). file: [a7bf84fb9e] check-in: [efa00a3dcf] user: ferrieux branch: core-8-5-branch, size: 66996
21:25
Backport fix for [Bug 2446662]: resync Win behavior on RST with that of unix (EOF). file: [8487ec5ebc] check-in: [9fa32bd70a] user: ferrieux branch: core-8-4-branch, size: 76269
2009-01-27
15:19
merge updates from HEAD file: [cdcd5980d4] check-in: [3afe000310] user: dgp branch: dgp-refactor, size: 68272
00:01
Fix [Bug 1028264]: WSACleanup() too early. The fix introduces "late exit handlers" for similar late process-wide cleanups. file: [45ae6abe85] check-in: [12792e6ea9] user: ferrieux branch: trunk, size: 68272
2009-01-26
22:57
Fix [Bug 2446662]: resync Win behavior on RST with that of unix (EOF). file: [712eca6ec6] check-in: [3022658c78] user: ferrieux branch: trunk, size: 68269
2008-12-18
04:36
merge updates from HEAD file: [959532e0d2] check-in: [75c2ca517b] user: dgp branch: dgp-refactor, size: 68072
01:14
TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channels file: [81ddf2c2ac] check-in: [d4d9fb3168] user: ferrieux branch: trunk, size: 68072
2008-11-10
02:18
merge updates from HEAD file: [375167ac91] check-in: [4a9c1325dc] user: dgp branch: dgp-refactor, size: 66788
2008-10-26
18:34
Style improvements - invoking callbacks without visual junk. file: [1754dde47d] check-in: [a1a8afc25d] user: dkf branch: trunk, size: 66783
2008-03-07
22:05
merge updates from HEAD file: [d4e788164c] check-in: [3b6959be94] user: dgp branch: core-stabilizer-branch, size: 66794
2008-03-03
04:34
merge updates from HEAD file: [4450a39488] check-in: [f211098809] user: dgp branch: dgp-refactor, size: 66795
2008-02-22
11:50
Add a linker hint for msvc to include ws2_32.lib file: [55f7b1b3d3] check-in: [1dbfc6476e] user: patthoyts branch: trunk, size: 66796
2007-12-13
15:22
merge stable branch onto HEAD file: [bada94942e] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 66731
2007-12-06
06:51
merge updates from HEAD file: [e7f527746f] check-in: [6f3a8a0d9e] user: dgp branch: dgp-refactor, size: 66736
2007-12-04
16:55
merge updates from HEAD file: [ea5f61db56] check-in: [bf07d188e5] user: dgp branch: core-stabilizer-branch, size: 66735
2007-11-30
01:09
* win/configure, win/tcl.m4: add ws2_32.lib / -lws2_32 to build. * win/tclWinSock.c: remove dyn loading of winsock, assume that it is always available now.
file: [82397a8c9c] check-in: [ec9c0b54e6] user: hobbs branch: trunk, size: 66733
2007-11-29
18:00
* generic/tclWinSock.c (InitializeHostName): Correct error in buffer length tracking. After gethostname() writes into a buffer, convert only the written string to internal encoding, not the whole buffer.
file: [ef5f7fd846] check-in: [3ddc76ed22] user: dgp branch: trunk, size: 74393
00:31
* win/tclWinSock.c (Tcl_GetHostName): update to previous fix to set hostname length appropriately, clean up check overall.
file: [785f771b5c] check-in: [71a89b7f03] user: hobbs branch: core-8-4-branch, size: 76056
2007-11-28
20:30
merge updates from HEAD file: [b21cd340c1] check-in: [b82595df55] user: dgp branch: core-stabilizer-branch, size: 74419
2007-11-27
20:38
* win/tclWinSock.c: Add mising encoding conversion of the [info hostname] value from the system encoding to Tcl's internal encoding.
file: [3b21c68c8a] check-in: [19d75ff5d4] user: dgp branch: trunk, size: 74415
20:30
* win/tclWinSock.c: Add missing encoding conversion of the [info hostname] value from the system encoding to Tcl's internal encoding. This is important now that ICANN no longer limits host names to ASCII. [Bug 1823552]
file: [55f659c4fb] check-in: [bb0956047b] user: dgp branch: core-8-4-branch, size: 76546
2007-04-08
14:58
Merge updates from HEAD; may not build file: [e4cf1ce4bf] check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 74298
2007-02-20
23:24
various "const" additions, in line with TIP #27 file: [0d59d98835] check-in: [81ea4e1335] user: nijtmans branch: trunk, size: 74298
2007-01-02
18:43
Minor updates (convert comment-outs to #ifdef outs, clean up comments/indents) file: [e367ec662c] check-in: [056e3a97b7] user: dkf branch: trunk, size: 74293
2006-09-26
21:40
* win/makefile.vc: Updated MSVC build to properly deal with * win/nmakehlp.c: MSVC8 and AMD64 target. Backport from 8.5 * win/rules.vc: * generic/tcl.h: Fixed stat definition for MSVC8 AMD64. * win/tclWinSock.c: Casting type police. * win/tclWinTime.c: file: [d5e98e386e] check-in: [962a33862b] user: patthoyts branch: core-8-4-branch, size: 76185
2006-08-29
16:19
merge updates from HEAD file: [c0a96e3b00] check-in: [e1feeec3e7] user: dgp branch: dgp-refactor, size: 73952
2006-07-24
13:43
* win/tclWinSock.c: Correct un-initialized Tcl_DString. Thanks to afredd. [Bug 1518166]
file: [86d143a09a] check-in: [7a410e481f] user: dgp branch: trunk, size: 73947
2006-04-28
16:09
Merge updates from HEAD file: [081d7dece3] check-in: [afab2ad07a] user: dgp branch: dgp-refactor, size: 73908
2006-04-05
16:32
* win/tclWinInit.c: More careful calls to Tcl_DStringSetLength() * win/tclWinSock.c: to avoid creating invalid DString states. * win/tclWinDde.c: Bump to version 1.3.2. [RFE 1366195] * library/dde/pkgIndex.tcl:
* library/reg/pkgIndex.tcl: Bump to registry 1.1.6 * win/tclWinReg.c:
* win/configure.in: Bump package version numbers. * win/configure: autoconf 2.59
file: [09eb1a0805] check-in: [59be467042] user: dgp branch: trunk, size: 73903
2006-03-27
18:08
* doc/CrtChannel.3: Added TCL_CHANNEL_VERSION_5, made it * generic/tcl.h: the version where the "truncateProc" * generic/tclIO.c: is defined at, and moved all channel * generic/tclIOGT.c: drivers of Tcl to v5. * generic/tclIORChan.c: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * win/tclWinChan.c: * win/tclWinConsole.c: * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: file: [bbc8b9a2cc] check-in: [5fab17f21d] user: andreas_kupries branch: trunk, size: 73842
2006-03-10
17:34
Finalization of the sockets/pipes is now solely done in TclpFinalizeSockets() and TclpFinalizePipes() and not over the thread-exit handler, because the order of actions the Tcl generic core will impose may result in cores/hangs if the thread exit handler tears down corresponding subsystem(s) too early. file: [4e48cb7a1b] check-in: [1df4f411cd] user: vasiljevic branch: trunk, size: 73794
14:27
Finalization of the sockets is now solely done in TclpFinalizeSockets() and not over the thread-exit handler, because the order of actions the Tcl generic core will impose may result in cores/hangs if the thread exit handler tears down socket subsystem too early (See Tcl Bug #1437595). file: [aa82f18519] check-in: [f79750f1ba] user: vasiljevic branch: core-8-4-branch, size: 76179
2006-01-25
18:38
merge updates from HEAD file: [29834ca735] check-in: [24df3318d7] user: dgp branch: dgp-refactor, size: 73468
2005-12-13
22:43
Export stubs for libtommath; fix mingw compiler warnings file: [f88b2e9526] check-in: [3842b9c468] user: kennykb branch: trunk, size: 73467
2005-12-02
18:42
merge updates from HEAD file: [50235491a7] check-in: [1059d34b2b] user: dgp branch: dgp-refactor, size: 73434
2005-11-28
09:49
Apply [Patch 1353853] to prevent UMR randomness. file: [31aaf5c1aa] check-in: [eab767dcf0] user: dkf branch: core-8-4-branch, size: 75952
2005-11-04
00:06
ANSIfy file: [670c8695d5] check-in: [eeb132b4ae] user: dkf branch: trunk, size: 73430
2005-11-03
17:52
merge updates from HEAD file: [89248001bc] check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 74080
00:17
Applied patch #1096916 to support building with MSVC 8. * generic/regerror.c: Avoid use of reserved word. * generic/tcl.h: Select the right Tcl_Stat structure * generic/tclDate.c: Casts to handle 64 bit time_t case. * tests/env.test: Include essential envvar on Win32 * win/nmakehlp.c: Handle new return codes. * win/makefile.vc: Use the selected options. * win/rules.vc: Check options are applicable * win/tclWinPort.h: Disable deprecated function warnings * win/tclWinSock.c: Provide default value to avoid warning. * win/tclWinTime.c: Add casts to handle 64bit time_t type.
file: [f0e4aa0704] check-in: [58ba298c20] user: patthoyts branch: trunk, size: 74082
2005-08-02
18:14
merge updates from HEAD file: [1c9dbbfcb1] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 74063
2005-07-26
04:11
Merge updates from HEAD file: [f6c3c04480] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 74063
2005-07-24
22:56
Getting more systematic about style file: [1353c5e773] check-in: [83d72c558c] user: dkf branch: trunk, size: 74059
2005-07-13
20:00
* unix/tclUnixSock.c: Use a ProcessGlobalValue to store the * win/tclWinSock.c: value returned by Tcl_GetHostName() ([info hostname]). Also re-order initialization of the value on Windows to favor GetComputerName() over gethostname() as a source of the information.
file: [7edd20ac62] check-in: [1fd12e8db7] user: dgp branch: trunk, size: 76628
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611)
file: [0ba50977c2] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 76028
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [3abe01c5fc] check-in: [1cc2336920] user: kennykb branch: trunk, size: 76025
2005-02-24
19:53
Merge updates from HEAD file: [258840f499] check-in: [185beecc8a] user: dgp branch: dgp-refactor, size: 76025
2005-02-02
15:53
sync with head, add TclStrToD (TIP #132) file: [8efeb7dec4] check-in: [82ce6a0c40] user: kennykb branch: kennykb-numerics-branch, size: 76029
2005-01-27
22:53
TIP#218 IMPLEMENTATION
* generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c:
* doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and * generic/tcl.h: implementation. Removal of old * generic/tclIO.c: driver-specific TclpCut/Splice * generic/tclInt.h: functions. Replaced with generic * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * mac/tclMacChan.c:
file: [1276eaae9a] check-in: [1621430b8b] user: andreas_kupries branch: core-8-4-branch, size: 75947
00:22
TIP#218 IMPLEMENTATION
* generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c:
* doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and * generic/tcl.h: implementation. Removal of old * generic/tclIO.c: driver-specific TclpCut/Splice * generic/tclInt.h: functions. Replaced with generic * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c:
file: [e9f75339d9] check-in: [0162fae7ad] user: andreas_kupries branch: trunk, size: 76033
2004-10-28
18:45
merge updates from HEAD file: [eb4bc7f6cf] check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 77325
2004-10-06
14:39
Style fixes file: [6b40d34c08] check-in: [7389be9553] user: dkf branch: trunk, size: 77321
2004-05-17
18:42
merge updates from HEAD file: [5bc8add8fe] check-in: [5741c7bde9] user: dgp branch: dgp-refactor, size: 77289
2004-05-06
01:03
* win/tclWinSock.c: (SocketThreadExitHandler): Don't call TerminateThread when WaitForSingleObject returns a timeout. Tcl_Finalize called from DllMain will pause all threads. Trust that the thread will get the close notice at a later time if it does ever wake up before being cleaned up by the system anyway. (SocketEventProc) : connect errors should fire both the readable and writable handlers because this is how it works on UNIX [Bug 794839] file: [15ea4090ae] check-in: [1ccb7621a4] user: davygrvy branch: core-8-4-branch, size: 73821
2004-05-05
18:22
(SocketEventProc) : connect errors should fire both the readable and writable handlers because this is how it works on UNIX [Bug 794839] file: [51a07b386b] check-in: [4e5d3d1807] user: davygrvy branch: trunk, size: 77290
2004-03-04
17:26
merge updates from HEAD file: [082212500a] check-in: [90bbbc469a] user: dgp branch: dgp-refactor, size: 77131
2004-02-21
02:17
(SocketThreadExitHandler): Don't call TerminateThread when WaitForSingleObject returns a timeout. Tcl_Finalize called from DllMain will pause all threads. Trust that the thread will get the close notice at a later time if it does ever wake up before being cleaned up by the system anyway. file: [d807880bce] check-in: [5952fe710d] user: davygrvy branch: trunk, size: 77132
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: [d6b81fad60] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 77279

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: [8846ff1aed] check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 77280
2003-12-12
00:59
(SocketThreadExitHandler) : added a TerminateThread fallback just in case the socket handler thread is really in a paused state. This can happen when Tcl is being unloaded by the OS from an exception handler. file: [b96d5915f9] check-in: [ebde28db01] user: davygrvy branch: trunk, size: 77276
2003-10-23
16:28
* win/tclWinSock.c (TcpWatchProc): Watch for FD_CLOSE too when asked for writable events by the generic layer. (SocketEventProc): Generate a writable event too when a close is detected.
Together the changes fix [Bug 599468].
file: [9021ec5791] check-in: [8ec3963650] user: andreas_kupries branch: trunk, size: 77017
16:24
* win/tclWinSock.c (TcpWatchProc): Watch for FD_CLOSE too when asked for writable events by the generic layer. (SocketEventProc): Generate a writable event too when a close is detected.
Together the changes fix [Bug 599468].
file: [fc5d2e4f7a] check-in: [a75cd73002] user: andreas_kupries branch: core-8-4-branch, size: 73553
2003-08-27
21:07
Merge updates from HEAD. file: [59f8b40218] check-in: [72cdb6ced3] user: dgp branch: dgp-refactor, size: 76987
19:45
Changed comment to note that OpenWatcom suffers the same missing LPFN_* typedef ssue as MinGW and cygwin. file: [41c8fd1a08] check-in: [d6217aae99] user: davygrvy branch: trunk, size: 76988
2003-04-22
23:20
* The changes below fix SF bugs [593810], and [718045].
* generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel): Invoke TclpCutSockChannel and TclpSpliceSockChannel.
* generic/tclInt.h: Declare TclpCutSockChannel and TclpSpliceSockChannel.
* unix/tclUnixSock.c (TclpCutSockChannel, TclpSpliceSockChannel): Dummy functions, on unix the sockets are _not_ handled specially.
* mac/tclMacSock.c (TclpCutSockChannel, TclpSpliceSockChannel): * win/tclWinSock.c (TclpCutSockChannel, TclpSpliceSockChannel): New functions to handle socket specific cut/splice operations: auto-initi of socket system for thread on splice, management of the module internal per-thread list of sockets, management of association of sockets with HWNDs for event notification.
* win/tclWinSock.c (NewSocketInfo): Extended initialization assignments to cover all items of the structure. During debugging of the new code mentioned above I found that two fileds could contain bogus data.
* win/tclWinFile.c: Added #undef HAVE_NO_FINDEX_ENUMS before definition because when compiling in debug mode the compiler complains about a redefinition, and this warning is also treated as an error.
file: [2cc10c31c2] check-in: [1aff0f8acb] user: andreas_kupries branch: trunk, size: 76983
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: [9cd2479cad] check-in: [bba93619da] user: mdejong branch: trunk, size: 73519
2003-01-13
01:27
* win/configure: Regen. * win/configure.in: Check for typedefs like LPFN_ACCEPT in winsock2.h and define HAVE_NO_LPFN_DECLS if not found. * win/tclWinSock.c: Define LPFN_* typedefs if HAVE_NO_LPFN_DECLS is defined. This fixes the build under Mingw and Cygwin, it was broken by the changes made on 2002-11-26.
file: [ecc67f15e6] check-in: [4aad945b11] user: mdejong branch: trunk, size: 73423
2002-12-08
15:31
* win/tclWinSock.c (SocketThreadExitHandler, InitSockets): Check that the tsdPtr is valid before dereferencing as we call it from the exit handler, too [Bug 650353]. Another WSAStartup() loaded version comparison byte swap issue fixed. Although 0x0101 byte swapped is still 0x0101, properly claiming which is major/minor is more correct.
file: [e9c5612b2d] check-in: [14149ec6c9] user: davygrvy branch: trunk, size: 70701
2002-11-27
22:47
* win/tclWinSock.c: WSAStartup() loaded version comparison error which resulted in 2.0 looking less than 1.1.
file: [7eae4ff36f] check-in: [4f20019f82] user: davygrvy branch: trunk, size: 70739
18:37
* win/tclWinSock.c: Removed shutdown() from the function table as it wasn't referenced anywhere and cleaned-up some casting that that wasn't needed.
file: [0b3efb9ad1] check-in: [d31c0d819c] user: davygrvy branch: trunk, size: 70033
05:29
Missed a couple left-overs from my TcpAccept hack. Now fixed. Sorry for the confusion. file: [c35e3bf5e3] check-in: [d56c10f510] user: davygrvy branch: trunk, size: 70256
02:22
adjusted some commentary to be more accurate. file: [d0e9b72ac1] check-in: [596f4ed996] user: davygrvy branch: trunk, size: 70583
01:41
Incorrect local edit of this file was previously committed that included a TcpAccept() hack that has no business being in the core. file: [0951a922b9] check-in: [222e5987ea] user: davygrvy branch: trunk, size: 70458
00:58
* win/tclWinPort.h: * win/tclWinSock.c: This patch does two things:
1) Cleans-up the winsock typedefs by using the typedefs provided by winsock2.h. This has no effect on how winsock is initialized; just makes the source code easier to read. [Patch 561305]
2) Revamps how the socket message handler thread is brough up and down to allows for cleaner exits without the use of TerminateThread(). TerminateThread is evil. No attempt has been made to resolve [Bug 593810] which may need a new channel driver version for adding a registering function whithin the transfered thread to init the handler thread. IOW, initialization of the TSD structure was getting bypassed through the thread extension's [thread::transfer] command.
file: [894f35271d] check-in: [f0c1f576b2] user: davygrvy branch: trunk, size: 72124
2002-11-26
22:35
* win/tclWinConsole.c: * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * win/tclWinThrd.c: * win/tclWinTime.c: General cleanup of all worker threads used by the channel drivers. Eliminates the normal case where the worker thread is terminated ('cept the winsock one). Instead, use kernel events to signal a clean exit. Only when the worker thread is blocked on an I/O call is the thread terminated. Essentially, this makes all other channel worker threads behave like the PipeReaderThread() function for it's cleaner exit behavior. This appears to fix [Bug 597924] but needs 3rd party confirmation to close the issue.
file: [dd8af186f7] check-in: [a2db2b4e4a] user: davygrvy branch: trunk, size: 69997
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: [8f3cdb0fbd] check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 70002
2002-05-24
18:57
* win/tclWinSock.c (TcpWatchProc): Fixed SF Tcl Bug #557878. We are not allowed to mess with the watch mask if the socket is a server socket. I believe that the original reporter is George Peter Staplin. file: [d2bcd937b4] check-in: [bf3d724895] user: andreas_kupries branch: trunk, size: 70005
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [20de1b659b] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 69892
2002-01-24
01:34
Corrections to earlier TIP 27 changes. Thanks to Andreas Kupries for the feedback. file: [a4083be3e4] check-in: [0c4eacfb56] user: dgp branch: trunk, size: 69883
2002-01-23
20:46
* Updated socket interfaces according to TIP 27. Updated callers.
file: [2ac7001604] check-in: [f28c83d817] user: dgp branch: trunk, size: 69883
2002-01-15
17:55
* Updated APIs in the file generic/tclIO.c according to the guidelines of TIP 27. Several minor documentation corrections as well.
* Updated channel driver interface according to the guidelines of TIP 27. See also [Bug 500348].
* Moved Tcl_EolTranslation enum declaration from generic/tcl.h to generic/tclInt.h (renamed to TclEolTranslation). It is not used anywhere in Tcl's public interface.
file: [205e03710f] check-in: [9c9edf24eb] user: dgp branch: trunk, size: 69827
2001-12-13
18:07
* win/tclWinSock.c (TcpGetOptionProc): Fix for tcl bug item #478565 reported by an unknown person. Bypasses all calls to "gethostbyaddr" for address "0.0.0.0" to prevent delays on Win/NT. file: [b13fc430fd] check-in: [4e78c91ebe] user: andreas_kupries branch: trunk, size: 69817
2001-09-20
18:50
* win/makefile.vc: updated IA64 compile settings
* win/tclWinInit.c: added extra processor definitions. (mstacy)
* win/tclWinSock.c (SocketThread): corrected pointer cast for _WIN64.
* win/tclWinNotify.c: removed unnecessary winsock include (it is already in from tclWinPort.h).
* win/tclWinPort.h: changed winsock.h include to winsock2.h. Reverses change from 2000-11-16, but is necessary for WIN64. Extensions should comply with defined OS words, or use #ifndef.
file: [66a09ed0ed] check-in: [1aa58c2d9a] user: hobbs branch: core-8-3-1-branch, size: 69608
18:33
win/tclWinSock.c (SocketThread): corrected pointer cast for _WIN64. file: [4520240aba] check-in: [42080dd33c] user: hobbs branch: trunk, size: 69604
2001-04-03
22:54
see backport log in ChangeLog for specific file backports from 8.4aCVS file: [319c30754b] check-in: [6defc375da] user: hobbs branch: core-8-3-1-branch, size: 69604
2001-03-31
05:44
* win/tclWinSock.c (SocketEventProc): Fixed race condition in readability of socket on Windows. [Patch #410674, Bug #219205 #219333]
file: [f3d359e1de] check-in: [870dfc7f97] user: hobbs branch: trunk, size: 69600
2000-09-28
06:38
up-port of the stacked channel implementation rewrite in 8.3.2 to 8.4a2 code base, merged in with some existing new 8.4a2 features. file: [42825ec42e] check-in: [23d1294c3a] user: hobbs branch: trunk, size: 69600
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-07-27
01:39
* merged core-8-3-1-io-rewrite back into core-8-3-1-branch. The core-8-3-1-io-rewrite branch should now be considered defunct.
file: [7540a90f84] check-in: [4a5dd63d1f] user: hobbs branch: core-8-3-1-branch, size: 69599
2000-07-14
04:16
* win/tclWinChan.c: updated fileChannelType to v2 channel struct * win/tclWinConsole.c: updated consoleChannelType to v2 channel struct * win/tclWinPipe.c: updated pipeChannelType to v2 channel struct * win/tclWinSerial.c: updated serialChannelType to v2 channel struct * win/tclWinSock.c: updated tcpChannelType to v2 channel struct
file: [f8bb2881a2] check-in: [edb18d89dd] user: hobbs branch: core-8-3-1-io-rewrite, size: 69599
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: [b834fac103] check-in: [28cb1be105] user: hobbs branch: trunk, size: 69465
1999-08-01
22:09
* win/tclWinSock.c: Added comment block to SocketThread() function. Added code to avoid calling TerminateThread(), but instead to send a message to the socket event window to tell it to terminate its thread. file: [353f2e256f] check-in: [77a8b86a7a] user: redman branch: trunk, size: 69915
1999-07-31
01:24
* win/tclWinPipe.c: * win/Makefile.in: Fixing launching of 16-bit apps on Win9x from wish. The command line was primed with tclpip82.dll, but it was ignored. Fixed that, then fixed the gmake makefile to build tclpip82.dll as an executable.

* win/tclWinSock.c: Applied small patch to get thread-specific data after initializing the socket driver. file: [2883c4112f] check-in: [0e573cddc1] user: redman branch: trunk, size: 69544

1999-07-29
22:58
win/tclWinSock.c: free Win32 Event handles when destroying socket helper threads. file: [9114ba4f9f] check-in: [5d8a109496] user: redman branch: trunk, size: 69533
1999-07-27
01:42
Bug fixes for threaded Tcl on NT with single and dual CPUs. Still some open issues, this code is a little more stable though. file: [b68e777019] check-in: [f4fa2a7ba1] user: redman branch: trunk, size: 69366
1999-07-22
23:45
Fix hange with socket code (win32) with threads enabled, fixed the semaphores for threads disabled. Fixed calling of tcltest in Makefile.in (win32) and fixed safe-6.3 for threads enabled. file: [5ed82cc720] check-in: [a5863b3a81] user: redman branch: trunk, size: 69116
1999-07-21
21:28
* win/tclWinSock.c: Modified 8.1.0 version of the Win32 socket driver to move the handling of the socket event window in a separate thread. It also turned out that Win95 & Win98 were, in some cases, getting multiple FD_ACCEPTs but only handling one. Added a count for the FD_ACCEPT to take care of this. Tested on NT4 SP3, NT4 SP4, Win95, and Win98. [Bug: 2178 2256 2259 2329 2323 2355] file: [e5485bcdb5] check-in: [74cee245ff] user: redman branch: trunk, size: 68507
1999-06-08
19:02
* win/tclWinSock.c: Rolled back to the 8.1.0 implementation because of serious problems with the new driver. Basically no incoming socket connections would be reported to a server port. The 8.1.1 code needs to be redesigned and fixed correctly. file: [c92ee55da5] check-in: [0e16766ed6] user: stanton branch: trunk, size: 67218
1999-05-26
20:24
generic/tclThreadTest.c: Fix race condition in testthread code.

win/tclWinSock.c: Fixed hang in WinNT socket driver, now wakes up the socket thread to check for events that didn't trigger the WSAEvent. file: [6f8a787df2] check-in: [b14f0363ec] user: redman branch: trunk, size: 75811

1999-04-22
20:28
Improved socket driver, use WSAEventSelect on NT file: [5c83b12d3a] check-in: [50a8b554c8] user: redman branch: trunk, size: 75135
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: [f5d4fc42e1] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 64938
1999-04-15
22:38
* Merge 8.0.5 changes: - Mac changes for final release - Minor fixes to tools configure file

* win/tclWinSock.c: Apply patch to allow write access to a socket if FD_WRITE is sent but FD_CONNECT is not. Some strange problem with either Win32 or a socket driver. [Bug: 1664 1776] file: [812357370b] check-in: [08c27030dc] user: stanton branch: trunk, size: 62681

1999-04-14
00:33
Fixed comments in code that referred to APIs that no longer exist, were misspelled, or have been updated. file: [403980819e] check-in: [2d7ffe4998] user: surles branch: core-8-1-branch-old, size: 64942
1999-04-13
18:24
Apply patch for socket code when FD_CONNECT is not sent but FD_WRITE is (some wierd Microsoft or driver problem). Bug Ids 1664 and 1776. file: [02dc3f490c] check-in: [20a70f4b65] user: redman branch: core-8-1-branch-old, size: 64939
18:12
Applied patch to fix sockets when the FD_CONNECT never happens before the FD_WRITE (why, only Microsoft knows). Bug ID 1664 & 1776. file: [3dc3d3c040] check-in: [89afc858bb] user: redman branch: core-8-0-5-branch, size: 62743
1999-03-25
01:25
Fix socket code (typo) and test case after looking at it again. file: [4108fb740d] check-in: [2c4f496e6a] user: redman branch: core-8-1-branch-old, size: 64687
1999-03-24
23:53
Make windows sockets implementation thread-safe by making the window used to handle socket events thread-specific (one for each thread).

Added test to socket.test to check for this (should work on all platforms). file: [2edfb18fc0] check-in: [74e05afb99] user: redman branch: core-8-1-branch-old, size: 64686

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
06:49
Integrated stubs mechanism from 8.0 into 8.1 file: [1cea4ad83e] check-in: [ddb86b8d93] user: stanton branch: core-8-1-branch-old, size: 64073
05:52
Merged stubs changes into mainline for 8.0 file: [c44257aa33] check-in: [1969693351] user: stanton branch: trunk, size: 62428
1999-03-08
20:14
First pass at integrating stubs mechanism from 8.0. file: [7129cad75c] check-in: [eeba5fd9e9] user: stanton branch: dev-8-1-stubs-branch, size: 64077
1999-03-03
00:38
* unix/Makefile.in: * unix/configure.in: * unix/ldAix: Enhanced AIX shared library support.

* win/tclWinSock.c: Removed a bunch of extraneous PASCAL FAR attributes from internal functions.

* win/tclWinReg.c: Changed registry package to use stubs mechanism so it no longer depends on the specific version of Tcl.

* doc/AddErrInfo.3: * doc/Eval.3: * doc/PkgRequire.3: * doc/SetResult.3: * doc/StringObj.3: * generic/tcl.h: * generic/tclBasic.c: * generic/tclPanic.c: * generic/tclStringObj.c: * generic/tclUtil.c: * unix/mkLinks: Added va_list versions of all VARARGS functions so they can be invoked from the stub functions.

* doc/package.n: * doc/PkgRequire.3: * generic/tclPkg.c: Added Tcl_PkgProvideEx, Tcl_RequireEx, Tcl_PresentEx, and Tcl_PkgPresent. Added "package present" command.

* generic/tclFileName.c: * mac/tclMacFile.c: * mac/tclMacShLib.exp: * unix/tclUnixFile.c: * win/tclWinFile.c: Changed so TclGetUserHome is defined on all platforms, even though it is currently a noop on mac and windows, and renamed it to TclpGetUserHome.

* generic/tclCkalloc.c: Added stub versions of memory checking functions when compiling without TCL_MEM_DEBUG.

* doc/ByteArrObj.3: * generic/tcl.h: * generic/tclBinary.c: * generic/tclObj.c: Ported the 8.1 ByteArray type back to 8.0.

* generic/tcl.decls: * generic/tcl.h: * generic/tclBasic.c: * generic/tclDecls.h: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclIntPlatStubs.c: * generic/tclIntStubs.c: * generic/tclPlatDecls.h: * generic/tclPlatStubs.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclStubs.c: * tools/genStubs.tcl: * unix/configure.in: * unix/Makefile.in: * unix/tclConfig.sh.in: * win/makefile.vc: * win/tclWinPort.h: Added Tcl stubs implementation. There are now two new macros USE_TCL_STUBS and USE_TCL_STUB_PROCS that enable use of stubs and disable stub macros respectively. All of the public and private function declarations from tcl.h and tclInt.h have moved into the *.decls files and the *Stubs.c and *Decls.h files are generated using the genStubs.tcl script.

* generic/tclPanic.c: * generic/panic.c: renamed panic to Tcl_Panic, added macro for backwards compatibility, renamed file to tclPanic.c file: [fb06763ab2] check-in: [f404370f5a] user: stanton branch: dev-stubs-branch, size: 62432

1999-02-10
23:31
* unix/mkLinks: * doc/SetVar.3: * generic/tcl.h: * generic/tclVar.c: Restored Tcl_ObjGetVar2 and Tcl_ObjSetVar2 from 8.0. Renamed Tcl_Get/SetObjVar2 to Tcl_GetVar2Ex and Tcl_SetVar2Ex.

* Merged 8.0.5b2 patches file: [bc1a79ee1a] check-in: [b403ad5f28] user: stanton branch: core-8-1-branch-old, size: 64141

1999-02-03
00:51
* unix/tclUnixChan.c: * win/tclWinSock.c: * doc/socket.n: Applied Gordon Chaffee's patch to handle failures during asynchronous socket connection operations. This adds a new "-error" fconfgure option to socket channels. [Bug: 893] file: [5b17a7e889] check-in: [dd5a31ec23] user: stanton branch: trunk, size: 62488
1998-12-12
01:36
Minor change to Lock Declarations to use TCL_DECLARE_MUTEX macro, published in tcl.h. file: [d57026584d] check-in: [c778c9ef5e] user: lfb branch: core-8-1-branch-old, size: 63672
1998-12-04
01:19
* tclWinSock.c (CreateSocket, TcpAccept): Windows NT creates sockets so they are inheritable by default. Turn off this bit so sockets aren't kept open by exec'ed processes. [Bug: 892] file: [7cb2303d40] check-in: [fc7501535c] user: stanton branch: core-8-1-branch-old, size: 63675
01:01
* tclWinSock.c (CreateSocket, TcpAccept): Windows NT creates sockets so they are inheritable by default. Turn off this bit so sockets aren't kept open by exec'ed processes. [Bug: 892] file: [2c4bd726c9] check-in: [3f5af606c0] user: stanton branch: trunk, size: 61902
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [fc2887ef02] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 63254
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [eadad20cd2] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 62800
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [37eb7c6c32] check-in: [196f92fd17] user: stanton branch: trunk, size: 61481
1998-05-27
18:10
fixed bug in socket code: use of FIONREAD is not supported on Windows changed to completely drain the socket window before checking any state file: [a846647db1] check-in: [f8f2215a8f] user: stanton branch: trunk, size: 61460
1998-03-26
14:56
Added: Initial revision file: [f4174ce8b2] check-in: [f86c34e38d] user: rjohnson branch: trunk, size: 61019