Tcl Source Code

All files named ”generic/tclObj.c”
Login

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

History for generic/tclObj.c

2026-10-18
09:45
Fix [7e3f26c748]: with TCL_MEM_DEBUG, the "previously disposed object" check could no longer fire, because freed memory was filled with 0x61 while [f505b17748] changed the marker to 0xE8. Fill freed memory with 0xE8 and use the same marker everywhere (also in tclDisassemble.c and tclPreserve.c, which still compared with 0x61616161). file: 8f15f26a53 check-in: [5495155636] user: serhiy.storchaka branch: memdebug-freed-marker, size: 131774
2026-10-13
08:17
Annoted values and typed variables file: 6719e4c67e check-in: [957c079f46] user: Florentis branch: tip-764_tcl90, size: 134912
2026-08-23
11:04
Error string compaction file: 2be031a9bb check-in: [88c80c8187] user: dkf branch: tip-757, size: 131898
2026-08-09
11:38
Error messages almost all generated via Tcl_PrintfResult family file: 95ae6e8317 check-in: [4b4b6ea188] user: dkf branch: tip-757, size: 131911
2026-07-17
06:50
Use of TIP 757 in many places file: 962e2fbb21 check-in: [2237c55faf] user: dkf branch: tip-757-use, size: 131901
2026-07-04
22:00
Switch TclOO over to using Tcl_PrintfResult as test and demo file: 7ff5b66f83 check-in: [44ceac0276] user: dkf branch: tip-757, size: 131984
2026-06-13
15:56
Indentation corrections file: a4fce78773 check-in: [5728419ce1] user: dkf branch: main, size: 132032
2026-05-28
12:13
Merge 9.0. Formatting file: e3ed69be67 check-in: [8e78be4610] user: jan.nijtmans branch: main, size: 132033
2026-05-26
21:53
Fix [7da6c2d04c]: fileevent poor performance due to shimmering. Same pattern in a lot of other places file: 7be30e2a74 check-in: [c26a56dd82] user: jan.nijtmans branch: main, size: 132027
2026-05-11
08:09
Clean up places missed file: be002a8107 check-in: [b12c59c368] user: dkf branch: c11-array-literals, size: 132046
2026-05-04
07:48
Slightly better way of writing an error path file: 8a9fbd7b85 check-in: [20f274456c] user: dkf branch: main, size: 132040
2026-04-30
14:52
Fix formatting of function-level comments file: 1a3f07ab04 check-in: [3dc5544544] user: dkf branch: main, size: 132072
2026-04-09
19:54
Add a macro to declare a variable as 'used' when the compiler can't see it. For when TCL_UNUSED isn't so suitable. file: bf2914225d check-in: [a41f6993bb] user: dkf branch: tcl-used, size: 130982
2026-03-22
12:57
More whitespace fixes file: fd49848996 check-in: [c65a7aa504] user: dkf branch: main, size: 132109
11:13
Some whitespace corrections. Totally minor. file: fcbac9b597 check-in: [01727bb939] user: dkf branch: main, size: 132090
2026-02-23
09:17
Rebase to trunk. More bool's file: 80db777e4d check-in: [e0b054564f] user: jan.nijtmans branch: tip-748, size: 132111
2026-02-14
16:39
General whitespace fixes. No semantic changes. file: 70aa79e687 check-in: [af2708b4ef] user: dkf branch: main, size: 132102
2025-12-29
21:49
Rebase to trunk file: d1c0569c63 check-in: [4bc0680742] user: jan.nijtmans branch: tip-748, size: 132100
2025-12-15
13:34
Rebase to trunk file: 2c566b71fe check-in: [f69efd5ab6] user: jan.nijtmans branch: attemptgetstring, size: 135720
2025-12-04
17:12
More signature changes to 'bool' file: 306c886726 check-in: [4aeb62cdab] user: jan.nijtmans branch: tip-748, size: 131879
2025-11-30
21:02
Rebase to trunk file: 265baab322 check-in: [60b44be862] user: jan.nijtmans branch: tip-626, size: 132098
12:57
Better comments on the Tcl_ObjType instances file: 39e9fb639c check-in: [44e8e5ff97] user: dkf branch: main, size: 131877
2025-11-28
16:09
Minor changes: whitespace/formatting improvements. file: 149ea606b3 check-in: [32db600597] user: dkf branch: main, size: 132248
2025-11-21
14:19
Yet more restrict of arguments file: 787f39e45b check-in: [0549feab22] user: dkf branch: c11-restrict, size: 132313
2025-11-18
17:15
Work in progress: adding restrict to OUT arguments file: 56c6f82212 check-in: [f9725400dd] user: dkf branch: c11-restrict, size: 132295
2025-11-17
09:18
merge trunk file: f79c10e88a check-in: [8d7f54a91b] user: dkf branch: c11-automarker, size: 132072
2025-11-15
21:56
merge trunk file: b266c63172 check-in: [459669e809] user: dkf branch: c-std-update, size: 130932
2025-11-10
19:39
merge bug-8dd2807066d7-8.6-tbfo: fixes Tcl_TakeBignumFromObj() [8dd2807066d7] - avoid moving of bignum representation if object has no string representation (do copy in this case, e. g. to retain object as it is and stop EIAS violation) file: 39b70fbfff check-in: [bfb168fd5a] user: sebres branch: bug-8dd2807066d7-9.0-minmax, size: 134340
19:25
fixes Tcl_TakeBignumFromObj() [8dd2807066d7] - avoid moving of bignum representation if object has no string representation (do copy in this case, e. g. to retain object as it is and stop EIAS violation) file: 024d687ee3 check-in: [57ed005b52] user: sebres branch: bug-8dd2807066d7-8.6-tbfo, size: 131247
09:50
merge trunk file: b06ca547ab check-in: [99af258fc1] user: dkf branch: enums-3, size: 132266
2025-11-09
14:12
merge trunk file: d07d10837a check-in: [c495403a16] user: dkf branch: c11-printf-result, size: 132105
2025-10-30
16:45
Rebase to trunk file: c750922abb check-in: [ac26ccdcec] user: jan.nijtmans branch: tip-626, size: 132480
14:23
Rebase to trunk file: 1a76d6aa26 check-in: [f1175f4029] user: jan.nijtmans branch: attemptgetstring, size: 135881
2025-10-27
14:35
More booleans file: c7e016da61 check-in: [c3432ca23e] user: dkf branch: c11-bool, size: 132284
09:07
Extend the use of the FOREACH_HASH macro set Tcl-wide file: b9b769c2bb check-in: [f4fafa6feb] user: dkf branch: c11-full-hash-foreach, size: 131646
2025-10-24
11:51
Make the bool type available properly (and reduce include duplication). Be careful though; C23 deprecates that header. file: a6f7fcf94c check-in: [bd8805313f] user: jan.nijtmans branch: core-9-0-branch, size: 134339
2025-10-10
14:11
Tranche 3 of adoption of bool file: 1be8ed1084 check-in: [6e7e183bb2] user: dkf branch: c11-bool, size: 132275
2025-10-06
18:03
Turn initialisation flags into bools file: efbfcca100 check-in: [85f3db92e2] user: dkf branch: c11-bool, size: 132236
15:52
Make the bool type available properly (and reduce include duplication). Be careful though; C23 deprecates that header. file: d6cc885281 check-in: [fa8b63f0c3] user: dkf branch: c11-bool, size: 132259
2025-10-05
19:26
Tranche 3 of adoption of TclPrintfResult file: ae1604df3e check-in: [3aa1ace500] user: dkf branch: c11-printf-result, size: 132125
10:38
Tranche 2 of adoption of TclPrintfResult file: 5f4df3ee17 check-in: [9a6fb43196] user: dkf branch: c11-printf-result, size: 132165
2025-10-03
11:47
Use C11 macros to automatically add a NULL to the end of varargs sequences file: ee05cd45a3 check-in: [9c524e00d4] user: dkf branch: c11-automarker, size: 132092
2025-09-27
08:29
Fix errors from merge file: d2d2cae84d check-in: [de99b4dd08] user: dkf branch: c-std-update, size: 130952
2025-09-26
18:53
merge trunk file: 0a23cdc97e check-in: [f0dcb3e615] user: dkf branch: c-std-update, size: 131466
2025-09-23
16:11
Rebase to trunk file: 68dbdfdc33 check-in: [02a7870070] user: jan.nijtmans branch: tip-626, size: 132500
2025-09-09
09:58
Eliminate TclOOM() file: 1fb5024bff check-in: [ec36f4bc87] user: jan.nijtmans branch: attemptgetstring, size: 135901
2025-09-08
09:05
Merge 9.0 file: c71d29dc07 check-in: [2cba9a7a01] user: jan.nijtmans branch: main, size: 132279
2025-09-07
16:31
More refactoring file: 6321e4af03 check-in: [e3eee74621] user: jan.nijtmans branch: bug-0439e1e1a3, size: 134359
10:11
More follow-up to [0439e1e1a3]: Slow detection of illegal expr argument, some refactoring file: 03b972efce check-in: [eda10ad40c] user: jan.nijtmans branch: bug-0439e1e1a3, size: 134812
2025-09-06
10:35
More follow-up to [0439e1e1a3]: Slow detection of illegal expr argument. More functions which can benefit from this file: a233bc5c92 check-in: [afd59a5bdf] user: jan.nijtmans branch: mistake, size: 137817
2025-09-05
19:56
Second reworking of Tcl_GetNumberFromObj(), incorporating review comments. file: ee87cae402 check-in: [7f71ab16f4] user: dgp branch: bug-10545687da, size: 138336
14:43
Merge 9.0 file: da62faee4f check-in: [f09aabc11f] user: jan.nijtmans branch: main, size: 134250
14:37
Fix [2a14c349a8]: inconsistant error-message inTcl_GetNumberFromObj(). With testcase file: bd1e4a8857 check-in: [e65b6e9dbe] user: jan.nijtmans branch: core-9-0-branch, size: 136314
07:08
Introduce Tcl_AttemptGetCharLength() file: 38b50465fa check-in: [24bb637dd2] user: jan.nijtmans branch: attemptgetstring, size: 138188
2025-09-04
19:12
[10545687da] Re-order efficiency shortcuts in Tcl_GetNumberFromObj(). file: 5f073d016e check-in: [f62f0e905f] user: dgp branch: bug-10545687da, size: 137070
17:57
[5927f87da3] Remove outdated limit on argument size. file: e95aa6d5e8 check-in: [9d7abdb5ca] user: dgp branch: bug-5927f87da3, size: 136319
2025-09-01
13:53
(partial) merge trunk file: c7cd7413f4 check-in: [893e489e6e] user: jan.nijtmans branch: tip-626, size: 134721
2025-08-27
21:51
Fix double Tcl_Alloc define. Tweak allocation lengths reporting file: b5881f1ace check-in: [14260b03d4] user: jan.nijtmans branch: attemptgetstring, size: 138348
15:38
Rebase to latest trunk file: 492d732282 check-in: [6399ade2e2] user: jan.nijtmans branch: attemptgetstring, size: 138340
2025-08-12
09:06
More booleans. file: 0160ef60a4 check-in: [8a9080996d] user: dkf branch: c-std-update, size: 133342
2025-08-01
11:48
More moving of variable declarations file: 7b99a484bd check-in: [1d20e4cf45] user: dkf branch: c-std-update, size: 133324
2025-07-19
12:31
More moving of variable declarations file: 597f5f7799 check-in: [c149575323] user: dkf branch: c-std-update, size: 133857
2025-07-14
14:26
TclSetErrorCode lets us avoid writing a lot of marker values file: 6d5c6b8c3c check-in: [a29f1f8fab] user: dkf branch: c-std-update, size: 133904
2025-07-12
20:58
Define TclPrintfResult() for common pattern in error generation. file: 75713995da check-in: [70b6205548] user: dkf branch: c-std-update, size: 134106
2025-06-20
13:15
Give each TSD struct its own name as well as the standard ThreadSpecificData file: 1bbefea4dd check-in: [8d695d0eb6] user: dkf branch: c-std-update, size: 134527
2025-06-17
10:58
Convert many flag/magic value definitions to enums file: 2dda1d01a4 check-in: [22da1fece6] user: dkf branch: enums-3, size: 134507
2025-05-26
12:59
Add some more Tcl_Attempt* functions file: 99e6f78c0e check-in: [3c0642b89c] user: jan.nijtmans branch: attemptgetstring, size: 138334
2025-05-23
09:24
Rebase to trunk file: bb1a755bea check-in: [db81c145b2] user: jan.nijtmans branch: attemptgetstring, size: 137481
09:03
Clean up indentation and overlong lines file: f1a1ab5c18 check-in: [71f3f24f7b] user: dkf branch: main, size: 134500
2025-05-20
09:28
Rebase to attemptgetstring file: 2a56e1a5b6 check-in: [70e5788e19] user: jan.nijtmans branch: tip-626, size: 137900
2025-05-15
15:14
New function Tcl_AttemptGetString(). WIP file: 21bf01a914 check-in: [68a2b7038d] user: jan.nijtmans branch: attemptgetstring, size: 137679
2025-05-13
15:58
Merge trunk file: c977d78224 check-in: [06cca012b7] user: jan.nijtmans branch: attemptcreatehashentry, size: 134698
2025-05-12
11:33
Remove Tcl_GetString() stub entry: it isn't used anywhere any more file: 68640cf0d3 check-in: [fdcf6c024c] user: jan.nijtmans branch: main, size: 134696
2025-05-06
09:06
Change implementation, using 2 new stub entries file: 478ab1e9d7 check-in: [46f7908c62] user: jan.nijtmans branch: attemptcreatehashentry, size: 136496
2025-05-02
10:36
Proposed fix for [9899c2]: Tcl_InitStringRep design issues. Since this introduces a new Tcl_AttemptInitStringRep(), we need a TIP for that. file: e68b5505ed check-in: [e9231a4d4b] user: jan.nijtmans branch: mistake, size: 136525
08:00
Deprecate (internal) TclVarHashCreateVar() function. It isn't (and shouldn't) be used by any extension. file: 3b201a3dbb check-in: [816e9ddf1b] user: jan.nijtmans branch: main, size: 136494
2025-04-16
14:28
Rebase to TIP #717 file: 86952eb509 check-in: [c381d23c19] user: jan.nijtmans branch: tip-626, size: 136732
2025-04-13
22:16
Implement Tcl_AttemptCreateHashEntry() file: 9c065b0567 check-in: [e228d80514] user: jan.nijtmans branch: attemptcreatehashentry, size: 136511
21:37
Fully functional now, with a lot of examples for the improvement. Also, merge trunk file: 98ba243b63 check-in: [fcbb032b58] user: jan.nijtmans branch: tkt-236d18f49b, size: 136491
2025-04-02
08:52
Another round of -Wconversion fixes file: abfaf0d008 check-in: [357b91880a] user: jan.nijtmans branch: main, size: 136509
2025-04-01
13:18
Another round of -Wconversion fixes file: 594fbdd08d check-in: [3b8dc10929] user: jan.nijtmans branch: tip-626, size: 136514
2025-03-04
16:45
Rebase to 9.1 file: 6cd2886291 check-in: [f3e5cd43bf] user: jan.nijtmans branch: tip-626, size: 136501
2025-03-03
09:41
Fix bug in Tcl_SetWideUIntObj. file: 54b190874a check-in: [f9aef122bf] user: dkf branch: core-9-0-branch, size: 136564
09:40
Fix bug in Tcl_SetWideUIntObj. file: 5cca7de4dd check-in: [c788185716] user: dkf branch: core-8-branch, size: 143326
09:33
Mostly whitespace fixes, but also a bug in Tcl_SetWideUIntObj file: 38ac6df6f8 check-in: [16c040e40a] user: dkf branch: main, size: 136496
2025-03-02
20:50
Merge 9.1 file: 9961e640d0 check-in: [6f0eac8f6d] user: jan.nijtmans branch: tip-626, size: 136506
15:48
Bunch of whitespace basic fixes. file: b785d7383b check-in: [809d595b56] user: dkf branch: main, size: 136501
2025-02-11
17:10
More bits and pieces of functions file: 108255195c check-in: [f94ca90326] user: dkf branch: inline-func, size: 136471
2025-01-20
14:39
Fixes for many many whitespace infelicities file: 84620259a6 check-in: [ba7d219e65] user: dkf branch: whitespace-fix, size: 136299
2025-01-13
09:59
More macros for measuring literals at compile time, and a shortcut for adding to error info file: c59e4f2274 check-in: [43e1c33e9e] user: dkf branch: dkf-c11-features, size: 135945
2025-01-10
13:01
Add TclPrintfResult() for easy error message generation file: 5e2100dd98 check-in: [665eb99f69] user: dkf branch: dkf-c11-features, size: 135937
2025-01-09
09:30
TclSetErrorCode is a macro to end-mark Tcl_SetErrorCode file: 90282bbf1c check-in: [0e84f9c9df] user: dkf branch: dkf-c11-features, size: 136357
2024-12-01
23:01
Experiment: simplify internal representation notation file: ad3c2ad71b check-in: [bf30412994] user: jan.nijtmans branch: intrep-simpl, size: 136231
2024-11-12
12:10
backout [b569739692]: [02977e0004] Reduce impact of recursion depth bug. Remove some unneeded typecasts. Some int -> Tcl_Size file: fe13ddd006 check-in: [e1e7f93e74] user: jan.nijtmans branch: core-8-branch, size: 143321
2024-10-30
20:58
Merge [7209ffe4b0086e82]: (void *)NULL -> (char *)NULL, where appropriate. file: c137f9868f check-in: [252c8c207f] user: pooryorick branch: unchained, size: 141987
2024-10-25
20:37
Merge 9.0 file: 4d0a68f566 check-in: [714fb05eb4] user: jan.nijtmans branch: tip-626, size: 136564
10:54
(void *)NULL -> (char *)NULL, where appropriate file: d5de5df6af check-in: [7209ffe4b0] user: jan.nijtmans branch: main, size: 136559
10:29
Merge 9.0 file: 1e2a38e22e check-in: [1a0a37af7e] user: jan.nijtmans branch: tip-626, size: 136564
09:56
Merge 9.0 (9.0.0 release) file: f02a73fa92 check-in: [8523e01f8f] user: jan.nijtmans branch: tip-626, size: 134735
2024-10-16
14:14
Merge [a618dcb27007fabd]: Follow-up for [0439e1e1a3]: Slow detection of illegal expr argument. Same fix in more places. Only use "list" for real lists. file: e2e1b0d39a check-in: [e6bb32f3f4] user: pooryorick branch: unchained, size: 141987
2024-10-08
13:19
Rebase to 9.0 file: 1541f54c52 check-in: [167e636990] user: jan.nijtmans branch: bug-0439e1e1a3, size: 136559
2024-10-07
22:00
Merge [ce43f9d4364610ba]: Sync test suite to latest code change. In Tcl_GetNumberFromObj() change the dictionary length check from > 1 to > 0 to determine whether the value can be parsed as a number, and make corresponding changes in tclObj.c and expr.test. file: 4c76d4d907 check-in: [2f13a1cf93] user: pooryorick branch: unchained, size: 140500
21:47
In Tcl_GetNumberFromObj() change the dictionary length check from > 1 to > 0 to determine whether the value can be parsed as a number, and make corresponding changes in tclObj.c and expr.test. file: e5562d61ca check-in: [6671214b3b] user: pooryorick branch: main, size: 134730
20:12
Merge [53e5096b315bd094]: Modify fix for [0439e1e1a3], no conversion to list any more. Reported by AKU. file: 83e26b9814 check-in: [64845eec91] user: pooryorick branch: unchained, size: 140500
2024-09-25
22:09
TclMaxListLength() is already checked for within SetDoubeFromAny() file: f27887857a check-in: [73bd3c5996] user: jan.nijtmans branch: bug-0439e1e1a3, size: 136559
21:45
Code de-duplication, move it to TclParseNumber() file: ca92c5a6dc check-in: [beb6a2bf05] user: jan.nijtmans branch: bug-0439e1e1a3, size: 136820
08:34
Rebase to 9.0 file: 7bfd758767 check-in: [09370a59d0] user: jan.nijtmans branch: bug-0439e1e1a3, size: 137799
07:38
Modify fix for [0439e1e1a3], no conversion to list any more. Reported by AKU. file: 206acc990b check-in: [53e5096b31] user: jan.nijtmans branch: main, size: 134730
2024-09-24
21:46
Merge 9.0. Use TclMaxListLength() to determine error-message in stead of converting to a list file: 591e8b1400 check-in: [1870ed5dd9] user: jan.nijtmans branch: bug-0439e1e1a3, size: 137804
2024-09-03
08:56
Add "Ptr" suffix to Tcl_ObjType pointers, and fix one spot where the address of the pointer was used instead of the pointer. file: 875d848793 check-in: [79838d0b45] user: pooryorick branch: unchained, size: 140502
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: 2f2512d119 check-in: [7b2556cdbe] user: pooryorick branch: unchained, size: 140378
16:10
Merge [a197811f135d262b]: Fix [0439e1e1a3]: Slow detection of illegal expr argument. file: ec5add346a check-in: [244c834170] user: pooryorick branch: unchained, size: 140332
16:06
Merge [d5e6cd4e4ed969fe]: TclGetStringFromObj() cannot be used here. file: 82f7a52191 check-in: [683d3a079f] user: pooryorick branch: unchained, size: 139568
15:54
Merge [f51002bb16d4fac0]: Tcl_RegisterObjType() in alphabetical order. Backport some formatting and type-casts from 8.7/9.0 . file: 3d3297d6b5 check-in: [9500762af3] user: pooryorick branch: unchained, size: 139565
2024-08-29
20:51
Merge [79b61f8d84da6c94]: Random indent fixes. file: 77f36666cf check-in: [35718ebf95] user: pooryorick branch: unchained, size: 139451
2024-08-28
22:08
Merge [b0caf377fc292002]: Another round of sentinel improvements. file: ba86f01e99 check-in: [f34f26f893] user: pooryorick branch: unchained, size: 139448
16:33
Merge [3a60363aa10ef993]: Clean up a lot of whitespace issues. file: f8f36c0d61 check-in: [627781a6db] user: pooryorick branch: unchained, size: 139448
2024-08-27
21:31
Merge [835b1a5566c28af4]: More whitespace cleanup. file: ad305c920a check-in: [fc7d06c8b8] user: pooryorick branch: unchained, size: 140514
14:35
Merge [562eb97b9af98b90]: TIP #648: New functions Tcl_NewWideUIntObj()/Tcl_SetWideUIntObj(). file: 0e0005bb75 check-in: [89a2361fea] user: pooryorick branch: unchained, size: 140514
13:50
Merge [c3c498a6a853f3b8]: amend to [82f721a5a039596f]: the bug was fixed incompletely, this is full bug fix now - don't allow direct compare if keys contain values rather than pointers; introduced new hash-key type flag TCL_HASH_KEY_DIRECT_COMPARE... I know it is public interface, but the bug is grave, and I don't know how one could fix it without that, by retaining same performance for pointer hashes (e. g. vars, dicts and all of TclObjs). file: 50dffd91ed check-in: [e5834e3f71] user: pooryorick branch: unchained, size: 138915
10:40
Merge [22cb6d973e5b8327]: Use TclHasInternalRep() macro in more places. file: d66c7bb7ef check-in: [17b13231f6] user: pooryorick branch: unchained, size: 138867
2024-08-26
09:45
Merge [1fbff64078d7fb02]: Fix indentation/brace usage style issues. file: 22d4bc9d62 check-in: [bd3faf4a67] user: pooryorick branch: unchained, size: 138605
05:51
Merge [ccb8b211056a2d3d]: "More int -> Tcl_Size". Also remove TclGetStringFromObj() macro and remove TclGetStringFromObj() from stubs table. file: 78445961dc check-in: [6c9f78a3df] user: pooryorick branch: unchained, size: 138593
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: c56df0907c check-in: [891803cf8c] user: pooryorick branch: unchained, size: 138616
12:23
Merge [81f618acc3c711cc]: " Fix gcc 13.2.1 (Fedora 39.1) warning: Writing of 1 byte into a region of size 0 [-Wstringop-overflow=]" and "Some int -> Tcl_Size" file: 0c4c16e22a check-in: [5f110ca7c4] user: pooryorick branch: unchained, size: 138617
2024-08-24
09:17
Merge [8acd6fd939d1f312]: TIP #653: Handle consumed data of channel commands in case of encoding errors. file: 1dfc8083e3 check-in: [02cb346aa3] user: pooryorick branch: unchained, size: 138643
2024-08-23
14:43
Merge [b7e48b4f00d8e784]: Revise macro usage. file: d806edb189 check-in: [9308ee47da] user: pooryorick branch: unchained, size: 138644
2024-08-22
21:12
Merge [506bbed9ce503ee0]: Remaining fixes for [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usage. file: a36382fd92 check-in: [e700392910] user: pooryorick branch: unchained, size: 138432
20:52
Merge [f67f60d202716adf]: Fix [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usage; Handle any C++-compiler as well. file: d496a10439 check-in: [e18c9ab9f6] user: pooryorick branch: unchained, size: 138445
18:59
Merge [f1543f19f80d7261]: Add more Tcl_Size and size_t. file: 1c40f0a634 check-in: [db9f3230e9] user: pooryorick branch: unchained, size: 138349
14:57
Merge [58e6110df1f76634]: "Fix fileSystem-1.38 to not assume all volumes are drives" and "Fix (actually benign) gcc warning below about writing past array bound." file: e66b85f539 check-in: [02c78ca2f2] user: pooryorick branch: unchained, size: 138363
09:11
Merge [410d0ff3eb5e0b31], "Bug [f5e36eb588] - uncompiled lassign memory usage for lseq". Replace Tcl_ObjInterfaceSetFnListSetFlat with Tcl_ObjInterfaceSetFnListSetDeep, and change the signatures of Tcl_ObjInterfaceSetFnListSet and Tcl_ObjInterfaceSetFnListSetDeep. Make all Tcl_Obj interface functions return a standard Tcl value. file: 131943e939 check-in: [89d323ba4d] user: pooryorick branch: unchained, size: 138363
2024-08-20
20:04
Merge [d24c3420fa4add26], TIP #665: Remove support for internal utf-16. file: 7ecfdc9fc2 check-in: [77d9dffc85] user: pooryorick branch: unchained, size: 138314
12:42
Merge [df58824c7868a07c], "Rename Tcl_BumpObj() to Tcl_BounceRefCount()", and resolve conflicts. file: 2e6eb42e2e check-in: [bc1a80b60c] user: pooryorick branch: unchained, size: 138585
11:32
Merge [e302bd84c3b55323], "Implement in,ni operator for abstract lists". Note how much more concise this merge ino the unchained branch is than the original work due to the fact that the function lookup table is hidden so that there is no need to adjust the Tcl_ObjType structures all over the place, and no need to version the Tcl_ObjType or Tcl_Obj structures. file: 963c17d2fa check-in: [348b135fde] user: pooryorick branch: unchained, size: 139046
2024-08-19
16:03
Merge [354b22cef810c880], " Add (hopefully confincing) testcase for bug [e58d7e19e9]" and resolve conflicts. Add string.isEmpty interface for Tcl_Obj values and modify TclCheckEmptyString to use it. Also modify TclCheckEmptyString to accept a Tcl_Interp arg and return a standard Tcl result. file: 159551a6d5 check-in: [be88ae27ad] user: pooryorick branch: unchained, size: 139021
2024-08-18
02:26
Merge [336125e9e807df1c], A bunch of 64 bit fixes (int->Tcl_Size) and the like.Merge [336125e9e807df1c], A bunch of 64 bit fixes (int->Tcl_Size) and the like. file: 5990e911da check-in: [cee62ab600] user: pooryorick branch: unchained, size: 138797
00:11
Merge [ae23b0ea9611d93a], "Fix bug [c25d2cd3e6], as well as memory leaks in lsearch and concat." Add "IsEmpty" to string interface API. Use API to create ObjectInterface structures instead of literal struct code segments. file: 3a0a288d83 check-in: [0a30282ca7] user: pooryorick branch: unchained, size: 138757
2024-08-17
22:44
Merge 9.0 file: 3716d1cfd0 check-in: [ee93993470] user: jan.nijtmans branch: tip-626, size: 134737
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: 0376a7350e check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 138767
2024-07-09
13:37
[0439e1e1a3]: Slow detection of illegal expr argument. Handle more of the same. file: ba7d34e991 check-in: [5d33330757] user: jan.nijtmans branch: bug-0439e1e1a3, size: 137809
2024-07-08
16:32
Remaining can't -> cannot changes file: ee422386ae check-in: [9f35c75244] user: jan.nijtmans branch: bug-0439e1e1a3, size: 134733
2024-07-07
13:40
Improvement: If objPtr can be represented as a list and has >1 elements, give a slightly different error-message which doesn't contain the string representation any more: this string representation could be long file: 3d89862339 check-in: [652f1b78f5] user: jan.nijtmans branch: bug-0439e1e1a3, size: 134732
2024-07-05
10:00
Possible fix for [0439e1e1a3]: Slow detection of illegal expr argument file: bfeb8e2bf4 check-in: [3dd367db1c] user: jan.nijtmans branch: bug-0439e1e1a3, size: 134226
2024-07-03
15:37
Rebase to 9.0 file: 16b4cbeb44 check-in: [591c7080c6] user: jan.nijtmans branch: bug-b5bd08df8d-jn, size: 134089
15:36
TclGetStringFromObj() cannot be used here file: bd750f4c46 check-in: [d5e6cd4e4e] user: jan.nijtmans branch: main, size: 133968
13:52
Add only "bignum", "boolean" and "int": those have a Python corresponding type, the others don't have. file: 261d19b5f8 check-in: [92a0f8ef91] user: jan.nijtmans branch: bug-b5bd08df8d-jn, size: 134086
13:28
Merge 8.7 file: 297022c2c4 check-in: [f51002bb16] user: jan.nijtmans branch: main, size: 133965
13:09
Merge 8.6 file: 7c7f7ce1be check-in: [e715cf23da] user: jan.nijtmans branch: core-8-branch, size: 143329
12:34
Tcl_RegisterObjType() in alphabetical order. Backport some formatting and type-casts from 8.7/9.0 file: c0c47aa28c check-in: [3f5699efd2] user: jan.nijtmans branch: core-8-6-branch, size: 131144
2024-07-02
09:54
Experiment: Add "bool" and "index" support to Tcl_GetNumberFromObj(). No flags modifying behavior. file: c403760055 check-in: [b3b48572b2] user: jan.nijtmans branch: get-number-with-bool-and-index, size: 134788
2024-07-01
15:48
Register all core object types. See [b5bd08df8d]. file: 6f2a22d8ef check-in: [a15996aa45] user: culler branch: bug-b5bd08df8d, size: 134557
2024-06-27
22:28
Merge 9.0 file: b4db0c2f80 check-in: [a3d20af5ba] user: jan.nijtmans branch: tip-626, size: 134308
21:50
Merge 8.7. Random indent fixes file: 5b6cfe250c check-in: [79b61f8d84] user: jan.nijtmans branch: main, size: 134303
07:46
Merge unchained [16c46aa0ac5d85f0]. file: c1fcaf380a check-in: [7751515578] user: pooryorick branch: pyk-objinterface, size: 138013
2024-06-12
08:47
Merge [fab05e2102] (core-8-branch): More Tcl_Size. file: 7eee8341bd check-in: [bcf6945c28] user: pooryorick branch: unchained, size: 136584
2024-06-07
11:31
Merge 9.0 file: ec95dd9355 check-in: [84ae5008cc] user: jan.nijtmans branch: tip-626, size: 134819
2024-05-29
19:14
Another round of sentinel fixes for 8.6, NULL -> (char *)NULL file: 2faf8eb416 check-in: [4a1e38600e] user: jan.nijtmans branch: core-8-6-branch, size: 131664
2024-05-28
12:38
Make TclGlob() a static function. Sentinel/indenting/comment improvements (all backported from 8.7) file: bbae5db24b check-in: [5f6c7373c1] user: jan.nijtmans branch: core-8-6-branch, size: 131576
2024-05-27
21:15
Merge 8.7 file: e8ebc1dce6 check-in: [b0caf377fc] user: jan.nijtmans branch: main, size: 134814
21:04
Another round of sentinel improvements file: 678cbdb105 check-in: [a688bb7213] user: jan.nijtmans branch: core-8-branch, size: 144184
20:19
Some more functions for lists, a bit like the ones for dicts file: bbec2943e8 check-in: [80e4f71f99] user: dkf branch: dkf/experimental-more-list-c-funcs, size: 131540
2024-05-23
08:53
More trickery with macros file: a91f654ada check-in: [a3f9c1bec2] user: dkf branch: more-macros, size: 134336
2024-05-21
22:06
Merge 9.0 file: 1794747f51 check-in: [e906cead78] user: jan.nijtmans branch: tip-626, size: 134819
2024-05-20
16:38
merge trunk file: c8d9fad480 check-in: [3fd88cd4cd] user: dkf branch: result-helpers, size: 134365
2024-05-14
16:06
Add helper macros TclSetResult and TclPrintfResult file: 5e072de33f check-in: [0b65fb9e0c] user: dkf branch: result-helpers, size: 133463
2024-05-13
15:41
Clean up a lot of small whitespace issues This is the dullest commit ever. Sorry. file: 2df4b1af25 check-in: [3a60363aa1] user: dkf branch: main, size: 133744
2024-05-10
15:40
More whitespace cleanup file: 43b0ab5b2d check-in: [835b1a5566] user: dkf branch: main, size: 134814
2024-05-03
13:26
Merge 9.0 file: 2f43372d9f check-in: [58f49ce426] user: jan.nijtmans branch: tip-626, size: 134821
2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: d59a27f6b2 check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 132084
2024-04-20
22:23
TIP #648: New functions Tcl_NewWideUIntObj()/Tcl_SetWideUIntObj() file: 04d64828b3 check-in: [562eb97b9a] user: jan.nijtmans branch: main, size: 134816
16:52
TIP #648: New functions Tcl_NewWideUIntObj()/Tcl_SetWideUIntObj() file: a2d04ea717 check-in: [dbe94fba12] user: jan.nijtmans branch: core-8-branch, size: 144184
2024-04-14
14:05
Merge 9.0 file: dcbe4d4293 check-in: [1861587f45] user: jan.nijtmans branch: tip-626, size: 133222
2024-04-12
21:59
merge 8.7 file: 2771e5db6f check-in: [c3c498a6a8] user: sebres branch: main, size: 133217
21:51
merge 8.6 file: 2202c4f3c0 check-in: [299f7305e2] user: sebres branch: core-8-branch, size: 142585
21:44
merge 8.5, amend to [82f721a5a039596f]: the bug was fixed incompletely, this is full bug fix now - don't allow direct compare if keys contain values rather than pointers; introduced new hash-key type flag TCL_HASH_KEY_DIRECT_COMPARE... I know it is public interface, but the bug is grave, and I don't know how one could fix it without that, by retaining same performance for pointer hashes (e. g. vars, dicts and all of TclObjs). file: 17db5095d6 check-in: [60b20a870f] user: sebres branch: core-8-6-branch, size: 131549
21:13
amend to [295b0570ff660950]: the bug was fixed incompletely, this is full bug fix now - don't allow direct compare if keys contain values rather than pointers. introduced new hash-key type flag TCL_HASH_KEY_DIRECT_COMPARE... I know it is public interface, but the bug is grave, and I don't know how one could fix it without that, by retaining same performance for pointer hashes (e. g. vars, dicts and all of TclObjs). file: 02c1de99de check-in: [969a185ea4] user: sebres branch: core-8-5-branch, size: 125368
2024-04-10
15:26
Merge 8.7 file: adf2d033e4 check-in: [22cb6d973e] user: jan.nijtmans branch: main, size: 133169
14:47
Merge 8.6 Use TclHasInternalRep() macro in more places. file: 4e931aa736 check-in: [d326acc1c9] user: jan.nijtmans branch: core-8-branch, size: 142537
2024-04-08
11:34
Revive TIP #648 file: 4b46b6da3f check-in: [74664985a4] user: jan.nijtmans branch: tip-648, size: 134506
2024-04-01
20:48
Merge 9.0 file: 15e097dce6 check-in: [d4eee66f60] user: jan.nijtmans branch: tip-626, size: 132912
2024-03-21
13:55
Merge 8.7. Tcl_GetStringFromObj() -> TclGetStringFromObj() (optimization) file: 27e7461712 check-in: [28e5e230b6] user: jan.nijtmans branch: main, size: 132907
12:57
Formatting/indenting file: e781f2043f check-in: [1dd169510a] user: jan.nijtmans branch: core-8-branch, size: 142275
2024-03-20
14:27
Merge 9.0 file: e5a39dbfde check-in: [4271f3b52a] user: jan.nijtmans branch: tip-626, size: 132913
2024-03-19
14:56
Fix indentation/brace usage style issues file: b7c8758ead check-in: [1fbff64078] user: dkf branch: main, size: 132908
2024-03-13
17:11
Merge 9.0 file: ce56e5d832 check-in: [a29cf046b8] user: jan.nijtmans branch: tip-626, size: 132901
09:45
Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6 file: 3f43444ce5 check-in: [c575f9dc00] user: jan.nijtmans branch: core-8-branch, size: 142278
2024-03-12
21:24
Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too. file: e2c33d4ba4 check-in: [63d442cdc0] user: jan.nijtmans branch: main, size: 132896
08:56
Restore the TclGetStringFromObj() macro in tclInt.h as it was in 8.6/8.7 file: 8b9b9b1e0f check-in: [492234e274] user: jan.nijtmans branch: main, size: 132897
2024-02-12
12:45
Merge 9.0 file: 73aa9cfc3a check-in: [21764a7a92] user: jan.nijtmans branch: tip-626, size: 132875
2024-02-08
16:36
Merge 8.7 file: a0f90dd73c check-in: [81f618acc3] user: jan.nijtmans branch: main, size: 132870
16:25
Merge 8.6. Some int -> Tcl_Size file: 9a3335d8fd check-in: [ae7eb5c8b2] user: jan.nijtmans branch: core-8-branch, size: 142279
16:11
Fix gcc 13.2.1 (Fedora 39.1) warning: Writing of 1 byte into a region of size 0 [-Wstringop-overflow=] file: 3f6800650c check-in: [abece1f21f] user: jan.nijtmans branch: core-8-6-branch, size: 131501
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: 349f698931 check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 132906
2023-11-24
13:28
Merge 9.0 file: 492229382a check-in: [96e43e34f3] user: jan.nijtmans branch: tip-626, size: 132901
2023-11-16
23:21
Revise macro usage file: ba683d5245 check-in: [b7e48b4f00] user: jan.nijtmans branch: main, size: 132896
2023-10-22
19:56
Merge 9.0 file: 19b9304e16 check-in: [f107021263] user: jan.nijtmans branch: tip-626, size: 132689
19:49
Remaining fixes for [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usage file: 7615b8177c check-in: [506bbed9ce] user: jan.nijtmans branch: main, size: 132684
2023-10-19
18:48
Merge 8.7 file: 4c788ce75c check-in: [f67f60d202] user: jan.nijtmans branch: main, size: 132697
2023-10-17
06:02
Handle sentinels for any C++ compiler file: 4518a761c0 check-in: [6876d1f99a] user: jan.nijtmans branch: bug-26870862f0, size: 142235
2023-10-10
19:40
Merge 8.7 file: 47c28ba9e9 check-in: [f1543f19f8] user: jan.nijtmans branch: main, size: 132601
2023-09-27
07:46
Merge 9.0 file: cfef78fb17 check-in: [95237a74ce] user: jan.nijtmans branch: tip-626, size: 132620
2023-09-25
19:06
Merge 8.7 file: e3ca72bc04 check-in: [58e6110df1] user: apnadkarni branch: main, size: 132615
18:44
Fix (actually benign) gcc warning below about writing past array bound. D:/src/tcltk/wip/tcl/generic/tclObj.c: In function 'ParseBoolean': D:/src/tcltk/wip/tcl/generic/tclObj.c:2329:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2329 | lowerCase[length] = 0; | ~~~~~~~~~~~~~~~~~~^~~ D:/src/tcltk/wip/tcl/generic/tclObj.c:2281:10: note: at offset [-2147483648, -1] into destination object 'lowerCas ' of size 6 2281 | char lowerCase[6]; | ^~~~~~~~~ file: a4608ea206 check-in: [22a57ef1dd] user: apnadkarni branch: core-8-branch, size: 142139
2023-09-13
09:18
Rebase to 9.0 file: 4cdc292788 check-in: [561988be17] user: jan.nijtmans branch: tip-626, size: 132620
2023-09-12
10:11
Merge 8.7 file: baf4a5be83 check-in: [d24c3420fa] user: jan.nijtmans branch: main, size: 132615
07:45
TIP #665: Remove support for internal utf-16 for Tcl 8.7 (and 9.0) file: fc9d98d86f check-in: [f28f0f4b68] user: jan.nijtmans branch: core-8-branch, size: 142139
2023-08-30
14:42
Rebase to 8.7 file: 65af45370a check-in: [19aa3a165e] user: jan.nijtmans branch: tip-666, size: 142220
14:38
Rebase to 8.7 file: 10b9575148 check-in: [6dcc5a1ff0] user: jan.nijtmans branch: tip-665, size: 143813
13:34
Merge 9.0 file: 2c21a65620 check-in: [5de4330b73] user: jan.nijtmans branch: tip-626, size: 132891
2023-08-21
18:07
The experiment deployment of TclDuplicatePureObj() has been reverted from the trunk. This branch attempts to prepare a reversion for the core-8-branch also, via a cherrypick and resolution of conflicts. Starting an experiment in one new release to reject it in the next is at best odd. Also, valgrind test runs of core-8-branch show memory leaks with TclDuplicatePureObj() on the stack trace. This checkin shows a clean valgrind run. There are three test failures on this checkin, which I hope someone versed in the ArithSeries work can resolve. They are the tests: lseq-3.14 lseq-4.19 lseq-bug-54329e39c7 merge bug-bc7ddc7944 (revert use of TclDuplicatePureObj) file: a605b3aee3 check-in: [c66c2fd74d] user: dgp branch: revert-dup-pure, size: 143894
2023-08-10
17:48
Revert DupolicatePureObj back to DuplicateObj. file: c614fe5143 check-in: [a001695bab] user: griffin branch: bug-bc7ddc7944, size: 132886
01:47
Proposed fix for bug-bc7ddc7944 file: 69aa36419e check-in: [239ca4c54c] user: griffin branch: bug-bc7ddc7944, size: 136450
2023-07-29
16:42
Rebase to 9.0 file: d71ffdea2f check-in: [c9b9082483] user: jan.nijtmans branch: tip-626, size: 136423
2023-07-26
11:29
Rebase to 8.7 file: bd8953efdb check-in: [6ed8dddae4] user: jan.nijtmans branch: tip-666, size: 145832
10:32
Rebase to 8.7 file: 78c33e5420 check-in: [b9c1614a3d] user: jan.nijtmans branch: tip-665, size: 147425
2023-07-13
15:42
Backport changes in tclListObj.c from Tcl 9.0 file: 23ce0bc5c4 check-in: [24daba8fd2] user: jan.nijtmans branch: core-8-branch, size: 147506
2023-07-12
15:12
Merge 8.7 file: 9c4c20080b check-in: [70697b205c] user: jan.nijtmans branch: main, size: 136622
15:09
Fix special-case in SetDuplicatePureObj(): Since typePtr is always &tclListType (ALL current calls to TclDuplicatePureObj() have &tclListType as last argument), this constructions can never work. (I'm not sure this code is usefull at all, but that's for another day) file: 137b753af4 check-in: [13d7e0fc55] user: jan.nijtmans branch: core-8-branch, size: 147616
14:43
Merge 8.7 file: 7b1ca8b7a7 check-in: [5fe8a20f26] user: jan.nijtmans branch: main, size: 136613
11:38
Consider 3 more types as special in TclDuplicatePureObj(). Updated comment for the reason why. file: ab25b29d7f check-in: [3f04a9222b] user: jan.nijtmans branch: core-8-branch, size: 147584
2023-07-09
14:47
Permit large scripts > INT_MAX. Not complete because compiler source line tracking still limited. file: b6c70e992b check-in: [f2432558f7] user: apnadkarni branch: apn-fix-scripts64, size: 136418
12:41
Rebase to 8.7 file: 5cd0a75156 check-in: [7bf8d24ff3] user: jan.nijtmans branch: tip-665, size: 147268
2023-06-26
07:24
Merge unchained branch [22400aa71b] and resolve conflicts. file: 82b3223b44 check-in: [961f58e148] user: pooryorick branch: pyk-objinterface, size: 138014
2023-06-21
07:33
Merge 9.0 file: 6c9462a1e9 check-in: [db89a8f843] user: jan.nijtmans branch: tip-626, size: 136427
2023-06-18
21:30
Merge trunk-encoding-defaultstrict [c499122331]. file: 00a5361039 check-in: [22400aa71b] user: pooryorick branch: unchained, size: 136585
2023-06-13
16:47
Remove getdbl abstraction. file: 264c03a098 check-in: [79841a55e2] user: griffin branch: tip-636-tcl9-644, size: 136378
2023-06-06
20:26
merge trunk file: 001a5e59a2 check-in: [e06d17fb2a] user: griffin branch: tip-636-tcl9-644, size: 136518
2023-06-02
13:59
Merge 8.7 file: 7468daf260 check-in: [486d398306] user: jan.nijtmans branch: main, size: 136422
12:00
New (internal) macro TclAttemptInitStringRep() file: 9812d430ae check-in: [b0b7c9d7b6] user: jan.nijtmans branch: core-8-branch, size: 147349
2023-06-01
21:36
Merge 9.0 file: 19aad1a5e2 check-in: [941600cdb3] user: jan.nijtmans branch: tip-626, size: 136236
21:04
Merge 8.7 file: d6de10c889 check-in: [0836dc0f71] user: jan.nijtmans branch: main, size: 136231
20:58
Fix [9921778646]: something is wrong in core-8-branch file: e4c5b1827f check-in: [293f2741f8] user: jan.nijtmans branch: core-8-branch, size: 147098
2023-05-31
14:12
Use TclDuplicatePureObj() in stead of TclListObjCopy() where appropriate. Backported from 9.0 file: 0675fcc23c check-in: [97cc33cd20] user: jan.nijtmans branch: core-8-branch, size: 147090
2023-05-26
17:15
Function name cleanup. file: d64d7c1e81 check-in: [f0e51ed375] user: griffin branch: tip-636-tcl9-644, size: 136341
2023-05-23
21:36
Merge trunk file: f609f6eaf4 check-in: [2f493bd21c] user: griffin branch: tip-636-tcl9-644, size: 136685
2023-05-20
20:11
Merge "unchained branch [a03cbbdf63] and resolve conflicts. file: 270cab4ea2 check-in: [6803cae7fa] user: pooryorick branch: pyk-objinterface, size: 137837
14:10
Merge "unchained" branch [6b0efb4663] and resolve conflicts. file: f4f9a4e094 check-in: [1b29063091] user: pooryorick branch: pyk-objinterface, size: 139806
2023-05-19
12:08
Merge trunk [c405bdd1f0]. file: 48cb30478d check-in: [6b0efb4663] user: pooryorick branch: unchained, size: 136408
12:02
Merge trunk [402ff62239]. file: 61a56e6010 check-in: [a514e65105] user: pooryorick branch: unchained, size: 133190
11:26
Merge "unchained" branch commit [05b72c0b3f] and resolve conflicts. file: fe17a4259a check-in: [2840dda8db] user: pooryorick branch: pyk-objinterface, size: 134045
2023-05-17
22:26
Merge 9.0 file: de01dd77b3 check-in: [861edc2ab8] user: jan.nijtmans branch: tip-626, size: 136250
16:22
Proposed fix for [6022b9f946]: Tk when built against Tcl 9.0 broken file: cc024a0598 check-in: [47ae4a0262] user: jan.nijtmans branch: bug-6022b9f946, size: 132375
16:12
Merge trunk file: f4e7c581b9 check-in: [3e44e4bdd3] user: griffin branch: tip-636-tcl9-644, size: 134880
14:46
Merge 9.0 file: c0374bb6a2 check-in: [70c510876c] user: jan.nijtmans branch: tip-626, size: 133032
12:44
Improve TclDuplicatePureObj(), remove unnecessary increment/decrement pairs, and add more error checking. file: 9a92064600 check-in: [c405bdd1f0] user: pooryorick branch: main, size: 136245
07:30
Remove dead code file: ccce3d694f check-in: [a00f23f242] user: jan.nijtmans branch: main, size: 133894
2023-05-16
06:25
Merge 8.7 file: d0f07a4082 check-in: [8e4d8a6053] user: jan.nijtmans branch: main, size: 134546
05:25
New function, TclDuplicatePureObj(), doesn't duplicate the string representation when duplicating an object, unless necessary. Remove TclListObjCopy() in favor of TclDuplicatePureObj(), allowing internal representation to change after the copy rather than before. file: 1a1755754d check-in: [40af0258ec] user: pooryorick branch: main, size: 134547
2023-05-14
08:21
Rename TclRelaxRefCount() to TclUndoRefCount(). file: 91c7c9a83d check-in: [8181a7f089] user: pooryorick branch: main, size: 133027
2023-05-13
10:59
Add TclRelaxRefCount, and also try to take the fast path more often in byte-compiled [lindex]. file: 8f2f3af253 check-in: [4b1a20629e] user: pooryorick branch: main, size: 133029
2023-05-11
21:47
Merge trunk [05eeae5d67] and resolve conflicts. file: 6d0cc947e7 check-in: [ea8f3cd359] user: pooryorick branch: unchained, size: 133192
20:25
Add TclRelaxRefCount and TclObjGetScalar, and use them to try to take the fast path more often in byte-compiled [lindex]. See: [https://github.com/tcltk/tcl/actions/runs/4956385513] for build failure file: 3c4b837e5c check-in: [05eeae5d67] user: pooryorick branch: py-build-broken, size: 134889
2023-05-10
15:37
Rebase to latest 8.7 file: 158d3612c6 check-in: [11d97e377e] user: jan.nijtmans branch: tip-666, size: 142036
2023-05-03
14:47
TIP #666 implementation file: 61ad3fc665 check-in: [380064f5c8] user: jan.nijtmans branch: tip-666, size: 143440
07:03
Merge 9.0 file: efca59860c check-in: [17486d3dce] user: jan.nijtmans branch: tip-626, size: 132349
02:01
merge trunk file: 32314bcd3a check-in: [d4c2e9791a] user: griffin branch: tip-636-tcl9-644, size: 132678
2023-05-01
19:42
Remove internal use of TCL_UTF_MAX=3 as much as possible, without compromizing existing TIP's file: 8d9a7a7dcb check-in: [86503e53c7] user: jan.nijtmans branch: tip-665, size: 143629
2023-04-30
23:09
Partial sync-up with trunk. file: 7f9c1e6483 check-in: [82fe864420] user: griffin branch: tip-636-tcl9-644, size: 132668
2023-04-28
23:57
Remove all code related to TCL_NO_DEPRECATED, and some related to TCL_MAJOR_VERSION. file: a04a3d159f check-in: [a2e5794d46] user: pooryorick branch: unchained, size: 130647
2023-04-27
13:52
Simplify Tcl 9 compatibility macro's. No change in functionality. file: 81102d862d check-in: [c0aad60d0c] user: jan.nijtmans branch: core-8-branch, size: 143710
2023-04-26
19:29
Reduce number of needed type-casts. No change in functionality file: 629050770e check-in: [c7e3f3a76e] user: jan.nijtmans branch: tip-660-continued, size: 132344
15:53
More size_t -> Tcl_Size changes, which were missed before. Also (experimental) make the wrapper macro's produce compiler warnings is Tcl_Size is not used. file: 123cc78045 check-in: [0c6c1aba8d] user: jan.nijtmans branch: tip-660-continued, size: 132336
2023-04-23
09:21
Merge 9.0 file: fdb1f42609 check-in: [dbfd8e6ec6] user: jan.nijtmans branch: tip-626, size: 132339
2023-04-22
17:32
Fill in URL in previous commit file: 9b66db44da check-in: [9883f837fc] user: jan.nijtmans branch: core-8-branch, size: 143702
17:31
Register "utf32string" for Python file: 0c0fa88435 check-in: [f10817fea4] user: jan.nijtmans branch: core-8-branch, size: 143648
2023-04-21
20:32
Since Tcl_GetSizeIntFromObj is the same as Tcl_GetIntFromObj (in 8.7), it's not worth to spend a stub entry for it file: a23b64a2b6 check-in: [f354f1fc6b] user: jan.nijtmans branch: core-8-branch, size: 143476
13:32
Merge 9.0 file: fcfb43c381 check-in: [b732c118b6] user: jan.nijtmans branch: tip-626, size: 132337
06:16
Fix warnings generated on disable8api builds file: 35e99bd9fa check-in: [e80d1c5113] user: apnadkarni branch: apn-disabletcl8api-warnings, size: 132334
2023-04-20
16:53
Merge 9.0 file: 5158ecd5cc check-in: [aa3e7e529f] user: jan.nijtmans branch: tip-626, size: 131696
2023-04-19
19:36
TIP 660 changes to stop warnings in --enable-symbols=mem build. file: ba93b5b0fb check-in: [5406686e2d] user: dgp branch: main, size: 132332
04:45
Merge 8.7 file: 0e4ad181d9 check-in: [c555137119] user: apnadkarni branch: tip-660-tcl8, size: 144226
2023-04-18
19:42
Adapt TIP's #494/#481/#537/#544/#568/#616/#623/#627/#630 to TIP #660 changes file: a288d20ed3 check-in: [891367d291] user: jan.nijtmans branch: core-8-branch, size: 143484
2023-04-16
17:31
size_t -> ptrdiff_t to match Tcl 9 unsigned->signed change file: a3dc27f3b4 check-in: [23c8313c59] user: apnadkarni branch: tip-660-tcl8, size: 144281
17:05
Update manpages for TIP 660. Also one size_t -> Tcl_Size change in public API file: 14a1342aae check-in: [d2681fe90d] user: apnadkarni branch: tip-660, size: 132320
10:55
Merge core-8-branch file: 6c5d77d634 check-in: [83ce119fd5] user: apnadkarni branch: tip-660-tcl8, size: 144297
2023-04-14
15:01
Merge trunk file: af7775910c check-in: [e36ab1e9ba] user: apnadkarni branch: tip-660, size: 132340
09:12
Merge 9.0 file: 1d14f3c22f check-in: [f041e13465] user: jan.nijtmans branch: tip-626, size: 131694
2023-04-13
13:13
Allow Tcl build without the Tcl 8 compat API. Derived from "disabletcl8api" branch (thanks, Rolf), but using the already existing -DTCL_NO_DEPRECATED (in Makefile) or CHECKS=nodep (makefile.vc) Since there are Github Action builds with -DTCL_NO_DEPRECATED/CHECKS=nodep, we cannot use the Tcl 8 compat API in the core code itself any more. file: 5278972db9 check-in: [fc9c3d7c3e] user: jan.nijtmans branch: main, size: 131691
06:18
Merge 8.7 file: af4ecbf6eb check-in: [4fc1f701cc] user: jan.nijtmans branch: main, size: 131645
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: 9dd83d4b4e check-in: [d65da06a77] user: pooryorick branch: main, size: 131647
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: 4bd1c15b1c check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 143547
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: c5b6e32170 check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 131502
2023-04-08
08:22
Merge 9.0 file: f105b97615 check-in: [33a8c620c8] user: apnadkarni branch: tip-660, size: 132296
2023-04-07
23:14
Editorial fix in Tcl_Panic() message. file: ba56efafcb check-in: [e825ea0680] user: pointsman branch: main, size: 131647
2023-04-05
10:45
Export Tcl_GetSizeFromObj in stubs file: 9d7e661011 check-in: [de9fdf0738] user: apnadkarni branch: tip-660, size: 132295
06:40
Tcl_GetSizeIntFromObj file: fc07857cf1 check-in: [9ebb17c2c8] user: apnadkarni branch: tip-660-tcl8, size: 144297
04:47
Merge 9.0 file: 1ec2c1d554 check-in: [fb8da0d00c] user: apnadkarni branch: tip-660, size: 131542
2023-04-04
22:37
Merge 9.0 file: 4866370d24 check-in: [fffcf23daf] user: jan.nijtmans branch: tip-626, size: 131649
22:10
Merge 9.0 file: 1365a67a7d check-in: [6e9b08b3ea] user: jan.nijtmans branch: optional-signed-size, size: 131649
20:50
more progress file: 3b929c6ad5 check-in: [4e36871191] user: jan.nijtmans branch: optional-signed-size, size: 131217
2023-04-02
21:49
Merge 9.0. Add some more utility macro's file: 4248676fc1 check-in: [4bedba476d] user: jan.nijtmans branch: optional-signed-size, size: 131208
13:23
Bug [7e3f26c748] - TCL_MEM_DEBUG false positive file: b2c8c6af36 check-in: [f505b17748] user: apnadkarni branch: main, size: 131646
2023-03-30
22:24
Merge 9.0 file: 577a61f8a0 check-in: [6396c6443a] user: jan.nijtmans branch: tip-626, size: 131217
18:01
TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntu file: 91af8b3bd0 check-in: [eb81a25271] user: apnadkarni branch: tip-660, size: 131108
15:19
Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it on other platforms either. file: 361a4d281b check-in: [ec56f33813] user: jan.nijtmans branch: bug-0cb3554903, size: 131502
2023-03-25
00:29
Merge trunk file: de88edf42f check-in: [f6aa53859c] user: griffin branch: tip-636-tcl9-644, size: 131546
2023-03-24
20:58
Merge 8.7 file: d2f6a4c1ed check-in: [6301de2138] user: jan.nijtmans branch: main, size: 131214
20:47
Merge 8.6 file: 57b0b6ca2b check-in: [87cd711c2a] user: jan.nijtmans branch: core-8-branch, size: 143547
20:19
Fix [15e74a2fe6]: Fix various typos file: eee9bd678f check-in: [c44138ed03] user: jan.nijtmans branch: core-8-6-branch, size: 131444
2023-03-22
20:17
Merge 9.0 file: f4c0814a5a check-in: [38f7cdb888] user: jan.nijtmans branch: internal-abstract-list, size: 131316
2023-03-05
21:09
Fix [57bfcf43dd]: Remove unreachable code in Tcl_SetWideIntObj() file: 680c19ae08 check-in: [71045bf69c] user: jan.nijtmans branch: core-8-6-branch, size: 131441
20:46
Merge 9.0 file: 2d633af751 check-in: [fef53bf657] user: jan.nijtmans branch: tip-626, size: 131215
19:57
Another round of -1 -> TCL_INDEX_NONE file: c4af01c129 check-in: [1ad5d08ee8] user: jan.nijtmans branch: main, size: 131212
2022-12-21
23:05
Merge 9.0 file: 1d26f2e0df check-in: [01e3112cfb] user: jan.nijtmans branch: tip-626, size: 131083
2022-12-18
18:08
MODULE_SCOPE TclLengthOne (in stead of 2 separate static functions doing the same) file: 4839b315f7 check-in: [8778167a3c] user: jan.nijtmans branch: main, size: 131080
10:05
Reserve a place in abstractlist for an additional function file: 8e8aab6723 check-in: [f66b360335] user: jan.nijtmans branch: tip-636-tcl9-644, size: 131414
2022-12-08
14:24
Merge 9.0. Fix testcases file: 1f466ca750 check-in: [7ec99f0221] user: jan.nijtmans branch: tip-636-tcl9-644, size: 131422
2022-12-07
23:56
Add 'getdouble' function to ObjType, used for abstractlist types. -- Experimental file: 9fa98e2869 check-in: [edf337e697] user: griffin branch: tip-636-tcl9-644, size: 131418
2022-12-02
15:23
complete all 'GetElements' functions file: b050ad4801 check-in: [cc0534c9be] user: jan.nijtmans branch: internal-abstract-list, size: 131184
2022-12-01
15:16
Merge 9.0. Fix Windows build (testcases need tcl::test package). Modify TCL_OBJTYPE_V1() macro, so it checks for the number of arguments file: dfb1ae6b39 check-in: [b12de6dcc9] user: jan.nijtmans branch: tip-636-tcl9-644, size: 131247
14:23
Merge 9.0 file: b5f22e1c2b check-in: [7787a1c006] user: jan.nijtmans branch: tip-626, size: 131131
2022-11-30
22:17
Add getElementsProc. Not used yet file: 4a4bb35a1a check-in: [360cdc6766] user: jan.nijtmans branch: internal-abstract-list, size: 131168
2022-11-28
15:58
Merge 9.0. New macro ABSTRACTLIST_PROC file: 6179b9fd27 check-in: [31ba65f113] user: jan.nijtmans branch: internal-abstract-list, size: 131128
2022-11-27
23:37
size_t result for lengthProc. More usage of Tcl_GetWideUIntFromObj file: 4b9997e310 check-in: [fc0a4e4085] user: jan.nijtmans branch: internal-abstract-list, size: 131112
2022-11-26
23:57
HAS_ABSTRACTLIST_PROC file: 02179378e6 check-in: [504365e7e0] user: jan.nijtmans branch: internal-abstract-list, size: 131124
2022-11-24
21:48
TCL_OBJTYPE_V0_INIT -> TCL_OBJTYPE_V0 (See TIP #644). Remove Tcl_SavedResult (See TIP #640) file: e12129a3d8 check-in: [ca003bccb7] user: jan.nijtmans branch: tip-636-tcl9-644, size: 130971
03:32
Sync with trunk file: d0ea7c2e1e check-in: [3c349bb440] user: griffin branch: tip-636-tcl9-644, size: 130996
01:18
Support multiple indicies in abstract list lindex operation. Catch up with trunk. file: 100f2b2854 check-in: [cf418732cb] user: griffin branch: tip-636-tcl9-644, size: 127958
2022-11-23
21:12
Merge 8.7 file: cf4569666c check-in: [2b17ac5d49] user: jan.nijtmans branch: tip-626, size: 130617
17:04
Internal abstract list, don't let "llength" shimmer any more. file: 1fbaf3cd6d check-in: [db554866c9] user: jan.nijtmans branch: internal-abstract-list, size: 131116
2022-11-21
23:58
Rebase to 8.7 file: e3e57b0b43 check-in: [48904e94e7] user: jan.nijtmans branch: tip-648, size: 145144
23:54
Merge 8.7 file: 38c7fd7ff8 check-in: [db8e7f06b4] user: jan.nijtmans branch: main, size: 130614
2022-11-20
20:14
Rebase to latest 8.7 file: b26db56a07 check-in: [b3bc4804f6] user: jan.nijtmans branch: tip-650, size: 143545
2022-11-19
16:29
Merge 9.0 file: dd315e28da check-in: [32aebe8054] user: jan.nijtmans branch: tip-626, size: 128105
2022-11-18
21:43
Backout [52a52a65f0], let's see if this fixes the Windows crash file: 4648048b0a check-in: [0883d5242a] user: jan.nijtmans branch: tip-650, size: 143543
2022-11-17
20:29
TIP #644: Make Tcl_ObjType extensible file: da5fd2cd51 check-in: [beda452b45] user: jan.nijtmans branch: main, size: 127576
2022-11-15
14:41
Merge 8.7 file: 30952633af check-in: [9c056a67ee] user: jan.nijtmans branch: tip-648, size: 142106
14:03
New function Tcl_GetWideUIntFromObj file: b29b2596b6 check-in: [f8c1bdeaa1] user: jan.nijtmans branch: tip-650, size: 142926
13:31
Merge 8.7 file: b672e9107e check-in: [fe9be17148] user: jan.nijtmans branch: main, size: 127476
13:06
Change all mp_to_ubin() usages to mp_pack(). It makes the code much more clear file: 4db8fc2f20 check-in: [52a52a65f0] user: jan.nijtmans branch: core-8-branch, size: 140507
2022-11-11
22:48
Fix panic message file: cfefaba7aa check-in: [3bc20b1fb2] user: jan.nijtmans branch: tip-648, size: 142632
22:26
Fix for Tcl_SetWideUIntObj file: 589c744f06 check-in: [49dd813cf1] user: jan.nijtmans branch: tip-648, size: 142641
22:06
Merge 8.7 file: 7427aa49c2 check-in: [d9159179f8] user: jan.nijtmans branch: tip-648, size: 142641
2022-11-09
13:45
Merge trunk. Also update Tcl_ObjType.version to match TIP 644 file: 34c93360b5 check-in: [67db36998a] user: apnadkarni branch: tip-644, size: 128102
2022-11-06
11:19
Rebase TIP #626 to latest 9.0. Change Tcl version number from 9.0 to 9.1a0 file: 5d26760d79 check-in: [efcf7c37fe] user: jan.nijtmans branch: tip-626, size: 128005
2022-11-04
22:47
Implement abstractlist with tip-644 file: d42f4ff5fb check-in: [3aa22fe8ab] user: griffin branch: tip-636-tcl9-644, size: 128484
11:11
New functions Tcl_NewWideUIntObj()/Tcl_SetWideUIntObj() (still experimental) file: 547a0a3691 check-in: [40bdd7b7bd] user: jan.nijtmans branch: tip-648, size: 142669
2022-11-02
22:33
TIP 636 for Tcl 9 file: 0ea4881544 check-in: [b78cb72678] user: griffin branch: tip-636-tcl9, size: 128597
2022-11-01
08:28
rebase to latest trunk file: 9b0588ec41 check-in: [14166645c7] user: jan.nijtmans branch: tip-644-alt, size: 128037
08:26
Don't bother to provide a TCL_OBJTYPE_SIZE macro file: 7d3a4848df check-in: [04e8efd4ac] user: jan.nijtmans branch: tip-644-alt, size: 127961
2022-10-25
02:30
Sync with core-8-branch file: f354849601 check-in: [38481cf1fb] user: griffin branch: tip-636, size: 141367
2022-10-24
11:47
Another possible approach file: e9791bf3fe check-in: [dc7f554cb0] user: jan.nijtmans branch: tip-644-alt, size: 128036
2022-10-23
10:53
Merge 8.7 file: 0ffd639abf check-in: [56c666a3c4] user: jan.nijtmans branch: main, size: 128002
10:43
TIP #641: Let Tcl_GetBoolean(FromObj) handle (C99) bool file: 2c92a73c14 check-in: [1fc0a86b2e] user: jan.nijtmans branch: core-8-branch, size: 141033
2022-10-21
08:55
Rebase to 9.0 file: 2aa7539869 check-in: [d72aeeeaac] user: jan.nijtmans branch: tip-644, size: 128026
2022-10-19
22:29
Sync with core-8-branch file: 1d1de4b047 check-in: [f7832c5884] user: griffin branch: tip-636, size: 141291
2022-10-18
15:34
Merge 9.0 file: 014be3250d check-in: [e6449602a4] user: jan.nijtmans branch: tcl8-compat, size: 127928
2022-10-17
19:46
Merge 8.7 file: 159ab7668a check-in: [c4297a8793] user: jan.nijtmans branch: main, size: 127926
19:44
More octal -> hex usage file: c59e1387c4 check-in: [087ea5a34b] user: jan.nijtmans branch: core-8-branch, size: 140957
18:43
merge 8.7 file: ac763cc0f3 check-in: [cb55366d46] user: dgp branch: main, size: 127931
2022-10-11
18:31
merge 8.7 file: 54465d10e7 check-in: [e8eacf5908] user: dgp branch: tip-getnumber, size: 140970
15:07
TIP 644 - Make Tcl_ObjType extensible file: cc38621a66 check-in: [6d1d103cf6] user: apnadkarni branch: tip-644, size: 127166
2022-10-08
02:39
Sync with core-8-branch file: 822847acc1 check-in: [1fd2fe2478] user: griffin branch: abstractlist-with-625, size: 140439
2022-10-07
14:15
Merge 8.7 file: 25da84bfe7 check-in: [de6889c12f] user: jan.nijtmans branch: main, size: 127066
14:04
TIP #618: New Tcl_GetBool* functions with TCL_NULL_OK flag file: 5e595bb387 check-in: [bfc41f580a] user: jan.nijtmans branch: core-8-branch, size: 140105
2022-09-18
13:59
TIP implementation to add/use public routines Tcl_GetNumber(FromObj). file: c5489dc993 check-in: [c445146cc8] user: dgp branch: tip-getnumber, size: 139808
2022-09-07
12:46
Merge 8.7 file: daff7ceabb check-in: [8debe52157] user: jan.nijtmans branch: tip-618, size: 139925
2022-09-06
13:57
Merge 8.7 file: a78db066b6 check-in: [91e5b361ec] user: jan.nijtmans branch: bug-45ddcfc3b1, size: 139498
2022-08-08
19:38
Abstract Lists (TIP-225) initial implementation. file: 6fd8428f63 check-in: [e8d4ce3e08] user: griffin branch: abstractlist-with-625, size: 139277
2022-06-24
10:41
Don't use TCL_HASH_TYPE for epoch/refCount type variables, keep it the same as it was in Tcl 8.6 file: 3234151813 check-in: [2ffde115d4] user: jan.nijtmans branch: core-8-branch, size: 138943
2022-06-02
15:55
Merge 8.6. Eliminate some (long) typecasts file: 49dcf931ef check-in: [0daaaefd9b] user: jan.nijtmans branch: core-8-branch, size: 138959
2022-05-25
22:20
Many int-> size_t file: dd81acd09e check-in: [7062de3ba7] user: jan.nijtmans branch: tip-626, size: 125905
15:27
Merge 9.0 file: 4ba261e289 check-in: [aaed6af003] user: jan.nijtmans branch: tip-616, size: 125902
11:01
Merge 8.7 file: ed6b421cd9 check-in: [ad1a79e16b] user: jan.nijtmans branch: main, size: 125905
10:51
Merge 8.6 file: d913c2f884 check-in: [0381fc9b91] user: jan.nijtmans branch: core-8-branch, size: 138965
2022-05-22
17:11
Proposed fix for [76ad7aeba3]: boundary case bug in [string is integer]. Missing: more unit-tests file: cb47afd812 check-in: [66a187edf2] user: jan.nijtmans branch: bug-76ad7aeba3, size: 131547
2022-05-19
15:04
Merge 9.0 file: f236908eab check-in: [27d6e8f628] user: jan.nijtmans branch: tip-616, size: 125922
11:00
Elaborate TIP #481 implementation: Make clear that Tcl_GetUnicodeFromObj and Tcl_GetStringFromObj panic if lengthPtr points to an int and length > INT_MAX. Also if sizeof(int) == sizeof(size_t), prefer the size_t variant of the functions file: a84f4d77cf check-in: [19af4bcc3f] user: jan.nijtmans branch: main, size: 125925
2022-05-17
13:27
Merge 9.0 file: 87937fb70a check-in: [e563372259] user: jan.nijtmans branch: tip-616, size: 125796
11:17
Merge 8.7 file: d58431452e check-in: [74c6a378ca] user: jan.nijtmans branch: main, size: 125799
09:32
Rename macro's TclListObjGetElements -> TclListObjGetElementsM and TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616) file: bcde9db054 check-in: [eaf93525a5] user: jan.nijtmans branch: core-8-branch, size: 138985
2022-05-10
10:18
Update doc file: 0016aaf825 check-in: [f805309275] user: jan.nijtmans branch: tip-618, size: 139906
10:05
Merge 8.7. Update doc file: 2c8d2ddd43 check-in: [b053dadbd7] user: jan.nijtmans branch: tip-618, size: 139918
2022-04-29
20:09
re-structure, add more examples file: cf9248527d check-in: [1cc44267e1] user: jan.nijtmans branch: tip-618, size: 139918
2022-04-26
07:22
Merge 9.0 file: a00883104e check-in: [4bf1dcd5bf] user: jan.nijtmans branch: tip-616, size: 125795
07:18
Merge 8.7 file: 6b8ef877ae check-in: [588d689f08] user: jan.nijtmans branch: full-utf-for-87, size: 138984
2022-04-20
14:08
Merge 8.7 file: a0e3c30574 check-in: [c4c36b2706] user: jan.nijtmans branch: tip-618, size: 140089
10:20
Merge 8.7 file: f6f57f4ec7 check-in: [06c121d0f3] user: jan.nijtmans branch: main, size: 125798
10:02
Merge 8.6 file: 18c933aa51 check-in: [c698281105] user: jan.nijtmans branch: core-8-branch, size: 138924
09:41
boolPtr -> intPtr, since Tcl doens't use pointer to bool's (they didn't exist when the API was designed) file: 3f9c34bc81 check-in: [81c8869db7] user: jan.nijtmans branch: core-8-6-branch, size: 131244
2022-04-15
12:20
Restore Tcl_GetBoolenanFromObj/Tcl_GetBoolenan signatures file: 4ef141111a check-in: [4b7f564fd6] user: jan.nijtmans branch: tip-618, size: 140091
11:50
Use lower 5 bits of flags for sizeof(*(boolPtr)) file: 52349a65f1 check-in: [a1960fc252] user: jan.nijtmans branch: tip-618, size: 140082
2022-03-31
13:37
Handle objPtr == NULL / interp == NULL better file: b6858ef7b1 check-in: [d5a055aa3f] user: jan.nijtmans branch: tip-618, size: 140161
13:24
uint??_t -> int??_t file: ae93afd5c3 check-in: [d19e4d6be7] user: jan.nijtmans branch: tip-618, size: 139966
2022-03-28
12:24
Merge 8.7. Register "string" objType when TCL_UTF_MAX=3 (fixes regression in previous commit) file: c978aef0cc check-in: [75efdec8f4] user: jan.nijtmans branch: full-utf-for-87, size: 139001
2022-03-24
10:48
When compiled with TCL_NO_DEPRECATED, remove the UTF16 compatibility layer. So, we make sure that it is never used internally for the Core. This means that extensions using the compatibility layer won't work any more in this mode; extensions should be compiled using TCL_UTF_MAX=4 then they work again. file: f199cd2970 check-in: [a68880dccd] user: jan.nijtmans branch: full-utf-for-87, size: 139001
2022-03-18
22:11
More progress file: 7c25cf863f check-in: [5e82dc9591] user: jan.nijtmans branch: tip-616, size: 125799
2022-02-24
13:29
Merge 9.0 file: 8bf21b316f check-in: [dcf6775b09] user: jan.nijtmans branch: tip-616, size: 125796
2022-02-22
21:01
TIP #618: New Tcl_GetBool* functions with INDEX_NULL_OK flag file: 60fa244f65 check-in: [566ab0f509] user: jan.nijtmans branch: tip-618, size: 139974
2022-02-17
21:32
Merge 9.0 file: 83f07fae71 check-in: [1fdefed9bc] user: jan.nijtmans branch: tip-616, size: 125805
17:33
Merge 8.7 file: bf3d951a23 check-in: [45515911a5] user: jan.nijtmans branch: main, size: 125802
17:30
Deprecate internal macro's TclIsInfinite() and TclIsNan(), since C99 has isinf() and isnan() file: dea0810e52 check-in: [60df467246] user: jan.nijtmans branch: core-8-branch, size: 138941
12:07
Merge 9.0 file: b74068c43f check-in: [d20c8c89a2] user: jan.nijtmans branch: tip-616, size: 125811
09:30
Addendum to [7deeddb36]: Use WIDE_MIN/WIDE_MAX in more places file: 1fc8d54fa7 check-in: [de10721755] user: jan.nijtmans branch: core-8-6-branch, size: 131260
2022-02-16
17:08
Merge 8.7 file: dbeb0903c8 check-in: [c24dc4d17b] user: jan.nijtmans branch: main, size: 125808
16:52
Merge 8.6 file: 0f0302fc3a check-in: [7e9fb8f7bd] user: jan.nijtmans branch: core-8-branch, size: 138947
16:10
Fix [1c60dca341]: signed integer overflow in Tcl_SetBignumObj() file: f7082eb9d4 check-in: [414608568a] user: jan.nijtmans branch: core-8-6-branch, size: 131269
15:24
Fix [c6fea6ba6]: possible signed integer overflow in Tcl_GetLongFromObj(), Tcl_GetWideIntFromObj() file: 3a37110305 check-in: [efbf66da7d] user: jan.nijtmans branch: core-8-6-branch, size: 131267
2022-02-10
08:34
Tcl_ListObjLength -> TclListObjLength file: ae1312dd70 check-in: [8186be0b8d] user: jan.nijtmans branch: tip-616, size: 125812
2022-01-29
00:16
merge [argx_rejig] file: 44070b65aa check-in: [f834558929] user: bch branch: mistake, size: 126189
2022-01-24
20:54
More work in progress file: 847a718661 check-in: [e2382fa2c9] user: jan.nijtmans branch: tip-616, size: 125813
08:18
TIP #616: Tcl lists > 2^31 elements. WIP file: 73cc2483a1 check-in: [ff0a9cf127] user: jan.nijtmans branch: tip-616, size: 125810
2022-01-14
10:29
Merge 8.7. Fix (windows MSVC OPTS=symbols) build error file: d81af08cf5 check-in: [a80b314df5] user: jan.nijtmans branch: main, size: 125809
10:10
Merge 8.6 file: 32d8f96976 check-in: [9b26217141] user: jan.nijtmans branch: core-8-branch, size: 138948
2022-01-13
12:22
Fix [816913a65e]: GrowStringBuffer(): signed integer overflow. And a few similar situations in other place file: 6cbb3bfc23 check-in: [a03e9793d4] user: jan.nijtmans branch: bug-816913a65e, size: 131263
2021-11-13
09:09
Add Tcl_ObjTypeVersion(), fix memory errors in integer list functions, adjust lset.test so that objInterface.test can use its tests. All linsert.test and lset.test tests pass for the integer list. file: f49f027f5d check-in: [1419fa5658] user: pooryorick branch: pyk-objinterface, size: 126607
2021-11-08
00:29
merge 8.7 file: 4001957016 check-in: [e112827f6c] user: dgp branch: main, size: 125808
00:06
[9899c273ab] Rewrite Tcl_InitStringRep to account for all encounters with the non-allocated empty string rep. file: 88f6f824ff check-in: [e7511df3a1] user: dgp branch: core-8-branch, size: 138947
2021-11-06
17:55
Eliminate more branch diffs with trunk that have no apparent connection to TIP 568. file: 55751bd146 check-in: [afbf82e475] user: dgp branch: dgp-properbytearray, size: 125413
2021-10-26
08:54
Merge 9.0 file: c5bf3972db check-in: [62c63b4818] user: jan.nijtmans branch: pyk-objinterface, size: 126378
2021-10-19
15:23
We can now assume that TCL_MAJOR_VERSION == 9 file: d3d5c750f4 check-in: [a3f8fdec0b] user: jan.nijtmans branch: main, size: 125457
14:42
IntRep -> InternalRep. Internal changes only. file: 98ed721509 check-in: [40343f5fb6] user: jan.nijtmans branch: core-8-6-branch, size: 131262
2021-10-09
16:39
Add "interp" argument to TclListRange, add new C procedures "TclLengthIsFinite" and "TclLindexLast", start using a length of -1 to indicate that a list is unbounded, and modify TclListObjRange() to be more amenable to unbounded lists, and modify INST_LIST_RANGE_IMM bytecode routine for the same reason. file: 92d5ea554c check-in: [7a9060c4a1] user: pooryorick branch: pyk-objinterface, size: 126365
2021-10-08
12:36
Merge trunk file: ac0bacb8f6 check-in: [2b008d21a1] user: jan.nijtmans branch: dgp-properbytearray, size: 125399
08:40
Merge 8.7 file: 42cf7f0aa4 check-in: [916029c89c] user: jan.nijtmans branch: main, size: 125556
2021-10-06
19:33
Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing list file: eca6a369b7 check-in: [0509fa5750] user: jan.nijtmans branch: internalrep, size: 138549
2021-10-05
06:07
For backwards-compatibility, shoehorn Tcl_ObjType interface structure into existing public interface. file: 0fed26cc60 check-in: [86000f923c] user: pooryorick branch: pyk-objinterface, size: 126346
2021-09-02
22:15
Update code comments. file: f008161ccc check-in: [368587b872] user: pooryorick branch: main, size: 125444
2021-04-12
19:10
More bits and pieces file: 47b7258f97 check-in: [0ea6e3ab0e] user: dkf branch: enum-and-inline, size: 138428
2021-02-16
15:20
Merge 8.7 file: b2ee7d7892 check-in: [e0b2f43c0e] user: jan.nijtmans branch: bug-45ddcfc3b1, size: 138959
2021-01-25
19:13
merge trunk file: 3e92e0fe84 check-in: [697a471639] user: dgp branch: dgp-properbytearray, size: 125229
12:05
Merge 8.7 file: 1b11f3419f check-in: [e1314c4f17] user: jan.nijtmans branch: main, size: 125386
11:53
Make Tcl_GetString() a macro calling Tcl_GetStringFromObj(). Just the same as Tcl_GetUnicode(). file: dfa63d7e9f check-in: [20d58bcd75] user: jan.nijtmans branch: core-8-branch, size: 138404
2021-01-21
14:05
Merge TIP 481 (resolve conflicts) file: e32759be31 check-in: [61fcaefc06] user: jan.nijtmans branch: dgp-properbytearray, size: 125208
2021-01-13
14:27
Merge 8.7. Fix format.test testcases file: 8653fcb93d check-in: [55dd38a938] user: jan.nijtmans branch: bug-45ddcfc3b1, size: 138718
2021-01-11
10:03
Merge 8.7, resolve conflicts file: 500e79c9cd check-in: [015ff38790] user: jan.nijtmans branch: main, size: 125365
08:33
TIP #481 implementation: Tcl_GetStringFromObj() with size_t length parameter file: 9fa97e45d9 check-in: [777a907c79] user: jan.nijtmans branch: core-8-branch, size: 138383
2020-12-11
08:25
Merge 8.7 file: e0a8fa07f8 check-in: [504174b35e] user: jan.nijtmans branch: tip-481, size: 138384
2020-12-10
19:32
merge trunk file: 8860c7ac01 check-in: [8f9097afd5] user: dgp branch: dgp-properbytearray, size: 123880
2020-12-08
15:42
Merge 8.7 file: 3ec92706f5 check-in: [71493b571b] user: jan.nijtmans branch: main, size: 123924
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: 5e112aab1a check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 136921
2020-11-25
13:51
Merge 8.7 file: 7488f1eac6 check-in: [1b5a7f4634] user: jan.nijtmans branch: tip-481, size: 138373
09:52
Merge 8.7 file: 5e3cebc420 check-in: [5b4e732208] user: jan.nijtmans branch: tip-481, size: 138401
09:16
Remove the Tcl_GetValue() functionality. This can always be developed separately file: 0ee078c11a check-in: [a0c54184f7] user: jan.nijtmans branch: tip-481, size: 132339
2020-10-10
00:20
merge trunk file: 4838acff6e check-in: [d4d43bddb9] user: dgp branch: dgp-properbytearray, size: 123894
2020-10-09
13:21
Merge 8.7 file: 90776faf05 check-in: [b9ffb77c85] user: jan.nijtmans branch: trunk, size: 123938
2020-10-08
13:33
Make everything compile warning-free with -Wundef. Put enum ASSEM_DICT_GET_DEF last in TalInstType, so it's binary compatible with Tcl 8.6 file: 736fd2b412 check-in: [d1e4a3c73f] user: jan.nijtmans branch: core-8-branch, size: 136935
12:11
Eliminate warnings when compiling with -Wundef file: d39ce17b9c check-in: [3f3d9ac9e7] user: jan.nijtmans branch: core-8-6-branch, size: 131237
2020-09-16
16:18
merge trunk file: dad2a3761c check-in: [346f441d68] user: dgp branch: dgp-properbytearray, size: 123885
2020-09-14
12:31
Eliminate many "register" keywords (which do nothing with modern compilers) Eliminate many unnecessary type-casts to (unsigned) file: 505b005247 check-in: [62884c2f30] user: jan.nijtmans branch: core-8-6-branch, size: 131228
2020-09-11
13:20
Merge 8.7 file: 47e566867c check-in: [da6deaa258] user: jan.nijtmans branch: trunk, size: 123929
12:56
Merge 8.6. Remove tests/safe-stock86.test for win builds too (GIT, what are you doing ...!) file: 9ae24e1546 check-in: [af83072632] user: jan.nijtmans branch: core-8-branch, size: 136926
12:31
Fix [https://core.tcl-lang.org/tk/tktview?name=3bc0f44ef3|3bc0f44ef3]: UBSan complains about body.chars[] usage. (Yes, I know, this one is for Tk, but Tcl was using the same construct too ....) file: 5996038063 check-in: [29540d10c4] user: jan.nijtmans branch: core-8-6-branch, size: 132105
2020-09-04
07:59
Merge 8.7 file: 45339f4244 check-in: [1c65379224] user: jan.nijtmans branch: trunk, size: 123872
2020-09-01
22:36
Fix for [c1a376375e0e6488], imported namespace ensemble command name distorted during deletion trace on the import file: e322754cfc check-in: [ebe3442625] user: pooryorick branch: bug-c1a376375e0e6488, size: 136865
2020-08-11
05:39
Eliminate many unnecessary type-casts, mostly (size_t) when value is already size_t or int file: 179d1ffe1a check-in: [013b828787] user: jan.nijtmans branch: core-8-6-branch, size: 131873
2020-06-04
15:15
Merge 8.7. Use more TCL_INDEX_NONE in documentation/headers/code. file: 7c867a1eb9 check-in: [baad702302] user: jan.nijtmans branch: trunk, size: 123842
2020-04-27
14:04
merge trunk file: 37f2b60ae5 check-in: [c2f97d0710] user: dgp branch: dgp-properbytearray, size: 123805
2020-04-20
21:07
Change a few variables from type "int" to "size_t". Always test TCL_UTF_MAX for <= 3 or > 3, because that's the only 2 flavours we really have. file: d7f2502b97 check-in: [d515532940] user: jan.nijtmans branch: trunk, size: 123849
2020-04-01
12:50
merge trunk file: 0fbe7670cf check-in: [1978f15ef4] user: dgp branch: dgp-properbytearray, size: 123789
2020-03-31
20:29
Merge 8.7 file: 4e37744584 check-in: [2807f77d52] user: jan.nijtmans branch: trunk, size: 123833
20:28
Fix a few warning-message in --enable-symbols-mem mode file: d762ab4dba check-in: [211e192cb0] user: jan.nijtmans branch: core-8-branch, size: 136835
2020-03-18
22:28
merge near trunk file: 1f1d10a63c check-in: [b2420d2b6e] user: dgp branch: dgp-properbytearray, size: 123756
14:06
Merge 8.7 file: 2504763627 check-in: [1d0787097e] user: jan.nijtmans branch: trunk, size: 123800
13:54
Merge 8.6 file: 74d75607b8 check-in: [2b7c852b44] user: jan.nijtmans branch: core-8-branch, size: 136802
12:51
More uppercase HEX representations in source-code. file: 79a2b03791 check-in: [7d760e228e] user: jan.nijtmans branch: core-8-6-branch, size: 131927
2020-03-09
16:46
merge trunk file: dbc7299712 check-in: [7da0ad5679] user: dgp branch: dgp-properbytearray, size: 123756
13:08
Merge 8.7 file: c7d53ad411 check-in: [8a76d170c1] user: jan.nijtmans branch: trunk, size: 123800
2020-03-08
13:58
More TCL_UNUSED. file: 34b100a7fb check-in: [64f9094067] user: dgp branch: core-8-branch, size: 136802
2020-02-28
20:11
merge trunk file: 9eac155b46 check-in: [14f4239b9d] user: dgp branch: dgp-properbytearray, size: 123764
12:46
Merge 8.7 file: 8098dd3354 check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 123808
2020-02-13
22:06
Merge 8.7 file: 0fe2f1e3bd check-in: [c59e305ca6] user: jan.nijtmans branch: cplusplus, size: 137114
2020-02-03
14:30
merge trunk file: 9f87bc8869 check-in: [1d8fb475c4] user: dgp branch: dgp-properbytearray, size: 123106
2020-02-02
15:27
Merge 8.7 file: 01ddcaf017 check-in: [ae53dc0227] user: jan.nijtmans branch: trunk, size: 123150
15:24
Fix conflict between (unpatched) tommath.h and tcl.h. See also [https://github.com/libtom/libtommath/pull/473] file: 1a1b0ac186 check-in: [09539af6a3] user: jan.nijtmans branch: core-8-branch, size: 136373
2020-01-24
12:46
merge trunk file: 270147cb66 check-in: [3b74d61ba2] user: dgp branch: dgp-properbytearray, size: 123035
2020-01-23
12:55
Better error-handling in some libtommath calls. file: ca961efd7a check-in: [6b90ac0e77] user: jan.nijtmans branch: core-8-6-branch, size: 131927
10:41
Merge 8.7 file: afdbf039ae check-in: [10bc1a9af5] user: jan.nijtmans branch: trunk, size: 123079
2020-01-13
21:46
Attempt to resolve a conflict between (unmodified) tommath.h and tcl.h in the definition of mp_int. See: [https://github.com/libtom/libtommath/pull/473] file: 756d5bdce1 check-in: [9f2dd970cd] user: jan.nijtmans branch: tommath-compat, size: 136361
2020-01-09
09:20
Start handling WUR (Warn Unused Result) in all tommath calls. WIP, not complete yet. file: ed0633e9a7 check-in: [5329c070c4] user: jan.nijtmans branch: no-wur, size: 136302
2019-12-16
21:39
merge trunk file: f9d98ee788 check-in: [e9801db712] user: dgp branch: dgp-properbytearray, size: 123023
2019-12-13
15:39
Merge 8.7 file: 680e18f938 check-in: [a4ec5ee9ad] user: jan.nijtmans branch: cplusplus, size: 137031
13:06
Merge 8.7 file: fd1d1a32ab check-in: [742a212258] user: jan.nijtmans branch: trunk, size: 123067
2019-11-13
18:35
merge trunk file: c05d8bec37 check-in: [cc460bcc13] user: dgp branch: dgp-properbytearray, size: 123019
2019-11-12
12:11
Merge 8.7. Finish implementation. file: 8a05d431fe check-in: [e221cdc084] user: jan.nijtmans branch: digit-bit-60, size: 136290
2019-11-11
14:26
Merge 8.7 file: 2bd77ec5f4 check-in: [be8ec92abb] user: jan.nijtmans branch: digit-bit-60, size: 136289
2019-11-09
20:39
Merge 8.7 file: 8230875efb check-in: [90a1a23f37] user: jan.nijtmans branch: cplusplus, size: 137027
20:04
Merge 8.7 file: d56a5d1325 check-in: [9842ce2a85] user: jan.nijtmans branch: trunk, size: 123063
2019-11-08
21:56
Now that libtommath has mp_init_l/mp_init_ll/mp_init_ull, use those instead of the legacy TclBNInitBignumFromLong/TclBNInitBignumFromWideInt/TclBNInitBignumFromWideUInt file: 7c19524f6e check-in: [3188db3003] user: jan.nijtmans branch: libtommath-cleanup, size: 136286
2019-11-01
11:25
Re-base to core-8-branch file: bcb621f585 check-in: [0dd430544f] user: jan.nijtmans branch: digit-bit-60, size: 136305
2019-10-28
15:05
merge trunk file: a56315a384 check-in: [9216350470] user: dgp branch: dgp-properbytearray, size: 123033
2019-10-24
15:34
Merge 8.7 file: e9bd5aed3e check-in: [8b08c15d80] user: jan.nijtmans branch: cplusplus, size: 137043
2019-10-22
21:36
Merge 8.7 file: de1baabfcf check-in: [27b5a315e9] user: jan.nijtmans branch: trunk, size: 123077
15:47
Deprecate mp_get_bit, mp_expt_d_ex, mp_toradix_n, mp_to_unsigned_bin, mp_to_unsigned_bin_n, because they are deprecated in libtommath 1.2.0 too. Add replacement functions mp_to_ubin, mp_ubin_size and mp_to_radix to libtommath stub table. file: b03b5f5343 check-in: [68d0196442] user: jan.nijtmans branch: core-8-branch, size: 136302
12:25
Merge 8.6 file: 7d39375d73 check-in: [c762061add] user: jan.nijtmans branch: core-8-branch, size: 136359
2019-10-17
13:45
Update to latest Tcl (core-8-6-branch) and latest libtommath (1.2.0-rc1) file: e72caf659f check-in: [3adefdc272] user: jan.nijtmans branch: libtommath-no-stdint.h-for-8.6, size: 131698
2019-09-25
14:56
merge trunk file: 0012bec2bb check-in: [2bcb5ad762] user: dgp branch: dgp-properbytearray, size: 123090
11:51
Make Tcl_WinUtfToTChar/Tcl_WinTCharToUtf really deprecate in 9.0 (now that no battery-extensions use it any more) Remove two functions which are not used any more (they changed to macro's earlier) file: 5abe1a7f72 check-in: [04e3169b00] user: jan.nijtmans branch: trunk, size: 123134
2019-09-19
18:27
Merge 8.7 file: 729209cdca check-in: [f6491a4282] user: jan.nijtmans branch: cplusplus, size: 137098
2019-09-05
15:14
Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and Windows) without -Wunused-parameters warnings file: 8df8263119 check-in: [48b1783ecd] user: jan.nijtmans branch: cplusplus, size: 137095
2019-09-03
20:32
Mark more unused parameters file: b3a9e8e1d6 check-in: [c07dbdd62a] user: jan.nijtmans branch: cplusplus, size: 136890
2019-09-02
12:27
Merge tip-548. A few more fixes, trying to make the Travis build work (finally) file: b2b3844bb5 check-in: [2c25cbf8b0] user: jan.nijtmans branch: cplusplus, size: 136727
2019-08-26
16:34
merge trunk file: baa2f1e295 check-in: [0f14c97005] user: dgp branch: dgp-properbytearray, size: 127048
2019-08-15
15:20
Merge tip-548 file: c8a2cca315 check-in: [fb24db99f5] user: jan.nijtmans branch: cplusplus, size: 136699
08:10
Merge 8.7 file: 6d5104bf20 check-in: [f33e2933b5] user: jan.nijtmans branch: trunk, size: 127092
2019-08-02
12:15
Merge 8.7. Continue implementation for win32 file: 37a1ddfff9 check-in: [ff6fa30271] user: jan.nijtmans branch: cplusplus, size: 137455
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: 72e3b1cce0 check-in: [f074bda87c] user: jan.nijtmans branch: no-register, size: 136357
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: c46d6b0116 check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 137444
2019-05-29
22:48
Update some libtommath functions to the latest trunk versions. Small step forward in the upgrade to (upcoming) libtommath 1.2. Advantage: simplify Tcl code accessing those functions. file: 62c496f16b check-in: [5bc72628bd] user: jan.nijtmans branch: core-8-5-branch, size: 125320
2019-05-24
20:10
end-of-line spacing file: 085d2e36a2 check-in: [b770ca8973] user: jan.nijtmans branch: core-8-6-branch, size: 131734
2019-05-21
11:22
cherry-picing of [3f693cdfe9c875c4] to be more compatible across version, resolve mistake with "key objects/pointers comparison by the hash entry" firstly introduced there. file: 398772bdd9 check-in: [295b0570ff] user: sebres branch: core-8-5-branch, size: 125288
2019-05-18
09:08
Import of TIP 530 implementation, and update to follow Tcl Engineering Manual style. file: 66b3246fa7 check-in: [60d629e262] user: dkf branch: tip-530, size: 134320
2019-05-17
21:54
code review file: 3ec4dbf4aa check-in: [7f19c9f6b1] user: sebres branch: tip-534-sebres-fast-number-hash, size: 143371
18:26
more clean-up, size_t-related consolidation (prepared for unsigned object length in 9.0) file: 84332fa97f check-in: [9208e61ec9] user: sebres branch: tip-534-sebres-fast-number-hash, size: 142328
17:43
code review (typo fixed, compiler compat, etc) + more test cases (hashing of not canonical form of integer) file: 888326a473 check-in: [0c26cd8178] user: sebres branch: tip-534-sebres-fast-number-hash, size: 142392
15:18
introduces fast hash algorithm for canonical numeric objects (all wide integer ranges covered now), removing CompareVarKeys (replaced with TclCompareObjKeys) file: ecb0adf08b check-in: [a614b04af1] user: sebres branch: tip-534-sebres-fast-number-hash, size: 142333
14:42
merge 8.7 file: 068a254342 check-in: [b948d2dca4] user: dgp branch: tip-445-api-fix, size: 137044
2019-05-14
19:13
Merge 8.5 file: 3d54fadc52 check-in: [3f4bd3bf4e] user: jan.nijtmans branch: core-8-6-branch, size: 131735
18:42
DIGIT_BIT -> MP_DIGIT_BIT, since DIGIT_BIT is deprecated in future libtommath versions. So, better stop using it at all. Also add some other defines/typdefs for future libtommath compatibility. file: b56c4db36f check-in: [464bb2de83] user: jan.nijtmans branch: core-8-5-branch, size: 125243
2019-05-12
07:39
Better comments, and a better fix for UB avoidance. file: 9477b88c3f check-in: [0b67af9667] user: dkf branch: dkf-experimental-fast-number-hash, size: 140411
2019-05-10
21:28
optimized variant (especially on x86) for better performance on small integers; more test cases (covering unsigned cast too) file: 60025058ee check-in: [139414267f] user: sebres branch: dkf-experimental-fast-number-hash, size: 138927
17:43
minor amend: tclIntType is wide in 8.7 file: f40d5cafeb check-in: [17fdd3e553] user: sebres branch: dkf-experimental-fast-number-hash, size: 138146
17:38
better algorithm - special cases check removed, using unsigned (Tcl_WideUInt); wrapp comments to C-style file: 7886efb664 check-in: [c39d6d51e4] user: sebres branch: dkf-experimental-fast-number-hash, size: 138146
17:14
small amend: tclIntType is wide in 8.7 and more corner cases for different platforms file: c5253c475f check-in: [289bb16d7c] user: sebres branch: dkf-experimental-fast-number-hash, size: 138762
16:28
fixes TclHashObjKey for several corner cases (also x86 / x64 and different types of hash and long); additionally removed a block for !TCL_WIDE_INT_IS_LONG because because there is no tclWideIntType anymore in 8.7 file: c460c471a5 check-in: [8258ba565e] user: sebres branch: dkf-experimental-fast-number-hash, size: 138284
08:00
Merge 8.7 file: 33eb52474e check-in: [95a9ccf863] user: jan.nijtmans branch: dkf-experimental-fast-number-hash, size: 138843
2019-05-03
15:58
merge trunk file: 4e03142244 check-in: [61db2fb4ce] user: dgp branch: dgp-properbytearray, size: 127714
2019-04-19
00:38
merge 8.7 file: fe87ca40ef check-in: [ddaa30125b] user: dkf branch: trunk, size: 127758
2019-04-09
19:21
Merge 8.7. Complete implementation for MSVC and for UNIX. file: 2e98931283 check-in: [b392834e2c] user: jan.nijtmans branch: digit-bit-60, size: 137773
2019-04-05
18:37
More efficient version (after feedback from KBK). Better test too. file: be4f8c6174 check-in: [41a632a0b1] user: dkf branch: tip-312-new, size: 137176
2019-03-08
15:09
merge trunk file: 8a1a02f83b check-in: [2a00aec29a] user: dgp branch: dgp-properbytearray, size: 128308
14:56
merge 8.7 file: 31f04fa7c3 check-in: [1dd923d0cf] user: dgp branch: tip-445-api-fix, size: 137638
00:04
resolves large discrepancies in proc/lambda between 8.5 and 8.6; coverage for [e3f481f187] regression to lookup non-ASCII proc/lambda formal arguments (TclCreateProc/TclPushVarName); cherry-picked from [c9251294d9b8b14d] (pyk-backport-to-8-6) and amend [3e12442cb7829c9f] (fix-comp-local-utf-regres). file: d0044426f2 check-in: [fb2b91aea8] user: sebres branch: sebres-8-5-comp-8-6-fix, size: 124968
2019-02-26
20:18
Merge 8.7 file: 2c0f692b4e check-in: [13cda7b91c] user: jan.nijtmans branch: mistake, size: 128352
2019-02-25
17:56
merge 8.7 file: e6095589b4 check-in: [5e35c2529b] user: dgp branch: tip-445-api-fix, size: 137961
2019-02-22
20:23
WIP file: b24b721763 check-in: [15fabd01bb] user: dgp branch: dgp-properbytearray, size: 128631
16:45
Merge and resolve more from the trunk. file: 3827ba4b77 check-in: [11271c0a32] user: dgp branch: dgp-properbytearray, size: 128618
2019-02-15
19:55
WIP: refactor libtommath references: Deprecate functions which shouldn't be in stub tables. More general refactoring of tommath-related code. file: c767e314f7 check-in: [ae2d2e4e3a] user: jan.nijtmans branch: tommath-refactor, size: 137770
2019-02-14
20:14
Merge trunk through 2019-01-18 file: 38766da2cd check-in: [8b11314057] user: dgp branch: dgp-properbytearray, size: 128791
2019-02-04
22:45
Merge trunk file: 7699530fa5 check-in: [a6db8815ce] user: jan.nijtmans branch: tip-502-for-9, size: 128675
2019-01-28
21:47
Merge 8.7 file: b3a7306fdd check-in: [08dd3497f1] user: jan.nijtmans branch: trunk, size: 128662
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: 79ff11fd33 check-in: [d3ed67412e] user: jan.nijtmans branch: core-8-branch, size: 138093
2019-01-26
17:32
Merge 8.7 file: 0a5ecd5d7b check-in: [2d39bcaeac] user: jan.nijtmans branch: trunk, size: 128838
17:08
Merge 8.6. Also reduce tclCharTypeTable[] to 256 entries, as this table is always addressed with unsigned chars now. Eliminate some useless end-of-line spacing that slipped in. file: f7bfb6400f check-in: [6d7fdfa9fa] user: jan.nijtmans branch: core-8-branch, size: 138269
2018-12-26
15:04
Many internal int -> size_t increases, so string lengths > 2Gb can be handled correctly in many more places. file: a9c6dc10d3 check-in: [2549977bc4] user: jan.nijtmans branch: trunk, size: 128835
2018-12-12
20:14
Merge 8.7 file: 3f6285d678 check-in: [4c2ed52f8f] user: jan.nijtmans branch: trunk, size: 128838
19:38
If compiled with -DTCL_NO_DEPRECATED, remove Tcl_NewIntObj/Tcl_NewLongObj/Tcl_DbNewLongObj from stub table, as they will be gone in 9.0 (converted to a macro) Use Tcl_WideInt's directly in more places, diminishing the possibility of inadvent overflow. file: c58221e20f check-in: [72e64ef096] user: jan.nijtmans branch: core-8-branch, size: 138272
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: 1915fa8d85 check-in: [c92a5c4373] user: jan.nijtmans branch: trunk, size: 128725
2018-12-02
20:31
Remove some dead code file: cb484bbd7f check-in: [bdb60e5da5] user: jan.nijtmans branch: trunk, size: 128728
20:02
If compiled with -DTCL_NO_DEPRECATED, remove the Tcl_SetIntObj/Tcl_SetLongObj entries from stub table: Since they are gone in Tcl 9.0 file: c07f98b333 check-in: [670eb3b871] user: jan.nijtmans branch: core-8-branch, size: 138100
2018-11-30
17:08
Don't panic when the interface offers a gentler way to signal error. file: 89261d7994 check-in: [51b92fccef] user: dgp branch: tip-445-api-fix, size: 137855
2018-11-28
20:16
merge 8.7 file: c31baba485 check-in: [b3a5d77ea3] user: dgp branch: tip-445-api-fix, size: 137910
2018-11-27
23:16
Merge 8.7 Remove TclFreeObj stub entry file: cf4834b205 check-in: [57c58fe6a1] user: jan.nijtmans branch: trunk, size: 129912
2018-11-25
20:01
Merge 8.7 file: 7ef4f38bfc check-in: [9fd2c51bc4] user: jan.nijtmans branch: trunk, size: 129908
19:46
Fix [df6a91b5c616c3dc126cee700e159b997467465]: build failure (ticket fails to mention that this only happens with TCL_MEM_DEBUG defined) file: 2bf9a20db9 check-in: [964ec14d1c] user: jan.nijtmans branch: core-8-branch, size: 137987
2018-11-20
03:05
Revise the Tcl_InitStringRep() interface to accept a size_t length of the string value. This better bridges the migration to Tcl 9. file: 12e685e697 check-in: [5ebb8df809] user: dgp branch: tip-445-api-fix, size: 137842
2018-11-19
18:24
merge trunk file: 3ba9d1a03f check-in: [f99141a5ea] user: dgp branch: dgp-properbytearray, size: 129796
2018-11-18
10:29
Now that we have TCL_AUTO_LENGTH/TCL_IO_FAILURE macro's, use them to make code and documentation more readable. Shifted to feature branch as a temporary measure since it doesn't build. file: a69435bcb0 check-in: [d828309515] user: jan.nijtmans branch: jn-use-macros, size: 129840
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: 4506c86e6d check-in: [016f65758f] user: jan.nijtmans branch: trunk, size: 129810
2018-11-13
21:04
Implement TIP 445 file: 67b839ad1f check-in: [439113e1be] user: dgp branch: trunk, size: 129927
16:37
Implement TIP 506 file: 36eaaf634b check-in: [2b96285daf] user: dgp branch: trunk, size: 119073
2018-11-06
14:07
merge core-8-branch file: eec97eb8e5 check-in: [695e1cb4de] user: dkf branch: mistake, size: 124929
12:59
merge core-8-branch file: b87966f3c7 check-in: [445db2cb18] user: dkf branch: mistake, size: 123693
12:11
merge 8.7 file: a242cdf50b check-in: [fc11dc4371] user: dgp branch: tip-506, size: 137919
2018-10-29
19:23
merge 8.7 file: 57a767fbc7 check-in: [cca06bb4a1] user: pooryorick branch: bug-e593adf103-core-8, size: 130872
2018-10-27
01:04
Draft implementation of TIP 506 - rebased to Tcl 8.7 file: 3ccdad29ea check-in: [d827ebc363] user: dgp branch: tip-506, size: 132109
2018-10-24
00:06
merge trunk file: 55ddce99d1 check-in: [b2e2314ae8] user: dgp branch: dgp-properbytearray, size: 117793
2018-10-18
15:31
merge 8.7 file: aae456baf8 check-in: [000ee6e038] user: dgp branch: tip-445, size: 136683
2018-10-11
18:54
Merge 8.7 file: f52173fa89 check-in: [37418eb6d5] user: jan.nijtmans branch: tip-481, size: 134047
2018-10-09
21:16
Merge 8.7 file: 83e7bb91b6 check-in: [ca235a6fe7] user: jan.nijtmans branch: trunk, size: 117837
19:43
isspace -> TclIsSpaceProc in various places. Re-generate tclDate.c with Bision 3.1 file: 444d39b632 check-in: [0217bf6a6a] user: jan.nijtmans branch: core-8-branch, size: 130873
18:17
Merge 8.7 file: f75d84aeee check-in: [41b954d063] user: jan.nijtmans branch: trunk, size: 117845
18:12
Merge 8.7 Add Unsigned functions to the implementation. TIP text is still far behind describing what's going on here. file: 4a02220215 check-in: [9e83b1442d] user: jan.nijtmans branch: tip-481, size: 134028
2018-10-08
22:22
Re-base to 8.7 file: 875e3e5d17 check-in: [e007a2ab3c] user: jan.nijtmans branch: tip-481, size: 133125
20:47
Fix MSVC warning: warning C4146: unary minus operator applied to unsigned type, result still unsigned (hopefully) file: 2aab945335 check-in: [e03ac1dc7c] user: jan.nijtmans branch: core-8-branch, size: 130881
19:36
Merge 8.7 file: b2328e0e9b check-in: [acd6c0661e] user: jan.nijtmans branch: trunk, size: 117841
19:08
TIP #514 implementation: Platform differences in handling int/wide file: 6a4fda04b3 check-in: [d0f4e9da90] user: jan.nijtmans branch: core-8-branch, size: 130877
2018-10-04
21:07
merge trunk file: ac4779492d check-in: [3ca1d5cace] user: jan.nijtmans branch: memory-API, size: 117588
08:06
merge 8.7 file: 72263db0b5 check-in: [2bd3f2f928] user: sebres branch: trunk, size: 117405
08:04
fixed TclGetWideBitsFromObj - minus applied to unsigned type file: 8c0b6d39d9 check-in: [b4b3517f31] user: sebres branch: core-8-branch, size: 130624
2018-09-22
13:37
merge tip-515 branch file: 5bcd5207c1 check-in: [686effa0af] user: jan.nijtmans branch: tip-514, size: 130890
12:54
merge tip-515 (which is pre-requisite for this TIP now) file: 072989fc6e check-in: [1515c3f5e3] user: jan.nijtmans branch: tip-514, size: 130892
2018-09-13
20:52
merge trunk file: ec65179072 check-in: [8e81b9d9b8] user: jan.nijtmans branch: memory-API, size: 117601
20:52
merge 8.7 file: 01a3aa1f63 check-in: [0caf13a0cf] user: jan.nijtmans branch: trunk, size: 117418
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: 7f8ffb432b check-in: [f89b8af179] user: jan.nijtmans branch: core-8-branch, size: 130637
2018-09-08
21:49
TCL_NUMBER_WIDE -> TCL_NUMBER_INT. Two test-cases still failing file: 8e41bcfd4f check-in: [c54622966e] user: jan.nijtmans branch: tip-514, size: 130904
21:29
Merge TIP-515 branch, so part of the corrections in the TIP-514 implementation branch now moved to the TIP-515 implementation. file: a4d2024b99 check-in: [3e36e66ffe] user: jan.nijtmans branch: tip-514, size: 130905
2018-09-05
14:54
Merge trunk. Also rename TCL_NO_LENGTH -> TCL_AUTO_LENGTH file: c73dc960c6 check-in: [6488c06992] user: jan.nijtmans branch: memory-API, size: 117613
13:45
Merge 8.7. Change some internal function signatures, accounting for the 64-bit era. file: 3a1117a899 check-in: [4280c4f9d0] user: jan.nijtmans branch: trunk, size: 117430
12:11
Minor code cleanup. win/tclWinPipe.c: Eliminate some compiler warnings on mingw-w64 win/tclWinNotify.c: Eliminate tsdPtr->timeout variable, since it's only being written to. other files: code cleanup, eliminate unnecessary type casts file: 89d8afbf0c check-in: [35eb0692c1] user: jan.nijtmans branch: core-8-branch, size: 130649
08:07
Merge 8.7 file: 6ed67c9eb9 check-in: [6423bd55ee] user: jan.nijtmans branch: tip-514, size: 130907
2018-09-04
14:37
Merge 8.7 file: 53ec9c2a68 check-in: [cbb275cb09] user: jan.nijtmans branch: trunk, size: 117432
14:37
Fix [540bed4bde]: binary format can result in "integer value too large to represent". Implemented a new utility function TclGetWideBitsFromObj(), which handles the overflowing of integers using bignums. This function can be used in a _LOT_ of other places, preventing code duplication. Done that as well. Those changes have no effect on other commands, only two new "binary format" test-cases for this specific situation: binary-44.5 and binary-44.6 file: 571cee4c53 check-in: [c531497fcb] user: jan.nijtmans branch: core-8-branch, size: 130651
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: 612c98815a check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 115367
2018-08-30
21:28
Merge 8.7, and improve TIP implementation (using utility function in more places) file: 029425e3b8 check-in: [47b67cd37d] user: jan.nijtmans branch: tip-514, size: 131245
2018-08-29
19:30
Fix compilation on 32-bit platforms, and fix unit-tests in this environment file: dd411502be check-in: [5598fa3c00] user: jan.nijtmans branch: tip-514, size: 131117
2018-08-28
22:28
Now, restore wide(), but make int() the same as entier(). Add new utility function. file: 798703fc6b check-in: [d6c1d88425] user: jan.nijtmans branch: tip-514, size: 131114
2018-08-21
21:36
improved reange checking (also for the Tcl 9.0 proposal). Make platform test platform 32/64-bit independant file: bcc76f9378 check-in: [7ebb863e96] user: jan.nijtmans branch: tip-514, size: 128903
2018-08-19
09:33
Re-base branch "all-wideint" to core-8-branch. Still WIP file: 4fafde5d5f check-in: [4932848e36] user: jan.nijtmans branch: tip-514, size: 128407
2018-08-16
18:03
Experiment, resolving platform differences at script level. Don't look ... file: c1a128afa4 check-in: [f22395629e] user: jan.nijtmans branch: all-wideint, size: 130651
2018-08-14
07:27
Merge 8.7. Also provide a new function for handling ByteArrays file: 984cd0dc0a check-in: [2e99b95206] user: jan.nijtmans branch: tip-481, size: 130647
2018-07-04
21:11
merge trunk file: 689f05cb22 check-in: [05cecae336] user: jan.nijtmans branch: memory-API, size: 115315
20:56
Merge 8.7 file: 0367a66a03 check-in: [4d8ee0f939] user: jan.nijtmans branch: trunk, size: 115184
20:18
Micro-optimization in Tcl_GetString() and Tcl_GetStringFromObj() file: e97ab62d63 check-in: [a2276ad547] user: jan.nijtmans branch: core-8-branch, size: 128403
2018-07-01
06:21
Starting to update all callers of TclGetStringFromObj() to use size_t variables file: 8b4b3df920 check-in: [97c2217f81] user: jan.nijtmans branch: memory-API, size: 114483
2018-06-28
20:30
More using TCL_Z_MODIFIER where possible file: b17ce44480 check-in: [3cdf0d20c9] user: jan.nijtmans branch: memory-API, size: 114493
2018-06-27
19:09
merge trunk file: a540b56f65 check-in: [2cc2d71f0a] user: jan.nijtmans branch: memory-API, size: 114507
2018-05-26
16:42
merge 8.7 file: 7ffdefd282 check-in: [74f9541fc2] user: dgp branch: bug-e593adf103-core-8, size: 127580
2018-05-24
13:36
merge trunk file: fb144578f0 check-in: [cd4254537e] user: dgp branch: dgp-properbytearray, size: 114318
12:46
merge 8.7 file: 92ce191c26 check-in: [620705ca16] user: dgp branch: tip-445, size: 133391
2018-05-23
20:09
merge trunk file: 682895e8b9 check-in: [1a6fcb9bdc] user: jan.nijtmans branch: memory-API, size: 114539
19:41
merge trunk file: 111423b71d check-in: [c78f328143] user: jan.nijtmans branch: novem, size: 114356
2018-05-22
20:57
merge 8.7 file: 887a542d3f check-in: [b0fbde34ff] user: jan.nijtmans branch: trunk, size: 114362
20:53
Simplify usage of TCL_THREAD, along the lines of [eeddb0693a950be980a66de3811630a00c7bab54|eeddb0693a]. Suggested by DKF file: a0272e9041 check-in: [bf06e36b25] user: jan.nijtmans branch: core-8-branch, size: 127581
2018-05-21
10:02
merge core-8-branch file: 749928380a check-in: [70e385378b] user: pooryorick branch: bug-e593adf103-core-8, size: 127862
2018-05-17
19:05
Merge 8.7, but keep TCL_THREADS undefined in tcl.h (since that's no longer necessary) file: 9a1ab68d00 check-in: [f2c996cdb8] user: jan.nijtmans branch: trunk, size: 114644
18:53
TIP #491 implementation: Threading Support: phasing out non-threaded builds file: 47804531d7 check-in: [e9ee6fc387] user: jan.nijtmans branch: core-8-branch, size: 127863
2018-03-30
17:56
Draft implementation of TIP 506 file: 085647207e check-in: [36f6096e41] user: dgp branch: tip-506, size: 115659
2018-02-27
21:55
Merge trunk file: 83c85d4642 check-in: [bbb2d60708] user: jan.nijtmans branch: memory-API, size: 114600
2018-02-26
18:18
merge 8.7 file: c32ed33e5a check-in: [225b6b1d08] user: dgp branch: bug-e593adf103-core-8, size: 127641
2018-02-23
18:20
merge trunk file: 5cb2bbbe72 check-in: [e719d71c96] user: dgp branch: novem, size: 114417
18:15
merge trunk file: deef88eec6 check-in: [69df2bc72e] user: dgp branch: dgp-properbytearray, size: 114379
18:10
merge 8.7 file: 6ff846df8c check-in: [8b6f45e051] user: dgp branch: trunk, size: 114423
18:01
merge 8.7 file: e8e217703c check-in: [9d0eb0566c] user: dgp branch: tip-445, size: 133452
15:44
Cease registration of the "end-offset" Tcl_ObjType. Give it file scope. Remove the updateStringProc that can never be called. file: 9fed43e673 check-in: [e0ca41d498] user: dgp branch: core-8-branch, size: 127642
2018-02-22
21:17
merge trunk file: a51f3f4227 check-in: [709a045dbb] user: jan.nijtmans branch: memory-API, size: 114644
20:10
merge trunk file: 5f73aab6c5 check-in: [4e3d68adda] user: jan.nijtmans branch: novem, size: 114461
20:09
merge core-8-branch file: 1bb00f6422 check-in: [d84b8524af] user: jan.nijtmans branch: trunk, size: 114467
20:03
Correctly distinguish between internalrep.longValue (in case of boolean) and internalre.wideValue (in case of int). Add comment warning for that file: 1e570d76a6 check-in: [1a90ee1f22] user: jan.nijtmans branch: core-8-branch, size: 127686
2018-02-15
19:54
Use internalRep.wideValue as internal representation for booleans. This simplifies the handling of "int" resp "boolean", sharing its internal representation. file: 2cf14d2504 check-in: [9376106350] user: jan.nijtmans branch: trunk, size: 114469
2018-02-14
13:37
Rewrite documentation in comments for brevity and clarity. file: 79cfa08ce0 check-in: [64f4563fdc] user: pooryorick branch: pyk-backport-to-8-6, size: 131711
2018-02-09
20:43
merge trunk file: 7b020d3405 check-in: [713b9849e2] user: dgp branch: novem, size: 114544
20:22
merge trunk file: 998c9820c0 check-in: [ffe2a9625d] user: dgp branch: dgp-properbytearray, size: 114506
18:52
merge 8.7 file: 0ded64e250 check-in: [709f848841] user: dgp branch: trunk, size: 114550
18:45
merge 8.7 file: 27c2456294 check-in: [8a91dc9521] user: dgp branch: tip-445, size: 133161
2018-02-08
14:41
fixes [9280abbaf57fca3eb40a89403d9d891853209bb6]: compare of `LLONG_MAX == LONG_MAX` does not possible in preprocessor (because LLONG_MAX could be complex expression), use `defined(TCL_WIDE_INT_IS_LONG)` instead of. file: ef41a33829 check-in: [ed8f5966a3] user: sebres branch: fix-9280abbaf57fca3e-long-vs-wide, size: 127395
2018-02-06
22:43
remove unused stub entries (now that those are macros) Moved checkin off trunk onto dev branch jn-unused-stubs because it causes many test suite segfaults, apparently releated to Tcl_Channels. Moved back onto trunk. segfaults came from a prior install of the Thread package that became imcompatible with this change in the stubs table. Will followup on TCLCORE. file: 62f3cada7f check-in: [a9481af565] user: jan.nijtmans branch: trunk, size: 114549
21:33
merge trunk file: b25af77019 check-in: [cce5d4c18f] user: dgp branch: dgp-properbytearray, size: 126426
21:11
merge 8.7 file: ff5b48e6f2 check-in: [f7dba39527] user: dgp branch: tip-445, size: 133160
21:08
merge trunk file: 06a4675191 check-in: [a233811733] user: jan.nijtmans branch: memory-API, size: 126637
21:01
merge trunk file: bf6f116c13 check-in: [0774eefae7] user: jan.nijtmans branch: novem, size: 122547
20:54
merge core-8-branch file: 4b4987bf8d check-in: [30f95df8b0] user: jan.nijtmans branch: trunk, size: 126470
2018-02-04
22:53
An experimental branch that allows hash tables to handle int-holding Tcl_Objs without creating the string representations. Note that this changes the hash function for all string Tcl_Objs as well to make sure that hashes are consistent between whether there is a string or not. file: 3d39346d05 check-in: [509db3eaac] user: dkf branch: dkf-experimental-fast-number-hash, size: 132408
2018-01-29
15:41
merge trunk file: 5d1a0e4d20 check-in: [94b027ca28] user: dgp branch: dgp-properbytearray, size: 129840
15:36
merge 8.7 file: 9636189add check-in: [d47384a06e] user: dgp branch: tip-445, size: 136465
11:36
merge trunk file: 46d1fb7fd2 check-in: [3faa71ab4f] user: jan.nijtmans branch: memory-API, size: 130051
2018-01-26
13:29
Rename (internal) TclNewWideObj macro to TclNewIntObj. Change Tcl_SetIntObj/Tcl_SetLongObj to macro's referencing Tcl_SetWideIntObj (since all of those do the same now) file: 0fa368afdf check-in: [b162d433dc] user: jan.nijtmans branch: no-wideint, size: 127394
12:32
Merge core-8-branch. Also some minor performance improvement: Turn Tcl_NewLongObj/Tcl_NewIntObj/Tcl_DBNewLongObj into macro's refering to their WideInt equivalent, since all of those do exactly the same now. file: f02a945cf3 check-in: [85e9d69071] user: jan.nijtmans branch: no-wideint, size: 127385
2018-01-23
15:22
merge trunk file: 884aef8079 check-in: [82716436dd] user: jan.nijtmans branch: novem, size: 125981
15:02
Don't register oldBooleanType any more. And rename "booleanString" to "boolean" in tclBooleanType. file: fa235893e7 check-in: [8b82166955] user: jan.nijtmans branch: trunk, size: 129884
14:52
In Tcl 9.0, don't register oldBooleanType any more. And rename "booleanString" to "boolean" in tclBooleanType. Many extensions (e.g. [http://cyqlite.sourceforge.net/cgi-bin/sqlite/info/451bb2c1f8554eee|sqlite]) still test for "boolean", although that stopped working already for a long time. In Tcl 8.7, do the same when compiled with -DTCL_NO_DEPRECATED. file: f96e8cd9d3 check-in: [8b366f71d8] user: jan.nijtmans branch: core-8-branch, size: 130741
2018-01-22
09:54
make the old "int" type "static", since it's just used in a single file. file: f546c2ee25 check-in: [26bb9cc0b3] user: jan.nijtmans branch: no-wideint, size: 127367
09:18
Put old "int" type back. Not used by Tcl anymore, but this restores compatibility with Tk < 8.6.9 and some extensions: "nsf", "tdbcload", "tclxml" and "VecTcl" (this workaround was used by "boolean" as well, when its internal implementation changed, there's still an oldBooleanType because of that) file: 8d135483af check-in: [f493a192a1] user: jan.nijtmans branch: no-wideint, size: 127366
2018-01-19
20:29
tidy up NS_DYING/NS_DEAD flags, delete commands before variables when deleting a namespace. file: 9346bf4c60 check-in: [e40c01c7c5] user: pooryorick branch: bug-e593adf103-core-8, size: 130514
2017-12-27
21:41
Merge trunk. Rename Tcl_MemAlloc and friends back to Tcl_Alloc, as this renaming turns out not to be necessary. Make everything compile/run with TCL_MEM_DEBUG=1 (a few signatures were still not correct) file: 2bcf091759 check-in: [671df0982f] user: jan.nijtmans branch: memory-API, size: 130320
2017-12-20
13:38
merge trunk file: 7cde66736e check-in: [fca1897ccc] user: jan.nijtmans branch: memory-API, size: 130255
2017-12-19
16:22
merge trunk file: dd9b519c7b check-in: [9a95242f6d] user: dgp branch: dgp-properbytearray, size: 130109
16:22
merge 8.7 file: d7a09ed579 check-in: [dd50956e9c] user: dgp branch: tip-445, size: 136239
15:20
Somewhat better backwards compatibility on 64-bit platforms. file: c7c4553075 check-in: [62da671053] user: jan.nijtmans branch: no-wideint, size: 126363
12:26
merge core-8-branch file: 06f7b77898 check-in: [30edd5c06a] user: jan.nijtmans branch: no-wideint, size: 126311
2017-12-15
21:27
Revert a few more (int -> size_t) transitions, which could effect extensions (such as Itcl 3.4) which use internal Tcl header files. Better wait until 9.0 for this. What we _can_ do is change some (internal) fields to 'unsigned': that doubles the epoch range without further danger. Thanks, Don, for pointing this out! file: f45105c2e5 check-in: [b59ef9e0d8] user: jan.nijtmans branch: core-8-branch, size: 130515
19:55
merge trunk file: b6a3f05a48 check-in: [878d1b77fd] user: jan.nijtmans branch: memory-API, size: 130204
16:50
Revert the (int -> size_t) transition of the "cmdEpoch" field of the struct Command that was part of [ff3f6a12a8d099ef], and related changes. This change broke the ability of Itcl 3.4 built against Tcl 8.6 headers to successfully [load] into and operate in a Tcl 8.7 interp. "Command" is a private struct, and Itcl 3 should have respected that, but it has not, and changing the size of the cmdEpoch field broke the ability of Itcl 3 to operate on later fields of the struct, notably the deleteProc, which it makes extensive use of. I believe we should keep the change in the Tcl 9 sources. file: 753588c90d check-in: [7379c9a072] user: dgp branch: core-8-branch, size: 130494
16:06
merge trunk file: 6879415df0 check-in: [e3d9fa3868] user: jan.nijtmans branch: novem, size: 126250
15:02
Merge TIP #488 implementation. Some clean-up in tommath implementation (remove internal stub entries which are no longer needed) file: 3b3c4d292d check-in: [70302ff935] user: jan.nijtmans branch: trunk, size: 130153
2017-12-06
13:36
merge trunk file: 12c3b8cc38 check-in: [b90a0b0a8e] user: dgp branch: dgp-properbytearray, size: 130193
2017-12-01
15:03
merge trunk file: bf66d30c5a check-in: [e008d0adce] user: jan.nijtmans branch: memory-API, size: 130288
14:36
merge trunk file: 9b582e15e0 check-in: [514aadb736] user: jan.nijtmans branch: novem, size: 126334
13:53
merge core-8-branch. Various cleanup: unused structure names, unused #defines. Change some "epoch"-related fields from int to size_t. Nothing functional. file: 9540904d04 check-in: [6af217e68c] user: jan.nijtmans branch: trunk, size: 130237
11:55
TIP 488: Remove tcl_precision file: ed88403aec check-in: [f4efe03192] user: jan.nijtmans branch: tip-488, size: 130161
2017-11-16
11:17
re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming. file: b4fc00de02 check-in: [3cb46ea71b] user: jan.nijtmans branch: memory-API, size: 130296
2017-11-15
14:13
Merge dgp's "end-int-registration" branch, but slightly different: In stead of not registering "int", continue to register it as being "wideInt" for Tcl 8.x. This should assure maximum compatibility with Tcl 8.6-based extensions. In addition, revert some boolean-related changes (keep the longValue usage here in stead of wideValue). And stop registering oldBoolean starting with Tcl 9. file: e77ed94a45 check-in: [d1aa4663ab] user: jan.nijtmans branch: no-wideint, size: 126293
13:39
merge trunk file: 4868cd7c5e check-in: [5d829c82fa] user: dgp branch: dgp-properbytearray, size: 130201
10:20
merge trunk file: 8f364f3502 check-in: [a12a0623f0] user: jan.nijtmans branch: novem, size: 126380
10:01
merge core-8-branch file: a480690abe check-in: [7163cf716b] user: jan.nijtmans branch: trunk, size: 130245
2017-11-14
18:35
TIP 484 proposes a re-implementation of Tcl's "int" Tcl_ObjType. Since the new implementation is not consistent with the former one, any callers of Tcl_GetObjType("int") who are expecting the return value to point them at something playing by the former rules are at risk of having their code broken. In this branch I remove the registation of Tcl's "int" type, so such callers will get NULL (which they should already be able to handle) instead of something misleading them into breakage. Examine this branch and decide if it should be incorporated into TIP 484. file: 79c1db5d18 check-in: [d9ee6504b4] user: dgp branch: end-int-registration, size: 125972
2017-11-13
11:47
merge novem file: 2d49e88965 check-in: [b066227b02] user: jan.nijtmans branch: novem-more-memory-API, size: 126432
2017-11-09
14:44
merge trunk file: 1ab911ccec check-in: [d27981d722] user: dgp branch: no-wideint, size: 125759
2017-11-08
14:30
Rebase to trunk. file: 3a40f75f95 check-in: [a12771a1b9] user: dgp branch: dgp-properbytearray, size: 130202
03:34
merge novem file: aa6fcd3af9 check-in: [efba4c9ac2] user: dgp branch: dgp-properbytearray, size: 126337
2017-11-07
16:16
More code simplifications, with still equal functionality. file: c5954728fa check-in: [1db008ceb5] user: jan.nijtmans branch: no-wideint, size: 126010
2017-11-06
14:55
merge trunk file: 76913507dd check-in: [70449c549e] user: jan.nijtmans branch: novem, size: 126381
01:33
Rewrite documentation in comments for brevity and clarity. file: 1d9560465f check-in: [568bd16ef2] user: pooryorick branch: trunk, size: 130246
2017-11-01
12:35
Finally, get rid of tclWideIntType completely file: 225db0d98f check-in: [01d55bd3e1] user: jan.nijtmans branch: no-wideint, size: 126726
2017-10-30
16:46
Fix some pointer arthemeric (only visible on big-endian systems) file: 451f096a94 check-in: [d3adf52e7a] user: jan.nijtmans branch: no-wideint, size: 127635
14:32
more progress in code simplifications file: cf3cb82483 check-in: [3876616fc4] user: jan.nijtmans branch: no-wideint, size: 127750
11:01
Change (internal) TclFormatInt() signature, so it can handle WideInt's directly. Ongoing simplifications ... file: 4a893aeafc check-in: [c606809235] user: jan.nijtmans branch: no-wideint, size: 128292
08:47
Experimental branch meant to eliminate the "wideint" type, just merge it to a single "int" type. No effect on linux64 and similar systems, code simplification for Win64 and 32-bit system. No TIP yet, implementation ongoing. file: a8cc94b9af check-in: [c2abe1efd0] user: jan.nijtmans branch: no-wideint, size: 130497
2017-10-27
08:45
First implementation of [http://core.tcl.tk/tips/doc/trunk/tip/481.md|TIP #481]: Extend size range of various Tcl_Get*() functions file: 130303b653 check-in: [3d8b34236d] user: jan.nijtmans branch: tip-481, size: 131791
2017-10-11
14:09
merge novem file: 74f56d050d check-in: [ac9cb5b64c] user: jan.nijtmans branch: novem-more-memory-API, size: 126683
2017-09-14
14:20
merge tip-445 file: 7a62036a4c check-in: [b3e3e1647b] user: dgp branch: cjo-hydra, size: 144335
14:12
merge trunk file: da41a04f28 check-in: [decd9fa55d] user: dgp branch: tip-445, size: 136221
13:17
merge novem file: be0e3f2dcb check-in: [0a3ba6dcc3] user: dgp branch: dgp-properbytearray, size: 126588
2017-09-13
10:42
Merge trunk file: 36930a22a9 check-in: [a493ca45ea] user: jan.nijtmans branch: novem, size: 126632
10:14
Make mp_get_long and mp_set_long available to tommath-enabled Tcl extensions. Deprecate the internal TclBNInitBignumFrom* functions, in favor of the official tommath functions with the same purpose. file: d1056144c0 check-in: [900152d715] user: jan.nijtmans branch: trunk, size: 130497
2017-09-11
17:17
Stop crash in oo.test file: c80050b300 check-in: [1b78167222] user: dgp branch: cjo-hydra, size: 144341
16:52
Add a DupHydra implementation. file: f052d9fdf5 check-in: [2864297e48] user: dgp branch: cjo-hydra, size: 144247
14:51
Fixes to Tcl_StoreIntRep -- support irPtr == NULL file: 35266595f4 check-in: [91058bb83b] user: dgp branch: cjo-hydra, size: 143183
14:44
Hydra work from Cyan Ogilvie. file: afe72d7510 check-in: [ac03e05714] user: dgp branch: cjo-hydra, size: 143129
2017-05-04
11:35
merge novem file: 7859c345fb check-in: [70b0b53b8a] user: jan.nijtmans branch: novem-more-memory-API, size: 126689
2017-04-12
19:16
merge novem file: c39c0702ef check-in: [7d18018b57] user: dgp branch: dgp-properbytearray, size: 126594
13:36
merge trunk file: 411ecedf92 check-in: [36507326e3] user: dgp branch: tip-445, size: 136227
2017-04-11
15:35
merge trunk file: df628fa05c check-in: [89dd10b608] user: jan.nijtmans branch: novem, size: 126638
15:20
Remove some unnecessary "struct" definitions and some type casts no longer necessary. No functional changes. file: a8f7d9f63d check-in: [1f5acc492f] user: jan.nijtmans branch: trunk, size: 130503
2017-04-06
14:18
merge novem file: ab1169c944 check-in: [71942e2e84] user: dgp branch: dgp-properbytearray, size: 126613
11:53
merge trunk file: eb1bb4bd04 check-in: [6c868716b3] user: dgp branch: tip-445, size: 136246
2017-03-31
15:18
merge trunk file: 3468a022d3 check-in: [b803d95d48] user: jan.nijtmans branch: novem, size: 126657
14:44
Since Tcl_AppendPrintfToObj() now understands the %p format, we can use it. Eliminating some internal string buffers. file: 12a7b17493 check-in: [c456624781] user: jan.nijtmans branch: trunk, size: 130522
2017-03-20
12:55
merge trunk file: 020f4d863d check-in: [44fdb92f73] user: dgp branch: tip-445, size: 136216
10:24
If compiled with TCL_NO_DEPRECATED, remove some more stub entries which are not used any more. file: f2ab7e87f2 check-in: [3651512988] user: jan.nijtmans branch: trunk, size: 130492
2017-03-13
17:03
Different solution to silencing the non-useful valgrind alerts. file: 5009cbb33a check-in: [eb3b58b807] user: dgp branch: core-8-6-7-rc, size: 131962
16:08
merge novem file: ef11de5118 check-in: [3c4f7662e9] user: dgp branch: dgp-properbytearray, size: 126583
16:01
merge trunk file: 7c9b5d7069 check-in: [9e48d151ed] user: dgp branch: tip-445, size: 136216
09:16
merge trunk file: e4565490fe check-in: [9199921a93] user: jan.nijtmans branch: novem, size: 126627
08:38
Eliminate internal use of TclNewBooleanObj()/TclSetBooleanObj()/TclSetIntObj(). Replace Tcl_DbNewBooleanObj() with trivial macro. file: 27c245be90 check-in: [c77ac77cde] user: jan.nijtmans branch: trunk, size: 130492
2017-03-10
16:41
Silence valgrind complaints from [representation]. file: 6316d9ac02 check-in: [c1eea9e95d] user: dgp branch: core-8-6-7-rc, size: 131158
2017-02-16
15:51
merge trunk file: 1b00933ce7 check-in: [b77b0b9348] user: dgp branch: tip-445, size: 136161
15:46
merge novem file: e9dcd68489 check-in: [ff2872230d] user: dgp branch: dgp-properbytearray, size: 130448
2017-02-15
14:08
merge trunk file: 92f02ec2e9 check-in: [0504484608] user: jan.nijtmans branch: novem, size: 130492
14:04
More internal use of size_t in stead of int, e.g. for epoch's file: 3cdc620a02 check-in: [ff3f6a12a8] user: jan.nijtmans branch: trunk, size: 130437
2017-02-13
12:24
Tcl_GetWideIntFromObj must fail for values between WIDE_MAX+1 and UWIDE_MAX (bug [96c3f3b47d1]) file: 25ff079bfd check-in: [62e40d8270] user: aspect branch: bug-96c3f3b47d1, size: 125353
2017-02-06
15:47
merge trunk file: abe3c9a092 check-in: [d420ebaa54] user: jan.nijtmans branch: bug-39f6304c2e, size: 130597
2017-02-03
18:49
merge trunk file: 6d29c1339f check-in: [3f498cec91] user: dgp branch: tip-445, size: 136154
17:53
merge novem file: 9f315f0104 check-in: [212dc95d3a] user: dgp branch: dgp-properbytearray, size: 130449
14:03
merge trunk file: cf75dfdd26 check-in: [052d6fe213] user: jan.nijtmans branch: novem, size: 130493
11:47
In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking. file: 118ddd0129 check-in: [54e59981c7] user: jan.nijtmans branch: trunk, size: 130430
2017-02-02
20:33
merge trunk file: aabfb050bf check-in: [2ea68cac21] user: dgp branch: tip-445, size: 136197
18:40
merge novem file: 76ea88c48d check-in: [28ed731f55] user: dgp branch: dgp-properbytearray, size: 130496
2017-01-31
13:46
merge trunk file: 1d38f61c17 check-in: [a3dd7c15d6] user: jan.nijtmans branch: novem, size: 130540
13:27
Update documentation on recent changes in Tcl_LinkVar. Minor code clean-up. No functional changes. file: 6d0ad12571 check-in: [2079ddf9bb] user: jan.nijtmans branch: trunk, size: 130477
13:15
Update documentation on recent changes in Tcl_LinkVar. Don't use TCL_NO_DEPRECATED for disabling tests-cases: Those were not deprecated in 8.6 yet. Minor code clean-up. No functional changes. file: 107af328aa check-in: [bd07313d9f] user: jan.nijtmans branch: core-8-6-branch, size: 131094
2017-01-27
18:06
merge novem file: 9830ea935e check-in: [d8c61e3c78] user: dgp branch: dgp-properbytearray, size: 130496
17:45
merge trunk file: 8eab179140 check-in: [2cf023e270] user: dgp branch: novem, size: 130540
16:32
merge trunk file: 24bb399f29 check-in: [50c9784c6a] user: dgp branch: tip-445, size: 136197
15:37
Implement TCL_LINK_SIZE/TCL_LINK_SIZE for Tcl_LinkVar(), and simplify TCL_LINK_LONG/TCL_LINK_ULONG a lot. file: d86a41436d check-in: [4af37df150] user: jan.nijtmans branch: bug-39f6304c2e, size: 130644
14:31
Some code cleanup: More internal use of size_t, less type casts (because of this). No functional changes. file: 413841f433 check-in: [0867ec3f75] user: jan.nijtmans branch: trunk, size: 130477
2017-01-26
11:49
Extend booleans to accept "+" and "-" as valid representation. And extend Tcl_LinkVar to accept boolean representation for all interger link types. TIP no written yet. file: dfeedb081b check-in: [a4e62ef88d] user: jan.nijtmans branch: bug-39f6304c2e, size: 130680
2016-12-23
15:28
merge novem file: c47c294a97 check-in: [71d36ba10f] user: dgp branch: dgp-properbytearray, size: 130538
15:21
merge trunk file: ccf8a76970 check-in: [01d8a401a8] user: dgp branch: tip-445, size: 136239
10:07
Deprecate otherValuePtr and ptrAndLongRep. Some more minor tweaks. file: 1def6c7a0a check-in: [f659a13b48] user: jan.nijtmans branch: novem-more-memory-API, size: 130377
09:32
merge novem file: 55da9b67bd check-in: [9d557545fc] user: jan.nijtmans branch: novem-more-memory-API, size: 130633
09:11
merge trunk file: e7d1015902 check-in: [f0b6381989] user: jan.nijtmans branch: novem, size: 130582
08:27
Eliminate the internal macro/function TclNewIntObj: In all cases TclNewLongObj is just as good. file: a4a01c67f8 check-in: [d12ed0fcc6] user: jan.nijtmans branch: trunk, size: 130519
2016-12-21
12:59
Experimental (partial) fix for [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e]: Tcl_LinkVar is not tolerant to minus, plus, dot. This handled minus and plus only, not other possible errors. Will need a TIP, because the boolean type is extended to consider '-', '+' and 'o' (necessary for being able to type 'on' or 'off') as valid booleans Dot, and integer prefixes (such as 0x) not handled yet, should be handled completely different. file: 97fcf7c37d check-in: [2d5e0a6533] user: jan.nijtmans branch: bug-39f6304c2e, size: 130681
2016-12-19
10:42
merge novem file: 8e331b075c check-in: [10c36e48f6] user: jan.nijtmans branch: novem-more-memory-API, size: 130635
2016-12-06
20:09
Purge the old and broken Tcl_ObjType. file: bd77768252 check-in: [ea03de5a23] user: dgp branch: dgp-properbytearray, size: 130540
2016-12-01
11:20
More internal use of size_t. Eliminate unused "isBin" argument from TclpSysAlloc() file: 4ac620e12e check-in: [9d4cd6b1aa] user: jan.nijtmans branch: novem, size: 130584
2016-11-28
16:08
merge trunk file: e4959b80f4 check-in: [9174c893f4] user: dgp branch: tip-445, size: 136240
2016-11-24
12:41
merge novem file: 6d64069cc4 check-in: [39188cbdd6] user: jan.nijtmans branch: novem-more-memory-API, size: 130630
2016-11-21
10:40
Merge trunk. More internal use of size_t in stead of int (or long) file: 87f6505d3e check-in: [b68c708bd6] user: jan.nijtmans branch: novem, size: 130579
10:15
More internal use of size_t in stead of int. file: 72b03e7277 check-in: [ef4da65408] user: jan.nijtmans branch: trunk, size: 130520
2016-11-18
18:02
merge trunk file: f2308397a6 check-in: [d583c1d31f] user: dgp branch: tip-445, size: 136237
12:10
merge novem file: 91a25ca531 check-in: [21f9030029] user: jan.nijtmans branch: novem-more-memory-API, size: 130619
2016-11-17
16:27
merge trunk file: 998f5bd0d2 check-in: [f365ba1ad9] user: jan.nijtmans branch: novem, size: 130568
16:24
Fix libtommath's mp_radix_size() function such that it returns 2 for single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version). file: 315aaaeb02 check-in: [db3a4c3b27] user: jan.nijtmans branch: core-8-6-branch, size: 131096
16:12
Fix libtommath's mp_radix_size() function such that it returns 2 for single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version). file: c3e48b51d9 check-in: [f321ad8690] user: jan.nijtmans branch: core-8-5-branch, size: 125219
15:30
Restore bn_mp_radix_size.c to exact copy of libtommath-1.0 version: Since the radix_size of "9" should return 2, not 3. Add test-case to prove that. file: 989ac09452 check-in: [8cf7627603] user: jan.nijtmans branch: libtommath-1.0, size: 130517
2016-10-12
17:31
Correct improper NULL return from initializing Tcl_InitStringRep(o, b, 0). Go ahead and return pointer to space where 0 bytes can be written. file: 6f64413b0f check-in: [e429fe0958] user: dgp branch: tip-445, size: 136365
2016-10-07
16:36
New routine Tcl_HasStringRep() and first conversion of callers. file: 5e020bfa99 check-in: [8a3ad0ffb4] user: dgp branch: tip-445, size: 136383
2016-09-09
16:07
merge trunk file: 7d1a7981be check-in: [6fa2f53c7f] user: dgp branch: bug-3418547, size: 130710
2016-09-08
03:29
merge trunk file: 8de3da9cb1 check-in: [0b63cd813b] user: dgp branch: tip-445, size: 135998
2016-09-07
14:03
merge trunk file: 2bec8fc9f6 check-in: [c21cbbe39b] user: jan.nijtmans branch: novem, size: 130696
13:34
Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd literal sharing vs. per-interp resolvers file: c06b209202 check-in: [8dd58d9800] user: jan.nijtmans branch: trunk, size: 130645
2016-09-06
08:25
Additiona patch/suggestion from Gustaf. This indeed fixes the crash in oo.test. Looks good to me, so only waiting for final feedback from Gustaf and eventually feedback from other people. file: 3a0604d192 check-in: [6b5f0e9b55] user: jan.nijtmans branch: bug-d4e7780ca1, size: 131224
2016-09-05
14:52
some more clean-up file: 646adf8007 check-in: [b6613c42d4] user: jan.nijtmans branch: bug-d4e7780ca1, size: 131206
2016-09-02
12:11
Proposed patch for [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1], by Gustaf Neumann file: 16c208ed71 check-in: [3b88e32691] user: jan.nijtmans branch: bug-d4e7780ca1, size: 131277
2016-07-26
18:40
merge trunk file: c90dba01f7 check-in: [95b5fc0a7a] user: dgp branch: bug-3418547, size: 130565
18:36
Converting to stringType no longer loses the existing internal representation of a value. file: 2db4cfd2ff check-in: [acf65fb1a4] user: pooryorick branch: pyk-listdictstringrep, size: 131481
2016-07-19
21:18
merge trunk file: 58c3bcec12 check-in: [d4a20bdff2] user: dgp branch: tip-445, size: 135853
19:31
[0363f0146c] Fix [array startsearch] id handling to support var name variations file: bdb0a6ea09 check-in: [67c987ee93] user: dgp branch: trunk, size: 130500
2016-07-18
17:33
merge trunk file: 0337e55b45 check-in: [4d025dde61] user: dgp branch: tip-445, size: 135899
17:15
merge trunk file: 19c2d5a276 check-in: [c58aa1576a] user: dgp branch: novem, size: 130551
2016-07-15
16:17
First really crude step toward a fix is to just completely disable the intreps of the "cmdName" Tcl_ObjType. No caches means no invalid caches. This provides a baseline of correct, but possibly unacceptably slow behavior. The strange thing is that there's not an immediately dramatic slowdown that I perceive. Will be interested in experiences to the contrary. file: 338aaadf10 check-in: [ab91e6d681] user: dgp branch: bug-3418547, size: 130611
14:19
Factor the cmdName intrep setting code into common utility routine. file: 89974c11b2 check-in: [d38d059aeb] user: dgp branch: trunk, size: 130546
12:36
Stop using the tclCmdNameType to store failed command lookups. If we don't find a command, there's nothing to store, so better not to shimmer at all. file: bfb4b79e67 check-in: [5562afaf9b] user: dgp branch: trunk, size: 131004
02:33
One of the validity checks for the "cmdName" type is to see if the resolved command has been deleted by checking for the CMD_IS_DELETED flag. Only one thing sets this flag -- Tcl_DeleteCommandFromToken(), and every time it sets that flag it also bumps the cmdEpoch of the Command as well. The "cmdName" type is already validating that epoch. It gains nothing to be checking the CMD_IS_DELETED flag too. Eliminated the pointless test. file: 2d4144e805 check-in: [54fac92610] user: dgp branch: trunk, size: 131092
2016-07-12
19:42
merge trunk file: 7e471b5741 check-in: [64aaa60b0e] user: dgp branch: tip-445, size: 136498
14:40
Merge trunk file: 063709bb62 check-in: [a170ea70f5] user: jan.nijtmans branch: novem, size: 131150
13:44
Make hash type changable by compiling with -DTCL_HASH_TYPE=size_t (for example). Default (unsigned) cannot be changed in Tcl 8.x, that must wait until Tcl 9. file: 5e613c407c check-in: [2f25778e69] user: jan.nijtmans branch: trunk, size: 131145
2016-07-09
17:21
merge trunk file: 192d305523 check-in: [c991627aa9] user: dgp branch: tip-445, size: 136481
2016-07-08
10:34
merge trunk file: 5d4286eb5d check-in: [706fbc1eb0] user: jan.nijtmans branch: novem, size: 131144
10:28
Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj in many places where possible. file: 70c5f7eea1 check-in: [48cb8436f1] user: jan.nijtmans branch: trunk, size: 131128
09:46
Use TCL_HASH_TYPE #define for compatibility with Tcl8 in stead of TCL_HASH_KEY_TYPE_VERSION_2 file: 573ad698b4 check-in: [09ffa50505] user: jan.nijtmans branch: novem-bighash, size: 131163
06:56
Adapt hash-function and hash-table to allow hash-tables to grow >1Gb on 64-bit platforms. file: df234242e3 check-in: [ef7ec3df37] user: jan.nijtmans branch: novem-bighash, size: 131151
2016-07-06
09:23
merge novem file: 755ec826e4 check-in: [2612497ee5] user: jan.nijtmans branch: novem-more-memory-API, size: 131197
2016-06-28
15:22
Unicode rep en Tcl_Obj length: int -> size_t file: 812aee4a97 check-in: [1d1a6cacc4] user: jan.nijtmans branch: novem-more-memory-API, size: 131189
13:44
Merge trunk file: ea426fc7f1 check-in: [ab33fe9082] user: jan.nijtmans branch: novem-more-memory-API, size: 131183
2016-04-19
20:35
Fork of Tcl used in the "Little" project. http://www.mcvoy.com/lm/little/index.html file: ac36d08513 check-in: [69b737f5a1] user: dgp branch: little, size: 131142
2016-04-11
17:16
merge trunk file: da8d152dd7 check-in: [d2ed32de62] user: dgp branch: tip-445, size: 136483
01:07
Revise the "end-offset" objType to use proposed routines, and not export or provide unneeded things. file: 2de6267d11 check-in: [64a80a7467] user: dgp branch: tip-445, size: 136369
2016-04-10
16:01
merge trunk file: fc09e945a3 check-in: [5abd35dda8] user: jan.nijtmans branch: novem, size: 131146
16:01
Fix [07d13d99b0a9]: Who broke TCL 8.6 and Tclblend ? file: c294a1946c check-in: [600555f125] user: jan.nijtmans branch: trunk, size: 131130
15:58
Fix [07d13d99b0a9]: Who broke TCL 8.6 and Tclblend ? file: bbc5bbe363 check-in: [9f3a50e613] user: jan.nijtmans branch: core-8-6-branch, size: 131118
2016-03-27
14:57
Revised design - have Tcl_FetchIntRep return a writable pointer. file: 18e672a3b5 check-in: [3173bc0655] user: dgp branch: tip-445, size: 136413
2016-03-25
20:01
irPtr = NULL passed to Tcl_StoreIntRep clears out any value for typePtr. file: 0f534eb623 check-in: [35becf3af0] user: dgp branch: tip-445-reject, size: 136419
19:56
Get signatures in sync. file: 436620d8a3 check-in: [9c6bd315f9] user: dgp branch: tip-445-reject, size: 136333
13:06
New routines Tcl_FetchIntRep() and Tcl_StoreIntRep(). file: 221f0ec5a3 check-in: [4debca2a96] user: dgp branch: tip-445-reject, size: 136327
2016-03-24
20:15
Update Tcl_InitStringRep callers to handle OOM condition. file: 3c67445f78 check-in: [311eebe0bb] user: dgp branch: tip-445, size: 134325
19:21
Revise Tcl_InitStringRep() to do non-panic attempt at allocation. Let caller decide how catastrophic it is. Revise [string repeat] to use new routine. file: 10e0f33ab9 check-in: [9173ce5731] user: dgp branch: tip-445, size: 134158
14:40
Update more Tcl_ObjTypes to use Tcl_InitStringRep(). Adapt TclInitStringRep macro to accept TclInitStringRep(objptr, NULL, 0) without warning -- requires outwitting compiler. file: 5628f75519 check-in: [d55599212b] user: dgp branch: tip-445, size: 134107
13:50
TclInitStringRep() already knows about tclEmptyStringRep. file: 98e563381f check-in: [1fb418efea] user: dgp branch: tip-445, size: 134167
2016-03-23
15:19
Tcl_InitStringRep() bug. Truncation assumed length == allocated. Wrong! Convert "bytearray" Tcl_ObjType to used new facilities. No longer directly refers to bytes or length fields, or any ckalloc of string rep. file: 9fb49031ef check-in: [67e8970656] user: dgp branch: tip-445, size: 134180
14:10
Revise Tcl_InitStringRep(); numBytes is unsigned. Only truncation permitted. file: 933a4b21bb check-in: [c0ff1ae7c3] user: dgp branch: tip-445, size: 134272
10:10
Release memory after truncation. file: 9f17e0c20b check-in: [f1e43c3058] user: dgp branch: tip-445, size: 134201
04:50
Make sure no path emerges to write on tclEmptyStringRep. file: 108474b149 check-in: [4ec3d5a661] user: dgp branch: tip-445, size: 134042
04:31
Next step: new routine Tcl_InitStringRep() file: ae17374140 check-in: [0c35610fad] user: dgp branch: tip-445, size: 134024
2016-03-22
23:45
First simple step implementing TIP 445. file: 33f9307bec check-in: [153a14ad7c] user: dgp branch: tip-445, size: 131535
2016-01-11
00:49
no-280 branch, it still has many errors file: f6b4ee38ea check-in: [ede41c1946] user: msofer branch: mig-opt2-tmp, size: 119300
2015-10-23
22:31
merge trunk file: c357f91055 check-in: [b8ecced6b5] user: kbk branch: mistake, size: 131032
2015-10-19
13:52
typo in comment. Eliminate unnecessary end-of-line spacing. file: 75a5f84905 check-in: [a3acef607b] user: jan.nijtmans branch: trunk, size: 131016
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: 6b9e72e2b8 check-in: [acd5ab176d] user: jan.nijtmans branch: core-8-5-branch, size: 125347
2015-09-29
08:06
rebase with novem file: c8de924c75 check-in: [2897092cfa] user: jan.nijtmans branch: novem-more-memory-API, size: 131078
2015-09-23
10:42
Merge trunk file: b0eca6d715 check-in: [36541a24b8] user: jan.nijtmans branch: novem, size: 131041
2015-09-22
20:57
micro-opt of hash lookups found by drh file: cb4570fe52 check-in: [3f693cdfe9] user: msofer branch: trunk, size: 131025
2015-07-02
13:17
merge trunk file: 71530b207b check-in: [cfb40a9761] user: jan.nijtmans branch: novem, size: 130987
12:54
Revert refcount changes that were not cosmetic. Changing equality testing to inequality testing does more than make code prettier or clearer. It makes it less strict, and thus more tolerant of other bugs elsewhere. Such changes deserve separate consideration at least, not breezy entry in an otherwise "code cleanup" commit. file: 04f91c300d check-in: [33e894a6ee] user: dgp branch: trunk, size: 130971
08:42
merge trunk file: ebb8c788ef check-in: [4c0b0070c3] user: jan.nijtmans branch: novem, size: 130987
2015-06-30
21:41
Consistancy in refcount management. file: 35d8c89d9f check-in: [296892a8fb] user: jan.nijtmans branch: trunk, size: 130971
08:10
Use twoPtrValue in stead of ptrAndLongRep for implementation of some internal Obj types. On most platforms this doesn't make a difference, as (void *) and (long) generially have the same size. The only exception where it makes a difference is win64, as we can now store 64 bits in this field in stead of only 32 bits, exactly what the processor is optimized for. file: 9b2a8d3bc3 check-in: [d3a263c973] user: jan.nijtmans branch: trunk, size: 130973
2015-06-18
19:58
merge novem file: 59d38e74e1 check-in: [8d9650ab81] user: jan.nijtmans branch: novem-more-memory-API, size: 131051
2015-05-27
21:11
Merge trunk file: 5e9d9592a4 check-in: [f5d3bd2653] user: jan.nijtmans branch: novem, size: 131014
18:35
Make tweak to the mem-debug tracking official. It is now again possible to use regular packages with a mem-debug core without inciting a panic. file: bd5aed3740 check-in: [ef02e1dfd9] user: andreask branch: trunk, size: 130999
18:25
Make tweak to the mem-debug tracking official. It is now again possible to use regular packages with a mem-debug core without inciting a panic. file: daa2d38841 check-in: [38ddcfe658] user: andreask branch: core-8-5-branch, size: 125376
2015-05-22
23:26
Minor compilation issue fix, make sure variable declaration (via macro) is first. file: 98b0c70a99 check-in: [c8a862480b] user: mistachkin branch: aku-mem-debug-allow-regular, size: 125326
20:21
Moved Tcl_Obj* objThreadMap release tracking to a location where regular packages will call through, enabling their full tracking by the core, and thus avoiding the "expected to create new entry for object map" panic seen otherwise. file: 515eb16e2a check-in: [1f5c53bf5d] user: andreask branch: aku-mem-debug-allow-regular, size: 125325
2015-03-17
10:54
Some cleanup of style issues. file: d20461c24a check-in: [a2cf701b1c] user: dkf branch: apn-hash-opt, size: 131771
2015-03-16
07:07
Experimental branch implementing caching of hashed Tcl_Obj values. file: 12b59d1d54 check-in: [7612bd6e33] user: ashok branch: apn-hash-opt, size: 131571
2014-09-08
21:36
Zap outdated comment. file: f2b033e845 check-in: [d61626209b] user: ferrieux branch: nonmonotonic-obj-alloc, size: 137427
2014-09-06
19:56
Don't leak our temp sorted chunk table. file: 5995043bea check-in: [a3fa5b8266] user: ferrieux branch: nonmonotonic-obj-alloc, size: 137478
14:31
a little bit of code tidy-up file: 68e15c30da check-in: [add596e868] user: dkf branch: nonmonotonic-obj-alloc, size: 137455
13:19
Qsort gotcha: pointer difference is *not* a proper order unless computed in N+1 bits. Use explicit comparison instead. file: 460f4c6288 check-in: [a04fcb396e] user: ferrieux branch: nonmonotonic-obj-alloc, size: 137300
2014-08-14
16:32
Proof-of-concept of a nonmonotonic Tcl_Obj allocator, with zero perf impact and explicit ::tcl::unsupported::gc. Works with both threadAlloc and the older one. Disappointment: though it does free() the blocks, glibc is very reluctant to give back the pages to the OS :( file: 34f81debed check-in: [86886e44d8] user: ferrieux branch: nonmonotonic-obj-alloc, size: 136930
2014-05-02
07:15
merge novem file: 9ca68794eb check-in: [08a7e90291] user: jan.nijtmans branch: novem-more-memory-API, size: 130496
2013-09-26
13:13
merge novem WARNING: No checks of build-ability done yet. file: f331c654be check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 131084
2013-08-14
14:40
merge trunk file: 98654282fd check-in: [e24c4b1f62] user: jan.nijtmans branch: novem, size: 130459
2013-08-07
16:44
Remove Tcl_Preserve support for ContLineLoc values. It's not needed. This allows the clLoc field of CompileEnv struct to go away too. file: 890cdc9093 check-in: [08cfa769ec] user: dgp branch: dgp-bye-ctx-eval-flag, size: 130451
2013-05-07
18:08
merge trunk file: 3c7e548226 check-in: [53d0e4fb5c] user: mig branch: mig-no280, size: 119344
2013-05-06
07:35
merge trunk file: f2a9bd54ce check-in: [19ff9b95e1] user: jan.nijtmans branch: novem, size: 130522
2013-04-23
14:38
Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG file: 29b0f910fb check-in: [579f65acc8] user: jan.nijtmans branch: novem, size: 131217
14:15
Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG file: 75f3c6d0e1 check-in: [039d46054a] user: jan.nijtmans branch: trunk, size: 131209
10:39
Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. file: b9248ce38b check-in: [fee45978cb] user: jan.nijtmans branch: core-8-5-branch, size: 124828
2013-04-21
21:01
Revert part of [bb4707eb077f0cd9], which removed Tcl_NewIntObj, Tcl_SetIntObj, Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj from the stub table and replaced those by macros. Add those functions back were they were. Reason: the upcoming cygwin64 will change the definition of 'long', I'm not sure any more this was a good idea. More investigation needed before doing something like this in "novem". file: 0dc9d6169c check-in: [15c4d2e35f] user: jan.nijtmans branch: novem, size: 131081
2013-03-22
14:15
merge trunk file: 5bd52a65a3 check-in: [d836fd6c98] user: jan.nijtmans branch: novem, size: 124885
2013-03-20
14:10
merge trunk file: 56ee148a5e check-in: [5a5d0ec834] user: mig branch: mig-no280, size: 119208
2013-03-11
17:40
Greater protection against double TclFreeObj() calls in TCL_MEM_DEBUG mode. file: 4708b9646c check-in: [081509f926] user: dgp branch: trunk, size: 131073
17:37
Greater protection against double TclFreeObj() calls in TCL_MEM_DEBUG mode. file: b5175faa47 check-in: [3474bcc2db] user: dgp branch: core-8-5-branch, size: 124778
2013-02-28
13:03
merge trunk file: 96dd5a3cd9 check-in: [b357321c05] user: mig branch: mig-no280, size: 118650
08:29
Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros. file: 36ec83645f check-in: [03b46ac836] user: jan.nijtmans branch: trunk, size: 130515
2013-02-27
12:06
merge trunk. Implement Tcl_VarTraceInfo and Tcl_UpVar as macro. file: cae61c98ab check-in: [fa671b9c4f] user: jan.nijtmans branch: novem, size: 124327
2013-02-26
10:17
Don't panic if Tcl_ConvertToType is called for a type that doesn't have a setFromAnyProc, create a proper error message. file: d5f956f4b1 check-in: [d6219fccc2] user: jan.nijtmans branch: trunk, size: 130442
10:15
Don't panic if Tcl_ConvertToType is called for a type that doesn't have a setFromAnyProc, create a proper error message. file: 828ff4e5f0 check-in: [40f7c0065c] user: jan.nijtmans branch: core-8-5-branch, size: 124220
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: 8ff9d1b637 check-in: [271dbffaf7] user: jan.nijtmans branch: no-register-objtypes, size: 114748
13:50
merge trunk file: 3da7af5e8f check-in: [76befed959] user: mig branch: mig-alloc-reform, size: 127636
10:25
more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversions file: fc54dcdc54 check-in: [a80fb8c697] user: jan.nijtmans branch: novem, size: 124195
2013-02-08
13:28
Merge trunk. Eliminate all usage of internal macros: TclNewIntObj, TclNewBooleanObj, TclSetIntObj, TclSetBooleanObj. Change various function to macros: Tcl_NewIntObj, Tcl_SetIntObj, Tcl_NewBooleanObj, Tcl_DbNewBooleanObj, Tcl_SetBooleanObj, Tcl_AddErrorInfo, Tcl_AddObjErrorInfo. file: c770b90f40 check-in: [bb4707eb07] user: jan.nijtmans branch: novem, size: 124224
11:48
merge trunk file: 6b135b1a24 check-in: [9af350fd79] user: mig branch: mig-no280, size: 118445
2013-02-04
15:49
merge novem. Some more API changes int -> size_t file: dba3ac332a check-in: [abeb8eae61] user: jan.nijtmans branch: novem-more-memory-API, size: 130331
14:15
merge trunk file: 925864cd19 check-in: [0439b85bce] user: jan.nijtmans branch: novem, size: 130294
10:51
Eliminate all Tcl_ConvertToType calls and all direct calls to typePtr->setFromAnyProc (except the call from inside the Tcl_ConvertToType function) from the Tcl core. file: 7321bfe272 check-in: [af25d8dc8c] user: jan.nijtmans branch: trunk, size: 130310
2013-02-03
17:17
merge novem file: 6b6696ca97 check-in: [f0ab71bc6c] user: jan.nijtmans branch: novem-more-memory-API, size: 130406
16:05
merge trunk file: 1e0084f6b5 check-in: [127b30eda5] user: jan.nijtmans branch: novem, size: 130369
2013-02-01
09:46
merge trunk file: 8c1de9bcfc check-in: [1d3d013041] user: mig branch: mig-no280, size: 118520
2013-01-31
21:41
restore memdebug, accidentally broken file: 8cbf8b8c3b check-in: [cf31c15308] user: mig branch: mig-no280, size: 118510
11:41
Merge core-8-5-branch. Optimize tclCmdNameType the same way. file: 8c3f6c627d check-in: [b4cdb58176] user: jan.nijtmans branch: no-shimmer-string-length, size: 124687
10:31
merge core-8-5-branch file: c058deed5c check-in: [f9be79d941] user: jan.nijtmans branch: trunk, size: 130385
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: 2f4f22ba3f check-in: [17354de1e8] user: jan.nijtmans branch: core-8-5-branch, size: 124088
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: 018bcae52e check-in: [4918a10d3d] user: jan.nijtmans branch: no-shimmer-string-length, size: 124130
2013-01-26
16:11
macros for Tcl_GetString and Tcl_GetStringFromObj file: 2dca338af0 check-in: [7845d6854d] user: jan.nijtmans branch: novem-more-memory-API, size: 130396
2013-01-25
23:38
merge novem file: 7f630ffeef check-in: [6d83b97710] user: jan.nijtmans branch: novem-more-memory-API, size: 130387
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: aa5a593a1d check-in: [da8004af56] user: mig branch: mig-strip-brutal, size: 115277
2013-01-06
16:34
merge novem file: 6d8ce2168e check-in: [fef6277219] user: mig branch: mig-strip-brutal, size: 115619
2013-01-05
04:45
get COMPILE_DEBUG to work file: e0459db142 check-in: [d0c595e2a5] user: mig branch: mig-strip-brutal, size: 115635
2013-01-03
11:59
merge mig-alloc-reform file: 838c58f598 check-in: [fe20502465] user: mig branch: mig-strip-brutal, size: 115845
04:14
*BROKEN* First steps towards choosing allocators at load time file: 571ac30ef4 check-in: [86a7932955] user: mig branch: mig-alloc-reform, size: 127708
2013-01-02
14:30
fix MEM_DEBUG and leak, ported from mig-strip-brutal file: ccd1630597 check-in: [a1a46aa241] user: mig branch: mig-no280, size: 118510
11:58
merge trunk. tclStubLib.c: protect loading incompatible Tcl9 extensions in Tcl8 file: 7e094e6ac2 check-in: [4919da4fc4] user: jan.nijtmans branch: novem-more-memory-API, size: 130359
11:31
merge mig-alloc-reform, get MEM_DEBUG working again file: 2f3c9ac33f check-in: [e8eb527a16] user: mig branch: mig-strip-brutal, size: 115826
02:24
restore TCL_MEM_DEBUG to working order file: 9fc6fba01f check-in: [8e3f5b5619] user: mig branch: mig-alloc-reform, size: 127689
2013-01-01
18:38
merged mig-alloc-reform: MEM_DEBUG is gone, as is the Tcl stack and TclStackAlloc. See also README.mig-alloc-reform file: 0353314918 check-in: [0b98f38a1d] user: mig branch: mig-strip-brutal, size: 115819
16:54
merge trunk file: 3f976e9abb check-in: [4c4fb7eeec] user: mig branch: mig-no280, size: 118475
2012-12-29
18:12
two more places where refCount was assumed to be a signed value. In Tcl9 that will probably be not true any more. file: 8378cd239b check-in: [59b85594f2] user: jan.nijtmans branch: novem, size: 130359
2012-12-12
21:21
More memory API changes, mainly char* -> void* and unsigned -> size_t file: 6f376cabc3 check-in: [19fb92fb72] user: jan.nijtmans branch: novem-more-memory-API, size: 130375
2012-12-10
04:32
WIP getting rid of the ::tcl_precision variable file: ba23329ac8 check-in: [3f715e19ef] user: dgp branch: novem-numbers-eias, size: 130166
2012-11-26
15:31
merge trunk file: 20a4c29a46 check-in: [cdc837ae05] user: mig branch: mig-alloc-reform, size: 127719
2012-11-21
10:18
more conversion of code, still not running test suite at all file: 8eb0ad5f3c check-in: [e648a1571f] user: dkf branch: novem-64bit-sizes, size: 131000
2012-11-18
12:41
parser and line number computation engine file: 312b5fdca2 check-in: [717ce64a54] user: dkf branch: novem-64bit-sizes, size: 130721
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: 807078b4f5 check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 130496
2012-11-16
14:15
More work done. Still I am finding places where int should be size_t and reverse. file: 937b10ea37 check-in: [d348e679f7] user: jan.nijtmans branch: novem-64bit-sizes, size: 130378
2012-08-20
06:49
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler. file: db93b26b80 check-in: [db442914c7] user: jan.nijtmans branch: jn-no-struct-names, size: 130367
2012-08-04
07:41
more result generation conversion file: 49de747fcb check-in: [9a036eff3a] user: dkf branch: trunk, size: 130375
2012-01-26
16:15
merge to bugfix file: 6e3b23a659 check-in: [2391ff9f02] user: dgp branch: bug-3475569, size: 124216
2011-09-28
01:39
merge trunk file: 96475cc609 check-in: [0f1d9f3a48] user: mig branch: mig-no280, size: 118730
01:39
merge trunk file: ac6c1853a0 check-in: [12126498b2] user: mig branch: mig-alloc-reform, size: 127974
2011-08-05
15:23
Use Tcl_PrintfObj to generate more (complex) error messages. file: c92fdfd110 check-in: [76495bbc29] user: dkf branch: trunk, size: 130630
2011-08-02
11:18
merge trunk; FIXME: symbols=mem build broken file: 84f40c0e64 check-in: [5e6ff3418b] user: mig branch: mig-no280, size: 118781
11:18
merge trunk; FIXME: symbols=mem build broken file: 8e3cd4f139 check-in: [384901c292] user: mig branch: mig-alloc-reform, size: 128025
09:07
[Bug 3384007]: Fix some panic messages. file: d9564e27d6 check-in: [783c413131] user: dkf branch: trunk, size: 130681
2011-07-12
16:05
platform portable type matching in debug prints file: 6b4a68fb77 check-in: [83d26b2944] user: dgp branch: trunk, size: 130567
2011-05-07
20:39
merge trunk file: aa01fa5b8b check-in: [eeefcef28f] user: mig branch: mig-no280, size: 118665
19:53
merge trunk file: a839a58af5 check-in: [241f36be4b] user: mig branch: mig-alloc-reform, size: 127909
2011-04-27
18:23
Backport fix for [Bug 2857044]. file: bc9913ab20 check-in: [1855377cde] user: dgp branch: core-8-5-branch, size: 124078
2011-04-21
13:47
Make sure SetFooFromAny routines react reasonably when passed a NULL interp. file: b125ebdc79 check-in: [36b0307ba2] user: dgp branch: trunk, size: 130565
13:24
Make sure SetFooFromAny routines react reasonably when passed a NULL interp. file: 4ab15d2973 check-in: [0da07d5b1e] user: dgp branch: core-8-5-branch, size: 124050
12:58
Make sure SetFooFromAny routines react reasonably when passed a NULL interp. file: de31a170a6 check-in: [2adc132d52] user: dgp branch: core-8-4-branch, size: 106249
2011-04-04
14:22
Merge to feature branch file: 383e2877cc check-in: [e058edf908] user: dkf branch: mig-no280, size: 118613
14:18
Merge to feature branch file: cf123257cd check-in: [a7a0485fd1] user: dkf branch: mig-alloc-reform, size: 127857
14:17
Merge to feature branch file: ae95b8c7fd check-in: [a35d52175c] user: dkf branch: aku-tip-280-cl-perf-trial, size: 129255
2011-04-03
06:05
More generation of error codes (namespace creation, path normalization, pipeline creation, package handling, procedures, [scan] formats) file: f084a0f3d8 check-in: [a6c95ed9e0] user: dkf branch: trunk, size: 130513
2011-03-27
10:21
merge trunk to branch file: e5a59b236c check-in: [ff627b8a14] user: mig branch: mig-no280, size: 118500
2011-03-26
12:38
merge trunk to feature branch file: ef51ca3803 check-in: [ff240fb01d] user: mig branch: mig-alloc-reform, size: 127744
11:53
Reduce the number of casts used to manage Tcl_Obj internal representations. file: 9596580d2d check-in: [b2381061a7] user: dkf branch: trunk, size: 130400
2011-03-24
23:42
branch with tip #280 removed, for perf impact measurements file: 12c313a2f4 check-in: [6cbe02a1d6] user: mig branch: mig-no280, size: 118520
2011-03-23
23:23
Trial patch changing the handling of the TIP 280 continuation line data structures to keep expensive operations out of TclFreeObj(). Note: With this change, due to the delayed cleanup of stale data four tests checking core memory leaks fail. file: 48c801f79a check-in: [2b5c76ad19] user: andreask branch: aku-tip-280-cl-perf-trial, size: 129162
13:12
merge trunk to feature branch file: 19c1018097 check-in: [d99d43d373] user: mig branch: mig-alloc-reform, size: 127764
13:11
* generic/tclObj.c: exploit HAVE_FAST_TSD for the deletion context in TclFreeObj() file: 770a4e0330 check-in: [005a498bda] user: mig branch: trunk, size: 130420
2011-03-21
11:42
some cleanup re obj deletion file: b91a46aeba check-in: [ca6e8a9e5e] user: mig branch: mig-alloc-reform, size: 127597
2011-03-18
18:06
remove unused mutex file: db0b4a18ac check-in: [a3f0c08c7f] user: mig branch: mig-alloc-reform, size: 128033
12:54
development branch for allocator changes file: 359cc5d163 check-in: [80a014ef05] user: mig branch: mig-alloc-reform, size: 128252
2011-03-15
23:06
remove unneeded things file: f1cc661f83 check-in: [be49a1fb5a] user: mig branch: mig-alloc-reform, size: 128277
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: 1c5bca4e3e check-in: [5574bdd262] user: dkf branch: trunk, size: 130253
2011-03-06
22:33
* generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls * generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclCompCmdsSZ.c: * generic/tclParse.c: * generic/tclUtil.c: file: 888d3e9030 check-in: [6b0527ff33] user: dgp branch: trunk, size: 130584
22:19
* generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls * generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclParse.c: * generic/tclUtil.c: file: b6082d39d2 check-in: [7d1cc3f816] user: dgp branch: core-8-5-branch, size: 123998
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: db03b1dc8e check-in: [c64f310d38] user: dgp branch: trunk, size: 130588
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: b696519b07 check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 124002
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: ea37c1b47c check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 106197
2010-12-14
16:31
small updates. file: 0a0abc3aea check-in: [04411163ee] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 130654
2010-12-07
16:01
@1629 (excluding 1577 (INSTR_STR_EQ/NE/CMP merge skipped for today)). I also skipped DKF's math instruction refactoring work. Doing them are essentially backports of complex changes, do this when I am fresh tomorrow. file: e1f9122c8f check-in: [ecb2476c6c] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 130240
14:39
@1576 file: 01892dd6ce check-in: [ef82386ec6] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 129291
10:15
@1451 file: 53167e4ecf check-in: [1ea47b059c] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 129393
2010-12-06
14:52
@1400, undo of 177 (TclpThreadGetStacksize). file: 0bc8f382f7 check-in: [861c844a13] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 129412
12:33
@1300 file: 718c625421 check-in: [3f09e6a910] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 129412
2010-12-02
15:49
@1260 file: 6cdbbd5c25 check-in: [e3ce920ce7] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 129311
13:17
@1200 file: 1584a2a6af check-in: [772aad65cb] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 128340
10:58
@1090 file: 9c022f3c14 check-in: [64d3140aa1] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 126494
2010-12-01
15:41
@999 file: c1f3f91e7e check-in: [1ad7b941e2] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 126188
15:06
@940 file: fca48e3fe4 check-in: [fbf7360824] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 126183
14:48
@921 file: 7b987e3f42 check-in: [61b08bf693] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 126110
13:50
@893 file: af8aad329f check-in: [83f1d1c03c] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 113891
2010-11-30
14:58
@820 file: 1c473d0a84 check-in: [c7d2796ef4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 113032
14:42
@800 file: b3c62eccef check-in: [32871f3ed6] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 109922
2010-11-29
13:51
@670 file: 8a7991687b check-in: [2435a4366f] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 109879
2010-11-23
15:23
Next @611, and jumping tclGetDate.yyacc grammar. file: ef70197177 check-in: [b277d95385] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 108869
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: f2756f3e66 check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 108679
2010-11-18
17:15
Next, @134 file: c2ec39f4d8 check-in: [7fc03e57d1] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 108630
2010-10-04
13:04
merge file: 3e986515a9 check-in: [95b65ff363] user: dgp branch: dgp-refactor, size: 130660
2010-10-02
16:04
* generic/tclAssembly.c: * generic/tclAssembly.h: * tests/assemble.test: Added dictAppend, dictIncrImm, dictLappend, dictSet, dictUnset, nsupvar, upvar, and variable. (Still need tests for the last three.) Merged changes from HEAD. file: 7cef7bfe86 check-in: [fb57a61071] user: kennykb branch: dogeen-assembler-branch, size: 130664
11:37
Add function-header comments. file: 08cc69b080 check-in: [df6fed8608] user: dkf branch: trunk, size: 130656
2010-10-01
13:34
merge file: f69af6221f check-in: [662fc0e6b4] user: kennykb branch: dogeen-assembler-branch, size: 129755
13:14
merge file: fa35598b70 check-in: [45d08f24b7] user: dgp branch: dgp-refactor, size: 129751
12:52
* generic/tclBasic.c, generic/tclClock.c, generic/tclEncoding.c, * generic/tclEnv.c, generic/tclLoad.c, generic/tclNamesp.c, * generic/tclObj.c, generic/tclRegexp.c, generic/tclResolve.c, * generic/tclResult.c, generic/tclUtil.c, macosx/tclMacOSXFCmd.c: More purging of strcpy() from locations where we already know the length of the data being copied. file: cd5f024f21 check-in: [50bdab4682] user: dkf branch: trunk, size: 129747
2010-09-27
20:46
merge file: 4da8a0b10d check-in: [21a3ed6049] user: dgp branch: dgp-refactor, size: 129711
20:33
Merged from HEAD. Also replaced a funky NRCallTEBC with the new call TclNRExecuteByteCode. file: 07a34bb022 check-in: [f757862662] user: kennykb branch: dogeen-assembler-branch, size: 129715
19:42
* generic/tclBasic.c: [Patch 3072080] (minus the itcl * generic/tclCmdIL.c: update): a saner NRE. * generic/tclCompExpr.c: * generic/tclCompile.c: This makes TclNRExecuteByteCode * generic/tclCompile.h: (ex TEBC) to be a normal NRE * generic/tclExecute.c: citizen: it loses its special status. * generic/tclInt.decls: The logic flow within the BC engine is * generic/tclInt.h: simplified considerably. * generic/tclIntDecls.h: * generic/tclObj.c: * generic/tclProc.c: * generic/tclTest.c: file: 15580760f1 check-in: [56c0f34285] user: msofer branch: trunk, size: 129710
2010-09-17
12:55
Merge from HEAD to rmax-ipv6-branch file: d76baf06e0 check-in: [70c6ac9692] user: rmax branch: rmax-ipv6-branch, size: 129710
2010-08-23
01:46
merge file: c78219970f check-in: [d7364aad61] user: dgp branch: dgp-refactor, size: 129709
2010-08-22
18:53
Remove many type casts which are no longernecessary as a result of [Patch 3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry file: 64655e3e85 check-in: [0ca694ea65] user: nijtmans branch: trunk, size: 129710
2010-06-07
17:36
rebranch from HEAD file: dd4438b268 check-in: [f3af08f468] user: rmax branch: rmax-ipv6-branch, size: 129812
2010-04-29
23:32
merge file: 73bcee8dfc check-in: [93ad5b0c95] user: dgp branch: dgp-refactor, size: 129811
2010-04-27
12:36
If tclInt.h or tclPort.h is already included, don't include <limits.h> again. Follow-up to [Bug 2991415]: tclport.h #included before limits.h See comments in [Bug 2991415] file: e0d52852be check-in: [b7c55dd4bf] user: nijtmans branch: trunk, size: 129812
2010-03-30
16:51
merge file: 1d319b360d check-in: [8088400890] user: dgp branch: dgp-refactor, size: 129830
16:31
* generic/tclObj.c (Tcl_GetCommandFromObj): [Bug 2979402]: Reorder the validity tests on internal rep of a "cmdName" value to avoid invalid reads reported by valgrind. file: 1ae574775c check-in: [f73bde5491] user: dgp branch: trunk, size: 129826
16:30
* generic/tclObj.c (Tcl_GetCommandFromObj): [Bug 2979402]: Reorder the validity tests on internal rep of a "cmdName" value to avoid invalid reads reported by valgrind. file: 0362b6f6dc check-in: [c6ee8e3ce6] user: dgp branch: core-8-5-branch, size: 124074
2010-02-26
01:21
merge updates from HEAD file: 7a240b1cad check-in: [ec93238882] user: dgp branch: dgp-refactor, size: 129830
2010-02-25
22:20
[ tcl-Feature Requests-2958832 ] Further speed-up of ouster-hash function. Eliminate various unnecessary (ClientData) type casts. file: 33e5dda067 check-in: [b28fef8499] user: nijtmans branch: trunk, size: 129831
21:53
merge updates from HEAD file: d7682c470f check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 129755
2010-02-24
10:45
More tidying up (whitespace, spelling, useless parentheses, useless casts) file: 7a92213c28 check-in: [511d94dd87] user: dkf branch: trunk, size: 129751
2010-02-17
22:33
merge updates from HEAD file: 4228d2e5f7 check-in: [cc2d5c1d60] user: dgp branch: dgp-refactor, size: 129729
21:58
Return to using the classic hash function. Now with *extensive* notes in the comments about why this function is preferred. file: 9b60dcc008 check-in: [851ca213dc] user: dkf branch: trunk, size: 129725
2010-02-12
03:06
merge updates from HEAD file: c5398902e9 check-in: [616130f94d] user: dgp branch: dgp-refactor, size: 128552
2010-02-10
16:29
Forgot the magic bias values. FNV is wildly magical... file: 17f4fa1b0b check-in: [5ba97c097d] user: dkf branch: trunk, size: 128548
2010-02-09
17:53
merge updates from HEAD file: 3f8a32e9db check-in: [213eee9b55] user: dgp branch: dgp-refactor, size: 128543
2010-02-07
09:10
Upgrade Tcl's hash function to use the FNV-32 algorithm. This is marginally faster and gives a bit better distribution of keys (especially in large hash tables) but does change hash iteration order. file: 7d10ef5fbe check-in: [24fe1de120] user: dkf branch: trunk, size: 128539
2009-12-30
17:24
merge updates from HEAD file: 2ec278c1a2 check-in: [263b067570] user: dgp branch: dgp-refactor, size: 128758
2009-12-29
16:54
Simplify the logic in Tcl_GetCommandFromObj file: 1d0c3dc67d check-in: [62ebd8167b] user: dkf branch: trunk, size: 128754
2009-12-11
14:07
merge updates from HEAD file: ac2260cd57 check-in: [9c6afe4e33] user: dgp branch: dgp-refactor, size: 127674
2009-12-10
19:13
* generic/tclObj.c (TclContinuationsEnter): [Bug 2895323]: Updated comments to describe when the function can be entered for the same Tcl_Obj* multiple times. This is a continuation of the 2009-11-10 entry where a memory leak was plugged, but where not sure if that was just a band-aid to paper over some other error. It isn't, this is a legal situation. file: 7d9a89f531 check-in: [9f793e75c3] user: andreas_kupries branch: trunk, size: 127682
19:13
* generic/tclObj.c (TclContinuationsEnter): [Bug 2895323]: Updated comments to describe when the function can be entered for the same Tcl_Obj* multiple times. This is a continuation of the 2009-11-10 entry where a memory leak was plugged, but where not sure if that was just a band-aid to paper over some other error. It isn't, this is a legal situation. file: 93b04ae880 check-in: [60381f421b] user: andreas_kupries branch: core-8-5-branch, size: 124086
2009-11-10
21:59
merge updates from HEAD file: 333abfb01d check-in: [833ca3a39c] user: dgp branch: dgp-refactor, size: 126912
17:58
* generic/tclObj.c: Plus memory leak in TclContinuationsEnter(). [Bug 2895323]. Backport from Tcl 8.5 branch, change by Don Porter. file: d2c534cccd check-in: [dbd2dcc263] user: andreas_kupries branch: core-8-4-branch, size: 106281
17:57
* generic/tclObj.c: Plus memory leak in TclContinuationsEnter(). [Bug 2895323]. Forward port from Tcl 8.5 branch, change by Don Porter. file: 9fbf536584 check-in: [c4d00afb1a] user: andreas_kupries branch: trunk, size: 126920
16:46
* generic/tclObj.c: Plus memory leak in TclContinuationsEnter(). [Bug 2895323] file: 0bf56abada check-in: [d250faf92f] user: dgp branch: core-8-5-branch, size: 123298
2009-10-19
22:13
merge updates from HEAD file: 59a3d1f5dc check-in: [8be0506f4c] user: dgp branch: dgp-refactor, size: 126606
2009-10-18
11:21
Fix for [Bug 988703, 1565466] file: fcdcf803db check-in: [3a43f003a8] user: mistachkin branch: core-8-5-branch, size: 123004
10:39
Fix for [Bug 2871908] file: 00567f3424 check-in: [d8a89a64f8] user: mistachkin branch: trunk, size: 126609
2009-10-07
23:17
merge updates from HEAD file: 478a846c8c check-in: [fa5258c89d] user: dgp branch: dgp-refactor, size: 126601
23:10
* generic/tclObj.c: [Bug 2871908]: Plug memory leaks of the objThreadMap and lineCLPtr hashtables. Also make the names of the continuation line information initialization and finalization functions more consistent. Patch supplied by Joe Mistachkin <[email protected]>. file: 260cd881da check-in: [3407f29edf] user: andreas_kupries branch: core-8-5-branch, size: 120762
23:09
* generic/tclObj.c: [Bug 2871908]: Plug memory leaks of the objThreadMap and lineCLPtr hashtables. Also make the names of the continuation line information initialization and finalization functions more consistent. Patch supplied by Joe Mistachkin <[email protected]>. file: ea2114804a check-in: [95b0865e88] user: andreas_kupries branch: trunk, size: 126609
2009-09-30
06:07
merge updates from HEAD file: ca4a5f62d5 check-in: [3b4e6b13b9] user: dgp branch: dgp-refactor, size: 126584
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: 2a3e0a8d8d check-in: [c712d7d7bb] user: dgp branch: trunk, size: 126580
2009-09-17
18:12
merge updates from HEAD file: e1bcba2215 check-in: [f3920a54fb] user: dgp branch: dgp-refactor, size: 126528
08:39
need to remember to save before commit... file: 0c222b0802 check-in: [5dea5b4c4e] user: das branch: trunk, size: 126524
08:37
typo file: bed89ba3e9 check-in: [f3fbf5e44b] user: das branch: trunk, size: 126524
08:37
fix string buffer sizes for pointer printing fix whitespace, formatting & style to match codebase conventions file: 4861c1be79 check-in: [f248b39c3e] user: das branch: trunk, size: 126524
2009-09-16
21:17
Extended ::tcl::unsupported::representation. file: 85f6dc0977 check-in: [33e7e2f36f] user: ferrieux branch: trunk, size: 126736
2009-08-26
05:25
merge updates from HEAD file: 7ab9665a56 check-in: [f7f5b9785c] user: dgp branch: dgp-refactor, size: 125366
2009-08-25
21:03
* generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard, Tcl_EvalEx, TclEvalEx, TclAdvanceContinuations, TclNREvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript, TclCompileTokens): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclParse.c (TclSubstTokens, Tcl_SubstObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-24): Extended the parser, compiler, and execution engine with code and attendant data structures tracking the position of continuation lines which are not visible in the resulting script Tcl_Obj*'s, to properly account for them while counting lines for #280. file: 61cbfb482a check-in: [9d8e49c947] user: andreas_kupries branch: trunk, size: 125374
21:01
* generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard, EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclParse.c (TclSubstTokens, Tcl_SubstObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-24): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script Tcl_Obj*'s, to properly account for them while counting lines for #280. file: e4b35179c3 check-in: [c838caae31] user: andreas_kupries branch: core-8-5-branch, size: 119823
20:59
* generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard, EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, ListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-22): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script's, to properly account for them while counting lines for #280, during direct and compiled execution. file: 6b9fe44e02 check-in: [9fa7a1ee78] user: andreas_kupries branch: core-8-4-branch, size: 105975
2009-08-12
16:10
merge updates from HEAD file: a13b08be9a check-in: [5863b74da6] user: dgp branch: dgp-refactor, size: 114309
16:06
TIP #353 IMPLEMENTATION * doc/NRE.3: New public routine Tcl_NRExprObj() permits * generic/tcl.decls: extension commands to evaluate Tcl expressions * generic/tclBasic.c: in NR-enabled command procedures. * generic/tclCmdAH.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclObj.c: * tests/expr.test: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: file: 4aa2510359 check-in: [c2ac0ecc04] user: dgp branch: trunk, size: 114305
2009-08-03
14:14
merge updates from HEAD file: 8bb3177e7d check-in: [69dee2802f] user: dgp branch: dgp-refactor, size: 113895
2009-08-02
13:03
Added *unsupported* command to report an object's representation. file: d790aabb50 check-in: [0c062dff17] user: dkf branch: trunk, size: 113891
2009-06-24
12:47
merge updates from HEAD file: 1dfd1fb798 check-in: [818def88d3] user: dgp branch: dgp-refactor, size: 113036
2009-06-18
09:41
Apply patch from [Bug 988703]. Many thanks to Joe Mistachkin for development. file: f3bd9cb748 check-in: [ab1f2ddc32] user: dkf branch: trunk, size: 113032
2009-05-18
21:24
merge updates from HEAD file: f70846f612 check-in: [14f4e38850] user: dgp branch: dgp-refactor, size: 109926
2009-05-08
02:23
* generic/tclObj.c (Tcl_GetCommandFromObj): fix for bug [2785893], insure that a command in a deleted namespace cannot be found through a cached name. file: 79b2530c8a check-in: [45a890d2e3] user: msofer branch: core-8-5-branch, size: 108810
02:21
* generic/tclObj.c (Tcl_GetCommandFromObj): fix for bug [2785893], insure that a command in a deleted namespace cannot be found through a cached name. file: 0d1f80ed48 check-in: [851249078c] user: msofer branch: trunk, size: 109925
2009-02-11
17:27
merge updates from HEAD file: f726af26ae check-in: [f07460d448] user: dgp branch: dgp-refactor, size: 109883
2009-02-10
22:49
- eliminate some unnessary type casts - some internal const decorations - spacing file: 4c5c598545 check-in: [160bcb1152] user: nijtmans branch: trunk, size: 109884
17:09
* generic/tclObj.c (Tcl_GetString): Added comments and validity checks following the call to an UpdateStringProc. Simplify Tcl_AttemptSetObjLength by removing unreachable code. file: 29e12ca9b2 check-in: [78d89e677c] user: dgp branch: trunk, size: 109846
2009-02-04
14:16
merge updates from HEAD file: be6164de87 check-in: [255c748a68] user: dgp branch: dgp-refactor, size: 109149
2009-02-03
18:16
Fix for [Bug 2558422] though this area is still a mess. file: 13ffad7f56 check-in: [3e5eb95379] user: dkf branch: trunk, size: 109145
17:15
* generic/tclObj.c (Tcl_GetStringFromObj): Reduce code duplication. file: 1af156ddcb check-in: [237d9f22c5] user: dgp branch: trunk, size: 108667
2009-01-09
14:17
merge updates from HEAD file: f2d53bbb85 check-in: [02f7c5c705] user: dgp branch: dgp-refactor, size: 108873
11:21
Style fixes (unfouling whitespace, sorting comments, removing useless casts, etc.) file: 6948df7719 check-in: [cd3c38f00a] user: dkf branch: trunk, size: 108869
2009-01-08
18:00
merge updates from HEAD file: 3b69978a45 check-in: [0b4ea10c4a] user: dgp branch: dgp-refactor, size: 108926
16:41
Generate errorcodes for more cases. file: 76f6d1a29c check-in: [a12728cbb9] user: dkf branch: trunk, size: 108922
2008-11-10
02:18
merge updates from HEAD file: b622904174 check-in: [4a9c1325dc] user: dgp branch: dgp-refactor, size: 108683
2008-10-26
18:34
Style improvements - invoking callbacks without visual junk. file: 973af88868 check-in: [a1a8afc25d] user: dkf branch: trunk, size: 108679
2008-10-17
20:52
merge updates from HEAD file: a696208e64 check-in: [d93600ad8e] user: dgp branch: dgp-refactor, size: 108694
2008-10-16
22:34
Add "const" to many internal const tables. No functional or API change. file: 0d450f5359 check-in: [f03d2e2d83] user: nijtmans branch: trunk, size: 108695
2008-10-15
06:17
Add "const" to many internal const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries. file: f5e94509b3 check-in: [8fcbc25d98] user: nijtmans branch: trunk, size: 108683
2008-07-29
20:13
merge updates from (near) HEAD file: f58e1ecba4 check-in: [f51e3a3c72] user: dgp branch: dgp-refactor, size: 108634
2008-07-27
22:18
* doc/Object.3 CONSTified 3 functions using * doc/ObjectType.3 Tcl_ObjType which all are supposed * generic/tcl.decls to be a constant, but this was not * generic/tcl.h reflected in the API: * generic/tclDecls.h Tcl_ConvertToType * generic/tclObj.c Tcl_GetObjType * generic/tclCompCmds.c Tcl_RegisterObjType * generic/tclOOMethod.c Introduced a CONST86_RETURN, so extensions which * generic/tclTestobj.c use Tcl_ObjType directly can be modified to compile against both Tcl 8.5 and Tcl 8.6 tclDecls.h is re-generated with "make genstubs" This change complies with TIP #24 ***POTENTIAL INCOMPATIBILITY*** file: cc19294e18 check-in: [4f99dac9fd] user: nijtmans branch: trunk, size: 108635
2008-06-25
15:56
merge updates from 8.5 branch file: 35fcbc9ae1 check-in: [affd52009d] user: dgp branch: core-stabilizer-branch, size: 108764
2008-05-11
04:22
merge updates from HEAD file: 35bad931ae check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 108631
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: ae50a27b5e check-in: [2d205c22fb] user: dkf branch: trunk, size: 108627
2008-03-31
18:00
merge updates from HEAD file: d089752a2b check-in: [10bc181bbc] user: dgp branch: dgp-refactor, size: 108764
17:21
merge updates from HEAD file: d3365c1451 check-in: [aaab5d4d67] user: dgp branch: core-8-5-branch, size: 108764
2008-03-30
04:36
* generic/tclObj.c: Added missing #include <math.h> needed to locate isnan() after the above change. file: a490963a6f check-in: [e7ea210fb9] user: kennykb branch: trunk, size: 108764
2008-01-22
21:13
Remove registration of the "tokens" Tcl_ObjType. Convert to a static struct used only in tclParse.c. file: 6504af8816 check-in: [de761cbed7] user: dgp branch: dgp-refactor, size: 108746
2007-12-13
15:22
merge stable branch onto HEAD file: 0608987a7f check-in: [d1f7550cd9] user: dgp branch: trunk, size: 108742
2007-12-06
06:51
merge updates from HEAD file: 60e2b6bb11 check-in: [6f3a8a0d9e] user: dgp branch: dgp-refactor, size: 108787
2007-11-21
06:44
merge updates from HEAD file: 7210803f33 check-in: [247673fdca] user: dgp branch: core-stabilizer-branch, size: 108746
2007-11-20
20:43
* generic/tclDictObj.c: Changed the underlying implementation of the hash table used in dictionaries to additionally keep all entries in the hash table in a linked list, which is only ever added to at the end. This makes iteration over all entries in the dictionary in key insertion order a trivial operation, and so cleans up a great deal of complexity relating to dictionary representation and stability of iteration order. file: 7ffa15cf5d check-in: [946f57278c] user: dkf branch: trunk, size: 108742
2007-11-12
20:40
merge updates from HEAD file: 43400b3cd2 check-in: [27f428842c] user: dgp branch: dgp-refactor, size: 108974
19:18
merge updates from HEAD file: 1d7645452a check-in: [72c5ac9502] user: dgp branch: core-stabilizer-branch, size: 108933
2007-11-11
19:32
[Patch 1830038]: Increased usage of macros to detect and take advantage of objTypes. file: df0696a41e check-in: [11e8f31512] user: msofer branch: trunk, size: 108932
2007-10-11
16:01
merge updates from HEAD file: c436a6d3f8 check-in: [b847f63668] user: dgp branch: core-stabilizer-branch, size: 108835
15:59
merge updates from HEAD file: 9fbbe9da94 check-in: [0eccbb546b] user: dgp branch: dgp-refactor, size: 108876
13:35
* generic/tclObj.c: remove superfluous #include of tclCompile.h file: 20b280d926 check-in: [58eae67dd3] user: msofer branch: trunk, size: 108834
2007-10-03
12:53
* generic/tclObj.c (Tcl_FindCommandFromObj): fix finding a deleted command; cannot trigger this from Tcl itself, but crash reported on xotcl. This check is new to 8.4 but exists in 8.5, so this is a backport or something. Thanks Gustaf Neumann. file: eb40743e47 check-in: [6161ef3e0f] user: msofer branch: core-8-4-branch, size: 95508
2007-09-14
16:35
merge updates from HEAD file: 16b481ad39 check-in: [9eb9ae20c4] user: dgp branch: dgp-refactor, size: 108900
16:28
merge updates from HEAD file: c0866ea567 check-in: [6e82e21c91] user: dgp branch: core-stabilizer-branch, size: 108859
2007-09-13
15:28
* generic/tclDTrace.d (new file): add DTrace provider for Tcl; allows * generic/tclCompile.h: tracing of proc and command entry & * generic/tclBasic.c: return, bytecode execution, object * generic/tclExecute.c: allocation and more; with essentially * generic/tclInt.h: zero cost when tracing is inactive; * generic/tclObj.c: enable with --enable-dtrace configure * generic/tclProc.c: arg (disabled by default, will only * unix/Makefile.in: enable if DTrace is present). * unix/configure.in: [Patch 1793984] * macosx/Makefile: enable DTrace support. * unix/configure: autoconf-2.13 file: 5ea6284a30 check-in: [9eb5b5b76c] user: das branch: core-8-4-branch, size: 95467
15:27
* generic/tclDTrace.d (new file): add DTrace provider for Tcl; allows * generic/tclCompile.h: tracing of proc and command entry & * generic/tclBasic.c: return, bytecode execution, object * generic/tclExecute.c: allocation and more; with essentially * generic/tclInt.h: zero cost when tracing is inactive; * generic/tclObj.c: enable with --enable-dtrace configure * generic/tclProc.c: arg (disabled by default, will only * unix/Makefile.in: enable if DTrace is present). * unix/configure.in: [Patch 1793984] * macosx/GNUmakefile: enable DTrace support. * macosx/Tcl-Common.xcconfig: * macosx/Tcl.xcodeproj/project.pbxproj: * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 file: f282e8ea49 check-in: [4ab9e1dde2] user: das branch: trunk, size: 108855
2007-09-10
03:07
merge updates from HEAD file: e44db303ab check-in: [fef8a70f3f] user: dgp branch: dgp-refactor, size: 108771
03:06
merge updates from HEAD file: 4bcb8a95b4 check-in: [46fa086ee2] user: dgp branch: core-stabilizer-branch, size: 108730
2007-09-09
19:28
* generic/tclInt.h: Removed the "nsName" Tcl_ObjType from the * generic/tclNamesp.c: registered set. Revised the management of * generic/tclObj.c: the intrep of that Tcl_ObjType. Revised the * tests/obj.test: TclGetNamespaceFromObj() routine to return TCL_ERROR and write a consistent error message when a namespace is not found. [Bug 1588842. Patch 1686862] ***POTENTIAL INCOMPATIBILITY*** For callers of Tcl_GetObjType() on the name "nsName". * generic/tclExecute.c: Update TclGetNamespaceFromObj() callers. * generic/tclProc.c: * tests/apply.test: Updated tests to expect new consistent * tests/namespace-old.test: error message when a namespace is not * tests/namespace.test: found. * tests/upvar.test: file: afd9533dab check-in: [821098a818] user: dgp branch: trunk, size: 108726
2007-09-07
03:15
merge updates from HEAD file: c25c6e4293 check-in: [2c46d786c6] user: dgp branch: dgp-refactor, size: 108812
2007-09-04
17:43
merge updates from HEAD file: 847ed7bda6 check-in: [93ee5fafc4] user: dgp branch: core-stabilizer-branch, size: 108771
2007-09-03
01:36
* generic/tclObj.c (TclInitObjSubsystem): restore registration of the "wideInt" Tcl_ObjType for compatibility with 8.4 extensions that access the tclWideIntType Tcl_ObjType; add setFromAnyProc for tclWideIntType. file: 0b9fcd61b8 check-in: [3aeabd1082] user: das branch: trunk, size: 108767
2007-08-12
14:40
* generic/tcl_Obj.c (TclAllocateFreeObjects): remove unneeded memset to 0 of all allocated objects. file: 99f1cd54a6 check-in: [e542780787] user: msofer branch: trunk, size: 107800
2007-07-31
17:03
VarReform [Patch 1750051] *** POTENTIAL INCOMPATIBILITY *** (tclInt.h and tclCompile.h) file: 88942a7016 check-in: [2fbb344601] user: msofer branch: trunk, size: 107838
2007-07-09
12:31
merge updates toward HEAD file: 9350bf4738 check-in: [0311bed70c] user: dgp branch: dgp-refactor, size: 107847
2007-07-05
14:12
merge updates from HEAD file: f8538d69ef check-in: [df8bca6346] user: dgp branch: core-stabilizer-branch, size: 107806
12:03
clarify comments for last commit file: 0472c2fa52 check-in: [679c982356] user: msofer branch: trunk, size: 107805
11:49
* generic/tclNamesp.c (SetNsNameFromAny): * generic/tclObj.c (SetCmdNameFromAny): Avoid unnecessary ckfree/ckalloc when the old structs can be reused. file: 8d099042df check-in: [c05ecd439b] user: msofer branch: trunk, size: 107800
2007-07-04
23:56
* generic/tclNamesp.c: Fix case where a FQ cmd or ns was being * generic/tclObj.c: cached in a different interp, tkcon [Bug 1747512] file: 393c4d98b4 check-in: [d9dba1777c] user: msofer branch: trunk, size: 107429
2007-06-12
19:38
merge updates from HEAD file: 1251d291d7 check-in: [abba220e2b] user: dgp branch: dgp-refactor, size: 107429
15:56
merge updates from HEAD file: 55f0dbe7c0 check-in: [f0fa4d3a7d] user: dgp branch: core-stabilizer-branch, size: 107388
2007-06-11
23:00
* generic/tclNamesp.c: tweaks to Tcl_GetCommandFromObj and * generic/tclObj.c: TclGetNamespaceFromObj; modified the usage of structs ResolvedCmdName and ResolvedNsname so that the field refNsPtr is NULL for fully qualified names. file: d2c9fa5a14 check-in: [e35a22553c] user: msofer branch: trunk, size: 107387
21:32
* generic/tclNamesp.c: tweaks to Tcl_GetCommandFromObj and * generic/tclObj.c: TclGetNamespaceFromObj file: e8fa28de95 check-in: [fb6049861d] user: msofer branch: trunk, size: 108304
2007-06-10
20:25
* generic/tclInt.h: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclvar.c: new macros TclGetCurrentNamespace() and TclGetGlobalNamespace(); Tcl_GetCommandFromObj and TclGetNamespaceFromObj rewritten to make the logic clearer; slightly faster too. file: 61cf16b4e3 check-in: [fc570b6e1a] user: msofer branch: trunk, size: 108308
2007-06-09
21:07
* generic/tclObj.c (Tcl_GetCommandFromObj): rewritten to make the logic clearer; slightly faster too. file: ebb4e7a9bf check-in: [30e56fed6a] user: msofer branch: trunk, size: 108249
20:12
* generic/tclBasic.c: Split TEOv in two, by separating a processor for non-TCL_OK returns. Also spli TEOvI in a full version that handles non-existing and traced commands, and a separate shorter version for the regular case. * generic/tclBasic.c: Moved the generation of command strings for * generic/tclTrace.c: traces: previously in Tcl_EvalObjv(), now in TclCheck[Interp|Execution]Traces(). Also insured that the strings are properly nul terminated at the correct length [Bug 1693986] * generic/tclBasic.c: Extend usage of TclLimitReady() and * generic/tclExecute.c: (new) TclLimitExceeded() macros. * generic/tclInt.h: * generic/tclInterp.c: * generic/tclInt.h: New TclCleanupCommandMacro for core usage. * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclObj.c: file: 8508106d11 check-in: [93a0a2cc35] user: msofer branch: trunk, size: 108382
2007-05-29
14:21
merge updates from HEAD file: 384ee1ab88 check-in: [404470c2db] user: dgp branch: dgp-refactor, size: 108419
2007-05-11
09:43
Add a full stop to a comment file: cd88e72535 check-in: [0c221ff47e] user: dkf branch: trunk, size: 108374
2007-04-20
17:13
merge updates from HEAD file: f6cb76faee check-in: [92b90f2910] user: dgp branch: dgp-refactor, size: 108418
06:10
Replaced commas in varargs with string concatenation where possible [Patch 1515234] file: c05ba647aa check-in: [d0d3c30f1a] user: kennykb branch: trunk, size: 108377
2007-04-11
05:07
Merge updates from HEAD file: dfb233a25f check-in: [ad34ddc649] user: dgp branch: dgp-refactor, size: 108421
2007-04-10
22:04
Reformat to standard function definition form; don't use C++ keywords file: cc41335912 check-in: [c8b562b1fa] user: dkf branch: trunk, size: 108376
16:27
merge updates from HEAD file: 6d005ecba0 check-in: [c49d7b4587] user: dgp branch: dgp-refactor, size: 108405
14:47
Handle creation of Tcl_Objs from constant strings better (easier to use, more efficient). After [Patch 1529526] (afredd) file: 48f57ccd78 check-in: [4d69119aad] user: dkf branch: trunk, size: 108360
2007-04-08
14:58
Merge updates from HEAD; may not build file: cdaa52740a check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 108383
2007-03-19
16:59
* generic/tclBasic.c (Tcl_CreateMathFunc): Replaced some * generic/tclEvent.c (Tcl_CreateThread): calls to Tcl_Alloc() * generic/tclObj.c (UpdateStringOfBignum): with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging. file: 9c745aa867 check-in: [65a357c8fc] user: dgp branch: trunk, size: 108338
2007-03-07
16:37
* generic/tclObj.c (Tcl_AppendAllObjTypes): Converted to simpler list validity test. file: 38cb06a60c check-in: [159342b76f] user: dgp branch: trunk, size: 108340
2006-12-01
14:31
TIP#298 IMPLEMENTATION * generic/tcl.decls: Tcl_GetBignumAndClearObj -> Tcl_TakeBignumFromObj. * generic/tclObj.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclExecute.c: Update callers. * generic/tclMathOp.c: file: b6a2b6f7e1 check-in: [99fc64f278] user: dgp branch: trunk, size: 108364
2006-11-15
20:08
TIP#270 IMPLEMENTATION * generic/tcl.decls: New public routines Tcl_ObjPrintf, * generic/tclStringObj.c: Tcl_AppendObjToErrorInfo, Tcl_Format, * generic/tclInt.h: Tcl_AppendLimitedToObj, Tcl_AppendFormatToObj and Tcl_AppendPrintfToObj. Former internal versions removed. * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclBasic.c: Updated callers. * generic/tclCkalloc.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStrToD.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c: file: 770f3bea0d check-in: [c06db721dd] user: dgp branch: trunk, size: 108645
2006-10-23
21:36
* generic/tcl.h: Modified the Tcl call stack so * generic/tclBasic.c: there is always a valid CallFrame, even * generic/tclCmdIL.c: at level 0 [Patch 1577278]. Most of the * generic/tclInt.h: changes involve removing tests for * generic/tclNamesp.c: iPtr->(var)framePtr==NULL. There is now a * generic/tclObj.c: CallFrame pushed at interp creation * generic/tclProc.c: with a pointer to it stored in * generic/tclTrace.c: iPtr->rootFramePtr. A second unused * generic/tclVar.c: field in Interp is hijacked to enable further functionality, currently unused (but with several FRQs depending on it). file: 13479855d4 check-in: [7ce1f60ab1] user: msofer branch: trunk, size: 108647
21:01
merge updates from HEAD file: 33ea344371 check-in: [1f911d4cbb] user: dgp branch: dgp-refactor, size: 108918
2006-09-30
19:00
* generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclObj.c: * generic/tclStubInit.c: added an internal function TclObjBeingDeleted to provide info as to the reason for the loss of an internal rep. [FR 1512138] file: 0882de75d3 check-in: [4097c3e214] user: msofer branch: trunk, size: 108876
2006-08-29
16:19
merge updates from HEAD file: c8c6192dca check-in: [e1feeec3e7] user: dgp branch: dgp-refactor, size: 108267
2006-08-10
12:15
Various minor object file size efficiency fixes. [Bug 1530474] file: 60eee41a9d check-in: [a09967381c] user: dkf branch: trunk, size: 108222
2006-07-21
14:56
undo mistaken commit file: 6ca19abf6b check-in: [4e1c9e6425] user: dgp branch: trunk, size: 108210
10:47
* generic/tclExecute.c: * tests/execute.test (execute-9.1): dgp's fix for [Bug 1522803]. file: d397904f64 check-in: [76e3738cf2] user: msofer branch: trunk, size: 108182
2006-07-20
06:17
* generic/regc_locale.c (cclass): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclIOCmd.c (Tcl_ExecObjCmd): * generic/tclListObj.c (NewListIntRep): * generic/tclObj.c (Tcl_GetLongFromObj, Tcl_GetWideIntFromObj, FreeBignum, Tcl_SetBignumObj): * generic/tclParseExpr.c (Tcl_ParseExpr): * generic/tclStrToD.c (TclParseNumber): * generic/tclStringObj.c (TclAppendFormattedObjs): * unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra. file: 802f2ae926 check-in: [25ff7e8b0a] user: das branch: trunk, size: 108210
2006-07-05
21:29
merge updates from HEAD file: 3b3fdba5b9 check-in: [2d02d24f27] user: dgp branch: dgp-refactor, size: 108189
2006-06-21
03:10
* generic/tclIOUtil.c: Changed default configuration to * generic/tclInt.decls: #undef USE_OBSOLETE_FS_HOOKS which disables * generic/tclTest.c: access to the Tcl 8.3 internal routines for hooking into filesystem operations. Everyone ought to have migrated to Tcl_Filesystems by now. ***POTENTIAL INCOMPATIBILITY*** for any code still stuck in the pre-Tcl_Filesystem era. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclStrToD.c: Removed dead code that permitted disabling of recognition of the new 0b and 0o numeric formats. * generic/tclExecute.c: Removed dead code that implemented alternative * generic/tclObj.c: design where numeric values did not automatically narrow to the smallest Tcl_ObjType required to hold them. file: 7ba172b6b2 check-in: [0bde9c44bb] user: dgp branch: trunk, size: 108144
2006-04-28
16:09
Merge updates from HEAD file: 1985c94399 check-in: [afab2ad07a] user: dgp branch: dgp-refactor, size: 108658
2006-03-29
15:09
Added comment about potential improvement to Tcl_GetBignumAndClearObj. file: 43613fe174 check-in: [a4d30ff81e] user: dgp branch: trunk, size: 108613
2006-03-16
09:56
missing statics revealed by 'make checkexports' file: 56e127fba4 check-in: [c872685489] user: das branch: trunk, size: 108418
2006-03-10
17:05
missing static file: d1c2299b2d check-in: [56c7f4d8f0] user: dgp branch: trunk, size: 108411
2006-03-03
06:53
* generic/tclObj.c: Compatibility support for existing code that calls Tcl_GetObjType("boolean"). file: df356d80e7 check-in: [fe71a47094] user: dgp branch: trunk, size: 108404
2006-01-25
18:38
merge updates from HEAD file: b642da2a0c check-in: [24df3318d7] user: dgp branch: dgp-refactor, size: 108144
2005-12-13
22:43
Export stubs for libtommath; fix mingw compiler warnings file: fa59de8213 check-in: [3842b9c468] user: kennykb branch: trunk, size: 108103
2005-12-02
18:42
merge updates from HEAD file: cee6f307f6 check-in: [1059d34b2b] user: dgp branch: dgp-refactor, size: 108127
2005-11-29
14:02
Fix [Bug 1310081]. file: d880d41861 check-in: [0df05536cb] user: dkf branch: core-8-4-branch, size: 95418
2005-11-27
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: 111b9267cc check-in: [eac3630f72] user: das branch: trunk, size: 108082
2005-11-18
17:23
* generic/tclObj.c (GetBignumFromObj): replace NULL with tclEmptyStringRep to stop memcpy from complaining in a debug build (the corresponding branch is eliminated by the optimiser otherwise). file: 5cdc5ba739 check-in: [50506277d5] user: msofer branch: trunk, size: 108025
15:58
* generic/tclListObj.c: Restored the SetListFromAny routine to * generic/tclObj.c: the "list" Tcl_ObjType, and restored the Tcl_RegisterObjType() call for "list". This addresses the needs of some "bridge" extensions to examine whether the Tcl_ObjType of a Tcl_Obj is that of the "list" Tcl_ObjType. file: a7954c5b5c check-in: [c53b8d27e3] user: dgp branch: trunk, size: 108009
2005-11-13
01:21
* generic/tclBasic.c (Tcl_DeleteCommandFromToken): * generic/tclObj.c (Tcl_GetCommandFromObj): more partial fixes for [Bug 1354540] - making sure that cached references to a command being deleted cannot be made reusable by a delete trace. file: 20c6ad0680 check-in: [e2a964d1b4] user: msofer branch: trunk, size: 107972
2005-11-11
22:20
* generic/tclBasic.c (Tcl_DeleteCommandFromToken): * generic/tclObj.c (Tcl_GetCommandFromObj): bump the cmd epoch early to insure that cached references to this command are invalidated. Partial fix for [Bug 1352734] - at least insures that namespace-51.13 does not cause a panic. The test is still marked as knownbug, pending resolution of what is actually the correct return value ([Bug 1354540]) file: cc45735fa5 check-in: [fcb9ab1df3] user: msofer branch: trunk, size: 107962
2005-11-03
17:52
merge updates from HEAD file: 0e41f597b9 check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 107977
2005-11-02
00:55
ANSIfy file: 96dc896b8f check-in: [c8e360304c] user: dkf branch: trunk, size: 107931
2005-10-18
20:46
merge updates from HEAD file: ce23830fdb check-in: [2e8613842e] user: dgp branch: dgp-refactor, size: 109581
2005-10-08
14:42
TIP#237 IMPLEMENTATION [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code. file: a5eed2b2e6 check-in: [83fdb360a9] user: dgp branch: trunk, size: 109535
06:07
[kennykb-numerics-branch] * generic/tclExecute.c: More performance macros and special handling of the wide integer type for performance on 32-bit systems. file: df80070e46 check-in: [cd534dbb23] user: dgp branch: kennykb-numerics-branch, size: 109540
2005-10-07
20:15
[kennykb-numerics-branch] * generic/tclInt.h: Made #undef NO_WIDE_TYPE the default on 32-bit systems. Being able to use 64-bit values without leaping to mp_int should help with performance. * generic/tclObj.c: Bug fixes in the #undef NO_WIDE_TYPE * generic/tclExecute.c: configuration. file: 858ed72568 check-in: [c420c12ecc] user: dgp branch: kennykb-numerics-branch, size: 109540
2005-10-03
15:50
[kennykb-numerics-branch] * generic/tclBasic.c: Re-implemented ExprRoundFunc to use TclGetNumberFromObj. * generic/tclInt.h: Added new routine TclGetNumberFromObj to * generic/tclObj.c: provide efficient access to the actual internal rep of a numeric Tcl_Obj without conversions. file: fbc95a6a6e check-in: [c247119234] user: dgp branch: kennykb-numerics-branch, size: 109617
2005-09-27
18:42
[kennykb-numerics-branch] * generic/tcl.h: Changed name of the new Tcl_Obj intrep field * generic/tclObj.c: from "bignumValue" to "ptrAndLongRep" as * generic/tclProc.c: described in TIP 237, and more suitable for other more general uses. file: 04e059e9a4 check-in: [2d7e29783f] user: dgp branch: kennykb-numerics-branch, size: 108237
2005-09-23
16:13
[kennykb-numerics-branch] * generic/tclStrToD.c: Fixed memory leak. [Bug 1299803]. * generic/tclObj.c: file: c88ccd54fd check-in: [112ace53ab] user: dgp branch: kennykb-numerics-branch, size: 108223
04:03
[kennykb-numerics-branch] * generic/tclStrToD.c: Memory leak. Comment in TclSetBignumIntRep * generic/tclObj.c: indicates that mp_init() is called on the bignumValue argument to clear it, while keeping the digits array transferred to the interp of the Tcl_Obj. The implication is that callers of TclSetBignumIntRep() (and their callers) need not call mp_clear(), but can imagine they've transferred ownership of an mp_int value to Tcl. However, mp_init() doesn't merely re-initialize the fields of an mp_int to hold the value zero. It also allocates a fresh dp array of minimum size governed by MP_PREC. Without a corresponding mp_clear() call somewhere, these dp arrays are leaked. Added some mp_clear() calls to fix the leak, but better fix strategies should still be pursued. Perhaps the best approach is to just invade the mp_int struct and do the necessary surgery ourselves. file: e1525f486e check-in: [961337390c] user: dgp branch: kennykb-numerics-branch, size: 108092
2005-09-20
14:11
[kennykb-numerics-branch] * generic/tclExecute.c: Revise TclIncrObj() to call Tcl_GetBignumAndClearObj. * generic/tcl.decls: Add Tcl_GetBignumAndClearObj. * generic/tclObj.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: file: c9620ce1f0 check-in: [dd93281cd4] user: dgp branch: kennykb-numerics-branch, size: 108065
2005-09-16
19:29
[kennykb-numerics-branch] * generic/tclInt.h: Added TclBNInitBigNumFromWideInt() * generic/tclTomMathInterface.c: so that every caller isn't required to duplicate the sign logic to use the unsigned interface. * generic/tclBasic.c: Reduce the number of places where Tcl * generic/tclExecute.c: intrudes into the internal format details * generic/tclObj.c: of the mp_int struct. * generic/tclStrToD.c: * generic/tcLStringObj.c: * generic/tclTomMath.h: Added mp_cmp_d to routines from * unix/Makefile.in: libtommath used by Tcl. * win/Makefile.in: * win/makefile.vc: file: 9e880b9564 check-in: [6e1addf33e] user: dgp branch: kennykb-numerics-branch, size: 105262
2005-09-12
15:40
merge updates from HEAD file: 878c3265b2 check-in: [156f19bcaf] user: dgp branch: dgp-refactor, size: 111578
2005-09-09
18:48
[kennykb-numerics-branch] Merge updates from HEAD. file: 112423b234 check-in: [343239eeff] user: dgp branch: kennykb-numerics-branch, size: 105573
2005-09-05
10:25
Make symbol static to stop it from being visible outside the Tcl library on traditional Unix platforms. [Bug 1263012] file: 7a4002ceae check-in: [e889426f5c] user: dkf branch: trunk, size: 111532
2005-09-01
16:27
* generic/tclObj.c: TclParseNumber calls meant to parse an integer value now pass the TCL_PARSE_INTEGER_ONLY flag. file: 8b1ce0e015 check-in: [6e311ccfa4] user: dgp branch: kennykb-numerics-branch, size: 105566
2005-08-30
19:20
[kennykb-numerics-branch] * generic/tclObj.c: Extended bignum support to include bignums so large they will not pack into a Tcl_Obj. When they outgrow Tcl's string rep length limits, a panic will result. file: dda00533eb check-in: [4ef199b1b3] user: dgp branch: kennykb-numerics-branch, size: 105509
2005-08-25
15:46
[kennykb-numerics-branch] Merge updates from HEAD * generic/tclExecute.c: Bug fix. INST_*SHIFT* opcodes stack management. [expr 0<<6] should be 0, not 6. file: ba15e2b086 check-in: [6d651867f9] user: dgp branch: kennykb-numerics-branch, size: 105159
2005-08-23
18:28
TclParseNumber enhanced for [scan ... %f], plus better test coverage file: 6e34d20515 check-in: [43741d958a] user: kennykb branch: kennykb-numerics-branch, size: 105156
06:15
[kennykb_numerics_branch] * generic/tclBasic.c: Re-used the guts of int(.) and wide(.) math functions to perform conversions in OldMathFuncProc. * generic/tclBasic.c: Support for ACCEPT_NAN. * generic/tclExecute.c: * generic/tclInt.decls: Restored TclExprFloatError to internal stubs * generic/tclBasic.c: table, and moved definition back to tclExecute.c * generic/tclExecute.c: from tclBasic.c to handle #undef ACCEPT_NAN. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclInt.h: New internal macros TclIsNaN and TclIsInfinite * generic/tclBasic.c: replace the IS_NAN and IS_INF macros scattered * generic/tclExecute.c: here and there. * generic/tclObj.c: * generic/tclStrToD.c: * generic/tclUtil.c: file: d21ebfe533 check-in: [249580da47] user: dgp branch: kennykb-numerics-branch, size: 105111
2005-08-22
14:21
[kennykb_numerics_branch] * generic/tclInt.h: TCL_WIDE_INT_IS_LONG implies NO_WIDE_TYPE. * generic/tclObj.c: Removed now unnecessary tests of the * generic/tclStrToD.c: TCL_WIDE_INT_IS_LONG definition. file: e373ed6327 check-in: [429b1e2684] user: dgp branch: kennykb-numerics-branch, size: 105204
13:55
[kennykb_numerics_branch] * generic/tclInt.h: New internal routine TclSetBignumIntRep * generic/tclObj.c: consolidates packing of bignum value into * generic/tclStrToD.c: a Tcl_Obj within one source code file. file: b2b18f0662 check-in: [3bdecb919c] user: dgp branch: kennykb-numerics-branch, size: 105591
2005-08-19
21:55
[kennykb_numerics_branch] * generic/tclBasic.c: Updated OldMathFuncProc and ExprAbsFunc to do less invasion into numeric Tcl_Obj internals. Made ExprDoubleFunc, ExprIntFunc, ExprWideFunc, and ExprRoundFunc bignum-aware. Revised ExprSrandFunc error message. * generic/tclProc.c: Wrapped a few tclWideIntType uses in * generic/tclCmdMZ.c: #ifndef NO_WIDE_TYPE. * generic/tclInt.h: #define'd NO_WIDE_TYPE. file: 2d7a926a40 check-in: [e5101a6820] user: dgp branch: kennykb-numerics-branch, size: 105448
2005-08-17
23:57
fix a namespace clash with pendingObjData. file: e2bcc57c9f check-in: [01ee20315e] user: georgeps branch: trunk, size: 111530
2005-08-15
18:13
merge updates from HEAD file: f8af38a756 check-in: [b456e92317] user: dgp branch: kennykb-numerics-branch, size: 105447
17:23
merge updates from HEAD file: 716c8b4679 check-in: [074d06ccf4] user: dgp branch: dgp-refactor, size: 111564
2005-08-13
20:19
[kennykb_numerics_branch] * generic/tclObj.c: Extended Bignum auto-narrowing to auto-narrow to tclWideIntType when appropriate; this helps keep things working as the bytecode execution code is migrated to supporting bignums. * generic/tclExecute.c: Major overhaul of IllegalExprOperandType. Changed several TclNewFooObj() calls to more logically appropriate ones. Added several TODO comments marking opportunies for future work. Made more use of the eePtr->constants. Made INST_UMINUS bignum aware. file: b08c9c2c26 check-in: [4a117577d0] user: dgp branch: kennykb-numerics-branch, size: 105446
2005-08-10
18:21
[kennykb_numerics_branch] * generic/tclTomMath.h: Added mp_shrink, mp_to_unsigned_bin, * unix/Makefile.in: mp_to_unsigned_bin_n, and mp_unsigned_bin_size * win/Makefile.in: to routines from libtommath used by Tcl. * win/makefile.vc: * generic/tommath.h: make gentommath_h * generic/tclObj.c: Substantial rewrite to make all number parsing flow through TclParseNumber(). Also established the NO_WIDE_TYPE and BIGNUM_AUTO_NARROW #ifdef's to help track the assumptions of different portions of the code. * generic/tclInt.h: Added NO_WIDE_TYPE #ifdefs file: 0906666b9b check-in: [57a68b7c98] user: dgp branch: kennykb-numerics-branch, size: 104655
2005-08-08
19:21
* generic/tclObj.c: Replaced some goto's with loops and started use of BIGNUM_AUTO_NARROW and NO_WIDE_TYPE. file: 925116852e check-in: [ec4b776f0a] user: dgp branch: kennykb-numerics-branch, size: 107512
2005-08-05
14:04
Rewrote Tcl_GetDoubleFromObj file: 168fb21307 check-in: [f8b91179cf] user: dgp branch: kennykb-numerics-branch, size: 107792
2005-08-04
21:27
* generic/tclObj.c: Rewrote Tcl_GetBooleanFromObj() and supporting routines to make use of TclParseNumber. This reduces the potential number of times a string value must be scanned. file: 228e0d22bc check-in: [7f91b46a52] user: dgp branch: kennykb-numerics-branch, size: 108051
19:56
silence compiler warning file: 23ceb17621 check-in: [2d632fc787] user: dgp branch: trunk, size: 111518
19:54
silence compiler warning file: 6e28522543 check-in: [863065efb4] user: dgp branch: core-8-4-branch, size: 95159
17:28
* generic/tclIO.c (CloseChannel): Fixed comment nit, added apparently missing word to complete a sentence. * generic/tclObj.c (Tcl_DbDecrRefCount): Fixed whitespace nit in panic message. file: 3d2aab6e28 check-in: [561dff49b3] user: andreas_kupries branch: trunk, size: 111538
16:47
merge updates from HEAD file: c9b9846aee check-in: [7f6257cfc2] user: dgp branch: kennykb-numerics-branch, size: 108707
16:47
merge updates from HEAD file: 01d04e64f8 check-in: [87036af579] user: dgp branch: dgp-refactor, size: 111571
16:32
Deleted the UpdateStringOfBoolean() routine, that can never be called. file: 2563946cc5 check-in: [74dbf03515] user: dgp branch: trunk, size: 111525
15:55
* generic/tclObj.c: Simplified routines that manage the typeTable. file: 2ba32a7a80 check-in: [9b0394290c] user: dgp branch: core-8-4-branch, size: 95167
15:55
* generic/tclObj.c: Simplified routines that manage the typeTable. file: 0efaac148a check-in: [e8f3ca7497] user: dgp branch: trunk, size: 112396
2005-08-03
22:25
* generic/tclCompExpr.c: Untangled some dependencies in the * generic/tclEvent.c: order of finalization routines. * generic/tclInt.h: [Bug 1251399] * generic/tclObj.c: file: ea2ebc61ca check-in: [66913381b4] user: dgp branch: trunk, size: 112552
22:23
* generic/tclCompExpr.c: Untangled some dependencies in the * generic/tclEvent.c: order of finalization routines. * generic/tclInt.h: [Bug 1251399] * generic/tclObj.c: file: 9123d897bc check-in: [bdbb22fe12] user: dgp branch: core-8-4-branch, size: 95330
2005-08-02
18:14
merge updates from HEAD file: 800cc7d309 check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 109709
2005-07-26
04:11
Merge updates from HEAD file: a843c94a6d check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 112573
2005-07-17
21:17
Getting more systematic about style file: f700d116ee check-in: [7591df07d6] user: dkf branch: trunk, size: 112527
2005-07-12
20:35
merged changes from HEAD file: 6c49d86ed5 check-in: [5316ea45e0] user: kennykb branch: kennykb-numerics-branch, size: 110017
20:15
first round of TIP#249 changes file: 1f59d6c650 check-in: [a0804d1a4c] user: kennykb branch: kennykb-numerics-branch, size: 109967
2005-06-22
21:12
merge updates from HEAD file: c5a4a21cb2 check-in: [2c0cc8807c] user: dgp branch: dgp-refactor, size: 112901
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611) file: 3220d640d4 check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 112861
2005-06-07
21:14
* generic/tclObj.c: Restored registration of the "procbody" Tcl_ObjType, as required by the tclcompiler application. file: 283bd17519 check-in: [26620cf722] user: dgp branch: trunk, size: 112855
2005-06-06
20:54
Correct crash in stack.test on gcc/win32; fix compile errors in tclObj.c on hpux/native cc file: 5441cc1a91 check-in: [065f9ddc96] user: kennykb branch: trunk, size: 112816
2005-05-25
15:01
merge updates from HEAD file: 2b2f230814 check-in: [64d23581aa] user: dgp branch: dgp-refactor, size: 112851
2005-05-21
15:10
Resynchronized with HEAD file: ece203967e check-in: [96be07d7c8] user: kennykb branch: kennykb-numerics-branch, size: 112814
2005-05-18
15:43
* generic/tclInt.h: Revision to the "boolean" Tcl_ObjType, so * generic/tclObj.c: that only string values like "yes" and "false" * tests/obj.test: are kept as the "boolean" Tcl_ObjType. The string values "0" and "1" are kept as "int" Tcl_ObjType, which also produce quick calls to Tcl_GetBooleanFromObj(). Since this internal change means a Tcl_ConvertToType to a "boolean" Tcl_ObjType might not produce a Tcl_Obj of type "boolean", the registration of the "boolean" type is also removed. ***POTENTIAL INCOMPATIBILITY*** For callers of Tcl_GetObjType on the type name "boolean". file: fe6de25810 check-in: [5a07f799a9] user: dgp branch: trunk, size: 112805
2005-05-17
21:28
* generic/tclObj.c (TclInitObjSubsystem): Removed the * tests/listObj.test: registration of the Tcl_ObjType's "list", * tests/obj.test: "procbody", "index", "ensembleCommand", "localVarName", and "levelReference". The only reason to register a Tcl_ObjType is to have it returned by Tcl_GetObjType, and the only reason for that is to retrieve a (Tcl_ObjType *) to pass to Tcl_ConvertToType(). None of the types above can support a Tcl_ConvertToType() call; they panic. Better not to offer something than to lead users into a panic. file: b4af8e18af check-in: [2074e27c04] user: dgp branch: trunk, size: 111531
2005-05-11
16:58
merge updates from HEAD file: 4fc869e593 check-in: [a8212110f1] user: dgp branch: dgp-refactor, size: 111841
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: 236d7d86b8 check-in: [1cc2336920] user: kennykb branch: trunk, size: 111799
2005-04-29
22:39
Merge updates from HEAD file: f3acac94c0 check-in: [ac63d218d8] user: dgp branch: dgp-refactor, size: 100948
2005-04-26
17:09
Corrected NaN handling in [binary format] file: a2464f2436 check-in: [dfb89408db] user: kennykb branch: kennykb-numerics-branch, size: 111804
16:54
correct uninit mem ref in Tcl_GetDoubleFromObj file: 84d07921dd check-in: [a38967256a] user: kennykb branch: kennykb-numerics-branch, size: 111858
16:32
Restored silent overflow/underflow to input conversions file: f1d8b2ebec check-in: [1fa534af9f] user: kennykb branch: kennykb-numerics-branch, size: 111834
2005-04-25
21:37
Merged with HEAD. file: d44494e0da check-in: [fcce6158ac] user: kennykb branch: kennykb-numerics-branch, size: 111815
02:08
silence compiler warnings file: 191743cb2c check-in: [9cb000f783] user: dgp branch: trunk, size: 100902
2005-04-22
15:46
The 2005-04-21 changes to Tcl_GetBooleanFromObj were done to bring it into agreement with its docs. Further investigation reveals it was the docs that were incorrect. * doc/BoolObj.3: Corrections to the documentation of Tcl_GetBooleanFromObj to bring it into agreement with what this public interface has always done, including noting the difference in function between Tcl_GetBooleanFromObj and Tcl_GetBoolean. * generic/tclGet.c: Revised Tcl_GetBoolean to no longer be a wrapper around Tcl_GetBooleanFromObj (different function!). * generic/tclObj.c: Removed TclGetTruthValueFromObj routine that was added yesterday. Revisions so that only Tcl_GetBoolean-approved values get the "boolean" Tcl_ObjType. This retains the fix for [Bug 1187123]. * generic/tclInt.h: Revert most recent change. * generic/tclBasic.c: * generic/tclCompCmds.c: * generic/tclDictObj.c: * generic/tclExecute.c: * tests/obj.test: file: 17d7ca5308 check-in: [9cc02e7123] user: dgp branch: trunk, size: 100893
2005-04-21
20:35
stifle compiler warning file: 0e6f60c25d check-in: [ace1bd5a92] user: dgp branch: trunk, size: 101880
20:24
* generic/tclGet.c: Radical code simplification. Converted Tcl_GetFoo() routines into wrappers around Tcl_GetFooFromObj(). Reduces code duplication, and the resulting potential for inconsistency. * generic/tclObj.c: Several changes: - Fixed Tcl_GetBooleanFromObj to agree with its documentation and with Tcl_GetBoolean, accepting only "0" and "1" and not other numeric strings. [Bug 1187123] - Added new private routine TclGetTruthValueFromObj to perform the more permissive conversion of numeric values to boolean that is needed by the [expr] machinery. * generic/tclInt.h (TclGetTruthValueFromObj): New routine. * generic/tclExecute.c: Updated callers to call new routine. * tests/obj.test: Corrected bad tests that actually expected values like "47" and "0xac" to be accepted as booleans. file: 9856f9b198 check-in: [c5a5c3f411] user: dgp branch: trunk, size: 101876
15:49
Tcl_GetDoubleFromObj now avoids shimmering away a "wideInt" intrep. file: 84e19eb472 check-in: [2ac5b9233d] user: dgp branch: trunk, size: 102142
15:23
* generic/tclObj.c: Re-ordered error detection code so all values with trailing garbage receive a "not an integer" message instead of an "integer too large" message. Removed inactive code meant to deal with strtoul* routines that fail to parse leading signs. All of them do, and if any are detected that do not, the correct fix is replacement with compat/strtoul*.c, not a lot of special care by the callers. file: 31f8e339c3 check-in: [e2ac645480] user: dgp branch: trunk, size: 102031
2005-04-20
16:06
* generic/tclGet.c (Tcl_GetInt): Corrected error that did not * generic/tclObj.c (Tcl_GetIntFromObj): permit 0x80000000 to be recognized as an integer on TCL_WIDE_INT_IS_LONG systems [Bug 1090869]. file: 71480fafd5 check-in: [3d004086cf] user: dgp branch: core-8-4-branch, size: 95280
16:04
* generic/tclGet.c (Tcl_GetInt): Corrected error that did not * generic/tclObj.c (Tcl_GetIntFromObj): permit 0x80000000 to be recognized as an integer on TCL_WIDE_INT_IS_LONG systems [Bug 1090869]. file: 96849e5c89 check-in: [4e2a92f900] user: dgp branch: trunk, size: 102420
2005-04-10
23:14
merged with HEAD and fixed 1180368 file: 3911d14723 check-in: [7bc9ca0285] user: kennykb branch: kennykb-numerics-branch, size: 113904
2005-04-07
17:31
merge updates from HEAD file: 1e0eb14606 check-in: [7d5704f18c] user: dgp branch: dgp-refactor, size: 103113
2005-04-05
16:18
* generic/tclInt.h: * generic/tclObj.c: Change in TclDecrRefCount and TclFreeObj, to speed up the freeing of simple Tcl_Obj [Patch 1174551] file: 3418b7ccd2 check-in: [8f5c1b4045] user: msofer branch: trunk, size: 103070
2005-04-03
23:42
assorted stuff, including [Patch 1174551] and merge from HEAD file: f1b6b91382 check-in: [52f453e631] user: msofer branch: msofer-wcodes-branch, size: 103074
2005-04-02
21:45
* generic/tclInt.h: * generic/tclObj.c: Change in TclDecrRefCount and TclFreeObj, to speed up the freeing of simple Tcl_Obj [Patch 1174551] file: 98acf5d61f check-in: [7fe6642e48] user: msofer branch: msofer-wcodes-branch, size: 103077
2005-04-01
18:48
opt in INST_*_SCALAR, sync with HEAD file: 9e7dbae897 check-in: [7bf6052c01] user: msofer branch: msofer-wcodes-branch, size: 99059
15:17
* generic/tclExecute.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclStringObj.c: defined new internal macros for creating and setting frequently used obj types (int,long, wideInt, double, string). Changed TEBC to use eg 'TclNewIntObj(objPtr, i)' to avoid the function call in 'objPtr = Tcl_NewIntObj(i)' file: 7ed06ee385 check-in: [cbef3b55b1] user: msofer branch: trunk, size: 99055
2005-03-15
19:08
fix typos prior to tagging for TIP132 file: 66fed3cc31 check-in: [f5fe90ad77] user: kennykb branch: kennykb-numerics-branch, size: 111049
2005-03-04
20:43
made code permissive about infinities file: d4e82ca643 check-in: [ab448d97fd] user: kennykb branch: kennykb-numerics-branch, size: 111048
2005-03-02
23:30
further fixes for VC6 file: 684cc403e2 check-in: [fa9796cec4] user: kennykb branch: kennykb-numerics-branch, size: 111164
23:10
made build work again on Linux file: e49d913fd0 check-in: [bc08e3242d] user: kennykb branch: kennykb-numerics-branch, size: 111162
21:25
Developer's checkpoint, see ChangeLog for details file: 20f6613c79 check-in: [f8f444ebda] user: kennykb branch: kennykb-numerics-branch, size: 111042
2005-02-02
15:53
sync with head, add TclStrToD (TIP #132) file: b114937299 check-in: [82ce6a0c40] user: kennykb branch: kennykb-numerics-branch, size: 110794
2005-01-20
21:19
local patches to make string conversions work file: b1144abe20 check-in: [e5cbb8c962] user: kennykb branch: kennykb-numerics-branch, size: 110766
19:11
Development checkpoint, see ChangeLog for details file: 1967fddfbe check-in: [14457d7982] user: kennykb branch: kennykb-numerics-branch, size: 110730
2005-01-12
21:35
Merge updates from HEAD file: 43c4b30548 check-in: [4f5327131e] user: dgp branch: dgp-refactor, size: 100259
2004-12-13
22:02
synch with kennykb-numerics-branch-20041213 file: 5c5e5ab112 check-in: [34c9e99c86] user: kennykb branch: kennykb-numerics-branch, size: 100221
2004-12-12
23:16
* generic/tclObj.c (TclSetCmdNameObj): special handling for fully qualified command names (as in fix [Patch 456668]). file: cdee1f5d42 check-in: [8af4091719] user: msofer branch: trunk, size: 100216
2004-10-28
18:45
merge updates from HEAD file: edebf217ad check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 99642
2004-10-27
15:39
backport fixes for 868489 and 1026125 file: c570b26f62 check-in: [eb071c665a] user: kennykb branch: core-8-4-branch, size: 95948
2004-10-06
15: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: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclResult.c: * generic/tclScan.c: * generic/tclTimer.c: * generic/tclTrace.c: * generic/tclUtil.c: * generic/tclVar.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: e04ec56bfc check-in: [9883f6bfdb] user: dgp branch: trunk, size: 99596
2004-10-01
12:45
Speed up [upvar] and [uplevel] by not forcing level references to be parsed as strings every time through. [Patch 1037357] file: bbb100d6f4 check-in: [09f8c750f7] user: dkf branch: trunk, size: 99713
2004-09-30
00:51
merge updates from HEAD file: 2209aac757 check-in: [6cd7cf6875] user: dgp branch: dgp-refactor, size: 99710
2004-09-29
22:22
Typo file: 7f47b3cc2e check-in: [36ee16f240] user: dkf branch: trunk, size: 99664
22:17
Factorize out the code for freeing an object's internal rep. file: 325b3bfd53 check-in: [3890ad3c7c] user: dkf branch: trunk, size: 99665
2004-09-27
21:57
Whitespace/formatting policing file: c0e1a5f276 check-in: [e73ae22ac6] user: dkf branch: trunk, size: 101184
19:59
removed some workarounds for Bug 868489 file: a62474eafd check-in: [20788cf565] user: kennykb branch: trunk, size: 101962
2004-09-21
23:10
merge updates from HEAD file: 3d7063da60 check-in: [1d1ea15d54] user: dgp branch: dgp-refactor, size: 102165
2004-09-14
16:30
* generic/tclObj.c (Tcl_GetIntFromObj): Corrected flaw in returning the int value of a wideInteger. [Bug 1027690] file: fcec7feab5 check-in: [ecd2e927c5] user: dgp branch: core-8-4-branch, size: 96105
2004-09-11
18:57
* generic/tclClock.c (TclMktimeObjCmd): Corrected a bad check for error return from 'mktime'. * generic/tclObj.c (Tcl_GetIntFromObj): Corrected a problem where demoting a wide to an int failed on a big-endian machine. [Bug 1026125]. * tests/clock.test (clock-43.1): Added regression test for error return from 'mktime'. file: 8a864c0ac6 check-in: [7602ffab0a] user: kennykb branch: trunk, size: 102123
2004-09-10
22:59
Minor mods to latest commit to correct bugs and compiler warnings on TCL_WIDE_INT_IS_LONG platforms. file: dfde82de04 check-in: [36fcd28d9a] user: dgp branch: core-8-4-branch, size: 96133
22:43
Minor mods to latest commit to correct bugs and compiler warnings on TCL_WIDE_INT_IS_LONG platforms. file: b5c980146b check-in: [762142fd71] user: dgp branch: trunk, size: 102147
21:52
One less crazy long/wide aunt in the attic... [Bug 868489] file: 0bd82d0c8d check-in: [a74b4462f7] user: dkf branch: core-8-4-branch, size: 96065
21:29
One less crazy long/wide aunt in the attic [Bug 868489] file: da1f23df6a check-in: [b68fc39b3e] user: dkf branch: trunk, size: 102078
2004-09-08
23:02
Merge updates from HEAD file: 1dc73718e2 check-in: [dff8728918] user: dgp branch: dgp-refactor, size: 98555
2004-07-07
08:21
Add missing objTypes to catalog file: 0d69a79372 check-in: [f89d3d0cc7] user: dkf branch: trunk, size: 98509
2004-06-18
15:12
Fixed [Bug 886231] properly this time rather than with a broken version that breaks the core completely. :^} file: fdd7a789db check-in: [3a145c918b] user: dkf branch: trunk, size: 98421
13:42
Fix tclWinInit.c for KBK, adding comments as I go. :^) file: 124409cc1d check-in: [74fa673878] user: dkf branch: trunk, size: 98420
2004-06-17
21:39
* generic/tclObj.c: Added missing space in panic message. file: 471296885f check-in: [27aed8f4eb] user: dgp branch: trunk, size: 97065
2004-05-17
18:42
merge updates from HEAD file: f7b7288e86 check-in: [5741c7bde9] user: dgp branch: dgp-refactor, size: 97110
2004-05-06
04:41
* generic/tclInt.h: * generic/tclObj.c (TclFreeObj): made TclFreeObj use the new macro TclFreeObjMacro(), so that the allocation and freeing of Tcl_Obj is defined in a single spot (the macros in tclInt.h), with the exception of the TCL_MEM_DEBUG case. The #ifdef logic for the corresponding macros has been reformulated to make it clearer. file: cc5c12f748 check-in: [2fd4458c65] user: msofer branch: trunk, size: 97067
2004-05-04
17:44
Merge updates from HEAD. file: d054063347 check-in: [de9c64200c] user: dgp branch: dgp-refactor, size: 97508
2004-04-19
18:40
Corrected "short circuit" conversion of int to double. Reported by Jeff Hobbs on the Tcl'ers Chat. file: bfc30a0559 check-in: [da1bb47e4b] user: kennykb branch: trunk, size: 97467
2004-04-09
20:57
Merge updates from HEAD file: b5962b5f28 check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 97492
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: adae077fc1 check-in: [2e5b18c85c] user: dgp branch: trunk, size: 97447
2004-03-31
01:36
Merge updates from HEAD file: 470f3d615b check-in: [3a26049d35] user: dgp branch: dgp-refactor, size: 97513
2004-03-30
23:34
Backport of fixes to make HashObjKey hash the whole object... file: a50df00f3a check-in: [65765fe7bf] user: dkf branch: core-8-4-branch, size: 92537
21:34
Fixed object hashing bozo-ness. The code as it stood looked like a cargo-cult hangover from the hashing code in tclHash.c, but this looks almost identical to that used for literals (which is fast.) file: b3d6e3b29c check-in: [9a948a8375] user: dkf branch: trunk, size: 97468
2004-03-26
22:28
Merge updates from HEAD. file: d1fc63506c check-in: [6e8d2d7ba1] user: dgp branch: dgp-refactor, size: 97644
2004-03-19
18:33
Made HEAD build on Windows VC++ again. file: 6f2793c61a check-in: [6610e1aa01] user: kennykb branch: trunk, size: 97603
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: 3e7ce65cc3 check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 97551
2004-01-28
23:56
Speed improvements to SetBooleanFromAny's string handling whitespace/style policing file: 8897a28b16 check-in: [2611b2eb6e] user: dkf branch: trunk, size: 97506
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: bba4444898 check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 96769
2003-10-16
02:28
Merged updates from HEAD file: 88f5c8fadc check-in: [44102608b1] user: dgp branch: dgp-refactor, size: 96737
2003-10-14
15:44
* generic/tclBasic.c (TclAppendObjToErrorInfo): New internal routine that appends a Tcl_Obj to the errorInfo, saving the caller the trouble of extracting the string rep. * generic/tclStringObj.c (TclAppendLimitedToObj): New internal routine that supports truncated appends with optional ellipsis marking. This single routine supports UTF-8-safe truncated appends needed in several places throughout the Tcl source code, mostly for error and stack messages. Clean fix for [Bug 760872]. * generic/tclInt.h: Declarations for new internal routines. * generic/tclCmdMZ.c: Updated callers to use the new routines. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclProc.c: * generic/tclStringObj.c: * mac/tclMacResource.c: * library/init.tcl: Updated ::errorInfo cleanup in [unknown] to reflect slight modifications to Tcl_LogCommandInfo(). Corrects failing init-4.* tests. file: 0f6faf804f check-in: [3522d44090] user: dgp branch: trunk, size: 96692
2003-10-09
00:29
* win/makefile.vc: Applied patches for bug #801467 by Joe Mistachkin * win/tclAppInit.c: to fix incompatible TCL_MEM_DEBUG handling in * generic/tclObj.c: Win32 VC builds. file: 580d15f2c5 check-in: [c6bd53ea96] user: patthoyts branch: trunk, size: 97181
2003-09-29
14:37
TIP#112 ([namespace ensemble] command) implementation. file: 0cba5f0dd5 check-in: [e1f27128dc] user: dkf branch: trunk, size: 97153
2003-08-07
21:35
Merged changes from HEAD file: 6c9379b626 check-in: [9658ec795f] user: dgp branch: dgp-refactor, size: 97152
2003-07-24
18:16
* generic/tcl.h: Revert change made on 2003-07-21 since it made the sizeof(Tcl_Obj) different for regular vs mem debug builds. * generic/tclInt.h: Define TclDecrRefCount in terms of Tcl_DbDecrRefCount which removes one layer of inderection. * generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount, Tcl_DbDecrRefCount, Tcl_DbIsShared): Define ThreadSpecificData that contains a hashtable. The table is used to ensure that a Tcl_Obj is only acted upon in the thread that allocated it. This checking code is enabled only when mem debug and threads are enabled. file: 60a457a3b2 check-in: [4dc4a16832] user: mdejong branch: trunk, size: 97111
2003-07-22
00:59
Check that the thread incrementing or decrementing the ref count of a Tcl_Obj is the thread that originally allocated the thread. This fail fast behavior will catch programming errors that allow a single Tcl_Obj to be accessed from multiple threads. * generic/tcl.h (Tcl_Obj): Add allocThread member to Tcl_Obj. This member records the thread id the Tcl_Obj was allocated. It is used to check that any future ref count incr or decr is done from the same thread that allocated the Tcl_Obj. This member is defined only when threads and mem debug are enabled. * generic/tclInt.h (TclNewObj, TclDbNewObj, TclDecrRefCount): Define TclNewObj and TclDbNewObj using TclDbInitNewObj when mem debug is enabled. This fixes a problem where TclNewObj calls did not work the same as TclDbNewObj when mem debug was enabled. * generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount, Tcl_DbDecrRefCount): Add new helper to init Tcl_Obj members when mem debug is enabled. Init the allocThread member in TclDbInitNewObj and check it in Tcl_DbIncrRefCount and Tcl_DbDecrRefCount to make sure a Tcl_Obj allocated in one thread is not being acted upon in another thread. file: 3a946db587 check-in: [50c5d9ac11] user: mdejong branch: trunk, size: 94047
2003-06-18
19:47
Merged in updates from the HEAD file: ca3500d4fe check-in: [f146aedacd] user: dgp branch: dgp-refactor, size: 92766
2003-05-23
21:29
* generic/tclObj.c (tclCmdNameType): Converted internal rep management of the cmdName Tcl_ObjType the opposite way, to always use the twoPtrValue instead of always using the otherValuePtr. Previous fix on 2003-05-12 broke several extensions that wanted to poke around with the twoPtrValue.ptr2 value of a cmdName Tcl_Obj, like TclBlend and e4graph. [Bug 726018] file: 8ceadd10b1 check-in: [366cb9b633] user: dgp branch: trunk, size: 92721
21:29
* generic/tclObj.c (tclCmdNameType): Converted internal rep management of the cmdName Tcl_ObjType the opposite way, to always use the twoPtrValue instead of always using the otherValuePtr. Previous fix on 2003-05-12 broke several extensions that wanted to poke around with the twoPtrValue.ptr2 value of a cmdName Tcl_Obj, like TclBlend and e4graph. [Bug 726018] file: 8d76e3e7e2 check-in: [347c8b7324] user: dgp branch: core-8-4-branch, size: 92659
2003-05-22
19:12
Work in progress refactoring Tcl internals, mostly the parsing and evaluation pieces. Notably new Tcl_Token types and a new Tcl_ObjType are added so that each character in a script need only be parsed once, and parse trees can be cached rather than recomputed. Also, compile time errors are removed; all errors during compile become a signal to interpret the code. file: be1f9aac4c check-in: [5614e023c2] user: dgp branch: dgp-refactor, size: 92205
2003-05-12
19:32
* generic/tclObj.c (tclCmdNameType): Corrected variable use of the otherValuePtr or the twoPtrValue.ptr1 fields to store a (ResolvedCmdName *) as the internal rep. [Bug 726018]. file: f72206a581 check-in: [ab3960e7fe] user: dgp branch: trunk, size: 92160
19:29
* generic/tclObj.c (tclCmdNameType): Corrected variable use of the otherValuePtr or the twoPtrValue.ptr1 fields to store a (ResolvedCmdName *) as the internal rep. [Bug 726018]. file: e574e9b782 check-in: [0942f4c0f4] user: dgp branch: core-8-4-branch, size: 92098
2003-04-16
23:33
* generic/tcl.h Made changes so that the "wideInt" Tcl_ObjType * generic/tclObj.c is defined on all platforms, even those where * generic/tclPort.h TCL_WIDE_INT_IS_LONG is defined. Also made the Tcl_Value struct have a wideValue field on all platforms. This is a ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms because that struct changes size. This is the same TIP 72 incompatibility that was seen on other platforms at the 8.4.0 release, when this change should have happened as well. [Bug 713562] * generic/tclInt.h: New internal macros TclGetWide() and TclGetLongFromWide() to deal with both forms of the "wideInt" Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code is confined to the header file. * generic/tclCmdAH.c: Replaced most coding that was conditional * generic/tclCmdIL.c: on TCL_WIDE_INT_IS_LONG with code that * generic/tclExecute.c: works across platforms, sometimes using * generic/tclTest.c: the new macros above to do it. * generic/tclUtil.c: * generic/tclVar.c: file: 389fc98216 check-in: [699acb79d9] user: dgp branch: trunk, size: 92317
23:31
* generic/tcl.h Made changes so that the "wideInt" Tcl_ObjType * generic/tclObj.c is defined on all platforms, even those where * generic/tclPort.h TCL_WIDE_INT_IS_LONG is defined. Also made the Tcl_Value struct have a wideValue field on all platforms. This is a ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms because that struct changes size. This is the same TIP 72 incompatibility that was seen on other platforms at the 8.4.0 release, when this change should have happened as well. [Bug 713562] * generic/tclInt.h: New internal macros TclGetWide() and TclGetLongFromWide() to deal with both forms of the "wideInt" Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code is confined to the header file. * generic/tclCmdAH.c: Replaced most coding that was conditional * generic/tclCmdIL.c: on TCL_WIDE_INT_IS_LONG with code that * generic/tclExecute.c: works across platforms, sometimes using * generic/tclTest.c: the new macros above to do it. * generic/tclUtil.c: * generic/tclVar.c: file: 99cf382497 check-in: [4657eb7ea0] user: dgp branch: core-8-4-branch, size: 92255
2003-04-07
12:27
Make sure that tclWideIntType is defined and somewhat sensible everywhere. [Bug 713562] file: b2d69390ea check-in: [be174d7910] user: dkf branch: core-8-4-branch, size: 92682
10:11
Fixed bugs 715751 and 713562 so dict code should build everywhere and wide ints be defined (though not necessarily useful) everywhere. file: 4c119acffa check-in: [f23a4e29f6] user: dkf branch: trunk, size: 92744
2003-04-05
01:41
Final stage of getting dictionaries into the core. Test suite should work now! file: 3bc63b6679 check-in: [163b5f431c] user: dkf branch: trunk, size: 92549
2003-01-17
22:10
* generic/tcl.h: Revert earlier change that defined TCL_WIDE_INT_TYPE as long long and TCL_LL_MODIFIER as L when compiling with mingw. This change ended up causing some test case failures when compiling with mingw. * generic/tclObj.c (UpdateStringOfWideInt): Describe the warning generated by mingw and why it needs to be ignored so that someone is not tempted to "fix" this problem again in the future. file: 3e4364bb40 check-in: [c83d00266a] user: mdejong branch: trunk, size: 92514
2002-11-19
02:34
* generic/tclUtil.c (SetEndOffsetFromAny): handle integer offset after the "end-" prefix. * generic/get.test: * generic/string.test: * generic/tclObj.c (SetIntFromAny, SetWideIntFromAny): * generic/tclGet.c (TclGetLong, Tcl_GetInt): simplify sign handling before calling strtoul(l). [Bug #634856] file: f5ddb59a7e check-in: [9ed6048410] user: hobbs branch: trunk, size: 92251
2002-11-05
01:49
* generic/tclObj.c (TclInitObjSubsystem, Tcl_DbIsShared): enable shared object reporting in EvalStatsCmd when used with TCL_MEM_DEBUG. file: 1ff0011702 check-in: [0de8f7a087] user: hobbs branch: mod-8-3-4-branch, size: 59586
2002-08-30
15:33
merged with trunk at tag macosx-8-4-merge-2002-08-30-trunk file: 851931fa7a check-in: [c69eee32c0] user: das branch: macosx-8-4-branch, size: 92197
2002-08-24
01:29
2002-08-23 Miguel Sofer <[email protected]> * generic/tclObj.c (USE_THREAD_ALLOC): fixed leak [Bug 597936]. Thanks to Zoran Vasiljevic. file: 64dd78df83 check-in: [f6b3630f19] user: msofer branch: trunk, size: 92196
2002-08-20
20:25
merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk file: 9d8be62219 check-in: [354986d9c3] user: das branch: macosx-8-4-branch, size: 92040
2002-08-14
17:31
* generic/tclInt.h: * generic/tclObj.c: (code cleanup) factored the parts in the macros TclNewObj() / TclDecrRefCount() into a common part for all memory allocators and two new macros TclAllocObjStorage() / TclFreeObjStorage() that are specific to each allocator and fully describe the differences. Removed allocator-specific code from tclObj.c by using the macros. file: 936ce485bb check-in: [e9d1065835] user: msofer branch: trunk, size: 92039
2002-08-07
17:13
* docs/BoolObj.3: added description of valid string reps for a boolean object [Bug 584794] * generic/tclObj.c: optimised Tcl_GetBooleanFromObj and SetBooleanFromAny to avoid parsing the string rep when it can be avoided [Bugs 584650, 472576] file: c33c27b0f4 check-in: [599315865e] user: msofer branch: trunk, size: 93012
15:50
* generic/tclCompile.h: * generic/tclObj.c: making tclCmdNameType static ([Bug 584567], Don Porter). file: ab7a4cdbf2 check-in: [3080d8205d] user: msofer branch: trunk, size: 92310
14:24
* generic/tclObj.c (Tcl_NewObj): added conditional code for USE_THREAD_ALLOC; objects allocated through Tcl_NewObj() were otherwise being leaked. [Bug 587488] reported by Sven Sass. file: cf372cfb2f check-in: [d6086ae38b] user: msofer branch: trunk, size: 92303
2002-08-05
03:24
* doc/CmdCmplt.3: Applied Patch 585105 to fully CONST-ify * doc/Concat.3: all remaining public interfaces of Tcl. * doc/CrtCommand.3: Notably, the parser no longer writes on * doc/CrtSlave.3: the string it is parsing, so it is no * doc/CrtTrace.3: longer necessary for Tcl_Eval() to be * doc/Eval.3: given a writable string. Also, the * doc/ExprLong.3: refactoring of the Tcl_*Var* routines * doc/LinkVar.3: by Miguel Sofer is included, so that the * doc/ParseCmd.3: "part1" argument for them no longer needs * doc/SetVar.3: to be writable either. * doc/TraceVar.3: * doc/UpVar.3: Compatibility support has been enhanced so * generic/tcl.decls that a #define of USE_NON_CONST will remove * generic/tcl.h all possible source incompatibilities with * generic/tclBasic.c the 8.3 version of the header file(s). * generic/tclCmdMZ.c The new #define of USE_COMPAT_CONST now does * generic/tclCompCmds.c what USE_NON_CONST used to do -- disable * generic/tclCompExpr.c only those new CONST's that introduce * generic/tclCompile.c irreconcilable incompatibilities. * generic/tclCompile.h * generic/tclDecls.h Several bugs are also fixed by this patch. * generic/tclEnv.c [Bugs 584051,580433] [Patches 585105,582429] * generic/tclEvent.c * generic/tclInt.decls * generic/tclInt.h * generic/tclIntDecls.h * generic/tclInterp.c * generic/tclLink.c * generic/tclObj.c * generic/tclParse.c * generic/tclParseExpr.c * generic/tclProc.c * generic/tclTest.c * generic/tclUtf.c * generic/tclUtil.c * generic/tclVar.c * mac/tclMacTest.c * tests/expr-old.test * tests/parseExpr.test * unix/tclUnixTest.c * unix/tclXtTest.c * win/tclWinTest.c file: 2451bda5b4 check-in: [e476c22fec] user: dgp branch: trunk, size: 92209
2002-07-29
15:56
bugfix, new tests for new [interp alias] code file: 086013e9ea check-in: [86e71c5d61] user: msofer branch: trunk, size: 92213
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: ff174ef8a3 check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 92250
2002-04-26
12:15
strtol takes three arguments file: efa815cd42 check-in: [10f88889b1] user: dgp branch: core-8-3-1-branch, size: 59690
08:34
Hex values on 64-bit machines can be booleans too! [Bug 548686] file: eee9715b83 check-in: [0d05b5a9e1] user: dkf branch: trunk, size: 92241
08:34
Hex values can be booleans too! [Bug 548686] file: 74868e7bd7 check-in: [a337a0f0e2] user: dkf branch: core-8-3-1-branch, size: 59687
2002-02-27
07:08
reversed accidental commit of unfinished sources file: 4580a6326c check-in: [6d6c166fcf] user: hobbs branch: trunk, size: 91616
06:39
generic/tclCmdMZ.c file: 27980b0ad3 check-in: [199f301702] user: hobbs branch: trunk, size: 91223
2002-02-22
22:36
* generic/tclInt.h: * generic/tclObj.c: renamed global variable emptyString -> tclEmptyString because it is no longer static. * generic/tclPkg.c: Fix for panic when library is loaded on a platform without backlinking without proper use of stubs. [Bug 476537] file: 13a87ba166 check-in: [d709125ee9] user: dgp branch: trunk, size: 91614
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: eeaa986636 check-in: [8d82de1905] user: dkf branch: trunk, size: 91608
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: f99522e52a check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 79749
2002-01-25
21:36
* [Patch 505630] Updated interfaces of generic/tclBasic.cc (TIP 27). * [Patch 506818] Updated interfaces of generic/tclHash.c (TIP 27). * [Patch 506807] Updated interfaces of generic/tclObj.c (TIP 27). * [Patch 507304] Updated interfaces of win/tclWin32.c (TIP 27). * Update all callers. file: bd4b641b7c check-in: [375ac8d641] user: dgp branch: trunk, size: 79740
2001-12-28
23:36
* generic/tclCkalloc.c (MemoryCmd, TclFinalizeMemorySubsystem): Added the [memory onexit] command, intended to replace [checkmem]. * doc/DumpActiveMemory.3: * doc/memory.n: Updated documentation for [memory] and related matters. [Bug 487677] * mac/tclMacBOAMain.c (Tcl_Main, CheckmemCmd): Removed all the machinery for the [checkmem] command that is completely duplicated by code in generic/tclCkalloc.c. * generic/tclBinary.c: * generic/tclListObj.c: * generic/tclObj.c: * generic/tclStringObj.c: Removed references to [checkmem] in comments, referencing [memory active] instead, since it is documented. file: df4f695f6c check-in: [cf5397db43] user: dgp branch: trunk, size: 79735
2001-11-23
01:26
** upport to 8.4 of mac code changes for 8.3.3 & various new ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details file: a7a3f0d805 check-in: [2211e7f47d] user: das branch: trunk, size: 79707
2001-11-16
20:14
Moved Tcl_GetCommandFromObj and all defining code for tclCmdNameType objects to tclObj.c file: 3598995512 check-in: [1d6e05be0f] user: msofer branch: trunk, size: 79686
2001-11-14
23:17
Reference implementation of TIP's #22, #33 and #45. Adds the ability of the [lindex] command to have multiple index arguments, and adds the [lset] command. Both commands are byte-code compiled. [Patch #471874] (work by Kenny, commited by Hobbs) file: 9b0cf26262 check-in: [8e0db83abc] user: hobbs branch: trunk, size: 65954
2001-10-23
13:14
Some places prefer string lengths to be unsigned. file: 1bfd84bed1 check-in: [7f9cc44820] user: dkf branch: dkf-64bit-support-branch, size: 77781
2001-10-19
23:47
added -DPURIFY object allocation option file: d82194c717 check-in: [864588f58d] user: hobbs branch: core-8-3-1-branch, size: 59182
2001-10-18
14:19
Simplified tcl.h and removed support for platforms that can understand but cannot printf a 64-bit value. If they are widespread, this will be a bit of a retrograde step but it does make it easier to understand the code! file: a35eef04b7 check-in: [e04a287f55] user: dkf branch: dkf-64bit-support-branch, size: 77776
2001-10-15
10:55
Oops. file: e456acbbc0 check-in: [643f10b199] user: dkf branch: dkf-64bit-support-branch, size: 78364
10:52
Start of work to support more platforms (HPUX,IRIX,Win) plus some minor bug fixes file: e5a09131b1 check-in: [ab8eb3df73] user: dkf branch: dkf-64bit-support-branch, size: 78362
2001-10-11
13:45
More correct handling of wides as booleans, wide literals and [incr] of a variable containing a string that needs to be converted to wide. file: 64743f1b44 check-in: [a7a46582e4] user: dkf branch: dkf-64bit-support-branch, size: 78346
2001-10-09
20:42
removed duplicate definition of tclObjsAlloced and tclObjsFreed. These variables only exist when compiling with TCL_COMPILE_STATS, and are already defined in generic/tclExecute.c file: 50cd43e269 check-in: [ae68613ec5] user: msofer branch: core-8-3-1-branch, size: 59077
15:31
Fixes to make test suite clean file: b20d320370 check-in: [43ea38a829] user: dkf branch: dkf-64bit-support-branch, size: 77917
2001-10-05
08:14
Improving support for Alpha file: eb8e6b743a check-in: [cbc64d0cd7] user: dkf branch: dkf-64bit-support-branch, size: 77922
2001-10-03
15:25
Support for Linux and simpler support for Solaris file: 5ad9def0ec check-in: [4198369c6d] user: dkf branch: dkf-64bit-support-branch, size: 77815
09:45
Oops! Forgot to register the obj-type... file: f63e1d9d2f check-in: [ffbba391aa] user: dkf branch: dkf-64bit-support-branch, size: 77700
2001-10-02
10:56
Added conditionals to cope with case where 'long' is a 64-bit type. file: 91853d6c96 check-in: [70c2208b6a] user: dkf branch: dkf-64bit-support-branch, size: 77622
2001-09-27
14:51
Backed out unwise changes file: 4d5d1b1d3c check-in: [4bd8bd14a6] user: dkf branch: dkf-64bit-support-branch, size: 77061
10:21
Fixes so as to use wide ints for some stat fields, and to add some warnings on areas with non-64bit APIs (mostly dirent handling.) file: 968b2f8389 check-in: [c8ca0b3b71] user: dkf branch: dkf-64bit-support-branch, size: 77129
2001-09-25
16:49
Woo hoo! Builds on one platform (Solaris8/SPARC with SunPro CC) file: 89c85003a5 check-in: [dd2d80954c] user: dkf branch: dkf-64bit-support-branch, size: 77130
2001-07-16
23:14
2001-07-02 Jeff Hobbs <[email protected]> * tests/util.test: added util-4.6 * generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards over utf-8 chars. [Bug #227512] 2001-06-27 Jeff Hobbs <[email protected]> * generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash handling of multibyte utf-8 chars. [Bug #217987] * generic/tclCmdIL.c (InfoProcsCmd): fixed potential mem leak in info procs that created objects without using them. * generic/tclCompCmds.c (TclCompileStringCmd): fixed mem leak when string command failed to parse the subcommand. 2001-05-22 Jeff Hobbs <[email protected]> * generic/tclObj.c (TclAllocateFreeObjects): simplified objSizePlusPadding to use sizeof(Tcl_Obj) (max) file: 22540587b2 check-in: [bef6467977] user: hobbs branch: core-8-3-1-branch, size: 59278
2001-06-28
01:22
* generic/tclInt.h: * generic/tclObj.c: * unix/Makefile.in: added a -DPURIFY mode that makes Tcl_Obj's allocated and free singularly (instead of in alloc in blocks and never free) to allow checkers like Purify to operate better. file: 790b9daf60 check-in: [c8e42a8b01] user: hobbs branch: trunk, size: 65910
2001-05-26
01:25
[Patch #424851]: Faster array searching & obj cleanup file: 227126b32e check-in: [730cd270f4] user: msofer branch: trunk, size: 65492
2001-05-23
06:05
* generic/tclObj.c (TclAllocateFreeObjects): simplified objSizePlusPadding to use sizeof(Tcl_Obj) (max) Corrected use of tclObjsAlloced/Freed/Shared in TCL_MEM_DEBUG compile. file: 5c70685958 check-in: [f800a4ff5a] user: hobbs branch: trunk, size: 65364
2001-05-15
20:07
refactored varname pushing code and some of the bytecode instructions file: 2e6a35044c check-in: [73ab621f59] user: hobbs branch: dev-hobbs-branch, size: 65881
2001-05-11
20:47
new byte-compiled commands, Tcl_GetUnicodeFromObj and string comparison changes file: 1233be2a6c check-in: [bbd0c14230] user: hobbs branch: dev-hobbs-branch, size: 65736
2001-04-06
01:32
* generic/tclObj.c (TclAllocateFreeObjects): simplified objSizePlusPadding to use sizeof(Tcl_Obj) (max) file: eecb6a4816 check-in: [4f7d87d66b] user: hobbs branch: core-8-3-1-branch, size: 59332
2001-04-04
16:07
(TIP#27) Changed a number of Tcl API's to accept "CONST char*" in place of simple "char*". (kennykb) [Patch #404026] file: 6c2025e256 check-in: [bda1abaf85] user: kennykb branch: trunk, size: 65821
2001-04-03
22:54
see backport log in ChangeLog for specific file backports from 8.4aCVS file: 18823e1497 check-in: [6defc375da] user: hobbs branch: core-8-3-1-branch, size: 59467
2001-01-18
19:09
2000-01-18 Andreas Kupries <[email protected]> * Everything below belongs together, it fixes bug #123153. * generic/tcl.h (line 342): A bit more explanation about the default value for TCL_PRESERVE_BINARY_COMPATABILITY. * generic/tcl.h (line 1208): Removed the macro 'Tcl_InitHashTable' as it kills binary compatibility to 8.3 and earlier versions. This is the main part of the patch/change. * generic/tcl.decls (line 1469): * generic/tclHash.c (Tcl_InitHashTable): * generic/tclHash.c (Tcl_InitHashTableEx): * generic/tclObj.c (Tcl_InitObjHashTable): Changed 'Tcl_InitHashTableEx' to 'Tcl_InitCustomHashTable'. This change is more of an estethical nature, replacing the ubiquitous 'Ex' suffix with a more meaningful name. The introduced binary incompatibility is deemed acceptable as it is between alpha versions. Updated callers. * doc/Hash.3: * unix/mkLinks: Changed 'Tcl_InitHashTableEx' to 'Tcl_InitCustomHashTable'. file: 3a35da9ccc check-in: [f44e486cdf] user: andreas_kupries branch: trunk, size: 65773
2000-08-10
18:24
2000-08-10 David Gravereaux <[email protected]> * generic/tclObj.c: r1.15 accidentally changed a global mutex name tclObjMutex to ObjMutex. Put the correct name back. file: 8bb32d93e7 check-in: [03edb81667] user: davidg branch: trunk, size: 65756
2000-07-22
01:53
* generic/tclStubInit.c: * generic/tclObj.c: * generic/tclInt.h: * generic/tclHash.c: * generic/tclDecls.h: * generic/tcl.h: * generic/tcl.decls: * doc/Hash.3: Reapplied patch from Paul Duffin to extend hash tables to allow custom key types, such as Tcl_Obj *'s, and others. file: 77e0abca27 check-in: [9ec468f405] user: ericm branch: trunk, size: 65713
2000-07-20
20:33
* generic/tclStubInit.c: * generic/tclObj.c: * generic/tclInt.h: * generic/tclHash.c: * generic/tclDecls.h: * generic/tcl.h: * generic/tcl.decls: * doc/Hash.3: Reverted patch from Paul Duffin to extend hash tables to allow custom key types, such as Tcl_Obj *'s, and others; it seems to break Tk. file: 27e9c6c240 check-in: [2abafbeedc] user: ericm branch: trunk, size: 59929
2000-07-19
22:15
* generic/tclStubInit.c: * generic/tclObj.c: * generic/tclInt.h: * generic/tclHash.c: * generic/tclDecls.h: * generic/tcl.h: * generic/tcl.decls: * doc/Hash.3: Applied patch from Paul Duffin to extend hash tables to allow custom key types, such as Tcl_Obj *'s, and others. file: 8877579092 check-in: [6c43b17f3d] user: ericm branch: trunk, size: 65713
2000-05-26
08:51
* generic/tclInt.h: * generic/tclObj.c (Tcl_DbIsShared): added support for checking result of Tcl_IsShared in evalstats (TCL_COMPILE_STATS). file: 2d496291c8 check-in: [b4ded7886d] user: hobbs branch: trunk, size: 59929
2000-05-08
22:13
* generic/tclObj.c (Tcl_DuplicateObj): simplified code to call TclInitStringRep, which the code was just duplicating in part. file: f407c1892c check-in: [b7f61c3131] user: hobbs branch: trunk, size: 59463
1999-12-04
06:15
* tests/expr-old.test: * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling. * tests/expr.test: * generic/tclCompile.c: fixed 'bad code length' error for 'expr + {[incr]}' case, with new test case [Bug: 3736] and seg fault on 'expr + {[error]}' (different cause) that was caused by a correct optimization that didn't correctly track how it was modifying the source string in the opt. The optimization was removed, which means that: expr 1 + {[string length abc]} will be not be compiled inline as before, but this should be written: expr {1 + [string length abc]} which will be compiled inline for speed. This prevents expr 1 + {[mindless error]} from seg faulting, and only affects optimizations for degenerate cases [Bug: 3737] file: 3c5b867120 check-in: [bc2b85b9c2] user: hobbs branch: trunk, size: 59639
1999-11-10
02:51
* generic/tclIOUtil.c: changed Tcl_Alloc to ckalloc * generic/tclInt.h: * generic/tclObj.c: rolled back changes from 1999-10-29 Purify noted new leaks with that code * generic/tclParse.c: added code in Tcl_ParseBraces to test for possible unbalanced open brace in a comment file: f7cf50be17 check-in: [4cf2e06b0a] user: hobbs branch: trunk, size: 59600
1999-10-30
00:27
Cleanup of the TclNewObj family of macros, and elimination of the special Tcl_Obj memory allocator for the TCL_THREADS case, because this only adds lock contention. file: 6b9c25eec9 check-in: [cdb2cc1c30] user: welch branch: trunk, size: 58084
1999-06-15
01:16
Merged String and Unicode object types. Added new functions to the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj, Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange, Tcl_AppendUnicodeToObj. Note: some stringObj tests are still failing--the teststringobj command still needs to be updated. file: 38afedd79c check-in: [23b23af342] user: hershey branch: trunk, size: 59601
1999-06-08
02:59
* tests/string.test: * generic/tclVar.c (Tcl_SetVar2Ex): * generic/tclStringObj.c (Tcl_AppendObjToObj): * generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string index, string length, string range, and append command in cases where the object's internal rep is a bytearray. Objects with other internal reps are converted to have the new unicode internal rep. * unix/Makefile.in: * win/Makefile.in: * win/Makefile.vc: * tests/unicode.test: * generic/tclInt.h: * generic/tclObj.c: * generic/tclUnicodeObj.c: added a new object type to store the unicode representation of a string. * generic/tclTestObj.c: added the objtype option to the testobj command. This option returns the name of the type of internal rep an object has. file: 4b6a95b0a4 check-in: [8fcb19ead3] user: hershey branch: trunk, size: 59643
1999-05-28
23:02
* generic/tclObj.c: Changed to eliminate use of isupper/tolower in favor of the Unicode versions. file: 5ac75f23c5 check-in: [394d8ee6ec] user: stanton branch: trunk, size: 59553
1999-04-28
17:06
* mac/tclMacResource.c: * generic/tclListObj.c: * generic/tclObj.c: * generic/tclStringObj.c: Changed to avoid freeing the string representation before freeing the internal rep. This helps with debugging since the string rep will still be valid when the free proc is invoked. file: e2a95e2dab check-in: [101102ec64] user: stanton branch: trunk, size: 59582
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: 79d4f0edb6 check-in: [f3b32fb71c] user: stanton branch: trunk, size: 59582
1999-04-14
00:33
Fixed comments in code that referred to APIs that no longer exist, were misspelled, or have been updated. file: 4fbccced91 check-in: [2d7ffe4998] user: surles branch: core-8-1-branch-old, size: 59585
1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
1999-03-10
06:49
Integrated stubs mechanism from 8.0 into 8.1 file: 1afe00e3ff check-in: [ddb86b8d93] user: stanton branch: core-8-1-branch-old, size: 59551
05:52
Merged stubs changes into mainline for 8.0 file: c2c4a4e727 check-in: [1969693351] user: stanton branch: trunk, size: 61033
1999-03-08
20:14
First pass at integrating stubs mechanism from 8.0. file: b8d74e5795 check-in: [eeba5fd9e9] user: stanton branch: dev-8-1-stubs-branch, size: 59555
1999-03-03
00:38
* unix/Makefile.in: * unix/configure.in: * unix/ldAix: Enhanced AIX shared library support. * win/tclWinSock.c: Removed a bunch of extraneous PASCAL FAR attributes from internal functions. * win/tclWinReg.c: Changed registry package to use stubs mechanism so it no longer depends on the specific version of Tcl. * doc/AddErrInfo.3: * doc/Eval.3: * doc/PkgRequire.3: * doc/SetResult.3: * doc/StringObj.3: * generic/tcl.h: * generic/tclBasic.c: * generic/tclPanic.c: * generic/tclStringObj.c: * generic/tclUtil.c: * unix/mkLinks: Added va_list versions of all VARARGS functions so they can be invoked from the stub functions. * doc/package.n: * doc/PkgRequire.3: * generic/tclPkg.c: Added Tcl_PkgProvideEx, Tcl_RequireEx, Tcl_PresentEx, and Tcl_PkgPresent. Added "package present" command. * generic/tclFileName.c: * mac/tclMacFile.c: * mac/tclMacShLib.exp: * unix/tclUnixFile.c: * win/tclWinFile.c: Changed so TclGetUserHome is defined on all platforms, even though it is currently a noop on mac and windows, and renamed it to TclpGetUserHome. * generic/tclCkalloc.c: Added stub versions of memory checking functions when compiling without TCL_MEM_DEBUG. * doc/ByteArrObj.3: * generic/tcl.h: * generic/tclBinary.c: * generic/tclObj.c: Ported the 8.1 ByteArray type back to 8.0. * generic/tcl.decls: * generic/tcl.h: * generic/tclBasic.c: * generic/tclDecls.h: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclIntPlatStubs.c: * generic/tclIntStubs.c: * generic/tclPlatDecls.h: * generic/tclPlatStubs.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclStubs.c: * tools/genStubs.tcl: * unix/configure.in: * unix/Makefile.in: * unix/tclConfig.sh.in: * win/makefile.vc: * win/tclWinPort.h: Added Tcl stubs implementation. There are now two new macros USE_TCL_STUBS and USE_TCL_STUB_PROCS that enable use of stubs and disable stub macros respectively. All of the public and private function declarations from tcl.h and tclInt.h have moved into the *.decls files and the *Stubs.c and *Decls.h files are generated using the genStubs.tcl script. * generic/tclPanic.c: * generic/panic.c: renamed panic to Tcl_Panic, added macro for backwards compatibility, renamed file to tclPanic.c file: 3f84e04785 check-in: [f404370f5a] user: stanton branch: dev-stubs-branch, size: 61037
1998-12-12
01:36
Minor change to Lock Declarations to use TCL_DECLARE_MUTEX macro, published in tcl.h. file: 24bf43a7e5 check-in: [c778c9ef5e] user: lfb branch: core-8-1-branch-old, size: 59503
1998-12-10
21:21
* Fixed lots of files that used TCL_THREAD instead of TCL_THREADS. * generic/tclEncoding.c (Tcl_FreeEncoding): Moved most of the code into a static FreeEncoding routine that does not grab the encodingMutex to avoid deadlocks/races when called from other routines that already have the mutex. file: 07636981a2 check-in: [09f356baa2] user: stanton branch: core-8-1-branch-old, size: 59532
1998-11-11
04:54
lots of lint wrapped mutex declarations in ifdefs to avoid compiler warnings file: 1b709cdb0d check-in: [9535a849c1] user: stanton branch: core-8-1-branch-old, size: 59530
1998-10-06
02:59
merged 8.0.4 changes into 8.1 branch file: 7d45c24511 check-in: [e8eee9b422] user: stanton branch: core-8-1-branch-old, size: 59480
1998-10-05
22:32
Added a new Tcl object called "procbody"; this object's internal representation contains both a Proc struct and its associated ByteCode. Updated tclProc.c::TclCreateProc to take procbody instances as the body argument, for future support of compiler extensions. Added the "procbodytest" package for testing all this stuff. file: 74d2fff6cc check-in: [0aa459d72f] user: escoffon branch: trunk, size: 60990
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: e7bc309b29 check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 59437
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: 5a8410c390 check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 59412
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: 80382aa853 check-in: [196f92fd17] user: stanton branch: trunk, size: 60946
1998-03-26
14:45
Added: Initial revision file: b844c2d867 check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 60925