History of unix/tclUnixChan.c of 1313bb5e380074a6
Not logged in

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

History of file unix/tclUnixChan.c at check-in 1313bb5e380074a6

2026-08-09
11:38
Error messages almost all generated via Tcl_PrintfResult family file: [0309a41e39] check-in: [4b4b6ea188] user: dkf branch: tip-757, size: 57931
2026-07-17
06:50
Use of TIP 757 in many places file: [5c4a133d05] check-in: [2237c55faf] user: dkf branch: tip-757-use, size: 57922
2026-06-07
12:04
Improve documentation comments where they were a bit neglected file: [bbe05311e5] check-in: [f24f45d71b] user: dkf branch: main, size: 58342
2026-05-17
15:06
More indentation/spacing corrections; no behaviour changes file: [5af88a4e44] check-in: [7c918d5f96] user: dkf branch: main, size: 58170
2026-03-22
12:57
More whitespace fixes file: [0276bd3e2f] check-in: [c65a7aa504] user: dkf branch: main, size: 58168
2026-02-06
11:12
Eliminate SUPPORTS_TTY, which is just an alias for HAVE_TERMIOS_H. int -> bool where appropriate file: [df4a6076a0] check-in: [5e7c738a2c] user: jan.nijtmans branch: main, size: 58167
2026-01-22
08:30
Eliminate the use of 'memcpy' for Tcl_Time's. Backport some more formatting from 9.1 file: [ea4ef955b6] check-in: [b5a96c9b24] user: jan.nijtmans branch: core-9-0-branch, size: 58129
2025-10-10
14:11
Tranche 3 of adoption of bool file: [983c8c91be] check-in: [6e7e183bb2] user: dkf branch: c11-bool, size: 58200
2025-10-06
10:50
Tidying up file: [680b348cd9] check-in: [fafb320167] user: dkf branch: c11-printf-result, size: 57727
2025-10-05
19:26
Tranche 3 of adoption of TclPrintfResult file: [f8ccb48f45] check-in: [3aa1ace500] user: dkf branch: c11-printf-result, size: 57744
10:38
Tranche 2 of adoption of TclPrintfResult file: [e45d8d024b] check-in: [9a6fb43196] user: dkf branch: c11-printf-result, size: 57816
2025-10-03
11:47
Use C11 macros to automatically add a NULL to the end of varargs sequences file: [2be2179524] check-in: [9c524e00d4] user: dkf branch: c11-automarker, size: 57917
2025-08-12
09:06
More booleans. file: [aa1f9ebc65] check-in: [8a9080996d] user: dkf branch: c-std-update, size: 57417
2025-08-01
11:48
More moving of variable declarations file: [a9d74f4e58] check-in: [1d20e4cf45] user: dkf branch: c-std-update, size: 57386
2025-07-19
12:31
More moving of variable declarations file: [78586d12cc] check-in: [c149575323] user: dkf branch: c-std-update, size: 57509
2025-07-14
14:26
TclSetErrorCode lets us avoid writing a lot of marker values file: [76d7ef0228] check-in: [a29f1f8fab] user: dkf branch: c-std-update, size: 57520
08:11
A bunch of small changes building on previous commits file: [da437c8534] check-in: [1811f74742] user: dkf branch: c-std-update, size: 57750
2025-07-12
20:58
Define TclPrintfResult() for common pattern in error generation. file: [d58fcea418] check-in: [70b6205548] user: dkf branch: c-std-update, size: 57761
2025-06-02
14:18
Backport: Add [[unreachable]] and [[fallthrough]] from C23 (where available) file: [8b5370eb4b] check-in: [01eaeaebf1] user: jan.nijtmans branch: core-9-0-branch, size: 58158
2025-05-29
08:13
more unreachable/fallthrough marks file: [58fda32ec8] check-in: [dc49f7f0a3] user: dkf branch: tcl-unreachable, size: 58162
2025-05-23
09:03
Clean up indentation and overlong lines file: [a6134585f1] check-in: [71f3f24f7b] user: dkf branch: main, size: 58160
2025-05-10
14:49
[3328635] Merge main. Only tested on Windows. file: [b22817cb64] check-in: [6ff6edf427] user: oehhar branch: tkt3328635-posix-monotonic-clock, size: 62114
2025-04-01
08:13
Fix some -Wconversion warnings file: [455996fec3] check-in: [8473c2d663] user: jan.nijtmans branch: core-9-0-branch, size: 58156
2025-03-30
08:41
Fix some -Wconversion warnings file: [0e9e6ac062] check-in: [a3af8b0419] user: jan.nijtmans branch: conversion-warning, size: 58177
2025-03-02
15:48
Bunch of whitespace basic fixes. file: [00f99a4f93] check-in: [809d595b56] user: dkf branch: main, size: 58101
2025-02-16
15:17
Typo file: [4d185f32e2] check-in: [bc532fc550] user: dkf branch: inline-func, size: 58043
2025-01-20
14:39
Fixes for many many whitespace infelicities file: [50f5c9dbd3] check-in: [ba7d219e65] user: dkf branch: whitespace-fix, size: 58111
2025-01-10
13:01
Add TclPrintfResult() for easy error message generation file: [5ec80db2c7] check-in: [665eb99f69] user: dkf branch: dkf-c11-features, size: 57493
2025-01-09
09:56
Taming Tcl_AppendStringsToObj as well file: [76530c27f3] check-in: [f8612e12b2] user: dkf branch: dkf-c11-features, size: 57890
09:30
TclSetErrorCode is a macro to end-mark Tcl_SetErrorCode file: [d233a760c2] check-in: [0e84f9c9df] user: dkf branch: dkf-c11-features, size: 57888
2024-10-07
22:25
Merge [946fbd0fdaeafe23]: Don't use "9.0b3" any more. Spacing. file: [9efda7e9fa] check-in: [71a334b71e] user: pooryorick branch: unchained, size: 58488
2024-09-26
21:28
Don't use "9.0b3" any more. Spacing file: [33a81a9138] check-in: [946fbd0fda] user: jan.nijtmans branch: main, size: 58122
21:08
Backport Tcl_BounceRefCount() from Tcl 9.0 file: [6f2ee0d51f] check-in: [7073e07042] user: jan.nijtmans branch: core-8-branch, size: 60173
2024-09-19
10:24
Merge [265dc4708a3bf925]: avoid unneeded (but expensive) path normalization for several file subsystem commands and operations; closes [02d5d65d70adab97] and probably [411f52ed87e313dd49e2]. file: [e80ac7d11a] check-in: [9f74f3299b] user: pooryorick branch: unchained, size: 58489
2024-09-17
15:35
merge 8.7: avoid unneeded (but expensive) path normalization for several file subsystem commands and operations; closes [02d5d65d70adab97] and probably [411f52ed87e313dd49e2] file: [b3fb20bbcd] check-in: [265dc4708a] user: sebres branch: main, size: 58123
14:32
merge 8.6 (fix attempt for [02d5d65d70adab97], however the small bottleneck is still visible) file: [086361916e] check-in: [86abe9aa4a] user: sebres branch: core-8-branch, size: 60174
14:19
improve comments (no functional changes) file: [463f3744df] check-in: [d80289c255] user: sebres branch: core-8-6-branch, size: 51534
2024-09-13
14:26
small amend: move the normalization to the block where the error message really needed file: [4d1f2412f7] check-in: [5cdc8f54e9] user: sebres branch: bug-02d5d65d70adab97, size: 51358
2024-08-29
09:17
Merge [612cbe4899eb25a2]: Simpler commenting of Tcl_ChannelType instances; make zip channel type const. file: [970ba3d3e3] check-in: [2468f77a5a] user: pooryorick branch: unchained, size: 57771
08:52
Merge [ae52f61f0c447142]: A clearer way of writing what parity options are available. file: [aa8c4bebba] check-in: [44507cbc40] user: pooryorick branch: unchained, size: 58221
2024-08-28
21:41
Merge [735641d5cb93cd80]: More C functions for working with dicts [656fe3c816]. file: [e17fb00927] check-in: [5e25f5c971] user: pooryorick branch: unchained, size: 58178
16:33
Merge [3a60363aa10ef993]: Clean up a lot of whitespace issues. file: [791cbfb6fe] check-in: [627781a6db] user: pooryorick branch: unchained, size: 58514
2024-08-27
10:40
Merge [22cb6d973e5b8327]: Use TclHasInternalRep() macro in more places. file: [461d1fc36b] check-in: [17b13231f6] user: pooryorick branch: unchained, size: 58556
2024-08-26
11:01
Merge [9b8a66aff6923a69]: Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!). file: [14c5e87301] check-in: [9f27ea7880] user: pooryorick branch: unchained, size: 58577
09:56
Merge [3bdb40e1f2683f5f]: Few more spacing/formatting tweaks. file: [e79da3e2b0] check-in: [30d592af71] user: pooryorick branch: unchained, size: 58579
2024-08-25
05:38
Merge [135a7bdeafb4e66e]: Merge 8.7 ("struct stat" -> Tcl_StatBuf change only). file: [427166da7c] check-in: [7eff5c7723] user: pooryorick branch: unchained, size: 58579
05:37
Merge [971d8c496b86392b]: Fix incorrect Tcl_UtfNcasecmp() usage (since len is in bytes, not characters here). file: [58fa46bd53] check-in: [3114a26080] user: pooryorick branch: unchained, size: 58574
2024-08-22
20:52
Merge [f67f60d202716adf]: Fix [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usage; Handle any C++-compiler as well. file: [fc444c53c5] check-in: [e18c9ab9f6] user: pooryorick branch: unchained, size: 58627
19:10
Merge [70a45a970d918453], "Fix [ad5a57f2f2]: Functions passed to Tcl_CreateFileHandler() must be declared/defined as Tcl_FileProc. Also, add some type-casts" and "Those type-casts don't work well in C++". file: [247a9f4028] check-in: [34c055c567] user: pooryorick branch: unchained, size: 58499
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: [787831d887] check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 58303
2024-06-18
22:27
Merge 8.6 file: [b831f428db] check-in: [5230c77fff] user: jan.nijtmans branch: core-8-branch, size: 59456
22:07
Backport some code cleanup from 8.7/9.0. Fix indenting file: [587537f3aa] check-in: [e749719636] user: jan.nijtmans branch: core-8-6-branch, size: 50810
2024-06-09
10:33
Simpler commenting of Tcl_ChannelType instances; make zip channel type const file: [dc2f5d8f97] check-in: [612cbe4899] user: dkf branch: main, size: 57405
2024-06-05
14:12
A clearer way of writing what parity options are available file: [82ec605776] check-in: [ae52f61f0c] user: dkf branch: main, size: 57855
2024-05-26
14:09
Merge 8.7 file: [717bbc3864] check-in: [735641d5cb] user: dkf branch: main, size: 57848
13:19
merge 8.6 file: [d1561d291b] check-in: [9e8cd97a2b] user: dkf branch: core-8-branch, size: 59491
2024-05-23
08:53
More trickery with macros file: [5ce21f5b87] check-in: [a3f9c1bec2] user: dkf branch: more-macros, size: 57763
2024-05-20
16:38
merge trunk file: [05a1588759] check-in: [3fd88cd4cd] user: dkf branch: result-helpers, size: 57779
2024-05-15
14:35
Stop using Tcl_AppendResult to build full results It's fine if actually appending... but we hardly ever do that. (This also rewrites the build-info implementation to follow core style.) file: [9ba145b8ea] check-in: [799bc15719] user: dkf branch: result-helpers, size: 57737
2024-05-14
16:06
Add helper macros TclSetResult and TclPrintfResult file: [148da7339f] check-in: [0b65fb9e0c] user: dkf branch: result-helpers, size: 57751
2024-05-13
15:41
Clean up a lot of small whitespace issues This is the dullest commit ever. Sorry. file: [26b2883c61] check-in: [3a60363aa1] user: dkf branch: main, size: 58142
2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [662331d0a8] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 58159
2024-04-10
14:47
Merge 8.6 Use TclHasInternalRep() macro in more places. file: [7eb5d676a4] check-in: [d326acc1c9] user: jan.nijtmans branch: core-8-branch, size: 59827
10:21
Use O_ACCMODE in stead of the non-standard RW_MODES file: [680ae0f962] check-in: [af85b455a0] user: jan.nijtmans branch: tip-691, size: 58184
10:15
Use O_ACCMODE in stead of the non-standard RW_MODES. Since O_RDONLY|O_WRONLY|O_RDWR aren't necessary separate flags, this is the standard way. file: [1f5606a55b] check-in: [862ccc7e61] user: jan.nijtmans branch: core-8-6-branch, size: 51403
2024-03-20
20:29
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!) file: [d80786a0cb] check-in: [9b8a66aff6] user: jan.nijtmans branch: main, size: 58205
20:09
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!) file: [66b68e550d] check-in: [3186ba81a2] user: jan.nijtmans branch: core-8-branch, size: 59848
13:49
Few more spacing/formatting tweaks file: [3f2b2aa451] check-in: [3bdb40e1f2] user: jan.nijtmans branch: main, size: 58207
13:14
(backport) more spacing/formatting tweaks. For now, macosx/unix/win only. file: [40ec70e8a2] check-in: [dc8a99efff] user: jan.nijtmans branch: core-8-branch, size: 59850
2024-03-19
16:43
Merge 8.7 (Some Tcl_GetStringFromObj -> TclGetStringFromObj internal changes) file: [9fcfb73846] check-in: [f2dca49da3] user: jan.nijtmans branch: main, size: 58207
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: [d0ca24bd97] check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 58222
2024-01-04
20:58
Merge 9.0 file: [eadcb32c09] check-in: [bfb5c2d0d3] user: jan.nijtmans branch: tip-671, size: 58132
2023-12-31
13:34
Merge 8.7 ("struct stat" -> Tcl_StatBuf change only) file: [0873b7fde1] check-in: [135a7bdeaf] user: jan.nijtmans branch: main, size: 58208
2023-12-30
23:59
(cherry-pick) Don't call getsockname(2) in Tcl_MakeFileChannel(3) unless absolutely necessary. Closes RFE [0ac9d06895]. Permits better constraining of Tcl/tclsh via OpenBSD's pledge(2) or similar mechanisms. Minor rewrite file: [53dbb3d7e0] check-in: [81c13398d0] user: jan.nijtmans branch: core-8-6-branch, size: 51424
21:47
missing goto file: [c8bfe2f099] check-in: [4d21b646e3] user: jan.nijtmans branch: core-8-branch, size: 59851
21:32
(cherry-pick) Don't call getsockname(2) in Tcl_MakeFileChannel(3) unless absolutely necessary. Closes RFE [0ac9d06895]. Permits better constraining of Tcl/tclsh via OpenBSD's pledge(2) or similar mechanisms. Minor rewrite file: [ac7dce32fc] check-in: [08ffba30e8] user: jan.nijtmans branch: core-8-branch, size: 59826
00:08
Fix incorrect Tcl_UtfNcasecmp() usage (since len is in bytes, not characters here) file: [422b9fe2a3] check-in: [971d8c496b] user: jan.nijtmans branch: main, size: 58203
2023-12-29
22:32
Merge 8.6 file: [cb2fc2d451] check-in: [b4986cd064] user: jan.nijtmans branch: core-8-branch, size: 59761
16:26
Fix incorrect TclUtfNcasecmp() usage (since len is in bytes, not characters here) file: [304ea0b643] check-in: [476d684fc2] user: jan.nijtmans branch: core-8-6-branch, size: 51321
2023-10-19
18:48
Merge 8.7 file: [23c7b04982] check-in: [f67f60d202] user: jan.nijtmans branch: main, size: 58256
2023-10-17
06:02
Handle sentinels for any C++ compiler file: [ab1b6edba2] check-in: [6876d1f99a] user: jan.nijtmans branch: bug-26870862f0, size: 59824
2023-10-13
13:27
Proposed fix for [abd489a1c]: TclStringCmp() calls functions through pointer to incorrect type. Modified, swapping the wrapping-order file: [4a105bd658] check-in: [6d9d5ac6a7] user: jan.nijtmans branch: bug-abd489a1c, size: 51246
2023-10-12
15:22
Merge 8.7 file: [cefcec406a] check-in: [70a45a970d] user: jan.nijtmans branch: main, size: 58128
15:20
Merge 8.7 file: [7ec54f91fc] check-in: [efd27f19a9] user: jan.nijtmans branch: core-8-branch, size: 59696
15:11
Fix [ad5a57f2f2]: Functions passed to Tcl_CreateFileHandler() must be declared/defined as Tcl_FileProc. Also, add some type-casts file: [0386f1f996] check-in: [428afeec4b] user: jan.nijtmans branch: core-8-6-branch, size: 51253
2023-06-10
13:43
Refactor into common function. Add error checks that were never present. file: [7e33cad0e9] check-in: [4cec5c007e] user: apnadkarni branch: tip-671, size: 57856
2023-06-06
22:09
Work in progress file: [2428e50174] check-in: [b54c80a046] user: apnadkarni branch: tip-671, size: 57940
2023-06-02
13:59
Merge 8.7 file: [e1892186e0] check-in: [486d398306] user: jan.nijtmans branch: main, size: 57932
12:00
New (internal) macro TclAttemptInitStringRep() file: [9392b242fd] check-in: [b0b7c9d7b6] user: jan.nijtmans branch: core-8-branch, size: 59500
2023-05-29
19:41
Merge 8.7 file: [bf10349208] check-in: [531a654901] user: jan.nijtmans branch: main, size: 57936
16:27
int -> Tcl_Size, for full Tcl 9 support file: [a7f213050a] check-in: [e9e36d8d3c] user: jan.nijtmans branch: core-8-branch, size: 59504
2023-05-28
10:39
merge 8.7 file: [f4a6595402] check-in: [760a8045a3] user: fvogel branch: main, size: 57915
2023-05-24
16:02
merge core-8-branch file: [2155807296] check-in: [284bf626d7] user: dkf branch: tip-603, size: 59498
2023-04-14
15:01
Merge trunk file: [f2748b6a71] check-in: [e36ab1e9ba] user: apnadkarni branch: tip-660, size: 53163
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: [f79e770c5b] check-in: [d65da06a77] user: pooryorick branch: main, size: 53159
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [94f0e76016] check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 54746
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: [61f7a371a2] check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 50889
2023-04-01
10:27
Merge 9.0 file: [2832657642] check-in: [4dbed74737] user: jan.nijtmans branch: tip-660, size: 53163
2023-03-30
22:22
Merge 8.7 file: [f2af04bf81] check-in: [7c9d2dc7a3] user: jan.nijtmans branch: main, size: 53159
22:02
Merge 8.6 file: [a3590e13ad] check-in: [166e8656a7] user: jan.nijtmans branch: core-8-branch, size: 54746
18:01
TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntu file: [28b1033f33] check-in: [eb81a25271] user: apnadkarni branch: tip-660, size: 53005
15:19
Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it on other platforms either. file: [5ec9d6fbcf] check-in: [ec56f33813] user: jan.nijtmans branch: bug-0cb3554903, size: 50889
2023-03-26
16:04
Merge 9.0 file: [3cfc7354ce] check-in: [d7647964b4] user: jan.nijtmans branch: bug-02b58d5d04, size: 52839
2023-02-25
03:03
Compiles and runs. Tests still to be ported. file: [f0e3e3c6a7] check-in: [c057c79d2b] user: apnadkarni branch: tip-656-tcl9, size: 53001
2023-02-22
17:07
port jan-encoding-profile to 9.0 file: [8d8b098137] check-in: [900d53d140] user: jan.nijtmans branch: jan-encoding-profile-for-9.0, size: 52977
2022-09-22
12:50
rebase to latest 8.7 file: [7dd539d9e6] check-in: [488d60d3f7] user: jan.nijtmans branch: tip-603, size: 59340
2022-07-19
08:56
Merge 8.7 file: [bbc19087c6] check-in: [7c6436ddb3] user: jan.nijtmans branch: main, size: 52973
08:35
Make a start converting -1 -> TCL_INDEX_NONE where appropriate file: [3d6871a045] check-in: [ec4c6a5785] user: jan.nijtmans branch: core-8-branch, size: 54588
2022-03-21
14:19
Merge 9.0 file: [c67fd6791a] check-in: [d5e4d34abb] user: jan.nijtmans branch: tip-616, size: 53063
14:18
Fix compiler warnings, due to the use of macro's file: [e147874ef8] check-in: [67dcdf17e2] user: jan.nijtmans branch: main, size: 53052
2022-01-24
20:54
More work in progress file: [f7bbeef557] check-in: [e2382fa2c9] user: jan.nijtmans branch: tip-616, size: 53009
2021-06-29
15:02
Merge 8.7. Fix fstat() call in tclUnixChan.c, in case Tcl_StatBuf == struct stat64. file: [22c3f6d30b] check-in: [563efc3d8f] user: jan.nijtmans branch: tip-603, size: 59430
2021-06-19
15:57
Added in missing field file: [cdf4d455b6] check-in: [f67df77d74] user: dkf branch: tip-603, size: 59425
14:59
Start of implementing TIP 603: chan configure -stat file: [dfaaa273d1] check-in: [c9cac950e3] user: dkf branch: tip-603, size: 59144
2021-03-09
09:21
Merge 8.7 file: [d53feadce4] check-in: [017895f04d] user: jan.nijtmans branch: main, size: 52998
09:19
Merge 8.6 file: [40d437a0a7] check-in: [609eea37d4] user: jan.nijtmans branch: core-8-branch, size: 54678
09:14
Fix [8419c55e2c]: Tclsh read loop does not handle EINTR file: [c65b6c184d] check-in: [346094351f] user: jan.nijtmans branch: core-8-6-branch, size: 50781
2021-01-08
21:07
Merge 8.7 (resolve conflicts) file: [08c4e2cc91] check-in: [5295f674c1] user: dgp branch: main, size: 52944
09:37
Omit -Wdeclaration-after-statement from CFLAGS: No longer needed since we stopped support for MSVC 6++ Change Tcl_WideInt -> long long in various places: Tcl_WideInt could be a 128-bit type, we don't want that everywhere. file: [3a532643ed] check-in: [174a9adac8] user: jan.nijtmans branch: tip-592, size: 54624
2020-12-08
15:42
Merge 8.7 file: [8715e152a5] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 52958
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: [2f60d268ce] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 54640
2020-09-17
09:31
Merge 8.7 file: [1417a9d69c] check-in: [ef1896eb35] user: jan.nijtmans branch: trunk, size: 52963
09:27
Change version number of http package from 2.9.5 -> 2.10.0a1, since it's different from the 2.9.5 version in Tcl 8.6.x. Use "$idx >= 0" check in stead of "$idx > -1" everywhere. file: [d610ad446a] check-in: [90d3d26e1f] user: jan.nijtmans branch: core-8-branch, size: 54645
2020-08-21
12:12
Remove various 64-bit specific macro's. First part of fix for [02b58d5d04]: Direct access of *64 functions by Tcl code (code cleanup) file: [f931a39c78] check-in: [cff3997416] user: jan.nijtmans branch: bug-02b58d5d04, size: 52801
2020-08-10
16:16
create server socket with AI_PASSIVE flag (used for bind) file: [5f4237509b] check-in: [0a56896c40] user: sebres branch: core-8-5-branch, size: 88057
2020-04-17
13:09
Merge-mark 8.5. Remove some ARGSUSED usage. file: [dcdc778311] check-in: [afe11ea5cc] user: jan.nijtmans branch: core-8-6-branch, size: 50727
13:01
Unbreak shared windows build. Remove some ARGSUSED usage. file: [22d95186f6] check-in: [8dd8b3e777] user: jan.nijtmans branch: core-8-5-branch, size: 88052
2020-03-17
01:20
merge 8.7 file: [afbeec191b] check-in: [4d9717c8ef] user: dgp branch: trunk, size: 52963
01:01
TIP 569 - remove lint comments file: [5b0b9b634d] check-in: [658a498ae4] user: dgp branch: core-8-branch, size: 54645
2020-03-09
16:34
merge 8.7 file: [2a9f68ffe5] check-in: [a0ed9240c8] user: dgp branch: trunk, size: 52979
15:45
TCL_UNUSED in the unix sources. file: [47c7efa50d] check-in: [2c910028eb] user: dgp branch: core-8-branch, size: 54661
2020-03-04
13:42
Implement WideSeekProc() for all channels which have a SeekProc(). Implement Close2Proc() for all channels, as minimal wrapper around CloseProc(). Backported (with comments) and adapted from core-8-branch. file: [0e1d55ece4] check-in: [3a5bf9c4ee] user: jan.nijtmans branch: core-8-6-branch, size: 50743
2020-02-28
14:23
Minor TIP #562 fix: Missing #endif, results in (harmless) compiler warning when compiling with -DTCL_NO_DEPRECATED. file: [779c56770d] check-in: [a652425f5d] user: jan.nijtmans branch: core-8-branch, size: 54807
14:07
Merge 8.7 file: [d2f76b915a] check-in: [0d3f9515c0] user: jan.nijtmans branch: trunk, size: 53125
13:13
Implement TIP #562: Deprecate channel types 1-4 file: [578a01e34e] check-in: [74755e2555] user: jan.nijtmans branch: core-8-branch, size: 54774
12:46
Merge 8.7 file: [0cc52ed593] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 54563
2020-01-31
14:58
Make Tcl_ChannelCloseProc() deprecated too. Implement close2Proc and wideSeekProc for all internal channel types. file: [6bdc808464] check-in: [4107df0b30] user: jan.nijtmans branch: deprecate-channel-type-1-4, size: 54720
2020-01-30
16:08
Merge 8.7 file: [273e5249d3] check-in: [566db5a014] user: jan.nijtmans branch: deprecate-channel-type-1-4, size: 54479
2019-09-05
15:14
Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and Windows) without -Wunused-parameters warnings file: [f8c79e01a1] check-in: [48b1783ecd] user: jan.nijtmans branch: cplusplus, size: 54454
2019-08-29
13:28
Merge tip-548 file: [68455e72a9] check-in: [c933888049] user: jan.nijtmans branch: cplusplus, size: 54426
2019-08-23
09:07
Merge 8.7 file: [411e7377ad] check-in: [0a4ebc2d56] user: jan.nijtmans branch: trunk, size: 54477
09:03
Merge 8.6 Update effective_tld_names.txt.gz to the latest version. Adapt .gitattributes and .fossil-settings/binary-glob to handle *.gz file transparently in fossil/git file: [3907d9228a] check-in: [0714da3ed9] user: jan.nijtmans branch: core-8-branch, size: 54368
2019-08-22
12:20
Fix [8566dc22f9]: various spelling fixes in comments file: [7f19af9258] check-in: [319c60966d] user: jan.nijtmans branch: core-8-6-branch, size: 50350
12:19
Fix [8566dc22f9]: various spelling fixes in comments file: [63b5214fd8] check-in: [978c80ef75] user: jan.nijtmans branch: core-8-5-branch, size: 88148
2019-07-05
13:21
Merge trunk file: [05281b1c76] check-in: [8b4e89b6a1] user: jan.nijtmans branch: bug-3598300, size: 54229
2019-07-04
06:54
Experiment: compile Tcl with C++ compiler. WIP file: [d4b57b66c2] check-in: [99d5f9c948] user: jan.nijtmans branch: cplusplus, size: 54426
2019-04-19
00:38
merge 8.7 file: [e56d63b8d7] check-in: [ddaa30125b] user: dkf branch: trunk, size: 54477
2019-04-07
14:39
Merge 8.7, and fix build problem on Windows file: [fa815bf6e5] check-in: [5b54e4c576] user: jan.nijtmans branch: tip-160, size: 54368
2019-03-29
14:22
Support -winsize read-only option file: [6a2a835991] check-in: [fb891d7729] user: dkf branch: tip-160, size: 54131
2019-03-27
13:54
Partial implementation on Windows. UNTESTED file: [b7c7757c70] check-in: [71442c5eb7] user: dkf branch: tip-160, size: 53412
2019-03-24
22:08
Better handling, reset capabilty, and ensure that inherited channels are correct file: [2dbd61ef74] check-in: [2265475e82] user: dkf branch: tip-160, size: 53240
18:44
Start of implementation of TIP 160: better terminal control file: [8a381a9cc9] check-in: [f58c31e497] user: dkf branch: tip-160, size: 51005
2019-03-11
20:56
Merge 8.7 file: [ae370b2894] check-in: [13fd8a4647] user: jan.nijtmans branch: trunk, size: 46625
20:30
Improve parsing of -xchar option for serial channels: Allow full 8-bit range (correct UTF-8 handling), and let UNIX/win32 produce the same error-message in case of char > 0xFF file: [7f08e70c96] check-in: [e63e8b0acb] user: jan.nijtmans branch: core-8-branch, size: 46561
2019-02-05
21:35
More size_t-related consolidations. Now regexp can handle strings >2GB and more. Remove many type-casts which are not necessary any more. file: [57b23b79aa] check-in: [4b4fe25e7d] user: jan.nijtmans branch: trunk, size: 46385
2019-02-01
20:36
Another (big) round of int -> size_t enhancements. So Tcl can handle string >2GiB in more places. file: [b9c22760e5] check-in: [8534448b44] user: jan.nijtmans branch: trunk, size: 46403
2018-09-13
20:52
merge trunk file: [f09146822b] check-in: [8e81b9d9b8] user: jan.nijtmans branch: memory-API, size: 46415
20:52
merge 8.7 file: [ae991d5f9c] check-in: [0caf13a0cf] user: jan.nijtmans branch: trunk, size: 46395
20:33
Eliminate the use of macro's like LLONG_MAX|MIN, since they assume that Tcl_WideInt equals "long long". Also eliminate uses of Tcl_WideAsLong() and friends, as - often - simple type cases make things more clear. file: [c189b2f97a] check-in: [f89b8af179] user: jan.nijtmans branch: core-8-branch, size: 46321
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: [99808cf9ec] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 46479
2018-06-13
16:15
Don't call getsockname(2) in Tcl_MakeFileChannel(3) unless absolutely necessary. Closes RFE [0ac9d06895]. Permits better constraining of Tcl/tclsh via OpenBSD's pledge(2) or similar mechanisms. file: [0086a61d13] check-in: [a23a536a48] user: stu branch: trunk, size: 46459
2018-05-15
19:47
Re-base novem-bug-3598300 branch to trunk, going further as bug-3598300. "configure" not re-generated yet. Needs additional configuration, not done yet file: [d424f5a334] check-in: [65118675f3] user: jan.nijtmans branch: bug-3598300, size: 46137
2017-05-04
08:55
merge trunk file: [d27f32f5f6] check-in: [9a065b2341] user: jan.nijtmans branch: tip-458, size: 46385
2017-04-27
10:51
[50750c735a] Fix broken test and stop reading uninit-but-allocated memory in zlib channel transform. file: [0d9923b175] check-in: [d9638d1cad] user: dkf branch: trunk, size: 50325
2017-03-08
13:56
Fix compile error on Cygwin, and double definition of TclUnixWaitForFile() file: [e55a5a974e] check-in: [c12456b387] user: jan.nijtmans branch: tip-458, size: 46391
2016-09-26
15:38
Merge core-8-6-branch. upstream androwish modifications. file: [d88cf3f920] check-in: [88fd04e92c] user: jan.nijtmans branch: androwish, size: 50368
09:35
[3328635] Latest patch from Christian Werner file: [987c22b86c] check-in: [965d56c3af] user: jan.nijtmans branch: tkt3328635-posix-monotonic-clock, size: 50349
2016-05-26
11:12
Experimental branch on whether to use poll() instead of select(). file: [ea10f7d163] check-in: [62fd069fa5] user: dkf branch: dkf-wait-with-poll, size: 52265
2016-03-30
20:03
The following patch against a stock tcl 8.6.5 source tree tries to implement most of TIP #302 for UN*X and WIN32/64: * use clock_gettime(CLOCK_MONOTONIC) for relative timing (UN*X) when available (tested at runtime) * use PTHREAD_CONDATTR_SETCLOCK et.al. for pthread_cond (UN*X) when available (tested at runtime) * use GetTickCount64() for relative timing (WIN64) * use GetTickCount() for relative timing (WIN32 for WINNT<6.0) * configure (UN*X) detects availabilty of clock_gettime() and pthread_condattr_setclock() plus adds optional -lrt to LIBS * configure (WIN32) adds command line option --with-tickcount to turn on GetTickCount*() usage Trade-off: implementation eliminates virtualized time, unfortunately. Best regards, Christian Werner --- missing merge --- diff -ur tcl8.6.5-orig/win/configure.in tcl8.6.5/win/configure.in --- tcl8.6.5-orig/win/configure.in 2016-02-29 20:13:09.000000000 +0100 +++ tcl8.6.5/win/configure.in 2016-03-25 06:47:47.712516747 +0100 @@ -142,6 +142,15 @@ ]) AC_DEFINE(HAVE_ZLIB, 1, [Is there an installed zlib?]) +AC_ARG_WITH(tickcount, + AC_HELP_STRING([--with-tickcount], + [use GetTickCount for timers, turns off interp time limits]), + [tcl_ok=$withval], [tcl_ok=no]) +AC_MSG_RESULT([$tcl_ok]) +if test $tcl_ok = yes; then + AC_DEFINE(WIN32_USE_TICKCOUNT, 1, [Use GetTickCount for timers?]) +fi + AC_CHECK_TYPE([intptr_t], [ AC_DEFINE([HAVE_INTPTR_T], 1, [Do we have the intptr_t type?])], [ AC_CACHE_CHECK([for pointer-size signed integer type], tcl_cv_intptr_t, [ file: [46d643f15d] check-in: [6fa1088680] user: oehhar branch: tip-302, size: 50806
2015-10-01
11:04
Eliminate a few gcc compiler warnings, when using -Wwrite-strings (tested with the brand-new gcc 5.2.0) file: [8170e066c9] check-in: [acd5ab176d] user: jan.nijtmans branch: core-8-5-branch, size: 88148
2015-06-18
19:35
merge trunk file: [5c911e06cf] check-in: [2e63aaca7e] user: jan.nijtmans branch: novem, size: 50331
2015-06-16
07:39
Fix [e770d92d76]: Add support for higher baud rates in Tcl file: [693686a7cf] check-in: [17df50552d] user: jan.nijtmans branch: core-8-5-branch, size: 88162
2015-06-10
21:53
Patch to add support for higher baud rates under Unix Ticket [e770d92d76]] file: [74827246df] check-in: [7c1aae5292] user: hypnotoad branch: ticket-e770d92d6, size: 50350
2014-11-26
18:17
Merge from trunk file: [1dc741e9ac] check-in: [b99509d26e] user: jcr branch: jcr-notifier-poll, size: 49298
2014-11-14
09:47
merge trunk file: [44d2bb700d] check-in: [b83be1ab3b] user: jan.nijtmans branch: novem, size: 49817
09:44
Remove a number of eol-spaces. No change in functionality. file: [bc76886944] check-in: [43b5a95f6d] user: jan.nijtmans branch: trunk, size: 49836
2014-11-06
16:56
merge trunk file: [aeb1b319bf] check-in: [d5dbec3ae3] user: dgp branch: novem, size: 49821
2014-11-03
12:54
Add test-case for previous commit, which shows that when trying to open a filename with invalid characters gives the right error-message. (same bug existed on UNIX too, which is now fixed) file: [830e6940b9] check-in: [9971779e88] user: jan.nijtmans branch: trunk, size: 49840
12:44
Add test-case for previous commit, which shows that when trying to open a filename with invalid characters gives the right error-message. (same bug existed on UNIX too, which is now fixed) file: [7eae150908] check-in: [e03818474b] user: jan.nijtmans branch: core-8-5-branch, size: 87648
2014-08-29
22:56
Initial attempt at converting select()-based notifier to poll() file: [720ca1f8b2] check-in: [77bea02457] user: jcr branch: jcr-notifier-poll, size: 49126
2014-07-12
16:13
whopper change; now passes test suite on OSX file: [6878623cb5] check-in: [0b38cdbc76] user: dkf branch: bug-d5ddbc7f49, size: 49670
2014-06-12
13:36
Additional check for an error condition on the socket. file: [defa741564] check-in: [a6d7d34318] user: dgp branch: bug-1758a0b603, size: 87473
2014-06-11
17:24
Workaround the broken select() in some Linux kernels that fails to report a writable state on a socket when an error condition (or remote close) is present. Would be good to add actual test suite tests for this, but until then see demo scripts in the ticket 1758a0b603. file: [1628d9ed3b] check-in: [1b53b3f232] user: dgp branch: bug-1758a0b603, size: 87250
2013-09-26
13:13
merge novem WARNING: No checks of build-ability done yet. file: [5398d7b12b] check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 49080
2013-03-06
13:16
merge trunk file: [9a9fa96074] check-in: [abcef2c4ac] user: jan.nijtmans branch: novem, size: 49646
2013-03-03
17:57
Unix terminal and serial port I/O: retire obsolete termio and sgtty code, general cleanup. See SF [Bug 3606258] for details. file: [1af8e55b70] check-in: [993c21721a] user: joe branch: trunk, size: 49665
2013-03-02
20:32
... which means struct TtyState can be replaced with struct FileState. file: [022547bb64] check-in: [a0a30dc1e2] user: joe branch: jenglish-termios-cleanup, size: 49760
20:06
Member TtyState.savedState set in TtyInit() but never subsequently used. This can go away... file: [fb8089daec] check-in: [add199644a] user: joe branch: jenglish-termios-cleanup, size: 50490
07:52
TtyParseMode signature simplification: take single pointer to struct TtyAttrs instead of separate pointers to each member. file: [9161f53d37] check-in: [ffc66250fc] user: jenglish branch: jenglish-termios-cleanup, size: 50770
07:30
More ifdef shuffling: GETREADQUEUE and GETWRITEQEUE always defined, dummy implementations return 0 if the requisite ioctls are not present. file: [d4e93ec335] check-in: [5db764042b] user: jenglish branch: jenglish-termios-cleanup, size: 51042
07:19
Do not use strncasecmp(). It is nonstandard and not portable. file: [021b3c0c72] check-in: [8b86a7d30f] user: jenglish branch: jenglish-termios-cleanup, size: 51059
2013-03-01
23:53
Replace broken SC_SERIAL_PORT macro with plain AC_CHECK_HEADERS tests. file: [32d5014803] check-in: [686239894b] user: jenglish branch: jenglish-termios-cleanup, size: 51031
21:13
ifdef shuffling: TIOCMC[GS]ET ioctls are not specified by POSIX, so we can't assume they are present just because we HAVE_TERMIOS_H. Conversely, if they are present then the subsidiary flags TIOCM_{DTR|RTS} are almost certainly there as well, so that ifdeffery can be removed. And lastly, ifdefs for TIOCSBRK/TIOCCBRK are still needed. (Those are logically separate functions even though TIP#35 lumped them together with DTR and RTS in -ttycontrol. POSIX provides tcsendbreak() for this purpose, but that interface doesn't fit with the TIP#35 API.) KNOWN DEFECT: if a hypothetical Unix system is missing TIOCMCGET but has TIOCSBRK/TIOCCBRK, the latter function will nevertheless be unavailable. Accounting for this possibility does not strike me as being worth the ifdefs. file: [2bac342089] check-in: [b62235d0e5] user: jenglish branch: jenglish-termios-cleanup, size: 50950
2013-02-28
21:52
TtyGetOptionProc: remove inoperative comment "The string returned by this function is in static storage [...]"; this is not the case (and apparently never has been) file: [56cc3ec58b] check-in: [e62e3d1877] user: jenglish branch: jenglish-termios-cleanup, size: 51391
2013-02-27
23:48
TtyGetBaud(), TtyGetSpeed(): use POSIX speed_t typedef instead of 'unsigned long'. file: [9d05d950c9] check-in: [332ffa37e6] user: jenglish branch: jenglish-termios-cleanup, size: 51527
22:30
Remove IOSTATE facade: it's always a struct termios. file: [2fcef057bd] check-in: [8ca75fe668] user: jenglish branch: jenglish-termios-cleanup, size: 51718
22:12
ifdef reduction - missed a couple spots (#if ... defined(USE_TERMIO)) file: [3fad5e3b37] check-in: [101dfc5395] user: jenglish branch: jenglish-termios-cleanup, size: 51813
21:09
ifdef reduction: SUPPORTS_TTY defined if and only if USE_TERMIOS defined. file: [760f09a914] check-in: [b63d89e585] user: jenglish branch: jenglish-termios-cleanup, size: 51966
20:33
For termios, we never want DIRECT_BAUD; always use the symbolic constants as prescribed by POSIX. file: [b4ea0d4d5f] check-in: [bab772b6a5] user: jenglish branch: jenglish-termios-cleanup, size: 52361
19:53
termios cleanup step 1: remove USE_TERMIO and USE_SGTTY conditional sections (mechanical change, done with `unifdef`). file: [62ebeb6d0e] check-in: [2b1e1359fe] user: jenglish branch: jenglish-termios-cleanup, size: 52696
2012-11-18
17:42
... and the unix-specific files converted file: [741c792d91] check-in: [7cc91279e2] user: dkf branch: novem-64bit-sizes, size: 54878
07:39
Better programming practice, no literal '-1' in source code. Might even be useful for 64bit-sizes branch <p>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: [2578809ad2] check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 55476
2012-08-20
06:49
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler. file: [5834a5d0e0] check-in: [db442914c7] user: jan.nijtmans branch: jn-no-struct-names, size: 55417
2012-08-05
12:09
Final part of result generation conversion (modulo any minor blunders) file: [f1372f3737] check-in: [1fb35ca910] user: dkf branch: trunk, size: 55436
2012-07-03
14:52
Factor out a number of common patterns of use of Tcl_DStringAppend. file: [4475b98337] check-in: [4dd736c95f] user: dkf branch: trunk, size: 55262
2012-04-26
19:59
get rid of _ANSI_ARGS_ and CONST file: [90e95891ed] check-in: [ce95e51ad2] user: jan.nijtmans branch: trunk, size: 55278
2012-04-23
13:49
make some more internal tables const file: [6f26faff5f] check-in: [8f88d10716] user: jan.nijtmans branch: trunk, size: 55278
13:17
make some more internal tables const file: [878de0068b] check-in: [7ac468debe] user: jan.nijtmans branch: core-8-5-branch, size: 85272
12:30
make some more internal tables const On cygwin, install dll's in /usr/bin, not in /usr/lib file: [80caf2f0d9] check-in: [6de689d796] user: jan.nijtmans branch: core-8-4-branch, size: 91623
2012-03-04
19:36
Backport to 8.4/unix the healthy FD_SET reform started by das. Allows Tcl8.4 to have sane fileevents on x86_64 unices at last. file: [8c09edc036] check-in: [7ed1f6f749] user: guest branch: core-8-4-branch, size: 91617
2011-04-06
13:05
More generation of error codes (most platform-specific parts not already using Tcl_PosixError). file: [011764956e] check-in: [1b095ad294] user: dkf branch: trunk, size: 55272
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: [312248aeb4] check-in: [5574bdd262] user: dkf branch: trunk, size: 54302
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: [cdb659130b] check-in: [c64f310d38] user: dgp branch: trunk, size: 54466
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: [1bd15fc6c9] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 85266
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: [cccc3bdd44] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 91796
2010-12-01
12:27
Forward jumps, mostly tests, some code. Plus 1428, 1118. file: [4cd057b6e3] check-in: [7c305a2ec0] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 54539
2010-11-30
14:58
@820 file: [c957bad951] check-in: [c7d2796ef4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 54641
14:22
@777 file: [d78ab6ff8f] check-in: [b82b3cdf0c] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 85523
2010-11-23
11:38
Next @500. file: [b623094892] check-in: [5365d7ae02] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 85788
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: [131be3f2cf] check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 84526
2010-11-18
17:15
Next, @134 file: [1ba8d3b682] check-in: [7fc03e57d1] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 84523
2010-09-28
17:30
merge file: [2c2cc5bca6] check-in: [3c5eb8f8e4] user: dgp branch: dgp-refactor, size: 54543
15:43
merge file: [eb8aeb4f29] check-in: [8b2c02cf9f] user: kennykb branch: dogeen-assembler-branch, size: 54547
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: [3e438cb042] check-in: [3f8b48b6b6] user: rmax branch: trunk, size: 54540
2010-09-17
12:55
Merge from HEAD to rmax-ipv6-branch file: [444022136d] check-in: [70c6ac9692] user: rmax branch: rmax-ipv6-branch, size: 54544
2010-06-21
20:23
merge file: [293a99b4a6] check-in: [6d709daeba] user: dgp branch: dgp-refactor, size: 54493
11:23
Eliminate various unnecessary type casts, use function typedefs whenever possible file: [1ad7c71371] check-in: [8086293cfc] user: nijtmans branch: trunk, size: 54494
2010-03-17
19:27
First attempt on IPv6 support with the goal of maximum transparency and backwards compatibility. file: [bfa176eded] check-in: [eee9f47c0a] user: rmax branch: rmax-ipv6-branch, size: 54610
2010-03-01
15:25
Prettify and fix filename in ChangeLog. file: [ad0f519d34] check-in: [14d110b342] user: ferrieux branch: core-8-5-branch, size: 85347
15:22
[backported] Refrain from a possibly lengthy reverse-DNS lookup on 0.0.0.0 when calling [fconfigure -sockname] on an universally-bound (default) server socket. file: [4f1a2f480e] check-in: [92d6c8235b] user: ferrieux branch: core-8-4-branch, size: 91878
15:14
[Backported] Refrain from a possibly lengthy reverse-DNS lookup on 0.0.0.0 when calling [fconfigure -sockname] on an universally-bound (default) server socket. file: [b98baa218c] check-in: [2cefbf28c6] user: ferrieux branch: core-8-5-branch, size: 85239
2010-01-13
18:47
merge updates from HEAD file: [0b9f50c894] check-in: [e6c6ee7ccf] user: dgp branch: dgp-refactor, size: 54559
06:46
Fix TCL_LL_MODIFIER for Cygwin and various other minor CYGWIN compilation problems file: [5abde46f16] check-in: [2be0f4173b] user: nijtmans branch: trunk, size: 54560
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: [010a9089c3] check-in: [ab99980096] user: nijtmans branch: trunk, size: 54548
2009-11-17
19:54
merge updates from HEAD file: [dd7382dba7] check-in: [cd902f5d3b] user: dgp branch: dgp-refactor, size: 54537
17:27
* unix/tclUnixChan.c (TtyParseMode): Partial undo of Donal's tidy- up from a few days ago (2009-11-9, not in ChangeLog). strchr is apparently a macro on AIX and reacts badly to pre-processor directives in its arguments. file: [000335d7fb] check-in: [027f112e04] user: andreas_kupries branch: trunk, size: 54545
2009-11-10
21:59
merge updates from HEAD file: [15cac3eac3] check-in: [833ca3a39c] user: dgp branch: dgp-refactor, size: 54270
2009-11-09
13:47
Some small bits of tidying up. file: [6f25418810] check-in: [35e9bea66e] user: dkf branch: trunk, size: 54266
2009-07-16
20:50
* generic/tclCmdIL.c: Removed unused variables. * generic/tclCompile.c: * generic/tclVar.c: * unix/tclUnixChan.c: * generic/tclScan.c: Typo in ACCEPT_NAN configuration. * generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200] file: [6d15bbd012] check-in: [936f6911bd] user: dgp branch: core-8-5-branch, size: 84928
2009-06-24
12:47
merge updates from HEAD file: [579d23c803] check-in: [818def88d3] user: dgp branch: dgp-refactor, size: 54645
2009-06-15
16:24
* unix/tclUnixPort.h: Move all socket-related code from tclUnixChan.c * unix/tclUnixChan.c: to tclUnixSock.c. * unix/tclUnixSock.c: file: [2fad84f986] check-in: [f5db47944a] user: rmax branch: trunk, size: 54642
2009-04-10
21:42
merge update from HEAD file: [fe5cab7e80] check-in: [fb37e460b0] user: dgp branch: dgp-refactor, size: 85527
21:40
Remove unused variable (compiler warning) file: [e3c5645ede] check-in: [199cda2257] user: dgp branch: trunk, size: 85523
21:15
merge updates from HEAD file: [6ee2e4262b] check-in: [fd08f75512] user: dgp branch: dgp-refactor, size: 85534
20:46
* unix/tclUnixChan.c: TclUnixWaitForFile(): use FD_* macros * macosx/tclMacOSXNotify.c: to manipulate select masks (Cassoff). [Bug 1960647] file: [50a490ef59] check-in: [e496f9ef50] user: das branch: core-8-5-branch, size: 84958
20:46
* unix/tclUnixChan.c: TclUnixWaitForFile(): use FD_* macros * macosx/tclMacOSXNotify.c: to manipulate select masks (Cassoff). [Bug 1960647] file: [b54d433793] check-in: [2001faff8c] user: das branch: trunk, size: 85529
18:09
merge updates from HEAD file: [5bfd3a007f] check-in: [faf6373107] user: dgp branch: dgp-refactor, size: 85930
18:02
* macosx/tclMacOSXNotify.c: revise CoreFoundation notifier to allow * unix/tclUnixChan.c: embedding into applications that * unix/tclUnixEvent.c: already have a CFRunLoop running and want to run the tcl event loop via Tcl_ServiceModeHook(TCL_SERVICE_ALL). * macosx/tclMacOSXNotify.c: add CFRunLoop based Tcl_Sleep() and * unix/tclUnixChan.c: TclUnixWaitForFile() implementations * unix/tclUnixEvent.c: and disable select() based ones in CoreFoundation builds. * unix/tclUnixNotify.c: simplify, sync with tclMacOSXNotify.c. * generic/tclInt.decls: add TclMacOSXNotifierAddRunLoopMode() * generic/tclIntPlatDecls.h: internal API, regen. * generic/tclStubInit.c: file: [ec816b813f] check-in: [7a6749806a] user: das branch: core-8-5-branch, size: 85361
18:02
* macosx/tclMacOSXNotify.c: revise CoreFoundation notifier to allow * unix/tclUnixChan.c: embedding into applications that * unix/tclUnixEvent.c: already have a CFRunLoop running and want to run the tcl event loop via Tcl_ServiceModeHook(TCL_SERVICE_ALL). * macosx/tclMacOSXNotify.c: add CFRunLoop based Tcl_Sleep() and * unix/tclUnixChan.c: TclUnixWaitForFile() implementations * unix/tclUnixEvent.c: and disable select() based ones in CoreFoundation builds. * unix/tclUnixNotify.c: simplify, sync with tclMacOSXNotify.c. * generic/tclInt.decls: add TclMacOSXNotifierAddRunLoopMode() * generic/tclIntPlatDecls.h: internal API, regen. * generic/tclStubInit.c: file: [91efc81ebe] check-in: [ec1a5f8686] user: das branch: trunk, size: 85925
2008-12-18
04:36
merge updates from HEAD file: [ff21e110bf] check-in: [75c2ca517b] user: dgp branch: dgp-refactor, size: 85792
01:14
TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channels file: [d124243f5b] check-in: [d4d9fb3168] user: ferrieux branch: trunk, size: 85792
2008-12-12
05:25
some edits on the unix socket stuff, still a mess (all mine) file: [5126b0d25f] check-in: [833f6b9947] user: davygrvy branch: tip-162-branch, size: 84965
2008-12-06
03:39
what a swamp file: [2b1205d255] check-in: [5d39943b4e] user: davygrvy branch: tip-162-branch, size: 84993
00:48
weekend work prepared.. back to donuts file: [2ec391b11e] check-in: [ff239a7752] user: davygrvy branch: tip-162-branch, size: 85006
2008-11-10
02:18
merge updates from HEAD file: [b8faa236b6] check-in: [4a9c1325dc] user: dgp branch: dgp-refactor, size: 84530
2008-10-26
12:45
Style improvements - invoking callbacks without visual junk. file: [f0975d0d99] check-in: [de3bfd137a] user: dkf branch: trunk, size: 84525
2008-10-11
03:37
merge updates from HEAD file: [8c3177b689] check-in: [707fc4e9cf] user: dgp branch: dgp-refactor, size: 84533
2008-10-08
21:35
* unix/tclUnixChan.c: fix minor compiler warning * unix/tcl.m4: fix for bug [2073255] * unix/configure: regenerated file: [617f00046d] check-in: [ac6cee85db] user: nijtmans branch: trunk, size: 84533
2008-08-06
16:26
merge updates from HEAD file: [20f13a49f3] check-in: [baec7c1c8c] user: dgp branch: dgp-refactor, size: 84527
2008-08-05
23:47
Streamline async connect logic [Patch 1994512]. Consolidate error reporting paths in CreateSocket(); Restore blocking mode immediately after connect() FD blocking mode is now consistent with [fconfigure ... -blocking] setting while async connect is in progress. file: [00efb90fd6] check-in: [27101ab8a1] user: jenglish branch: trunk, size: 84527
2008-03-07
22:05
merge updates from HEAD file: [8a678b2d4e] check-in: [3b6959be94] user: dgp branch: core-stabilizer-branch, size: 85223
2008-03-04
03:21
merge updates from HEAD file: [0fe7c4c778] check-in: [b8b0172cfd] user: dgp branch: dgp-refactor, size: 85224
2008-03-03
15:01
Fix mark and space parity on Linux file: [53904eb25d] check-in: [2f900087e1] user: rmax branch: core-8-4-branch, size: 91378
14:54
* unix/tclUnixChan.c: Fix mark and space parity on Linux, which uses CMSPAR instead of PAREXT. file: [d7cc598188] check-in: [701e7babf4] user: rmax branch: trunk, size: 85220
04:34
merge updates from HEAD file: [4546a97f47] check-in: [f211098809] user: dgp branch: dgp-refactor, size: 85126
2008-02-28
20:14
Reduce scope of <sys/filio.h> and <sys/ioctl.h> #includes. file: [afdf99b78c] check-in: [7eb313d9d8] user: jenglish branch: trunk, size: 85126
20:12
Consolidate all code conditionalized on -DUSE_FIONBIO into one place. New routine TclUnixSetBlockingMode(). file: [ebd2b0bc4a] check-in: [f166136c31] user: jenglish branch: trunk, size: 85581
2008-02-27
03:35
Remove dead/unused portability-related #defines and unused conditional code. See SF#1901828 for discussion and archaeological notes. file: [31047cb7b3] check-in: [b29cb95ed3] user: jenglish branch: trunk, size: 87216
2007-12-13
15:22
merge stable branch onto HEAD file: [aa02ec0f65] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 90780
2007-12-06
06:51
merge updates from HEAD file: [1f59e795a0] check-in: [6f3a8a0d9e] user: dgp branch: dgp-refactor, size: 90785
2007-12-04
16:55
merge updates from HEAD file: [f9b1ed1f4b] check-in: [bf07d188e5] user: dgp branch: core-stabilizer-branch, size: 90784
2007-12-03
21:39
Add extra #ifdef-fery to make code compile on BSD 5. [Bug 1618235, again] file: [7b6f1f38a7] check-in: [a497527c2c] user: dkf branch: trunk, size: 90780
2007-11-16
08:07
merge updates from HEAD file: [663943fa35] check-in: [4b5515a616] user: dgp branch: dgp-refactor, size: 90659
07:20
merge updates from HEAD file: [b91d577795] check-in: [be7502a53e] user: dgp branch: core-stabilizer-branch, size: 90658
2007-11-13
15:50
Oops! file: [b741a92c68] check-in: [30a24cfd2c] user: dkf branch: trunk, size: 90654
14:59
Forgot to transform to native encoding for getaddrinfo() file: [5a1d648b0b] check-in: [61f48194b3] user: dkf branch: trunk, size: 90651
14:52
fix Tcl_DStringFree buglet file: [98fb5356a3] check-in: [c796d774d3] user: das branch: trunk, size: 90528
14:06
Rewrote to use the thread-safe version of gethostbyname() by forward-porting the code used in 8.4, and added rudimentary support for getaddrinfo() (not enabled by default, as no autoconf-ery written). Part of fix for [Bug 1618235] file: [c10ded6199] check-in: [5c436e300a] user: dkf branch: trunk, size: 90551
2007-11-12
20:40
merge updates from HEAD file: [37b3b28ca3] check-in: [27f428842c] user: dgp branch: dgp-refactor, size: 88811
19:18
merge updates from HEAD file: [8f279a7844] check-in: [72c5ac9502] user: dgp branch: core-stabilizer-branch, size: 88810
2007-11-05
19:37
* unix/tclUnixChan.c (TtyGetOptionProc): Accepted [SF Tcl Patch 1823576] provided by Stuart Cassof <stwo@users.sourceforge.net>. The patch adds the necessary utf/external conversions to the handling of the arguments of option -xchar which will allow the use of \0 and similar characters. file: [f322ac4930] check-in: [f6fd27f2a5] user: andreas_kupries branch: trunk, size: 88818
2007-09-17
15:10
merge updates from HEAD file: [f5206b5c4b] check-in: [998f41c78b] user: dgp branch: dgp-refactor, size: 88300
15:03
merge updates from HEAD file: [dbff653a04] check-in: [f5355cd31e] user: dgp branch: core-stabilizer-branch, size: 88299
11:38
coverity id 102 file: [afd1c77db5] check-in: [1df1261457] user: das branch: trunk, size: 88295
2007-09-07
03:15
merge updates from HEAD file: [b53c8b81ce] check-in: [2c46d786c6] user: dgp branch: dgp-refactor, size: 88421
2007-09-04
17:43
merge updates from HEAD file: [e2e89ab140] check-in: [93ee5fafc4] user: dgp branch: core-stabilizer-branch, size: 88420
2007-07-31
08:23
One more bad change spotted by AKu file: [c961f85483] check-in: [0920c940d7] user: dkf branch: trunk, size: 88416
08:19
Fix test failures. file: [d8d2ec52c8] check-in: [04a60bc497] user: dkf branch: trunk, size: 88426
2007-07-30
13:42
Added macros to make bit chopping clearer file: [075497c61d] check-in: [7c9c662916] user: dkf branch: trunk, size: 88436
2007-07-03
02:54
merge updates from HEAD file: [b0d991c36d] check-in: [099b3f38d7] user: dgp branch: dgp-refactor, size: 87893
02:28
merge updates from HEAD file: [480cc83699] check-in: [ee65fc56de] user: dgp branch: core-stabilizer-branch, size: 87892
2007-07-02
19:18
* generic/tclIO.c: Removed dead code. * unix/tclUnixChan.c: file: [a12816be02] check-in: [f1679dd963] user: dgp branch: trunk, size: 87888
2007-04-20
17:13
merge updates from HEAD file: [488ff9c5fd] check-in: [92b90f2910] user: dgp branch: dgp-refactor, size: 89565
06:10
Replaced commas in varargs with string concatenation where possible [Patch 1515234] file: [2c0dcbff36] check-in: [d0d3c30f1a] user: kennykb branch: trunk, size: 89564
2007-04-08
14:58
Merge updates from HEAD; may not build file: [d844e1e2e6] check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 89568
2007-02-20
23:24
various "const" additions, in line with TIP #27 file: [ea835dd073] check-in: [81ea4e1335] user: nijtmans branch: trunk, size: 89568
2006-11-28
16:29
* unix/tclUnixChan.c (TclUnixWaitForFile): * tests/event.test (event-14.*): Corrected a bug where TclUnixWaitForFile would present select() with the wrong mask on an LP64 machine if a fd number exceeds 32. Thanks to Jean-Luc Fontaine for reporting and diagnosing [Bug 1602208]. file: [6fe45deae0] check-in: [8d6749159f] user: kennykb branch: core-8-4-branch, size: 91283
14:50
Add missing cast that makes the fix effective. file: [853bb6eae0] check-in: [7a043e7b4e] user: dgp branch: trunk, size: 89557
2006-11-27
20:16
* unix/tclUnixChan.c (TclUnixWaitForFile): * tests/event.test (event-14.*): Corrected a bug where TclUnixWaitForFile would present select() with the wrong mask on an LP64 machine if a fd number exceeds 32. Thanks to Jean-Luc Fontaine for reporting and diagnosing [Bug 1602208]. file: [6e7a593bc7] check-in: [d3c62c08bd] user: kennykb branch: trunk, size: 89550
2006-11-13
08:23
* generic/tclCompExpr.c: fix gcc warnings about 'cast to/from * generic/tclEncoding.c: pointer from/to integer of different * generic/tclEvent.c: size' on 64-bit platforms by casting to * generic/tclExecute.c: intermediate types intptr_t/uintptr_t * generic/tclHash.c: via new PTR2INT(), INT2PTR(), * generic/tclIO.c: PTR2UINT() and UINT2PTR() macros. * generic/tclInt.h: [Patch 1592791] * generic/tclProc.c: * generic/tclTest.c: * generic/tclThreadStorage.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/configure.in: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * unix/tclUnixPort.h: * unix/tclUnixTest.c: * unix/tclUnixThrd.c: * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 file: [eab8fa5d5d] check-in: [8562d10e43] user: das branch: trunk, size: 89534
2006-10-23
21:01
merge updates from HEAD file: [d505f4b66b] check-in: [1f911d4cbb] user: dgp branch: dgp-refactor, size: 89493
2006-09-07
09:17
Rewritten MT-safe wrappers to return ptrs to TSD storage. file: [7bdb8a4bb2] check-in: [660533ed64] user: vasiljevic branch: trunk, size: 89495
08:50
Rewritten MT-safe wrappers to return ptrs to TSD storage file: [921c084b44] check-in: [7f765b1a0f] user: vasiljevic branch: core-8-4-branch, size: 91261
2006-09-06
13:23
Added fixes for Tcl Bug 999544 (ported from core-8-4-branch). file: [96970a7de6] check-in: [cb01fe41cb] user: vasiljevic branch: trunk, size: 90095
13:08
Added MT-safe implementation of some library calls. See Tcl Bug 999544 for more information. file: [7acd17e80e] check-in: [fa1da032d7] user: vasiljevic branch: core-8-4-branch, size: 92035
2006-08-29
16:19
merge updates from HEAD file: [4efec8f39c] check-in: [e1feeec3e7] user: dgp branch: dgp-refactor, size: 89485
2006-08-18
11:23
* unix/tclUnixChan.c (TclUnixWaitForFile): with timeout < 0, if select() returns early (e.g. due to a signal), call it again instead of returning a timeout result. Fixes intermittent event-13.8 failures. file: [9bf001d12d] check-in: [625eafea5d] user: das branch: core-8-4-branch, size: 91204
11:23
* unix/tclUnixChan.c (TclUnixWaitForFile): with timeout < 0, if select() returns early (e.g. due to a signal), call it again instead of returning a timeout result. Fixes intermittent event-13.8 failures. file: [f9095be2c8] check-in: [a837931e2d] user: das branch: trunk, size: 89480
2006-04-28
16:09
Merge updates from HEAD file: [a0aae4661a] check-in: [afab2ad07a] user: dgp branch: dgp-refactor, size: 89447
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: [b94db8cd29] check-in: [5fab17f21d] user: andreas_kupries branch: trunk, size: 89454
2006-03-25
03:18
backing out last change, Tcl_Panic will be declared to never return file: [b1c84e46e0] check-in: [805ff30eeb] user: das branch: trunk, size: 89442
01:58
handle Tcl_Panic potentially returning. coverity bug 46 file: [79dbffe296] check-in: [defbd05914] user: das branch: trunk, size: 89386
2006-02-09
22:41
Merge udpates from HEAD file: [c0ee414bea] check-in: [45fd466049] user: dgp branch: dgp-refactor, size: 89380
2006-02-02
10:58
Minor simplification of forward declarations file: [f3f660a2b4] check-in: [4775905fd4] user: dkf branch: trunk, size: 89375
2006-01-26
09:30
Improved commenting of a tricky bit of TclpOpenFileChannel file: [2a3140e19c] check-in: [d415f266cd] user: dkf branch: trunk, size: 89384
2005-12-02
18:42
merge updates from HEAD file: [1a5d036aef] check-in: [1059d34b2b] user: dgp branch: dgp-refactor, size: 89187
2005-11-27
02:34
* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(), add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixPort.h: * unix/tclUnixFCmd.c: add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: sync with HEAD. * macosx/README: clarification/cleanup, sync with HEAD, document universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * macosx/Makefile: add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tclIOUtil.c: * generic/tclRegexp.c: * generic/tclVar.c: declare globals used only in own file as static (sync with HEAD). * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/regguts.h: only #define NDEBUG if not already #defined. * macosx/tclMacOSXNotify.c: sync whitespace & comments with HEAD * unix/configure: regen. file: [95dc62797d] check-in: [c6e668d19d] user: das branch: core-8-4-branch, size: 91166
02:33
* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(), add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes (dist): add new macosx files. * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixFCmd.c: * macosx/tclMacOSXFCmd.c: ppc64 and endian (i386) fixes. (TclMacOSXCopyFileAttributes): add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser (new file): * macosx/Tcl.xcode/project.pbxproj (new file): * macosx/Tcl.xcodeproj/default.pbxuser (new file): * macosx/Tcl.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tcltest targets and support for universal (fat) compiles. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * unix/dltest/Makefile.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tcl/macosx, add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tcl.decls: add Tcl_Main declaration as comment to avoid 'checkstubs' target complaining about it missing from stubs. * generic/regex.h: * generic/tclDate.c: * generic/tclEnv.c: * generic/tclGetDate.y: * generic/tclIOUtil.c: * generic/tclObj.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclPathObj.c: * generic/tclThreadAlloc.c: * generic/tclThreadStorage.c: * generic/tclTrace.c: * generic/tclVar.c: * generic/tommath.h: * tools/fix_tommath_h.tcl: * unix/tclUnixFCmd.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file). These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclNamesp.c (NamespaceEnsembleCmd): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/tclExecute.c (TclExecuteByteCode): fix unused variable warning when NO_WIDE_TYPE is defined. * generic/regguts.h: only #define NDEBUG if not already #defined. * unix/tclUnixNotfy.c: * macosx/tclMacOSXNotify.c: sync whitespace & comments. * unix/tclUnixPort.h: * win/tclWinPort.h: remove declaration of obsolete&unused TclpMutex API. * unix/configure: * unix/tclConfig.h.in: regen. file: [3349b74d54] check-in: [eac3630f72] user: das branch: trunk, size: 89182
2005-11-11
23:46
More bits of ANSIfying file: [09a41a1043] check-in: [884b0bcef2] user: dkf branch: trunk, size: 89145
2005-11-03
17:52
merge updates from HEAD file: [ab81eb5d45] check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 89166
2005-10-21
17:05
Revised code to build in situations where strchr(.,.) is a macro. file: [e8ce019ca6] check-in: [49783144b5] user: dgp branch: trunk, size: 89161
15:25
ANSI-fy declarations and NULL handling file: [8a747f590a] check-in: [3b7dc19d2a] user: dkf branch: trunk, size: 89143
2005-09-12
15:40
merge updates from HEAD file: [a6d3b35d37] check-in: [156f19bcaf] user: dgp branch: dgp-refactor, size: 91154
2005-09-09
18:48
[kennykb-numerics-branch] Merge updates from HEAD. file: [bf266305fb] check-in: [343239eeff] user: dgp branch: kennykb-numerics-branch, size: 91153
2005-09-02
19:23
* unix/tclUnixSock.c (InitializeHostName): Synchronized use of static modifier in declaration and definition of function. * unix/tclUnixChan.c (FileTruncateProc): Synchronized use of static modifier in declaration and definition of function. * generic/tclResult.c (ReleaseKeys): Synchronized use of static modifier in declaration and definition of function. * generic/tclListObj.c (NewListIntRep): Synchronized use of static modifier in declaration and definition of function. * generic/tclEncoding.c (InitializeEncodingSearchPath): Synchronized use of static modifier in declaration and definition of function. * generic/tclEncoding.c (FillEncodingFileMap): Synchronized use of static modifier in declaration and definition of function. * generic/tclIORChan.c (RcNewHandle): Synchronized use of static modifier in declaration and definition of function. file: [0e59a6c080] check-in: [5b652caf77] user: andreas_kupries branch: trunk, size: 91161
2005-08-02
18:14
merge updates from HEAD file: [4554d1aea7] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 91146
2005-07-26
04:11
Merge updates from HEAD file: [03c8c57a2a] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 91147
2005-07-20
23:16
Getting more systematic about style file: [6a29bf1631] check-in: [0c5cea4d81] user: dkf branch: trunk, size: 91142
2005-07-12
20:35
merged changes from HEAD file: [6b26ed119a] check-in: [5316ea45e0] user: kennykb branch: kennykb-numerics-branch, size: 91338
2005-06-22
21:12
merge updates from HEAD file: [3c8d6b459c] check-in: [2c0cc8807c] user: dgp branch: dgp-refactor, size: 91335
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611) file: [2fbff4b5d5] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 91337
2005-06-06
23:45
TIP#208 implementation It's crude (especially in the tests and docs department) and incomplete (no truncation on non-POSIX platforms). file: [abe1e52e11] check-in: [3280056391] user: dkf branch: trunk, size: 91330
2005-05-21
15:10
Resynchronized with HEAD file: [e37a65fee0] check-in: [96be07d7c8] user: kennykb branch: kennykb-numerics-branch, size: 90129
2005-05-16
19:23
merge updates from HEAD file: [59a1917ca7] check-in: [03a5891876] user: dgp branch: dgp-refactor, size: 90126
2005-05-14
20:46
* generic/tclInt.decls: * generic/tclTest.c: * generic/tclUtil.c: * win/tclWin32Dll.c: fixed link error due to direct access by tclTest.c to the MODULE_SCOPE tclPlatform global: renamed existing TclWinGetPlatform() accessor to TclGetPlatform() and moved it to generic code so that it can be used by on all platforms where MODULE_SCOPE is enforced. * macosx/tclMacOSXBundle.c: * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API. * unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core. * unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe. * macosx/Makefile: enable configure caching. * unix/configure.in: wrap tclConfig.h header in #ifndef _TCLCONFIG so that it can be included more than once without warnings from gcc4.0 (as happens e.g. when including both tclInt.h and tclPort.h) * macosx/tclMacOSXBundle.c: * unix/tclUnixChan.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs file: [d580be3775] check-in: [7ff2693241] user: das branch: trunk, size: 90121
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [a27d92c501] check-in: [1cc2336920] user: kennykb branch: trunk, size: 90071
2005-05-05
17:55
Merged with HEAD file: [ef2ca461e3] check-in: [b77c9a87c6] user: kennykb branch: kennykb-numerics-branch, size: 90075
2005-05-04
17:34
merge updates from HEAD file: [2e0e4a08f0] check-in: [edf99c3880] user: dgp branch: dgp-refactor, size: 90072
2005-05-03
18:07
* doc/DString.3: Eliminated use of identifier "string" in Tcl's * doc/Environment.3: public C API to avoid conflict/confusion with * doc/Eval.3: the std::string of C++. * doc/ExprLong.3, doc/ExprLongObj.3, doc/GetInt.3, doc/GetOpnFl.3: * doc/ParseCmd.3, doc/RegExp.3, doc/SetResult.3, doc/StrMatch.3: * doc/Utf.3, generic/tcl.decls, generic/tclBasic.c, generic/tclEnv.c: * generic/tclGet.c, generic/tclParse.c, generic/tclParseExpr.c: * generic/tclRegexp.c, generic/tclResult.c, generic/tclUtf.c: * generic/tclUtil.c, unix/tclUnixChan.c: * generic/tclDecls.h: `make genstubs` file: [af0eb27f51] check-in: [83aa957ebe] user: dgp branch: trunk, size: 90067
2005-02-24
19:53
Merge updates from HEAD file: [4751efa91c] check-in: [185beecc8a] user: dgp branch: dgp-refactor, size: 90072
2005-02-02
15:53
sync with head, add TclStrToD (TIP #132) file: [e2ba558dd1] check-in: [82ce6a0c40] user: kennykb branch: kennykb-numerics-branch, size: 90075
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: [b3d333e69f] check-in: [1621430b8b] user: andreas_kupries branch: core-8-4-branch, size: 91141
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: [6e78e93249] check-in: [0162fae7ad] user: andreas_kupries branch: trunk, size: 90079
2004-12-09
23:00
Merge updates from HEAD file: [4adb3ee25b] check-in: [24873008cc] user: dgp branch: dgp-refactor, size: 89322
2004-11-17
02:52
* unix/tclUnixChan.c (TtySetOptionProc): fixed crash configuring -ttycontrol on a channel. [Bug 1067708] file: [8a14c91ad7] check-in: [9a8dc0f581] user: hobbs branch: core-8-4-branch, size: 91715
02:51
* unix/tclUnixChan.c (TtySetOptionProc): fixed crash configuring -ttycontrol on a channel. [Bug 1067708] file: [ecfa69a1af] check-in: [3026fd5b76] user: hobbs branch: trunk, size: 89320
2004-11-10
19:33
* unix/tclUnixChan.c: [Bug 727786]. Exterminated the code marked DEPRECATED. This code has not been used in over a year now, and we have no complaints. file: [273b948f8f] check-in: [885b9e49d8] user: andreas_kupries branch: trunk, size: 89306
2004-10-28
18:45
merge updates from HEAD file: [b31deb5109] check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 92050
2004-10-06
13:55
Put braces round if bodies... file: [5d0f623729] check-in: [5baf20fb87] user: dkf branch: trunk, size: 92046
2004-05-27
15:02
Merge updates from HEAD file: [ec593c9325] check-in: [c9ab42babb] user: dgp branch: dgp-refactor, size: 92031
14:29
Merge updates from HEAD. Also implemented flags argument to TclCompEvalObj(). file: [18d24cf717] check-in: [8f7452ee0c] user: dgp branch: dgp-refactor, size: 92031
13:18
Made compiling with -Wstrict-prototypes -Wmissing-prototypes much cleaner. Also added support for [FRQ 951168] but left that switched off by default. file: [07c8aa52d6] check-in: [3c862df4ab] user: dkf branch: trunk, size: 92027
2004-05-04
17:44
Merge updates from HEAD. file: [f08f7bc2d3] check-in: [de9c64200c] user: dgp branch: dgp-refactor, size: 91829
03:52
* Applied [SF Tcl Patch 868853], fixing a mem leak in TtySetOptionProc. Report and Patch provided by Stuart Cassoff <stwo@users.sf.net>. file: [1ed20748b0] check-in: [c3c471c6f5] user: andreas_kupries branch: trunk, size: 91837
03:50
* Applied [SF Tcl Patch 868853], fixing a mem leak in TtySetOptionProc. Report and Patch provided by Stuart Cassoff <stwo@users.sf.net>. file: [3efb34b7ef] check-in: [3b81618f56] user: andreas_kupries branch: core-8-4-branch, size: 91701
2004-04-09
20:57
Merge updates from HEAD file: [294f6d84c0] check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 91600
2004-04-06
22:25
Patch 922727 committed. Implements three changes: * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed): file: [2fcc60862c] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 91596
2004-03-26
22:28
Merge updates from HEAD. file: [18a8e61574] check-in: [6e8d2d7ba1] user: dgp branch: dgp-refactor, size: 91657
2004-03-18
18:54
* generic/tclNamesp.c: Added temporary pointer variables to work * generic/tclStubLib.c: around warnings related to * unix/tclUnixChan.c: strict aliasing with GCC 3.3. file: [e8d4beca7e] check-in: [fd479acbdb] user: rmax branch: trunk, size: 91654
2004-03-04
17:26
merge updates from HEAD file: [45db9fcf56] check-in: [90bbbc469a] user: dgp branch: dgp-refactor, size: 91497
2004-02-25
14:54
Fix memleak with long hostnames. [Bug 888777] file: [bce54ee12a] check-in: [f64c6d79f4] user: dkf branch: core-8-4-branch, size: 91460
14:50
Fix memleak with long hostnames. [Bug 888777] file: [843bc56cb8] check-in: [0a8ace07ca] user: dkf branch: trunk, size: 91493
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: [239dd37511] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 91449
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: [9112b8eb9e] check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 91450
2003-11-18
23:13
Changes from Victor Wagner <vitus@45.free.net> for DJGPP support. file: [48471d4d3c] check-in: [c34a3f8b13] user: davygrvy branch: trunk, size: 91426
2003-10-23
18:00
* unix/tclUnixChan.c (Tcl_MakeFileChannel): Applied [Patch 813606] fixing [Bug 813087]. Detection of sockets was off for Mac OS X which implements pipes as local sockets. The new code ensures that only IP sockets are detected as such. file: [56e10e142f] check-in: [5b68e65f6c] user: andreas_kupries branch: trunk, size: 91392
17:49
* unix/tclUnixChan.c (Tcl_MakeFileChannel): Applied [Patch 813606] fixing [Bug 813087]. Detection of sockets was off for Mac OS X which implements pipes as local sockets. The new code ensures that only IP sockets are detected as such. file: [4b7d278829] check-in: [465e77a525] user: andreas_kupries branch: core-8-4-branch, size: 91424
2003-02-21
02:36
* unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): add MakeTcpClientChannelMode that takes actual mode flags to avoid hang on OS X (may be OS X bug, but patch works x-plat). [Bug #689835] (steffen) file: [b76567f883] check-in: [8353e05256] user: hobbs branch: trunk, size: 91301
2003-01-26
05:59
* generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel): Invoke TclpCutFileChannel and TclpSpliceFileChannel. * generic/tclInt.h: Declare TclpCutFileChannel and TclpSpliceFileChannel. * unix/tclUnixChan.c (FileCloseProc, TclpOpenFileChannel, Tcl_MakeFileChannel, TclpCutFileChannel, TclpSpliceFileChannel): Implement thread load data cut and splice for file channels. This avoids an invalid memory ref when compiled with -DDEPRECATED. * win/tclWinChan.c (FileCloseProc, TclpCutFileChannel, TclpSpliceFileChannel): Implement thread load data cut and splice for file channels. This avoids an invalid memory ref that was showing up in the thread extension. file: [7143659419] check-in: [40bc638062] user: mdejong branch: trunk, size: 90594
2002-11-07
02:13
* generic/tclEvent.c (TclInExit, TclInThreadExit): Split out functionality of TclInExit to make it clear which one should be called in each situation. * generic/tclInt.decls: Declare TclInThreadExit. * generic/tclIntDecls.h: Regen. * generic/tclStubInit.c: Regen. * mac/tclMacChan.c (StdIOClose): * unix/tclUnixChan.c (FileCloseProc): * win/tclWinChan.c (FileCloseProc): * win/tclWinConsole.c (ConsoleCloseProc): * win/tclWinPipe.c (TclpCloseFile): * win/tclWinSerial.c (SerialCloseProc): Invoke the new TclInThreadExit method instead of TclInExit. file: [9f5b08c7e9] check-in: [de2cfbf168] user: mdejong branch: trunk, size: 88329
2002-09-03
02:01
* unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): make sure to init flags field of TcpState ptr to 0. file: [fedccb6e01] check-in: [c92bd9a23d] user: hobbs branch: trunk, size: 88321
2002-08-20
20:25
merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk file: [a1939d9812] check-in: [354986d9c3] user: das branch: macosx-8-4-branch, size: 88298
2002-07-29
16:54
* unix/tcl.m4 (SC_SERIAL_PORT): Fixed detection for cases when configure's stdin is not a tty. * unix/tclUnixPort.h: * generic/tclIOSock.c: Changed size_t to socklen_t in socket-related function calls. * unix/configure.in: Added test and fallback definition for socklen_t. * unix/configure: generated. file: [78e401b194] check-in: [80c49e7297] user: rmax branch: trunk, size: 88295
2002-07-08
10:08
fs cleanup file: [c136d4d968] check-in: [45301e8feb] user: vincentdarley branch: trunk, size: 88292
2002-06-28
09:56
Changed all the Tcl_Platform* symbols to TclOS*; they weren't public so their names were really badly chosen. Also prevented a double-#def. file: [374f4eea0e] check-in: [049b4fa9e2] user: dkf branch: trunk, size: 88793
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: [f779dcc991] check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 88703
2002-05-24
21:19
TIP#91 implementation; makes old style channels binary compatible with new TIP#72-enabled Tcl. See http://purl.org/tcl/tip/91 for details. file: [c3db4f53b9] check-in: [b14125cf9e] user: dkf branch: trunk, size: 88694
2002-05-14
10:46
More tidying up; tclUnixChan.c now builds with GCC without warnings. file: [6914e1bbc6] check-in: [240fda6816] user: dkf branch: trunk, size: 86830
2002-05-13
14:06
Stop Solaris from generating a warning; the second argument to ioctl has been observed to be either signed (Solaris) or unsigned (Linux)... file: [e81c7829a1] check-in: [49996f43a2] user: dkf branch: trunk, size: 88890
2002-03-18
22:30
* generic/tclCompile.c (TclCompileTokens): Modified imported bugfix to use a heap variable for the message buffer instead of placing it on the stack. * Updated "mod-8-3-1-branch" to head of "core-8-3-1-branch" to get the newest fixes for tcl 8.3.4 into this branch. file: [84b4f92bd0] check-in: [d631cf3e55] user: andreas_kupries branch: mod-8-3-4-branch, size: 77662
2002-03-05
20:55
* unix/tclUnixChan.c: initial remedy for [Bug #525783] flush problem introduced by TIP #35. This may not satisfy true serial channels, but it restores the correct flushing of std* channels on exit. file: [f5c36d3579] check-in: [8713966f20] user: hobbs branch: trunk, size: 88844
2002-02-27
18:53
* unix/tclUnixChan.c (TclpOpenFileChannel): Added code to regonize "/dev/tty" (by name) and to not handle it as tty / serial line. This is the controlling terminal and is special. Setting it into raw mode as is done for other tty's is a bad idea. This is a hackish fix for expect SGF Bug #520624. The fix has limitation: Tcl_MakeFileChannel handles tty's specially too, but is unable to recognize /dev/tty as it only gets a file descriptor, and no name for it. file: [6509d9d8ec] check-in: [018e902b00] user: andreas_kupries branch: trunk, size: 88133
18:51
* unix/tclUnixChan.c (TclpOpenFileChannel): Added code to regonize "/dev/tty" (by name) and to not handle it as tty / serial line. This is the controlling terminal and is special. Setting it into raw mode as is done for other tty's is a bad idea. This is a hackish fix for expect SGF Bug #520624. file: [94883b179b] check-in: [f97b029d2c] user: andreas_kupries branch: core-8-3-1-branch, size: 76664
2002-02-26
20:03
* unix/tclUnixChan.c: added Unix implementation of TIP #35, serial port support. [Patch #438509] (schroedter) file: [6741baccb2] check-in: [1935c2998f] user: hobbs branch: trunk, size: 87990
2002-02-15
14:28
TIP#72 implementation. See ChangeLog for details. This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode. file: [c5975806f2] check-in: [8d82de1905] user: dkf branch: trunk, size: 78343
2002-02-05
17:57
* unix/tclUnixChan.c (FileOutputProc): Fixed [bug 465765] reported by Dale Talcott <daletalcott@users.sourceforge.net>. Avoid writing nothing into a file as STREAM based implementations will consider this a EOF (if the file is a pipe). Not done in the generic layer as this type of writing is actually useful to check the state of a socket. file: [551db6ff53] check-in: [47c61182f3] user: andreas_kupries branch: core-8-3-1-branch, size: 76531
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [f78a0948f2] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 77941
2002-02-04
23:51
* unix/tclUnixChan.c (FileOutputProc): Fixed [bug 465765] reported by Dale Talcott <daletalcott@users.sourceforge.net>. Avoid to write nothing into a file as STREAM based implementations will consider this a EOF (if the file is a pipe). Not done in the generic layer as this type of writing is actually useful to check the state of a socket. file: [089e761bab] check-in: [6e2600e273] user: andreas_kupries branch: trunk, size: 78192
2002-01-23
20:46
* Updated socket interfaces according to TIP 27. Updated callers. file: [b8d89dfb9b] check-in: [f28c83d817] user: dgp branch: trunk, size: 77932
2002-01-17
04:37
* More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that were overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines. file: [fb89d5b734] check-in: [28b6020550] user: dgp branch: trunk, size: 77875
2002-01-15
21:19
* Updated APIs in generic/tclIOUtil.c and generic/tclPosixStr.c according to the guidelines of TIP 27. Updated callers. [Patch 499196] file: [d03bf77f28] check-in: [c606fbd2da] user: dgp branch: trunk, size: 77869
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: [2aec553a16] check-in: [9c9edf24eb] user: dgp branch: trunk, size: 77864
2001-12-04
21:52
* NOTES: * tcl.h: * tclInt.h: Moved the macros to control feature exclusion and stack manipulation into the private area of the tcl headers. Renamed the macros for TCL_STRUCT_ON_HEAP to make their names more sensible. * tclCmdAH.c: * tclCompCmds.c: * tclCompExpr.c: * tclCompile.c: * tclExecute.c: * tclIO.c: * tclParse.c: * tclParseExpr.c: * tclScan.c: * tclUnixChan.c: Adapted to changed macro names, added some more places there structures go on the heap instead of the stack. Fixed a problem with TCL_FMT_STATIC_FLOATBUFFER_SZ which caused the interp to crash when actually used to reduce the usage of the stack. file: [2304bb6107] check-in: [fa28ece419] user: andreas_kupries branch: mod-8-3-4-branch, size: 77282
2001-11-28
17:58
* NOTES: New file. Read here about the new modularization macros, interdependencies, implications, etc. * static.sizes.html: New file. Report on the cuts achieved so far. Regarding the object files only the files which did change in size are reported. Usage of the MODULAR_TCL macro currently cuts about 17 % of the code (measured using strip'ped object files and libraries). * Changed files so far .. [cut, see changelog for full list] * Working on modularization of the tcl core. *************************** **** mod-8-3-4-branch **** *************************** file: [52ea6105c5] check-in: [052bbd8095] user: andreas_kupries branch: mod-8-3-4-branch, size: 77078
2001-11-21
02:36
added TIP#73 patch #483500 from Kevin Kenny. This deprecates TclpGetTime in favor of new Tcl_GetTime. file: [002e5b22ad] check-in: [ad0e26f63b] user: hobbs branch: trunk, size: 77827
2001-10-25
15:50
Fix for bug 471374; Tcl only resets serial ports on exit now if it has updated their settings first. file: [b159d6f597] check-in: [43b94debc0] user: dkf branch: trunk, size: 77825
2001-09-28
14:29
Factoring out some more 64/32-bit OS interfaces file: [0ca31710cc] check-in: [8f153d8b82] user: dkf branch: dkf-64bit-support-branch, size: 77468
2001-09-27
15:48
Pulled changes needed to go to using 64-bit file offsets into one place. OK, so it's tcl.h which isn't brilliant, but that better than nothing... file: [5c3ebbb04e] check-in: [6e988daa34] user: dkf branch: dkf-64bit-support-branch, size: 77456
15:11
Backed out unwise changes file: [de74054fe1] check-in: [419bd3b761] user: dkf branch: dkf-64bit-support-branch, size: 77413
2001-09-26
14:23
Now builds on Solaris8/SPARC with both SunPro CC *and* GCC. file: [185cc389f0] check-in: [4850711173] user: dkf branch: dkf-64bit-support-branch, size: 77468
2001-09-25
16:49
Woo hoo! Builds on one platform (Solaris8/SPARC with SunPro CC) file: [66314355b2] check-in: [dd2d80954c] user: dkf branch: dkf-64bit-support-branch, size: 77435
2001-08-30
08:53
filesystem file: [3f85c8bb33] check-in: [63ee4e7a09] user: vincentdarley branch: trunk, size: 77327
2001-06-18
13:13
Unix channels now have the right type associated with them [bug #219137] A couple of nasty faults/assumptions in unixInit.test are fixed too. file: [a04370ae26] check-in: [38f90883a6] user: dkf branch: trunk, size: 77496
2001-04-03
22:54
see backport log in ChangeLog for specific file backports from 8.4aCVS file: [25c0805c5f] check-in: [6defc375da] user: hobbs branch: core-8-3-1-branch, size: 76274
2000-10-28
00:29
* unix/tclUnixChan.c: updated channel types to strict TCL_CHANNEL_VERSION_2 style to avoid compiler warnings. They work either way, but this avoids compiler warnings (that worries people). file: [1ad667009d] check-in: [af55bc2b2d] user: hobbs branch: trunk, size: 76520
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-05-02
22:02
2000-05-02 Andreas Kupries <a.kupries@westend.com> * Overall changes: (1) Implementation of joinable threads for all platforms. (2) Additional API's for channels. Required to allow the thread extension to move channels between threads. * generic/tcl.decls (lines 1360f): Added Tcl_JoinThread, Tcl_IsChannelShared, Tcl_IsChannelRegistered, Tcl_CutChannel, Tcl_SpliceChannel, Tcl_IsChannelExisting and Tcl_ClearChannelHandlers (slots 394 to 400). * generic/tclIO.c: Implemented Tcl_IsChannelRegistered, Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel, Tcl_IsChannelExisting and Tcl_ClearChannelHandlers. Tcl_CutChannel uses code from CloseChannel. Replaced this code by a call to Tcl_CutChannel. Replaced several code fragments adding channels to the channel list with calls to Tcl_SpliceChannel. Removed now unused variables from CloseChannel and Tcl_UnstackChannel. Tcl_ClearChannelHandlers uses code from Tcl_Close. Replaced this code by a call to Tcl_ClearChannelHandlers. Removed now unused variables from Tcl_Close. Added the subcommands 'cut', 'forgetch', 'splice' and 'isshared' to the test code (TclTestChannelCmd). * unix/tclUnixThread.c: Implemented Tcl_JoinThread using the pthread-functionality. * win/tclWinThrd.c: Fixed several small typos in comments. Implemented Tcl_JoinThread using a platform independent emulation layer (see generic/tclThreadJoin.c below). Added 'joinLock' to serialize Tcl_CreateThread and TclpExitThread to prevent a race for joinable threads. * mac/tclMacThrd.c: Implemented Tcl_JoinThread using a platform independent emulation layer (see generic/tclThreadJoin.c below). Due to the cooperative nature of threading on this platform the race mentioned above is not present. * generic/tclThreadJoin.c: New file. Contains a platform independent emulation layer helping in the implementation of joinable threads for the win and mac platforms. * generic/tclInt.h: Added declarations for TclJoinThread, TclRememberJoinableThread and TclSignalExitThread. These procedures define the API of the emulation layer for joinable threads (see generic/tclThreadJoin.c above). * win/Makefile.in: * win/makefile.vc: Added generic/tclTheadJoin.o to the rules. * mac/: I don't know to which file generic/tclTheadJoin.o has to be added to so that it compiles. Sorry. * unix/tclUnixChan.c: #ifdef'd the thread-local list of file channels as it prevents us from transfering channels. To restore this we may need an extended interface to drivers in the future. Target: 9.0. Found while testing the new transfer of channels. The information in this list for a channel was left behind and then crashed the system during finalization. * generic/tclThreadTest.c: Added -joinable flag to 'testthread create'. Added subcommand 'testthread join'. * doc/CrtChannel.3: Added documentation for Tcl_IsChannelRegistered, Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel, Tcl_IsChannelExisting and Tcl_ClearChannelHandlers. * doc/Thread.3: Added documentation for Tcl_JoinThread. * tests/thread.test: Added tests for joining of threads. file: [357f0f0d70] check-in: [cdf262856d] user: kupries branch: trunk, size: 76132
2000-04-19
09:17
have to allow for strchr being a macro in TtyParseProc file: [eae66b10fb] check-in: [8e5dea5253] user: hobbs branch: trunk, size: 75884
08:32
* README: * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * win/README.binary: bumped version to 8.3.1 * win/tcl.hpj.in: updated copyright date * generic/tclEnv.c: environment support for Mac OS/X * unix/tclUnixPort.h: environment support for Mac OS/X * unix/tclLoadDyld.c: new file for Mac OS/X dl functions * unix/Makefile.in: added install-strip target; bindir, libdir, mandir, includedir vars; tclLoadDyld.c target [Bug: 2527] * unix/tclUnixChan.c (CreateSocket): force a socket back into blocking mode (default state) after a -async connect succeeds. [Bug: 4388] * generic/tclEvent.c (TclInitSubsystems): Moved tclLibraryPath to thread-local storage to prevent thread-related race condition. [Bug: 5033] * unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets the library path as it was unnecessary and conflicts with move of tclLibraryPath to thread-local storage. file: [89fe21d706] check-in: [2bb0593bdf] user: hobbs branch: trunk, size: 75796
2000-04-15
17:34
* unix/tclUnixChan.c (TtyParseMode): Only allow setting mark/space parity on platforms that support it [Bug: 5089] file: [f0b327eee6] check-in: [64dd87f4a7] user: hobbs branch: trunk, size: 75242
2000-03-27
18:34
* unix/tclUnixChan.c: Added (off_t) type casts in lseek() call [Bug: 4409]. * unix/tclLoadAout.c: * unix/tclUnixPipe.c: Added (off_t) type casts in lseek() calls [Bug: 4410]. file: [9cea97f81f] check-in: [30a242b059] user: ericm branch: trunk, size: 74967
2000-01-26
03:38
* unix/tcl.m4: modified EXTRA_CFLAGS to add -DHAVE_TZSET for OSF1-V* and ULTRIX-4.* when not using gcc. Also added higher min stack size for OSF1-V* when building with threads. [Bug: 4063] * unix/tclUnixChan.c (CreateSocketAddress): changed comparison with -1 to 0xFFFFFFFF, to ensure 32 bit comparison even on 64 bit systems. [Bug: 3878] file: [752b130652] check-in: [4eda7886fc] user: hobbs branch: trunk, size: 74959
2000-01-24
02:30
* unix/tclUnixPort.h: moved include of <utime.h> lower since some systems (UTS) require sys/types.h to be included first [Bug: 4031] * unix/tclUnixChan.c (CreateSocketAddress): changed comparison with -1 to 0xFFFFFFFFFFFFFFF, which is the pedantic way to say -1 for both 32 bit and 64 bit systems. [Bug: 3878] file: [e6b6e5e72c] check-in: [383590b98a] user: hobbs branch: trunk, size: 74955
1999-10-29
03:04
* unix/tclUnixPort.h: added utime.h to includes * unix/aclocal.m4: made it just include tcl.m4 file: [55b130b614] check-in: [dedc005e01] user: hobbs branch: trunk, size: 74841
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: [bcfca18f9a] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 74825
1999-04-14
00:33
Fixed comments in code that referred to APIs that no longer exist, were misspelled, or have been updated. file: [6e592a4ced] check-in: [2d7ffe4998] user: surles branch: core-8-1-branch-old, size: 74827
1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
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: [610cd574b8] check-in: [b403ad5f28] user: stanton branch: core-8-1-branch-old, size: 74824
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: [748ba5bbc8] check-in: [dd5a31ec23] user: stanton branch: trunk, size: 72079
1999-01-29
00:20
Merged changes from Tcl 8.0.5b1 file: [cb52515507] check-in: [8953e4aa5b] user: stanton branch: core-8-1-branch-old, size: 74398
1999-01-04
19:25
Updated the version to 8.0.5. file: [6ac7aa7c9c] check-in: [b3c705fae1] user: rjohnson branch: trunk, size: 71610
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [6ac757e156] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 74351
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [7564524ee1] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 74068
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [39c8d7d0cd] check-in: [196f92fd17] user: stanton branch: trunk, size: 71562
1998-08-04
23:22
*** empty log message *** file: [2589192332] check-in: [a97b9f6ca0] user: welch branch: trunk, size: 73652
1998-08-03
18:25
Fixed EINTR bug file: [496e941752] check-in: [78adaaa9a3] user: surles branch: trunk, size: 73644
1998-06-09
13:09
changed so server sockets can't be trashed by fileevent file: [d857309176] check-in: [1313bb5e38] user: stanton branch: trunk, size: 71542
1998-06-03
09:14
Renamed function 'Tcl_OpenFileChannel' to 'TclpOpenFileChannel'. file: [8801f58e50] check-in: [332c13ef17] user: suresh branch: trunk, size: 71283
1998-03-26
14:56
Added: Initial revision file: [5336a4c2b6] check-in: [f86c34e38d] user: rjohnson branch: trunk, size: 71283