Tcl Source Code

All files named ”generic/tclAlloc.c”
Login

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

History for generic/tclAlloc.c

2026-06-20
14:47
Minor change: Fix up some wayward tabs file: ac1391bd15 check-in: [c207a9178f] user: dkf branch: main, size: 17836
2026-05-17
15:06
More indentation/spacing corrections; no behaviour changes file: 74ccb82dea check-in: [7c918d5f96] user: dkf branch: main, size: 17836
2026-05-09
10:43
merge trunk file: 4f77741b9c check-in: [38a70f1e88] user: dkf branch: c11-anon-members, size: 17519
2026-03-22
12:57
More whitespace fixes file: 5381de1e78 check-in: [c65a7aa504] user: dkf branch: main, size: 17832
2025-10-07
14:02
Tranche 2 of adoption of bool file: 2fd39258ea check-in: [7c0638716d] user: dkf branch: c11-bool, size: 17831
2025-10-06
18:03
Turn initialisation flags into bools file: 0347ca4cf9 check-in: [85f3db92e2] user: dkf branch: c11-bool, size: 17820
14:21
Simplify some of the code by using anonymous struct/union members file: 313d504bf7 check-in: [87d19e421a] user: dkf branch: c11-anon-members, size: 17499
2025-08-17
11:25
More bools and pieces file: 850d4cdb42 check-in: [28a7d957c7] user: dkf branch: c-std-update, size: 17453
2025-08-06
09:25
Start to use the real bool type. file: 74c1244f2a check-in: [3dc71d011c] user: dkf branch: c-std-update, size: 17780
2025-08-04
08:48
More moving of variable declarations file: 3dfd446b78 check-in: [48e5ad480b] user: dkf branch: c-std-update, size: 17772
2025-07-19
12:31
More moving of variable declarations file: 546c69ba3f check-in: [c149575323] user: dkf branch: c-std-update, size: 17817
2024-08-28
16:33
Merge [3a60363aa10ef993]: Clean up a lot of whitespace issues. file: 36fd9402d6 check-in: [627781a6db] user: pooryorick branch: unchained, size: 18190
2024-08-27
21:05
Merge [24dcf13ff251c8c4]: Whitespace. file: b5f1351acb check-in: [8b58dfc9a7] user: pooryorick branch: unchained, size: 18185
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: ce3d28ee9d check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 18178
2024-05-13
15:41
Clean up a lot of small whitespace issues This is the dullest commit ever. Sorry. file: 240e893576 check-in: [3a60363aa1] user: dkf branch: main, size: 17817
2024-05-10
13:45
Code style fixes Mostly whitespace fixing really file: 60c6582cb2 check-in: [24dcf13ff2] user: dkf branch: main, size: 17812
2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: d3d77b8d1e check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 17807
2024-04-18
15:06
Tidy up some indentation and other little code style issues file: a8066b9f9b check-in: [cb11914788] user: dkf branch: tidy-indentation, size: 17804
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: db26c2ee96 check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 17808
2023-10-13
13:50
Fix warning on MacOSX: "/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libtcl8.6.a(tclAlloc.o) has no symbols". Backported from 8.7 file: 9069a8e836 check-in: [9cc0a7ac08] user: jan.nijtmans branch: core-8-6-branch, size: 17764
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: d054666e56 check-in: [d65da06a77] user: pooryorick branch: main, size: 17805
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: f3befe526b check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 17846
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: a4b4ffbac5 check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 17724
2023-04-04
20:50
more progress file: 137bcb35c6 check-in: [4e36871191] user: jan.nijtmans branch: optional-signed-size, size: 17826
2021-04-03
13:53
Clean up the notifier code to not spread the hooks quite so widely file: 7c12216f35 check-in: [a263b27340] user: dkf branch: main, size: 17812
2021-03-21
13:07
Start of doing a clean up of the notifier code. This originated as trying to stop macOS builds from doing silly warnings during a static build, but I noticed that there were common patterns that belong in generic code instead of being repeated in each of the platform-specific pieces. file: 1c4d3dc407 check-in: [f48b613408] user: dkf branch: dkf/notifier-cleanup, size: 17853
2021-02-26
15:17
Merge 8.7 file: 3ed3a20045 check-in: [3fd3a98b5c] user: jan.nijtmans branch: main, size: 17767
14:52
Further internal variable upgrade from long -> size_t file: a510ba5218 check-in: [c08e73d3e7] user: jan.nijtmans branch: core-8-branch, size: 17808
2021-01-08
21:07
Merge 8.7 (resolve conflicts) file: 21c0e5005f check-in: [5295f674c1] user: dgp branch: main, size: 17715
2021-01-07
13:42
Merge 8.7. Don't bother BorlandC, LCC and WatcomC any more, since they (probably) cannot handle Windows 7 API anyway. file: f8db45f654 check-in: [7d0cf14313] user: jan.nijtmans branch: tip-592, size: 17756
2020-12-08
15:42
Merge 8.7 file: 40ecd40d1d check-in: [71493b571b] user: jan.nijtmans branch: main, size: 17740
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: 66390c5f09 check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 17781
2020-10-09
13:21
Merge 8.7 file: c4c85fbf95 check-in: [b9ffb77c85] user: jan.nijtmans branch: trunk, size: 17746
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: c59ca642c3 check-in: [d1e4a3c73f] user: jan.nijtmans branch: core-8-branch, size: 17787
12:11
Eliminate warnings when compiling with -Wundef file: 9a9124c6fa check-in: [3f3d9ac9e7] user: jan.nijtmans branch: core-8-6-branch, size: 17734
2020-09-14
12:31
Eliminate many "register" keywords (which do nothing with modern compilers) Eliminate many unnecessary type-casts to (unsigned) file: f62f6547e7 check-in: [62884c2f30] user: jan.nijtmans branch: core-8-6-branch, size: 17709
2020-08-11
05:39
Eliminate many unnecessary type-casts, mostly (size_t) when value is already size_t or int file: 84b498c7fb check-in: [013b828787] user: jan.nijtmans branch: core-8-6-branch, size: 17810
2020-05-06
13:31
Merge 8.7 file: 390ed1b432 check-in: [c990c1d146] user: jan.nijtmans branch: trunk, size: 17721
13:22
Merge 8.6 file: 7aa34ade87 check-in: [918cfd8094] user: jan.nijtmans branch: core-8-branch, size: 17762
13:14
Merge 8.5. More usage of UCHAR() macro. file: 028a945b20 check-in: [3f3c0fda44] user: jan.nijtmans branch: core-8-6-branch, size: 17819
2020-03-18
14:06
Merge 8.7 file: 33e45278de check-in: [1d0787097e] user: jan.nijtmans branch: trunk, size: 17730
13:54
Merge 8.6 file: 661bd73408 check-in: [2b7c852b44] user: jan.nijtmans branch: core-8-branch, size: 17771
12:51
More uppercase HEX representations in source-code. file: 2e318e994c check-in: [7d760e228e] user: jan.nijtmans branch: core-8-6-branch, size: 17828
2020-03-07
16:03
Merge 8.7 file: 44ffdd6b2f check-in: [0b1067b090] user: jan.nijtmans branch: trunk, size: 17730
15:55
Change (interal) function signature of TclpAlloc/TclpRealloc/TclpFree, using (void *) in stead of (char *) file: f5cb13ecff check-in: [b56451f9c1] user: jan.nijtmans branch: core-8-branch, size: 17771
2019-08-15
08:10
Merge 8.7 file: b2ef4101d8 check-in: [f33e2933b5] user: jan.nijtmans branch: trunk, size: 17730
2019-08-14
07:24
Merge 8.7 file: 4b5893b166 check-in: [c367ba59b1] user: jan.nijtmans branch: no-register, size: 17789
2019-08-04
19:35
Two places where "char *" is actually better than "void *", since that's the type the function returns file: a064096422 check-in: [59731fe02d] user: jan.nijtmans branch: core-8-branch, size: 17870
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: b5df8a4894 check-in: [f074bda87c] user: jan.nijtmans branch: no-register, size: 17789
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: 599d3c88f3 check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 17870
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: f56356fab4 check-in: [2c7db3fa01] user: jan.nijtmans branch: mistake, size: 17870
2019-02-05
21:35
More size_t-related consolidations. Now regexp can handle strings >2GB and more. Remove many type-casts which are not necessary any more. file: 3285183348 check-in: [4b4fe25e7d] user: jan.nijtmans branch: trunk, size: 17811
2019-02-04
22:45
Merge trunk file: 41f680245c check-in: [a6db8815ce] user: jan.nijtmans branch: tip-502-for-9, size: 17813
2018-10-21
21:32
Formatting, PTR2INT range improvements, and remove some macro's only used on Cygwin, which are no longer necessary file: 04dc21ef8c check-in: [5590cac709] user: jan.nijtmans branch: trunk, size: 17834
2018-10-19
16:09
Merge trunk file: f3a35603cb check-in: [745d651613] user: jan.nijtmans branch: novem, size: 17822
2018-05-23
20:09
merge trunk file: 04b193687c check-in: [1a6fcb9bdc] user: jan.nijtmans branch: memory-API, size: 17876
19:41
merge trunk file: 2fd62b469b check-in: [c78f328143] user: jan.nijtmans branch: novem, size: 17871
2018-05-22
20:53
Simplify usage of TCL_THREAD, along the lines of [eeddb0693a950be980a66de3811630a00c7bab54|eeddb0693a]. Suggested by DKF file: d18232d998 check-in: [bf06e36b25] user: jan.nijtmans branch: core-8-branch, size: 17891
2018-05-17
18:53
TIP #491 implementation: Threading Support: phasing out non-threaded builds file: d65290d677 check-in: [e9ee6fc387] user: jan.nijtmans branch: core-8-branch, size: 17967
2018-02-22
21:17
merge trunk file: 5ce613960c check-in: [709a045dbb] user: jan.nijtmans branch: memory-API, size: 17891
2018-02-14
21:02
merge trunk file: e82cac56a9 check-in: [399a998d7a] user: jan.nijtmans branch: novem, size: 17886
2017-12-28
22:49
Fix compilation using -DUSE_TCLALLOC=1 file: 0a5faac031 check-in: [1763cf819c] user: jan.nijtmans branch: memory-API, size: 17947
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: 0cbd8a4e61 check-in: [671df0982f] user: jan.nijtmans branch: memory-API, size: 17959
2017-12-19
15:46
merge core-8-branch file: 273d16361e check-in: [6cdd6bd319] user: jan.nijtmans branch: z_modifier, size: 17906
2017-11-16
11:17
re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming. file: 60c2894322 check-in: [3cb46ea71b] user: jan.nijtmans branch: memory-API, size: 17956
2017-03-28
07:14
(experimental) new internal macro TCL_Z_MODIFIER, just like TCL_LL_MODIFIER but then for size_t. file: 8ac4937b21 check-in: [9dd6c3c9da] user: jan.nijtmans branch: z_modifier, size: 17906
2016-12-23
15:49
merge trunk file: 9bf94cd363 check-in: [c56a03aae7] user: jan.nijtmans branch: novem, size: 17942
15:43
Update -DMSTATS functionality, for possible total memory sizes > 2Gb. One more place where use of size_t can increase range. file: 6f4b6231ce check-in: [31fbc1f55a] user: jan.nijtmans branch: trunk, size: 17962
2016-12-01
11:20
More internal use of size_t. Eliminate unused "isBin" argument from TclpSysAlloc() file: b95a53e178 check-in: [9d4cd6b1aa] user: jan.nijtmans branch: novem, size: 17798
2014-10-08
07:11
Fix [59a2e78e54d3361c33b8cd6eef55d384d8abecd7|59a2e78e54] : tclWinTime.c does not compile with MSVC14. Eliminate use of __MINGW32__ macro everywhere, as it is deprecated. file: c881a5a71d check-in: [c9c7d35c9d] user: jan.nijtmans branch: trunk, size: 17828
07:02
Fix [59a2e78e54d3361c33b8cd6eef55d384d8abecd7|59a2e78e54] : tclWinTime.c does not compile with MSVC14. Eliminate use of __MINGW32__ macro everywhare, as it is deprecated. file: 30fd01c63b check-in: [c69f003888] user: jan.nijtmans branch: core-8-5-branch, size: 17849
2013-09-10
18:46
[547989] Proposed implementation of the change described in the comments of the bug report. file: 7bb4657a96 check-in: [942397a2a7] user: dkf branch: bug-547989, size: 17829
2013-01-05
02:47
Renamed to generic/tclObjAlloc.c. move file, trying to get simpler diffs from trunk check-in: [7cdbea5f05] user: mig branch: mig-strip-brutal, size: 0
2013-01-04
16:56
getting out of the mem allocator biz file: 279ee99572 check-in: [f7a7c5653d] user: mig branch: mig-strip-brutal, size: 8961
2013-01-03
11:47
remove unused var file: 9ec5857b82 check-in: [57c67c7ee6] user: mig branch: mig-alloc-reform, size: 9152
11:24
now working, configuration still to do file: 40ff585127 check-in: [aac0c044ee] user: mig branch: mig-alloc-reform, size: 9176
04:14
*BROKEN* First steps towards choosing allocators at load time file: 6158f842b4 check-in: [86a7932955] user: mig branch: mig-alloc-reform, size: 9947
2013-01-02
14:49
remove the refcounts and NEW_PRESERVE from zippy: it only works for Tcl_Alloc'ed blocks, and is incompatible with the specs of Tcl_Preserve that allow preserving anything file: 2266d71f18 check-in: [1cb98eb1b9] user: mig branch: mig-alloc-reform, size: 31127
11:31
Deleted: merge mig-alloc-reform, get MEM_DEBUG working again check-in: [e8eb527a16] user: mig branch: mig-strip-brutal, size: 0
2012-11-21
10:18
more conversion of code, still not running test suite at all file: 7402f33b5b check-in: [e648a1571f] user: dkf branch: novem-64bit-sizes, size: 17819
2012-11-15
17:55
More complete purge of things only present for supporting long-dead Mac 9 systems. file: ab4484a332 check-in: [7506775d52] user: dgp branch: core-8-4-branch, size: 17586
2012-04-11
20:34
[Bug 3448512]: clock scan "1958-01-01" fails only in debug compilation file: a047f9d319 check-in: [8032e7f92e] user: jan.nijtmans branch: trunk, size: 17829
19:50
[Bug 3448512]: clock scan "1958-01-01" fails only in debug compilation file: c5afd7a786 check-in: [beba7a8c8c] user: jan.nijtmans branch: core-8-5-branch, size: 17850
19:19
[Bug 3448512]: clock scan "1958-01-01" fails only in debug compilation file: fd23b24250 check-in: [03c30e0b9e] user: jan.nijtmans branch: core-8-4-branch, size: 17606
2011-03-24
22:06
add finalization code; needed? file: ae06b2cfc5 check-in: [5a869d1e11] user: mig branch: mig-alloc-reform, size: 36655
20:23
slightly faster inUse computation file: c4ad33811e check-in: [0148c7fff1] user: mig branch: mig-alloc-reform, size: 36342
12:05
fix comments file: bee1db7511 check-in: [8f2bc5aa20] user: mig branch: mig-alloc-reform, size: 36237
00:47
bugfix in new Tcl_Preserve file: 053723bbde check-in: [997703b388] user: mig branch: mig-alloc-reform, size: 36280
2011-03-23
23:42
completely new Tcl_Preserve implementation under Zippy, should be *much* faster. Cost is loss of some mem usage stats for zippy. file: 78da6db09c check-in: [a39cc6c970] user: mig branch: mig-alloc-reform, size: 36282
11:59
fix multi->purify, some cleanup file: a902f6f154 check-in: [a8eaab2085] user: mig branch: mig-alloc-reform, size: 32368
2011-03-22
22:13
ifdefery now ok? testing all build options on core.tcl.tk file: c353045839 check-in: [7a8b1fc210] user: mig branch: mig-alloc-reform, size: 32341
22:01
parens file: 5add95b62a check-in: [8187ce216e] user: mig branch: mig-alloc-reform, size: 32385
21:51
slightly clearer ifdefery file: fe8ee962ac check-in: [ebf5f5e368] user: mig branch: mig-alloc-reform, size: 32383
21:18
fix ifdefery file: 7dd9e14a4d check-in: [4b0d1bdd14] user: mig branch: mig-alloc-reform, size: 32875
19:02
separate Tcl_Obj free lists from blocks, was having weird perf issues possibly due to different block sizes file: 1e0ba62fab check-in: [4492886364] user: mig branch: mig-alloc-reform, size: 32892
11:07
better checks for allocator variant file: 8147cc5d03 check-in: [571c0a6b39] user: mig branch: mig-alloc-reform, size: 33526
2011-03-21
16:37
simpler initialization file: 6c14af62e8 check-in: [aebc5a42cc] user: mig branch: mig-alloc-reform, size: 33649
11:42
small opts file: e89de74ea4 check-in: [ce2cb0ea68] user: mig branch: mig-alloc-reform, size: 33798
2011-03-19
19:44
early return on freeing a NULL pointer file: 479b7ef143 check-in: [a32bb0339b] user: mig branch: mig-alloc-reform, size: 33725
19:35
remove stray panic set for debugging file: c0d52efe6e check-in: [75dcf88f4e] user: mig branch: mig-alloc-reform, size: 33725
19:00
uninited var in last commit file: 59ce1c3e7d check-in: [e6905754d8] user: mig branch: mig-alloc-reform, size: 33751
17:56
look at all blocks in this thread before looking in the shared cache file: a38fe97a28 check-in: [724c29a7ae] user: mig branch: mig-alloc-reform, size: 33690
2011-03-18
19:18
let TclAllocMaximize maintain zippys stats file: 5a7e263810 check-in: [9cb2f836cb] user: mig branch: mig-alloc-reform, size: 33555
16:16
New function TclAllocMaximize(). Let tclListObj.c find out the real allocated size, thus reducing the number of reallocs. It's good to avoid the interplay between List and Alloc both doubling just-in-case. file: be7ab955bd check-in: [b8f22672b2] user: mig branch: mig-alloc-reform, size: 33417
12:54
development branch for allocator changes file: cb244c559f check-in: [80a014ef05] user: mig branch: mig-alloc-reform, size: 32455
2011-03-15
14:15
reorganisation towards (hopefuly) defining the allocator and/or purify at app start time; for now it's still at compile time, and tclNativeAlloc.c is still not complete file: 720e0721fa check-in: [d0f1659e90] user: mig branch: mig-alloc-reform, size: 552
08:44
retire USE_TCLALLOC file: 18eb0050ab check-in: [9345713da6] user: mig branch: mig-alloc-reform, size: 2249
2011-03-13
02:13
remove one level of indirection when using native malloc file: 810a3d617b check-in: [0be21a8979] user: mig branch: mig-alloc-reform, size: 18073
01:37
replace TclpAlloc with Tcl_AttemptAlloc, TclpRealloc with Tcl_AttemptRealloc, TclpFree with Tcl_Free file: 731fc0ec87 check-in: [c6418d0771] user: mig branch: mig-alloc-reform, size: 18005
2011-03-10
09:31
MINOR: Formatting fixes, mainly to comments, so code better fits the style in the Engineering Manual. file: 3c7ebfca7b check-in: [5cb634a1c1] user: dkf branch: trunk, size: 17921
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: bb48cd6c24 check-in: [c64f310d38] user: dgp branch: trunk, size: 17919
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: 16a1d1c6a4 check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 17942
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: b6efeb5303 check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 17698
2010-11-17
16:11
Next slice. file: e65992eefe check-in: [e83816154d] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 17991
2010-06-07
17:36
rebranch from HEAD file: 1217ca5cf9 check-in: [f3af08f468] user: rmax branch: rmax-ipv6-branch, size: 17993
2010-04-29
23:32
merge file: 2a5a5a8b42 check-in: [93ad5b0c95] user: dgp branch: dgp-refactor, size: 17993
2010-04-28
11:50
Remove unused @MAN2TCLFLAGS@ Move <limits.h> include from tclInt.h to tclWinPort.h, and eliminate unneeded <stdlib.h>, <stdio.h> and <string.h>, which are already in tclInt.h Move "tclInt.h" from regcustom.h up to regex.h. tclAlloc.c: Unneeded <stdio.h> include tclExecute.c: Fix gcc warning: comparison between signed and unsigned file: 626b42befe check-in: [a8f2c2ec69] user: nijtmans branch: trunk, size: 17993
2010-02-25
21:53
merge updates from HEAD file: 2757dadc3a check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 18012
2010-02-24
10:32
Pure whitespace changes, changing to follow Engineering Manual style. file: 4c7a43a99e check-in: [c81eddebbb] user: dkf branch: trunk, size: 18007
2009-09-29
05:05
merge updates from HEAD file: 587494dd70 check-in: [eddf7d1795] user: dgp branch: dgp-refactor, size: 18016
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: ece28d59ae check-in: [f10095b9f9] user: dgp branch: trunk, size: 18011
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: cb40898f9c check-in: [e6b0f11e96] user: dgp branch: core-8-5-branch, size: 18015
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: 153ff52b34 check-in: [b61f883a53] user: dgp branch: core-8-4-branch, size: 17771
2008-01-23
16:42
merge updates from HEAD file: 6b183eab09 check-in: [013cce9562] user: dgp branch: core-stabilizer-branch, size: 17935
2007-12-18
04:18
merge updates from HEAD file: 3d41b27daf check-in: [56cc5f4a94] user: dgp branch: dgp-refactor, size: 17936
2007-12-17
15:28
* generic/tclAlloc.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclThreadAlloc.c: Fix alignment for memory returned by TclStackAlloc; insure that all memory allocators align to 16-byte boundaries on 64 bit platforms [Bug 1851832, 1851524] file: d5c2dba8a8 check-in: [2c86995901] user: msofer branch: trunk, size: 17934
2007-12-13
15:22
merge stable branch onto HEAD file: ce3a67e386 check-in: [d1f7550cd9] user: dgp branch: trunk, size: 18038
2007-09-22
15:46
s/amount/amt/ [Bug 1800153] file: da17a5beef check-in: [a31f109272] user: das branch: core-8-4-branch, size: 17692
2007-07-01
18:29
merge updates from HEAD file: ddc5354905 check-in: [0b87a0b021] user: dgp branch: dgp-refactor, size: 18042
17:31
merge updates from HEAD file: 9d36b0ec0f check-in: [25efbdbb22] user: dgp branch: core-stabilizer-branch, size: 18042
2007-06-29
03:17
* generic/tclAlloc.c: on Darwin, ensure memory allocated by * generic/tclThreadAlloc.c: the custom TclpAlloc()s is aligned to 16 byte boundaries (as is the case with the Darwin system malloc). file: eeb1239b5d check-in: [f80bb890e9] user: das branch: core-8-4-branch, size: 17695
03:17
* generic/tclAlloc.c: on Darwin, ensure memory allocated by * generic/tclThreadAlloc.c: the custom TclpAlloc()s is aligned to 16 byte boundaries (as is the case with the Darwin system malloc). file: b1a179c824 check-in: [28e130888f] user: das branch: trunk, size: 18038
2007-04-19
19:16
merge updates from HEAD file: a986aed237 check-in: [8840f48041] user: dgp branch: dgp-refactor, size: 17863
2007-04-17
14:49
Eliminate use of (VOID*) casts when calling memset or memcpy. file: b10749d6c1 check-in: [45b4948945] user: dkf branch: trunk, size: 17859
2005-11-03
17:52
merge updates from HEAD file: 1a24894dd0 check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 17881
2005-11-01
15:30
ANSIfy. Also converted some deeply nested code to a less nested form for easier reading. file: 069bbbd46f check-in: [a3b0b6f1d9] user: dkf branch: trunk, size: 17877
2005-08-02
18:14
merge updates from HEAD file: 158d35e248 check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 17981
2005-07-26
04:11
Merge updates from HEAD file: 2856c377a6 check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 17981
2005-07-19
22:45
Getting more systematic about style file: f908a05dbe check-in: [f9332bdd5d] user: dkf branch: trunk, size: 17977
2004-10-28
21:12
* generic/tclAlloc.c: Fixed [Tcl SF Bug 1030548], a * generic/tclThreadAlloc.c: threaded debug build on Windows * win/tclWinThrd.c: now works again. Had to touch Unix * unix/tclUnixThrd.c: as well. Basic patch by Kevin, with modifications by myself. file: 4f745d0909 check-in: [6d824cc2bb] user: andreas_kupries branch: core-8-4-branch, size: 17528
18:45
merge updates from HEAD file: 65925f9e43 check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 17962
2004-10-06
12:44
More mnemonic variable names, better brace usage. file: 00f9b9d95f check-in: [b9c00ba62e] user: dkf branch: trunk, size: 17958
2004-05-17
18:42
merge updates from HEAD file: 1eda0d0bfd check-in: [5741c7bde9] user: dgp branch: dgp-refactor, size: 17456
2004-05-04
20:09
* generic/tclAlloc.c: Make sure Tclp*Alloc* routines get * generic/tclInt.h: declared in the TCL_MEM_DEBUG and * generic/tclThreadAlloc.c: TCL_THREADS configuration. [Bug 947564] file: 7d22440ddd check-in: [fa36b89dd4] user: dgp branch: trunk, size: 17452
2004-04-09
20:57
Merge updates from HEAD file: 89097ece99 check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 17457
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: 6bbd692155 check-in: [2e5b18c85c] user: dgp branch: trunk, size: 17453
2004-03-26
22:28
Merge updates from HEAD. file: 16366b2799 check-in: [6e8d2d7ba1] user: dgp branch: dgp-refactor, size: 17478
2004-03-17
18:14
Removed support for Mac OS Classic platform [Patch 918142] file: 54c14f2e5c check-in: [b6330dbac7] user: das branch: trunk, size: 17474
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: 951538d607 check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 17498
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: d00e5aeab3 check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 17499
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: aa6a5d7709 check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 17495
2002-04-23
17:03
* generic/tclAlloc.c: * generic/tclInt.h: * generic/tclThreadAlloc.c (new): * unix/Makefile.in: * unix/tclUnixThrd.c: * win/Makefile.in: * win/tclWinInt.h: * win/tclWinThrd.c: added new threaded allocator contributed by AOL that significantly reduces lock contention when multiple threads are in use. Only Windows and Unix implementations are ready, and the Windows one may need work. It is only used by default on Unix for now, and requires that USE_THREAD_ALLOC be defined (--enable-threads on Unix will define this). file: 30284530ec check-in: [28a1df4ae9] user: hobbs branch: trunk, size: 17488
2002-02-27
07:08
reversed accidental commit of unfinished sources file: 670bf773be check-in: [6d6c166fcf] user: hobbs branch: trunk, size: 17270
06:39
generic/tclCmdMZ.c file: 18f10796c1 check-in: [199f301702] user: hobbs branch: trunk, size: 39454
2002-02-26
02:19
revert accidental commit of tclAlloc.c to r1.11 file: 384da269a4 check-in: [ec2717ab8a] user: hobbs branch: trunk, size: 17270
02:09
* generic/tclHash.c (AllocArrayEntry, AllocStringEntry): Before invoking ckalloc when creating a Tcl_HashEntry, check that the amount of memory being allocated is at least as large as sizeof(Tcl_HashEntry). The previous code was allocating memory regions that were one or two bytes short. [Bug #521950] (dejong) file: c3dee319d9 check-in: [a1ab505019] user: hobbs branch: trunk, size: 39454
2001-09-06
10:16
* generic/tclAlloc.c: Small Borland compatibility fix. file: 4b922371bd check-in: [e1fd7ed9f6] user: davygrvy branch: trunk, size: 17273
2001-07-17
02:01
* generic/tcl.h: Define __WIN32__ when __CYGWIN__ or __MINGW32__ is defined. * generic/tclAlloc.c: Define caddr_t when compiling with VC++ or mingw. This type is already defined when compiling with Cygwin. file: 040ed239d6 check-in: [61cfc6bb3b] user: mdejong branch: trunk, size: 17247
2000-04-21
04:04
* generic/tclAlloc.c: wrapped caddr_t define to not be done on Unix * unix/tclUnixPort.h: added Tclp*Alloc defines to allow the use of USE_TCLALLOC on Unix. [Bug: 4731] file: 3f58e18407 check-in: [618011d0b2] user: hobbs branch: trunk, size: 17143
1999-08-10
17:35
* generic/tclListObj.c: * generic/tcl.decls: * generic/tclDecls.h: Applied patch from Jim Ingham to change the prototype of Tcl_ListObjGetElements to have the last argument have a CONST so that you can feed it the objv that you get from the standard TclObj command proc. * generic/tclAlloc.c: * generic/tclCmdIL.c: * generic/tclIO.c: * generic/tclThread.c: * win/tclWinThrd.c: * unix/tclUnixThrd.c: Fixed Brent's changes so that they work on Windows (and he fixed the bug in the Unix thread implementation). file: a3e38b23d4 check-in: [cfb9ace67b] user: redman branch: trunk, size: 17051
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: bee7f1eaa6 check-in: [0a115beef8] user: welch branch: trunk, size: 17024
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: a5d58bf4dd check-in: [f3b32fb71c] user: stanton branch: trunk, size: 17002
1999-03-25
00:34
fixed compiler errors/warnings on VC++ 5.0/6.0 and HP-UX native compiler without -Aa or -Ae file: 5e42005190 check-in: [e1542205dd] user: redman branch: core-8-1-branch-old, size: 17005
1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
02:49
* generic/tclAlloc.c: Changed TCL_NATIVE_MALLOC to USE_TCLALLOC so it matches 8.1. * generic/tclBasic.c: * generic/tcl.h: * generic/tcl.decls: Changed Tcl_ReleaseType from an enum to macros so it can be used in .rc files. Added Tcl_GetString. * unix/Makefile.in: Added compat binaries to the stub library. Changed compat binaries to always compile with shared flags since they need to be shared for the stub library. file: 148188e5de check-in: [7002f9683e] user: stanton branch: trunk, size: 12021
1999-03-10
06:49
Integrated stubs mechanism from 8.0 into 8.1 file: 762df3e3fa check-in: [ddb86b8d93] user: stanton branch: core-8-1-branch-old, size: 16955
05:52
Merged stubs changes into mainline for 8.0 file: 0bd539dfd2 check-in: [1969693351] user: stanton branch: trunk, size: 12038
1999-03-08
20:14
First pass at integrating stubs mechanism from 8.0. file: 43597c2813 check-in: [eeba5fd9e9] user: stanton branch: dev-8-1-stubs-branch, size: 16959
1999-03-05
20:18
* generic/tclCompile.h: * generic/tclStubInit.c: * generic/tclCompileDecls.h: * generic/tclCompileStubs.c: * generic/tclInt.decls: Added functions from tclCompile.h into a new tclCompile interface. * generic/tclStubs.c: * generic/tclDecls.h: * generic/tcl.decls: Added Tcl_InitMemory. * generic/tclStubLib.c: Changed to define USE_TCL_STUBS and USE_TCL_STUB_PROCS automatically. * unix/Makefile.in: Changes to get stubs mechanism working. * generic/tclGetDate.y: Updated to reflect tclDate.c changes. * tools/genStubs.tcl: * generic/tclProc.c: * generic/tclStubInit.c: * generic/tclTest.c: * unix/tclUnixFile.c: * unix/tclUnixPort.h: lint * win/makefile.vc: * generic/tclAlloc.c: Changed USE_NATIVEMALLOC to USE_NATIVE_MALLOC. file: 7e74809569 check-in: [6618f6378b] user: stanton branch: dev-stubs-branch, size: 12042
1999-03-04
00:58
* unix/Makefile.in: * generic/tclAlloc.c: Changed so stub versions of TclpAlloc, etc. are generated when TCL_MEM_DEBUG is not defined. file: 037bcff1e2 check-in: [a9af4f8f20] user: stanton branch: dev-stubs-branch, size: 12039
1999-01-29
00:20
Merged changes from Tcl 8.0.5b1 file: 7c88b297df check-in: [8953e4aa5b] user: stanton branch: core-8-1-branch-old, size: 16130
1999-01-06
21:08
* win/makefile.vc: * generic/tcl.h: * generic/tclAlloc.c: Added USE_NATIVEMALLOC ifdefs to make it easier to compile for use with Purify. file: 7f634208d2 check-in: [6867e5b3fe] user: stanton branch: trunk, size: 11084
1998-12-08
04:29
* generic/tclAlloc.c (TclpRealloc): Fixed a memory allocation bug where big blocks that were reallocated into a different heap location were not being placed into the bigBlocks list. [Bug: 933] file: a306d58045 check-in: [c3b99e9764] user: stanton branch: core-8-1-branch-old, size: 15849
1998-11-18
03:34
* tclAlloc.c: changed so allocated memory is always 8-byte aligned to improve memory performance and to ensure that it will work on systems that don't like accessing 4-byte aligned values (e.g. Solaris and HP-UX). [Bug: 834] file: fe77f927ce check-in: [df12e15e76] user: stanton branch: core-8-1-branch-old, size: 15504
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: 0b36154b15 check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 15335
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: 3315820e3f check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 15309
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: 2ad004fa5e check-in: [196f92fd17] user: stanton branch: trunk, size: 10802
1998-03-26
14:45
Added: Initial revision file: 58d6b2dd15 check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 10780