Tcl Source Code

All files named "generic/tclCkalloc.c"
Login

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

History for generic/tclCkalloc.c

2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [b6652a09cf] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 36683
2024-04-18
15:06
Tidy up some indentation and other little code style issues file: [02c134a308] check-in: [cb11914788] user: dkf branch: tidy-indentation, size: 36786
2024-03-20
14:27
Merge 9.0 file: [9cb4ac0099] check-in: [4271f3b52a] user: jan.nijtmans branch: tip-626, size: 36799
2024-03-19
17:09
more spacing/formatting tweaks file: [250270145f] check-in: [9a59cf8499] user: dkf branch: main, size: 36787
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: [7a612e7377] check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 36735
2023-11-24
13:28
Merge 9.0 file: [0180b40dd9] check-in: [96e43e34f3] user: jan.nijtmans branch: tip-626, size: 36803
2023-11-16
23:21
Revise macro usage file: [812adc924e] check-in: [b7e48b4f00] user: jan.nijtmans branch: main, size: 36791
2023-06-01
21:36
Merge 9.0 file: [bf26dbb62f] check-in: [941600cdb3] user: jan.nijtmans branch: tip-626, size: 36805
2023-05-20
23:24
Add cleanup to lseq tests. Fix assertion. file: [85798e97f9] check-in: [ab6b395442] user: griffin branch: main, size: 36793
15:40
Minor refactor to combine alloc/realloc file: [3302c7b532] check-in: [6f8be92c87] user: apnadkarni branch: bug-c9663296fd, size: 36794
2023-05-19
16:47
More refactoring into common code file: [c66e1a35ad] check-in: [617dcb269e] user: apnadkarni branch: bug-c9663296fd, size: 38215
2023-05-15
23:08
Refactor couple more reallocations file: [4f05e83933] check-in: [3b376ff197] user: apnadkarni branch: bug-c9663296fd, size: 36503
2023-05-11
21:18
More tweaks, finetuning file: [edcb781abc] check-in: [683f629ce8] user: jan.nijtmans branch: tip-668, size: 27038
16:35
TIP #668 implementation: Consolidate all Tcl_Attempt* functions. file: [0adc203ec8] check-in: [fa605de79a] user: jan.nijtmans branch: tip-668, size: 26331
2023-04-21
13:32
Merge 9.0 file: [880bdd4897] check-in: [b732c118b6] user: jan.nijtmans branch: tip-626, size: 32478
2023-04-20
16:53
Merge 9.0 file: [2742b573f1] check-in: [aa3e7e529f] user: jan.nijtmans branch: tip-626, size: 32490
2023-04-12
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: [0c43f3bf98] check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 33116
2023-04-04
20:50
more progress file: [ff53564120] check-in: [4e36871191] user: jan.nijtmans branch: optional-signed-size, size: 32590
2023-04-01
10:27
Merge 9.0 file: [f395c625ad] check-in: [4dbed74737] user: jan.nijtmans branch: tip-660, size: 32466
2023-03-30
22:24
Merge 9.0 file: [a91df61d26] check-in: [6396c6443a] user: jan.nijtmans branch: tip-626, size: 32486
22:22
Merge 8.7 file: [5acfade9ff] check-in: [7c9d2dc7a3] user: jan.nijtmans branch: main, size: 32478
22:02
Merge 8.6 file: [f5cc807360] check-in: [166e8656a7] user: jan.nijtmans branch: core-8-branch, size: 32452
15:19
Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it on other platforms either. file: [f1c102878f] check-in: [ec56f33813] user: jan.nijtmans branch: bug-0cb3554903, size: 33115
2023-03-05
00:43
Merge 9.0 file: [174683379e] check-in: [38f5d517dd] user: jan.nijtmans branch: tip-626, size: 32472
00:26
More -1 -> TCL_INDEX_NONE file: [88629ee0d8] check-in: [7a2fc29ce0] user: jan.nijtmans branch: main, size: 32464
2022-09-21
18:46
various break-fix measures file: [e0df91ba5d] check-in: [eb68153185] user: bch branch: bch_sign_and_width, size: 32459
2022-05-30
12:43
Merge tip-616. More progress file: [45ed9827c7] check-in: [064bba1c17] user: jan.nijtmans branch: tip-626, size: 32460
2022-05-29
21:05
Merge 8.7 file: [8ab6e530d1] check-in: [5feeeccef5] user: jan.nijtmans branch: main, size: 32452
21:02
Function prototypes are not always needed/useful file: [0297e265d3] check-in: [7634fee197] user: jan.nijtmans branch: core-8-branch, size: 32438
2022-05-28
20:25
Fix Windows build file: [fb198bd912] check-in: [a5522b56d8] user: jan.nijtmans branch: tip-626, size: 32970
2022-05-25
09:25
Another try file: [15475baa2e] check-in: [d426eec605] user: jan.nijtmans branch: tip-626, size: 32955
2022-04-04
14:32
In tclCkalloc.c, count malloc/free's using size_t in stead of unsigned int. file: [45c62fe172] check-in: [f5b2c384a5] user: jan.nijtmans branch: core-8-branch, size: 32939
14:09
In tclCkalloc.c, count malloc/free's using size_t in stead of unsigned int. file: [8cb06a9c39] check-in: [9c41cca07e] user: jan.nijtmans branch: main, size: 32953
2022-03-28
11:48
Merge 8.7 file: [f3a9897467] check-in: [f0c5b7eabd] user: jan.nijtmans branch: main, size: 32830
11:39
More usage of TCLFLEXARRAY. Make current_malloc_packets/maximum_malloc_packets type size_t file: [f4c68cea75] check-in: [53ab5e4b9f] user: jan.nijtmans branch: core-8-branch, size: 32775
2022-01-14
10:29
Merge 8.7. Fix (windows MSVC OPTS=symbols) build error file: [84a47537d2] check-in: [a80b314df5] user: jan.nijtmans branch: main, size: 32670
10:10
Merge 8.6 file: [5719fe8839] check-in: [9b26217141] user: jan.nijtmans branch: core-8-branch, size: 32667
2022-01-13
12:22
Fix [816913a65e]: GrowStringBuffer(): signed integer overflow. And a few similar situations in other place file: [7b641ad069] check-in: [a03e9793d4] user: jan.nijtmans branch: bug-816913a65e, size: 33101
2022-01-12
21:13
Merge 8.7 file: [d5239d45e8] check-in: [276c1ccf0b] user: jan.nijtmans branch: main, size: 32669
21:09
Merge 8.6 file: [0a33dd2271] check-in: [ac0dbddfa3] user: jan.nijtmans branch: core-8-branch, size: 32666
16:33
Fix [da6f155ca4]: STRING_SIZE() macro: parenthesize numChars usage. Fix more macro's like this. file: [875270557e] check-in: [2bb7cd72c8] user: jan.nijtmans branch: core-8-6-branch, size: 33100
2021-10-08
08:40
Merge 8.7 file: [ad815a63ca] check-in: [916029c89c] user: jan.nijtmans branch: main, size: 32687
2021-10-06
14:08
Merge 8.7 file: [3c07f4cf97] check-in: [2cc4478435] user: jan.nijtmans branch: main, size: 32699
2021-10-04
21:09
Rewrite comments for clarity and conciseness. file: [de91b48949] check-in: [7bee7de7b3] user: pooryorick branch: core-8-branch, size: 32696
2021-01-20
16:19
Make tclCkalloc.c and tclExecute warning-free on Windows when compiled with --enable-memory=(mem|all). file: [d2db7bbc62] check-in: [9f6b78d50f] user: jan.nijtmans branch: core-8-6-branch, size: 33098
2020-12-08
15:42
Merge 8.7 file: [0ad822ebde] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 32698
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: [a0d019dc1c] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 32695
2020-10-09
13:21
Merge 8.7 file: [2c4c050180] check-in: [b9ffb77c85] user: jan.nijtmans branch: trunk, size: 32704
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: [f8bba4d653] check-in: [d1e4a3c73f] user: jan.nijtmans branch: core-8-branch, size: 32701
12:11
Eliminate warnings when compiling with -Wundef file: [e0227b0173] check-in: [3f3d9ac9e7] user: jan.nijtmans branch: core-8-6-branch, size: 33061
2020-09-14
12:31
Eliminate many "register" keywords (which do nothing with modern compilers) Eliminate many unnecessary type-casts to (unsigned) file: [693dca2c41] check-in: [62884c2f30] user: jan.nijtmans branch: core-8-6-branch, size: 33036
2020-08-11
05:39
Eliminate many unnecessary type-casts, mostly (size_t) when value is already size_t or int file: [ee8934c935] check-in: [013b828787] user: jan.nijtmans branch: core-8-6-branch, size: 33056
2020-04-24
12:26
Fix GCC warning in MemDebug mode: format not a string literal and no format arguments [-Wformat-security] file: [f68332769f] check-in: [e536b304da] user: jan.nijtmans branch: core-8-5-branch, size: 32650
2020-04-06
13:24
Fix build with --enable-symbols=mem file: [adb13fcc79] check-in: [5a2907205b] user: jan.nijtmans branch: trunk, size: 32679
2020-03-31
20:29
Merge 8.7 file: [054727231e] check-in: [2807f77d52] user: jan.nijtmans branch: trunk, size: 31807
20:28
Fix a few warning-message in --enable-symbols-mem mode file: [5da3dceab8] check-in: [211e192cb0] user: jan.nijtmans branch: core-8-branch, size: 32676
2020-03-18
14:06
Merge 8.7 file: [4a1fcff981] check-in: [1d0787097e] user: jan.nijtmans branch: trunk, size: 31806
13:54
Merge 8.6 file: [9d373b527f] check-in: [2b7c852b44] user: jan.nijtmans branch: core-8-branch, size: 32675
12:51
More uppercase HEX representations in source-code. file: [001f0f68fb] check-in: [7d760e228e] user: jan.nijtmans branch: core-8-6-branch, size: 33083
2020-03-17
01:20
merge 8.7 file: [f68fbc8a32] check-in: [4d9717c8ef] user: dgp branch: trunk, size: 31806
01:01
TIP 569 - remove lint comments file: [8b9232c78c] check-in: [658a498ae4] user: dgp branch: core-8-branch, size: 32675
2020-03-07
16:03
Merge 8.7 file: [05a634d96b] check-in: [0b1067b090] user: jan.nijtmans branch: trunk, size: 31838
15:55
Change (interal) function signature of TclpAlloc/TclpRealloc/TclpFree, using (void *) in stead of (char *) file: [fef9b63e28] check-in: [b56451f9c1] user: jan.nijtmans branch: core-8-branch, size: 32707
2020-03-06
21:33
merge 8.7 file: [b5175347c5] check-in: [89fde09430] user: dgp branch: trunk, size: 31842
14:41
More TCL_UNUSED deployment. file: [8281a38aad] check-in: [1ce334a358] user: dgp branch: core-8-branch, size: 32679
2020-02-28
12:46
Merge 8.7 file: [454feea9d8] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 32087
2019-09-17
07:12
Merge 8.7 file: [3ca2f58f9f] check-in: [70701646d4] user: jan.nijtmans branch: trunk, size: 32087
07:02
Move testgetencpath/testsetencpath test commands from UNIX-specific to general. Rewrite a few other commands (like "memory") to use the Tcl_Obj interface. file: [07aec3232d] check-in: [bc17bfbdde] user: jan.nijtmans branch: core-8-branch, size: 32960
2019-09-14
12:37
Merge 8.7 file: [e80304af30] check-in: [012848732e] user: jan.nijtmans branch: trunk, size: 32152
2019-09-05
21:30
Merge 8.7 file: [bb4604adaa] check-in: [10067e5dc6] user: jan.nijtmans branch: initsubsystems, size: 33025
2019-08-28
11:45
Merge 8.7 file: [35c1ce0fa2] check-in: [590a4ca494] user: jan.nijtmans branch: trunk, size: 32151
11:15
Merge 8.6 file: [e7d029029a] check-in: [8f92213e5f] user: jan.nijtmans branch: core-8-branch, size: 33024
09:59
Add /* FALLTHRU */ markers in various places (silencing possible GCC warnings). Eliminate some more "register" keywords. Eliminate (or silence) some unused function parameters. file: [22bca69f39] check-in: [7c9c59b504] user: jan.nijtmans branch: core-8-6-branch, size: 33083
2019-08-14
15:13
Merge 8.7 file: [7969a9aeb1] check-in: [e2428c2b13] user: jan.nijtmans branch: initsubsystems, size: 32820
2019-06-12
15:42
Merge 8.7 file: [7b539fcdda] check-in: [c5ff3f41bd] user: jan.nijtmans branch: trunk, size: 31946
15:26
Eliminate (internal) TclOffset() usage, just use offsetof() in stead. file: [cf343808a7] check-in: [f0c76dd6a8] user: jan.nijtmans branch: core-8-branch, size: 32819
2019-05-10
16:35
Merge 8.7 file: [50c5daf2b7] check-in: [ed6a549a7a] user: jan.nijtmans branch: initsubsystems, size: 32821
2019-02-26
19:37
More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) and (unsigned) type-casts, which don't make sense any more. file: [5aaa00cf04] check-in: [2c7db3fa01] user: jan.nijtmans branch: mistake, size: 32820
2019-02-04
22:45
Merge trunk file: [f8f450780e] check-in: [a6db8815ce] user: jan.nijtmans branch: tip-502-for-9, size: 31947
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: [fb0a10ece3] check-in: [c92a5c4373] user: jan.nijtmans branch: trunk, size: 32017
2018-12-08
17:16
Merge 8.7 Bring back Tcl_InitSubsystems to what Tcl_InitSubsystems was: without additional parameters or additional functionality file: [8caf7a9127] check-in: [ceb5ca35ee] user: jan.nijtmans branch: initsubsystems, size: 32859
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: [1e38c43d1a] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 32037
2018-06-28
20:30
More using TCL_Z_MODIFIER where possible file: [2868ec5381] check-in: [3cdf0d20c9] user: jan.nijtmans branch: memory-API, size: 32019
2018-06-16
12:32
Change signature of Tcl_GetRange() to use size_t. Merge trunk. file: [353b15b951] check-in: [8e3bd50a3b] user: jan.nijtmans branch: memory-API, size: 32083
2018-05-23
20:09
merge trunk file: [4860fa254b] check-in: [1a6fcb9bdc] user: jan.nijtmans branch: memory-API, size: 32091
2018-05-22
20:57
merge 8.7 file: [d5ba4912d4] check-in: [b0fbde34ff] user: jan.nijtmans branch: trunk, size: 32851
20:53
Simplify usage of TCL_THREAD, along the lines of [eeddb0693a]. Suggested by DKF file: [73fa1f468c] check-in: [bf06e36b25] user: jan.nijtmans branch: core-8-branch, size: 32858
2018-05-17
19:05
Merge 8.7, but keep TCL_THREADS undefined in tcl.h (since that's no longer necessary) file: [85a1d22c71] check-in: [f2c996cdb8] user: jan.nijtmans branch: trunk, size: 32875
18:53
TIP #491 implementation: Threading Support: phasing out non-threaded builds file: [4ae494f192] check-in: [e9ee6fc387] user: jan.nijtmans branch: core-8-branch, size: 32882
2018-02-22
21:17
merge trunk file: [abd39c4efc] check-in: [709a045dbb] user: jan.nijtmans branch: memory-API, size: 32094
2018-02-14
20:43
merge core-8-branch file: [4e9b0602f4] check-in: [5cfe15b5d6] user: jan.nijtmans branch: trunk, size: 32854
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: [5d462d88c7] check-in: [671df0982f] user: jan.nijtmans branch: memory-API, size: 32208
2017-12-19
15:46
merge core-8-branch file: [918e00ccbe] check-in: [6cdd6bd319] user: jan.nijtmans branch: z_modifier, size: 32861
2017-11-16
11:17
re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming. file: [6ab436817e] check-in: [3cb46ea71b] user: jan.nijtmans branch: memory-API, size: 33029
2017-05-04
11:35
merge novem file: [fe0b7c656e] check-in: [70b0b53b8a] user: jan.nijtmans branch: novem-more-memory-API, size: 33022
2017-04-12
14:33
merge trunk file: [8b28f626f6] check-in: [50c38d55a8] user: jan.nijtmans branch: novem, size: 32968
13:43
If %llu is considered invalid, it means that "%" TCL_LL_MODIFIER "u" cannot be used Tcl_ObjPrintf(), but only in sprintf(). That's unfortunate, clearly an oversight in TIP #237. Conclusion: new TIP must be written to correct this.

I'll read a TIP and see what case you have, but TCL_LL_MODIFIER was never meant to play any role in [format] or in Tcl_ObjPrintf(). TCL_LL_MODIFIER exists to help deal with platform differences in sprintf() calls.

Tcl_ObjPrintf() in contrast ought to be consistent in its behavior across platforms and should not need such things. If that's false, then fixes to Tcl_ObjPrintf() are in order. file: [c6c29a3de6] check-in: [7f1a6f68a7] user: jan.nijtmans branch: trunk, size: 32975

2017-03-31
09:54
Merge trunk file: [709a5b7146] check-in: [1293cdb483] user: jan.nijtmans branch: z_modifier, size: 32861
09:20
merge trunk file: [94cf5d2e50] check-in: [e6fca3a230] user: jan.nijtmans branch: novem, size: 32968
09:19
Extend Tcl_DumpActiveMemory() and related functions for handling 64-bit memory. Only effective with TCL_MEM_DEBUG. Merge-mark core-8-6-branch (this doesn't bring in any changes) file: [d093f2efd6] check-in: [d3f3eeca93] user: jan.nijtmans branch: trunk, size: 32975
2017-03-28
07:14
(experimental) new internal macro TCL_Z_MODIFIER, just like TCL_LL_MODIFIER but then for size_t. file: [22a36c85f9] check-in: [9dd6c3c9da] user: jan.nijtmans branch: z_modifier, size: 32802
2016-12-19
10:42
merge novem file: [d47a4a5890] check-in: [10c36e48f6] user: jan.nijtmans branch: novem-more-memory-API, size: 32920
2016-11-29
13:03
Minor simplifications. Eliminate FUNCPRT from regexp engine. Fix compile-error (non-debug) in tclDictObj.c, from previous commit file: [8b86170886] check-in: [63240d8b9e] user: jan.nijtmans branch: trunk, size: 32873
12:26
merge trunk file: [6d33f80190] check-in: [0a73f68e8e] user: jan.nijtmans branch: novem, size: 32866
11:10
more internal use of size_t (in stead of int) file: [ab7d723a65] check-in: [ad1e711238] user: jan.nijtmans branch: trunk, size: 32877
2014-06-23
08:41
cleaning up option processing throughout Tcl to use common functions/language file: [2b8a35635d] check-in: [7e93a07895] user: dkf branch: bug-d5ddbc7f49, size: 32460
2013-09-26
13:13
merge novem

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

2013-09-10
18:46
[547989] Proposed implementation of the change described in the comments of the bug report. file: [b392de6076] check-in: [942397a2a7] user: dkf branch: bug-547989, size: 32878
2013-02-11
13:50
merge trunk file: [53d4347652] check-in: [76befed959] user: mig branch: mig-alloc-reform, size: 32820
2013-01-26
16:11
macros for Tcl_GetString and Tcl_GetStringFromObj file: [d05a7eb8ec] check-in: [7845d6854d] user: jan.nijtmans branch: novem-more-memory-API, size: 32925
2013-01-25
23:38
merge novem file: [e06004dd5d] check-in: [6d83b97710] user: jan.nijtmans branch: novem-more-memory-API, size: 32793
09:12
Merge trunk Rename TclInitStubs back to Tcl_InitStubs, for easier compatibility with Tcl 8. file: [2a27404f4f] check-in: [f2fa121e89] user: jan.nijtmans branch: novem, size: 32871
2013-01-24
20:46
Silence some compiler warnings. file: [d25497d984] check-in: [cd00ede986] user: dgp branch: trunk, size: 32878
19:09
Silence come compiler warnings. file: [8e14ee2dcf] check-in: [846d6d7575] user: dgp branch: core-8-5-branch, size: 32644
18:47
Silence some compiler warnings. file: [9bde20bd66] check-in: [f169839228] user: dgp branch: core-8-4-branch, size: 33483
2013-01-06
16:34
merge novem file: [6ae16f7a60] check-in: [fef6277219] user: mig branch: mig-strip-brutal, size: 32730
2013-01-02
11:58
merge trunk. tclStubLib.c: protect loading incompatible Tcl9 extensions in Tcl8 file: [aeb842d874] check-in: [4919da4fc4] user: jan.nijtmans branch: novem-more-memory-API, size: 32710
2012-12-12
21:21
More memory API changes, mainly char* -> void* and unsigned -> size_t file: [16896f5083] check-in: [19fb92fb72] user: jan.nijtmans branch: novem-more-memory-API, size: 32717
05:01
Rename the memory routines so that Tcl_Alloc/Tcl_Free/etc become the recommended things for extensions and embedders to call, instead of ckalloc/ckfree/etc. Tcl_Alloc, etc. are macros that can be configured for memory debuggin, as ckalloc, etc. have been and continue to be. file: [b7c40a1261] check-in: [af97429aed] user: dgp branch: novem-rename-memory-API, size: 32801
2012-11-26
15:31
merge trunk file: [9cbc10befb] check-in: [cdc837ae05] user: mig branch: mig-alloc-reform, size: 32737
2012-11-21
10:18
more conversion of code, still not running test suite at all file: [b5e695a3ee] check-in: [e648a1571f] user: dkf branch: novem-64bit-sizes, size: 32639
2012-11-18
07:39
Better programming practice, no literal '-1' in source code. Might even be useful for 64bit-sizes branch

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

file: [5d32724078] check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 32803
2012-11-15
20:56
first few files converted file: [5c7ba002a3] check-in: [072b223051] user: dkf branch: novem-64bit-sizes, size: 32664
2012-08-20
06:49
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler. file: [ad38fc211b] check-in: [db442914c7] user: jan.nijtmans branch: jn-no-struct-names, size: 32788
2012-08-07
20:57
Minor changes to improve style (C89 declarations, consistent indentation, clarification of #endifs, reduction of unnecessary casts, use of array syntax for reading array elements, etc.) file: [c0e419347e] check-in: [3995dbcf90] user: dkf branch: trunk, size: 32795
2012-08-03
14:24
more result generation conversion file: [e72a9af702] check-in: [b3ccaec093] user: dkf branch: trunk, size: 32765
2012-05-03
12:31
Move cpuid testcase from win-specific to generic tests file: [0f70ca01ef] check-in: [05e03611b4] user: jan.nijtmans branch: core-8-5-branch, size: 32561
11:42
Move cpuid testcase from win-specific to generic tests Simplify stub tables for functions which work on both UNIX and windows file: [8a77c232b1] check-in: [d10b6a8431] user: jan.nijtmans branch: core-8-4-branch, size: 33400
2011-08-02
11:18
merge trunk; FIXME: symbols=mem build broken file: [e1dc29b02f] check-in: [384901c292] user: mig branch: mig-alloc-reform, size: 32360
2011-07-12
15:51
merge to trunk file: [80833b998c] check-in: [ad32aec14b] user: dgp branch: trunk, size: 32418
15:19
Silence type match warnings in debug print. file: [789a7d3bd3] check-in: [c98cb23f45] user: dgp branch: core-8-5-branch, size: 32590
2011-03-21
14:42
remove one level of allocator indirection in non-memdebug builds, imported from mig-alloc-reform. file: [79878619d2] check-in: [d74d7bb013] user: mig branch: trunk, size: 32358
13:41
remove one level of indirection in non-mem-debug builds file: [db7090ee7c] check-in: [0e843f63e5] user: mig branch: mig-alloc-reform, size: 32300
2011-03-18
12:54
development branch for allocator changes file: [a01a679a07] check-in: [80a014ef05] user: mig branch: mig-alloc-reform, size: 32300
2011-03-16
15:55
[Bug #3197864] pointer truncation on Win64 TCL_MEM_DEBUG builds file: [a6574154a9] check-in: [40cc64ec16] user: jan.nijtmans branch: trunk, size: 32358
15:53
[Bug #3197864] pointer truncation on Win64 TCL_MEM_DEBUG builds file: [fc1c86f496] check-in: [8f397fe9f2] user: jan.nijtmans branch: core-8-5-branch, size: 32560
15:51
[Bug #3197864] pointer truncation on Win64 TCL_MEM_DEBUG builds file: [960363c371] check-in: [b9ab93d4aa] user: jan.nijtmans branch: core-8-4-branch, size: 33429
2011-03-15
09:44
retire TclInterpAlloc/Free/Realloc file: [3e57901c0e] check-in: [15d781d135] user: mig branch: mig-alloc-reform, size: 32019
08:44
retire USE_TCLALLOC file: [60db07c40b] check-in: [9345713da6] user: mig branch: mig-alloc-reform, size: 33192
01:04
let zippy use fast __thread TSD; enable with -DHAVE_FAST_TSD, the corresponding autoconferry is missing file: [8e176e6c24] check-in: [b598f4b149] user: mig branch: mig-alloc-reform, size: 33250
2011-03-13
05:50
fix for other allocators file: [455149dc9a] check-in: [8778c03c38] user: mig branch: mig-alloc-reform, size: 33209
05:46
redefine TclInterpAlloc/Free to use zippy Tcl_Alloc infrastructure; will be very fast on zippy, not so much with other allocators file: [753d6ad0e4] check-in: [5314e617b9] user: mig branch: mig-alloc-reform, size: 33006
01:37
replace TclpAlloc with Tcl_AttemptAlloc, TclpRealloc with Tcl_AttemptRealloc, TclpFree with Tcl_Free file: [db78ab1a09] check-in: [c6418d0771] user: mig branch: mig-alloc-reform, size: 32077
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: [fa564f9a25] check-in: [c64f310d38] user: dgp branch: trunk, size: 32386
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: [d7408a30d1] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 32588
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: [c0a4bcfc42] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 33457
2011-01-25
15:57
[Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2, backported strcpy->memcpy change but not change in any struct. file: [61029cb923] check-in: [b9cc8fd4f1] user: nijtmans branch: core-8-4-branch, size: 33537
15:55
[Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2, backported strcpy->memcpy change but not change in any struct. file: [fa24697793] check-in: [d69078d96b] user: nijtmans branch: core-8-5-branch, size: 32668
2011-01-12
15:23
This commit is both no-NRE v2, implemented by subtracting the NRE pieces (*), and update to CVS trunk head of Wednesday Jan 5. (*) no-NRE v1 in the other branch was created in an additive manner from the point where 8.5 was branched from the trunk, by adding all the patches but those for NRE. file: [1f69039097] check-in: [2d93b1436c] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 32457
2010-12-30
14:42
merge file: [5e097d595a] check-in: [45d5c91eaf] user: dgp branch: dgp-refactor, size: 32462
2010-12-15
15:58
Continued comparison of no-nre against head, and updating the latest changes, and/or pieces forgotten in the roll-forward. file: [fb1afe4bb7] check-in: [26fcf437a2] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 32433
2010-12-11
18:39
merge file: [afbc0e3afd] check-in: [c291154f2c] user: kennykb branch: dogeen-assembler-branch, size: 32465
2010-12-10
21:59
[Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2 file: [aa5b937056] check-in: [e6ddd08613] user: nijtmans branch: trunk, size: 32462
2010-12-07
16:26
@1648, minus the things I mentioned in the previous commit. 32 testsuite failures left over, and 5 crashes. Now the cleanup phase... file: [43dbab05c2] check-in: [246c64263a] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 32599
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: [15060c58fc] check-in: [ecb2476c6c] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 32552
2010-12-06
15:03
merge file: [9e734836d5] check-in: [1d1c73e85a] user: dgp branch: dgp-refactor, size: 32425
12:33
@1300 file: [b8e167cff2] check-in: [3f09e6a910] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 32293
09:01
[Bug 3129448]: possible over-allocation on 64-bit platforms file: [425bb21dac] check-in: [ea6a3428d6] user: nijtmans branch: trunk, size: 32425
2010-12-01
16:42
merge file: [00c64847a1] check-in: [0af397c644] user: kennykb branch: dogeen-assembler-branch, size: 32407
15:27
merge file: [0a7d0ce70b] check-in: [066450d73b] user: dgp branch: dgp-refactor, size: 32404
15:06
@940 file: [a52b757192] check-in: [fbf7360824] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 32316
10:43
Allow Tcl_Panic() to enter the debugger on win32 file: [c18e9c314c] check-in: [042cb661f1] user: nijtmans branch: trunk, size: 32404
2010-11-30
14:58
@820 file: [170ce961fd] check-in: [c7d2796ef4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 32033
12:08
@728 file: [bf55e88e6b] check-in: [8e03c33dfd] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 31483
2010-11-23
15:23
Next @611, and jumping tclGetDate.yyacc grammar. file: [089e62459d] check-in: [b277d95385] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 31512
2010-11-09
21:05
merge file: [6879880d6f] check-in: [4750f42bbd] user: dgp branch: dgp-refactor, size: 32604
2010-11-08
09:02
Add missing 'objs' verb in error message. file: [e4bea3f688] check-in: [38fe3826bf] user: ferrieux branch: trunk, size: 32604
2010-10-04
13:04
merge file: [60fade5eda] check-in: [95b65ff363] user: dgp branch: dgp-refactor, size: 32557
2010-10-02
01:38
merge file: [fb69041539] check-in: [e07a7270af] user: kennykb branch: dogeen-assembler-branch, size: 32560
00:29
* generic/tclExecute.c (EvalStatsCmd): change 'evalstats' to return data to interp by default, or if given an arg, use that as filename to output to (accepts 'stdout' and 'stderr'). Fix output to print used inst count data. * generic/tclCkalloc.c: change TclDumpMemoryInfo sig to allow * generic/tclInt.decls: objPtr as well as FILE* as output. * generic/tclIntDecls.h:
file: [295eee4b03] check-in: [5726fcf08b] user: hobbs branch: core-8-5-branch, size: 32628
00:23
* generic/tclExecute.c (EvalStatsCmd): change 'evalstats' to return data to interp by default, or if given an arg, use that as filename to output to (accepts 'stdout' and 'stderr'). Fix output to print used inst count data. * generic/tclCkalloc.c: change TclDumpMemoryInfo sig to allow * generic/tclInt.decls: objPtr as well as FILE* as output. * generic/tclIntDecls.h:
file: [1891f48cdc] check-in: [4a9ba46064] user: hobbs branch: trunk, size: 32554
2010-02-26
01:21
merge updates from HEAD file: [39b01244a0] check-in: [ec93238882] user: dgp branch: dgp-refactor, size: 32298
2010-02-25
22:20
[ tcl-Feature Requests-2958832 ] Further speed-up of ouster-hash function. Eliminate various unnecessary (ClientData) type casts. file: [d67ae01c9b] check-in: [b28fef8499] user: nijtmans branch: trunk, size: 32298
2009-10-18
11:21
Fix for [Bug 988703, 1565466] file: [f5ce42469d] check-in: [3a43f003a8] user: mistachkin branch: core-8-5-branch, size: 32375
2009-09-29
05:05
merge updates from HEAD file: [f1185c1474] check-in: [eddf7d1795] user: dgp branch: dgp-refactor, size: 32321
05:03
* generic/tclAlloc.c: Cleaned up various routines in the * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclInt.h: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796].
file: [3d8e4cf14b] check-in: [f10095b9f9] user: dgp branch: trunk, size: 32316
04:43
* generic/tclAlloc.c: Cleaned up various routines in the * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclInt.h: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796].
file: [e274519196] check-in: [e6b0f11e96] user: dgp branch: core-8-5-branch, size: 31818
2009-09-28
21:20
* generic/tclAlloc.c: Cleaned up various routines in the * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclParse.c: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796].
file: [2afadd1082] check-in: [b61f883a53] user: dgp branch: core-8-4-branch, size: 33528
2009-06-24
12:47
merge updates from HEAD file: [e28cc99d44] check-in: [818def88d3] user: dgp branch: dgp-refactor, size: 32038
2009-06-18
09:41
Apply patch from [Bug 988703]. Many thanks to Joe Mistachkin for development. file: [f17c82c7b4] check-in: [ab1f2ddc32] user: dkf branch: trunk, size: 32033
2009-03-03
05:59
merge updates from HEAD file: [7b9e12a0f8] check-in: [6f929495b8] user: dgp branch: dgp-refactor, size: 31488
2009-02-27
23:03
[Bug 218977] Tcl_DbCkfree needs a return value don't use CONST84/CONST86 in internal header files file: [a4583a5788] check-in: [23ff81a854] user: nijtmans branch: trunk, size: 31488
2009-01-09
14:17
merge updates from HEAD file: [17dcb04b68] check-in: [02f7c5c705] user: dgp branch: dgp-refactor, size: 31517
11:21
Style fixes (unfouling whitespace, sorting comments, removing useless casts, etc.) file: [4a6187d36b] check-in: [cd3c38f00a] user: dkf branch: trunk, size: 31512
2008-05-11
04:22
merge updates from HEAD file: [bd8f6f280f] check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 31536
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: [5360547a09] check-in: [2d205c22fb] user: dkf branch: trunk, size: 31531
2007-04-24
04:49
merge updates from HEAD file: [7f0eb726a2] check-in: [dd0311d30f] user: dgp branch: dgp-refactor, size: 31535
2007-04-23
20:33
* generic/tclCkalloc.c: fix warnings from gcc build configured with * generic/tclCompile.c: --enable-64bit --enable-symbols=all. * generic/tclExecute.c:
file: [65b2eb95b4] check-in: [d021f527a3] user: das branch: trunk, size: 31531
2007-04-20
17:13
merge updates from HEAD file: [ae0eb30370] check-in: [92b90f2910] user: dgp branch: dgp-refactor, size: 31522
05:51
Whitespace policing, replacing commas in varargs with constant string catenation, and fixed an oversight in the fix for NZA time zones. file: [ec132d4295] check-in: [d6ee490b6b] user: kennykb branch: trunk, size: 31522
2007-04-08
14:58
Merge updates from HEAD; may not build file: [bc73c3c7f6] check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 31523
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: [5c6a4744c6] check-in: [c06db721dd] user: dgp branch: trunk, size: 31519
2006-11-07
14:26
Minor updates (whitespace police, etc.) file: [b5f3f1d703] check-in: [e4a8fe7285] user: dkf branch: trunk, size: 31518
2006-11-02
15:58
* generic/tclBasic.c: Further revised TclAppendPrintToObj() and * generic/tclCkalloc.c: TclObjPrintf() routines to panic when unable * generic/tclCmdAH.c: to complete their formatting operations, rather * generic/tclCmdIL.c: than report an error message. This means an * generic/tclCmdMZ.c: interp argument for error message recording is * generic/tclDictObj.c: no longer needed, further simplifying the * generic/tclExecute.c: interface for callers. * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
file: [bee6d96ad1] check-in: [6ed730551a] user: dgp branch: trunk, size: 31590
2006-10-31
20:19
* generic/tclBasic.c: Refactored and renamed the routines * generic/tclCkalloc.c: TclObjPrintf, TclFormatObj, and * generic/tclCmdAH.c: TclFormatToErrorInfo to a new set of * generic/tclCmdIL.c: routines TclAppendPrintfToObj, * generic/tclCmdMZ.c: TclAppendFormatToObj, TclObjPrintf, and * generic/tclDictObj.c: TclObjFormat, with the intent of making * generic/tclExecute.c: the latter list, plus TclAppendLimitedToObj * generic/tclIORChan.c: and TclAppendObjToErrorInfo, public via * generic/tclIOUtil.c: a revised TIP 270. * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
file: [3132077385] check-in: [65113c21ec] user: dgp branch: trunk, size: 31595
2005-11-03
17:52
merge updates from HEAD file: [289af1eac9] check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 31647
2005-11-01
15:30
ANSIfy. Also converted some deeply nested code to a less nested form for easier reading. file: [e94c4f6b10] check-in: [a3b0b6f1d9] user: dkf branch: trunk, size: 31643
2005-09-15
20:58
merge updates from HEAD file: [780331a472] check-in: [29cc0feeb2] user: dgp branch: kennykb-numerics-branch, size: 32266
20:29
merge updates from HEAD file: [c23df135fd] check-in: [f3caf581fe] user: dgp branch: dgp-refactor, size: 32266
16:40
* generic/tclBasic.c: More callers of TclObjPrintf and * generic/tclCkalloc.c: TclFormatToErrorInfo. * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c
* unix/configure: autoconf-2.59
file: [7986de41ba] check-in: [cf51f10457] user: dgp branch: trunk, size: 32262
2005-09-14
21:32
* generic/tclStringObj.c: Bug fixes: ObjPrintfVA needed to support "*" fields and needed to interpret precision limits on %s conversions as a maximum number of bytes, not Tcl_UniChars, to take from the (char *) argument.
* generic/tclBasic.c: Updated several callers to use * generic/tclCkalloc.c: TclFormatToErrorInfo() and/or * generic/tclCmdAH.c: TclObjPrintf(). * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclProc.c:
file: [64ff2dcb21] check-in: [fbec962a12] user: dgp branch: trunk, size: 32214
2005-08-02
18:14
merge updates from HEAD file: [c691e63987] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 32243
2005-07-26
04:11
Merge updates from HEAD file: [44379f5e0f] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 32243
2005-07-19
22:45
Getting more systematic about style file: [046981fa50] check-in: [f9332bdd5d] user: dkf branch: trunk, size: 32239
2004-10-28
18:45
merge updates from HEAD file: [c98b362ff3] check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 33067
2004-10-06
13:05
Minor style guide issues (e.g. making sure all 'if' bodies have braces around them) file: [137b5e3e91] check-in: [08d1f2a4bd] user: dkf branch: trunk, size: 33063
2004-04-09
20:57
Merge updates from HEAD file: [daec815157] check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 33313
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: [b7dca30f83] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 33309
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: [a75eea7345] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 33334

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: [20c85f1d4d] check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 33335
2003-01-19
07:21
change %ud to %u as appropriate file: [151735e93f] check-in: [7045111181] user: hobbs branch: trunk, size: 33301
2002-08-20
20:25
merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk file: [4167f9198e] check-in: [354986d9c3] user: das branch: macosx-8-4-branch, size: 33311
18:33
* generic/tclCkalloc.c: CONSTified MemoryCmf and CheckmemCmd.
file: [4683e3dd0a] check-in: [a79277f712] user: dgp branch: trunk, size: 33306
2002-08-01
18:32
* generic/tclCkalloc.c (TclFinalizeMemorySubsystem): Don't lock the ckalloc mutex before invoking the Tcl_DumpActiveMemory function since it also locks the same mutex. This code is only executed when "memory onexit filename" has been executed and Tcl is compiled with -DTCL_MEM_DEBUG.
file: [71dcd6e449] check-in: [a36efcbf5f] user: mdejong branch: trunk, size: 33290
2002-07-11
13:53
ckalloc() et al take 'unsigned int' sizes, so print them with '%ud' not '%d' file: [fbe57ec80c] check-in: [83245408df] user: dkf branch: trunk, size: 33286
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [6996798630] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 33289
2002-01-25
20:40
* Updated interfaces of generic/tclEncoding, generic/tclFilename.c, generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath.
file: [be18777f62] check-in: [fceed15544] user: dgp branch: trunk, size: 33279
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: [4d3216ad95] check-in: [cf5397db43] user: dgp branch: trunk, size: 33273
2001-12-18
15:21
Minor stub-table fixes; see ChangeLog for details file: [7eaf82a6f8] check-in: [5b3388e24f] user: dkf branch: trunk, size: 32578
2001-09-27
15:09
Added CONST to file argument for AttemptDb* file: [0c8843c103] check-in: [bf59d90316] user: dkf branch: dkf-64bit-support-branch, size: 32531
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: [49b07287d7] check-in: [bda1abaf85] user: kennykb branch: trunk, size: 32519

2001-04-03
22:54
see backport log in ChangeLog for specific file backports from 8.4aCVS file: [4ddb684553] check-in: [6defc375da] user: hobbs branch: core-8-3-1-branch, size: 27577
2001-03-31
07:57
* generic/tclCkalloc.c (TclFinalizeMemorySubsystem): set curTagPtr to NULL to allow for reuse. * generic/tclEvent.c (Tcl_Finalize): moved the tsdPtr initialization inside the subsystemsInitialized check to prevent it potentially getting called twice during finalization. (wu) [Patch #403532, Bug #219391]
file: [bb9754622f] check-in: [243ce734c7] user: hobbs branch: trunk, size: 32406
2000-12-08
04:22
* generic/tcl.h (attemptckalloc): Fixed typo for #define of attemptckalloc (was defined to Tcl_AttempDbCkalloc, should have been Tcl_AttemptDbCkalloc). [Bug: 124384]
* generic/tclCkalloc.c: Added TCL_MEM_DEBUG versions of Tcl_AttemptDbCkrealloc and Tcl_AttemptDbCkalloc. [Bug: 124384].
file: [8fce40e3c2] check-in: [679e400b19] user: ericm branch: trunk, size: 32387
2000-09-14
18:42
* doc/Alloc.3: Added entries for Tcl_AttemptAlloc, Tcl_AttempRealloc.

* doc/StringObj.3: Added entry for Tcl_AttemptSetObjLength.

* generic/tclDecls.h: * generic/tclStubInit.c: Regen'ed stubs files from new tcl.decls.

* generic/tcl.decls: Added stubs for the Tcl_Attempt* memory allocators and for Tcl_AttemptSetObjLength.

* generic/tcl.h: Added #define's for attemptckalloc, attemptckrealloc, which map to the Tcl_Attempt* memory allocators.

* generic/tclCkalloc.c: Added non-panic'ing versions of Tcl_Alloc, Tcl_Realloc, etc.; these are called Tcl_AttemptAlloc, Tcl_AttemptRealloc, etc. These are used by Tcl_AttemptSetObjLength and the string obj append functions.

* generic/tclStringObj.c: Modified string growth algorithm to use doubling algorithm as long as possible, and only fall back when that fails. Added Tcl_AttemptSetObjLength, and modified AppendUnicodeToUnicodeRep, AppendUtfToUtfRep, and Tcl_AppendStringsToObjVA to support this. file: [a577939bff] check-in: [66347b65e4] user: ericm branch: trunk, size: 29164

2000-08-07
21:30
* generic/tclCkalloc.c: Fixed some function headers.
file: [c40d5c255b] check-in: [4b347fdc7d] user: hobbs branch: core-8-3-1-branch, size: 27558
2000-04-27
01:46
* doc/memory.n: Man page for Tcl "memory" command, which is created when TCL_MEM_DEBUG is defined at compile time.

* doc/TCL_MEM_DEBUG.3: Man page with overall information about TCL_MEM_DEBUG usage.

* doc/DumpActiveMemory.3: Man page for Tcl_DumpActiveMemory, Tcl_InitMemory, and Tcl_ValidateAllMemory [Bug: 1816, 1835].

* generic/tclCkalloc.c: Fixed some function headers.

* unix/mkLinks: Regen'd with new mkLinks.tcl.

* unix/mkLinks.tcl: Fixed indentation, made link setup more intelligent (only do one existance test per man page, instead of one per function). file: [402b16abbb] check-in: [9aabc80546] user: ericm branch: trunk, size: 27554

1999-11-19
23:32
* generic/tclCkalloc.c: fixed Tcl_DbCkfree to return a value on NULL input. [Bug: 3400]
* generic/tclStringObj.c: fixed support for passing in negative length to Tcl_SetUnicodeObj, et al handling routines. [Bug: 3380]
* tests/http.test: updated http package to 2.2 * doc/http.n: * library/http2.1/http.tcl: added register and unregister commands to http:: package (better support for tls/SSL), as well as -type argument to http::geturl. [RFE: 2617] * library/http2.1/http.tcl: Correctly fixed the -timeout problem mentioned in the 10-29 change. Also added error handling for failed writes on the socket during the protocol.
* generic/tclBasic.c: removed extra decr of numLevels in Tcl_EvalObjEx that could cause seg fault. ([email protected])
* generic/tclEvent.c: fixed possible lack of MutexUnlock in Tcl_DeleteExitHandler [Bug: 3545]
file: [37809084a9] check-in: [662493e960] user: hobbs branch: core-8-2-1-branch, size: 26583
06:34
* generic/tclProc.c: corrected error reporting for default case at the global level for uplevel command.
* generic/tclIOSock.c: changed int to size_t type for len in TclSockMinimumBuffers.
* generic/tclCkalloc.c: fixed Tcl_DbCkfree to return a value on NULL input. [Bug: 3400]
* generic/tclStringObj.c: fixed support for passing in negative length to Tcl_SetUnicodeObj, et al handling routines. [Bug: 3380]
* doc/scan.n: * tests/scan.test: * generic/tclScan.c: finished support for inline scan by supporting XPG identifiers.
* doc/http.n: * library/http2.1/http.tcl: added register and unregister commands to http:: package (better support for tls/SSL), as well as -type argument to http::geturl. [RFE: 2617]
* generic/tclBasic.c: removed extra decr of numLevels in Tcl_EvalObjEx that could cause seg fault. ([email protected])
* generic/tclEvent.c: fixed possible lack of MutexUnlock in Tcl_DeleteExitHandler [Bug: 3545]
file: [7bde8e8cac] check-in: [907f606957] user: hobbs branch: trunk, size: 26579
1999-09-22
04:12
1999-09-21 Jeff Hobbs <[email protected]>
* tests/env.test: * unix/Makefile.in: added support for AIX LIBPATH env var [Bug: 2793] removed second definition of INCLUDE_INSTALL_DIR (the one that referenced @includedir@) [Bug: 2805] * unix/dltest/Makefile.in: added -lc to LIBS [Bug: 2794]
* tests/timer.test: changed after delay in timer test 6.29 from 1 to 10. [Bug: 2796]
* tests/pkg.test: * generic/tclPkg.c: fixed package version check to disallow 1.2..3 [Bug: 2539]
* unix/Makefile.in: fixed gendate target - this never worked since RCS was intro'd. * generic/tclGetDate.y: updated to reflect previous changes to tclDate.c (leap year calc) and added CEST and UCT time zone recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954, 1245, 1249]
* generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719] and changed Tcl_Alloc, et al to not panic when a alloc request for zero came through and NULL was returned (valid on AIX, Tru64) [Bug: 2795, etc]
* generic/tclIOCmd.c: fixed potential core dump in conjunction with stacked channels with result obj manipulation in Tcl_ReadChars [Bug: 2623]
* tests/format.test: * generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605]
* tests/set-old.test: * generic/tclVar.c: Added fix in TclArraySet to check when trying to set in a non-existent namespace. [Bug: 2613]
* tests/linsert.test: * generic/tclCmdIL.c: fixed end-int interpretation of linsert to correctly calculate value for end, added test and docs [Bug: 2693]
* doc/switch.n: added proper use of comments to example. * generic/tclCmdMZ.c: changed switch to complain when an error occurs that seems to be due to a misplaced comment.
* generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions in regsub [Bug: 2723]
* generic/tclCmdMZ.c: changed [string equal] to return an Int type object (was a Boolean)
* generic/tclParseExpr.c: changed '"' to '\"' to make FreeBSD happy [Bug: 2625]
* generic/tclProc.c: moved static buf to better location and changed static msg that would overflow in ProcessProcResultCode [Bug: 2483] and added Tcl_DStringFree to Tcl_ProcObjCmd. Also reworked size of static buffers.
* tests/stringObj.test: added test 9.11 * generic/tclStringObj.c: changed Tcl_AppendObjToObj to properly handle the 1-byte dest and mixed src case where both had had Unicode string len checks made on them. [Bug: 2678]
* unix/aclocal.m4: * unix/tcl.m4: added -bnoentry to the AIX-* case [Bug: 1909] added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610]
* generic/tclPosixStr.c: fixed typo [Bug: 2592]
* win/README.binary: fixed version info and some typos [Bug: 2561]
* generic/tclIO.c: changed Tcl_GetChannelNames* to use style guide headers (pleases HP cc)
* tests/expr.test: * generic/tclCompile.c: add TCL_TOKEN_VARIABLE to the part types that cause differed compilation for exprs, to correct the expr double-evaluation problem for vars. Added test cases. Related to [Bug: 732]
file: [9f829ab9ae] check-in: [ab656050a9] user: hobbs branch: core-8-2-1-branch, size: 26649
1999-09-21
04:20
1999-09-16 Jeff Hobbs <[email protected]>
* tests/timer.test: changed after delay in timer test 6.29 from 1 to 10. [Bug: 2796]
* tests/pkg.test: * generic/tclPkg.c: fixed package version check to disallow 1.2..3 [Bug: 2539]
* unix/Makefile.in: fixed gendate target - this never worked since RCS was intro'd. * generic/tclGetDate.y: updated to reflect previous changes to tclDate.c (leap year calc) and added CEST and UCT time zone recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954, 1245, 1249]
* generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719] and changed Tcl_Alloc, et al to not panic when a alloc request for zero came through and NULL was returned (valid on AIX, Tru64) [Bug: 2795, etc]
* tests/clock.test: * doc/clock.n: * generic/tclClock.c: added -milliseconds switch to clock clicks to guarantee that the return value of clicks is in the millisecs granularity [Bug: 2682, 1332]

1999-09-15 Jeff Hobbs <[email protected]>

* generic/tclIOCmd.c: fixed potential core dump in conjunction with stacked channels with result obj manipulation in Tcl_ReadChars [Bug: 2623]
* tests/format.test: * generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605]
* doc/msgcat.n: fixed \\ bug in example [Bug: 2548]
* unix/tcl.m4: * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610]
* doc/array.n: * tests/var.test: * tests/set.test: * generic/tclVar.c: added an array unset operation, with docs and tests. Variation of [Bug: 1775]. Added fix in TclArraySet to check when trying to set in a non-existent namespace. [Bug: 2613]

1999-09-14 Jeff Hobbs <[email protected]>

* tests/linsert.test: * doc/linsert.n: * generic/tclCmdIL.c: fixed end-int interpretation of linsert to correctly calculate value for end, added test and docs [Bug: 2693]
* doc/regexp.n: * doc/regsub.n: * tests/regexp.test: * generic/tclCmdMZ.c: add -start switch to regexp and regsub with docs and tests
* doc/switch.n: added proper use of comments to example. * generic/tclCmdMZ.c: changed switch to complain when an error occurs that seems to be due to a misplaced comment.
* generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions in regsub [Bug: 2723]
* generic/tclCmdMZ.c: changed [string equal] to return an Int type object (was a Boolean)
file: [d163afcb6e] check-in: [eb68adcdfd] user: hobbs branch: trunk, size: 26578
1999-08-10
02:42
1 Added use of Tcl_GetAllocMutex to tclAlloc.c and tclCkalloc.c so they can be linked against alternate thread packages. 2 Added Tcl_GetChannelNames to tclIO.c 3 Added TclVarTraceExists hook so "info exists" triggers read traces exactly like it did in Tcl 7.6 4 Stubs table changes to reflect new internal and external APIs file: [4b213b3374] check-in: [0a115beef8] user: welch branch: trunk, size: 26131
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: [1a3a8c31e4] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 26161
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: [3771f641a5] check-in: [ddb86b8d93] user: stanton branch: core-8-1-branch-old, size: 26165
05:52
Merged stubs changes into mainline for 8.0 file: [e831dab275] check-in: [1969693351] user: stanton branch: trunk, size: 21856
1999-03-08
20:14
First pass at integrating stubs mechanism from 8.0. file: [3dafe9ad38] check-in: [eeba5fd9e9] user: stanton branch: dev-8-1-stubs-branch, size: 26169
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: [eabc17ad48] check-in: [f404370f5a] user: stanton branch: dev-stubs-branch, size: 21860

1998-12-01
05:01
* unix/tclUnixNotfy.c (Tcl_WaitForEvent): Fixed hang that occurs when trying to close a pipe that is currently being waited on by the notifier thread. [Bug: 607]

* unix/tclUnixFCmd.c (GetPermissionsAttribute): Increase size of returnString buffer to avoid overflow.

* generic/tclThreadTest.c (TclThreadSend): Fixed memory leak due to use of TCL_VOLATILE instead of TCL_DYNAMIC.

* generic/tclThread.c (TclRememberSyncObject): Fixed memory leak caused by failure to reuse condition variables.

* unix/tclUnixNotfy.c: (Tcl_AlertNotifier, Tcl_WaitForEvent, NotifierThreadProc, Tcl_InitNotifier): Fixed race condition caused by incorrect use of condition variables when sending messages between threads.. [Bug: 607]

* generic/tclTestObj.c (TeststringobjCmd): MAX_STRINGS was off by one so the strings array was too small.

* generic/tclCkalloc.c (Tcl_DbCkfree): Moved mutex lock so ValidateMemory is done inside the mutex to avoid a race condition when validate_memory is enabled. [Bug: 880] file: [6905279859] check-in: [27f98f73b7] user: stanton branch: core-8-1-branch-old, size: 26055

1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [c4325324d4] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 26055
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [dfb8efdb1e] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 26030
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [1271bf0d89] check-in: [196f92fd17] user: stanton branch: trunk, size: 21894
1998-03-26
14:45
Added: Initial revision file: [b3fd30270c] check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 21873