Tcl Source Code

All files named "generic/tclListObj.c"
Login

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

History for generic/tclListObj.c

2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [c32c4d95ba] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 116402
2024-04-18
15:06
Tidy up some indentation and other little code style issues file: [4267ac333a] check-in: [cb11914788] user: dkf branch: tidy-indentation, size: 117058
2024-04-10
14:47
Merge 8.6 Use TclHasInternalRep() macro in more places. file: [17ba9a0f25] check-in: [d326acc1c9] user: jan.nijtmans branch: core-8-branch, size: 116858
2024-03-20
14:27
Merge 9.0 file: [2a05c944d2] check-in: [4271f3b52a] user: jan.nijtmans branch: tip-626, size: 117130
2024-03-19
14:56
Fix indentation/brace usage style issues file: [a93793167a] check-in: [1fbff64078] user: dkf branch: main, size: 117133
2024-03-13
09:45
Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6 file: [d02ef6328d] check-in: [c575f9dc00] user: jan.nijtmans branch: core-8-branch, size: 116852
2024-03-12
21:24
Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too. file: [45ccf77a4d] check-in: [63d442cdc0] user: jan.nijtmans branch: main, size: 117426
2024-03-07
11:25
merge 8.7 (BF [a9625d1f53554f9d]) file: [226ad20abe] check-in: [c61662ef4a] user: sebres branch: main, size: 117432
11:21
fixes segfault [a9625d1f53554f9d]: elemObj used uninitialized, lindex on lseq wo args must return whole list file: [8cdd3f7e1f] check-in: [a12bd5c50a] user: sebres branch: core-8-branch, size: 116858
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: [27afa696d5] check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 116529
2023-12-27
22:30
Merge 8.7 file: [5d621422d6] check-in: [73a8bc5730] user: jan.nijtmans branch: mistake, size: 117384
2023-12-26
16:31
Don't use TCL_SIZE_MODIFIER "u", since Tcl_Size can be negative file: [8e1c335b08] check-in: [18e2b3b04f] user: jan.nijtmans branch: core-8-branch, size: 116810
2023-10-19
18:48
Merge 8.7 file: [380211e574] check-in: [f67f60d202] user: jan.nijtmans branch: main, size: 117384
2023-10-17
06:02
Handle sentinels for any C++ compiler file: [84b3aedb11] check-in: [6876d1f99a] user: jan.nijtmans branch: bug-26870862f0, size: 116579
2023-10-10
19:40
Merge 8.7 file: [2bdd81981f] check-in: [f1543f19f8] user: jan.nijtmans branch: main, size: 117352
2023-08-21
18:07
The experiment deployment of TclDuplicatePureObj() has been reverted from the trunk. This branch attempts to prepare a reversion for the core-8-branch also, via a cherrypick and resolution of conflicts.

Starting an experiment in one new release to reject it in the next is at best odd. Also, valgrind test runs of core-8-branch show memory leaks with TclDuplicatePureObj() on the stack trace. This checkin shows a clean valgrind run.

There are three test failures on this checkin, which I hope someone versed in the ArithSeries work can resolve. They are the tests:

lseq-3.14 lseq-4.19 lseq-bug-54329e39c7

merge bug-bc7ddc7944 (revert use of TclDuplicatePureObj) file: [325e67af84] check-in: [c66c2fd74d] user: dgp branch: revert-dup-pure, size: 116547

2023-08-14
05:07
merge trunk file: [0f8b6b77c4] check-in: [771e5ad4e4] user: griffin branch: bug-bc7ddc7944, size: 117359
2023-08-13
11:56
Merge in fix for end+1 indices. file: [be0bc5d07c] check-in: [aedb8e144f] user: apnadkarni branch: bug-bc076f4f0e75, size: 116420
06:22
Revert [0b05b5c750df] that broke bigdata tests and lseq-1.13 file: [e112a82c71] check-in: [6985418bfc] user: apnadkarni branch: bug-bc076f4f0e75, size: 116165
2023-08-12
04:07
Replace more DuplicateObj with ListObjCopy. file: [f7b85983bb] check-in: [af8de99a71] user: griffin branch: bug-bc7ddc7944, size: 117175
2023-08-11
17:55
Replace DuplicateObj with ListObjCopy where appropriate. file: [9311d407f4] check-in: [84467b4641] user: griffin branch: bug-bc7ddc7944, size: 117264
2023-08-10
21:12
Revert more bits. file: [d22866eca9] check-in: [5ed75d2361] user: griffin branch: bug-bc7ddc7944, size: 115898
17:48
Revert DupolicatePureObj back to DuplicateObj. file: [30979b68d2] check-in: [a001695bab] user: griffin branch: bug-bc7ddc7944, size: 116090
2023-07-19
14:23
Improve error-reporting possibilities for Tcl_ExternalToUtfDStringEx/Tcl_UtfToExternalDStringEx in case no interpreter is available, by setting "errno". file: [c2e1d162f8] check-in: [2d94a8c808] user: jan.nijtmans branch: core-8-branch, size: 115697
08:59
Merge 9.0 file: [494401d975] check-in: [331a94f0b8] user: jan.nijtmans branch: tip-657, size: 116236
2023-07-16
07:23
Merge 8.7 - Bug [a366c6efee] file: [b5277acaf7] check-in: [fe628d36ce] user: apnadkarni branch: main, size: 116238
06:15
Bug [a366c6efee] file: [4b23f89afe] check-in: [3b31b4f4a9] user: apnadkarni branch: core-8-branch, size: 115699
2023-07-14
06:28
Merge 8.7 file: [31d773d430] check-in: [cbdec07524] user: jan.nijtmans branch: main, size: 116000
2023-07-13
17:19
Correct wording in Comment file: [b7faffa89d] check-in: [7136462c76] user: oehhar branch: core-8-branch, size: 115461
16:23
Merge 8.7 file: [33c7eec0f8] check-in: [528716921f] user: jan.nijtmans branch: main, size: 115999
15:42
Backport changes in tclListObj.c from Tcl 9.0 file: [e58f39a4a9] check-in: [24daba8fd2] user: jan.nijtmans branch: core-8-branch, size: 115460
2023-07-12
03:06
Fix foreach bug [a34733451b]. Other code cleanup discovered by code review. file: [f4501904b4] check-in: [5bc8af69e3] user: griffin branch: main, size: 115875
2023-07-10
15:57
Code cleanup for arithSeries, all backported from 9.0 file: [e92eaba644] check-in: [f93176d784] user: jan.nijtmans branch: core-8-branch, size: 115286
2023-07-07
21:06
Cleanup abstract list ObjType function definitions. file: [1cf12ed02d] check-in: [765c9c37a2] user: griffin branch: main, size: 115961
14:23
TIP #636 cleanup: Eliminate the use of Tcl_ObjTypeLength() et al, which look public but are internal and not documented anywhere. file: [2d3bb3653f] check-in: [652c7258c9] user: jan.nijtmans branch: main, size: 116284
2023-06-30
14:34
merge trunk file: [ec7a73fec8] check-in: [9d4f898f95] user: griffin branch: tip-636-tcl9-644, size: 116531
13:08
Since TCL_MAJOR_VERSION is always "8", don't check for it. Add C++-compatible typecasts. file: [a3d9fa13d0] check-in: [46c73262a1] user: jan.nijtmans branch: core-8-6-branch, size: 56140
2023-06-28
07:20
Fix [26960060d7]: lseq-3.14 triggers use-after-free file: [ba225e2744] check-in: [68c0bd3f02] user: jan.nijtmans branch: core-8-branch, size: 115314
2023-06-26
07:24
Merge unchained branch [22400aa71b] and resolve conflicts. file: [362b9e6e0c] check-in: [961f58e148] user: pooryorick branch: pyk-objinterface, size: 120743
2023-06-23
17:32
Fix build issue with no_deprecated. file: [a74b291dcd] check-in: [0412b1d646] user: griffin branch: tip-636-tcl9-644, size: 116460
2023-06-22
10:12
WIP for fixing a9929f112a file: [ddecd3421f] check-in: [b19e0278f2] user: jan.nijtmans branch: bug-a9929f112a, size: 115916
2023-06-21
21:30
Fix 3 "lset" testcases file: [6ed7ea307e] check-in: [8d300901a0] user: jan.nijtmans branch: bug-a9929f112a, size: 115278
2023-06-13
16:47
Remove getdbl abstraction. file: [d28c684c6e] check-in: [79841a55e2] user: griffin branch: tip-636-tcl9-644, size: 116605
2023-06-06
16:04
Clean up logic to detect failures. file: [f94e8cec10] check-in: [917b9ccbe6] user: griffin branch: tip-636-tcl9-644, size: 116615
2023-05-31
14:12
Use TclDuplicatePureObj() in stead of TclListObjCopy() where appropriate. Backported from 9.0 file: [02ef632a29] check-in: [97cc33cd20] user: jan.nijtmans branch: core-8-branch, size: 115212
2023-05-26
17:15
Function name cleanup. file: [269e310e2f] check-in: [f0e51ed375] user: griffin branch: tip-636-tcl9-644, size: 116475
2023-05-23
21:36
Merge trunk file: [0e35a325bc] check-in: [2f493bd21c] user: griffin branch: tip-636-tcl9-644, size: 116484
2023-05-20
20:11
Merge "unchained branch [a03cbbdf63] and resolve conflicts. file: [1cba199b88] check-in: [6803cae7fa] user: pooryorick branch: pyk-objinterface, size: 122119
14:10
Merge "unchained" branch [6b0efb4663] and resolve conflicts. file: [8a5d7b8ddb] check-in: [1b29063091] user: pooryorick branch: pyk-objinterface, size: 122173
2023-05-19
23:07
Merge trunk file: [5130ceb447] check-in: [ce1ff6df2b] user: apnadkarni branch: bug-c9663296fd, size: 115845
16:47
More refactoring into common code file: [8ad19dd2d3] check-in: [617dcb269e] user: apnadkarni branch: bug-c9663296fd, size: 115858
11:26
Merge "unchained" branch commit [05b72c0b3f] and resolve conflicts. file: [a2c5c08ea6] check-in: [2840dda8db] user: pooryorick branch: pyk-objinterface, size: 123101
2023-05-17
16:22
Proposed fix for [6022b9f946]: Tk when built against Tcl 9.0 broken file: [e25b69bbfc] check-in: [47ae4a0262] user: jan.nijtmans branch: bug-6022b9f946, size: 117908
16:12
Merge trunk file: [8ef1a060bb] check-in: [3e44e4bdd3] user: griffin branch: tip-636-tcl9-644, size: 117296
12:44
Improve TclDuplicatePureObj(), remove unnecessary increment/decrement pairs, and add more error checking. file: [3a27a8274e] check-in: [c405bdd1f0] user: pooryorick branch: main, size: 117221
12:09
Fix for [5ee01098824881b5], lseq list conversion results in attempt to access freed memory. file: [e1b7adf46d] check-in: [e45cee0c53] user: pooryorick branch: main, size: 116617
05:09
Add Tcl_BumpObj() used to prevent leaks from Abstract List elements. Add Abstract List (ArithSeries) support in Tcl_ListObjIndex(). Fix obj leaks in lsearch operatations on ArithSeries. Fix obj leaks in concat operations on ArithSeries. Add concat and lsearch tests using lseq lists. file: [a19c8d6d20] check-in: [5c163280ea] user: griffin branch: tip-636-tcl9-644, size: 117991
2023-05-16
05:25
New function, TclDuplicatePureObj(), doesn't duplicate the string representation when duplicating an object, unless necessary. Remove TclListObjCopy() in favor of TclDuplicatePureObj(), allowing internal representation to change after the copy rather than before. file: [ee60fa79f6] check-in: [40af0258ec] user: pooryorick branch: main, size: 116581
2023-05-11
20:59
ptrdiff_t to Tcl_Size in tclListObj.c file: [760e84416d] check-in: [113074c4bf] user: pooryorick branch: unchained, size: 117025
20:25
Add TclRelaxRefCount and TclObjGetScalar, and use them to try to take the fast path more often in byte-compiled [lindex].

See: https://github.com/tcltk/tcl/actions/runs/4956385513 for build failure file: [1e7c966588] check-in: [05eeae5d67] user: pooryorick branch: py-build-broken, size: 117872

2023-05-10
17:25
Merge trunk file: [5f0b729b00] check-in: [b4827791dc] user: apnadkarni branch: bug-c9663296fd, size: 116437
2023-05-09
15:58
merge trunk file: [90b271b973] check-in: [e487b3b7f1] user: griffin branch: tip-636-tcl9-644, size: 117828
2023-05-08
14:08
Make TclLindexFlat() a litle more straightforward. file: [3aac678da7] check-in: [027b027f72] user: pooryorick branch: main, size: 117234
2023-05-06
15:54
Make TclLindexFlat() a litle more straightforward.

jn: @nathan, All Github CI-builds are turning red (again) file: [ecddd8370a] check-in: [0a3d10e244] user: pooryorick branch: py-build-broken, size: 117201

2023-05-05
21:22
Merge 8.7 file: [1c507441b8] check-in: [3a0591cd2d] user: jan.nijtmans branch: main, size: 116890
12:36
Merge trunk file: [d5dc04e55d] check-in: [0579cbaaff] user: apnadkarni branch: bug-c9663296fd, size: 116096
09:40
Remove TclArithSeriesObjCopy() and use Tcl_DuplicateObj() instead. file: [7546f15416] check-in: [853b3416a7] user: pooryorick branch: main, size: 116893
2023-05-04
17:52
Refactor reallocation in preparation for experimentation with different growth factors file: [e75e7738e5] check-in: [3f801dc599] user: apnadkarni branch: bug-c9663296fd, size: 116109
2023-05-03
02:01
merge trunk file: [ae1b0f9b65] check-in: [d4c2e9791a] user: griffin branch: tip-636-tcl9-644, size: 117722
2023-05-02
11:50
Fix LISTREP_ASSERT file: [4b17934fbf] check-in: [b9d001ff67] user: apnadkarni branch: apn-list-realloc, size: 116906
05:38
Change realloc strategy on fail, optimize for empty string file: [494a48e00e] check-in: [ab979f8be5] user: apnadkarni branch: apn-list-realloc, size: 116876
2023-04-30
23:09
Partial sync-up with trunk. file: [570f4d5b77] check-in: [82fe864420] user: griffin branch: tip-636-tcl9-644, size: 117739
19:21
Merge 8.7 file: [bfc0ca3827] check-in: [4d1655a18b] user: jan.nijtmans branch: main, size: 117133
2023-04-29
15:20
Eliminate ListSizeT_MAX, since it's the same as TCL_SIZE_MAX file: [595a6aa089] check-in: [fdbf87049c] user: jan.nijtmans branch: no-listsizet-max, size: 116414
2023-04-27
14:01
More size_t -> Tcl_Size, missed by earlier updates file: [8646a2f19c] check-in: [f689f33488] user: jan.nijtmans branch: main, size: 117146
2023-04-24
14:51
Fix [d4ede611a7] - scan bigdata file: [d9e623658b] check-in: [acaa559a27] user: apnadkarni branch: main, size: 117150
10:02
Fix for bug [d4ede611a7] (scan) file: [3aaa6417d2] check-in: [ce85c34ed2] user: apnadkarni branch: bug-d4ede611a7, size: 117081
2023-04-23
09:48
Merge tip-657 file: [69d2eac8ee] check-in: [e4c301ca4c] user: jan.nijtmans branch: tip-659, size: 116706
05:23
Merge 8.7 - [d90fee06d0] (lassign) and [203792a48c] (Utf32ToUtf) file: [26dceceac2] check-in: [8b91a4a3c6] user: apnadkarni branch: main, size: 116707
2023-04-22
10:04
Use TclListObjRange in lassign for performance reasons file: [d8d27c55ad] check-in: [0486ade969] user: apnadkarni branch: bug-d90fee06d0, size: 116427
2023-04-21
21:45
Merge tip-657 file: [623ab53ae2] check-in: [f843f54534] user: jan.nijtmans branch: tip-659, size: 116636
2023-04-19
09:18
Merge trunk file: [94caaec85b] check-in: [0230e9e1ea] user: apnadkarni branch: apn-bigdata-tests, size: 116637
2023-04-14
15:07
Fixed bug-a498006438 file: [9e91c550d6] check-in: [37f2bddc83] user: apnadkarni branch: apn-bigdata-tests, size: 116713
15:01
Merge trunk file: [f923cf1e06] check-in: [e36ab1e9ba] user: apnadkarni branch: tip-660, size: 116607
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: [af417c12f0] check-in: [d65da06a77] user: pooryorick branch: main, size: 116683
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [6ce2054cab] check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 116357
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: [7c76029542] check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 56126
2023-04-04
20:50
more progress file: [1536031076] check-in: [4e36871191] user: jan.nijtmans branch: optional-signed-size, size: 117180
2023-03-30
18:01
TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntu file: [eae7169c00] check-in: [eb81a25271] user: apnadkarni branch: tip-660, size: 117108
2023-03-25
00:29
Merge trunk file: [814266b4d4] check-in: [f6aa53859c] user: griffin branch: tip-636-tcl9-644, size: 117778
2023-03-24
20:58
Merge 8.7 file: [b780aa14a3] check-in: [6301de2138] user: jan.nijtmans branch: main, size: 117184
20:47
Merge 8.6 file: [5c1bf05cd7] check-in: [87cd711c2a] user: jan.nijtmans branch: core-8-branch, size: 116858
20:19
Fix [15e74a2fe6]: Fix various typos file: [8511be87aa] check-in: [c44138ed03] user: jan.nijtmans branch: core-8-6-branch, size: 56126
2023-03-22
20:17
Merge 9.0 file: [1c54d9b934] check-in: [38f7cdb888] user: jan.nijtmans branch: internal-abstract-list, size: 117866
2023-03-05
00:26
More -1 -> TCL_INDEX_NONE file: [0b5bbf4c76] check-in: [7a2fc29ce0] user: jan.nijtmans branch: main, size: 117183
2022-12-21
21:59
Merge 9.0 file: [3daf58a954] check-in: [54fa324d11] user: jan.nijtmans branch: internal-abstract-list, size: 117854
21:43
Merge 8.7 file: [0def483630] check-in: [fb6e7180d0] user: jan.nijtmans branch: main, size: 117171
20:43
Add 'interp' argument to some arith functions, for better error-handling file: [5fa558fe2c] check-in: [ccd603d584] user: jan.nijtmans branch: core-8-branch, size: 116857
06:59
Make as much abstract list implementation as possible internal. Other code cleanup also. file: [25cb0d658d] check-in: [6a1760d4bc] user: griffin branch: tip-636-tcl9-644, size: 117766
2022-12-19
21:53
Merge 9.0. Add missing return statement file: [5c593bccf1] check-in: [85bb554ed9] user: jan.nijtmans branch: internal-abstract-list, size: 117824
2022-12-18
10:05
Reserve a place in abstractlist for an additional function file: [4ba5c5d19a] check-in: [f66b360335] user: jan.nijtmans branch: tip-636-tcl9-644, size: 117794
09:10
Merge 9.0 file: [6a1bba8d32] check-in: [889eda50c1] user: jan.nijtmans branch: tip-636-tcl9-644, size: 117784
2022-12-08
19:32
Merge trunk, simplify TclArithSeriesGetElements file: [da9205182e] check-in: [820e819826] user: jan.nijtmans branch: internal-abstract-list, size: 117808
17:17
Eliminate TclArithSeriesObjLength and TclArithSeriesObjStep from tclArithSeries.h: they can be static internal. file: [ddc4ff847a] check-in: [651867ba09] user: jan.nijtmans branch: main, size: 117141
2022-12-07
23:56
Add 'getdouble' function to ObjType, used for abstractlist types. -- Experimental file: [f6bd4f95bf] check-in: [edf337e697] user: griffin branch: tip-636-tcl9-644, size: 117745
2022-12-02
15:25
No need for same check twice file: [e824975e5f] check-in: [fbc8be2f4f] user: jan.nijtmans branch: internal-abstract-list, size: 117721
15:23
complete all 'GetElements' functions file: [091ef036ff] check-in: [cc0534c9be] user: jan.nijtmans branch: internal-abstract-list, size: 117815
13:35
Implement GetElements for listObj and endOffsetObj. Not used yet. file: [42024dfa6d] check-in: [b0660bc9fa] user: jan.nijtmans branch: internal-abstract-list, size: 117721
2022-12-01
15:16
Merge 9.0. Fix Windows build (testcases need tcl::test package). Modify TCL_OBJTYPE_V1() macro, so it checks for the number of arguments file: [c023d137c7] check-in: [b12de6dcc9] user: jan.nijtmans branch: tip-636-tcl9-644, size: 117735
02:10
Fix bug with slice (range) operation file: [b7aaa6db5a] check-in: [98cb6066e8] user: griffin branch: tip-636-tcl9-644, size: 117494
2022-11-30
22:17
Add getElementsProc. Not used yet file: [4588e32bec] check-in: [360cdc6766] user: jan.nijtmans branch: internal-abstract-list, size: 117122
22:05
Merge 9.0. Rename TclObjTypeHasProc to ABSTRACTLIST_PROC file: [079a185fe4] check-in: [a27cec2896] user: jan.nijtmans branch: tip-636-tcl9-644, size: 117506
2022-11-29
10:38
Merge 9.0 file: [119ba56047] check-in: [c014595c53] user: jan.nijtmans branch: tip-636-tcl9-644, size: 117506
09:53
Merge 9.0 file: [18f3aff3cb] check-in: [9a47cad54b] user: jan.nijtmans branch: tip-636-tcl9-644, size: 117509
2022-11-28
23:44
Merge 8.7 file: [b22bf48f2b] check-in: [e0ddaec6df] user: jan.nijtmans branch: main, size: 116770
23:16
Reduce shimmering: If a conclusion can be drawn about the number of list elements, don't get the elements before the list length is checked file: [28bdacd9d2] check-in: [2664970782] user: jan.nijtmans branch: core-8-branch, size: 116827
21:45
Simplify TclObjTypeHasProc() (a lot!) file: [0960bf110a] check-in: [570309d8d2] user: jan.nijtmans branch: tip-636-tcl9-644, size: 117506
16:13
Merge 9.0 file: [34fa8cc7c0] check-in: [9ee2792e3b] user: jan.nijtmans branch: tip-636-tcl9-644, size: 117535
15:58
Merge 9.0. New macro ABSTRACTLIST_PROC file: [342c8caefa] check-in: [31ba65f113] user: jan.nijtmans branch: internal-abstract-list, size: 117112
12:34
Merge 8.7 file: [a351f2bb21] check-in: [8a3224d454] user: jan.nijtmans branch: main, size: 116770
12:06
Use Tcl_Size for ArithSeries.len file: [0f8740738a] check-in: [97d5a892d5] user: jan.nijtmans branch: core-8-branch, size: 116827
2022-11-27
23:37
size_t result for lengthProc. More usage of Tcl_GetWideUIntFromObj file: [914053fc83] check-in: [fc0a4e4085] user: jan.nijtmans branch: internal-abstract-list, size: 117284
2022-11-26
23:57
HAS_ABSTRACTLIST_PROC file: [0d1ee3f18d] check-in: [504365e7e0] user: jan.nijtmans branch: internal-abstract-list, size: 117313
2022-11-25
23:38
Merge 9.0 file: [c423b076f4] check-in: [117b6812c3] user: jan.nijtmans branch: internal-abstract-list, size: 117375
16:26
Merge 8.7 file: [afbb2460c8] check-in: [5356f8d107] user: jan.nijtmans branch: main, size: 116729
16:11
Tcl_NewDoubleObj -> TclNewDoubleObj and Tcl_NewWideIntObj -> TclNewIntObj (and similar). Gives more info when debugging file: [d493e8e567] check-in: [c4a4662af3] user: jan.nijtmans branch: core-8-branch, size: 116786
2022-11-24
21:48
TCL_OBJTYPE_V0_INIT -> TCL_OBJTYPE_V0 (See TIP #644). Remove Tcl_SavedResult (See TIP #640) file: [0824acdd96] check-in: [ca003bccb7] user: jan.nijtmans branch: tip-636-tcl9-644, size: 117540
01:18
Support multiple indicies in abstract list lindex operation. Catch up with trunk. file: [f0ac70bab0] check-in: [cf418732cb] user: griffin branch: tip-636-tcl9-644, size: 117584
2022-11-23
17:04
Internal abstract list, don't let "llength" shimmer any more. file: [129f420ae6] check-in: [db554866c9] user: jan.nijtmans branch: internal-abstract-list, size: 117449
2022-11-10
17:44
Tcl_NewSizeObj -> Tcl_NewIndexObj file: [68aace7ae6] check-in: [c8f34abbf1] user: jan.nijtmans branch: tip-648, size: 116766
2022-11-09
22:18
New functions Tcl_NewSizeObj/Tcl_SetSizeObj file: [b033b0d0ba] check-in: [4d77c12eef] user: jan.nijtmans branch: tip-648, size: 116848
16:29
Rebase to latest trunk file: [3c267beaa7] check-in: [9c26ed6942] user: jan.nijtmans branch: tip-644-alt, size: 116790
13:45
Merge trunk. Also update Tcl_ObjType.version to match TIP 644 file: [ab087e5b34] check-in: [67db36998a] user: apnadkarni branch: tip-644, size: 116803
2022-11-08
22:02
Remove unused/incomplete functions. Some cleanup. file: [b9abf7e020] check-in: [f62cf2026a] user: griffin branch: tip-636-tcl9-644, size: 117659
2022-11-06
05:20
Sync with trunk file: [b647060ed5] check-in: [6a10d9194c] user: griffin branch: tip-636-tcl9-644, size: 117669
2022-11-05
23:35
Sync with trunk file: [dca1c6b074] check-in: [db4e5a6372] user: griffin branch: tip-636-tcl9, size: 117655
2022-11-04
22:47
Implement abstractlist with tip-644 file: [dbbe56a454] check-in: [3aa22fe8ab] user: griffin branch: tip-636-tcl9-644, size: 117672
2022-11-02
22:33
TIP 636 for Tcl 9 file: [a39d4d0bb6] check-in: [b78cb72678] user: griffin branch: tip-636-tcl9, size: 117645
2022-11-01
17:06
Merge 8.7 file: [7c20a24cc5] check-in: [83589336f2] user: jan.nijtmans branch: main, size: 116783
08:28
rebase to latest trunk file: [939d6eec33] check-in: [14166645c7] user: jan.nijtmans branch: tip-644-alt, size: 116791
08:26
Don't bother to provide a TCL_OBJTYPE_SIZE macro file: [775ba1da6b] check-in: [04e8efd4ac] user: jan.nijtmans branch: tip-644-alt, size: 116884
02:05
Fix refCount crash. Improve ArithSeries regression coverage. file: [55e765aa3a] check-in: [1cd2c67dd9] user: griffin branch: core-8-branch, size: 116860
2022-10-31
21:50
Add missing GetType call to export decls. Change SetElement to support multiple indicies. Improve abstract list test coverage. file: [331dec0ca7] check-in: [5c99b85689] user: griffin branch: tip-636, size: 117715
2022-10-25
01:13
Add AbstractList regression test (exercise the C API) file: [12b88574c8] check-in: [a821aa6ac6] user: griffin branch: tip-636, size: 117689
2022-10-24
11:47
Another possible approach file: [7f8333fb54] check-in: [dc7f554cb0] user: jan.nijtmans branch: tip-644-alt, size: 116899
2022-10-22
21:13
Sync with core-8-branch file: [b1d6f4f756] check-in: [502f791578] user: griffin branch: tip-636, size: 117740
00:07
Add Replace (lreplace) function to AbstractList type, and corrisponding Tcl_AbstractListObjReplace() API. file: [69a5db4bd4] check-in: [db774b9844] user: griffin branch: tip-636, size: 117827
2022-10-21
15:28
Merge 9.0 file: [f8ed77658f] check-in: [0d0e119d50] user: jan.nijtmans branch: tcl8-compat, size: 116784
15:18
Merge 8.7 file: [d5b251d809] check-in: [e066cbc8c1] user: jan.nijtmans branch: main, size: 116791
15:00
typedef Tcl_Size as int (which is the Tcl 8.7 part of TIP #628) file: [ae22ae578a] check-in: [ba6b7d0db9] user: jan.nijtmans branch: core-8-branch, size: 116861
2022-10-19
04:35
More work on lset support in AbstractLists file: [1128bc0a34] check-in: [f241fccdde] user: griffin branch: tip-636, size: 117654
2022-10-18
01:03
Add SetElement function to abstract lists. Fix a few bugs. file: [50cc00fc27] check-in: [4c94af99a3] user: griffin branch: tip-636, size: 117369
2022-10-12
12:37
Rebase to 9.0 file: [8a1e37bab5] check-in: [6b19ae0ccc] user: jan.nijtmans branch: tcl8-compat, size: 116782
2022-10-11
15:07
TIP 644 - Make Tcl_ObjType extensible file: [1638408e67] check-in: [6d1d103cf6] user: apnadkarni branch: tip-644, size: 116897
03:49
Modify AbstractList functions to include interp for error reporting. Other various improvements. file: [5434fd5929] check-in: [0485bcc580] user: griffin branch: tip-636, size: 117345
2022-10-08
22:31
Code cleanup and reorganize file: [41580f5d66] check-in: [ff3701bbfd] user: griffin branch: tip-636, size: 117291
2022-10-07
19:14
Sync with core-8-branch file: [14de281382] check-in: [5c486bb6e6] user: griffin branch: abstractlist-with-625, size: 117290
2022-10-06
10:15
Merge 8.7 file: [550882eeb5] check-in: [ed075af7b1] user: jan.nijtmans branch: main, size: 116877
09:45
Merge 8.6 file: [31a563aab5] check-in: [81bb3f9e62] user: jan.nijtmans branch: core-8-branch, size: 116948
2022-10-05
15:31
Fix [1599352cca] and related issues file: [4619c56d0b] check-in: [337d46bdb8] user: jan.nijtmans branch: bug-1599352cca, size: 56125
02:28
merge [trunk] file: [362e0b9c07] check-in: [248b1feddb] user: bch branch: bch_sign_and_width, size: 116923
2022-10-04
20:15
Fix some bugs in lseq file: [4f795941fd] check-in: [43a55b4088] user: griffin branch: core-8-branch, size: 116923
2022-10-02
19:03
Fix Obj leaks in ArithSeries. file: [9c4701f2c4] check-in: [edf761f264] user: griffin branch: main, size: 116859
2022-09-30
00:03
Fix various issues with refCounts. file: [0c9a15d17d] check-in: [e9bfacc97b] user: griffin branch: lseq-refCount-bug, size: 116891
2022-09-29
13:45
Sync with core-8-branch file: [4ff1a71718] check-in: [bf662d3d03] user: griffin branch: abstractlist-with-625, size: 117369
2022-09-28
13:15
Merge 9.0 file: [62b39a2d76] check-in: [13c9db32a7] user: jan.nijtmans branch: tcl8-compat, size: 116843
13:02
Merge 8.7 file: [f5eff0c32a] check-in: [d9ec3c2575] user: jan.nijtmans branch: main, size: 116929
12:58
int -> ListSizeT, and a few more simplifications file: [a54881ef2d] check-in: [a56458d7d3] user: jan.nijtmans branch: core-8-branch, size: 116993
11:55
Don't worry deprecation warnings for Tcl_SaveResult: If TIP #640 is accepted it won't matter any more. Eliminate some compiler warnings Mark some lseq testcases as "knownBug", they still need to be fixed file: [f065ce45ae] check-in: [6a23a504f0] user: jan.nijtmans branch: main, size: 116926
11:29
Merge 9.0 file: [f7c17c0906] check-in: [0035431374] user: jan.nijtmans branch: tcl8-compat, size: 116834
08:31
Merge 8.7 file: [a5bfcda538] check-in: [b92a570dc1] user: jan.nijtmans branch: main, size: 116920
2022-09-26
19:00
Merge 9.0 file: [ec7c838b80] check-in: [e44206c7e0] user: jan.nijtmans branch: tcl8-compat, size: 116827
16:27
Fix compile error. file: [d869e31e80] check-in: [568b039aac] user: griffin branch: bug-9933cc4d88, size: 116987
2022-09-25
18:05
Fix out-of-bounds length bug. file: [6ead3e3466] check-in: [5556538a70] user: griffin branch: bug-9933cc4d88, size: 116982
2022-09-24
06:12
merge [trunk] file: [e1ec5c3638] check-in: [89288053a9] user: bch branch: bch_sign_and_width, size: 116977
2022-09-21
18:46
various break-fix measures file: [7c98df5230] check-in: [eb68153185] user: bch branch: bch_sign_and_width, size: 115060
12:37
Merge 8.7 file: [44b17bafcb] check-in: [e855e8c182] user: jan.nijtmans branch: main, size: 116913
2022-09-19
16:30
Sync with core-8-branch, fix shimmer in TclLindexFlat. file: [d1e559c90b] check-in: [5e65443def] user: griffin branch: tip-629, size: 116980
2022-09-07
14:32
Merge 9.0 file: [e0d075a90e] check-in: [b7b016904b] user: jan.nijtmans branch: tcl8-compat, size: 114910
13:26
Merge 8.7 file: [cb94e2a72e] check-in: [da8a38203a] user: jan.nijtmans branch: abstractlist-with-625, size: 116669
2022-09-01
16:06
Merge 8.7 file: [a18f0b4cbc] check-in: [bfae1c76fb] user: jan.nijtmans branch: tip-629, size: 116384
15:16
Merge 8.7 file: [75ed40b489] check-in: [2c2909c0ab] user: jan.nijtmans branch: main, size: 114996
14:49
Change refCount (in ListStore/ListSpan) to size_t. More ClientData -> void *. Eliminate warning about unused functions file: [02ff74084d] check-in: [4f61de7eb7] user: jan.nijtmans branch: core-8-branch, size: 115063
2022-08-31
09:12
Since numAfterRangeEnd (of type size_t) is always >= 0, those LIST_ASSERT's are useless file: [1be2b1f6af] check-in: [926456e64b] user: jan.nijtmans branch: main, size: 115376
2022-08-30
17:56
Sync with core-8-branch listObj changes. file: [8b755c3d82] check-in: [82bd0b88d6] user: griffin branch: tip-629, size: 116764
2022-08-29
09:56
Remove TODO's already done. Only use ListSizeT for types which are 'size_t' in the Tcl 9 implementation file: [d79e7f3e6d] check-in: [b8d47e9100] user: jan.nijtmans branch: core-8-branch, size: 115443
2022-08-28
22:55
Move ArithSeries code to its own files. More bug fixes. file: [a3c6d84a20] check-in: [bf1809b762] user: griffin branch: tip-629, size: 60922
2022-08-24
23:22
Implement support for float (double) values. Add more test coverage. file: [35e4bc1fe5] check-in: [0efb01486a] user: griffin branch: tip-629, size: 86626
2022-08-22
15:48
Merge 9.0 file: [5af99b93f7] check-in: [38ece79e87] user: jan.nijtmans branch: tip-626, size: 59185
2022-08-17
22:32
Bug fixes file: [797783ad9c] check-in: [6db6bdb9af] user: griffin branch: tip-629, size: 80096
2022-08-16
18:33
Implement lrange for arithseries. Code cleanup. file: [f12916a3d3] check-in: [cbd3045166] user: griffin branch: tip-629, size: 80103
2022-08-14
01:22
Rename command from "range" to "lseq". Remove public C API calls, not part of the TIP. Fix shimmer in [join] command. Implement GetElements call for ArithSeries. file: [9981cfcd60] check-in: [6d9ef1c25a] user: griffin branch: tip-629, size: 78555
2022-08-08
19:38
Abstract Lists (TIP-225) initial implementation. file: [80a60cb54f] check-in: [e8d4ce3e08] user: griffin branch: abstractlist-with-625, size: 117518
2022-07-30
20:48
Merge 9.0 and tip-625 file: [198fb0e37a] check-in: [e0689c7926] user: jan.nijtmans branch: tip-625-for-9, size: 115450
2022-07-29
16:41
Garbage collect unreferenced elements in lset implementation. Add tests for garbage collection for commands that modify lists. file: [2c92c7beef] check-in: [f98972a780] user: apnadkarni branch: tip-625, size: 115912
2022-07-27
16:21
merge tip-625 file: [a50b296e02] check-in: [f4126389f6] user: jan.nijtmans branch: tip-625-for-9, size: 115209
16:19
Merge tip-625 file: [24c1f47e83] check-in: [f6cd2e7b05] user: jan.nijtmans branch: tip-625-for-9, size: 114904
16:19
Final prep for TIP625 vote file: [f0384a54d0] check-in: [7439e23e5f] user: apnadkarni branch: tip-625, size: 115671
2022-07-26
17:20
List rep tests for lappend,lset,lassign,lremove,lrange,lpop file: [d2e242ec77] check-in: [ac872631aa] user: apnadkarni branch: tip-625, size: 115366
2022-07-25
06:51
Tests for spanned lists with shared reps file: [5961097fd4] check-in: [e139e1eb08] user: apnadkarni branch: tip-625, size: 114994
2022-07-24
20:41
Merge tip-625 file: [57b8199b8b] check-in: [987844a6c4] user: jan.nijtmans branch: tip-625-for-9, size: 114422
20:04
Fix windows build (invalid '&'). Eliminate end-of-line spacing file: [255738173d] check-in: [d4725a9969] user: jan.nijtmans branch: tip-629, size: 75441
2022-07-23
16:04
sync up with core-8-brnach. file: [db30ff6d22] check-in: [dcbaa175f3] user: griffin branch: tip-629, size: 75467
2022-07-20
03:16
Fixes for listrep-3.15,17. Add tests for spanned intreps file: [b721489ec2] check-in: [5fe246906b] user: apnadkarni branch: tip-625, size: 114884
2022-07-18
14:20
Batch of tests for unshared lists with span file: [dab6865845] check-in: [deaecaecb9] user: apnadkarni branch: tip-625, size: 114541
12:57
Merge tip-625 file: [fe0fe863b7] check-in: [25cc1d1966] user: jan.nijtmans branch: tip-625-for-9, size: 110388
2022-07-17
17:00
Another batch of white box listrep tests file: [f663cefa4a] check-in: [ca537749e2] user: apnadkarni branch: tip-625, size: 113636
2022-07-16
17:22
First few list representation tests file: [85148a6524] check-in: [b64f88a6fa] user: apnadkarni branch: tip-625, size: 112973
15:53
Optimize couple of special cases: - If unshared, prefer in-place deletion at end to span creation. - Range on entire list. file: [1b0bc2bbde] check-in: [f34ad9e990] user: apnadkarni branch: tip-625, size: 112795
2022-07-15
15:50
Start on list representation black box tests file: [1fc905ed48] check-in: [1a50a683a0] user: apnadkarni branch: tip-625, size: 110850
2022-07-14
15:44
'result' variable should be 'int', not 'ListSizeT' file: [8c6dcf02dd] check-in: [3fc1571cbb] user: jan.nijtmans branch: tip-625, size: 108475
15:25
More progress file: [7a2f3a93e5] check-in: [149c68c1aa] user: jan.nijtmans branch: tip-625-for-9, size: 108176
12:35
First shot at TIP #625 for Tcl 9.0. Mark lrepeat-1.8 as 'knownBug', that's OK for now. file: [f067011385] check-in: [ca659ae3fa] user: jan.nijtmans branch: tip-625-for-9, size: 108503
10:57
Put '}' and 'else' at the same line everywhere (code formatting) file: [2520bd2cf9] check-in: [c93df6b27f] user: jan.nijtmans branch: tip-625, size: 108467
03:23
Remove support for double (real) values. Fix a couple cases of shimmering. Don't update the string rep just to convert an ArithSeries to a List. Manpage update. file: [c45e8b9c03] check-in: [f2cc3b1d88] user: griffin branch: tip-629, size: 79591
2022-07-13
13:17
Merge 8.7 (Make ListStore->slots a TCLFLEXARRAY) file: [efc160fd87] check-in: [6b4eba3be8] user: jan.nijtmans branch: tip-625, size: 108501
13:03
Merge 8.7 file: [d544a24c0e] check-in: [d223b1f225] user: jan.nijtmans branch: main, size: 59149
12:37
Make List->elements a TCLFLEXARRAY. Improve documentation (backported from 9.0) file: [4f2d2f6914] check-in: [532c61b7fb] user: jan.nijtmans branch: core-8-branch, size: 59890
2022-07-12
09:57
Fix build file: [6cd620436c] check-in: [e72b0e9fe2] user: jan.nijtmans branch: tip-629, size: 79528
00:58
Implement TIP-225 ArithSeries. And other changes. file: [fd67bd7afe] check-in: [ed4b300841] user: griffin branch: tip-629, size: 79536
2022-06-23
14:05
Merge 9.0 file: [d78b277047] check-in: [24a5f73f89] user: jan.nijtmans branch: tip-626, size: 59028
13:16
Merge 8.7. Update documentation file: [8ffdee0b7f] check-in: [91447bb515] user: jan.nijtmans branch: main, size: 58992
12:58
Merge 8.6 file: [ae30f2b254] check-in: [433d1c4c99] user: jan.nijtmans branch: core-8-branch, size: 64014
12:57
Slightly better integer overflow handling in Tcl_ListObjReplace() file: [f7788dd25f] check-in: [78b3f821c7] user: jan.nijtmans branch: core-8-6-branch, size: 56101
2022-06-13
16:15
Start towards Tcl9 support file: [9e30df1141] check-in: [0961e8623f] user: apnadkarni branch: tip-625, size: 108539
2022-06-12
03:05
Merge core-8-branch after TIP616 file: [c569c4dd18] check-in: [f9ecac6993] user: apnadkarni branch: tip-625, size: 106559
2022-05-29
11:44
Implement bidirection shift to distribute free space in list stores. file: [4e8e3fd0ba] check-in: [b4cae88219] user: apnadkarni branch: tip-625, size: 106504
2022-05-25
22:20
Many int-> size_t file: [4e84c6d453] check-in: [7062de3ba7] user: jan.nijtmans branch: tip-626, size: 59023
2022-05-24
17:20
TIP 625 - Re-implementation of lists file: [0e377847f2] check-in: [a5dbca901e] user: apnadkarni branch: tip-625, size: 105703
2022-05-17
13:27
Merge 9.0 file: [9c367c934e] check-in: [e563372259] user: jan.nijtmans branch: tip-616, size: 58987
12:50
Merge 8.7 file: [16b2fc2545] check-in: [cd18e5535f] user: jan.nijtmans branch: tip-616-for-8.7, size: 64021
11:17
Merge 8.7 file: [92ccbe91f3] check-in: [74c6a378ca] user: jan.nijtmans branch: main, size: 59534
09:32
Rename macro's TclListObjGetElements -> TclListObjGetElementsM and TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616) file: [57558b9cce] check-in: [eaf93525a5] user: jan.nijtmans branch: core-8-branch, size: 63966
07:32
Merge 9.0. Fix compilation (due to new macro's in previous commit) file: [6f40a01f1e] check-in: [53d044ea40] user: jan.nijtmans branch: tip-616, size: 58981
07:18
Merge 8.7. Add macro's for situation without UTF_TCL_STUBS file: [ef1fe9d832] check-in: [3923104571] user: jan.nijtmans branch: tip-616-for-8.7, size: 64015
2022-03-08
22:26
initial work at using signed-storage for cases where values can actually be signed. file: [25c5e31ed7] check-in: [5030ee02cf] user: bch branch: bch_sign_and_width, size: 59558
11:38
More size_t file: [69f1a4a380] check-in: [db643479d3] user: jan.nijtmans branch: tip-616, size: 58926
2022-02-10
08:42
Same with TclListObjGetElements file: [b48cd6dfd4] check-in: [5f2ed67ee3] user: jan.nijtmans branch: tip-616, size: 58926
08:34
Tcl_ListObjLength -> TclListObjLength file: [b22fc7c7dd] check-in: [8186be0b8d] user: jan.nijtmans branch: tip-616, size: 58931
2022-01-27
16:53
Almost complete (at least the API) file: [5ff264e02c] check-in: [5d3dbeefa9] user: jan.nijtmans branch: tip-616, size: 58932
2022-01-26
23:05
more progress file: [339b4218fa] check-in: [8ce4f1cd58] user: jan.nijtmans branch: tip-616, size: 58945
2022-01-24
20:54
More work in progress file: [213513c27a] check-in: [e2382fa2c9] user: jan.nijtmans branch: tip-616, size: 58908
11:53
Tcl Dicts > 2^31 elements too file: [770add5faf] check-in: [6f6602a104] user: jan.nijtmans branch: tip-616, size: 58884
08:18
TIP #616: Tcl lists > 2^31 elements. WIP file: [34ea3345a4] check-in: [ff0a9cf127] user: jan.nijtmans branch: tip-616, size: 58876
2021-11-13
09:09
Add Tcl_ObjTypeVersion(), fix memory errors in integer list functions, adjust lset.test so that objInterface.test can use its tests. All linsert.test and lset.test tests pass for the integer list. file: [e829012d0a] check-in: [1419fa5658] user: pooryorick branch: pyk-objinterface, size: 63100
2021-10-31
16:21
Merge 8.7 file: [0a38d72860] check-in: [e837834cb3] user: jan.nijtmans branch: strict-index-experiment, size: 64090
2021-10-30
19:28
To test object type interfaces, add the beginnings of a list implementation that stores items as an array of integers and the first few tests. All tests pass, and Valgrind reports that no memory leaks are possible. file: [59d1f24eba] check-in: [b7341926fe] user: pooryorick branch: pyk-objinterface, size: 63097
2021-10-26
08:54
Merge 9.0 file: [ad798bd3fc] check-in: [62c63b4818] user: jan.nijtmans branch: pyk-objinterface, size: 62536
2021-10-24
15:55
Fix memory errors in lsearch, add the first few string routines to Tcl_ObjType, modify StringIndexCmd to use to use the Tcl_ObjType interface. Valgrind reports no memory errors. file: [5f8681f175] check-in: [cb6b5b14dd] user: pooryorick branch: pyk-objinterface, size: 62461
2021-10-19
14:42
IntRep -> InternalRep. Internal changes only. file: [4bed62989f] check-in: [40343f5fb6] user: jan.nijtmans branch: core-8-6-branch, size: 56108
2021-10-18
15:02
Add the first few string functions to the Tcl_ObjType interface, move function declarations out of tclInt.h. file: [df63a0848e] check-in: [09c4094c6e] user: pooryorick branch: pyk-objinterface, size: 62482
2021-10-16
22:04
Adapt Tcl_LsearchObjCmd to perform efficient binary search on non-finite Tcl_ObjType list implementations. file: [1b0ca91881] check-in: [25a3e33bc1] user: pooryorick branch: pyk-objinterface, size: 61662
2021-10-14
14:52
Fix TclObjectDispatchNoDefault macro, add a rangeEnd function to the list interface, improve handling of indeterminate in INST_LIST_INDEX_IMM and add similar handling to INST_LIST_RANGE_IMM, file: [a726664b16] check-in: [9bdcab3a2f] user: pooryorick branch: pyk-objinterface, size: 61655
2021-10-13
11:27
Add "indexEnd" function to Tcl_Obj list interface table, ditch idea of using ssize_t, add TclObjectDispatchNoDefault for interface fucntions that have no existing Tcl implemntation, rework TclLindexFlat to route "end" indices to the indexEnd interface if there is one. file: [7461903abe] check-in: [e9c00becf4] user: pooryorick branch: pyk-objinterface, size: 61620
2021-10-10
13:00
Use TCL_INDEX_NONE as the indicator of an invalid index, modify TclLindexFlat to produce an error when "end" is used as an index of a list having indeterminate size, and add tests for [lindex] "end" in this case. file: [224e598146] check-in: [54e350bf02] user: pooryorick branch: pyk-objinterface, size: 61194
2021-10-09
16:39
Add "interp" argument to TclListRange, add new C procedures "TclLengthIsFinite" and "TclLindexLast", start using a length of -1 to indicate that a list is unbounded, and modify TclListObjRange() to be more amenable to unbounded lists, and modify INST_LIST_RANGE_IMM bytecode routine for the same reason. file: [1586e84ced] check-in: [7a9060c4a1] user: pooryorick branch: pyk-objinterface, size: 60953
2021-10-08
08:40
Merge 8.7 file: [876091e21f] check-in: [916029c89c] user: jan.nijtmans branch: main, size: 59528
2021-10-07
21:09
Add length to TclListObjRange since callers alread have it and it makes working with a Tcl_ObjType interface easier. Fix tclListType in tclStrToD.c Adapt INST_LIST_INDEX_IMM in tclExecute.c to work with Tcl_ObjType interfaces. file: [6bcfa92265] check-in: [8264de944f] user: pooryorick branch: pyk-objinterface, size: 60933
19:36
Rework TclLindexFlat to function with Tcl_ObjType interfaces. file: [5c3fb089d1] check-in: [c1089f473d] user: pooryorick branch: pyk-objinterface, size: 60832
2021-10-06
19:33
Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing list file: [6dade618a3] check-in: [0509fa5750] user: jan.nijtmans branch: internalrep, size: 63960
2021-09-28
19:26
Rename the Tcl_ObjType interface.list.append to interface.list.appendlist, use interface.list.append, and add Tcl_ListObjAppendElement to tclListtype. file: [50c64daf5e] check-in: [ae287c18a4] user: pooryorick branch: pyk-objinterface, size: 61269
00:12
Add remaining list routines to the Tcl_ObjType interface. file: [0496321b04] check-in: [4592920887] user: pooryorick branch: pyk-objinterface, size: 61140
2021-09-27
16:07
Add an "interface" member to Tcl_ObjType, and plug lindex and lrange into the interface. file: [77f7762961] check-in: [042c26fa5f] user: pooryorick branch: pyk-objinterface, size: 60584
2021-01-11
10:03
Merge 8.7, resolve conflicts file: [99a74c596f] check-in: [015ff38790] user: jan.nijtmans branch: main, size: 59403
2020-12-08
15:42
Merge 8.7 file: [64672a78a8] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 59394
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: [00b2a58e37] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 63610
2020-10-13
14:59
More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in stead of Tcl_NewIntObj() file: [1de1e1b1de] check-in: [cfbd35f083] user: jan.nijtmans branch: core-8-6-branch, size: 55688
12:40
Revise Tcl to return {} in stead of -1 or {-1 -1} when a search result is emtpy (or not-found) file: [89c3bdbfde] check-in: [c3183c83bf] user: jan.nijtmans branch: empty-not-found, size: 59533
2020-09-28
10:13
Make Tcl compile warning-free using -Wshadow file: [8ae96224aa] check-in: [cb0b42e7fe] user: jan.nijtmans branch: core-8-6-branch, size: 55696
2020-09-18
23:05
Fix gcc warnings, compiling on 32-bit Linux file: [b14e9148be] check-in: [ec6c5484c5] user: jan.nijtmans branch: trunk, size: 59403
13:53
Accept {} as index, and forbid indices starting with '-' if compiled with -DTCL_NO_DEPRECATED file: [2689c10c58] check-in: [ecdb69c0b3] user: jan.nijtmans branch: strict-index-experiment, size: 63749
2020-09-17
14:12
Merge 8.7 file: [744f7e01cc] check-in: [92d5c95fd8] user: jan.nijtmans branch: trunk, size: 59379
13:48
Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> TclNewIntObj or Tcl_NewWideIntObj) file: [b025712021] check-in: [ef22eb8ac3] user: jan.nijtmans branch: core-8-branch, size: 63619
2020-08-11
06:08
Merge 8.6 file: [63573ae1e5] check-in: [bf77bc0365] user: jan.nijtmans branch: core-8-branch, size: 63604
05:39
Eliminate many unnecessary type-casts, mostly (size_t) when value is already size_t or int file: [bc59a533bb] check-in: [013b828787] user: jan.nijtmans branch: core-8-6-branch, size: 55795
2020-06-07
20:31
Merge 8.7 file: [07bfdac655] check-in: [9a0d15188b] user: jan.nijtmans branch: strict-index-experiment, size: 63828
19:35
Merge 8.7. This makes disabling Microsoft warning C4307 no longer necessary: It appears this warning was good for something after all. file: [c0dd492d53] check-in: [1214233eb4] user: jan.nijtmans branch: trunk, size: 59364
19:11
If "endValue" doesn't matter in TclGetIntForIndexM() call, use INT_MAX - 1, not 0 or -1. This results in skipping the Tcl_GetIntFromObj() call for all non-negative integerss file: [4d7d5b48ea] check-in: [e436e10650] user: jan.nijtmans branch: core-8-branch, size: 63613
2020-06-05
11:34
Merge 8.7. Change TclListObjRange() signature, using size_t for index arguments (even though lists itself cannot be larger than INT_MAX elements, but indices still might be larger than that. We don't want modulo behavior here). file: [e7e204e299] check-in: [facb398c04] user: jan.nijtmans branch: trunk, size: 59372
2020-05-29
15:15
Merge jn-index-reform, and fix some test-cases. file: [c9775beef3] check-in: [868f9fc39a] user: jan.nijtmans branch: strict-index-experiment, size: 63815
2020-03-29
20:44
Merge jn-index-reform. Be a little bit more strict file: [4217718d83] check-in: [3f05ac8086] user: jan.nijtmans branch: strict-index-experiment, size: 63685
2020-03-26
09:40
Merge jn-index-reform. Add 'flags' parameter to Tcl_GetIntForIndex(). Not used yet. file: [5b8626372b] check-in: [91983175e0] user: jan.nijtmans branch: strict-index-experiment, size: 63599
2020-03-07
16:03
Merge 8.7 file: [9b9d1efa5c] check-in: [0b1067b090] user: jan.nijtmans branch: trunk, size: 59309
2020-03-06
23:44
more file: [764ec247c0] check-in: [0c2f7a4275] user: dgp branch: core-8-branch, size: 63584
2020-02-29
21:44
Merge 8.7 file: [c6d1058be6] check-in: [19c3a507f7] user: jan.nijtmans branch: trunk, size: 59460
21:42
Better error-message in case of "index out of range", mentioning the actual index which was out of range. Also, use the same error-code, because the underlying cause is all the same. file: [1ce7344ed0] check-in: [4e078fe8e9] user: jan.nijtmans branch: core-8-branch, size: 63735
2020-02-28
16:07
(experiment). How about making Tcl_GetIntForIndex() error-out when the index cannot be valid. E.g. "end+2" can never be a valid index (even though Tcl used to be silent on this). file: [b28f95eb3f] check-in: [66c472a68c] user: jan.nijtmans branch: strict-index-2, size: 63770
12:46
Merge 8.7 file: [bdc6726f03] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 59468
2020-02-27
10:12
Clamp Tcl_GetIntForIndex() functions to never return values smaller than -1 or bigger than end + 1. file: [29b345fd75] check-in: [225cb7cb62] user: jan.nijtmans branch: strict-index-experiment, size: 64053
2020-02-18
12:32
Handle invalid "lset" arguments better. Restrict Tcl_GetIntForIndex() index results between -1 (negative out of range) and listLength (positive out of range). file: [c9e4f8dc5b] check-in: [0245735b8a] user: jan.nijtmans branch: lset-index, size: 63522
2019-08-30
15:21
Let's try a real C++ build with Travis on Linux file: [6a464f775b] check-in: [5732a73bf5] user: jan.nijtmans branch: cplusplus, size: 63743
2019-08-15
15:20
Merge tip-548 file: [f6f72ba035] check-in: [fb24db99f5] user: jan.nijtmans branch: cplusplus, size: 63711
08:10
Merge 8.7 file: [77ce1d6aab] check-in: [f33e2933b5] user: jan.nijtmans branch: trunk, size: 59345
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: [18a029e76d] check-in: [f074bda87c] user: jan.nijtmans branch: no-register, size: 63620
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: [e249cdc076] check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 63810
2019-05-24
20:10
end-of-line spacing file: [b6c887c0eb] check-in: [b770ca8973] user: jan.nijtmans branch: core-8-6-branch, size: 55822
2019-04-19
00:38
merge 8.7 file: [467f93b7b4] check-in: [ddaa30125b] user: dkf branch: trunk, size: 59444
2019-04-18
08:31
Style corrections and warning elimination file: [5e942fddb9] check-in: [6be9e0f989] user: dkf branch: core-8-branch, size: 63719
2019-03-08
00:04
resolves large discrepancies in proc/lambda between 8.5 and 8.6; coverage for [e3f481f187] regression to lookup non-ASCII proc/lambda formal arguments (TclCreateProc/TclPushVarName); cherry-picked from [c9251294d9b8b14d] (pyk-backport-to-8-6) and amend [3e12442cb7829c9f] (fix-comp-local-utf-regres). file: [8b7b2dbc93] check-in: [fb2b91aea8] user: sebres branch: sebres-8-5-comp-8-6-fix, size: 52832
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: [24eeb05dbf] check-in: [2c7db3fa01] user: jan.nijtmans branch: mistake, size: 63718
2019-02-25
21:15
Merge 8.7 file: [ca68cf244d] check-in: [5a8767b61e] user: jan.nijtmans branch: trunk, size: 59443
19:50
New internal macro TclHasIntRep() to re-encapsulate the typePtr field. file: [ade27ed715] check-in: [86b1045cc4] user: dgp branch: core-8-branch, size: 63736
2019-02-04
22:45
Merge trunk file: [68fdbd7891] check-in: [a6db8815ce] user: jan.nijtmans branch: tip-502-for-9, size: 59442
2019-02-01
20:36
Another (big) round of int -> size_t enhancements. So Tcl can handle string >2GiB in more places. file: [1961fef91b] check-in: [8534448b44] user: jan.nijtmans branch: trunk, size: 59418
2019-01-28
21:47
Merge 8.7 file: [7c2db9223c] check-in: [08dd3497f1] user: jan.nijtmans branch: trunk, size: 59375
21:34
New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. But ... don't use this function when the result is only compared to NULL: that's just overkill. file: [350f14127c] check-in: [d3ed67412e] user: jan.nijtmans branch: core-8-branch, size: 63735
2019-01-26
17:08
Merge 8.6. Also reduce tclCharTypeTable[] to 256 entries, as this table is always addressed with unsigned chars now. Eliminate some useless end-of-line spacing that slipped in. file: [73cb14951a] check-in: [6d7fdfa9fa] user: jan.nijtmans branch: core-8-branch, size: 63743
2019-01-20
01:36
Merge trunk. All callers of TclIndexDecode and related functions now adapted for enhanced index range. file: [59753df69e] check-in: [87b7cb4d1c] user: jan.nijtmans branch: tip-502-for-9, size: 59477
2019-01-17
18:02
WIP: Allow value > 2^31 for indexes used in string ranges. Not complete yet. file: [900397d8ee] check-in: [c4f1623e18] user: jan.nijtmans branch: tip-502-for-9, size: 59434
2019-01-16
20:15
Merge 8.7 file: [465c422a45] check-in: [55dbaaaf82] user: jan.nijtmans branch: trunk, size: 59383
2018-12-26
15:04
Many internal int -> size_t increases, so string lengths > 2Gb can be handled correctly in many more places. file: [8251ae620c] check-in: [2549977bc4] user: jan.nijtmans branch: trunk, size: 59385
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: [dcac173a4b] check-in: [c92a5c4373] user: jan.nijtmans branch: trunk, size: 59343
2018-11-13
21:10
[35a8f1c04a] Fix bad lengths when creating string rep of some lists. file: [ac2fc32a60] check-in: [848f2df503] user: dgp branch: trunk, size: 59519
21:04
Implement TIP 445 file: [aa85a0ed7f] check-in: [439113e1be] user: dgp branch: trunk, size: 59420
16:18
Adapted TIP 523 file: [eb3ef7699f] check-in: [b0c34f2f60] user: dgp branch: trunk, size: 57358
2018-11-09
16:18
merge 8.7 file: [7b77af81e5] check-in: [5bce8e80ee] user: dgp branch: mistake, size: 59522
16:16
Merge and adapt 8.6 file: [5df942cc58] check-in: [39988cd759] user: dgp branch: core-8-branch, size: 63744
16:03
merge 8.5 file: [0b7c55ad69] check-in: [9395c566ae] user: dgp branch: core-8-6-branch, size: 55829
15:39
Revise bug fix to support (length == 0) correctly. Added comments and improved safety in caller. file: [340e225f3e] check-in: [3b0bc7a6e1] user: dgp branch: bug-35a8f1c04a, size: 57136
2018-11-06
12:59
merge core-8-branch file: [7da414add3] check-in: [445db2cb18] user: dkf branch: mistake, size: 59423
11:14
Implement TIP 523 file: [2bf688b6b9] check-in: [631b118fda] user: dkf branch: core-8-branch, size: 63645
2018-10-24
22:15
Simplify to only accept index arguemnts. No index list. Added manual page. file: [18e7889307] check-in: [02d45a4442] user: pspjuth branch: tip-523, size: 61560
2018-10-22
18:43
Implement TIP 523, New lpop command file: [c6991591fa] check-in: [00c6ed2b91] user: pspjuth branch: tip-523, size: 61725
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: [a106f74bf6] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 56932
2018-04-15
22:01
Merge trunk file: [02d54da1fb] check-in: [ee95a2c1be] user: jan.nijtmans branch: memory-API, size: 56902
2018-03-30
20:08
merge 8.7 file: [195afc999d] check-in: [dc1a13eb81] user: dgp branch: trunk, size: 56890
19:37
merge 8.7 file: [c4c57949fd] check-in: [c8f51180e2] user: dgp branch: tip-445, size: 63219
2018-03-15
15:34
merge 8.7 file: [684126c849] check-in: [01980b4037] user: dgp branch: pspjuth-lrangeopt, size: 61134
2018-03-07
21:41
Merge 8.7 file: [608f4765c1] check-in: [166c604e57] user: jan.nijtmans branch: trunk, size: 55074
21:21
Merge 8.6 file: [88718333c4] check-in: [655a7278ed] user: jan.nijtmans branch: core-8-branch, size: 59318
15:10
amend to [58716e0e92]: now the duplication is really pointless, so eliminated file: [d99bd14704] check-in: [bca1b5c18a] user: sebres branch: core-8-6-branch, size: 55169
14:16
Remove pointless duplication. file: [cc1294ab89] check-in: [58716e0e92] user: dgp branch: core-8-6-branch, size: 55170
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: 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

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 <[email protected]>
* 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