Tcl Source Code

All files named ”generic/tclIndexObj.c”
Login

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

History for generic/tclIndexObj.c

2026-10-24
15:07
More marking of default switch branches as unreachable file: 86732f08d4 check-in: [d6dd6d0f71] user: dkf branch: main, size: 39211
2026-09-07
14:11
Use TclStackAlloc for more places. Requires interp and right lifetime to be worthwhile... file: 9d3de2124b check-in: [5aaa7cb9e1] user: dkf branch: use-stackalloc-more, size: 39219
2026-08-23
11:04
Error string compaction file: 4c5809afd7 check-in: [88c80c8187] user: dkf branch: tip-757, size: 38340
2026-08-09
11:38
Error messages almost all generated via Tcl_PrintfResult family file: c46ee183af check-in: [4b4b6ea188] user: dkf branch: tip-757, size: 38549
2026-07-17
06:50
Use of TIP 757 in many places file: 183f3c6a82 check-in: [2237c55faf] user: dkf branch: tip-757-use, size: 38076
2026-05-28
12:13
Merge 9.0. Formatting file: 3caa990165 check-in: [8e78be4610] user: jan.nijtmans branch: main, size: 39177
2026-05-15
11:10
Fix some indents file: ed2e2eaaaf check-in: [9e2610e8ef] user: dkf branch: main, size: 39181
2026-02-05
15:17
More clearly mark file-internal functions as static. file: af8890085e check-in: [0f4b67d30f] user: dkf branch: main, size: 39182
2026-01-12
07:47
Merge trunk file: 176cef5383 check-in: [324255f4a1] user: jan.nijtmans branch: attemptgetstring, size: 39160
2025-12-28
16:19
Fix some indentation of comments file: f62e56c49a check-in: [870237637e] user: dkf branch: main, size: 39175
2025-12-15
13:34
Rebase to trunk file: c6c4e43fc1 check-in: [f69efd5ab6] user: jan.nijtmans branch: attemptgetstring, size: 39163
2025-11-30
21:02
Rebase to trunk file: 4726c1f145 check-in: [60b44be862] user: jan.nijtmans branch: tip-626, size: 39178
12:57
Better comments on the Tcl_ObjType instances file: eff4e7c3e9 check-in: [44e8e5ff97] user: dkf branch: main, size: 39330
2025-11-28
08:46
Rebase to trunk file: 7cd914fd05 check-in: [821ab78290] user: jan.nijtmans branch: attemptgetstring, size: 39404
2025-11-18
17:15
Work in progress: adding restrict to OUT arguments file: 50d6041a43 check-in: [f9725400dd] user: dkf branch: c11-restrict, size: 39449
2025-11-17
09:18
merge trunk file: a809eb7490 check-in: [8d7f54a91b] user: dkf branch: c11-automarker, size: 39158
2025-11-15
21:56
merge trunk file: dd4657f23b check-in: [459669e809] user: dkf branch: c-std-update, size: 38966
2025-11-13
20:36
Rebase to trunk file: 93139f8830 check-in: [c9532e9436] user: jan.nijtmans branch: tip-626, size: 39267
2025-10-05
19:26
Tranche 3 of adoption of TclPrintfResult file: e2a6454d64 check-in: [3aa1ace500] user: dkf branch: c11-printf-result, size: 39229
2025-10-04
11:12
Tranche 1 of adoption of TclPrintfResult file: 6f6f9798b2 check-in: [4bd77df23d] user: dkf branch: c11-printf-result, size: 39334
2025-10-03
11:47
Use C11 macros to automatically add a NULL to the end of varargs sequences file: 9f0ac74ff8 check-in: [9c524e00d4] user: dkf branch: c11-automarker, size: 39229
2025-09-09
09:58
Eliminate TclOOM() file: 45a9238a89 check-in: [ec36f4bc87] user: jan.nijtmans branch: attemptgetstring, size: 39475
2025-09-01
13:53
(partial) merge trunk file: e6419e53cb check-in: [893e489e6e] user: jan.nijtmans branch: tip-626, size: 39338
2025-08-17
11:25
More bools and pieces file: 9014c723bc check-in: [28a7d957c7] user: dkf branch: c-std-update, size: 39054
2025-08-01
11:48
More moving of variable declarations file: d8b19145ac check-in: [1d20e4cf45] user: dkf branch: c-std-update, size: 39038
2025-07-19
12:31
More moving of variable declarations file: 7cad86195a check-in: [c149575323] user: dkf branch: c-std-update, size: 39042
2025-07-14
14:58
Use macros to reduce number of explicit marker NULLs file: e29707814f check-in: [2b21439624] user: dkf branch: c-std-update, size: 38975
14:26
TclSetErrorCode lets us avoid writing a lot of marker values file: 627857f283 check-in: [a29f1f8fab] user: dkf branch: c-std-update, size: 39146
08:11
A bunch of small changes building on previous commits file: df4376fd21 check-in: [1811f74742] user: dkf branch: c-std-update, size: 39235
2025-07-12
20:58
Define TclPrintfResult() for common pattern in error generation. file: ec57ba5844 check-in: [70b6205548] user: dkf branch: c-std-update, size: 39228
2025-06-28
08:34
More unification of the mess file: 06f0599ab2 check-in: [53bf881544] user: dkf branch: internal-ensemble-cleanup, size: 39419
2025-06-27
15:01
Cleaning up how we go about declaring some of our ensembles. Work in Progress. file: 03ca807bff check-in: [47b870434f] user: dkf branch: internal-ensemble-cleanup, size: 39416
2025-05-23
09:03
Clean up indentation and overlong lines file: e49a6f27ff check-in: [71f3f24f7b] user: dkf branch: main, size: 39490
2025-05-20
09:28
Rebase to attemptgetstring file: 0f25c3029c check-in: [70e5788e19] user: jan.nijtmans branch: tip-626, size: 39318
2025-05-05
09:53
Merge 9.0 file: b38c17cdcb check-in: [47b79725b5] user: jan.nijtmans branch: main, size: 39470
06:53
Missing TclOOM() calls, which produce a panic when Tcl_InitStringRep() fails file: ca485c78f4 check-in: [8d88d3e10e] user: jan.nijtmans branch: core-9-0-branch, size: 39422
2025-04-02
08:52
Another round of -Wconversion fixes file: 3837da053a check-in: [357b91880a] user: jan.nijtmans branch: main, size: 39433
2025-04-01
13:18
Another round of -Wconversion fixes file: e5f8ce24a8 check-in: [3b8dc10929] user: jan.nijtmans branch: tip-626, size: 39281
2025-03-24
10:51
Remove 2 "> INT_MAX" checks, which are no longer necessary file: af2ae849b3 check-in: [1df7224b09] user: jan.nijtmans branch: tip-626, size: 39236
2025-03-02
20:50
Merge 9.1 file: ce1a41bcb1 check-in: [6f0eac8f6d] user: jan.nijtmans branch: tip-626, size: 39406
15:48
Bunch of whitespace basic fixes. file: 458da26c24 check-in: [809d595b56] user: dkf branch: main, size: 39388
2025-02-11
17:10
More bits and pieces of functions file: 08ccfa4b4b check-in: [f94ca90326] user: dkf branch: inline-func, size: 39035
2025-01-13
09:59
More macros for measuring literals at compile time, and a shortcut for adding to error info file: f56551cf8d check-in: [43e1c33e9e] user: dkf branch: dkf-c11-features, size: 38825
2025-01-10
13:01
Add TclPrintfResult() for easy error message generation file: 901dbdcde5 check-in: [665eb99f69] user: dkf branch: dkf-c11-features, size: 38853
2025-01-09
09:56
Taming Tcl_AppendStringsToObj as well file: c1350003ae check-in: [f8612e12b2] user: dkf branch: dkf-c11-features, size: 39115
09:30
TclSetErrorCode is a macro to end-mark Tcl_SetErrorCode file: 47ec1fa567 check-in: [0e84f9c9df] user: dkf branch: dkf-c11-features, size: 39295
2024-12-10
09:38
(cherry-pick )Fix ungrammatical doubling of words in comments file: c7b397739d check-in: [49100cbdd2] user: jan.nijtmans branch: core-8-branch, size: 42555
2024-12-01
23:01
Experiment: simplify internal representation notation file: 22fef2a35a check-in: [bf30412994] user: jan.nijtmans branch: intrep-simpl, size: 39255
2024-10-25
09:56
Merge 9.0 (9.0.0 release) file: 707a0262f3 check-in: [8523e01f8f] user: jan.nijtmans branch: tip-626, size: 39403
2024-10-07
19:52
Merge [1f19a433ece17043]: Fix ungrammatical doubling of words in comments. file: 42a6d5b47b check-in: [9a9ba6ce11] user: pooryorick branch: unchained, size: 39744
2024-09-21
08:41
Fix ungrammatical doubling of words in comments file: de827e7741 check-in: [1f19a433ec] user: dkf branch: main, size: 39385
2024-08-30
17:36
Merge [4c75553894cfba65]: "Optimization: two more objTypes which always have length 1 when viewed as a list" and resolve conflicts, including adding TclLengthOne(), making levelReferenceType an ObjectType, and renaming indexType to tclIndexType. file: 51899a5b44 check-in: [7b2556cdbe] user: pooryorick branch: unchained, size: 39747
2024-08-28
16:33
Merge [3a60363aa10ef993]: Clean up a lot of whitespace issues. file: d98ff936e3 check-in: [627781a6db] user: pooryorick branch: unchained, size: 39721
2024-08-26
22:24
Merge [c28a4551394ad3671]: Fix [7cb7409e05]: Tcl_ParseArgsObjv bug with TCL_ARGV_GENFUNC. With testcase. file: 66811b0316 check-in: [5eba108180] user: pooryorick branch: unchained, size: 39723
09:45
Merge [1fbff64078d7fb02]: Fix indentation/brace usage style issues. file: 658dd96417 check-in: [bd3faf4a67] user: pooryorick branch: unchained, size: 39605
2024-08-25
20:44
Merge [63d442cdc0d0d498]: "Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too." Also remove TclListObjGetElements and TclListObjLength from the stubs table. file: 3aa318bf7d check-in: [891803cf8c] user: pooryorick branch: unchained, size: 39597
06:46
Merge [bff47024c3a697db]: Some int -> Tcl_Size. file: 2dac001f18 check-in: [3e48a5e14a] user: pooryorick branch: unchained, size: 39602
06:00
Merge [026e80c1c8bbcab4]: Silence compiler warning. file: d346523dc5 check-in: [b144348eac] user: pooryorick branch: unchained, size: 39521
05:58
Merge [ad02a288db44ad3f]: Resolve the INT_MAX limination in GetIndexFromObjList(). file: 6b4b59284e check-in: [e9630c46f5] user: pooryorick branch: unchained, size: 39521
2024-08-22
20:52
Merge [f67f60d202716adf]: Fix [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usage; Handle any C++-compiler as well. file: 7fee2f3ccf check-in: [e18c9ab9f6] user: pooryorick branch: unchained, size: 39630
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: d14b7b504d check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 39494
2024-05-27
20:19
Some more functions for lists, a bit like the ones for dicts file: aab48992a3 check-in: [80e4f71f99] user: dkf branch: dkf/experimental-more-list-c-funcs, size: 41064
2024-05-23
08:53
More trickery with macros file: f1ad6e22ad check-in: [a3f9c1bec2] user: dkf branch: more-macros, size: 39069
2024-05-20
16:38
merge trunk file: 7e997cc8e1 check-in: [3fd88cd4cd] user: dkf branch: result-helpers, size: 39118
2024-05-14
16:06
Add helper macros TclSetResult and TclPrintfResult file: ad7a4dce23 check-in: [0b65fb9e0c] user: dkf branch: result-helpers, size: 39123
2024-05-13
15:41
Clean up a lot of small whitespace issues This is the dullest commit ever. Sorry. file: f9f0e4316d check-in: [3a60363aa1] user: dkf branch: main, size: 39393
2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: 5a3e9c5dab check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 39384
2024-04-14
14:05
Merge 9.0 file: eda0353c4a check-in: [1861587f45] user: jan.nijtmans branch: tip-626, size: 39406
2024-04-11
12:35
Use Tcl_NewBooleanObj for booleans; we should say what we mean. Fix sentinels and type-casts. file: b80e1d3a99 check-in: [e75d7ff329] user: jan.nijtmans branch: core-8-6-branch, size: 41109
2024-04-04
21:07
Fix [7cb7409e05]: Tcl_ParseArgsObjv bug with TCL_ARGV_GENFUNC. With testcase file: 43a2f323f1 check-in: [c28a455139] user: jan.nijtmans branch: main, size: 39388
20:43
Fix [7cb7409e05] by backporting tclIndexObj.c from [c3b23bf0c7] file: dc19a30b2c check-in: [8cfa5d1ee9] user: jan.nijtmans branch: core-8-6-branch, size: 41055
2024-04-03
22:09
Proposed fix for [7cb7409e05]: Tcl_ParseArgsObjv bug with TCL_ARGV_GENFUNC file: 9d3b511a4e check-in: [a6a8bc6ffe] user: jan.nijtmans branch: bug-7cb7409e05, size: 42558
2024-03-21
13:55
Merge 8.7. Tcl_GetStringFromObj() -> TclGetStringFromObj() (optimization) file: 20faa229e5 check-in: [28e5e230b6] user: jan.nijtmans branch: main, size: 39270
2024-03-20
14:27
Merge 9.0 file: 6c45318a7a check-in: [4271f3b52a] user: jan.nijtmans branch: tip-626, size: 39288
2024-03-19
14:56
Fix indentation/brace usage style issues file: 5e46fdb801 check-in: [1fbff64078] user: dkf branch: main, size: 39277
2024-03-13
17:11
Merge 9.0 file: 14eecb3ed8 check-in: [a29cf046b8] user: jan.nijtmans branch: tip-626, size: 39287
09:45
Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6 file: 545b209dd9 check-in: [c575f9dc00] user: jan.nijtmans branch: core-8-branch, size: 42435
2024-03-12
21:24
Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too. file: ff72c778e7 check-in: [63d442cdc0] user: jan.nijtmans branch: main, size: 39269
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: ce173c2dcc check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 39277
2024-01-08
14:39
Merge 9.0 file: 8c9663a154 check-in: [74bd0d9d61] user: jan.nijtmans branch: tip-626, size: 39292
2024-01-06
18:48
Merge 8.7 file: a7e5de6b1c check-in: [bff47024c3] user: jan.nijtmans branch: main, size: 39274
18:08
Merge 8.6. Some int -> Tcl_Size file: 5b2b3036fd check-in: [d3eecc8415] user: jan.nijtmans branch: core-8-branch, size: 42440
2024-01-05
18:49
silence compiler warning file: ce6b58195a check-in: [026e80c1c8] user: dgp branch: main, size: 39193
17:22
Resolve the INT_MAX limination in GetIndexFromObjList() file: b40860f829 check-in: [ad02a288db] user: jan.nijtmans branch: main, size: 39193
2023-10-22
19:56
Merge 9.0 file: 0571140bf6 check-in: [f107021263] user: jan.nijtmans branch: tip-626, size: 39320
2023-10-19
18:48
Merge 8.7 file: 675f5fe34b check-in: [f67f60d202] user: jan.nijtmans branch: main, size: 39302
2023-10-17
06:02
Handle sentinels for any C++ compiler file: e337554946 check-in: [6876d1f99a] user: jan.nijtmans branch: bug-26870862f0, size: 42154
2023-10-13
13:27
Proposed fix for [abd489a1c]: TclStringCmp() calls functions through pointer to incorrect type. Modified, swapping the wrapping-order file: f2b677da9c check-in: [6d9d5ac6a7] user: jan.nijtmans branch: bug-abd489a1c, size: 40976
2023-09-27
15:38
Merge 9.0 file: ac128fbb14 check-in: [47d3d33480] user: jan.nijtmans branch: tip-626, size: 39184
2023-07-29
16:42
Rebase to 9.0 file: 7f1e77b096 check-in: [c9b9082483] user: jan.nijtmans branch: tip-626, size: 39193
2023-07-12
14:43
Merge 8.7 file: de7b3e993f check-in: [5fe8a20f26] user: jan.nijtmans branch: main, size: 39166
11:38
Consider 3 more types as special in TclDuplicatePureObj(). Updated comment for the reason why. file: 145e3cc460 check-in: [3f04a9222b] user: jan.nijtmans branch: core-8-branch, size: 42018
2023-04-21
13:32
Merge 9.0 file: f4859cb3a7 check-in: [b732c118b6] user: jan.nijtmans branch: tip-626, size: 39167
2023-04-20
16:53
Merge 9.0 file: 67d0935787 check-in: [aa3e7e529f] user: jan.nijtmans branch: tip-626, size: 39135
2023-04-14
15:01
Merge trunk file: 235b94d53d check-in: [e36ab1e9ba] user: apnadkarni branch: tip-660, size: 39140
09:12
Merge 9.0 file: efc54f0cf0 check-in: [f041e13465] user: jan.nijtmans branch: tip-626, size: 39129
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: d3ea35af98 check-in: [d65da06a77] user: pooryorick branch: main, size: 39117
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: 2ac00e800d check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 41989
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: e1f8673cb7 check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 40978
2023-04-08
08:22
Merge 9.0 file: 821ef01478 check-in: [33a8c620c8] user: apnadkarni branch: tip-660, size: 39141
2023-04-06
18:23
Merge 8.7 file: 0422abb9bd check-in: [859c251d2a] user: jan.nijtmans branch: mistake, size: 39424
17:25
Merge 8.6 file: bec5fff28c check-in: [d5666eee8a] user: jan.nijtmans branch: mistake, size: 42274
17:23
Make argument-checking for Tcl_WrongNumArgs() more robust (undocumented: we don't want extensions to depend on that) file: b1487ef0b8 check-in: [b299bb91f5] user: jan.nijtmans branch: mistake, size: 41263
16:10
Make Tcl_Size signed by default, but allow extension to make it unsigned (experimental) file: d372619335 check-in: [4f88786745] user: jan.nijtmans branch: optional-unsigned-size, size: 39432
09:52
Eliminate TCL_SIZE_CMP() for now, not a good idea for Tcl 9.0 file: c34ff58d38 check-in: [d00062f436] user: jan.nijtmans branch: optional-signed-size, size: 39122
2023-04-05
15:12
Merge 8.7 file: 21492d5aa2 check-in: [5f77dae089] user: jan.nijtmans branch: main, size: 39118
14:19
Use Tcl_GetIntForIndex() in testcases (tclTestObj.c) in stead of Tcl_GetWideIntFromObj(). Meant for Ashok, to show that we already have Tcl_GetSizeIntFromObj(). (I already planned this conversion for a long time, thanks, Ashok for reminding me) Also some other cleanups file: 1a7d635137 check-in: [c314274fb7] user: jan.nijtmans branch: core-8-branch, size: 41990
2023-04-04
20:50
more progress file: 28b1723409 check-in: [4e36871191] user: jan.nijtmans branch: optional-signed-size, size: 39103
2023-03-30
18:01
TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntu file: 216b4cb060 check-in: [eb81a25271] user: apnadkarni branch: tip-660, size: 39158
2023-03-05
20:46
Merge 9.0 file: 849479917c check-in: [fef53bf657] user: jan.nijtmans branch: tip-626, size: 39098
19:57
Another round of -1 -> TCL_INDEX_NONE file: bf2e06ed40 check-in: [1ad5d08ee8] user: jan.nijtmans branch: main, size: 39086
2022-11-24
21:48
TCL_OBJTYPE_V0_INIT -> TCL_OBJTYPE_V0 (See TIP #644). Remove Tcl_SavedResult (See TIP #640) file: 7e45304e69 check-in: [ca003bccb7] user: jan.nijtmans branch: tip-636-tcl9-644, size: 39018
2022-11-19
16:29
Merge 9.0 file: 168cd6154e check-in: [32aebe8054] user: jan.nijtmans branch: tip-626, size: 39026
2022-11-06
11:19
Rebase TIP #626 to latest 9.0. Change Tcl version number from 9.0 to 9.1a0 file: 0fd207074c check-in: [efcf7c37fe] user: jan.nijtmans branch: tip-626, size: 39006
2022-11-04
22:47
Implement abstractlist with tip-644 file: 86dbdb6aca check-in: [3aa22fe8ab] user: griffin branch: tip-636-tcl9-644, size: 39023
2022-11-01
08:26
Don't bother to provide a TCL_OBJTYPE_SIZE macro file: f17e1ce026 check-in: [04e8efd4ac] user: jan.nijtmans branch: tip-644-alt, size: 39001
2022-10-24
11:47
Another possible approach file: d9fe058060 check-in: [dc7f554cb0] user: jan.nijtmans branch: tip-644-alt, size: 39016
2022-10-11
15:07
TIP 644 - Make Tcl_ObjType extensible file: d023eabf8c check-in: [6d1d103cf6] user: apnadkarni branch: tip-644, size: 39014
2022-10-10
15:22
Merge 8.7 file: 0168b56baf check-in: [fc703a1d88] user: jan.nijtmans branch: main, size: 38994
15:19
Use Tcl_ObjCmdProc in stead of full signature file: 48044428d7 check-in: [96cfbbc708] user: jan.nijtmans branch: core-8-branch, size: 41800
2022-10-07
14:15
Merge 8.7 file: 976927368f check-in: [de6889c12f] user: jan.nijtmans branch: main, size: 39219
14:04
TIP #618: New Tcl_GetBool* functions with TCL_NULL_OK flag file: 4756e12e09 check-in: [bfc41f580a] user: jan.nijtmans branch: core-8-branch, size: 42025
2022-09-21
17:50
merge [trunk] file: 54bc1ce87b check-in: [ab16261020] user: bch branch: bch_sign_and_width, size: 39262
2022-09-07
12:46
Merge 8.7 file: 0093249b5e check-in: [8debe52157] user: jan.nijtmans branch: tip-618, size: 42025
2022-09-04
20:07
Merge 9.0 file: 5372c94070 check-in: [aeb9d22519] user: jan.nijtmans branch: tip-626, size: 39261
2022-09-02
10:17
Finish remaining part of TIP-627 for Tcl 9.0: Handle objProc2/objClientData2 fields correctly in Tcl_CmdInfo struct. file: cebccae816 check-in: [1d4041c69e] user: jan.nijtmans branch: tip-627, size: 39243
2022-06-09
16:31
Merge 9.0 file: 7702277fad check-in: [475b98506a] user: jan.nijtmans branch: tip-626, size: 39257
13:45
Internal bug in Tcl_GetIndexFromObjStruct re-definition (works, as long as sizeof(struct) == sizeof(int)) file: 5c2335074b check-in: [ccbe007452] user: jan.nijtmans branch: main, size: 39239
2022-05-25
22:20
Many int-> size_t file: d640b1e6c5 check-in: [7062de3ba7] user: jan.nijtmans branch: tip-626, size: 39257
2022-05-17
13:27
Merge 9.0 file: e4af6e19b9 check-in: [e563372259] user: jan.nijtmans branch: tip-616, size: 39239
12:50
Merge 8.7 file: 9c00048ccd check-in: [cd18e5535f] user: jan.nijtmans branch: tip-616-for-8.7, size: 42049
11:17
Merge 8.7 file: 36e7f353d3 check-in: [74c6a378ca] user: jan.nijtmans branch: main, size: 38987
09:32
Rename macro's TclListObjGetElements -> TclListObjGetElementsM and TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616) file: 3fe53bfe17 check-in: [eaf93525a5] user: jan.nijtmans branch: core-8-branch, size: 42024
07:32
Merge 9.0. Fix compilation (due to new macro's in previous commit) file: 99dafb1d3d check-in: [53d044ea40] user: jan.nijtmans branch: tip-616, size: 39234
07:18
Merge 8.7. Add macro's for situation without UTF_TCL_STUBS file: 47eaf90f3b check-in: [3923104571] user: jan.nijtmans branch: tip-616-for-8.7, size: 42044
2022-05-01
22:41
merge [trunk] file: 72f48d8f4c check-in: [3b9626d07b] user: bch branch: bch_sign_and_width, size: 39001
2022-04-26
17:15
Merge 8.7 file: 8747f4d4e9 check-in: [eb5ed53a03] user: jan.nijtmans branch: tip-618, size: 41995
15:59
Merge 9.0 file: 2b22142afb check-in: [dda26bfcce] user: jan.nijtmans branch: tip-616, size: 39209
15:41
Merge 8.7 file: 7df7b8039c check-in: [5431bc3d9c] user: jan.nijtmans branch: main, size: 38982
15:07
Change value of TCL_INDEX_TEMP_TABLE from 2 to 64, and let it lead to a slightly more efficient implementation of Tcl_GetIndexFromObj*() (TIP #613) file: e7b1ea1c24 check-in: [19850a20a8] user: jan.nijtmans branch: core-8-branch, size: 42019
2022-04-20
20:24
merge [trunk] file: 448f68e579 check-in: [3550542d19] user: bch branch: bch_sign_and_width, size: 38975
2022-04-14
21:01
Merge 9.0 file: 2a5fc1fe70 check-in: [15bcaf1527] user: jan.nijtmans branch: tip-616, size: 39183
2022-04-11
11:20
Merge 9.0. Eliminate almost all remaining (enum) casts file: 970b1e4454 check-in: [c07c617c41] user: jan.nijtmans branch: tip-613-usage, size: 38956
2022-04-08
10:16
Merge 9.0 file: cffa1699f4 check-in: [b260952b61] user: jan.nijtmans branch: tip-613-usage, size: 38717
2022-03-08
22:26
initial work at using signed-storage for cases where values can actually be signed. file: ff4bbe51d7 check-in: [5030ee02cf] user: bch branch: bch_sign_and_width, size: 38692
2022-02-22
21:01
TIP #618: New Tcl_GetBool* functions with INDEX_NULL_OK flag file: 15495dae12 check-in: [566ab0f509] user: jan.nijtmans branch: tip-618, size: 41969
2022-02-17
12:07
Merge 9.0 file: a4ee98b830 check-in: [d20c8c89a2] user: jan.nijtmans branch: tip-616, size: 38900
11:21
Merge 8.7 file: a37b7c45e6 check-in: [42031e66eb] user: jan.nijtmans branch: main, size: 38673
10:52
Implement TIP #613: New INDEX_NULL_OK flag for Tcl_GetIndexFromObj*() file: 0e763186b1 check-in: [545bc28d1b] user: jan.nijtmans branch: core-8-branch, size: 41993
2022-02-10
09:45
Merge 8.7 file: a5fb8d7474 check-in: [d7e83e77e8] user: jan.nijtmans branch: main, size: 37908
09:37
Merge 8.6 file: dd28cac387 check-in: [c03b7afd75] user: jan.nijtmans branch: core-8-branch, size: 41218
09:26
Use TclListObjLength/TclListObjGetElements in stead of Tcl_ListObjLength/Tcl_ListObjGetElements everywhere. This is slightly more efficient if the refered list already has the correct type file: ed00b35ed6 check-in: [30cd3187fc] user: jan.nijtmans branch: core-8-6-branch, size: 40979
08:42
Same with TclListObjGetElements file: 304eac14e1 check-in: [5f2ed67ee3] user: jan.nijtmans branch: tip-616, size: 38135
08:34
Tcl_ListObjLength -> TclListObjLength file: 05da05326d check-in: [8186be0b8d] user: jan.nijtmans branch: tip-616, size: 38138
08:22
Merge 9.0. Restore Tcl_ArgvGenFuncProc to what it was before (doesn't make much sense to make this size_t-aware) file: ba7030c043 check-in: [495bcd3142] user: jan.nijtmans branch: tip-616, size: 38140
2022-01-29
00:16
merge [argx_rejig] file: 878c889a0c check-in: [f834558929] user: bch branch: mistake, size: 38001
2022-01-28
14:59
Allow indexPtr to be (int *)NULL file: becb017aee check-in: [8a07ca7765] user: jan.nijtmans branch: tip-613, size: 41998
2022-01-27
15:15
More progress file: 93a5e08064 check-in: [22b7c31f21] user: jan.nijtmans branch: tip-616, size: 37948
2022-01-26
23:05
more progress file: b2f2a60c04 check-in: [8ce4f1cd58] user: jan.nijtmans branch: tip-616, size: 37937
14:56
Add TclParseArgsObjv_ file: d8db9fe0ac check-in: [d2cd1f43f9] user: jan.nijtmans branch: tip-616, size: 37936
2022-01-24
20:54
More work in progress file: f7ae186264 check-in: [e2382fa2c9] user: jan.nijtmans branch: tip-616, size: 37916
08:18
TIP #616: Tcl lists > 2^31 elements. WIP file: 4555b9be34 check-in: [ff0a9cf127] user: jan.nijtmans branch: tip-616, size: 37913
2021-12-20
00:44
Merge 8.7. Allow Tcl_GetIndexFromObj*() to be used with enum/char/short/int/long whatever size integer/enum-type index variable file: 6366fbfe91 check-in: [fd5af9692d] user: jan.nijtmans branch: tip-613, size: 41952
2021-12-18
19:20
Merge 8.7 file: db559fed3d check-in: [71c793d24e] user: jan.nijtmans branch: main, size: 37913
19:02
Merge 8.6 file: da0225b514 check-in: [8eabfac780] user: jan.nijtmans branch: core-8-branch, size: 41223
18:55
Make it impossible for the indexType object to cache negative index values. And - if it happens - at least don't crash on it. file: f6a1ab6c84 check-in: [8d5de988b3] user: jan.nijtmans branch: core-8-6-branch, size: 40984
2021-12-16
14:34
Merge 8.7 file: 2bfc5f7599 check-in: [d764ceff5f] user: jan.nijtmans branch: tip-613, size: 41468
14:11
Merge 8.7 file: d558f936c5 check-in: [9c90e5d9e5] user: jan.nijtmans branch: main, size: 37749
14:01
Merge 8.6 file: 34f99665fa check-in: [2872e09645] user: jan.nijtmans branch: core-8-branch, size: 41135
12:09
Add 2 new testcases, for Tcl_GetIndexFromObjStruct with TCL_EXACT flag and for Tcl_GetIndexFromObjStruct with NULL argument file: f078e45382 check-in: [67d362db55] user: jan.nijtmans branch: core-8-6-branch, size: 40896
2021-12-13
13:01
Merge 8.7 file: 1d45c6be74 check-in: [431e660796] user: jan.nijtmans branch: main, size: 37776
10:57
Merge 8.6 file: 5a80954b95 check-in: [140518c7ec] user: jan.nijtmans branch: core-8-branch, size: 41162
10:35
Prevent crash in Tcl_GetIndexFromObj*() when objPtr == NULL. Just let it produce a normal error-message then. Also add some more type-casts file: 8d07541de5 check-in: [a12e131325] user: jan.nijtmans branch: core-8-6-branch, size: 40895
2021-12-09
14:46
TIP #613: New INDEX_NULL_OK flag for Tcl_GetIndexFromObj*() file: eecd004331 check-in: [dc80e7b290] user: jan.nijtmans branch: tip-613, size: 41495
2021-10-08
08:40
Merge 8.7 file: f6cbc22e85 check-in: [916029c89c] user: jan.nijtmans branch: main, size: 37720
2021-10-06
19:33
Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing list file: 6956352674 check-in: [0509fa5750] user: jan.nijtmans branch: internalrep, size: 41106
2021-09-02
23:03
Merge fixes for [ccc448a6bfd5], namespace ensemble subcommand name prefix matching and a subsequent error results in a segmentation fault. file: addc9f8272 check-in: [da51286375] user: pooryorick branch: core-8-6-branch, size: 40730
22:38
Backport fixes for [ccc448a6bfd5], namespace ensemble subcommand name prefix matching and a subsequent error results in a segmentation fault. file: 0ccb35f865 check-in: [bd39341706] user: pooryorick branch: core-8-branch, size: 41021
22:15
Update code comments. file: 5847250665 check-in: [368587b872] user: pooryorick branch: main, size: 37645
2021-09-01
23:13
Fix for [ccc448a6bfd59cbd], namespace ensemble subcommand name prefix matching and a subsequent error results in a segmentation fault file: 9c759954d2 check-in: [a2e801a3d6] user: pooryorick branch: main, size: 37647
2021-03-19
11:18
Merge 8.7 file: fc43d6f55c check-in: [edc720de80] user: jan.nijtmans branch: main, size: 37841
10:49
Merge 8.6 file: 5538ae7bb8 check-in: [1b4711e046] user: jan.nijtmans branch: core-8-branch, size: 41215
2021-03-18
21:17
Delete some useless code. Was only place where we fed an uncontrolled value to %f, and it was actually a conversion we didn't need to do at all. file: 4698a5d1a7 check-in: [7ddef03087] user: dkf branch: core-8-6-branch, size: 40924
2021-03-15
12:31
Merge 8.7 (this is the TIP #575 implementation for Tcl 9.0) file: c9c02fbab6 check-in: [3fed9809e1] user: jan.nijtmans branch: main, size: 37929
2021-01-11
10:03
Merge 8.7, resolve conflicts file: 0171f7fbf6 check-in: [015ff38790] user: jan.nijtmans branch: main, size: 37928
2020-12-13
16:59
Merge 8.7 file: 6d3717a117 check-in: [0631cdce81] user: jan.nijtmans branch: tip-575, size: 41303
2020-12-08
15:42
Merge 8.7 file: f2d91c5f0b check-in: [71493b571b] user: jan.nijtmans branch: main, size: 37921
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: b6103ac624 check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 41302
2020-12-06
18:39
allow NULL for indexPtr to say "am not interested in index, just membership in set of possibilities" for Tcl_GetIndexFromObj() file: 9af6624a47 check-in: [56944df1f7] user: bch branch: NULL_non-retriever, size: 38025
2020-11-26
14:43
Get rid of "register" keyword, forbidden in c++20. Fix some more warnings, discovered in c20/c++20 mode file: 4b8a2e23c3 check-in: [d7c6ee4392] user: jan.nijtmans branch: core-8-6-branch, size: 41012
2020-10-14
06:08
Merge 8.7 file: 78fcd735d5 check-in: [a5f7cc9ba9] user: jan.nijtmans branch: tip-575, size: 41306
2020-10-02
16:30
Merge 8.7 file: 116944cbee check-in: [e2a265f8e9] user: jan.nijtmans branch: trunk, size: 37924
16:28
Fix -Wshadow warnings, when compiling with a C++ compiler file: 08b668415f check-in: [1011055d6b] user: jan.nijtmans branch: core-8-branch, size: 41305
2020-09-17
14:12
Merge 8.7 file: aa8b0eb11b check-in: [92d5c95fd8] user: jan.nijtmans branch: trunk, size: 37916
13:48
Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> TclNewIntObj or Tcl_NewWideIntObj) file: 5448b4850e check-in: [ef22eb8ac3] user: jan.nijtmans branch: core-8-branch, size: 41297
2020-09-13
20:46
Merge implementation of TIP #585 (Promote the INDEX_TEMP_TABLE flag of Tcl_GetIndexFromObj*() to the public interface) after positive vote from the TCT. Fix conflict due to Tcl_GetIndexFromObj() having been replaced by a macro in [4d8ee0f939]. file: 278681e801 check-in: [90e5a8a5e0] user: fvogel branch: trunk, size: 37912
2020-09-02
21:04
Implementation of TIP #585 - Promote the INDEX_TEMP_TABLE flag of Tcl_GetIndexFromObj*() to the public interface file: 20bbfcd593 check-in: [6ee24887fb] user: fvogel branch: tip-585, size: 41293
2020-05-13
20:12
Merge 8.7 file: f00323fdf6 check-in: [866174775d] user: jan.nijtmans branch: trunk, size: 37900
16:56
Merge 8.6 file: 800d7c53cb check-in: [4a9267b7a2] user: jan.nijtmans branch: core-8-branch, size: 41277
10:19
One Tcl_UtfPrev() -> TclUtfPrev() change. Just a little bit cheaper. file: c1ef59ecce check-in: [2ee35161c1] user: jan.nijtmans branch: core-8-6-branch, size: 41084
2020-03-06
21:33
merge 8.7 file: ff050fa7b1 check-in: [89fde09430] user: dgp branch: trunk, size: 37901
20:46
more unused arguments file: c65e367984 check-in: [3656b194a1] user: dgp branch: core-8-branch, size: 41278
20:34
merge 8.6 file: 198bc692a2 check-in: [a865c4a0a2] user: dgp branch: core-8-branch, size: 41359
20:32
Remove SetIndexFromAny(), a useless routine that can only be reached via unsupported shenanigans. file: e8dce5f7bb check-in: [7f2b0f5d2d] user: dgp branch: core-8-6-branch, size: 41085
2020-02-28
12:46
Merge 8.7 file: 5bc3cb59c2 check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 38970
2019-08-30
15:21
Let's try a real C++ build with Travis on Linux file: cd950fc1e4 check-in: [5732a73bf5] user: jan.nijtmans branch: cplusplus, size: 42347
2019-08-15
15:20
Merge tip-548 file: 65a4afd722 check-in: [fb24db99f5] user: jan.nijtmans branch: cplusplus, size: 42293
08:10
Merge 8.7 file: eed5bef244 check-in: [f33e2933b5] user: jan.nijtmans branch: trunk, size: 38737
2019-07-17
15:38
Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated in C++ (removed in C++17, even), and essentially does nothing with most modern compilers. file: 1f01857d0d check-in: [f074bda87c] user: jan.nijtmans branch: no-register, size: 42102
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: e302a85781 check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 42338
2019-07-04
06:54
Experiment: compile Tcl with C++ compiler. WIP file: 84cbff666a check-in: [99d5f9c948] user: jan.nijtmans branch: cplusplus, size: 42263
2019-03-13
20:44
Eliminate many (mostly harmless) MSVC warning messages. Tcl 9 compiles warning-free now on MSVC. file: ba26e5624c check-in: [cf865c6e2b] user: jan.nijtmans branch: trunk, size: 38800
2019-03-08
11:34
3-way merge 8.6 - timerate is part of Tcl now (since TIP#527 got merged), conflicts resolved, merge-points restored, configure rebuilt, etc file: def1088a88 check-in: [102958b94e] user: sebres branch: sebres-8-6-event-perf-branch, size: 43012
2019-03-01
21:59
Merge 8.7 file: 814e23daf9 check-in: [3e48d44568] user: jan.nijtmans branch: trunk, size: 38784
21:05
More use of TclHasIntRep() macro. Add vfs build director to fossil ignore-glob file: 333cd96a83 check-in: [6df74d3d53] user: jan.nijtmans branch: core-8-branch, size: 42165
2019-02-26
19:37
More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) and (unsigned) type-casts, which don't make sense any more. file: fdc5f315bd check-in: [2c7db3fa01] user: jan.nijtmans branch: mistake, size: 42163
2019-02-01
20:36
Another (big) round of int -> size_t enhancements. So Tcl can handle string >2GiB in more places. file: 73089f1053 check-in: [8534448b44] user: jan.nijtmans branch: trunk, size: 38782
2019-01-28
21:47
Merge 8.7 file: 02b250f7ca check-in: [08dd3497f1] user: jan.nijtmans branch: trunk, size: 38765
21:34
New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. But ... don't use this function when the result is only compared to NULL: that's just overkill. file: 680a7ab086 check-in: [d3ed67412e] user: jan.nijtmans branch: core-8-branch, size: 42190
2019-01-20
01:36
Merge trunk. All callers of TclIndexDecode and related functions now adapted for enhanced index range. file: 9f5720b5d5 check-in: [87b7cb4d1c] user: jan.nijtmans branch: tip-502-for-9, size: 38794
2018-12-26
15:04
Many internal int -> size_t increases, so string lengths > 2Gb can be handled correctly in many more places. file: 0e4cc6cc9c check-in: [2549977bc4] user: jan.nijtmans branch: trunk, size: 38772
2018-12-11
20:02
Merge 8.7 In test-cases, don't load Tcltest package if it isn't actually used. Another round of size_t related improvements. Nothing functional. Also improve some comments. file: a023c8606b check-in: [c92a5c4373] user: jan.nijtmans branch: trunk, size: 38758
2018-11-15
08:19
Merge 8.7 Fix Tcl_InitStringRep() signature in line with TIP #494, so it can handle lengths >2Gb on 64-bit platforms Various other code cleanups, unnecessary type-casts e.o. file: 490402aec4 check-in: [016f65758f] user: jan.nijtmans branch: trunk, size: 38774
2018-11-13
21:04
Implement TIP 445 file: 302447e996 check-in: [439113e1be] user: dgp branch: trunk, size: 38772
2018-11-06
12:59
merge core-8-branch file: 81bebfb35b check-in: [445db2cb18] user: dkf branch: mistake, size: 38773
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: 0e75dea11b check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 38758
2018-07-04
21:11
merge trunk file: 3c54f37d0e check-in: [05cecae336] user: jan.nijtmans branch: memory-API, size: 38738
2018-05-31
20:11
Merge trunk. Also undo various internal changes that moved to memory-API branch but which were partially still here. Still some tests fail, more work to do (low prio) file: ec069bac9b check-in: [f04caa7c67] user: jan.nijtmans branch: novem, size: 38736
2018-01-29
11:36
merge trunk file: b745c26a05 check-in: [3faa71ab4f] user: jan.nijtmans branch: memory-API, size: 41053
2018-01-17
16:01
clean-up some more remainings of the Itcl hack. Taken over from "novem". file: ea45bf6971 check-in: [97b61209fd] user: jan.nijtmans branch: trunk, size: 41060
14:17
Remove obsolete documentation (belonging to now-removed functions). Remove obsolete 8.4 bytecodes. And a few other (internal) macro's which are no longer in use. file: d72dcbd68d check-in: [2370ad9791] user: jan.nijtmans branch: trunk, size: 41725
2017-12-28
23:23
New Tcl_GetIndexFromObjStruct signature using size_t file: 891cecd42d check-in: [47ef24fb51] user: jan.nijtmans branch: memory-API, size: 42124
2017-11-15
13:39
merge 8.7 file: ef03447e7a check-in: [59ee6d1b5a] user: dgp branch: tip-445, size: 42198
09:03
merge trunk file: d43476720a check-in: [99f18c3b27] user: jan.nijtmans branch: novem, size: 38791
08:55
Change signature of (internal) TclScanElement() function. This saves memory allocation and the possibility for panic's in dict and list handling, requiring 1/4 of memory for internal allocation of temporary storage. No change to external API. file: fa93e7e280 check-in: [1019b4d815] user: jan.nijtmans branch: core-8-branch, size: 42131
08:54
Change signature of (internal) TclScanElement() function. This saves memory allocation and the possibility for panic's in dict and list handling, requiring 1/4 of memory for internal allocation of temporary storage. No change to external API. file: 01c774bef2 check-in: [f2cb39b9be] user: jan.nijtmans branch: core-8-6-branch, size: 42064
2017-07-10
08:53
merge resp. reintegrate sebres-8-5-event-perf-branch to 8.6 file: cbd2ec7c89 check-in: [fed961497a] user: sebres branch: sebres-8-6-event-perf-branch, size: 43003
2017-07-03
13:24
[enhancement] extend "vwait" with same options as "update", new syntax "vwait ?options? ?timeout? varname". some small improvements and fixing: - Tcl_DoOneEvent can wait for block time that was set with Tcl_SetMaxBlockTime outside an event source traversal, and stop waiting if Tcl_SetMaxBlockTime was called outside an event source (another event occurs and interrupt waiting loop), etc; - safer more precise pre-lookup by options (use TclObjIsIndexOfTable instead of simply comparison of type with tclIndexType); test cases extended to cover conditional "vwait" usage; file: 7b3a7916c3 check-in: [fef447f0a4] user: sebres branch: sebres-8-5-event-perf-branch, size: 20699
13:24
[performance] much better handling for timer events within Tcl_ServiceEvent using timer marker in the queue and direct call of TclServiceTimerEvents if marker reached (instead of continuous adding handler event, polling it in the queue and removing hereafter); this provides double performance increase in the service cycle; file: ee922ed263 check-in: [beb4b9527b] user: sebres branch: sebres-8-5-event-perf-branch, size: 19771
2017-05-31
06:59
Change the return type of Tcl_WrongNumArgs from void to int and have Tcl_WrongNumArgs always return TCL_ERROR. This is a convenience to the programmer. Most of the time in existing code, a call to Tcl_WrongNumArgs is immediately followed by return TCL_ERROR. Old: Tcl_WrongNumArgs(...); return TCL_ERROR; New: return Tcl_WrongNumArgs(...); file: d83b883822 check-in: [42f4ee15e8] user: stu branch: stwo-dev86, size: 42200
2017-03-20
12:55
merge trunk file: 847d2645f2 check-in: [44fdb92f73] user: dgp branch: tip-445, size: 42189
10:24
If compiled with TCL_NO_DEPRECATED, remove some more stub entries which are not used any more. file: 9406c58264 check-in: [3651512988] user: jan.nijtmans branch: trunk, size: 42122
2016-12-01
11:46
merge trunk file: cedac269d0 check-in: [391ec4f295] user: jan.nijtmans branch: novem, size: 38836
11:20
More internal use of size_t. Eliminate unused "isBin" argument from TclpSysAlloc() file: 9d3f58cc99 check-in: [9d4cd6b1aa] user: jan.nijtmans branch: novem, size: 38838
2016-07-18
17:15
merge trunk file: ad42ad2917 check-in: [c58aa1576a] user: dgp branch: novem, size: 38781
2016-07-14
08:05
Tidy up some references to INDEX_TEMP_TABLE. file: c580920b22 check-in: [765b64e067] user: dkf branch: trunk, size: 42065
2016-07-13
19:25
merge trunk file: 6043cd5451 check-in: [d66bcc3138] user: dgp branch: tip-445, size: 42132
19:06
New private flag value INDEX_TEMP_TABLE. Used to signal to Tcl_GetIndexFromObj*() routines that the table in which lookups are done has a fleeting existence. Thus there is no value in caching any results, since the cache can never be useful. Improvement over existing hackery where cache is stored and then freed to avoid bogus results. Likely candidate to eventually push to the public interface. file: 93bfbf3cb4 check-in: [2413f3f624] user: dgp branch: trunk, size: 42092
2016-07-09
17:21
merge trunk file: d1fb522eea check-in: [c991627aa9] user: dgp branch: tip-445, size: 42089
2016-07-08
10:34
merge trunk file: da1931219c check-in: [706fbc1eb0] user: jan.nijtmans branch: novem, size: 38796
10:28
Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj in many places where possible. file: 3f1692e591 check-in: [48cb8436f1] user: jan.nijtmans branch: trunk, size: 42050
2016-07-02
20:43
merge trunk file: b6d121aea7 check-in: [987eef5140] user: dgp branch: tip-445, size: 42094
2016-07-01
20:39
merge trunk file: 8bc560778a check-in: [ccc0e4ca4b] user: dgp branch: novem, size: 38801
18:54
[4402cfa58c] Rework the spell check machinery into something that will not be foiled by value sharing. file: 95402f5aae check-in: [326a8bf33e] user: dgp branch: dgp-ecr, size: 42055
13:36
merge trunk; eliminate legacy hacks for Itcl 3; migration paths in place. file: 02d1887efd check-in: [f72e6dad3d] user: dgp branch: novem, size: 39073
2016-05-12
20:23
Don't see why the intrep should make and keep copies of things already stored in the hash table. file: 55c911a502 check-in: [bdea6deef6] user: dgp branch: dgp-ecr, size: 42431
2016-03-25
14:01
First demonstration conversion to the new intrep manipulation routines. file: 8c64f74d6b check-in: [aae9df6fc9] user: dgp branch: tip-445-reject, size: 42363
2016-03-24
21:11
Revise the "index" Tcl_ObjType to use the new routine. file: e78849e375 check-in: [87d5093e34] user: dgp branch: tip-445, size: 42194
2014-07-12
16:13
whopper change; now passes test suite on OSX file: 2d784e9bba check-in: [0b38cdbc76] user: dkf branch: bug-d5ddbc7f49, size: 42389
2014-06-23
08:41
cleaning up option processing throughout Tcl to use common functions/language file: 03b96a7100 check-in: [7e93a07895] user: dkf branch: bug-d5ddbc7f49, size: 42385
2013-09-26
13:13
merge novem WARNING: No checks of build-ability done yet. file: 94a3fe82f9 check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 40028
2013-04-19
08:41
Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct file: 8162eac1f0 check-in: [d230417e3f] user: jan.nijtmans branch: core-8-5-branch, size: 19754
08:19
Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct file: 273d0da8eb check-in: [7b32308075] user: jan.nijtmans branch: core-8-4-branch, size: 14796
2013-02-28
08:29
Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros. file: 445db0cba9 check-in: [03b46ac836] user: jan.nijtmans branch: trunk, size: 42327
2013-02-11
15:53
Still to be TIP'ed. In this branch objTypes are not registered to Tcl any more, and still can do everything. It proves that Tcl_ConvertToType and the toAnyProc in thc Tcl_ObjType struct can be safely removed. Conversion to any specific type must be done by the "Tcl_GetXXXFromObj" type functions. One objType which didn't have such a function yet: "end-offset". This branch replaces this type by an "index" objType with its own Tcl_GetIntForIndex function (which functions the same as the currently private TclGetIntForIndex, only faster...). In addition, it affects Tcl_GetBoolean, which now follows the same same parsing rules as Tcl_GetBooleanFromObj. file: bb8362c18a check-in: [271dbffaf7] user: jan.nijtmans branch: no-register-objtypes, size: 39164
13:50
merge trunk file: e12a5d993f check-in: [76befed959] user: mig branch: mig-alloc-reform, size: 42238
09:38
Merge trunk. Various Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj modifications file: cb4e024a89 check-in: [1b58c7107b] user: jan.nijtmans branch: novem, size: 40144
2013-02-03
16:05
merge trunk file: 42b071e977 check-in: [127b30eda5] user: jan.nijtmans branch: novem, size: 40143
2013-01-31
11:41
Merge core-8-5-branch. Optimize tclCmdNameType the same way. file: 206f3557a0 check-in: [b4cdb58176] user: jan.nijtmans branch: no-shimmer-string-length, size: 20163
10:31
merge core-8-5-branch file: 328b1d6c13 check-in: [f9be79d941] user: jan.nijtmans branch: trunk, size: 42300
09:42
Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. file: 8885ffee45 check-in: [17354de1e8] user: jan.nijtmans branch: core-8-5-branch, size: 19727
07:56
Merge trunk Handle caching of string intRep in more internal objTypes file: a8eb88731c check-in: [c5f0ac6cc3] user: jan.nijtmans branch: no-shimmer-string-length, size: 20151
2013-01-29
10:46
Change core to use repr->twoPtrValue.ptr1 in stead of repr->otherValuePtr (which is exactly the same), but also set repr->twoPtrValue.ptr2 to NULL explicitly. This allows repr->twoPtrValue.ptr2 to be used for another purpose (experimental): Store the StringObj internal representation there when available. file: 55a2eb725d check-in: [4918a10d3d] user: jan.nijtmans branch: no-shimmer-string-length, size: 19774
2013-01-24
10:37
Convert Tcl_GetIndexFromObj implementation to macro file: c1a0d7a5ee check-in: [039696e2d8] user: jan.nijtmans branch: novem, size: 40107
08:22
Simplify STRING_AT macro. Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that. file: b9ff65d04d check-in: [4d66f17ddb] user: jan.nijtmans branch: trunk, size: 42261
08:05
Simplify STRING_AT macro. Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that. file: 2020eac95b check-in: [8d90ad34d1] user: jan.nijtmans branch: core-8-5-branch, size: 19688
2013-01-23
13:57
Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that. file: e9bb61a99a check-in: [d72e9c88d9] user: jan.nijtmans branch: core-8-4-branch, size: 14769
2013-01-15
23:08
TEBC is almost gone, down to 44 insts mostly for math. No commands are compiled, all (including [set]) are dispatched via EvalObjv. This is just a removal, redesign and reconstruction still pending ... file: 4d39a69623 check-in: [da8004af56] user: mig branch: mig-strip-brutal, size: 42008
2013-01-08
17:10
The Tcl*(Scan|Convert)*Element() routines only need chars, not ints, to hold their flags. Reduce waste now that interface freedom permits it. file: fb26bfabac check-in: [01b69f70f3] user: dgp branch: novem, size: 42160
2013-01-06
09:06
nreProc gone for good file: cd8441dcdb check-in: [1a8a7b595d] user: mig branch: mig-strip-brutal, size: 42065
2013-01-04
14:34
merge trunk file: fe0a5398bb check-in: [d4b0410564] user: mig branch: mig-alloc-reform, size: 42089
11:06
Add super-simple compiler to many ensemble subcommands to allow better code generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job. file: ed1057466b check-in: [40fef44a65] user: dkf branch: dkf-bytecode-8.6-main, size: 42151
2012-12-04
15:12
more eliminations of 'deprecated' calls file: 4f2d033236 check-in: [c3a8114dc1] user: jan.nijtmans branch: better-deprecation-85, size: 19742
2012-12-03
08:11
merge core-8-5-branch eliminate more usage of to-be-deprecated functions file: ffc6fb0437 check-in: [976aeca8c6] user: jan.nijtmans branch: better-deprecation-85, size: 19816
2012-11-26
15:31
merge trunk file: 53cd29d20b check-in: [cdc837ae05] user: mig branch: mig-alloc-reform, size: 42028
2012-11-25
18:27
merge novem file: ee7551e2c9 check-in: [ba36ca6cfd] user: dkf branch: novem-64bit-sizes, size: 41974
2012-11-22
08:49
Fix bug reported by Brian Griffin: <p>[http://code.activestate.com/lists/tcl-core/12524/] file: 0cfb474d51 check-in: [181caa1a57] user: jan.nijtmans branch: trunk, size: 42090
08:47
Fix bug reported by Brian Griffin: <p>[http://code.activestate.com/lists/tcl-core/12524/] file: 22ea7ab8b7 check-in: [6509c9b571] user: jan.nijtmans branch: core-8-5-branch, size: 19578
08:45
Fix bug reported by Brian Griffin: <p>[http://code.activestate.com/lists/tcl-core/12524/] file: 3c8ab49783 check-in: [b8a089f6e4] user: jan.nijtmans branch: core-8-4-branch, size: 14636
2012-11-21
10:18
more conversion of code, still not running test suite at all file: 91b20abfb0 check-in: [e648a1571f] user: dkf branch: novem-64bit-sizes, size: 42048
00:42
converting to use TCL_STRLEN file: 0942e31fdd check-in: [2afb72a22d] user: dkf branch: novem-64bit-sizes, size: 42032
2012-11-18
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: ecc833b7ef check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 42228
2012-11-16
22:44
yet more conversions file: 507a8e2aa3 check-in: [ef4d60fc2b] user: dkf branch: novem-64bit-sizes, size: 41984
2012-08-03
14:24
more result generation conversion file: 2e6c8c6bcf check-in: [b3ccaec093] user: dkf branch: trunk, size: 42164
2012-07-05
08:17
protect Tcl_GetIndexFromObjStruct from empty strings in table file: 12acc4d11e check-in: [9d3c7c6bdb] user: jan.nijtmans branch: trunk, size: 42072
07:55
protect Tcl_GetIndexFromObjStruct from empty strings in table file: 283132dfaf check-in: [002d03ef88] user: jan.nijtmans branch: core-8-5-branch, size: 19652
07:45
protect Tcl_GetIndexFromObjStruct from empty strings in table file: c2d867c7c9 check-in: [f645ace4cc] user: jan.nijtmans branch: core-8-4-branch, size: 14710
2012-04-23
13:49
make some more internal tables const file: 88d42ad4a9 check-in: [8f88d10716] user: jan.nijtmans branch: trunk, size: 41911
2011-09-28
01:39
merge trunk file: abe8177bf2 check-in: [12126498b2] user: mig branch: mig-alloc-reform, size: 41843
2011-09-27
09:44
Unbreak TCL_ARGV_AUTO_REST macro, found during testing. file: c1a222219b check-in: [e670fd9be2] user: dkf branch: bug-3413857, size: 41905
2011-09-26
10:09
Proposed patch to fix [Bug 3413857]... file: 64f1393547 check-in: [8edb5ef770] user: dkf branch: bug-3413857, size: 41725
2011-08-16
13:55
Small changes to quell gcc warnings and make message generation less ugly. file: 6298e0d309 check-in: [df6fb9a914] user: dkf branch: trunk, size: 41675
2011-08-02
11:18
merge trunk; FIXME: symbols=mem build broken file: e5222bb7b6 check-in: [384901c292] user: mig branch: mig-alloc-reform, size: 41541
2011-07-14
03:19
3366265 Allocate proper size buffer for TclConvertElement() to write to. file: 043c738d8a check-in: [828fc551b1] user: dgp branch: trunk, size: 41603
02:39
3366265 Allocate proper size buffer for TclConvertElement() to write to. file: 8f53d54553 check-in: [edfd80bc20] user: dgp branch: core-8-5-branch, size: 19467
2011-05-24
13:46
merge trunk file: 3a3bb1eae2 check-in: [f62a607c8e] user: mig branch: mig-alloc-reform, size: 41533
2011-05-10
17:22
New internal routines TclScanElement() and TclConvertElement(). Rewritten guts of machinery to produce string rep of lists. [Bug 3173086] file: eb35268de3 check-in: [7720fbb825] user: dgp branch: trunk, size: 41588
16:05
Completed patch with mucho comments. Merge 8.5. file: 15faad0a61 check-in: [8de9137c51] user: dgp branch: bug-3173086, size: 19452
2011-05-07
19:53
merge trunk file: 975c1ccccd check-in: [241f36be4b] user: mig branch: mig-alloc-reform, size: 41533
2011-04-27
19:34
FreeIndex backport file: b65718f327 check-in: [c24d5e2982] user: dgp branch: core-8-5-branch, size: 19452
18:49
TclFreeIntRep() cleanup. file: d5184b7577 check-in: [53b79ea68a] user: dgp branch: mistake, size: 41588
2011-04-21
13:47
Make sure SetFooFromAny routines react reasonably when passed a NULL interp. file: fefc8fb5c5 check-in: [36b0307ba2] user: dgp branch: trunk, size: 41616
13:24
Make sure SetFooFromAny routines react reasonably when passed a NULL interp. file: 98211b701c check-in: [0da07d5b1e] user: dgp branch: core-8-5-branch, size: 19424
12:58
Make sure SetFooFromAny routines react reasonably when passed a NULL interp. file: 546cdb2427 check-in: [2adc132d52] user: dgp branch: core-8-4-branch, size: 14523
2011-03-15
09:44
retire TclInterpAlloc/Free/Realloc file: 27a64dad71 check-in: [15d781d135] user: mig branch: mig-alloc-reform, size: 41537
2011-03-13
04:50
rename TclStackAlloc/Free to TclInterpAlloc/Free file: 4512a33fd1 check-in: [820d67f844] user: mig branch: mig-alloc-reform, size: 41596
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: 45afd3f57a check-in: [5574bdd262] user: dkf branch: trunk, size: 41592
2011-03-03
21:07
Significant rewrite of the Tcl*(Scan|Convert)*Element() system, and revisions to the callers. Needs more work on comments, and testing to check for any performance impact in either direction. Fixes reported bug. file: cafcfb3aa3 check-in: [a142b240b3] user: dgp branch: bug-3173086, size: 19400
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: 5cabd56c40 check-in: [c64f310d38] user: dgp branch: trunk, size: 41751
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: e25915a681 check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 19400
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: 4b1189cc32 check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 14499
2011-01-12
15:23
This commit is both no-NRE v2, implemented by subtracting the NRE pieces (*), and update to CVS trunk head of Wednesday Jan 5. (*) no-NRE v1 in the other branch was created in an additive manner from the point where 8.5 was branched from the trunk, by adding all the patches but those for NRE. file: 288f21ec29 check-in: [2d93b1436c] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 41799
2010-12-30
14:42
merge file: d9ea002965 check-in: [45d5c91eaf] user: dgp branch: dgp-refactor, size: 41828
2010-12-11
18:39
merge file: 6cbb05c867 check-in: [c291154f2c] user: kennykb branch: dogeen-assembler-branch, size: 41831
2010-12-10
13:08
Fix gcc -Wextra warning: missing initializer file: 1cbf84fe64 check-in: [38357311b7] user: nijtmans branch: trunk, size: 41828
2010-12-08
12:07
Code cleanup. Most warnings are now gone. file: 9a8290e0c4 check-in: [90d463b3e7] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 41787
2010-12-06
13:20
@1330 + jump interp, indexobj file: 96ddc30514 check-in: [c08c831172] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 41811
12:33
@1300 file: 1d0b8f326f check-in: [3f09e6a910] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 40554
2010-12-02
13:17
@1200 file: bcef0dd4f5 check-in: [772aad65cb] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 40363
10:58
@1090 file: ebe0ff9716 check-in: [64d3140aa1] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 40357
2010-12-01
15:06
@940 file: cfa7e558e6 check-in: [fbf7360824] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 40279
2010-11-30
14:22
@777 file: 55c54338a9 check-in: [b82b3cdf0c] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 40251
2010-11-29
13:51
@670 file: 2ccff73190 check-in: [2435a4366f] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 40205
2010-11-23
15:23
Next @611, and jumping tclGetDate.yyacc grammar. file: 10ab225de1 check-in: [b277d95385] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 40169
11:38
Next @500. file: ca5866499b check-in: [5365d7ae02] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 40113
10:24
Next @411 file: 2a3406205c check-in: [769955448f] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 39972
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: c2eae7d815 check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 39961
2010-06-07
17:36
rebranch from HEAD file: 70a6466872 check-in: [f3af08f468] user: rmax branch: rmax-ipv6-branch, size: 41816
2010-03-30
14:10
merge file: f6f6de566e check-in: [758e7bb9f6] user: dgp branch: dgp-refactor, size: 41816
13:17
[FRQ 2974744]: share exception codes (ObjType?): further optimization, making use of indexType. file: f928158016 check-in: [416a8249cd] user: nijtmans branch: trunk, size: 41816
2010-03-06
03:40
merge updates file: 2b7f666bea check-in: [f1f1ac161b] user: dgp branch: dgp-refactor, size: 40530
2010-03-05
14:34
Code Audit results: * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations file: d72352712e check-in: [4d8a4f639d] user: dkf branch: trunk, size: 40525
2010-03-02
02:32
merge updates file: db54b6bfef check-in: [c96eab68a6] user: dgp branch: dgp-refactor, size: 40559
2010-03-01
23:19
Improve error message for corner case in ::prefix file: f8b54f7977 check-in: [7f54d07f0a] user: ferrieux branch: trunk, size: 40559
22:20
fix [AT 86258]: special-casing of empty tables when generating error messages for [::tcl::prefix match]. file: e4485d6c83 check-in: [6f9f9e629d] user: ferrieux branch: trunk, size: 40556
2010-02-25
21:53
merge updates from HEAD file: 4f1b5028c0 check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 40363
2010-02-24
10:32
Pure whitespace changes, changing to follow Engineering Manual style. file: a063202046 check-in: [c81eddebbb] user: dkf branch: trunk, size: 40358
2010-02-01
15:34
merge updates from HEAD file: 7ec0100069 check-in: [cdb2a26e74] user: dgp branch: dgp-refactor, size: 40368
2010-01-29
16:17
- genStubs.tcl: No longer generate a space after "*" and immediately after a function name, so the format of function definitions in tcl*Decls.h matches all other tcl*.h header files. - Change Tcl_ArgvFuncProc, Tcl_ArgvGenFuncProc and GetFrameInfoValueProc to be function definitions, not pointers, for consistency with all other Tcl function definitions. file: b7cb19f2a3 check-in: [9292490135] user: nijtmans branch: trunk, size: 40368
2009-11-19
16:51
merge updates from HEAD file: b1abbf07cd check-in: [7aa1b44845] user: dgp branch: dgp-refactor, size: 40362
2009-11-18
21:59
Eliminate various gcc warnings (in -Wextra mode) file: 6cf7531086 check-in: [8780faf488] user: nijtmans branch: trunk, size: 40362
2009-09-30
06:07
merge updates from HEAD file: 0e862230e1 check-in: [3b4e6b13b9] user: dgp branch: dgp-refactor, size: 40284
03:11
* generic/tclDictObj.c: Updated freeIntRepProc routines so * generic/tclExecute.c: that they set the typePtr field to * generic/tclIO.c: NULL so that the Tcl_Obj is not left * generic/tclIndexObj.c: in an inconsistent state. * generic/tclInt.h: [Bug 2857044] * generic/tclListObj.c: * generic/tclNamesp.c: * generic/tclOOCall.c: * generic/tclObj.c: * generic/tclPathObj.c: * generic/tclProc.c: * generic/tclRegexp.c: * generic/tclStringObj.c: file: dda3c1d86c check-in: [c712d7d7bb] user: dgp branch: trunk, size: 40279
2009-05-05
19:31
merge updates from HEAD file: a14f69719f check-in: [7a89f2e7a1] user: dgp branch: dgp-refactor, size: 40256
2009-04-27
09:41
Reset internal INTERP_ALTERNATE_WRONG_ARGS flag inside the Tcl_WrongNumArgs function, so the caller no longer has to do the reset. file: f08a2f667b check-in: [e1dc328773] user: nijtmans branch: trunk, size: 40256
2009-02-11
17:27
merge updates from HEAD file: 108f2533d3 check-in: [f07460d448] user: dgp branch: dgp-refactor, size: 40210
2009-02-10
22:49
- eliminate some unnessary type casts - some internal const decorations - spacing file: 4267d68978 check-in: [160bcb1152] user: nijtmans branch: trunk, size: 40210
2009-01-08
18:00
merge updates from HEAD file: 6fd76b7d90 check-in: [0b4ea10c4a] user: dgp branch: dgp-refactor, size: 40174
16:41
Generate errorcodes for more cases. file: c1d035d633 check-in: [a12728cbb9] user: dkf branch: trunk, size: 40169
2008-12-15
18:43
merge updates from HEAD file: 10539d1e6d check-in: [cdfa98b2b4] user: dgp branch: dgp-refactor, size: 40118
17:28
fix 'make checkstubs' failure: make TclGetIndexFromObjList static file: 150a310470 check-in: [d173571652] user: das branch: trunk, size: 40113
2008-11-27
05:58
merge updates from HEAD file: e948df28ca check-in: [d491254068] user: dgp branch: dgp-refactor, size: 39977
2008-11-25
23:19
Eliminate 3 calls to Tcl_SetResult, as examples how it should have been done. purpose: contribute in the TIP #340 discussion. file: 69d0305566 check-in: [8956424338] user: nijtmans branch: trunk, size: 39977
2008-10-17
20:52
merge updates from HEAD file: 5580dff91f check-in: [d93600ad8e] user: dgp branch: dgp-refactor, size: 39966
2008-10-14
22:37
* generic/tclCmdAH.c: Fix minor compiler warnings when compiling * generic/tclCmdMZ.c: with -Wwrite-strings * generic/tclIndexObj.c: * generic/tclProc.c: * generic/tclStubLib.c: * generic/tclUtil.c: file: 810b6c9beb check-in: [675e88f649] user: nijtmans branch: trunk, size: 39966
2008-10-11
03:37
merge updates from HEAD file: 4be0574a6d check-in: [707fc4e9cf] user: dgp branch: dgp-refactor, size: 39954
2008-10-10
04:02
fix warning file: 9c6a80fdc6 check-in: [9c2baab056] user: das branch: trunk, size: 39949
2008-10-05
19:22
Fix [Bug 2144595] file: 650c5ad1fe check-in: [a484fe5df5] user: dkf branch: trunk, size: 39946
2008-10-04
11:04
* doc/GetIndex.3: CONSTified the tablePtr argument * generic/tcl.decls: of Tcl_GetIndexFromObj. * generic/tclIndexObj.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27. file: 4a077bc544 check-in: [4d465df046] user: nijtmans branch: trunk, size: 39826
2008-10-03
15:48
merge updates from HEAD file: c7afbb119e check-in: [ea28e7a56d] user: dgp branch: dgp-refactor, size: 39815
08:13
Tidying up formatting file: c24d2bb817 check-in: [754b252ed3] user: dkf branch: trunk, size: 39810
00:07
typofix file: 21f5ca73f5 check-in: [098e39bd8b] user: dkf branch: trunk, size: 39893
00:01
Implemented TIP#195 - tcl::prefix command. [Patch 1040206] file: 088e299808 check-in: [b99e7f3d7a] user: dkf branch: trunk, size: 39893
2008-10-02
23:32
Implement TIP #265. [FRQ 1446696] file: 124869a751 check-in: [020acd659d] user: dkf branch: trunk, size: 29432
2007-12-13
15:22
merge stable branch onto HEAD file: b99a6538e8 check-in: [d1f7550cd9] user: dgp branch: trunk, size: 19472
2007-12-06
06:51
merge updates from HEAD file: 734a495260 check-in: [6f3a8a0d9e] user: dgp branch: dgp-refactor, size: 19477
2007-11-21
06:30
Merge updates from 8.5b3 release file: 9696ab9048 check-in: [c60ad186f4] user: dgp branch: core-stabilizer-branch, size: 19476
2007-11-19
11:02
Reduce cast count. file: 503f8a707a check-in: [a350e972df] user: dkf branch: trunk, size: 19472
2007-11-12
20:40
merge updates from HEAD file: a8f5bff65f check-in: [27f428842c] user: dgp branch: dgp-refactor, size: 19494
19:18
merge updates from HEAD file: af98962b97 check-in: [72c5ac9502] user: dgp branch: core-stabilizer-branch, size: 19493
2007-11-11
19:32
[Patch 1830038]: Increased usage of macros to detect and take advantage of objTypes. file: 57c19d5fc8 check-in: [11e8f31512] user: msofer branch: trunk, size: 19492
2007-06-21
16:31
merge updates from HEAD file: 8c1aa1f6c1 check-in: [98cb152178] user: dgp branch: dgp-refactor, size: 19496
16:04
merge updates from HEAD file: ec227ed8a2 check-in: [9b4cd8d23b] user: dgp branch: core-stabilizer-branch, size: 19495
2007-06-20
18:46
* generic/tclInt.decls: Revised the interfaces of the routines * generic/tclExecute.c: TclStackAlloc and TclStackFree to make them easier for callers to use (or more precisely, harder to misuse). TclStackFree now takes a (void *) argument which is the pointer intended to be freed. TclStackFree will panic if that's not actually the memory the call will free. TSA/TSF also now tolerate receiving (interp == NULL), in which case they simply fall back to be calls to Tcl_Alloc/Tcl_Free. * generic/tclIntDecls.h: make genstubs * generic/tclBasic.c: Updated callers * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclProc.c: * generic/tclTrace.c: * unix/tclUnixPipe.c: file: 187863fcb4 check-in: [4ea644b0de] user: dgp branch: trunk, size: 19491
2007-06-12
19:38
merge updates from HEAD file: 5b12e9cd19 check-in: [abba220e2b] user: dgp branch: dgp-refactor, size: 19506
15:56
merge updates from HEAD file: 96ed649fa7 check-in: [f0fa4d3a7d] user: dgp branch: core-stabilizer-branch, size: 19505
12:36
Silence a 'const'ness warning. file: f6adc09e2d check-in: [a5edb8803f] user: dkf branch: trunk, size: 19501
12:29
Improve the argument substitution behaviour of Tcl_WrongNumArgs when faced with ensemble and interp-alias rewrites. file: 496632c37a check-in: [5acd0e47b4] user: dkf branch: trunk, size: 19495
2007-04-08
14:58
Merge updates from HEAD; may not build file: 24ad350342 check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 18900
2007-04-02
18:48
* generic/tclBasic.c: Replace arrays on the C stack and ckalloc * generic/tclExecute.c: calls with TclStackAlloc calls to use memory * generic/tclFCmd.c: on Tcl's evaluation stack. * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclTrace.c: * unix/tclUnixPipe.c: file: 1f577e505b check-in: [fbe8c8af9f] user: dgp branch: trunk, size: 18895
2006-04-28
16:09
Merge updates from HEAD file: 5a09e14e36 check-in: [afab2ad07a] user: dgp branch: dgp-refactor, size: 18835
2006-04-06
18:57
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seems * tests/indexObj.test: there are extensions that rely on the prior * doc/GetIndex.3: behavior that the empty string cannot succeed as a unique prefix matcher, so I'm restoring Donal Fellow's solution. Added mention of this detail to the documentation. [Bug 1464039] file: 2f0e37998d check-in: [0652206ff0] user: dgp branch: trunk, size: 18830
18:57
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seems * tests/indexObj.test: there are extensions that rely on the prior * doc/GetIndex.3: behavior that the empty string cannot succeed as a unique prefix matcher, so I'm restoring Donal Fellow's solution. Added mention of this detail to the documentation. [Bug 1464039] file: 6d02f3709c check-in: [aac13e1a46] user: dgp branch: core-8-4-branch, size: 14575
2006-04-05
15:17
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow empty strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039] file: 8ba5dacb1d check-in: [d86bf5b78a] user: dgp branch: trunk, size: 18810
15:16
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow empty strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039] file: e5de35b69d check-in: [50a49e4b26] user: dgp branch: core-8-4-branch, size: 14555
13:20
Fix [Bug 1646039] file: 33a2c991dc check-in: [352ca7cab3] user: dkf branch: core-8-4-branch, size: 14879
12:48
Nail [Bug 1464039] by allowing the empty string to be exactly matched by Tcl_GetIndexFromObj. Also added tests. file: 48c2132178 check-in: [2ec45a041b] user: dkf branch: trunk, size: 19135
2006-02-23
14:45
merge updates from HEAD file: 0da56c40d9 check-in: [7fa5cf84d0] user: dgp branch: dgp-refactor, size: 18957
2006-02-16
20:25
* generic/tclIndexObj.c: Disallow the "ambiguous" error message * tests/indexObj.test: when TCL_EXACT matching is requested. * tests/ioCmd.test: file: 7e196400fc check-in: [9d1bf7f856] user: dgp branch: trunk, size: 18953
20:21
* generic/tclIndexObj.c: Disallow the "ambiguous" error message * generic/indexObj.test: when TCL_EXACT matching is requested. file: eacdadfad4 check-in: [2a70498b7f] user: dgp branch: core-8-4-branch, size: 14713
2005-11-03
17:52
merge updates from HEAD file: ae22647eb2 check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 18932
2005-11-01
15:30
ANSIfy. Also converted some deeply nested code to a less nested form for easier reading. file: e0de20fa54 check-in: [a3b0b6f1d9] user: dkf branch: trunk, size: 18928
2005-08-02
18:14
merge updates from HEAD file: 36b3ce321e check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 19235
2005-07-26
04:11
Merge updates from HEAD file: a7d14bef91 check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 19235
2005-07-21
16:58
fix compile error file: ff6a632b1b check-in: [dbbcf9b7f6] user: dgp branch: trunk, size: 19231
14:38
Systematizing the formatting file: 3c95e7b15d check-in: [ac613e6b94] user: dkf branch: trunk, size: 19223
2005-07-12
20:35
merged changes from HEAD file: e93db25bac check-in: [5316ea45e0] user: kennykb branch: kennykb-numerics-branch, size: 17646
2005-06-22
21:12
merge updates from HEAD file: b7e423bf7e check-in: [2c0cc8807c] user: dgp branch: dgp-refactor, size: 17642
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611) file: 14b5d40242 check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 17645
2005-06-07
21:46
* generic/tclInt.h: Reduced the Tcl_ObjTypes "index", * generic/tclIndexObj.c: "enembleCmd", "localVarName", and * generic/tclNamesp.c: "levelReference" to file static scope. * generic/tclProc.c: * generic/tclVar.c: file: f8ab950a02 check-in: [9c1c8c3166] user: dgp branch: trunk, size: 17638
10:04
Clean up tests in chan.test and add mechanism for chaining Tcl_WrongNumArgs messages (used in [read] implementation) file: f881a2c13f check-in: [b3487bb8b8] user: dkf branch: trunk, size: 17652
2004-12-09
23:00
Merge updates from HEAD file: 5a9bc03fb9 check-in: [24873008cc] user: dgp branch: dgp-refactor, size: 17492
2004-11-25
16:37
Fix [Bug 1066837] without reopening other bugs... What a horrid hack! :^/ file: 1aad10e77d check-in: [457eb30a98] user: dkf branch: trunk, size: 17488
2004-10-29
15:39
Allow ensembles to rewrite their subcommands' error messages to be more relevant to users. [Patch 1056864] Also patches to core to take advantage of this Also other general cleaning up of Tcl_WrongNumArgs usage file: cd2d3126c0 check-in: [7162a54053] user: dkf branch: trunk, size: 16875
2004-10-28
18:45
merge updates from HEAD file: e82293ae6e check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 14561
2004-10-06
14:59
* generic/tclBasic.c: * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: * generic/tclEncoding.c: * generic/tclExecute.c: * generic/tclFCmd.c: * generic/tclHistory.c: * generic/tclIndexObj.c: * generic/tclInterp.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated. file: 2bd09fdedd check-in: [ee7c709e65] user: dgp branch: trunk, size: 14557
2004-09-30
00:51
merge updates from HEAD file: f281b24e13 check-in: [6cd7cf6875] user: dgp branch: dgp-refactor, size: 14559
2004-09-29
22:17
Factorize out the code for freeing an object's internal rep. file: 1cb2aba7ee check-in: [3890ad3c7c] user: dkf branch: trunk, size: 14555
2004-04-09
20:57
Merge updates from HEAD file: 7a71497a92 check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 14668
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: b74c43631a check-in: [2e5b18c85c] user: dgp branch: trunk, size: 14664
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: 5b517f64df check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 14689
2004-01-13
09:45
Fix shared object panics. [Bug 875395] file: 065d13f78e check-in: [ce19ff118e] user: dkf branch: core-8-4-branch, size: 14689
09:42
Fix shared object panics. [Bug 875395] file: 326db3f607 check-in: [1a953d39a5] user: dkf branch: trunk, size: 14685
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: d766ddded6 check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 14649
2002-02-28
05:11
* doc/GetIndex.3: * generic/tcl.decls (Tcl_GetIndexFromObjStruct): * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Revised the prototype of the Tcl_GetIndexFromObjStruct to take its struct table as a (CONST VOID *) argument, better describing what it is, maintaining source compatibility, and adding CONST correctness according to TIP 27. Thanks to Joe English for an elegant solution. [Bug 520304] * generic/tclDecls.h: make genstubs file: f44845783c check-in: [62ef0de80a] user: dgp branch: trunk, size: 14640
2002-02-16
00:37
* generic/tclIndexObj.c (STRING_AT): removed ptrdiff_t cast and use of VOID* in default case (GNU-ism). file: f98cfc1b1f check-in: [8fabaaf5c8] user: hobbs branch: trunk, size: 14626
2002-02-15
19:58
* tclExecute.c: * tclIOGT.c: * tclIndexObj.c: Touchups to the TIP 72 patch to make it compileable under Windows again. The changes are not complete, there is one nasty regarding _stati64 file: 0fbce6d7db check-in: [ee7fe962db] user: andreas_kupries branch: trunk, size: 15061
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: c1232c1b36 check-in: [8d82de1905] user: dkf branch: trunk, size: 14902
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: 732d1d2dbf check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 11249
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: 5502bd0e70 check-in: [28b6020550] user: dgp branch: trunk, size: 11240
2002-01-14
15:07
* Updated APIs in the file generic/tclIndexObj.c according to the guidelines of TIP 27. file: e23f3ca392 check-in: [df8a4c2bfe] user: dgp branch: trunk, size: 11206
2001-10-23
13:14
Some places prefer string lengths to be unsigned. file: d9a6ed456c check-in: [7f9cc44820] user: dkf branch: dkf-64bit-support-branch, size: 14624
2001-10-22
15:20
Added #include tclPort.h to get definition of ptrdiff_t file: b31135daf9 check-in: [5a69b95aa3] user: dgp branch: dkf-64bit-support-branch, size: 14619
09:54
SunPro CC *sucks*... file: 43d8d7fe6a check-in: [5180b231ac] user: dkf branch: dkf-64bit-support-branch, size: 14598
09:03
Fixed assumptions in testing code relating to internal representation of index objects and added note to remind people to keep the code in sync. file: 8017684119 check-in: [d211a25fa5] user: dkf branch: dkf-64bit-support-branch, size: 14476
2001-10-19
16:50
* corrected minor coding errors to get compileable source file: 294264fadd check-in: [cc969f8e74] user: dgp branch: dkf-64bit-support-branch, size: 14412
15:45
Added clarification that string table used in Tcl_GetIndexFromObj must be a table of ASCII strings, and rewrote most of tclIndexObj.c for greater clarity and to make it more likely to work on various Cray machines where char* is not a basic C type! file: 3e513bf1aa check-in: [2fb96dfb8f] user: dkf branch: dkf-64bit-support-branch, size: 14415
2001-09-27
13:49
Backing out unwise changes file: 7ec880934e check-in: [4c0c25f627] user: dkf branch: dkf-64bit-support-branch, size: 11167
2001-09-25
16:49
Woo hoo! Builds on one platform (Solaris8/SPARC with SunPro CC) file: d107eb65e2 check-in: [dd2d80954c] user: dkf branch: dkf-64bit-support-branch, size: 11182
2001-08-30
19:02
* generic/tclIndexObj.c: fixed some casting problems that upset Crays. [Bug #419528] (andreasen) file: 8031dc1e95 check-in: [cce6129daa] user: hobbs branch: trunk, size: 11165
19:02
* generic/tclIndexObj.c: fixed some casting problems that upset Crays. [Bug #419528] (andreasen) file: 1746c7e9f3 check-in: [14c2f50f1a] user: hobbs branch: core-8-3-1-branch, size: 11540
2001-05-26
01:25
[Patch #424851]: Faster array searching & obj cleanup file: 5a5b25eca0 check-in: [730cd270f4] user: msofer branch: trunk, size: 11165
2001-04-03
22:54
see backport log in ChangeLog for specific file backports from 8.4aCVS file: 9edf2f8a97 check-in: [6defc375da] user: hobbs branch: core-8-3-1-branch, size: 11540
2000-11-24
11:27
Now correctly test for (and fix) Bug #119082. file: 9535b44d0f check-in: [ec52a943df] user: dkf branch: trunk, size: 11533
2000-11-02
09:20
minor cast changes file: 457c0364e7 check-in: [6804f8f600] user: hobbs branch: trunk, size: 11028
2000-08-07
22:42
* tests/indexObj.test: Added tests using the [testwrongnumargs] command to test Tcl_WrongNumArgs. * generic/tclTest.c (TestWrongNumArgsObjCmd): Added test function for the Tcl_WrongNumArgs function. * generic/tclIndexObj.c (Tcl_WrongNumArgs): Corrected algorithm to not insert a space before the message component when objc == 0 [Bug: 6078]. file: c215f74a21 check-in: [9b1fed9cba] user: ericm branch: trunk, size: 11020
21:33
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Corrected caching of the index ptr to account for offsets != sizeof(char *). [Bug: 5153] file: eea4ef12e8 check-in: [fa0a0bedde] user: hobbs branch: core-8-3-1-branch, size: 10881
2000-06-06
19:34
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Corrected caching of the index ptr to account for offsets != sizeof(char *). [Bug: 5153] file: 490648987a check-in: [23806e51b7] user: hobbs branch: trunk, size: 10876
1999-06-28
23:49
Applied patch from Peter Hardie (with modifications) to fix Tcl_GetIndexFromObj when the key is "". Added test cases and doc note. file: b3f38f12f3 check-in: [4fe945f885] user: redman branch: trunk, size: 10760
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: 7c69a97c6d check-in: [f3b32fb71c] user: stanton branch: trunk, size: 10626
1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: 9298b52371 check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 10630
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: c9b65231ca check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 10605
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: 0176bf62c8 check-in: [196f92fd17] user: stanton branch: trunk, size: 9333
1998-03-26
14:45
Added: Initial revision file: d4a33e3854 check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 9311