Tcl Source Code

All files named "generic/tclListObj.c"
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com or submit via the online form
by Aug 20.

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

History for generic/tclListObj.c

2018-02-14
13:37
Rewrite documentation in comments for brevity and clarity. file: [4a076589c1] check-in: [64f4563fdc] user: pooryorick branch: pyk-backport-to-8-6, size: 55368
2018-01-31
12:18
Change Tcl_Token definition (int -> size_t). Many related code-changes. file: [9e9fae5f1a] check-in: [e3a724b790] user: jan.nijtmans branch: memory-API, size: 55285
2017-12-29
18:58
Refactored lrange to common function. file: [9d93a9e1dc] check-in: [9247e4f634] user: pspjuth branch: pspjuth-lrangeopt, size: 61333
2017-11-15
13:39
merge 8.7 file: [6450f2288d] check-in: [59ee6d1b5a] user: dgp branch: tip-445, size: 61403
10:20
merge trunk file: [6a224b7211] check-in: [a12a0623f0] user: jan.nijtmans branch: novem, size: 55273
10:01
merge core-8-branch file: [df8e0eb7b7] check-in: [7163cf716b] user: jan.nijtmans branch: trunk, size: 55336
08:56
merge core-8-branch file: [bb8868e874] check-in: [8322a4ab21] user: jan.nijtmans branch: trunk, size: 55343
08:55
Change signature of (internal) TclScanElement() function. This saves memory allocation and the possibility for panic's in dict and list handling, requiring 1/4 of memory for internal allocation of temporary storage. No change to external API. file: [135284b24c] check-in: [1019b4d815] user: jan.nijtmans branch: core-8-branch, size: 59517
08:54
Change signature of (internal) TclScanElement() function. This saves memory allocation and the possibility for panic's in dict and list handling, requiring 1/4 of memory for internal allocation of temporary storage. No change to external API. file: [0f643aad96] check-in: [f2cb39b9be] user: jan.nijtmans branch: core-8-6-branch, size: 59542
2017-11-06
14:55
merge trunk file: [0acc7df5b5] check-in: [70449c549e] user: jan.nijtmans branch: novem, size: 55280
01:33
Rewrite documentation in comments for brevity and clarity. file: [3df6a35b90] check-in: [568bd16ef2] user: pooryorick branch: trunk, size: 55356
2017-09-12
17:01
Rework [lset] internals to be sure outdated intreps get purged. file: [a923e56237] check-in: [30c6c52314] user: dgp branch: cjo-hydra, size: 61416
15:30
Make sure ListObjReplace invalidates outdated intreps. file: [b6b5e01b6a] check-in: [6a6da26999] user: dgp branch: cjo-hydra, size: 60963
15:13
Make sure ListObjAppendElement invalidates outdated intreps. file: [72baeb76fb] check-in: [30bbfe68d6] user: dgp branch: cjo-hydra, size: 60840
2017-02-11
07:21
Apply ferrieux' shimmer-alex.patch from ticket [738900] file: [c1c20cb78d] check-in: [a238a2fafc] user: aspect branch: aspect-shimmer-singleton-lists, size: 57765
2017-02-03
14:28
Merge trunk. Just keep some shortcuts, no longer guarantee that SetListFromAny() really returns a list type. Still experimental. file: [2cfd557f06] check-in: [e023048e5d] user: jan.nijtmans branch: jn-emptystring, size: 59647
14:03
merge trunk file: [679643064c] check-in: [052d6fe213] user: jan.nijtmans branch: novem, size: 59454
11:47
In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking. file: [3a74d5d8a1] check-in: [54e59981c7] user: jan.nijtmans branch: trunk, size: 59530
2017-02-02
15:50
In stead of testing for tclEmptyStringRep, in many situations it is better to check whether the string ends with '\0'. file: [1cd07e36ba] check-in: [a829bb8887] user: jan.nijtmans branch: jn-emptystring, size: 59601
14:06
Inpired by [pyk-emptystring] branch: Shortcuts/speedsup in number handling when dicts or lists are involved. Suppress generation of string rep in more situations. file: [1ea4f31cc0] check-in: [68f697f7c4] user: jan.nijtmans branch: jn-emptystring, size: 59595
2016-11-16
15:04
merge trunk file: [e7a9a8e6ca] check-in: [f8be848288] user: dgp branch: tip-445, size: 60716
11:17
merge trunk file: [9d203ff64a] check-in: [31a3f9bee0] user: jan.nijtmans branch: novem, size: 59470
10:55
Use more "size_t" in stead of "int" internall. Also eliminate a lot of type-casts which are not necessary any more. file: [5ce7cbe5e5] check-in: [521d320b7b] user: jan.nijtmans branch: trunk, size: 59546
2016-11-10
15:13
merge trunk file: [6ecf66592a] check-in: [8d4c5a08c5] user: jan.nijtmans branch: novem, size: 59479
2016-11-04
15:52
merge trunk file: [c706e33345] check-in: [16c449a79f] user: dgp branch: tip-445, size: 60725
14:40
[824752f10e] More robust, portable check for integer overflow. file: [22720732a1] check-in: [b2a4266498] user: dgp branch: core-8-6-branch, size: 59555
14:37
[824752f10e] More robust, portable check for integer overflow. file: [3175e295ed] check-in: [9b1cb4c030] user: dgp branch: core-8-5-branch, size: 56476
14:23
merge core-8-5-branch ([824752f10e] Avoid calling Tcl_SetObjResult if interp is NULL) file: [4f419e887a] check-in: [e7a9d70cd2] user: gahr branch: core-8-6-branch, size: 59627
14:21
[824752f10e] Avoid calling Tcl_SetObjResult if interp is NULL file: [67a2d6f96d] check-in: [b6601d604f] user: gahr branch: core-8-5-branch, size: 56547
2016-10-07
21:06
Purge more direct accesses to bytes field. file: [7a2a535aec] check-in: [ecafda43ac] user: dgp branch: tip-445, size: 60757
2016-08-18
21:59
Add back constraint that direct dict->list conversion is only done when no string representation exists. file: [ce60ba8ae6] check-in: [5b24f3f8d6] user: pooryorick branch: pyk-listdictstringrep, size: 60040
2016-07-26
18:36
Converting to stringType no longer loses the existing internal representation of a value. file: [25bb54122f] check-in: [acf65fb1a4] user: pooryorick branch: pyk-listdictstringrep, size: 59782
2016-07-22
19:27
Avoid generating string for list dict list round trip. file: [a55ae25484] check-in: [75649873cd] user: pooryorick branch: pyk-listdictstringrep, size: 59792
2016-04-20
16:44
Merge 8.6.5 file: [95affedf4d] check-in: [090329ea25] user: dgp branch: little, size: 60795
2016-04-19
20:35
Fork of Tcl used in the "Little" project. http://www.mcvoy.com/lm/little/index.html file: [bf0aeb9c4b] check-in: [69b737f5a1] user: dgp branch: little, size: 59813
2016-03-29
20:07
Functional conversion of "list" Tcl_ObjType to proposed routines. Not yet completely tidy and finished. file: [dd3dc6150c] check-in: [c9541166cd] user: dgp branch: tip-445, size: 60747
2015-11-30
20:24
merge trunk file: [a1110419f2] check-in: [96aa9dc40d] user: dgp branch: novem, size: 59511
18:24
[32c5740a4d] Have Tcl_ListObjReplace() try to use realloc() for growing when it can do so. file: [ccbb87fee6] check-in: [a467b03d94] user: dgp branch: trunk, size: 59587
2015-11-24
09:19
Merge trunk. Use "tcl9" in stead of "tcl8" in various Makefiles, which (finally) allows to remove the hack in tm.tcl introduced in [387d3899e088f9e4] file: [31c0a17044] check-in: [577ce89a59] user: jan.nijtmans branch: novem, size: 58732
2015-11-20
16:59
Tcl_ListObjReplace() early out when > LIST_MAX attempted. file: [7e472e2032] check-in: [cc23ca23e0] user: dgp branch: trunk, size: 58808
16:58
[3293874] Simplified fix (not backport). Also detect >LIST_MAX early. file: [4d257f4840] check-in: [a2c1ec0241] user: dgp branch: core-8-5-branch, size: 56507
2015-07-02
08:42
merge trunk file: [a323e60807] check-in: [4c0b0070c3] user: jan.nijtmans branch: novem, size: 58529
08:17
Another round of refCount consistancy improvements. file: [34230450da] check-in: [ec91b85b61] user: jan.nijtmans branch: trunk, size: 58605
2014-01-21
18:16
Silence compiler warnings. file: [3d0412775d] check-in: [76fb868129] user: dgp branch: core-8-5-branch, size: 56217
2013-09-26
13:13
merge novem WARNING: No checks of build-ability done yet. file: [f1c8a1ac2a] check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 58705
2013-02-11
15:53
Still to be TIP'ed. In this branch objTypes are not registered to Tcl any more, and still can do everything. It proves that Tcl_ConvertToType and the toAnyProc in thc Tcl_ObjType struct can be safely removed. Conversion to any specific type must be done by the "Tcl_GetXXXFromObj" type functions. One objType which didn't have such a function yet: "end-offset". This branch replaces this type by an "index" objType with its own Tcl_GetIntForIndex function (which functions the same as the currently private TclGetIntForIndex, only faster...). In addition, it affects Tcl_GetBoolean, which now follows the same same parsing rules as Tcl_GetBooleanFromObj. file: [fa886ec0b2] check-in: [271dbffaf7] user: jan.nijtmans branch: novem-no-register-objtypes, size: 58515
13:50
merge trunk file: [0cb7aadbbe] check-in: [76befed959] user: mig branch: mig-alloc-reform, size: 58791
2013-02-07
13:57
merge trunk file: [838bf18fe8] check-in: [74dc2e68f8] user: jan.nijtmans branch: novem, size: 58531
13:55
Tcl_InvalidateStringRep -> TclInvalidateStringRep file: [292bf192d5] check-in: [b0db125f02] user: jan.nijtmans branch: trunk, size: 58607
13:53
Tcl_InvalidateStringRep -> TclInvalidateStringRep file: [a1e17fb3e8] check-in: [c7fb5aa3b9] user: jan.nijtmans branch: core-8-5-branch, size: 56186
2013-02-05
13:26
fix broken lset tests, now all test-cases pass! file: [a6f46ea9ef] check-in: [fd6c05968f] user: jan.nijtmans branch: no-shimmer-string-length, size: 56905
12:37
Enable "list" optimize, fix cmdIL-1.29 test case file: [894f7ccf45] check-in: [31e1aab3cd] user: jan.nijtmans branch: no-shimmer-string-length, size: 57058
2013-02-03
16:05
merge trunk file: [3dcc092863] check-in: [127b30eda5] user: jan.nijtmans branch: novem, size: 58538
2013-01-31
11:41
Merge core-8-5-branch. Optimize tclCmdNameType the same way. file: [3f25a415a4] check-in: [b4cdb58176] user: jan.nijtmans branch: no-shimmer-string-length, size: 56589
10:31
merge core-8-5-branch file: [84ed934f94] check-in: [f9be79d941] user: jan.nijtmans branch: trunk, size: 58614
09:42
Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. file: [0e62fbaab3] check-in: [17354de1e8] user: jan.nijtmans branch: core-8-5-branch, size: 56193
2013-01-29
11:53
Prevent shimmering of "byte length" for ByteArray, Dict and List objs, by keeping the string internal representation in twoValuePtr.prt2 file: [32d0745aa2] check-in: [621e03a369] user: jan.nijtmans branch: no-shimmer-string-length, size: 56584
10:46
Change core to use repr->twoPtrValue.ptr1 in stead of repr->otherValuePtr (which is exactly the same), but also set repr->twoPtrValue.ptr2 to NULL explicitly. This allows repr->twoPtrValue.ptr2 to be used for another purpose (experimental): Store the StringObj internal representation there when available. file: [b3d793dcda] check-in: [4918a10d3d] user: jan.nijtmans branch: no-shimmer-string-length, size: 56481
2013-01-27
23:38
New experiment (ended), regarding non-shimmering "string length" file: [21b1638752] check-in: [9b7ff4b901] user: jan.nijtmans branch: novem-no-shimmer-string-length, size: 58669
2013-01-09
12:33
Restore API compatibility with public Tcl_*Scan and Tcl_*Convert functions (changes in private functions are OK) Increase LOCAL_SIZE to 64, and remove two Panic's which cannot occur any more as a result of the improvements. file: [bc1aab3342] check-in: [96818dd70f] user: jan.nijtmans branch: novem, size: 58638
2013-01-08
17:10
The Tcl*(Scan|Convert)*Element() routines only need chars, not ints, to hold their flags. Reduce waste now that interface freedom permits it. file: [5901e7d05f] check-in: [01b69f70f3] user: dgp branch: novem, size: 58653
2013-01-03
04:14
*BROKEN* First steps towards choosing allocators at load time file: [a25ebf1ac6] check-in: [86a7932955] user: mig branch: mig-alloc-reform, size: 58898
2013-01-01
17:51
merge trunk file: [d69ac8a7c5] check-in: [4242bd371d] user: mig branch: mig-alloc-reform, size: 59099
2012-12-29
18:17
Fix correct cleanup in more situations, using a new macro TclFreeIfRefCountZero file: [b8c3f0c575] check-in: [00a7908896] user: jan.nijtmans branch: novem-freeifrefcountzero, size: 58762
09:24
merge trunk file: [146e6105af] check-in: [d53d72ddfb] user: jan.nijtmans branch: novem, size: 58651
09:23
restore refcounts as they were before the Tcl_ListObjReplace call, in the error situation. In Tcl9, make this a true Tcl_DecrRefCount, which properly cleans objects with refCount 0 file: [554be0eaf5] check-in: [f83c3f4bad] user: jan.nijtmans branch: trunk, size: 58714
09:16
restore refcounts as they were before the Tcl_ListObjReplace call, in the error situation. In Tcl9, make this a true Tcl_DecrRefCount, which properly cleans objects with refCount 0 file: [7afa5e3c6b] check-in: [b7ca02496d] user: jan.nijtmans branch: core-8-5-branch, size: 56293
00:06
For Tcl9, do a real Tcl_DecrRefCount file: [35bd1f6972] check-in: [450c192395] user: jan.nijtmans branch: bug-3598580, size: 56269
2012-12-27
20:54
restore old refcounts in TCL_ERROR case. file: [ab7acdf9e0] check-in: [d5147fc677] user: jan.nijtmans branch: bug-3598580, size: 56201
15:04
[Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early file: [764a72bdd5] check-in: [4865e19aac] user: jan.nijtmans branch: trunk, size: 58551
14:57
[Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early file: [4a930dfc02] check-in: [6d560f6812] user: jan.nijtmans branch: core-8-5-branch, size: 56135
14:41
[Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early Tests!? Where are the tests!?! They are in test listobj-11.1 file: [05c2183a7e] check-in: [a87c1542ff] user: jan.nijtmans branch: core-8-4-branch, size: 49923
2012-11-26
15:40
reducing the number of signed/unsigned hazards file: [2d1b500821] check-in: [381a588058] user: dkf branch: novem-64bit-sizes, size: 58829
2012-11-25
16:02
remove commented-out junk in tclListObj.c file: [87f838d8d6] check-in: [0c315832ff] user: mig branch: mig-alloc-reform, size: 59039
2012-11-18
07:39
Better programming practice, no literal '-1' in source code. Might even be useful for 64bit-sizes branch <p>add TCL_NOSIZE as internal defined for -1, and use it in a lot of places Ass this function argument should be size_t, not ssize_t (still to be TIPped), something like this will be needed anyway. file: [6ec8c586a2] check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 58679
00:38
...and a few more file: [6b03bdf4a6] check-in: [152944662f] user: dkf branch: novem-64bit-sizes, size: 58821
00:06
another batch of conversions file: [ebd9ae49a6] check-in: [7698b769e5] user: dkf branch: novem-64bit-sizes, size: 58817
2011-09-28
01:39
merge trunk file: [e7cc2801e9] check-in: [12126498b2] user: mig branch: mig-alloc-reform, size: 60000
2011-08-16
13:55
Small changes to quell gcc warnings and make message generation less ugly. file: [ff7c7ce0d5] check-in: [df6fb9a914] user: dkf branch: trunk, size: 58655
2011-06-06
22:42
merge trunk file: [060262fb7e] check-in: [a12509740a] user: mig branch: mig-alloc-reform, size: 59494
2011-05-31
19:58
Rewind from a refactoring that veered into the weeds. file: [0a490590e3] check-in: [1d247886db] user: dgp branch: bug-3293874, size: 58149
2011-05-27
18:42
purge old code file: [f6c87c31da] check-in: [bfd05a82ab] user: dgp branch: bug-3293874, size: 56883
2011-05-24
13:46
merge trunk file: [4bb93beacc] check-in: [f62a607c8e] user: mig branch: mig-alloc-reform, size: 57326
2011-05-17
16:39
Refactoring so that SetElement() becomes the foundational primitive operation. SetElement() supports the "append one at the end" operation as well as the "set one in place" operation. file: [82e977ee5a] check-in: [9a9e541131] user: dgp branch: bug-3293874, size: 58993
2011-05-12
15:00
Set the defaults of all growth algorithm parameters based on one master value. file: [8f5ecaabdd] check-in: [e0b726da8e] user: dgp branch: bug-3293874, size: 57174
2011-05-11
20:42
Oops! file: [1f8f674ab5] check-in: [434596e345] user: dgp branch: bug-3293874, size: 57157
20:33
First draft of bug fix. file: [0967086360] check-in: [ea441b300e] user: dgp branch: bug-3293874, size: 57170
2011-05-10
17:22
New internal routines TclScanElement() and TclConvertElement(). Rewritten guts of machinery to produce string rep of lists. [Bug 3173086] file: [17c2744007] check-in: [7720fbb825] user: dgp branch: trunk, size: 56702
16:05
Completed patch with mucho comments. Merge 8.5. file: [a13ece3c9e] check-in: [8de9137c51] user: dgp branch: bug-3173086, size: 56239
2011-05-09
13:58
Revise empty string tests so that we avoid potentially expensive string rep generations, especially for dicts. file: [93122fd9fb] check-in: [c2d4899eeb] user: dgp branch: trunk, size: 56558
13:46
Remove the old implementation. file: [88d12170d7] check-in: [a040b3dde3] user: dgp branch: dgp-list-simplify, size: 56095
13:26
A different technique to more precisely identify the optimization case. file: [e3a64d35e9] check-in: [3b589e9ee8] user: dgp branch: dgp-list-simplify, size: 57952
2011-05-07
19:53
merge trunk file: [679f92fc6e] check-in: [241f36be4b] user: mig branch: mig-alloc-reform, size: 58600
2011-05-05
18:28
Stop generating string rep of dict when converting to list. Tolerate NULL interps more completely. file: [403c9173fe] check-in: [849162b0bf] user: dgp branch: trunk, size: 57976
18:00
Disable all the special case code in place to prevent allocation of a List struct for empty lists as much as possible. The value of this avoidance is not clear to me. Hoping it can be demonstrated (or refuted) with both variants side by side in the code history tree. file: [04874bf354] check-in: [cc113f7cfe] user: dgp branch: dgp-list-simplify, size: 57594
16:53
Tolerate NULL interps more completely. file: [dc935f0266] check-in: [e7adc1255d] user: dgp branch: core-8-5-branch, size: 57513
16:35
Stop generating string rep of dict when converting to list. file: [4153f60a44] check-in: [746b228680] user: dgp branch: core-8-5-branch, size: 57457
2011-05-03
19:44
merge 8.5 file: [24755a4267] check-in: [27fd15ce57] user: dgp branch: trunk, size: 56901
18:53
Tighten SetListFromAny(). file: [d8b910cb1b] check-in: [d711aba568] user: dgp branch: core-8-5-branch, size: 56438
2011-05-02
20:17
Revised TclFindElement() interface. The final argument had been bracePtr, the address of a boolean var, where the caller can be told whether or not the parsed list element was enclosed in braces. In practice, no callers really care about that. What the callers really want to know is whether the list element value exists as a literal substring of the string being parsed, or whether a call to TclCopyAndCollpase() is needed to produce the list element value. Now the final argument is changed to do what callers actually need. This is a better fit for the calls in tclParse.c, where now a good deal of post-processing checking for "naked backslashes" is no longer necessary. ***POTENTIAL INCOMPATIBILITY*** For any callers calling in via the internal stubs table who really do use the final argument explicitly to check for the enclosing brace scenario. Simply looking for the braces where they must be is the revision available to those callers, and it will backport cleanly. Tests for expanded literals quoting detection. file: [b891970c1f] check-in: [60cf594f82] user: dgp branch: trunk, size: 57742
17:36
Revised TclFindElement() interface. The final argument had been bracePtr, the address of a boolean var, where the caller can be told whether or not the parsed list element was enclosed in braces. In practice, no callers really care about that. What the callers really want to know is whether the list element value exists as a literal substring of the string being parsed, or whether a call to TclCopyAndCollpase() is needed to produce the list element value. Now the final argument is changed to do what callers actually need. This is a better fit for the calls in tclParse.c, where now a good deal of post-processing checking for "naked backslashes" is no longer necessary. ***POTENTIAL INCOMPATIBILITY*** For any callers calling in via the internal stubs table who really do use the final argument explicitly to check for the enclosing brace scenario. Simply looking for the braces where they must be is the revision available to those callers, and it will backport cleanly. file: [5abd21797a] check-in: [04d0ff20b9] user: dgp branch: core-8-5-branch, size: 57192
15:44
Replace TclCountSpaceRuns() with TclMaxListLength() which is the function we actually want. file: [0a04bbbac5] check-in: [304fa3c29b] user: dgp branch: trunk, size: 57739
15:38
Replace TclCountSpaceRuns() with TclMaxListLength() which is the function we actually want. file: [449c15f932] check-in: [63ec2ace6e] user: dgp branch: core-8-5-branch, size: 57189
2011-04-28
14:44
New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() Use to replace calls to isspace() and their /* INTL */ risk. file: [7c14e1e5ba] check-in: [ef10af814d] user: dgp branch: trunk, size: 58009
14:39
New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() Use to replace calls to isspace() and their /* INTL */ risk. file: [8578a98156] check-in: [b1063a174c] user: dgp branch: core-8-5-branch, size: 57459
2011-04-27
18:49
TclFreeIntRep() cleanup. file: [b6dd0b6952] check-in: [53b79ea68a] user: dgp branch: mistake, size: 58111
18:33
FreeListInternalRep() cleanup. file: [31d1cfe571] check-in: [4683efaee9] user: dgp branch: trunk, size: 58139
18:32
FreeListInternalRep() cleanup. file: [e25d618ef3] check-in: [403736bc07] user: dgp branch: core-8-5-branch, size: 57561
18:23
Backport fix for [Bug 2857044]. file: [857638cdb0] check-in: [1855377cde] user: dgp branch: core-8-5-branch, size: 57644
2011-04-25
12:49
Revise last fix. file: [66e766cf75] check-in: [d7448b047e] user: dgp branch: trunk, size: 58222
12:48
Revise last fix. file: [ca24188e70] check-in: [a8e210ca62] user: dgp branch: core-8-5-branch, size: 57615
2011-04-24
19:26
Fix compilation warning in TclListObj - printf format mismatch file: [52cc348a24] check-in: [3e2ab34dea] user: venkat branch: trunk, size: 58236
19:19
Fix compilation warning in TclListObj - printf format mismatch file: [fddd709852] check-in: [7fabe333b9] user: venkat branch: core-8-5-branch, size: 57629
2011-04-21
18:50
Use macro to set List intreps file: [624f01cbca] check-in: [0353d21711] user: dgp branch: trunk, size: 58198
18:44
Use macro to set List intreps file: [2a84a94cd6] check-in: [ecb9834d12] user: dgp branch: core-8-5-branch, size: 57591
17:32
Limits on list length were too strict. Revised panics to errors where possible. file: [bbb2214952] check-in: [2d215ce103] user: dgp branch: trunk, size: 58841
16:53
Limits on list length were too strict. Revised panics to errors where possible. file: [0d28b846f0] check-in: [9080c06a95] user: dgp branch: core-8-5-branch, size: 58279
13:47
Make sure SetFooFromAny routines react reasonably when passed a NULL interp. file: [5dbd8a52ed] check-in: [36b0307ba2] user: dgp branch: trunk, size: 57745
13:24
Make sure SetFooFromAny routines react reasonably when passed a NULL interp. file: [448a2d0d99] check-in: [0da07d5b1e] user: dgp branch: core-8-5-branch, size: 57128
2011-04-19
14:19
merge trunk file: [7be5a5515a] check-in: [d040767de8] user: mig branch: mig-alloc-reform, size: 58325
2011-04-18
21:42
Use ListRepPtr(.) and other cleanup. file: [6ffe17cd1f] check-in: [e7e05e37cc] user: dgp branch: trunk, size: 57701
21:24
Use ListRepPtr(.) and other cleanup. file: [6b2090e276] check-in: [3dba2563a1] user: dgp branch: core-8-5-branch, size: 57085
2011-04-04
14:18
Merge to feature branch file: [691e5203ea] check-in: [a7a0485fd1] user: dkf branch: mig-alloc-reform, size: 58487
2011-04-02
17:22
More generation of errorCodes ([interp], [lset], [load], [unload]). file: [2f2038b06a] check-in: [d109deac44] user: dkf branch: trunk, size: 57863
2011-03-26
12:38
merge trunk to feature branch file: [780743e196] check-in: [ff240fb01d] user: mig branch: mig-alloc-reform, size: 58238
11:53
Reduce the number of casts used to manage Tcl_Obj internal representations. file: [81a79ee991] check-in: [b2381061a7] user: dkf branch: trunk, size: 57614
2011-03-24
22:48
only do the alloc-space maximization when needed file: [eeb9d808ae] check-in: [dbff67cd44] user: mig branch: mig-alloc-reform, size: 58376
2011-03-19
17:23
tclListObj.c: simplify macros file: [2c6bb49a5c] check-in: [3a9fac126e] user: mig branch: mig-alloc-reform, size: 58101
2011-03-18
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: [192b737053] check-in: [b8f22672b2] user: mig branch: mig-alloc-reform, size: 58198
2011-03-12
15:06
Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in rest of Tcl source code. No ABI change. API change *should* be harmless. file: [a92c5fc6a8] check-in: [5574bdd262] user: dkf branch: trunk, size: 57744
2011-03-03
21:07
Significant rewrite of the Tcl*(Scan|Convert)*Element() system, and revisions to the callers. Needs more work on comments, and testing to check for any performance impact in either direction. Fixes reported bug. file: [d6d12937be] check-in: [a142b240b3] user: dgp branch: bug-3173086, size: 57568
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: [572c5e4a59] check-in: [c64f310d38] user: dgp branch: trunk, size: 57929
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: [6258662527] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 57328
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: [57cd1e1fa4] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 49924
2010-11-22
16:46
Jumping forward the files we can. file: [be48bbfec4] check-in: [6e8bb472bd] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 58000
16:07
Next @380. OO Stacktraces broken. file: [44b027374f] check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 57431
13:14
Next @251. file: [bacc29e527] check-in: [6e5d8c41eb] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 57097
2010-11-18
15:08
Next. file: [7170e19e77] check-in: [3120107af3] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 56849
2010-05-19
22:04
Backport of fix for [Bug 3004007], EIAS violation in list-dict conversions. file: [9e1dc1ea06] check-in: [716909f303] user: ferrieux branch: core-8-5-branch, size: 57408
2010-03-30
08:45
Merge from HEAD to rmax-ipv6-branch file: [62039936d1] check-in: [54b695423d] user: rmax branch: rmax-ipv6-branch, size: 58005
2010-03-19
15:26
merge updates file: [3daf9d8bb6] check-in: [cae9f6bfbc] user: dgp branch: dgp-refactor, size: 58005
2010-03-18
20:38
* generic/tclListObj.c: Prevent in overflow trouble in [lreplace] * generic/tclTestObj.c: operations. Thanks to kbk for fix and test. * tests/listObj.test: [Bug 2971669]. file: [92f7bad3e5] check-in: [a12aaa827f] user: dgp branch: core-8-5-branch, size: 57222
20:34
* generic/tclListObj.c: Prevent in overflow trouble in [lreplace] * generic/tclTestObj.c: operations. Thanks to kbk for fix and test. * tests/listObj.test: [Bug 2971669]. file: [ca48ef7fa5] check-in: [d368f28135] user: dgp branch: trunk, size: 58000
2010-02-25
21:53
merge updates from HEAD file: [68f69e3fa9] check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 57872
2010-02-24
14:30
Fix some nasties with handling duplicate keys in list->dict->list conversions. file: [ef7d2087ee] check-in: [72dc5b9bbc] user: dkf branch: trunk, size: 57867
2009-09-30
06:07
merge updates from HEAD file: [dd80ca6c2a] check-in: [3b4e6b13b9] user: dgp branch: dgp-refactor, size: 57691
03:11
* generic/tclDictObj.c: Updated freeIntRepProc routines so * generic/tclExecute.c: that they set the typePtr field to * generic/tclIO.c: NULL so that the Tcl_Obj is not left * generic/tclIndexObj.c: in an inconsistent state. * generic/tclInt.h: [Bug 2857044] * generic/tclListObj.c: * generic/tclNamesp.c: * generic/tclOOCall.c: * generic/tclObj.c: * generic/tclPathObj.c: * generic/tclProc.c: * generic/tclRegexp.c: * generic/tclStringObj.c: file: [6df1e200ad] check-in: [c712d7d7bb] user: dgp branch: trunk, size: 57686
2009-02-11
17:27
merge updates from HEAD file: [b068a6d33a] check-in: [f07460d448] user: dgp branch: dgp-refactor, size: 57662
2009-02-10
22:49
- eliminate some unnessary type casts - some internal const decorations - spacing file: [1b985e4c03] check-in: [160bcb1152] user: nijtmans branch: trunk, size: 57662
2009-01-08
18:00
merge updates from HEAD file: [ac0ef8356c] check-in: [0b4ea10c4a] user: dgp branch: dgp-refactor, size: 57632
16:41
Generate errorcodes for more cases. file: [15cde9c2c0] check-in: [a12728cbb9] user: dkf branch: trunk, size: 57627
2008-10-17
20:52
merge updates from HEAD file: [4d2d8ad886] check-in: [d93600ad8e] user: dgp branch: dgp-refactor, size: 57436
2008-10-15
06:17
Add "const" to many internal const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries. file: [c99ae56ca2] check-in: [8fcbc25d98] user: nijtmans branch: trunk, size: 57436
2008-10-11
03:37
merge updates from HEAD file: [d62df08694] check-in: [707fc4e9cf] user: dgp branch: dgp-refactor, size: 57433
2008-10-05
22:12
TIP #331 IMPLEMENTATION * generic/tclListObj.c (TclLsetFlat): * tests/lset.test: Modified the [lset] command so that it allows for an index of 'end+1', which has the effect of appending an element to the list. file: [9d580b9947] check-in: [41ad4c4b67] user: kennykb branch: trunk, size: 57432
2008-09-15
04:52
merge updates from HEAD file: [fab525723f] check-in: [3ad1e2e352] user: dgp branch: dgp-refactor, size: 57102
2008-09-10
13:17
Fix efficiency bug detected by Kieran Elby. file: [6e71c1c53a] check-in: [3487dba2a4] user: dkf branch: core-8-5-branch, size: 57089
13:03
Fix efficiency bug detected by Kieran Elby. file: [feaf0a2643] check-in: [b5547d4f7b] user: dkf branch: trunk, size: 57097
2008-08-24
01:06
merge updates from HEAD file: [f77d211aa1] check-in: [a3a51e8108] user: dgp branch: dgp-refactor, size: 56875
2008-08-23
10:54
Silence some warnings. file: [ba9a0a1483] check-in: [1a9a602400] user: dkf branch: trunk, size: 56870
2008-07-29
20:13
merge updates from (near) HEAD file: [826fb86cba] check-in: [f51e3a3c72] user: dgp branch: dgp-refactor, size: 56854
2008-07-20
22:02
Fix [Bug 2008248] and make dict->list->dict round trip efficient to boot. file: [c539a372f6] check-in: [256c78f19e] user: dkf branch: core-8-5-branch, size: 56862
17:55
Fix [Bug 2008248] and make dict->list->dict round trip efficient to boot. file: [f0e0375ce3] check-in: [2e6c76f67e] user: dkf branch: trunk, size: 56849
2008-05-11
04:22
merge updates from HEAD file: [b10539aac7] check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 55413
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: [9238028d23] check-in: [2d205c22fb] user: dkf branch: trunk, size: 55408
2007-12-13
15:22
merge stable branch onto HEAD file: [a0340a59e0] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 55408
2007-11-12
20:40
merge updates from HEAD file: [c133ea32de] check-in: [27f428842c] user: dgp branch: dgp-refactor, size: 55413
19:18
merge updates from HEAD file: [57a4a4bc49] check-in: [72c5ac9502] user: dgp branch: core-stabilizer-branch, size: 55412
2007-11-11
19:32
[Patch 1830038]: Increased usage of macros to detect and take advantage of objTypes. file: [24786e55d5] check-in: [11e8f31512] user: msofer branch: trunk, size: 55411
2007-09-07
03:15
merge updates from HEAD file: [2676b59efc] check-in: [2c46d786c6] user: dgp branch: dgp-refactor, size: 55273
2007-09-04
17:43
merge updates from HEAD file: [c3534152d1] check-in: [93ee5fafc4] user: dgp branch: core-stabilizer-branch, size: 55272
2007-09-03
21:27
* tests/lindex.test (lindex-17.[01]): Added code to detect the error when a script does [lindex {} end foo]; an overaggressive optimisation caused this call to return an empty object rather than an error. file: [fa508decc2] check-in: [540ed3dbdd] user: kennykb branch: trunk, size: 55272
2007-04-25
14:48
merge updates from HEAD file: [75d4b44668] check-in: [6ebd2252e3] user: dgp branch: dgp-refactor, size: 55073
2007-04-24
22:31
* generic/tclListObj.c: reverting [Patch 738900] (committed on 2007-04-20). Causes some Tk test breakage of unknown importance, but the impact of the patch itself is likely to be so small that it does not warrant investigation at this time. file: [105bed2c76] check-in: [c7ba07f44b] user: msofer branch: trunk, size: 55071
22:07
* generic/tclListObj.c (TclLsetFlat): Fixed a bug where the new list under construction was leaked in the error case.[Bug 1705778, leaks K13 and K14] file: [655731abec] check-in: [6d2d73af96] user: kennykb branch: trunk, size: 56260
2007-04-20
21:58
merge updates from HEAD file: [7241fe9215] check-in: [2e484b3bc3] user: dgp branch: dgp-refactor, size: 56150
21:39
* generic/tclListObj.c (SetListFromAny): avoid discarding internal reps of objects converted to singleton lists [Patch 738900] file: [3cf165b039] check-in: [bd9ce4da5f] user: msofer branch: trunk, size: 56148
2007-04-08
14:58
Merge updates from HEAD; may not build file: [67a79e923b] check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 54962
2007-03-20
19:47
2007-03-20 Kevin B. Kenny <kennykb@acm.org> * generic/tclDate.c: Rebuilt, despite Donal Fellows's comment when committing it that no rebuild was required. * generic/tclGetDate.y: According to Donal Fellows, "Introduce modern formatting standards; no need for rebuild of tclDate.c." * library/tzdata/America/Cambridge_Bay: * library/tzdata/America/Havana: * library/tzdata/America/Inuvik: * library/tzdata/America/Iqaluit: * library/tzdata/America/Pangnirtung: * library/tzdata/America/Rankin_Inlet: * library/tzdata/America/Resolute: * library/tzdata/America/Yellowknife: * library/tzdata/Asia/Choibalsan: * library/tzdata/Asia/Dili: * library/tzdata/Asia/Hovd: * library/tzdata/Asia/Jakarta: * library/tzdata/Asia/Jayapura: * library/tzdata/Asia/Makassar: * library/tzdata/Asia/Pontianak: * library/tzdata/Asia/Ulaanbaatar: * library/tzdata/Europe/Istanbul: Upgraded to Olson's tzdata2007d. * generic/tclListObj.c (TclLsetList, TclLsetFlat): * tests/lset.test: Changes to deal with shared internal representation for lists passed to the [lset] command. Thanks to Don Porter for fixing this issue. [Bug 1677512] file: [9ec8732762] check-in: [ee77f4e978] user: kennykb branch: trunk, size: 54961
2007-03-17
05:04
added missing panic file: [3648643ccc] check-in: [2620c319d0] user: dgp branch: trunk, size: 54616
2007-03-12
10:22
Tightening up declaration scopes, improving some comments with xrefs to bugDB file: [a620f39d4e] check-in: [15bf9e7141] user: dkf branch: trunk, size: 54532
2007-03-10
15:39
Move 'return' in TclListObjSetElement into correct place! file: [07eca5052b] check-in: [c5ab2b41d1] user: dkf branch: trunk, size: 54434
2007-03-08
22:26
* generic/tclListObj.c (TclLsetList): Rewrite so that the routine itself does not do any direct intrep surgery. Better isolates those things into the implementation of the "list" Tcl_ObjType. file: [0174942609] check-in: [9022a3bb41] user: dgp branch: trunk, size: 54511
11:19
Moved [lindex] guts to tclListObj.c, same as [lset] guts. file: [bd9b69a5d6] check-in: [08146987c9] user: dkf branch: trunk, size: 56409
2007-03-07
09:10
Minor comment cleaning up file: [c1202f414b] check-in: [261b762a78] user: dkf branch: trunk, size: 51560
2007-03-02
16:06
Added comments warning against certain optimizations file: [c16dd510ec] check-in: [8616cfc840] user: dgp branch: trunk, size: 51537
2007-02-24
18:55
* generic/tclBasic.c: Use new interface in Tcl_EvalObjEx so that the recounting logic of the List internal rep need not be repeated there. Better encapsulation of internal details. * generic/tclInt.h: New internal routine TclListObjCopy() used * generic/tclListObj.c: to efficiently do the equivalent of [lrange $list 0 end]. After some experience with this, might be a good candidate for exposure as a public interface. It's useful for callers of Tcl_ListObjGetElements() who want to control the ongoing validity of the returned objv pointer. file: [48e8ae942b] check-in: [a69b4832a1] user: dgp branch: trunk, size: 51159
2006-11-08
13:47
Minor simplification of memcpy usage file: [d221daeaab] check-in: [daa47e737a] user: dkf branch: trunk, size: 50004
2006-08-29
16:19
merge updates from HEAD file: [fb34776473] check-in: [e1feeec3e7] user: dgp branch: dgp-refactor, size: 50077
2006-08-10
12:15
Various minor object file size efficiency fixes. [Bug 1530474] file: [72bd25c83e] check-in: [a09967381c] user: dkf branch: trunk, size: 50072
2006-07-20
06:17
* generic/regc_locale.c (cclass): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclIOCmd.c (Tcl_ExecObjCmd): * generic/tclListObj.c (NewListIntRep): * generic/tclObj.c (Tcl_GetLongFromObj, Tcl_GetWideIntFromObj, FreeBignum, Tcl_SetBignumObj): * generic/tclParseExpr.c (Tcl_ParseExpr): * generic/tclStrToD.c (TclParseNumber): * generic/tclStringObj.c (TclAppendFormattedObjs): * unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra. file: [9ddd756bd3] check-in: [25ff7e8b0a] user: das branch: trunk, size: 50051
2006-01-25
18:38
merge updates from HEAD file: [15258c24d2] check-in: [24df3318d7] user: dgp branch: dgp-refactor, size: 50048
2005-12-13
22:43
Export stubs for libtommath; fix mingw compiler warnings file: [21fd9cd5bf] check-in: [3842b9c468] user: kennykb branch: trunk, size: 50047
2005-12-02
18:42
merge updates from HEAD file: [6d068f3aa3] check-in: [1059d34b2b] user: dgp branch: dgp-refactor, size: 50040
2005-11-18
15:58
* generic/tclListObj.c: Restored the SetListFromAny routine to * generic/tclObj.c: the "list" Tcl_ObjType, and restored the Tcl_RegisterObjType() call for "list". This addresses the needs of some "bridge" extensions to examine whether the Tcl_ObjType of a Tcl_Obj is that of the "list" Tcl_ObjType. file: [0271733304] check-in: [c53b8d27e3] user: dgp branch: trunk, size: 50035
2005-11-11
23:46
More bits of ANSIfying file: [ba1b9fd8d7] check-in: [884b0bcef2] user: dkf branch: trunk, size: 50026
2005-11-03
17:52
merge updates from HEAD file: [f06fa1a982] check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 50444
2005-10-20
12:21
* generic/tclListObj.c (TclLsetFlat): * tests/lset.test (lset-10.3): fixed handling of unshared lists with shared sublists, [Bug 1333036] reported by neuronstorm. file: [d1238a473b] check-in: [74298c8832] user: msofer branch: trunk, size: 50443
2005-09-12
15:40
merge updates from HEAD file: [1994c54e17] check-in: [156f19bcaf] user: dgp branch: dgp-refactor, size: 49678
2005-09-09
18:48
[kennykb-numerics-branch] Merge updates from HEAD. file: [c109baded7] check-in: [343239eeff] user: dgp branch: kennykb-numerics-branch, size: 49678
2005-09-06
14:40
Add flag to lists so that evaluating contexts can handle them efficiently much of the time even when they are not pure. The flag works by keeping track of when the string rep was derived from the internal rep. file: [23dfb5825e] check-in: [3f8b25f1a3] user: dkf branch: trunk, size: 49674
2005-09-02
19:23
* unix/tclUnixSock.c (InitializeHostName): Synchronized use of static modifier in declaration and definition of function. * unix/tclUnixChan.c (FileTruncateProc): Synchronized use of static modifier in declaration and definition of function. * generic/tclResult.c (ReleaseKeys): Synchronized use of static modifier in declaration and definition of function. * generic/tclListObj.c (NewListIntRep): Synchronized use of static modifier in declaration and definition of function. * generic/tclEncoding.c (InitializeEncodingSearchPath): Synchronized use of static modifier in declaration and definition of function. * generic/tclEncoding.c (FillEncodingFileMap): Synchronized use of static modifier in declaration and definition of function. * generic/tclIORChan.c (RcNewHandle): Synchronized use of static modifier in declaration and definition of function. file: [849c8bb74f] check-in: [5b652caf77] user: andreas_kupries branch: trunk, size: 49373
2005-08-29
18:38
[kennykb-numerics-branch] Merge updates from HEAD. file: [609aae4622] check-in: [c74bd61cc0] user: dgp branch: kennykb-numerics-branch, size: 49358
2005-08-25
22:27
Backport of fix for [Bug 1267380] file: [efd7d53721] check-in: [2389f54864] user: dkf branch: core-8-4-branch, size: 49999
21:48
Better to panic sanely than to crash with a bad memory access. [Bug 1267380] file: [3ab4d433d2] check-in: [687e384a0d] user: dkf branch: trunk, size: 49354
2005-08-02
18:14
merge updates from HEAD file: [4f3149b6e9] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 49206
2005-07-26
04:11
Merge updates from HEAD file: [9ac9ed84a8] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 49206
2005-07-19
00:09
Getting more systematic about style file: [866c965de9] check-in: [690576859a] user: dkf branch: trunk, size: 49202
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611) file: [109937d76d] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 49371
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [6f84faf97d] check-in: [1cc2336920] user: kennykb branch: trunk, size: 49368
2005-04-29
22:39
Merge updates from HEAD file: [3e6ca0b8c3] check-in: [ac63d218d8] user: dgp branch: dgp-refactor, size: 49368
2005-04-10
23:14
merged with HEAD and fixed 1180368 file: [69e5212c8f] check-in: [7bc9ca0285] user: kennykb branch: kennykb-numerics-branch, size: 49372
2005-04-09
20:48
* generic/tclInt.h: change of order in macros * generic/tclListObj.c (Tcl_ListObjIndex): added missing NULL return when getting index from an empty list. file: [80f1721d95] check-in: [4d75916501] user: msofer branch: msofer-wcodes-branch, size: 49371
11:09
* generic/tclListObj.c (Tcl_ListObjIndex): added missing NULL return when getting index from an empty list. file: [e011654a02] check-in: [83a809919f] user: das branch: trunk, size: 49364
2005-04-07
17:31
merge updates from HEAD file: [cb5825d28d] check-in: [7d5704f18c] user: dgp branch: dgp-refactor, size: 49339
2005-04-02
13:35
Sync with HEAD - [Patch 1158008] file: [f25d3d04c9] check-in: [95433ade49] user: msofer branch: msofer-wcodes-branch, size: 49342
02:08
Changed the internal representation of lists to (a) reduce the malloc/free calls at list creation (from 2 to 1), (b) reduce the cost of handling empty lists (we now never create a list internal rep for them), (c) allow refcounting of the list internal rep. The latter permits insuring that the pointers returned by Tcl_ListObjGetElements remain valid even if the object shimmers away from its original list type. This is [Patch 1158008] file: [61793c3b36] check-in: [20cba22d42] user: msofer branch: trunk, size: 49338
2004-12-09
23:00
Merge updates from HEAD file: [7730efecf2] check-in: [24873008cc] user: dgp branch: dgp-refactor, size: 52430
2004-11-11
01:18
* generic/tclListObj.c (Tcl_ListObjReplace): use memmove() instead of manual copy loop to shift list elements. Decreases time spent in Tcl_ListObjReplace() from 5.2% to 1.7% of overall runtime of tclbench on a ppc 7455 (i.e. 200% speed increase). [Patch 1064243] * generic/tclHash.c: hoisted some constant pointer dereferences out of loops to eliminate redundant loads that the gcc optimizer didn't deal with. Decreases time spend in Tcl_FindHashEntry() by 10% over a full run of the tcl testuite on a ppc 7455. [Patch 1064243] file: [44d77bf537] check-in: [7512e64d88] user: das branch: core-8-4-branch, size: 49847
01:17
* generic/tclListObj.c (Tcl_ListObjReplace): use memmove() instead of manual copy loop to shift list elements. Decreases time spent in Tcl_ListObjReplace() from 5.2% to 1.7% of overall runtime of tclbench on a ppc 7455 (i.e. 200% speed increase). [Patch 1064243] * generic/tclHash.c: hoisted some constant pointer dereferences out of loops to eliminate redundant loads that the gcc optimizer didn't deal with. Decreases time spend in Tcl_FindHashEntry() by 10% over a full run of the tcl testuite on a ppc 7455. [Patch 1064243] file: [253ffabe5a] check-in: [30ac98366b] user: das branch: trunk, size: 52426
2004-09-30
00:51
merge updates from HEAD file: [99cbb4cfd8] check-in: [6cd7cf6875] user: dgp branch: dgp-refactor, size: 52586
2004-09-29
22:17
Factorize out the code for freeing an object's internal rep. file: [abeabaae8c] check-in: [3890ad3c7c] user: dkf branch: trunk, size: 52582
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: [bfa9122c68] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 52857
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: [ecade1e66d] check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 52858
2003-11-01
01:28
When copying and pasting code, check that argument types are sensible! <:^) file: [5161076636] check-in: [cfc3336537] user: dkf branch: trunk, size: 52826
01:20
Increased robustness and speed for [lrepeat] with help of new list constructor file: [38cd3710d9] check-in: [14a264ed1d] user: dkf branch: trunk, size: 52850
2003-10-30
22:18
Whitespace police file: [c7b62cff80] check-in: [355816d9e5] user: dkf branch: trunk, size: 49551
2003-09-05
23:08
Merge updates from HEAD. file: [7b3e9237ed] check-in: [3f920087eb] user: dgp branch: dgp-refactor, size: 50042
2003-09-04
16:44
* doc/SplitList.3: Implementation of TIP 148. Fixes [Bug 489537]. * generic/tcl.h: Updated Tcl_ConvertCountedElement() to quote * generic/tclUtil.c: the leading "#" character of all list elements unless the TCL_DONT_QUOTE_HASH flag is passed in. * generic/tclDictObj.c: Updated Tcl_ConvertCountedElement() callers * generic/tclListObj.c: to pass in the TCL_DONT_QUOTE_HASH flags * generic/tclResult.c: when appropriate. file: [bf6475a1dd] check-in: [3195fccaba] user: dgp branch: trunk, size: 50038
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [b28a9a61b3] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 50008
2002-01-07
23:09
* generic/tclEvent.c (TclInExit): * generic/tclIOUtil.c (SetFsPathFromAbsoluteNormalized, SetFsPathFromAny,Tcl_FSNewNativePath,DupFsPathInternalRep): * generic/tclListObj.c (TclLsetList,TclLsetFlat): Added some type casts to satisfy picky compilers. file: [db05dcc917] check-in: [66602e16c0] user: dgp branch: trunk, size: 49999
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: [175d73416f] check-in: [cf5397db43] user: dgp branch: trunk, size: 49939
2001-12-03
18:23
NRE1 patch by Miguel Sofer. Several new controlling macros for information on the stack. Parser information on the stack can now be switched to allocation on the heap. file: [9a23daccd8] check-in: [fc43051481] user: andreas_kupries branch: mod-8-3-4-branch, size: 32543
2001-11-16
21:41
Removed a rogue C++ comment that inadvertently got left in tclListObj.c file: [54e518c4df] check-in: [0d3715a770] user: kennykb branch: trunk, size: 49936
2001-11-14
23:17
Reference implementation of TIP's #22, #33 and #45. Adds the ability of the [lindex] command to have multiple index arguments, and adds the [lset] command. Both commands are byte-code compiled. [Patch #471874] (work by Kenny, commited by Hobbs) file: [2738ae541d] check-in: [8e0db83abc] user: hobbs branch: trunk, size: 49949
2001-09-27
13:49
Backing out unwise changes file: [81dd47e172] check-in: [4c0c25f627] user: dkf branch: dkf-64bit-support-branch, size: 32516
2001-09-26
14:23
Now builds on Solaris8/SPARC with both SunPro CC *and* GCC. file: [cba75bdbed] check-in: [4850711173] user: dkf branch: dkf-64bit-support-branch, size: 32583
2001-09-25
16:49
Woo hoo! Builds on one platform (Solaris8/SPARC with SunPro CC) file: [6cf5336c30] check-in: [dd2d80954c] user: dkf branch: dkf-64bit-support-branch, size: 32568
2001-05-31
23:45
Development branch for TIPs 22 and 33 file: [93d31491fc] check-in: [ab889929d6] user: kennykb branch: kennykb-tip-22-33, size: 35534
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: [301624aaf3] check-in: [bda1abaf85] user: kennykb branch: trunk, size: 32515
07:38
* generic/tclListObj.c (Tcl_SetListObj): set objPtr->length = 0 in empty object case to maintain sanctity of Tcl_Obj bytes/length pairing. (porter) [Patch #405998] file: [cff97df5b0] check-in: [350842f625] user: hobbs branch: core-8-3-1-branch, size: 32507
07:14
* generic/tclListObj.c (Tcl_SetListObj): set objPtr->length = 0 in empty object case to maintain sanctity of Tcl_Obj bytes/length pairing. (porter) [Patch #405998] file: [1de8dbe876] check-in: [6c2114143e] user: hobbs branch: trunk, size: 32503
1999-08-10
22:45
Rolled back changes to change the prototype of Tcl_ListObjGetElements() file: [d6219f125b] check-in: [ac48eb3341] user: redman branch: trunk, size: 32483
22:42
Removed patch to change prototype of Tcl_ListObjGetElements. file: [1736fd8b0d] check-in: [13834ebb6a] user: redman branch: core-8-2-b3-branch, size: 32487
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: [926cc1fb57] check-in: [cfb9ace67b] user: redman branch: trunk, size: 32482
1999-04-28
17:06
* mac/tclMacResource.c: * generic/tclListObj.c: * generic/tclObj.c: * generic/tclStringObj.c: Changed to avoid freeing the string representation before freeing the internal rep. This helps with debugging since the string rep will still be valid when the free proc is invoked. file: [d2ab613aa2] check-in: [101102ec64] user: stanton branch: trunk, size: 32477
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: [dfb44e1b3b] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 32477
1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
1998-11-11
04:08
merged 8.0.4 into 8.1 file: [8b40c478e9] check-in: [fe115bdad2] user: stanton branch: core-8-1-branch-old, size: 32481
1998-10-13
20:30
Fixed bug in Tcl_SetListObj - it used to create invalid Tcl_Obj if you passed in 0 elements. Despite what docs said. Also updated a few copyright notices. file: [fcdfa2adb9] check-in: [485b7d35e6] user: rjohnson branch: trunk, size: 32304
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [d1fbcdba09] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 32433
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [e8a566ef9b] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 32408
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [49c11bccea] check-in: [196f92fd17] user: stanton branch: trunk, size: 32206
1998-03-26
14:45
Added: Initial revision file: [04c8bc9626] check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 32185