Tcl Source Code

All files named "generic/tclUtil.c"
Login

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

History for generic/tclUtil.c

2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [8c0587a6d8] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 129834
2024-04-18
15:06
Tidy up some indentation and other little code style issues file: [59c766c319] check-in: [cb11914788] user: dkf branch: tidy-indentation, size: 130138
2024-04-04
12:35
Merge 8.7. encodingPtr -> encodingNamePtr (for consistency) file: [f04bd2883f] check-in: [4a704590fe] user: jan.nijtmans branch: main, size: 130119
11:44
Merge 8.6 file: [78af3ea8a0] check-in: [09cdca236b] user: jan.nijtmans branch: core-8-branch, size: 135093
11:09
Tcl_GetString() -> TclGetString(), for minor speedup. file: [1baf1aa65c] check-in: [0256b2a319] user: jan.nijtmans branch: core-8-6-branch, size: 129697
2024-03-21
13:55
Merge 8.7. Tcl_GetStringFromObj() -> TclGetStringFromObj() (optimization) file: [0d4cd0f45c] check-in: [28e5e230b6] user: jan.nijtmans branch: main, size: 130120
2024-03-20
20:29
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!) file: [b516489013] check-in: [9b8a66aff6] user: jan.nijtmans branch: main, size: 130125
20:09
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!) file: [b67a49bc99] check-in: [3186ba81a2] user: jan.nijtmans branch: core-8-branch, size: 135094
14:27
Merge 9.0 file: [51acf89e28] check-in: [4271f3b52a] user: jan.nijtmans branch: tip-626, size: 130135
2024-03-19
14:56
Fix indentation/brace usage style issues file: [b2a6c76c59] check-in: [1fbff64078] user: dkf branch: main, size: 130140
2024-03-13
09:45
Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6 file: [5c777da8de] check-in: [c575f9dc00] user: jan.nijtmans branch: core-8-branch, size: 135109
2024-03-12
21:24
Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too. file: [321bae3e97] check-in: [63d442cdc0] user: jan.nijtmans branch: main, size: 130179
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: [4761cbbee2] check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 130161
2024-01-06
18:48
Merge 8.7 file: [b034bf6762] check-in: [bff47024c3] user: jan.nijtmans branch: main, size: 130180
2024-01-04
20:58
Merge 9.0 file: [9b584aafb1] check-in: [bfb5c2d0d3] user: jan.nijtmans branch: tip-671, size: 130991
2023-11-08
09:12
Tcl_GetByteArrayFromObj -> Tcl_GetBytesFromObj everywhere in core, since it has the possibility of better error-reporting. This fixes the -DTCL_NO_DEPRECATED build failure file: [fbd38d5d94] check-in: [3d21abe846] user: jan.nijtmans branch: main, size: 130983
2023-10-22
19:49
Remaining fixes for [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usage file: [f15b61e020] check-in: [506bbed9ce] user: jan.nijtmans branch: main, size: 130979
2023-10-19
18:48
Merge 8.7 file: [09968a1eb5] check-in: [f67f60d202] user: jan.nijtmans branch: main, size: 130990
2023-10-17
06:02
Handle sentinels for any C++ compiler file: [082117631b] check-in: [6876d1f99a] user: jan.nijtmans branch: bug-26870862f0, size: 135110
2023-09-12
14:23
Rebase to tip-657 file: [88af78db87] check-in: [0e7c7d2154] user: jan.nijtmans branch: tip-671, size: 130942
10:11
Merge 8.7 file: [b45a64609b] check-in: [d24c3420fa] user: jan.nijtmans branch: main, size: 130934
07:45
TIP #665: Remove support for internal utf-16 for Tcl 8.7 (and 9.0) file: [3aa47ca35e] check-in: [f28f0f4b68] user: jan.nijtmans branch: core-8-branch, size: 135054
2023-08-30
14:38
Rebase to 8.7 file: [a8021efe73] check-in: [6dcc5a1ff0] user: jan.nijtmans branch: tip-665, size: 135056
13:58
Rebase to tip-657 file: [0cfcdaae64] check-in: [cb4d02077f] user: jan.nijtmans branch: tip-671, size: 130882
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: [e829d6425f] check-in: [c66c2fd74d] user: dgp branch: revert-dup-pure, size: 134996

2023-08-14
05:07
merge trunk file: [c9e64be195] check-in: [771e5ad4e4] user: griffin branch: bug-bc7ddc7944, size: 130874
2023-08-13
11:56
Merge in fix for end+1 indices. file: [32ecac495e] check-in: [aedb8e144f] user: apnadkarni branch: bug-bc076f4f0e75, size: 130940
10:35
Fix for Tk [a9929f112a] file: [b1640da1d1] check-in: [4c24b8d272] user: apnadkarni branch: bug-bc076f4f0e75, size: 130838
06:22
Revert [0b05b5c750df] that broke bigdata tests and lseq-1.13 file: [5cc5f1d2d5] check-in: [6985418bfc] user: apnadkarni branch: bug-bc076f4f0e75, size: 130449
04:29
merge trunk file: [55339807a3] check-in: [7fc4b49ef9] user: griffin branch: bug-bc7ddc7944, size: 126732
2023-08-12
23:14
Rename Tcl_BumpObj() to Tcl_BounceRefCount().

After the presentation on Abstract Lists at the 2023 OpenACS/Tcl Conference, there was a strong opinion that this function should be renamed. The results of an informal poll had a tie between Tcl_DoneWithObj() and Tcl_BounceRefCount(). Having seen a reference to "Bounce" in a research paper on Ref Counting, I chose to use Tcl_BounceRefCount(). file: [35e7ea48e2] check-in: [df58824c78] user: griffin branch: main, size: 126798

17:56
More replacements of DuplicateObj with ListObjCopy. file: [0fb498aaf4] check-in: [ec3e985027] user: griffin branch: bug-bc7ddc7944, size: 126718
2023-08-10
21:12
Revert more bits. file: [aefef21d31] check-in: [5ed75d2361] user: griffin branch: bug-bc7ddc7944, size: 126714
17:48
Revert DupolicatePureObj back to DuplicateObj. file: [a5a43c976d] check-in: [a001695bab] user: griffin branch: bug-bc7ddc7944, size: 126754
2023-07-19
09:03
Merge tip-657 file: [a7462004c3] check-in: [fed44ef8c0] user: jan.nijtmans branch: tip-671, size: 126792
2023-07-16
00:24
Fix bug [c25d2cd3e6], as well as memory leaks in lsearch and concat. Add cleanup to some tests. Fix bug and leak in tclTestABSList.c Correct comment in tclArithSeries.c file: [34d49fc855] check-in: [ae23b0ea96] user: griffin branch: main, size: 126784
2023-07-13
05:43
Merge trunk file: [db1ed2694f] check-in: [3f0de542ee] user: apnadkarni branch: tip-671, size: 126663
2023-07-09
12:41
Rebase to 8.7 file: [e8ed2532c1] check-in: [7bf8d24ff3] user: jan.nijtmans branch: tip-665, size: 135122
2023-06-30
14:34
merge trunk file: [bd082c947c] check-in: [9d4f898f95] user: griffin branch: tip-636-tcl9-644, size: 126655
2023-06-29
15:20
Merge trunk file: [72043b5397] check-in: [a18d98ac4e] user: apnadkarni branch: tip-671, size: 126630
2023-06-27
16:19
Merge trunk file: [6cb2b8e4f8] check-in: [d6152d4f01] user: apnadkarni branch: tip-671, size: 130281
15:31
Merge 9.0 file: [96e2180206] check-in: [2b09ea3b64] user: jan.nijtmans branch: bug-a9929f112a, size: 126622
2023-06-26
07:24
Merge unchained branch [22400aa71b] and resolve conflicts. file: [68807ae491] check-in: [961f58e148] user: pooryorick branch: pyk-objinterface, size: 130724
2023-06-23
23:18
Merge 9.0 file: [82f2cc1b0a] check-in: [246d0d16ea] user: jan.nijtmans branch: bug-a9929f112a, size: 126615
2023-06-22
20:07
Merge 8.7 file: [dbf1431564] check-in: [46481b6556] user: jan.nijtmans branch: main, size: 130273
11:59
Proposed fix for [44452e2c55]: indexObj.test failures on i386 file: [1c6347852f] check-in: [05df422a98] user: jan.nijtmans branch: bug-44452e2c55, size: 135062
10:12
WIP for fixing a9929f112a file: [f468717c1b] check-in: [b19e0278f2] user: jan.nijtmans branch: bug-a9929f112a, size: 126503
2023-06-21
14:52
(partial) fix for a9929f112a. Tk needs some changes too file: [2e236dbd2f] check-in: [c7e6b7e8eb] user: jan.nijtmans branch: bug-a9929f112a, size: 134805
2023-06-18
21:30
Merge trunk-encoding-defaultstrict [c499122331]. file: [3724e695a9] check-in: [22400aa71b] user: pooryorick branch: unchained, size: 130221
2023-06-11
11:57
Use lossless profile for links and globalprocessdata (exe name etc.) file: [5673fa9130] check-in: [3bd1fecfcc] user: apnadkarni branch: tip-671, size: 130169
2023-06-01
21:36
Merge 9.0 file: [6290f3254c] check-in: [941600cdb3] user: jan.nijtmans branch: tip-626, size: 126392
2023-05-31
14:12
Use TclDuplicatePureObj() in stead of TclListObjCopy() where appropriate. Backported from 9.0 file: [743e6c253c] check-in: [97cc33cd20] user: jan.nijtmans branch: core-8-branch, size: 134710
2023-05-26
17:15
Function name cleanup. file: [ad0aff7cdb] check-in: [f0e51ed375] user: griffin branch: tip-636-tcl9-644, size: 130194
2023-05-24
23:17
merge trunk file: [9a374d2af3] check-in: [729526d9c8] user: griffin branch: tip-636-tcl9-644, size: 130279
10:31
Remove TCL_SIZE_SMAX, not used anywhere. Some more variable which should have been Tcl_Size file: [8e2920c64d] check-in: [cc316b35f3] user: jan.nijtmans branch: main, size: 130161
2023-05-23
21:36
Merge trunk file: [f4468d1bb1] check-in: [2f493bd21c] user: griffin branch: tip-636-tcl9-644, size: 130279
2023-05-20
20:11
Merge "unchained branch [a03cbbdf63] and resolve conflicts. file: [3b75e6dc4f] check-in: [6803cae7fa] user: pooryorick branch: pyk-objinterface, size: 130449
14:10
Merge "unchained" branch [6b0efb4663] and resolve conflicts. file: [731c219872] check-in: [1b29063091] user: pooryorick branch: pyk-objinterface, size: 130458
2023-05-19
23:07
Merge trunk file: [a5fdf95887] check-in: [ce1ff6df2b] user: apnadkarni branch: bug-c9663296fd, size: 130161
16:47
More refactoring into common code file: [6eb5de3913] check-in: [617dcb269e] user: apnadkarni branch: bug-c9663296fd, size: 130087
12:08
Merge trunk [c405bdd1f0]. file: [3adc59e69c] check-in: [6b0efb4663] user: pooryorick branch: unchained, size: 129946
11:26
Merge "unchained" branch commit [05b72c0b3f] and resolve conflicts. file: [28154c5909] check-in: [2840dda8db] user: pooryorick branch: pyk-objinterface, size: 130336
2023-05-17
22:26
Merge 9.0 file: [44c8e7591a] check-in: [861edc2ab8] user: jan.nijtmans branch: tip-626, size: 126117
16:12
Merge trunk file: [6804c61d7f] check-in: [3e44e4bdd3] user: griffin branch: tip-636-tcl9-644, size: 129937
12:44
Improve TclDuplicatePureObj(), remove unnecessary increment/decrement pairs, and add more error checking. file: [d1b1a916e4] check-in: [c405bdd1f0] user: pooryorick branch: main, size: 129886
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: [5a9ab999fc] check-in: [5c163280ea] user: griffin branch: tip-636-tcl9-644, size: 129938
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: [3a4113f325] check-in: [40af0258ec] user: pooryorick branch: main, size: 129811
2023-05-15
23:08
Refactor couple more reallocations file: [319677eed2] check-in: [3b376ff197] user: apnadkarni branch: bug-c9663296fd, size: 130133
20:23
Refactor allocation in Tcl_DStringAppendElement file: [c466e7003e] check-in: [770c9d949d] user: apnadkarni branch: bug-c9663296fd, size: 131189
2023-05-12
09:34
Merge 9.0 file: [29299c1382] check-in: [c1e4ff0616] user: jan.nijtmans branch: tip-626, size: 126043
2023-05-11
21:47
Merge trunk [05eeae5d67] and resolve conflicts. file: [841088a187] check-in: [ea8f3cd359] user: pooryorick branch: unchained, size: 129872
2023-05-10
21:32
Refactor allocation strategy in Tcl_DStringAppend file: [5e19a0ad37] check-in: [151dd2052b] user: apnadkarni branch: bug-c9663296fd, size: 130479
2023-05-09
15:58
merge trunk file: [ecf5181ca0] check-in: [e487b3b7f1] user: griffin branch: tip-636-tcl9-644, size: 129845
2023-05-08
14:08
Make TclLindexFlat() a litle more straightforward. file: [a86e2fc35d] check-in: [027b027f72] user: pooryorick branch: main, size: 129812
11:35
Use Tcl_Size instead of size_t in two places in TclIndexEncode. file: [a689484e9a] check-in: [c52df109f3] user: pooryorick branch: main, size: 129809
2023-05-07
20:34
Merge 8.7. Restore Tcl_DStringSetLength() behavior, as suggested in [3837178c25] file: [da44485ab5] check-in: [ca456c3719] user: jan.nijtmans branch: main, size: 129805
2023-05-06
19:44
Use Tcl_Size instead of size_t in two places in TclIndexEncode. file: [a48103743d] check-in: [9d3b0a93ad] user: pooryorick branch: py-build-broken, size: 129771
15:54
Make TclLindexFlat() a litle more straightforward.

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

2023-05-03
07:03
Merge 9.0 file: [6d1a9d6177] check-in: [17486d3dce] user: jan.nijtmans branch: tip-626, size: 126103
02:01
merge trunk file: [2a0cb70504] check-in: [d4c2e9791a] user: griffin branch: tip-636-tcl9-644, size: 129797
2023-05-01
19:42
Remove internal use of TCL_UTF_MAX=3 as much as possible, without compromizing existing TIP's file: [28110159b6] check-in: [86503e53c7] user: jan.nijtmans branch: tip-665, size: 134382
09:46
Merge trunk [95cb1987c8]. file: [4faa68226b] check-in: [3380e3fc26] user: pooryorick branch: unchained, size: 129824
2023-04-30
23:09
Partial sync-up with trunk. file: [6f7a533ef1] check-in: [82fe864420] user: griffin branch: tip-636-tcl9-644, size: 128803
2023-04-28
19:19
Remove TclUtfToUCS4(), TclUniCharToUCS4(), and TclUCS4Prev(). file: [46882a0b72] check-in: [0d4245ab9f] user: pooryorick branch: unchained, size: 128830
2023-04-27
12:47
More checks for exceeding max words file: [98f44b6fa8] check-in: [0bea6484c4] user: apnadkarni branch: bug-7cddd2845c, size: 129764
2023-04-21
21:31
Merge 9.0 file: [e0d82d520c] check-in: [f1cb9fbb82] user: jan.nijtmans branch: tip-657, size: 128770
13:32
Merge 9.0 file: [dd6ee84e84] check-in: [b732c118b6] user: jan.nijtmans branch: tip-626, size: 124306
2023-04-20
18:13
sync with trunk. Fix lseq size bugs. file: [fa69f9585b] check-in: [a48444ee91] user: griffin branch: bug-fa00fbbbabe, size: 128829
16:53
Merge 9.0 file: [cb53803c7e] check-in: [aa3e7e529f] user: jan.nijtmans branch: tip-626, size: 123484
2023-04-16
16:58
Merge trunk [32c5b5172b]. file: [22f7221cee] check-in: [5d3e57ab8a] user: pooryorick branch: trunk-encodingdefaultstrict, size: 123259
2023-04-14
15:01
Merge trunk file: [c062115fc8] check-in: [e36ab1e9ba] user: apnadkarni branch: tip-660, size: 128772
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: [d9de500d20] check-in: [d65da06a77] user: pooryorick branch: main, size: 123482
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [7741bb9052] check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 134322
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: [e217d66382] check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 129701
2023-04-05
04:47
Merge 9.0 file: [b53333bf0c] check-in: [fb8da0d00c] user: apnadkarni branch: tip-660, size: 128774
2023-04-04
22:10
Merge 9.0 file: [5c4971af08] check-in: [6e9b08b3ea] user: jan.nijtmans branch: optional-signed-size, size: 123440
21:49
TIP #628 addendum (various fixes to improve handling of 8.7 <-> 9.0 header differences) file: [3f0af21e5c] check-in: [d29e69a635] user: jan.nijtmans branch: main, size: 123484
20:50
more progress file: [c542673aad] check-in: [4e36871191] user: jan.nijtmans branch: optional-signed-size, size: 123370
2023-04-02
21:49
Merge 9.0. Add some more utility macro's file: [d39315af0b] check-in: [4bedba476d] user: jan.nijtmans branch: optional-signed-size, size: 123307
2023-04-01
10:27
Merge 9.0 file: [103bb600fb] check-in: [4dbed74737] user: jan.nijtmans branch: tip-660, size: 128787
2023-03-30
22:22
Merge 8.7 file: [3e6ba6ea18] check-in: [7c9d2dc7a3] user: jan.nijtmans branch: main, size: 123346
22:02
Merge 8.6 file: [901d2ec372] check-in: [166e8656a7] user: jan.nijtmans branch: core-8-branch, size: 134324
18:01
TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntu file: [c6c27bb18e] check-in: [eb81a25271] user: apnadkarni branch: tip-660, size: 128768
15:19
Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it on other platforms either. file: [f02145642c] check-in: [ec56f33813] user: jan.nijtmans branch: bug-0cb3554903, size: 129703
2023-03-25
00:29
Merge trunk file: [84f2b246ff] check-in: [f6aa53859c] user: griffin branch: tip-636-tcl9-644, size: 123359
2023-03-24
20:58
Merge 8.7 file: [4d253b5b1e] check-in: [6301de2138] user: jan.nijtmans branch: main, size: 123327
20:47
Merge 8.6 file: [5ef62f42c0] check-in: [87cd711c2a] user: jan.nijtmans branch: core-8-branch, size: 134286
20:19
Fix [15e74a2fe6]: Fix various typos file: [092427a99e] check-in: [c44138ed03] user: jan.nijtmans branch: core-8-6-branch, size: 129665
2023-03-22
20:17
Merge 9.0 file: [b487b02bc0] check-in: [38f7cdb888] user: jan.nijtmans branch: internal-abstract-list, size: 124224
2023-03-01
07:19
Merge 9.0 file: [255dee6af2] check-in: [eb12679c83] user: apnadkarni branch: tip-656-tcl9, size: 123326
2023-02-25
09:26
Fix and tests for [46dda6fc29] file: [8291ef98ac] check-in: [82e7ae4b54] user: apnadkarni branch: bug-46dda6fc29, size: 123303
03:03
Compiles and runs. Tests still to be ported. file: [ab8fa08746] check-in: [c057c79d2b] user: apnadkarni branch: tip-656-tcl9, size: 123322
2023-02-22
17:07
port jan-encoding-profile to 9.0 file: [b502d62221] check-in: [900d53d140] user: jan.nijtmans branch: jan-encoding-profile-for-9.0, size: 123303
2022-12-28
23:35
Unify TCL_ENCODING_STRICT and TCL_ENCODING_NOCOMPLAIN, and make strict encoding conformance the default everywhere. file: [6fb45774a8] check-in: [8252783124] user: pooryorick branch: trunk-encodingdefaultstrict, size: 123255
2022-12-18
18:08
MODULE_SCOPE TclLengthOne (in stead of 2 separate static functions doing the same) file: [b594909835] check-in: [8778167a3c] user: jan.nijtmans branch: main, size: 123299
10:05
Reserve a place in abstractlist for an additional function file: [bb8aba122c] check-in: [f66b360335] user: jan.nijtmans branch: tip-636-tcl9-644, size: 123332
2022-12-07
23:56
Add 'getdouble' function to ObjType, used for abstractlist types. -- Experimental file: [1d8090d111] check-in: [edf337e697] user: griffin branch: tip-636-tcl9-644, size: 123312
2022-12-02
15:23
complete all 'GetElements' functions file: [6233a74163] check-in: [cc0534c9be] user: jan.nijtmans branch: internal-abstract-list, size: 124197
13:35
Implement GetElements for listObj and endOffsetObj. Not used yet. file: [35b57d31d4] check-in: [b0660bc9fa] user: jan.nijtmans branch: internal-abstract-list, size: 124173
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: [1fc3a987cc] check-in: [b12de6dcc9] user: jan.nijtmans branch: tip-636-tcl9-644, size: 123302
2022-11-30
22:17
Add getElementsProc. Not used yet file: [4eb6e0e70a] check-in: [360cdc6766] user: jan.nijtmans branch: internal-abstract-list, size: 123300
2022-11-29
17:45
Rebase to core-8-6-branch file: [f05f71653f] check-in: [59f8a83829] user: jan.nijtmans branch: fix-initsubsystem-75ecc0e6cb9899bf, size: 132376
17:28
Rebase to later 8.6 version file: [ca620b7966] check-in: [dff639e3f2] user: jan.nijtmans branch: fix-initsubsystem-75ecc0e6cb9899bf, size: 133362
2022-11-28
15:58
Merge 9.0. New macro ABSTRACTLIST_PROC file: [ca32f35873] check-in: [31ba65f113] user: jan.nijtmans branch: internal-abstract-list, size: 123290
2022-11-27
23:37
size_t result for lengthProc. More usage of Tcl_GetWideUIntFromObj file: [560550ab0e] check-in: [fc0a4e4085] user: jan.nijtmans branch: internal-abstract-list, size: 123286
2022-11-26
23:57
HAS_ABSTRACTLIST_PROC file: [4fe79d92da] check-in: [504365e7e0] user: jan.nijtmans branch: internal-abstract-list, size: 123298
2022-11-24
03:32
Sync with trunk file: [4b02381508] check-in: [3c349bb440] user: griffin branch: tip-636-tcl9-644, size: 123171
2022-11-23
17:04
Internal abstract list, don't let "llength" shimmer any more. file: [e2defa6fb3] check-in: [db554866c9] user: jan.nijtmans branch: internal-abstract-list, size: 123296
2022-11-20
17:51
Merge 8.7 file: [3edcc6e5be] check-in: [83c627a303] user: jan.nijtmans branch: main, size: 123166
17:38
Merge 8.6. TIP #651 implementation (since there are already 2 YES votes, no NO votes expected) file: [78cccab043] check-in: [4218e66972] user: jan.nijtmans branch: core-8-branch, size: 134285
2022-11-17
04:54
TIP 651 implementation file: [3d7f5e919d] check-in: [daadbbf337] user: apnadkarni branch: tip-651, size: 134283
2022-11-09
16:29
Rebase to latest trunk file: [754ba46300] check-in: [9c26ed6942] user: jan.nijtmans branch: tip-644-alt, size: 123150
13:45
Merge trunk. Also update Tcl_ObjType.version to match TIP 644 file: [1b6785f16d] check-in: [67db36998a] user: apnadkarni branch: tip-644, size: 123163
2022-11-04
22:47
Implement abstractlist with tip-644 file: [b2d8bd4e5f] check-in: [3aa22fe8ab] user: griffin branch: tip-636-tcl9-644, size: 123168
2022-11-02
16:25
Fix testcase failure (assemble-15.9), only seen on 32-bit file: [f190088c5b] check-in: [c9824d203e] user: jan.nijtmans branch: main, size: 123143
13:18
Fix [00cced7b87]: Incorrect handling of indices > 0x80000000 in byte compiler (64-bit Tcl) file: [22a819fcbc] check-in: [4aad15c2be] user: jan.nijtmans branch: main, size: 123106
2022-11-01
17:02
Bug-fix for TIP #502 implementation: Two missing out-of-bound situations in TclIndexEncode(), one for index > MAX_INT, one for index < end-MAX_INT file: [330483ed7c] check-in: [a2abe625fe] user: jan.nijtmans branch: core-8-branch, size: 134411
16:13
Two missing out-of-bound situations in TclIndexEncode(), one for index > MAX_INT, one for index < end-MAX_INT file: [954ec8ae88] check-in: [05e443d172] user: jan.nijtmans branch: main, size: 122884
08:26
Don't bother to provide a TCL_OBJTYPE_SIZE macro file: [a8c9978200] check-in: [04e8efd4ac] user: jan.nijtmans branch: tip-644-alt, size: 122762
2022-10-24
11:47
Another possible approach file: [f0b8b074cd] check-in: [dc7f554cb0] user: jan.nijtmans branch: tip-644-alt, size: 122777
2022-10-21
08:55
Rebase to 9.0 file: [3b1ed6b2e8] check-in: [d72aeeeaac] user: jan.nijtmans branch: tip-644, size: 122775
2022-10-17
18:43
merge 8.7 file: [83fd30287e] check-in: [cb55366d46] user: dgp branch: main, size: 122755
2022-10-11
18:31
merge 8.7 file: [a0b74da71c] check-in: [e8eacf5908] user: dgp branch: tip-getnumber, size: 134282
15:07
TIP 644 - Make Tcl_ObjType extensible file: [573f607d39] check-in: [6d1d103cf6] user: apnadkarni branch: tip-644, size: 122770
2022-10-07
11:19
Merge 8.7 file: [e9ce0e201b] check-in: [64fed808b1] user: jan.nijtmans branch: main, size: 122750
11:02
More -1 -> TCL_INDEX_NONE file: [fbbe096d5f] check-in: [3e162348c1] user: jan.nijtmans branch: core-8-branch, size: 134277
10:24
Merge 8.6 file: [d330f91df2] check-in: [0bb1c96e9e] user: jan.nijtmans branch: core-8-branch, size: 134034
10:18
Follow-up to [1599352cca]: Tcl_Merge(): out-of-bounds write, more signed integer overflow. Better panic message when argc < 0. file: [6f99d93b9f] check-in: [63b0443866] user: jan.nijtmans branch: core-8-6-branch, size: 129661
2022-10-06
10:15
Merge 8.7 file: [41ffbbcf5d] check-in: [ed075af7b1] user: jan.nijtmans branch: main, size: 122670
09:45
Merge 8.6 file: [2840bf7062] check-in: [81bb3f9e62] user: jan.nijtmans branch: core-8-branch, size: 133948
2022-10-05
15:31
Fix [1599352cca] and related issues file: [7ceb3c26cd] check-in: [337d46bdb8] user: jan.nijtmans branch: bug-1599352cca, size: 129575
2022-09-21
17:50
merge [trunk] file: [b7569fa28a] check-in: [ab16261020] user: bch branch: bch_sign_and_width, size: 122694
2022-09-18
13:59
TIP implementation to add/use public routines Tcl_GetNumber(FromObj). file: [0c0d5abf6b] check-in: [c445146cc8] user: dgp branch: tip-getnumber, size: 133940
2022-07-09
05:59
Merge core-8-branch file: [fce6b81ce5] check-in: [550e9ca76e] user: apnadkarni branch: tip-625, size: 134002
2022-06-24
10:41
Don't use TCL_HASH_TYPE for epoch/refCount type variables, keep it the same as it was in Tcl 8.6 file: [f3ea7f278f] check-in: [2ffde115d4] user: jan.nijtmans branch: core-8-branch, size: 133935
2022-06-20
21:47
Fix (internal) TclFindElement() signature (int -> size_t) file: [420f421bc9] check-in: [728f51f3a7] user: jan.nijtmans branch: main, size: 122656
21:26
More Tcl_Size , file: [1e76de195e] check-in: [9ce47ca77b] user: jan.nijtmans branch: tcl8-compat, size: 122703
2022-06-12
03:05
Merge core-8-branch after TIP616 file: [073226b5ec] check-in: [f9ecac6993] user: apnadkarni branch: tip-625, size: 134011
2022-06-08
10:23
TIP #616: Tcl lists > 2^31 elements file: [38a52c11d6] check-in: [574358cda4] user: jan.nijtmans branch: main, size: 122700
2022-05-24
17:20
TIP 625 - Re-implementation of lists file: [f491301da1] check-in: [a5dbca901e] user: apnadkarni branch: tip-625, size: 133990
2022-05-17
13:27
Merge 9.0 file: [87afb40e9a] check-in: [e563372259] user: jan.nijtmans branch: tip-616, size: 122730
12:50
Merge 8.7 file: [1102c3a052] check-in: [cd18e5535f] user: jan.nijtmans branch: tip-616-for-8.7, size: 133944
11:17
Merge 8.7 file: [fbe0ed5d68] check-in: [74c6a378ca] user: jan.nijtmans branch: main, size: 122653
09:32
Rename macro's TclListObjGetElements -> TclListObjGetElementsM and TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616) file: [acf400f3e2] check-in: [eaf93525a5] user: jan.nijtmans branch: core-8-branch, size: 133923
07:32
Merge 9.0. Fix compilation (due to new macro's in previous commit) file: [874eebb1bd] check-in: [53d044ea40] user: jan.nijtmans branch: tip-616, size: 122729
07:18
Merge 8.7. Add macro's for situation without UTF_TCL_STUBS file: [b9ce989b71] check-in: [3923104571] user: jan.nijtmans branch: tip-616-for-8.7, size: 133943
2022-04-20
20:24
merge [trunk] file: [7191458ee5] check-in: [3550542d19] user: bch branch: bch_sign_and_width, size: 122690
2022-03-24
10:48
When compiled with TCL_NO_DEPRECATED, remove the UTF16 compatibility layer. So, we make sure that it is never used internally for the Core. This means that extensions using the compatibility layer won't work any more in this mode; extensions should be compiled using TCL_UTF_MAX=4 then they work again. file: [03d520788e] check-in: [a68880dccd] user: jan.nijtmans branch: full-utf-for-87, size: 133922
2022-03-21
14:19
Merge 9.0 file: [e48cd2f9ee] check-in: [d5e4d34abb] user: jan.nijtmans branch: tip-616, size: 122708
14:18
Fix compiler warnings, due to the use of macro's file: [28c54bf772] check-in: [67dcdf17e2] user: jan.nijtmans branch: main, size: 122652
2022-03-12
23:21
Start defining "utf32string" type file: [1a6c89419a] check-in: [b46d5c684f] user: jan.nijtmans branch: full-utf-for-87, size: 133915
2022-03-08
22:26
initial work at using signed-storage for cases where values can actually be signed. file: [7eaf1a4fcf] check-in: [5030ee02cf] user: bch branch: bch_sign_and_width, size: 122636
2022-03-07
11:52
More int -> size_t file: [6ff9ec17ae] check-in: [f8c76f841a] user: jan.nijtmans branch: tip-616, size: 122654
2022-03-06
16:10
Fix [4789e18fcb]: signed integer overflow during obj-31.6 file: [37d42f6198] check-in: [7913cae186] user: jan.nijtmans branch: core-8-6-branch, size: 129527
2022-02-25
14:44
Merge 8.7 file: [03d9edf9cf] check-in: [19d6b0a063] user: jan.nijtmans branch: tip-615, size: 134398
2022-02-17
21:32
Merge 9.0 file: [aa04962f54] check-in: [1fdefed9bc] user: jan.nijtmans branch: tip-616, size: 122606
17:33
Merge 8.7 file: [3cd017e002] check-in: [45515911a5] user: jan.nijtmans branch: main, size: 122598
17:30
Deprecate internal macro's TclIsInfinite() and TclIsNan(), since C99 has isinf() and isnan() file: [be305f2deb] check-in: [60df467246] user: jan.nijtmans branch: core-8-branch, size: 133915
2022-02-16
14:18
Merge 8.7 file: [608c7fa109] check-in: [9c9eb4873b] user: jan.nijtmans branch: tip-615, size: 134409
2022-02-14
18:10
Merge 8.7 file: [1b037639f8] check-in: [27a9a7d379] user: jan.nijtmans branch: strict-index-experiment, size: 134624
2022-02-10
09:45
Merge 8.7 file: [5013ced9aa] check-in: [d7e83e77e8] user: jan.nijtmans branch: main, size: 122609
09:37
Merge 8.6 file: [14f4c59da4] check-in: [c03b7afd75] user: jan.nijtmans branch: core-8-branch, size: 133926
08:34
Tcl_ListObjLength -> TclListObjLength file: [f23dfc855b] check-in: [8186be0b8d] user: jan.nijtmans branch: tip-616, size: 122617
08:22
Merge 9.0. Restore Tcl_ArgvGenFuncProc to what it was before (doesn't make much sense to make this size_t-aware) file: [5ef237f19c] check-in: [495bcd3142] user: jan.nijtmans branch: tip-616, size: 122618
2022-02-09
16:36
Merge 8.7 file: [86c81301ec] check-in: [bbe803a0eb] user: jan.nijtmans branch: tip-615, size: 134410
2022-02-08
14:24
Merge 8.7 file: [cac539f096] check-in: [8a0cd3b6c1] user: jan.nijtmans branch: main, size: 122610
14:23
Correct previous commit (Windows build error) file: [a28f5dceac] check-in: [0f4dcb0e40] user: jan.nijtmans branch: core-8-branch, size: 133927
2022-02-07
22:21
Merge 8.7 file: [33b88c2b98] check-in: [df2d8de0fc] user: jan.nijtmans branch: main, size: 122611
15:35
Fix [1fe745559a]: 8.7, 9.0: Conditional jump or move depends on uninitialised value in Tcl_UniCharToUtf file: [6cc7bd9e48] check-in: [4e0909a17e] user: jan.nijtmans branch: bug-1fe745559a, size: 133928
2022-01-31
11:49
Merge 8.7 file: [4b6ea369ea] check-in: [8b1bfefd8e] user: jan.nijtmans branch: tip-615, size: 134348
2022-01-27
22:26
3 more API's file: [7328f4782a] check-in: [7413e9f3e3] user: jan.nijtmans branch: tip-616, size: 122556
2022-01-26
12:11
Change Tcl_Merge API too file: [6100b79412] check-in: [bbdecfb21c] user: jan.nijtmans branch: tip-616, size: 122561
08:37
More WIP file: [32f35dea64] check-in: [3f003f3286] user: jan.nijtmans branch: tip-616, size: 122566
2022-01-24
20:54
More work in progress file: [ac068e4c25] check-in: [e2382fa2c9] user: jan.nijtmans branch: tip-616, size: 122563
11:01
Fix another bug in Tcl_GetIntForIndex() (demonstrated by the new testcases from the previous commit) file: [9c24517779] check-in: [96fd21c06c] user: jan.nijtmans branch: core-8-branch, size: 133865
08:18
TIP #616: Tcl lists > 2^31 elements. WIP file: [b6320b06a2] check-in: [ff0a9cf127] user: jan.nijtmans branch: tip-616, size: 122548
2022-01-21
11:11
Merge 8.7 file: [87ff5d8edf] check-in: [ebedbf9a12] user: jan.nijtmans branch: main, size: 122548
08:43
Add test-cases for Tcl_GetIntForIndex(). This reveals a minor bug file: [2c8ff5435c] check-in: [2858475ed7] user: jan.nijtmans branch: bug-a9929f112a, size: 133883
2022-01-19
14:21
(partial) fix for a9929f112a. WIP file: [c1522ad8c5] check-in: [7460813a8a] user: jan.nijtmans branch: bug-a9929f112a, size: 133938
2022-01-18
14:40
TIP #615: string is index. WIP file: [0444ccd564] check-in: [9077972219] user: jan.nijtmans branch: tip-615, size: 134377
2021-12-21
17:36
code formatting file: [889fe6b55a] check-in: [7ef07fde2f] user: jan.nijtmans branch: strict-index-experiment, size: 134592
2021-10-31
22:41
Simplify -matchvar/-indexvar processing of regexp/switch file: [f0e5465dca] check-in: [899b89ec3b] user: jan.nijtmans branch: simpl_matchvar, size: 133963
16:21
Merge 8.7 file: [077779b5a2] check-in: [e837834cb3] user: jan.nijtmans branch: strict-index-experiment, size: 134491
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: [a9f80a5a58] check-in: [b7341926fe] user: pooryorick branch: pyk-objinterface, size: 123338
2021-10-26
13:28
Add the macro TCL_LENGTH_NONE. file: [054356292e] check-in: [4082ab835f] user: pooryorick branch: pyk-objinterface, size: 123317
08:54
Merge 9.0 file: [a1d003ad4e] check-in: [62c63b4818] user: jan.nijtmans branch: pyk-objinterface, size: 123316
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: [b72313ad60] check-in: [cb6b5b14dd] user: pooryorick branch: pyk-objinterface, size: 123262
2021-10-19
14:42
IntRep -> InternalRep. Internal changes only. file: [1e0ec4b808] check-in: [40343f5fb6] user: jan.nijtmans branch: core-8-6-branch, size: 129529
2021-10-16
09:45
at least - make it compile/run on UNIX file: [d0f477135e] check-in: [9d93f3da12] user: jan.nijtmans branch: pyk-objinterface, size: 123261
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: [afc18b8ca1] check-in: [e9c00becf4] user: pooryorick branch: pyk-objinterface, size: 123249
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: [44e05927ec] check-in: [54e350bf02] user: pooryorick branch: pyk-objinterface, size: 123109
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: [eb0878fa83] check-in: [7a9060c4a1] user: pooryorick branch: pyk-objinterface, size: 123101
2021-10-08
08:40
Merge 8.7 file: [180dbe2160] check-in: [916029c89c] user: jan.nijtmans branch: main, size: 122580
2021-10-06
19:33
Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing list file: [c4715ff48b] check-in: [0509fa5750] user: jan.nijtmans branch: internalrep, size: 133894
2021-04-17
23:26
Use C enums instead of clusters of #defines file: [15c81fa8ed] check-in: [9cc837d642] user: dkf branch: enum, size: 133854
12:43
merge core-8-branch file: [a9da1d6561] check-in: [5f5a67aa44] user: dkf branch: enum-and-inline, size: 133838
2021-04-14
19:21
merge 8.7 file: [fbd7f27369] check-in: [7a4648746a] user: dgp branch: main, size: 122525
19:19
merge 8.6 file: [0224cff0a8] check-in: [03dc2d7a0d] user: dgp branch: core-8-branch, size: 133834
18:58
merge 8.5; adapt fix for 8.6 file: [2d71809307] check-in: [dd1bbf497c] user: dgp branch: core-8-6-branch, size: 129524
18:37
Bug fix file: [0fc2545a45] check-in: [92651a5aae] user: dgp branch: bug-26649439c7, size: 118328
2021-04-07
16:47
Use a lot more enums and inline funcs instead of macros; behaviour is more predictable. file: [1b09bb9e83] check-in: [03219f19f4] user: dkf branch: enum-and-inline, size: 133679
2021-03-15
12:31
Merge 8.7 (this is the TIP #575 implementation for Tcl 9.0) file: [6b319af932] check-in: [3fed9809e1] user: jan.nijtmans branch: main, size: 122366
2021-02-16
09:11
Merge 8.7 file: [6db76cf78e] check-in: [7cc4841229] user: jan.nijtmans branch: tip-575, size: 133675
08:39
Merge 8.7. Fix warning in tclStubInit.c when TCL_UTF_MAX=3 file: [0980ae3fa1] check-in: [e203a7e507] user: jan.nijtmans branch: main, size: 122517
08:30
Merge 8.6 file: [323f1fccb2] check-in: [2f8eeeca1b] user: jan.nijtmans branch: core-8-branch, size: 133826
08:10
Fix Tcl_UtfPrev for TCL_UTF_MAX>3, so it can jump back over Emoji. Backported from 8.7, no change for TCL_UTF_MAX=3. This way, the previous fix can be slightly more simplified, and working for TCL_UTF_MAX>3 too. file: [d8f7175d6e] check-in: [5437791423] user: jan.nijtmans branch: core-8-6-branch, size: 129365
2021-02-15
16:26
Merge 8.7 file: [eb37f35f76] check-in: [27fe95d43f] user: jan.nijtmans branch: main, size: 122431
16:20
Merge 8.6 file: [ffa072e9aa] check-in: [a6473415cd] user: jan.nijtmans branch: core-8-branch, size: 133734
16:13
Fix [d43f96c1a8]: string trimright is broken for Emoji file: [b8df8e1542] check-in: [6c9e75198c] user: jan.nijtmans branch: core-8-6-branch, size: 129370
2021-01-11
10:03
Merge 8.7, resolve conflicts file: [66565a617c] check-in: [015ff38790] user: jan.nijtmans branch: main, size: 122372
2020-12-13
16:59
Merge 8.7 file: [09da4b93f1] check-in: [0631cdce81] user: jan.nijtmans branch: tip-575, size: 133676
2020-12-08
15:42
Merge 8.7 file: [dcedf462e0] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 122363
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: [e24138afb0] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 133675
2020-11-05
17:06
Merge 8.7 file: [6c43ce6ca3] check-in: [23c0c45dd0] user: jan.nijtmans branch: tip-575, size: 133682
2020-10-14
16:18
Backport tiny part of "empty-not-found". Just allow the empty string as index, meaning the same as "-1". Nothing else file: [4da2b7a349] check-in: [6631261ba4] user: jan.nijtmans branch: empty-not-found-backport, size: 133750
06:08
Merge 8.7 file: [0138e0eafa] check-in: [a5f7cc9ba9] user: jan.nijtmans branch: tip-575, size: 133661
2020-10-13
14:59
More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in stead of Tcl_NewIntObj() file: [d802ca7cf9] check-in: [cfbd35f083] user: jan.nijtmans branch: core-8-6-branch, size: 129383
12:40
Revise Tcl to return {} in stead of -1 or {-1 -1} when a search result is emtpy (or not-found) file: [34e448aa64] check-in: [c3183c83bf] user: jan.nijtmans branch: empty-not-found, size: 122771
2020-10-12
09:27
Merge 8.7 file: [9230f07407] check-in: [ff7bcb2801] user: jan.nijtmans branch: strict-index-experiment, size: 134278
2020-09-28
10:49
Merge 8.7 file: [38970caf05] check-in: [07a4a82fd2] user: jan.nijtmans branch: trunk, size: 122369
10:39
Merge 8.6 file: [fd5c981444] check-in: [ef2427283a] user: jan.nijtmans branch: core-8-branch, size: 133681
2020-09-18
13:53
Accept {} as index, and forbid indices starting with '-' if compiled with -DTCL_NO_DEPRECATED file: [7360ee438a] check-in: [ecdb69c0b3] user: jan.nijtmans branch: strict-index-experiment, size: 134293
09:43
Merge 8.7. Undo signature change for Tcl_GetIntForIndex file: [26b60200a1] check-in: [6b2676abbb] user: jan.nijtmans branch: strict-index-experiment, size: 134017
2020-09-17
14:12
Merge 8.7 file: [53c9c593d8] check-in: [92d5c95fd8] user: jan.nijtmans branch: trunk, size: 122393
13:48
Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> TclNewIntObj or Tcl_NewWideIntObj) file: [0377721a88] check-in: [ef22eb8ac3] user: jan.nijtmans branch: core-8-branch, size: 133704
2020-09-15
15:07
Merge 8.7 file: [0f34819036] check-in: [ce41b9c9c1] user: jan.nijtmans branch: trunk, size: 122397
15:00
Merge 8.7 file: [f7002499a1] check-in: [43eeb75b62] user: jan.nijtmans branch: bug-b5777d3d32, size: 133642
2020-09-02
20:22
Fix for test lindex-18.0 file: [1aa067a597] check-in: [c230d05b49] user: dgp branch: dgp-nested-execution, size: 133708
2020-09-01
22:26
This patch fixes the failing case reported, but is really a work around of a considerably deeper bug.

When GetEndOffsetFromObj() needs to do index arithmetic calculations with bignum arguments, rather than code all of that directly, it tries to call on the routine we already have for that, Tcl_ExprObj().

Problem is that apparently a call to Tcl_ExprObj() in certain scenarios leads to nested (?) calls of TclNRExecuteByteCode() and somehow this mangles the expectations of the TclStack(Alloc|Free) routines in their abuse of the execution stack space.

It's very complicated and I haven't figured it out yet.

We can accept this patch as a fix for the reported bug. But if so, we should open a new bug that Tcl_ExprObj() has undocumented conditions on when it can be safely called. That's bad for a public routine. file: [0c04271efe] check-in: [b48d59721d] user: dgp branch: bug-b5777d3d32, size: 133871

2020-07-21
07:54
Merge 8.7 file: [560eb08dd7] check-in: [b23af47e56] user: jan.nijtmans branch: trunk, size: 122484
2020-07-20
14:58
Merge 8.6 file: [615ac4325b] check-in: [2f045a43d6] user: jan.nijtmans branch: core-8-branch, size: 133795
2020-07-13
14:24
More WIP file: [2740769aa9] check-in: [38b4e0ed91] user: jan.nijtmans branch: no-master-slave, size: 129387
2020-07-02
14:16
Complaining on index "-1" is too strict, not wise to do for Tcl 8.x. file: [2c9f3b3d60] check-in: [777747e2ff] user: jan.nijtmans branch: strict-index-experiment, size: 135858
2020-06-17
10:57
when compiled with -DTCL_NO_DEPRECATED, be as strict in compiled functions as in non-compiled ones file: [ba986c4e70] check-in: [1b2b92844f] user: jan.nijtmans branch: strict-index-experiment, size: 135853
2020-06-16
16:41
Merge 8.7 file: [efa5456f2b] check-in: [04bb16f1d9] user: jan.nijtmans branch: strict-index-experiment, size: 135726
12:43
Merge 8.7 file: [3319ce20b1] check-in: [6deef9f426] user: jan.nijtmans branch: trunk, size: 122484
12:24
Make Tcl_GetIntForIndex() do reasonable things when endValue < -1 and when indexPtr == NULL. file: [34ca45d92d] check-in: [aed31dfc6d] user: jan.nijtmans branch: core-8-branch, size: 133795
2020-06-12
11:54
Let Tcl_GetIntForIndex() handle negative "endValue" values more reasonable. Needed for Tk's "string-index" branch. file: [e06cc1496e] check-in: [5c10bdc61d] user: jan.nijtmans branch: strict-index-experiment, size: 135684
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: [b6cf1940db] check-in: [facb398c04] user: jan.nijtmans branch: trunk, size: 122417
2020-06-04
15:15
Merge 8.7. Use more TCL_INDEX_NONE in documentation/headers/code. file: [7a91d54b9c] check-in: [baad702302] user: jan.nijtmans branch: trunk, size: 122581
2020-05-28
08:05
Allow the empty string "" as valid index too, representing "none" file: [5aa5dfac19] check-in: [6974c6eec8] user: jan.nijtmans branch: strict-index-experiment, size: 135637
2020-05-24
22:35
Merge jn-index-reform branch file: [b507981ca7] check-in: [2d1fc5b3d1] user: jan.nijtmans branch: strict-index-experiment, size: 135572
22:34
Merge 8.7 file: [8178cf855e] check-in: [3184183373] user: jan.nijtmans branch: jn-index-reform, size: 133612
2020-05-22
14:36
Merge 8.7 Add function Tcl_UniCharFold(). It's the same as Tcl_UniCharToLower() for now, but that will change. file: [6077c7e935] check-in: [c338858460] user: jan.nijtmans branch: tip-575, size: 133728
2020-05-18
10:51
Merge 8.7. Update documentation file: [93dba0b454] check-in: [566357910d] user: jan.nijtmans branch: tip-575, size: 133749
2020-05-14
10:27
Merge 8.7 file: [9b2640a114] check-in: [4654931a26] user: jan.nijtmans branch: trunk, size: 122596
10:16
Merge 8.6 file: [02aa7d45df] check-in: [10e951f190] user: jan.nijtmans branch: core-8-branch, size: 133748
09:46
In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the individual bytes of a string searching for '(', ')', '::' or other single bytes. It is overkill to use Tcl_UtfPrev/Tcl_UtfNext for that, since those characters can only appear as their ASCII byte, not as any other sequence. This effectively removes the last Tcl_UtfNext() call from the core, the only ones left are in tclTest.c for test commands. So the TclUtfNext() macro doesn't make sense any more. Remove "register" keyword from many files. file: [e0071c1f70] check-in: [aa6cbf0a7f] user: jan.nijtmans branch: core-8-6-branch, size: 129387
2020-05-12
18:59
First, experimental implementation of TIP #575. Barely tested, will fail. WIP file: [68467c46d6] check-in: [d15b9cb99e] user: jan.nijtmans branch: tip-575, size: 133729
2020-05-05
16:31
Merge 8.7 file: [df4623b248] check-in: [d3f247fc3a] user: jan.nijtmans branch: trunk, size: 122575
16:20
Merge 8.6 file: [404bf4a2b4] check-in: [b07935f03d] user: jan.nijtmans branch: core-8-branch, size: 133727
16:00
More usage of TclUtfToUCS4(), so we can use the whole Unicode range better in TCL_UTF_MAX>3 builds. file: [ddcbb3a654] check-in: [26e57ca148] user: jan.nijtmans branch: core-8-6-branch, size: 129393
2020-04-24
10:49
Merge 8.7 file: [f3ff71c5f9] check-in: [aa56ee88d9] user: jan.nijtmans branch: trunk, size: 122657
2020-04-20
11:30
Code cleanup (more typecasts), making it more compatible with -Wc++-compat. Less use of /* ARGUSED */. file: [40c6f19493] check-in: [6e3b6a611f] user: jan.nijtmans branch: core-8-6-branch, size: 129503
2020-04-17
05:49
Merging forward the Utf changes. Needs some repair yet. file: [b0a9d33ef4] check-in: [36303870fc] user: dgp branch: dgp-fixme, size: 133809
2020-04-16
20:38
Merge 8.5. Failing tests for now. To be remedied shortly. file: [dbba746f6e] check-in: [6596c4af31] user: dgp branch: core-8-6-branch, size: 129335
18:15
merge 8.5 file: [ed60fb05df] check-in: [80f651b10f] user: dgp branch: dgp-utf-next, size: 118284
18:14
Create and use macro TclUtfPrev for Tcl_UtfPrev. file: [d4b223de7c] check-in: [3ba6c74d19] user: dgp branch: core-8-5-branch, size: 118285
2020-04-15
18:59
TclTrimRight/TclTrimLeft: removed mixed declarations and code (forbidden in ISO C90, declaration-after-statement); restored mistakenly removed part of check-in [578c25b43a] (move Tcl_UniChar initializations out of the loop), but "ch2" belongs to the inner loop, so move it inside outer interation. file: [26fd004ae2] check-in: [4eb66645d6] user: sebres branch: core-8-6-branch, size: 129337
2020-04-14
20:18
Create and use an optimized macro TclUtfNext() for Tcl_UtfNext(). file: [0070062cfa] check-in: [7a62f79951] user: dgp branch: dgp-utf-next, size: 118285
14:48
Fix windows build (with older compilers) file: [f3db9c6285] check-in: [51b230586a] user: jan.nijtmans branch: core-8-branch, size: 133811
14:30
Merge 8.7 file: [93eea405c7] check-in: [bd5cc21d39] user: jan.nijtmans branch: trunk, size: 122659
10:17
Merge 8.6 file: [7f764f7189] check-in: [250fd8a281] user: jan.nijtmans branch: core-8-branch, size: 133811
2020-04-13
21:36
Merge 8.5. Failing tests highlight ticket [1b1f5f0b53]. file: [af4b67b1a5] check-in: [50b6d532c4] user: dgp branch: core-8-6-branch, size: 129325
16:51
[a7f685a181] Eliminate botched call of Tcl_UtfPrev. file: [465a10b32b] check-in: [72ce3b9c00] user: dgp branch: core-8-5-branch, size: 118286
14:29
merge 8.5 file: [89e2aa774b] check-in: [a1214ed279] user: dgp branch: dgp-utf-prev-alt, size: 118313
14:21
TclTrim() can also demand NUL-terminated arguments, and be simplified. file: [868649ea8c] check-in: [869537c21d] user: dgp branch: core-8-5-branch, size: 118096
13:51
TclTrimLeft and TclTrimRight are internal routines. They demand NUL-terminated arguments. That's a reasonable burden to put on internal callers, and all existing callers already meet it. file: [1b4bd9ec91] check-in: [810eec64e8] user: dgp branch: core-8-5-branch, size: 119311
10:05
Merge jn-index-reform file: [87e278254d] check-in: [fceb35f4f7] user: jan.nijtmans branch: strict-index-experiment, size: 136524
02:31
merge 8.5 file: [33189378ca] check-in: [d8eeb99198] user: dgp branch: dgp-utf-prev-alt, size: 120501
02:28
[c61818e4c9] [string trimright] robustly handle backing up over incomplete or malformed byte sequences. file: [17e384bf7c] check-in: [d15a2b241e] user: dgp branch: core-8-5-branch, size: 120284
02:10
Cherrypick partial fix. file: [1abc53b52c] check-in: [e1968e91c8] user: dgp branch: core-8-5-branch, size: 120036
2020-04-09
19:22
merge 8.5 file: [fc6a3a1331] check-in: [d3bf59e09a] user: dgp branch: dgp-utf-prev-alt, size: 120250
19:04
[085913c760] Fix Tcl_DStringAppendElement quoting of #. file: [2343f8e500] check-in: [104ddd0206] user: dgp branch: core-8-5-branch, size: 120051
17:30
Guarantee TclNeedSpace and TclFindElement have common definition of whitespace by having both call the same routine. Create a macro form to contain performance costs and adapt callers. file: [49b2f40887] check-in: [da9a473a26] user: dgp branch: core-8-5-branch, size: 119508
16:24
[afa4b28153] Correct TclNeedSpace handling of trailing escaped space. file: [aa7fc711d5] check-in: [9b738a1d8f] user: dgp branch: core-8-5-branch, size: 119888
2020-04-08
13:26
partially revert [e8bfb4c2ba884b1b], a prevention added previously in string trim functions (compare char lengths) is not needed with new version of Tcl_UtfPrev (leave other optimizations as appropriate, may be important in some obscure case not covered by current or future implementation of Tcl_UtfPrev/Tcl_UtfToUniChar) file: [f6e917d7bd] check-in: [57aa5dae72] user: sebres branch: sebres-utf-prev-fix, size: 119186
09:44
Merge 8.7 file: [8e8b26e31b] check-in: [87b9d4c288] user: jan.nijtmans branch: jn-index-reform, size: 134564
2020-04-07
20:05
fixes [c61818e4c9] for all variants of string trim file: [60a0bee523] check-in: [e8bfb4c2ba] user: sebres branch: bug-c61818e4c9, size: 119406
18:27
closes regression in string trimright [c61818e4c9] without modifying of Tcl_UtfPrev (so certain inconsistency by Tcl_UtfPrev/TclUtfToUniChar still remains) file: [e66cf82688] check-in: [6d7a13ed20] user: sebres branch: bug-c61818e4c9, size: 118972
2020-04-06
20:50
Merge 8.7 file: [fdcb68757f] check-in: [60b19d3d44] user: jan.nijtmans branch: trunk, size: 123566
20:33
Fix [dd010cadfb]: [string trim] mishandles surrogates file: [46b97a9e70] check-in: [b2cf8c2a88] user: jan.nijtmans branch: core-8-branch, size: 134700
2020-03-30
10:01
Move used flag values up for Tcl_GetIntForIndex(). Be more strict in usage of value -1 as index. file: [e4f8064ac8] check-in: [03f73570f9] user: jan.nijtmans branch: strict-index-experiment, size: 136568
2020-03-26
15:48
Start using the 'flags' parameter of Tcl_GetIntForIndex(). Still WIP. file: [79d96b44ea] check-in: [e38b507841] user: jan.nijtmans branch: strict-index-experiment, size: 136492
09:40
Merge jn-index-reform. Add 'flags' parameter to Tcl_GetIntForIndex(). Not used yet. file: [99065e458f] check-in: [91983175e0] user: jan.nijtmans branch: strict-index-experiment, size: 135326
2020-03-20
13:02
Merge jn-index-reform file: [ab2cbb1997] check-in: [1390c5d311] user: jan.nijtmans branch: strict-index-experiment, size: 135308
12:59
Merge 8.7 file: [18a8971d9f] check-in: [f95c23d055] user: jan.nijtmans branch: jn-index-reform, size: 134608
2020-03-18
14:06
Merge 8.7 file: [8902d8b1fc] check-in: [1d0787097e] user: jan.nijtmans branch: trunk, size: 123610
13:54
Merge 8.6 file: [7b837b2c0a] check-in: [2b7c852b44] user: jan.nijtmans branch: core-8-branch, size: 134744
12:51
More uppercase HEX representations in source-code. file: [f963a79053] check-in: [7d760e228e] user: jan.nijtmans branch: core-8-6-branch, size: 130194
2020-03-17
16:58
Merge jn-index-reform file: [44319f5c89] check-in: [09cf9f4362] user: jan.nijtmans branch: strict-index-experiment, size: 135410
16:56
Merge 8.7 file: [f72a314241] check-in: [17c506a9a9] user: jan.nijtmans branch: jn-index-reform, size: 134608
14:07
Implement "none" index and "string is none"/"string is index" commands. No compiled version yet. file: [2ab429779f] check-in: [88c45a2fec] user: jan.nijtmans branch: strict-index-experiment, size: 135439
01:20
merge 8.7 file: [9a1e4688ef] check-in: [4d9717c8ef] user: dgp branch: trunk, size: 123610
01:01
TIP 569 - remove lint comments file: [a1f6b50224] check-in: [658a498ae4] user: dgp branch: core-8-branch, size: 134744
2020-03-16
15:59
Merge jn-index-reform. New implementation of basic idea, based on this index reform. file: [2f150b5e64] check-in: [5df7ddb5bd] user: jan.nijtmans branch: strict-index-experiment, size: 135335
14:51
Complete implementation. Let's take some time for testing. file: [f8c0566d35] check-in: [9d32466d21] user: jan.nijtmans branch: jn-index-reform, size: 134637
13:38
More WIP file: [9facb539eb] check-in: [44ff81220e] user: jan.nijtmans branch: jn-index-reform, size: 134620
09:07
Further simply TclIndexEncode(), and fix range checks. file: [3741614a13] check-in: [ffcfbe4405] user: jan.nijtmans branch: jn-index-reform, size: 134039
2020-03-15
23:44
Simplify TclIndexEncode(). Range checks not 100% correct yet. More WIP. file: [41e1008d80] check-in: [2f58abbb5f] user: jan.nijtmans branch: jn-index-reform, size: 134647
2020-03-13
23:32
WIP: Reform internal representation of "end-offset" type, so it can be used for "integer-integer" as well. file: [c3bb271683] check-in: [b4fb638333] user: jan.nijtmans branch: jn-index-reform, size: 135014
12:42
Merge 8.7. Add many "nodep" restrictions to test-cases, so they pass (too much, actually, WIP!) file: [0f45e516fb] check-in: [b2cf2d65ed] user: jan.nijtmans branch: strict-index-2, size: 136101
2020-03-12
22:43
Merge 8.7. More progress. file: [4e29355899] check-in: [e90505aff4] user: jan.nijtmans branch: strict-index-2, size: 135992
2020-03-09
16:34
merge 8.7 file: [37187e68cf] check-in: [a0ed9240c8] user: dgp branch: trunk, size: 123623
13:15
More file: [8c23edf619] check-in: [c708d98e98] user: dgp branch: core-8-branch, size: 134773
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: [36fba69c12] check-in: [66c472a68c] user: jan.nijtmans branch: strict-index-2, size: 135966
12:46
Merge 8.7 file: [fbe1be5fb3] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 123651
2020-02-27
10:12
Clamp Tcl_GetIntForIndex() functions to never return values smaller than -1 or bigger than end + 1. file: [1fc9c06f45] check-in: [225cb7cb62] user: jan.nijtmans branch: strict-index-experiment, size: 134703
2020-02-19
10:31
Handle endValue < -1. Improve documentation of new behavior. file: [2cfa53d283] check-in: [69c8d35a07] user: jan.nijtmans branch: lset-index, size: 134730
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: [eae4acd6b0] check-in: [0245735b8a] user: jan.nijtmans branch: lset-index, size: 134674
2020-01-07
15:20
Merge 8.7 file: [fd5b3abf8a] check-in: [b219c8f278] user: jan.nijtmans branch: cplusplus, size: 134817
2019-12-22
15:10
Merge 8.7 file: [c35e920886] check-in: [17eb426bbf] user: jan.nijtmans branch: trunk, size: 123410
14:55
Merge 8.6 file: [65a933de34] check-in: [6169c6b18a] user: jan.nijtmans branch: core-8-branch, size: 134647
14:52
Minor optimization in TclFormatInt: No need to check for "0" as special value. No need to include final NULL-byte in character-reversion operation, as we already known the NULL-byte will come last. file: [d5a53e9b18] check-in: [d2501d3df7] user: jan.nijtmans branch: core-8-6-branch, size: 130194
2019-12-20
14:23
Two more unused arguments. Merge 8.7 file: [0011730068] check-in: [9ecacdc143] user: jan.nijtmans branch: cplusplus, size: 134956
2019-12-19
22:16
Merge 8.7 file: [7892888d6e] check-in: [965581b579] user: jan.nijtmans branch: trunk, size: 123549
22:12
Merge 8.6 file: [9abcb1c8a2] check-in: [32bc878a76] user: jan.nijtmans branch: core-8-branch, size: 134786
22:11
Merge 8.5 file: [bff684d2ab] check-in: [c1664053c0] user: jan.nijtmans branch: core-8-6-branch, size: 130333
22:09
Add type-cast, making sure that the unary minus is handled correctly on any compiler file: [5ee4fe3829] check-in: [bb8e7386bf] user: jan.nijtmans branch: core-8-5-branch, size: 118987
22:04
Merge 8.6 file: [2b1c929a9a] check-in: [36076a5acc] user: jan.nijtmans branch: core-8-branch, size: 134758
21:31
Merge 8.5 file: [94939b9c64] check-in: [5e9890b208] user: jan.nijtmans branch: core-8-6-branch, size: 130303
2019-12-16
10:09
Better fix for [3390638]: making the intVal variable unsigned prevents the need for using sprintf() altogether. file: [9d57f4712b] check-in: [c164ea07e7] user: jan.nijtmans branch: core-8-5-branch, size: 118957
2019-12-13
15:39
Merge 8.7 file: [47be91b189] check-in: [a4ec5ee9ad] user: jan.nijtmans branch: cplusplus, size: 135288
13:06
Merge 8.7 file: [60f5ee0cdd] check-in: [742a212258] user: jan.nijtmans branch: trunk, size: 123881
2019-12-02
20:26
If TCL_UTF_MAX>=4, make Tcl_ParseBackslash combine two surrogates so they appear as one 4-byte UTF-8 byte sequence from the start. Add test-case for this. file: [3a7d069d22] check-in: [43032d7ba3] user: jan.nijtmans branch: core-8-6-branch, size: 130637
2019-11-04
12:10
Merge 8.7 file: [3814015bfb] check-in: [d6202cc2c7] user: jan.nijtmans branch: cplusplus, size: 135285
2019-11-01
11:25
Re-base to core-8-branch file: [12f50a1341] check-in: [0dd430544f] user: jan.nijtmans branch: digit-bit-60, size: 135118
2019-10-30
21:40
Merge 8.7 file: [ceadb7f8d5] check-in: [a9c21685d3] user: jan.nijtmans branch: trunk, size: 123878
21:34
Merge 8.6 file: [f68ae586e4] check-in: [7e030f58de] user: jan.nijtmans branch: core-8-branch, size: 135115
2019-10-29
12:42
Combine TCL_DD_SHORTEN_FLAG and TCL_DD_SHORTEST to be the same flag (which it is .... actually) file: [dbaf70408d] check-in: [6e9c82e9e0] user: jan.nijtmans branch: core-8-branch, size: 135140
2019-09-14
21:52
Merge 8.7 file: [ee0e1dcbfc] check-in: [6f27e2ad0a] user: jan.nijtmans branch: cplusplus, size: 135318
13:07
Merge 8.7 file: [9e4b729016] check-in: [9ea2eea22d] user: jan.nijtmans branch: trunk, size: 123903
2019-09-12
14:49
Merge 8.7 file: [7e8b25ec5d] check-in: [5ce97959fe] user: jan.nijtmans branch: trunk, size: 123916
14:19
Merge 8.7 file: [46ca49bcbc] check-in: [6f354f84fd] user: jan.nijtmans branch: tip-548, size: 135148
14:12
More code cleanup: Move more Tcl_UniChar initializations out of the loop. Remove unnecessary type-casts file: [d060e9947f] check-in: [578c25b43a] user: jan.nijtmans branch: core-8-6-branch, size: 130647
11:26
Merge 8.6 file: [fbde9f74b4] check-in: [f21c1c05aa] user: jan.nijtmans branch: core-8-branch, size: 135161
11:01
Code cleanup: Add some initialization to "Tcl_UniChar ch" declaration, making the chance higher that 4-byte UTF-8 sequences are handled more reasonable internally (see: a179564826). Use more TclGetString() in stead of Tcl_GetString(), which is slightly more efficient. file: [a2b7abbe54] check-in: [38a4ab150c] user: jan.nijtmans branch: core-8-6-branch, size: 130886
2019-09-03
20:32
Mark more unused parameters file: [19841619f9] check-in: [c07dbdd62a] user: jan.nijtmans branch: cplusplus, size: 135343
2019-08-15
15:20
Merge tip-548 file: [401ec84017] check-in: [fb24db99f5] user: jan.nijtmans branch: cplusplus, size: 135410
08:59
Merge 8.7 file: [f468eb989d] check-in: [42a10393d8] user: jan.nijtmans branch: tip-548, size: 135173
08:10
Merge 8.7 file: [25f2972dd7] check-in: [f33e2933b5] user: jan.nijtmans branch: trunk, size: 123920
2019-08-03
20:25
Merge tip-548 (since using the *WChar* functions leads to less type-casts in c++) Als finish implementaton for MacOSX file: [13dd6d7ee1] check-in: [3da6c33030] user: jan.nijtmans branch: cplusplus, size: 135482
2019-08-01
16:03
Merge 8.7. Documentation improvements and code cleanup. Approaching finish. file: [5472453c5e] check-in: [57546481c1] user: jan.nijtmans branch: tip-548, size: 135245
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: [77e27bbecf] check-in: [f074bda87c] user: jan.nijtmans branch: no-register, size: 135186
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: [3a616bff93] check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 135495
2019-05-31
23:35
Merge tip-547 file: [21850e35c3] check-in: [9265001ec1] user: jan.nijtmans branch: utf-max, size: 135243
12:50
TIP 537 implementation: Enable 64-bit indexes in regexp matching file: [566d6e4703] check-in: [6e8aae14c1] user: jan.nijtmans branch: trunk, size: 123938
12:37
Merge 8.7 file: [13a033abb6] check-in: [ddccfc4443] user: jan.nijtmans branch: trunk, size: 123918
2019-05-24
20:10
end-of-line spacing file: [f289f5d49c] check-in: [b770ca8973] user: jan.nijtmans branch: core-8-6-branch, size: 130856
2019-05-22
07:32
More WIP: eliminate all usage of (platform-specific) Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() to its proposed portable replacements: Tcl_Utf16ToUtfDString()/Tcl_UtfToUtf16DString() This allows for Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() to be declared deprecated. file: [a628370c39] check-in: [a33e22b6ba] user: jan.nijtmans branch: utf-max, size: 135240
2019-05-15
14:58
TIP #544 implementation. Documentation still missing. file: [2da2156d4f] check-in: [13417ed7df] user: jan.nijtmans branch: tip-544, size: 135258
2019-04-09
19:21
Merge 8.7. Complete implementation for MSVC and for UNIX. file: [ed51619f9b] check-in: [b392834e2c] user: jan.nijtmans branch: digit-bit-60, size: 135258
2019-04-03
19:52
Merge 8.7 file: [dc575f9761] check-in: [c1bdc62c2a] user: jan.nijtmans branch: utf-max, size: 135242
2019-04-01
19:36
Modify testbytestring such that is only produces pure byte-arrays, if not it errors out. Modify Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewWideIntObj. Less references to "long" datatype. file: [683881125e] check-in: [3c92680ac9] user: jan.nijtmans branch: core-8-branch, size: 135255
2019-03-31
22:03
Enhance documentations. Move TCL_INDEX_NONE from tclInt.h to tcl.h, since it's too useful. file: [b460a43dd6] check-in: [b1a506218e] user: jan.nijtmans branch: regexp-api-64bit, size: 123935
2019-03-28
22:49
Merge 8.7 file: [567b18baca] check-in: [eebb1e7ee1] user: jan.nijtmans branch: utf-max, size: 135225
2019-03-27
23:58
Merge 8.7 file: [e2da00ee6a] check-in: [721f693b1f] user: jan.nijtmans branch: trunk, size: 123915
23:48
Make Tcl_StringMatch() into a wrapper macro around Tcl_StringCaseMatch() file: [030c5a892f] check-in: [9610a55327] user: jan.nijtmans branch: core-8-branch, size: 135238
2019-03-17
22:01
More WIP. Seems to be *almost* working. file: [e7189dff82] check-in: [ab13cbd74c] user: jan.nijtmans branch: utf-max, size: 135116
2019-03-16
21:10
Merge 8.7 Move up some stub entries related to Tcl_UniChar Use TCL_UTF_MAX=4 for full Unicode in stead of TCL_UTF_MAX=6 (TCL_UTF_MAX: 3 is default) file: [3ee07596d7] check-in: [81502a66ed] user: jan.nijtmans branch: utf-max, size: 135129
2019-03-15
21:17
Merge 8.7 file: [85d04d0535] check-in: [3dcb7571f5] user: jan.nijtmans branch: trunk, size: 124617
20:52
Eliminate usage of mp_isneg(), just check bignum->sign directly (as libtommath itself does) Make TclInitBugnumFromLong() a static function in stubtable only, as it isn't used by Tcl anymore. file: [7a031dd5ee] check-in: [515a22d41d] user: jan.nijtmans branch: core-8-branch, size: 135139
2019-03-13
20:44
Eliminate many (mostly harmless) MSVC warning messages. Tcl 9 compiles warning-free now on MSVC. file: [002af1b2ec] check-in: [cf865c6e2b] user: jan.nijtmans branch: trunk, size: 124588
2019-03-08
22:51
Merge 8.7 file: [0bb8d70383] check-in: [fe02c8898e] user: jan.nijtmans branch: trunk, size: 124572
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: [6bdf9c0a04] check-in: [fb2b91aea8] user: sebres branch: sebres-8-5-comp-8-6-fix, size: 119210
2019-03-07
22:02
Fixes for TCL_UTF_MAX=6, (gcc compiler warnings). Also make everything work on win32/win64. Patch adapted from Androwish (thanks, Werner!) file: [729040b8ce] check-in: [650574e0fb] user: jan.nijtmans branch: utf-max-6, size: 135110
2019-03-02
16:04
Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish. file: [0846c6fbba] check-in: [9e1984c250] user: jan.nijtmans branch: core-8-6-branch, size: 130879
2019-03-01
21:59
Merge 8.7 file: [168176ae5a] check-in: [3e48d44568] user: jan.nijtmans branch: trunk, size: 124551
21:05
More use of TclHasIntRep() macro. Add vfs build director to fossil ignore-glob file: [8d4f9e55a5] check-in: [6df74d3d53] user: jan.nijtmans branch: core-8-branch, size: 135097
2019-02-27
21:29
Fix [bd94500678e837d7]: SEGFAULT by conversion of unicode (out of BMP) to byte-array file: [01b13ba006] check-in: [efe8f3e6b0] user: jan.nijtmans branch: core-8-branch, size: 135096
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: [8f57c8c8fc] check-in: [2c7db3fa01] user: jan.nijtmans branch: mistake, size: 135091
2019-02-25
21:10
Finish complete fix, all corner-cases correct now. Also spurious UTF-8 testcase failure (as seen on travis) fixed now. file: [52076fbfe5] check-in: [b3d886c84f] user: jan.nijtmans branch: bug-bd94500678, size: 135141
2019-02-05
21:58
Merge trunk file: [958258061d] check-in: [b95e36dfa8] user: jan.nijtmans branch: tip-502-for-9, size: 124550
21:35
More size_t-related consolidations. Now regexp can handle strings >2GB and more. Remove many type-casts which are not necessary any more. file: [72d9395d91] check-in: [4b4fe25e7d] user: jan.nijtmans branch: trunk, size: 124542
2019-02-04
22:45
Merge trunk file: [d308ff3bc7] check-in: [a6db8815ce] user: jan.nijtmans branch: tip-502-for-9, size: 124511
2019-01-28
21:47
Merge 8.7 file: [5b50eeaeea] check-in: [08dd3497f1] user: jan.nijtmans branch: trunk, size: 124593
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: [1dd44a3c9e] check-in: [d3ed67412e] user: jan.nijtmans branch: core-8-branch, size: 135136
2019-01-25
13:27
merge 8.7 file: [a7c1922721] check-in: [782eff18c4] user: sebres branch: trunk, size: 124594
2019-01-24
20:10
Another round of int -> size_t modifications, so strings > 2Gb are handled correctly on 64-bit platforms. file: [2b2b085a03] check-in: [0c0ff65606] user: jan.nijtmans branch: trunk, size: 124638
2019-01-22
21:44
One more libtommath function, mp_tc_div_2d, which simplifies code. Some more code readability improvements. file: [fc05459caa] check-in: [e8e92eb381] user: jan.nijtmans branch: core-8-branch, size: 135137
2019-01-20
01:36
Merge trunk. All callers of TclIndexDecode and related functions now adapted for enhanced index range. file: [9bc604b995] check-in: [87b7cb4d1c] user: jan.nijtmans branch: tip-502-for-9, size: 124672
2019-01-18
22:44
Merge 8.7 file: [3abe66ebe3] check-in: [69b656c2fa] user: jan.nijtmans branch: trunk, size: 124639
22:18
Clamp output of TclIndexDecode() between -1 (TCL_INDEX_NONE) and INT_MAX. Use this to produce slightly better error-message for lsort -index file: [c9fc792a6d] check-in: [63d377db23] user: jan.nijtmans branch: core-8-branch, size: 135181
2019-01-17
18:02
WIP: Allow value > 2^31 for indexes used in string ranges. Not complete yet. file: [61eddc3923] check-in: [c4f1623e18] user: jan.nijtmans branch: tip-502-for-9, size: 125472
2019-01-16
20:15
Merge 8.7 file: [11e5c74266] check-in: [55dbaaaf82] user: jan.nijtmans branch: trunk, size: 124554
19:43
More TIP #502 optimizations and improvements, preparing further for the road to Tcl 9. No longer use INT_MAX for TCL_INDEX_AFTER, because INT_MAX can be a normal index in Tcl 9. TclGetIntForIndex now clips between -1 and INT_MAX. In Tcl 9 size_t will be used for the index data type. file: [ba98cbd893] check-in: [171a83b60e] user: jan.nijtmans branch: core-8-branch, size: 135114
2019-01-15
12:34
next amend to [3e0a2d99f3]: fixes TclGetIntForIndex for border case of end offset (size_t)-1 if empty subject, (e. g. failed with out of range by `lset lst end+1 ...` on empty list) on 32-bit system; introduces new internal macro TclWideIntFromSize for correct conversion of size_t to wide-int to consider platform-related negative value ((size_t)-1), if wide-int and size_t have different dimensions (e. g. on 32-bit platforms). file: [4b9929c1cd] check-in: [8a67f59280] user: sebres branch: trunk, size: 124654
2018-12-26
15:04
Many internal int -> size_t increases, so string lengths > 2Gb can be handled correctly in many more places. file: [8bda537cfb] check-in: [2549977bc4] user: jan.nijtmans branch: trunk, size: 124648
2018-12-12
19:38
If compiled with -DTCL_NO_DEPRECATED, remove Tcl_NewIntObj/Tcl_NewLongObj/Tcl_DbNewLongObj from stub table, as they will be gone in 9.0 (converted to a macro) Use Tcl_WideInt's directly in more places, diminishing the possibility of inadvent overflow. file: [36acecd448] check-in: [72e64ef096] user: jan.nijtmans branch: core-8-branch, size: 135292
2018-11-18
10:29
Now that we have TCL_AUTO_LENGTH/TCL_IO_FAILURE macro's, use them to make code and documentation more readable.

Shifted to feature branch as a temporary measure since it doesn't build. file: [42c1e84605] check-in: [d828309515] user: jan.nijtmans branch: jn-use-macros, size: 124625

2018-11-09
16:18
merge 8.7 file: [2cf96d797e] check-in: [5bce8e80ee] user: dgp branch: mistake, size: 124611
16:16
Merge and adapt 8.6 file: [383d76300a] check-in: [39988cd759] user: dgp branch: core-8-branch, size: 135323
16:03
merge 8.5 file: [407882533c] check-in: [9395c566ae] user: dgp branch: core-8-6-branch, size: 130874
15:39
Revise bug fix to support (length == 0) correctly. Added comments and improved safety in caller. file: [8ce4690830] check-in: [3b0bc7a6e1] user: dgp branch: bug-35a8f1c04a, size: 119285
14:19
closes [35a8f1c04a]: minimalist fix - beware of discrepancy between TclScanElement and TclConvertElement (prefer braces considering TCL_DONT_QUOTE_HASH in case of first list element) file: [b44d129cbd] check-in: [2ec58720e9] user: sebres branch: bug-35a8f1c04a, size: 118778
2018-11-06
12:59
merge core-8-branch file: [edda0c9ce7] check-in: [445db2cb18] user: dkf branch: mistake, size: 124017
09:51
Implement TIP 445 file: [a76650eb44] check-in: [bfd27f7857] user: dkf branch: core-8-branch, size: 134729
2018-10-29
19:58
Merge 8.7 file: [4e719ea1e9] check-in: [f96f19e7e4] user: jan.nijtmans branch: trunk, size: 124063
19:57
Fix compilation on Visual C++ 6.0, which doesn't have LLONG_MIN/LLONG_MAX file: [6487c826a5] check-in: [28c1c59dbb] user: jan.nijtmans branch: core-8-branch, size: 134775
2018-10-24
02:00
merge 8.7 file: [4f541ad77c] check-in: [11878ebb4d] user: dgp branch: tip-445, size: 134752
2018-10-23
23:42
merge 8.7 file: [8335f88971] check-in: [eebc90221c] user: dgp branch: trunk, size: 124086
23:09
Streamline and comment combined routine. file: [327d6751fc] check-in: [6e1e4b84af] user: dgp branch: bug-d1d05d1c7a, size: 134798
19:11
rework the logic a bit file: [8ec10eba2a] check-in: [83584c485d] user: dgp branch: bug-d1d05d1c7a, size: 134485
19:01
End the deprecated practice of accepting "e" and "en" as valid index values. file: [876ff8545e] check-in: [b881052e97] user: dgp branch: bug-d1d05d1c7a, size: 134589
18:49
Refactor the SetEndOffsetFromAny() routine into its only caller. file: [6e3425a646] check-in: [9bd9d04ad9] user: dgp branch: bug-d1d05d1c7a, size: 134561
18:24
The "end-offset" type is unregistered. No need for a setFromAnyProc. Remove and simplify. file: [9a258c4717] check-in: [4c6668c50a] user: dgp branch: bug-d1d05d1c7a, size: 135564
17:58
merge 8.7 file: [681642d828] check-in: [d647776905] user: dgp branch: bug-d1d05d1c7a, size: 135896
2018-10-22
20:41
Merge 8.7 file: [1eb6025a1d] check-in: [066566fd78] user: jan.nijtmans branch: trunk, size: 125000
18:36
Missing ',' in documentation (discovered by MacOSX help processing). Some whitespacing file: [77d3474faf] check-in: [0a84e79434] user: jan.nijtmans branch: core-8-branch, size: 135717
2018-10-19
19:18
[d1d05d1c7a] Tests and fix for bignums in end-offset index value parsing. file: [6cdf4cbe29] check-in: [a9a1abe2b6] user: dgp branch: bug-d1d05d1c7a, size: 135897
2018-10-18
15:31
merge 8.7 file: [c78ffa5330] check-in: [000ee6e038] user: dgp branch: tip-445, size: 135779
2018-10-12
18:29
Merge 8.7 file: [8112bc7a54] check-in: [41013f5dac] user: jan.nijtmans branch: trunk, size: 125001
18:24
TCL_NUMBER_WIDE is deprecated file: [a04b9ec5b7] check-in: [69b571d8bf] user: jan.nijtmans branch: core-8-branch, size: 135718
18:14
TIP #502 implementation: Index value reform. file: [5be66cdf36] check-in: [bae05b9e6f] user: jan.nijtmans branch: core-8-branch, size: 135725
2018-10-08
18:50
Merge 8.7 file: [c322481062] check-in: [490cd4ad13] user: jan.nijtmans branch: trunk, size: 119680
18:34
Merge 8.6 Also fix startup problems on win32, when the encoding path contains invalid UTF-8 (reported by François Vogel) Various other code cleanup, e.g. remove empty.zip file, as this didn't work quite as expected. file: [7e6d141c6f] check-in: [59a19cdee3] user: jan.nijtmans branch: core-8-branch, size: 130088
2018-10-06
19:20
Use more TCL_AUTO_LENGTH, when appropriate file: [6854618f41] check-in: [c643e8fe38] user: jan.nijtmans branch: memory-API, size: 119512
2018-09-28
18:19
code/doc cleanup file: [0dea9fbaa8] check-in: [84a5f246b7] user: jan.nijtmans branch: memory-API, size: 119499
2018-09-26
19:34
Bug-fix (actually a workaround): The "registry" extensions sometimes calls Tcl_DStringSetLength() with length -1 or -2. At least, don't let it crash then. file: [3007afc2fb] check-in: [c0829cbacc] user: jan.nijtmans branch: memory-API, size: 119679
2018-09-25
13:31
merge 8.7 file: [c5f17474b5] check-in: [6b93e85592] user: dgp branch: tip-502, size: 135733
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: [a6f6492cca] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 119524
2018-08-11
22:02
merge trunk file: [6a018090d8] check-in: [d7dc0288f5] user: jan.nijtmans branch: memory-API, size: 119476
2018-08-02
23:08
Merge 8.7 file: [996dd95613] check-in: [0c87f5e4b5] user: jan.nijtmans branch: trunk, size: 119689
22:37
Purge end-of-line spacing file: [01040deb5e] check-in: [0ce23bd179] user: jan.nijtmans branch: core-8-branch, size: 130097
2018-07-10
19:18
Remove 4 unneeded compatibility macro's, because those functions never return -1 anyway. Change documentation to use void * in stead of ClientData file: [efc418b454] check-in: [701b0014c7] user: jan.nijtmans branch: memory-API, size: 119484
2018-07-05
21:25
Merge trunk Handle TclCopyAndCollapse, *Trace* et al file: [162d7f102e] check-in: [399b8e7649] user: jan.nijtmans branch: memory-API, size: 119454
2018-07-01
10:31
New macro TclGetByteArrayFromObj() which can handle size_t file: [9d2eb151f1] check-in: [c62e09171f] user: jan.nijtmans branch: memory-API, size: 119447
09:11
New macro TclGetUnicodeFromObj() which can handle size_t file: [87b94b8dd8] check-in: [426d67c6bb] user: jan.nijtmans branch: memory-API, size: 119523
06:21
Starting to update all callers of TclGetStringFromObj() to use size_t variables file: [ca506762ec] check-in: [97c2217f81] user: jan.nijtmans branch: memory-API, size: 119440
2018-06-29
20:28
Another round of size_t'isms, this time also for Tcl_DString file: [21fcb33251] check-in: [70159a633b] user: jan.nijtmans branch: memory-API, size: 119439
18:13
Improve many parsing-related functions to use size_t file: [3c068b16ef] check-in: [2d7687959e] user: jan.nijtmans branch: memory-API, size: 119806
2018-06-27
19:09
merge trunk file: [f7f59a5658] check-in: [2cc2d71f0a] user: jan.nijtmans branch: memory-API, size: 119760
2018-06-16
12:32
Change signature of Tcl_GetRange() to use size_t. Merge trunk. file: [33b6f79642] check-in: [8e3bd50a3b] user: jan.nijtmans branch: memory-API, size: 119766
2018-05-31
13:42
fix 2nd issue of [75ecc0e6cb9899bf]: unix, retrieve correct search-path for library (fixes TclpInitLibraryPath as well as initial call of TclGetObjNameOfExecutable if path not yet set) file: [7c380eff9e] check-in: [a5c7eee15d] user: sebres branch: fix-initsubsystem-75ecc0e6cb9899bf, size: 132995
2018-05-27
13:59
Convert ScanElement/ConvertElement-related functions to use size_t in stead of int file: [5c5d5b9052] check-in: [da8101c700] user: jan.nijtmans branch: memory-API, size: 119635
12:49
Merge 8.7. Modify various other functions to use size_t in stead of int arguments file: [70286a05c4] check-in: [6d05288cf7] user: jan.nijtmans branch: memory-API, size: 119504
2018-04-24
14:02
silence compiler warning file: [5240122b3c] check-in: [bdf0e828f9] user: dgp branch: tip-502, size: 135741
2018-04-16
23:01
Merge trunk. Update (internal) Trim* functions to use size_t file: [8d8f88e897] check-in: [5064787134] user: jan.nijtmans branch: memory-API, size: 119531
2018-04-15
22:01
Merge trunk file: [781be5fcc3] check-in: [ee95a2c1be] user: jan.nijtmans branch: memory-API, size: 119480
2018-03-30
12:32
Rebase TIP 502 draft implementation. file: [4b84a0baa2] check-in: [13095e7fe4] user: dgp branch: tip-502, size: 135739
2018-03-15
14:23
merge 8.7 file: [ff6a713065] check-in: [4f13fe6bce] user: dgp branch: tip-445, size: 127831
2018-03-14
18:09
merege 8.7 file: [165f52f541] check-in: [b4ebf312a7] user: dgp branch: trunk, size: 119697
18:08
merge 8.6 file: [b8a8f6f8dd] check-in: [010cc4a688] user: dgp branch: core-8-branch, size: 130105
17:19
merge 8.5 file: [e27a3a6657] check-in: [d1142036a0] user: sebres branch: core-8-6-branch, size: 130280
17:17
TclTrim: special case for TrimRight on single char result of TrimLeft (this char is already verified within TrimLeft, so bypass TrimRight at all) file: [616fe940c2] check-in: [96a6332cff] user: sebres branch: core-8-5-branch, size: 118691
05:51
merge 8.7 file: [c76cb60907] check-in: [3ba4c8e05a] user: dgp branch: trunk, size: 119633
01:30
merge 8.6 file: [d019ab61b2] check-in: [ad1f243d40] user: dgp branch: core-8-branch, size: 130041
00:53
merge 8.5 file: [e553991c0c] check-in: [4fd30be85b] user: dgp branch: core-8-6-branch, size: 130216
00:45
TclTrim must write to *trimRight even when making a quick exit. file: [010fc27b2d] check-in: [8b3e6a3ee5] user: dgp branch: core-8-5-branch, size: 118627
2018-03-13
23:56
A few minor revisions. file: [6106e18a91] check-in: [d8df7220e3] user: dgp branch: sebres-8-5-fix-trim-on-mailformed, size: 118610
18:52
remove unexpected panic by TclTrimLeft/TclTrimRight, handling rewritten: - instead of check the NTS-byte after string (may cause segfault by access violation if out of range), it checks now the end-character is well-formed utf8-sequence; - both work well now on non-NTS strings (without null character at end); - additionally fixed wrong offsets (trim-length if last char malformed in case of out of range); new function TclTrim introduced (as combination of TclTrimLeft/TclTrimRight). file: [20f0d96db4] check-in: [b3969d0fab] user: sebres branch: sebres-8-5-fix-trim-on-mailformed, size: 118435
2018-03-11
12:33
merge 8.7 file: [7b43d06bc0] check-in: [47549b459d] user: dgp branch: trunk, size: 116276
2018-03-10
15:55
merge 8.7 file: [47dcc801f8] check-in: [0892d078f0] user: dgp branch: tip-445, size: 124410
15:45
merge 8.6 file: [7f251fe5b4] check-in: [e49b46e8e6] user: dgp branch: core-8-branch, size: 126684
15:41
Remove unused argument. file: [60ffa9898e] check-in: [068c425cb0] user: dgp branch: core-8-6-branch, size: 126859
14:55
[db36fa5122] Upgrade the index value parsing and encoding machinery. Refactor many systems to make consistent use of it. Repairs many indexing errors in corner cases. file: [a1216904aa] check-in: [02721ee263] user: dgp branch: core-8-branch, size: 126783
2018-03-09
21:07
Return routine to file scope. file: [14a300e86a] check-in: [e4cb61e978] user: dgp branch: bug-db36fa5122, size: 126958
19:23
Refactor the index value encode/decode machinery for broader use. Make use of it to fix index value flaws in [lsearch]. file: [1dae87f400] check-in: [16c6cccd7f] user: dgp branch: bug-db36fa5122, size: 126857
2018-03-06
20:09
New internal routine TclGetEndOffsetFromObj. file: [49dd6dbff7] check-in: [0adb97c70d] user: dgp branch: bug-db36fa5122, size: 121512
2018-03-01
20:54
Use TclParseNumber() in stead of TclGetNumberFromObj(). This gives less surprising results in test cases.

DGP replies:

TclParseNumber() always generates and parses a string rep. This checkin prevents any ability to benefit from objPtr->typePtr letting us know the value is an integer already -- especially important when objPtr is a pure value.

I will likely make this checkin the start of a new branch soon, or perhaps just fork off my tip502 work into a different branch to avoid the change. file: [7bc25af3ef] check-in: [adf9964e6f] user: jan.nijtmans branch: index-range-and-overflow, size: 122990

19:30
Avoid full list conversion when we can cheaply discover a multi-element list is not possible. file: [f10d47b4db] check-in: [ca6ab1446a] user: dgp branch: index-range-and-overflow, size: 123075
04:19
Continue consistent use of LLONG_MIN and LLONG_MAX. file: [d09e57837e] check-in: [ec70581d16] user: dgp branch: index-range-and-overflow, size: 123005
2018-02-28
13:40
Use mp_isneg() as appropriate. file: [dc4185a16c] check-in: [8d27d9381c] user: dgp branch: index-range-and-overflow, size: 123039
2018-02-27
23:17
merge 8.7 file: [4b51eece4b] check-in: [29aff18140] user: dgp branch: index-range-and-overflow, size: 123063
21:55
Merge trunk file: [40a2964be1] check-in: [bbb2d60708] user: jan.nijtmans branch: memory-API, size: 109748
18:20
Much more progress expanding the vocabulary of index values, and getting results that make more intuitive sense. Still a few TODOs and tests to update. file: [2c1e63e49d] check-in: [3eb440e907] user: dgp branch: index-range-and-overflow, size: 123847
13:13
Work In Progress on index value reform -- not working. file: [2965aa9aac] check-in: [74f11eb486] user: dgp branch: index-range-and-overflow, size: 123541
2018-02-23
18:10
merge 8.7 file: [53b19d4d37] check-in: [8b6f45e051] user: dgp branch: trunk, size: 109970
18:01
merge 8.7 file: [6cdcce0745] check-in: [9d0eb0566c] user: dgp branch: tip-445, size: 119031
17:02
[8e6a9ac221] Stop false matching with bytearrays. (string-11.55) file: [414a6635c2] check-in: [44d94e2338] user: dgp branch: core-8-branch, size: 120378
17:00
[8e6a9ac221] Stop false matching with bytearrays. (string-11.55) file: [39ecb0b898] check-in: [df3d018b71] user: dgp branch: core-8-6-branch, size: 120548
16:55
[8e6a9ac221] Stop false matching with bytearrays. (string-11.55) file: [e4a82c801d] check-in: [d12eaf897e] user: dgp branch: core-8-5-branch, size: 115213
15:44
Cease registration of the "end-offset" Tcl_ObjType. Give it file scope. Remove the updateStringProc that can never be called. file: [3fc266a11d] check-in: [e0ca41d498] user: dgp branch: core-8-branch, size: 120346
2018-02-22
21:17
merge trunk file: [4c5b29e098] check-in: [709a045dbb] user: jan.nijtmans branch: memory-API, size: 110532
2018-02-15
18:24
merge 8.7 file: [e195b17a8c] check-in: [fb5189741a] user: dgp branch: tip-445, size: 118787
2018-02-14
20:43
merge core-8-branch file: [cd121ed3cb] check-in: [5cfe15b5d6] user: jan.nijtmans branch: trunk, size: 111152
20:17
Better range checking in "string index". Add test-case to prove point. file: [163a97aadf] check-in: [8a4df74e9a] user: jan.nijtmans branch: core-8-branch, size: 121560
13:37
Rewrite documentation in comments for brevity and clarity. file: [6ce022288c] check-in: [64f4563fdc] user: pooryorick branch: pyk-backport-to-8-6, size: 120516
2018-02-09
18:52
merge 8.7 file: [a20c13ac06] check-in: [709f848841] user: dgp branch: trunk, size: 110754
18:45
merge 8.7 file: [233aa6bd67] check-in: [8a91dc9521] user: dgp branch: tip-445, size: 118784
10:09
small code review: resolve conversion warnings (possible loss of data, signed/unsigned comparison) file: [ecd99278bc] check-in: [29bc6e1422] user: sebres branch: core-8-branch, size: 121162
2018-02-06
21:11
merge 8.7 file: [026de309ee] check-in: [f7dba39527] user: dgp branch: tip-445, size: 118779
21:08
merge trunk file: [1ed0a7a836] check-in: [a233811733] user: jan.nijtmans branch: memory-API, size: 110527
20:54
merge core-8-branch file: [81b87f816d] check-in: [30f95df8b0] user: jan.nijtmans branch: trunk, size: 110749
2018-01-31
12:18
Change Tcl_Token definition (int -> size_t). Many related code-changes. file: [c2ba2326b0] check-in: [e3a724b790] user: jan.nijtmans branch: memory-API, size: 110356
2018-01-23
13:29
merge 8.7 file: [5b498037c4] check-in: [c82eafcb5a] user: dgp branch: tip-445, size: 118750
2018-01-22
08:41
merge core-8-branch file: [de01abb8b4] check-in: [63ddd9b65a] user: jan.nijtmans branch: no-wideint, size: 121157
2018-01-20
16:02
Follow-up to previous commit (TIP #485 implementation). Actually remove Tcl_Backslash and Tcl_EvalTokens when compiling with -DTCL_NO_DEPRECATED. file: [c91b6a3b03] check-in: [c18e951f88] user: jan.nijtmans branch: core-8-branch, size: 120986
2018-01-19
15:17
Now really remove Tcl_EvalTokens/Tcl_Backslash as promised in the TIP. And remove library/tzdata/SystemV/* which contains non-standard timezones. See: [d3c5f2eb2ff63f10] They were originally gone since the tzdata2014f update, but it's unwise to do that in a patch release. Some documentation updates. file: [b88fc55973] check-in: [1766f5a8e9] user: jan.nijtmans branch: trunk, size: 110578
2017-12-23
20:18
merge core-8-branch file: [a483368e51] check-in: [4cc6fab374] user: jan.nijtmans branch: tip-389, size: 120895
2017-12-19
16:22
merge 8.7 file: [d65fad71b9] check-in: [dd50956e9c] user: dgp branch: tip-445, size: 118661
12:26
merge core-8-branch file: [01e707ef72] check-in: [30edd5c06a] user: jan.nijtmans branch: no-wideint, size: 121068
2017-12-15
21:27
Revert a few more (int -> size_t) transitions, which could effect extensions (such as Itcl 3.4) which use internal Tcl header files. Better wait until 9.0 for this. What we _can_ do is change some (internal) fields to 'unsigned': that doubles the epoch range without further danger. Thanks, Don, for pointing this out! file: [b921d6bb9d] check-in: [b59ef9e0d8] user: jan.nijtmans branch: core-8-branch, size: 120897
19:55
merge trunk file: [7765708429] check-in: [878d1b77fd] user: jan.nijtmans branch: memory-API, size: 110327
14:46
Mark TclPrecTraceProc() as deprecated, and remove it when compiling with -DTCL_NO_DEPRECATED. See TIP #488 file: [6bfe3117fb] check-in: [8f2ba4c41d] user: jan.nijtmans branch: core-8-branch, size: 120870
2017-12-06
12:00
merge core-8-branch file: [46cbac58fb] check-in: [bd596603e2] user: jan.nijtmans branch: no-wideint, size: 120952
2017-12-01
15:03
merge trunk file: [7e50e3d2ef] check-in: [e008d0adce] user: jan.nijtmans branch: memory-API, size: 115085
11:55
TIP 488: Remove tcl_precision file: [23f4c0ec05] check-in: [f4efe03192] user: jan.nijtmans branch: tip-488, size: 111454
11:33
merge core-8-branch file: [13c7016610] check-in: [dabd924a87] user: jan.nijtmans branch: tip-389, size: 120779
2017-11-30
17:52
merge 8.7 file: [95888b9194] check-in: [1e5dc1b17c] user: dgp branch: tip-445, size: 118545
13:23
merge core-8-branch file: [13e012f180] check-in: [12e64c66a1] user: jan.nijtmans branch: trunk, size: 116211
13:14
Fix [8e1e31eac0]: lsort treats NUL chars strangely. Also fix various initializations, which only make a difference when TCL_UTF_MAX == 4. Add new test-cases which demonstrate the fix. For TCL_UTF_MAX == 4, surrogates will now be handled as expected as well when sorting. file: [dde17223db] check-in: [b6438b69ad] user: jan.nijtmans branch: core-8-branch, size: 120781
2017-11-17
16:08
merge core-8-branch. Fix some Tcl_UniChar initialization, in case TCL_UTF_MAX == 4 file: [9505685c56] check-in: [37b4aab687] user: jan.nijtmans branch: tip-389, size: 120806
2017-11-16
11:17
re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming. file: [1c5cace412] check-in: [3cb46ea71b] user: jan.nijtmans branch: memory-API, size: 115084
2017-11-15
15:00
merge core-8-branch. Also fix some test-cases, expecting the existence of "int" objType. file: [45baba25c1] check-in: [7eeff18e38] user: jan.nijtmans branch: no-wideint, size: 120951
13:39
merge 8.7 file: [d607593c7d] check-in: [59ee6d1b5a] user: dgp branch: tip-445, size: 118544
10:01
merge core-8-branch file: [42158386c1] check-in: [7163cf716b] user: jan.nijtmans branch: trunk, size: 116210
08:56
merge core-8-branch file: [8c14e339fb] check-in: [8322a4ab21] user: jan.nijtmans branch: trunk, size: 116226
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: [527ed56f6a] check-in: [1019b4d815] user: jan.nijtmans branch: core-8-branch, size: 120780
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: [1784e16945] check-in: [f2cb39b9be] user: jan.nijtmans branch: core-8-6-branch, size: 120591
2017-11-13
15:34
Add back Tcl_Backslash(). Will be removed again when TIP #485 is brought in. Also revert some other API changes (unsigned long -> size_t), for which TIP's are still to be written. file: [c7cc6cac63] check-in: [ec8a1c39d7] user: jan.nijtmans branch: novem, size: 116998
11:47
merge novem file: [cbccba7c4f] check-in: [b066227b02] user: jan.nijtmans branch: novem-more-memory-API, size: 115082
2017-11-09
14:57
Limit index parsing to pure integers without white-space file: [06affbe6de] check-in: [d9bb1de1db] user: jan.nijtmans branch: bug-aaa02c55b9, size: 123294
14:44
merge trunk file: [879215f538] check-in: [d27981d722] user: dgp branch: no-wideint, size: 117695
14:38
Merge core-8-branch Add back UpdateStringOfEndOffset() and related test-cases. Implement bignum support for "end[+-]offset" objtype. file: [f524f5d494] check-in: [81f505cb4c] user: jan.nijtmans branch: bug-aaa02c55b9, size: 123245
2017-11-08
16:12
Forgot TclpGetTime() file: [ca0d5b34b6] check-in: [6cca533da5] user: jan.nijtmans branch: tcl-9-cleanup, size: 117006
2017-11-06
14:55
merge trunk file: [917cafbb5a] check-in: [70449c549e] user: jan.nijtmans branch: novem, size: 115307
01:33
Rewrite documentation in comments for brevity and clarity. file: [cdff155ff4] check-in: [568bd16ef2] user: pooryorick branch: trunk, size: 117524
2017-11-03
18:56
TIPs 330 & 336 changes to Tcl 9 Implementation file: [ef880ef5ad] check-in: [07f5802714] user: dgp branch: trunk, size: 117599
16:10
Remove UpdateStringOfEndOffset() and related test-cases (this function is never actually used in Tcl, only in the test-suite ....) and modify "end-index" Tcl_ObjType to use the wideValue field in stead of the longValue field. file: [c844ee91bf] check-in: [5f92dc1f16] user: jan.nijtmans branch: bug-aaa02c55b9, size: 121774
10:34
First shot at proposed solution (with test-cases). Doesn't handle "end-<integer>" and "<integer>-<integer>" yet. file: [d4e7bd9b0e] check-in: [226140f554] user: jan.nijtmans branch: bug-aaa02c55b9, size: 122535
2017-11-01
12:35
Finally, get rid of tclWideIntType completely file: [c57e0f4752] check-in: [01d55bd3e1] user: jan.nijtmans branch: no-wideint, size: 121731
2017-10-30
15:15
tidying file: [cff311c11b] check-in: [4ea0fcd9ac] user: dgp branch: tip-330-336, size: 119079
14:56
Patch to make changes to Tcl 9 prescribed by TIPs 330 and 336. This makes the Tcl_Interp struct fully opaque. No interp->result or interp->errorline file: [e272bd1807] check-in: [70e9e38504] user: dgp branch: tip-330-336, size: 119082
14:32
more progress in code simplifications file: [ba69a04b4c] check-in: [3876616fc4] user: jan.nijtmans branch: no-wideint, size: 121782
11:01
Change (internal) TclFormatInt() signature, so it can handle WideInt's directly. Ongoing simplifications ... file: [e2c2476ad6] check-in: [c606809235] user: jan.nijtmans branch: no-wideint, size: 121818
08:47
Experimental branch meant to eliminate the "wideint" type, just merge it to a single "int" type. No effect on linux64 and similar systems, code simplification for Win64 and 32-bit system. No TIP yet, implementation ongoing. file: [f0fced523e] check-in: [c2abe1efd0] user: jan.nijtmans branch: no-wideint, size: 121560
2017-10-23
16:20
Implementation branch for TIP 114 - Eliminate Octal Parsing... file: [342b4c6eac] check-in: [c5426334cf] user: dgp branch: tip-114, size: 120080
2017-09-01
00:52
merge trunk file: [e4e4b1a3fd] check-in: [c3fbabfb73] user: dgp branch: tip-445, size: 119324
2017-08-18
22:06
merge core-8-6-branch file: [79e6308b9a] check-in: [75da8b29f8] user: jan.nijtmans branch: trunk, size: 121560
2017-06-08
12:38
merge core-8-6-branch file: [58ccc7807c] check-in: [9053c4a54f] user: jan.nijtmans branch: trunk, size: 120972
11:48
tclUtil.c: Use TclUtfToUniChar() in stead of handling ASCII characters separately: This macro already does that. Add new test-case for Tcl_NumUtfChars(), for a knownBug still to be fixed. file: [fe58eaa73c] check-in: [95d096e037] user: jan.nijtmans branch: core-8-6-branch, size: 120783
08:26
Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3 file: [8b25684c61] check-in: [5ae46a0093] user: jan.nijtmans branch: rfe-6c0d7aec67, size: 121371
2017-05-22
11:07
fix advancement of snext: could not cook up a test for this, but the error is clear file: [c9bc2bdbfb] check-in: [c84d53f778] user: aspect branch: aspect-string-match, size: 118513
10:49
retab Tcl_StringCaseMatch. Oops file: [adfcd24467] check-in: [34aca29ae4] user: aspect branch: aspect-string-match, size: 118511
10:47
tidy up control flow file: [455c208a4f] check-in: [df7b440af5] user: aspect branch: aspect-string-match, size: 118490
10:44
fix up comment style and make them more informative file: [7e53da844c] check-in: [2afe609986] user: aspect branch: aspect-string-match, size: 118201
2017-05-06
00:43
back to switch. Implement non-recursive * with goto. Much faster on a*a*...b tests from [a4a7f2abd3] file: [72842ca31b] check-in: [433f1cf0bc] user: aspect branch: aspect-string-match, size: 116920
00:39
revert switches to ifs - all these breaks are breaking me file: [37c7407460] check-in: [a2fb105d6c] user: aspect branch: aspect-string-match, size: 116095
00:36
streamline StringCaseMatch with switch and comments. BEHAVIOUR CHANGE: incomplete bracket groups now match nothing file: [8548cbdf3e] check-in: [5efe8a956f] user: aspect branch: aspect-string-match, size: 114207
2017-05-04
11:35
merge novem file: [29902b87e0] check-in: [70b0b53b8a] user: jan.nijtmans branch: novem-more-memory-API, size: 115157
2017-04-12
13:36
merge trunk file: [52aab93cf9] check-in: [36507326e3] user: dgp branch: tip-445, size: 119320
2017-04-11
15:35
merge trunk file: [8505d2f020] check-in: [89dd10b608] user: jan.nijtmans branch: novem, size: 115382
15:20
Remove some unnecessary "struct" definitions and some type casts no longer necessary. No functional changes. file: [ea49ba0396] check-in: [1f5acc492f] user: jan.nijtmans branch: trunk, size: 121556
2017-02-03
18:49
merge trunk file: [67e4a29ee5] check-in: [3f498cec91] user: dgp branch: tip-445, size: 119332
14:03
merge trunk file: [fd1d8bf7dc] check-in: [052d6fe213] user: jan.nijtmans branch: novem, size: 115394
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: [28282a0dad] check-in: [54e59981c7] user: jan.nijtmans branch: trunk, size: 121568
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: [dcbcd78591] check-in: [a829bb8887] user: jan.nijtmans branch: jn-emptystring, size: 121586
2017-01-27
16:32
merge trunk file: [a4c656ff54] check-in: [50c9784c6a] user: dgp branch: tip-445, size: 119336
2017-01-25
12:50
Convert Tcl_SetResult() to a macro file: [9f88bd0d96] check-in: [36aa4f35f8] user: jan.nijtmans branch: novem, size: 115396
12:22
If TCL_NO_DEPRECATED is defined, remove the "case" statement, and use much less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes. file: [4c08a1bbb1] check-in: [3fe8ec5fd6] user: jan.nijtmans branch: trunk, size: 121574
2016-12-19
10:42
merge novem file: [332051c2dd] check-in: [10c36e48f6] user: jan.nijtmans branch: novem-more-memory-API, size: 115143
2016-11-18
12:10
merge novem file: [324165f1fa] check-in: [21f9030029] user: jan.nijtmans branch: novem-more-memory-API, size: 115351
2016-11-16
15:04
merge trunk file: [dbc2577b9f] check-in: [f8be848288] user: dgp branch: tip-445, size: 119091
11:17
merge trunk file: [787757bf9a] check-in: [31a3f9bee0] user: jan.nijtmans branch: novem, size: 115380
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: [6d859df64b] check-in: [521d320b7b] user: jan.nijtmans branch: trunk, size: 121329
2016-10-12
16:58
Reduce direct use of the tclEmptyStringRep. file: [485454dca3] check-in: [48b4b1d728] user: dgp branch: tip-445, size: 119126
15:14
Purge another direct access to bytes field. file: [399060d1f2] check-in: [efe3b3ea35] user: dgp branch: tip-445, size: 119157
2016-07-09
17:21
merge trunk file: [357593a9dd] check-in: [c991627aa9] user: dgp branch: tip-445, size: 119163
2016-07-08
10:34
merge trunk file: [53c5cf8616] check-in: [706fbc1eb0] user: jan.nijtmans branch: novem, size: 115415
10:28
Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj in many places where possible. file: [80bfa310ed] check-in: [48cb8436f1] user: jan.nijtmans branch: trunk, size: 121364
2016-07-06
10:09
Make epoch in ProcessGlobalValue a size_t file: [f30e2fce5e] check-in: [c4722e507b] user: jan.nijtmans branch: novem-more-memory-API, size: 115375
2016-06-28
13:44
Merge trunk file: [c706954807] check-in: [ab33fe9082] user: jan.nijtmans branch: novem-more-memory-API, size: 115390
2016-06-22
18:59
merge trunk file: [4a329985c8] check-in: [233becf0c2] user: dgp branch: tip-445, size: 119166
18:40
merge trunk file: [cbe6662999] check-in: [42075f202f] user: dgp branch: novem, size: 115418
18:04
[16896d49fd] Tcl_DStrings should tolerate appends to self. file: [2c2b198bac] check-in: [4add8eddc5] user: dgp branch: core-8-6-branch, size: 121367
17:38
[16896d49fd] Tcl_DStrings should tolerate appends to self. file: [5188d1d626] check-in: [cd612518e5] user: dgp branch: core-8-5-branch, size: 115181
2016-04-11
01:07
Revise the "end-offset" objType to use proposed routines, and not export or provide unneeded things. file: [b25c313790] check-in: [64a80a7467] user: dgp branch: tip-445, size: 118674
2016-03-24
20:15
Update Tcl_InitStringRep callers to handle OOM condition. file: [7fa6ec39fd] check-in: [311eebe0bb] user: dgp branch: tip-445, size: 120856
12:51
Revised "end-offset" Tcl_ObjType to use new routine. file: [bcb71822c0] check-in: [44f4c875e0] user: dgp branch: tip-445, size: 120815
2015-12-20
19:48
remove interp->result and all supporting code; remove other deprecated apis file: [16458e28b8] check-in: [0f3e580e52] user: msofer branch: mig-opt2, size: 119638
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: [2eddb1c394] check-in: [577ce89a59] user: jan.nijtmans branch: novem, size: 114926
2015-11-20
16:42
[40f628e8e3] Tcl_ListObjReplace() callers need to handle TCL_ERROR. file: [1e035db1ae] check-in: [fe18292f8d] user: dgp branch: trunk, size: 120875
15:47
[40f628e8e3] Tcl_ListObjReplace() callers need to handle TCL_ERROR. file: [bbef986faf] check-in: [0ff70f4013] user: dgp branch: core-8-5-branch, size: 114689
2015-10-04
10:27
merge trunk file: [8e28eaee80] check-in: [e58f76013c] user: jan.nijtmans branch: novem, size: 114823
10:20
Eliminate unnessessary end-of-line spacing. No functional change. file: [b3c660cf7b] check-in: [7caaf52e89] user: jan.nijtmans branch: trunk, size: 120772
10:10
Eliminate unnessessary end-of-line spacing. No functional change. file: [d4d9872a76] check-in: [c8dd06d2fa] user: jan.nijtmans branch: core-8-5-branch, size: 114584
2015-09-29
08:06
rebase with novem file: [2e604d521c] check-in: [2897092cfa] user: jan.nijtmans branch: novem-more-memory-API, size: 114798
2015-08-06
04:34
merge trunk file: [92db37bbe5] check-in: [0c2b99eaf6] user: jan.nijtmans branch: novem, size: 114864
2015-08-05
14:44
mark function return as unused, to avoid confusing Coverity file: [c2f6ea3f01] check-in: [f1b48e9e46] user: msofer branch: trunk, size: 120813
2015-06-18
19:58
merge novem file: [a35dec0354] check-in: [8d9650ab81] user: jan.nijtmans branch: novem-more-memory-API, size: 114791
2014-09-17
13:16
merge trunk file: [6a602f40f4] check-in: [e483b90ad3] user: jan.nijtmans branch: novem, size: 114857
2014-09-09
19:49
[84af1192f5]: [regsub] compiler no longer confused by quantification handling. file: [c74d5da4f4] check-in: [25f44e9a6d] user: dkf branch: trunk, size: 120806
2014-07-12
16:13
whopper change; now passes test suite on OSX file: [b36169e22d] check-in: [0b38cdbc76] user: dkf branch: bug-d5ddbc7f49, size: 120635
2014-06-16
12:40
merge trunk file: [89e248e608] check-in: [f3492bdbad] user: jan.nijtmans branch: novem, size: 114680
2014-06-07
14:18
Improved the error messages. We do not want parsing an invalid dictionary to give errors about lists! As compensation, we get greater precision in the errorcode. file: [2edfe20f60] check-in: [1969678980] user: dkf branch: bug-1b0266d8bb, size: 120629
2014-05-02
07:15
merge novem file: [d50306cc2f] check-in: [08a7e90291] user: jan.nijtmans branch: novem-more-memory-API, size: 111739
2014-05-01
07:38
Fix more corner-cases like [0e92c404f1]: The only place where a type of &tclByteArrayType can be trusted is when determining its length, because the character length of a (UTF-8) string is always equal to the byte length of the byte array. file: [6db0377f76] check-in: [91be696bf3] user: jan.nijtmans branch: core-8-5-branch, size: 114614
2014-01-23
23:12
merge trunk file: [56eebf67aa] check-in: [ddec41f466] user: jan.nijtmans branch: novem, size: 111805
2014-01-07
15:29
Revert Makefile.in changes and remove added tclStringTrim.h header. Otherwise, the same changes would be needed by all other Makefile variants as well. It's much easier to create a single constant string in tclInt.h, and use this one everywhere.

DKF: No, because the unix makefile is the only one that tracks this info in any case.

JN: OK. My most important remark (sharing of constant strings) is handled in [2191bd8485]. I can very well live with that, so closing this branch. file: [b6de7a6897] check-in: [acd990a59d] user: jan.nijtmans branch: remove-trim-header, size: 117895

2013-12-30
11:56
put the other definition of a trim set in the header file too file: [d12ffabe93] check-in: [9f5aa1fe63] user: dkf branch: dkf-bytecode-8.6-main, size: 117754
2013-09-26
13:13
merge novem

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

2013-09-21
12:49
merge trunk file: [9a2cf7f38e] check-in: [7c19121b2e] user: dgp branch: novem, size: 111772
2013-09-04
07:22
Fix 3 trivial (possible) errors, discovered by covertity.com file: [54058e877e] check-in: [38e00f27c9] user: jan.nijtmans branch: trunk, size: 117721
2013-03-04
15:38
New scheme for keeping the per-process tcl_precision value in sync without the need for mutex locks on every read. Uses adapted ProcessGlobalValue machinery backported from Tcl 8.5 where it's been working without reported problems. Thanks to Phil Brooks for reporting on tests which highlight the thread performance problems raised by the old scheme, and to Clif Flynt for further testing pointing the finger at tcl_precision locks as the main culprit. file: [3e0256652b] check-in: [02ef6b18c8] user: dgp branch: core-8-4-branch, size: 75770
2013-02-17
22:14
merge trunk file: [0cd6b12d79] check-in: [b811284fad] user: jan.nijtmans branch: better-deprecation, size: 117802
2013-02-12
21:40
use longValue as internal repr in stead of wideValue. name new type "lindex" in stead of already existing "index" file: [82135d6918] check-in: [36abbd5b57] user: jan.nijtmans branch: no-register-objtypes, size: 112258
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: [4b734359f9] check-in: [271dbffaf7] user: jan.nijtmans branch: no-register-objtypes, size: 112272
10:25
more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversions file: [0e9bb8246b] check-in: [a80fb8c697] user: jan.nijtmans branch: novem, size: 111797
09:38
Merge trunk. Various Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj modifications file: [448e39109e] check-in: [1b58c7107b] user: jan.nijtmans branch: novem, size: 111800
2013-02-04
15:49
merge novem. Some more API changes int -> size_t file: [4ec0f9db24] check-in: [abeb8eae61] user: jan.nijtmans branch: novem-more-memory-API, size: 111730
2013-01-26
16:11
macros for Tcl_GetString and Tcl_GetStringFromObj file: [406782cba2] check-in: [7845d6854d] user: jan.nijtmans branch: novem-more-memory-API, size: 111742
2013-01-09
15:37
Restore panic check at and of the loop. Thanks! Don for noticing this. file: [dc9c94a932] check-in: [37ceb43edf] user: jan.nijtmans branch: novem, size: 111796
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: [6808d4f4fe] check-in: [96818dd70f] user: jan.nijtmans branch: novem, size: 111717
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: [2a7eaa8444] check-in: [01b69f70f3] user: dgp branch: novem, size: 112585
2013-01-05
00:42
merge trunk file: [363174f4c5] check-in: [deb13a6abe] user: jan.nijtmans branch: novem, size: 112620
2013-01-03
14:02
speling ficks file: [38c3ee3027] check-in: [ea646daa60] user: dgp branch: trunk, size: 117746
14:00
speling ficks file: [5aedc649f7] check-in: [0087436727] user: dgp branch: core-8-5-branch, size: 114626
2012-12-27
15:05
merge trunk file: [0a025c2a31] check-in: [721001a95f] user: jan.nijtmans branch: novem, size: 112618
2012-12-22
19:05
Stop leaking allocated space when objifying a zero-length DString. [Bug 3598150] spotted by afredd. file: [002c4a1da6] check-in: [c384751ee6] user: ferrieux branch: trunk, size: 117744
2012-12-10
04:32
WIP getting rid of the ::tcl_precision variable file: [3df4c85194] check-in: [3f715e19ef] user: dgp branch: novem-numbers-eias, size: 107819
2012-12-03
11:47
deprecate Tcl_Backslash, Tcl_GetDefaultEncodingDir and Tcl_SetDefaultEncodingDir file: [e71ec15c94] check-in: [2a1937a64a] user: jan.nijtmans branch: better-deprecation, size: 117772
2012-11-26
22:37
Merge (selected bits of) novem file: [2314c6d7b8] check-in: [1d357d342e] user: dgp branch: novem-remove-string-result, size: 112590
15:46
merge novem file: [1b8015a219] check-in: [ab9713b5f1] user: dkf branch: novem-64bit-sizes, size: 115770
14:29
Removed functions marked deprecated or obsolete for a long time: Tcl_Backslash, Tcl_EvalFile, Tcl_GlobalEvalObj, Tcl_GlobalEval, Tcl_EvalTokens. Remove Tcl_FindExecutable from stub table: It is needed by embedders, not extenders. Remove TclpGetDate, TclpGmtime, TclpLocaltime: it isn't use anywhere since the new clock implementation. Remove TclWinConvertWSAError, it's the same as TclWinConvertError. file: [4e24d14904] check-in: [6b2cf92413] user: jan.nijtmans branch: novem, size: 114846
2012-11-25
18:27
merge novem file: [3e6d29d559] check-in: [ba36ca6cfd] user: dkf branch: novem-64bit-sizes, size: 116645
2012-11-21
10:18
more conversion of code, still not running test suite at all file: [48bc0b9796] check-in: [e648a1571f] user: dkf branch: novem-64bit-sizes, size: 118133
2012-11-20
22:02
some more fixes file: [a448fd484c] check-in: [be28a68ad4] user: dkf branch: novem-64bit-sizes, size: 118141
2012-11-19
07:14
getting closer to being able to run the test suite... file: [08fbcd9afd] check-in: [71eeff3601] user: dkf branch: novem-64bit-sizes, size: 118293
2012-11-18
17:21
... and even more file: [dd907db013] check-in: [7a9b06162b] user: dkf branch: novem-64bit-sizes, size: 118258
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: [3dd492094e] check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 115766
2012-11-17
08:11
merge novem file: [49ae73b934] check-in: [0b14473507] user: jan.nijtmans branch: novem-64bit-sizes, size: 116381
00:25
WIP removing the maintenance of a string result in the Interp.

Still some head-scratching on what to do with tclStubLib.c. file: [b6ae25e237] check-in: [f46d17d968] user: dgp branch: novem-remove-string-result, size: 113462

2012-11-16
22:51
merge trunk file: [7cb84a39da] check-in: [8f081ad005] user: dgp branch: dgp-remove-string-result, size: 115460
19:17
Burn the octal bridges. We're not goin' back. file: [50e89a81da] check-in: [f1954e7f4d] user: dgp branch: novem, size: 115718
14:15
More work done. Still I am finding places where int should be size_t and reverse. file: [f3658e33cc] check-in: [d348e679f7] user: jan.nijtmans branch: novem-64bit-sizes, size: 117861
12:38
merge "novem"

Everything compiles now, but it doesn't run yet.

file: [e72ced99f8] check-in: [005a09e2be] user: jan.nijtmans branch: novem-64bit-sizes, size: 117858
10:12
Merge trunk

Fix Windows build

Now usable with Thread's "novem" branch (3.0a1)

Remove some more deprecated stuff

file: [165aaec651] check-in: [603622b6d3] user: jan.nijtmans branch: novem, size: 117198
2012-08-07
20:57
Minor changes to improve style (C89 declarations, consistent indentation, clarification of #endifs, reduction of unnecessary casts, use of array syntax for reading array elements, etc.) file: [59ce13b7e5] check-in: [3995dbcf90] user: dkf branch: trunk, size: 117716
2012-08-03
10:56
converting to using Tcl_Obj API for error message generation; part done file: [d5b5611116] check-in: [7fb86a29c9] user: dkf branch: trunk, size: 116372
2012-07-19
15:08
merge trunk file: [23755a5311] check-in: [7f4305364f] user: dgp branch: dgp-remove-string-result, size: 115145
13:41
Remove surplus parens file: [58f949bc42] check-in: [d5166be931] user: dgp branch: core-8-5-branch, size: 114624
2012-07-16
22:28
Fix mostly-harmless minor buffer overrun. file: [b154cad1cd] check-in: [68e44b50d1] user: dkf branch: trunk, size: 116535
2012-07-03
14:52
Factor out a number of common patterns of use of Tcl_DStringAppend. file: [9c83cb8418] check-in: [4dd736c95f] user: dkf branch: trunk, size: 116567
2012-04-30
20:21
Initial TIP 401 patch file: [698580f21d] check-in: [e3a37c3439] user: dgp branch: tip-401, size: 118743
2012-04-25
21:03
Implement Tcl_DStringResult with call to TclDStringToObj. file: [1191434f7b] check-in: [e5a8be5394] user: dgp branch: dgp-remove-string-result, size: 114444
21:02
merge trunk file: [8185e2ce9e] check-in: [e9150d1e4c] user: dgp branch: dgp-remove-string-result, size: 114591
12:07
* generic/tclUtil.c (TclDStringToObj): Added internal function to make the fairly-common operation of converting a DString into an Obj a more efficient one.
file: [89709c69da] check-in: [2e12143e39] user: dkf branch: trunk, size: 115834
2012-04-19
12:41
Clean version of changes; ifdef-free file: [23e0289d7f] check-in: [a9865171d6] user: dkf branch: dgp-remove-string-result, size: 113177
2012-04-18
18:42
Experimental branch where the interp->result field and related are removed and all simplifications that makes possible are done. Seems this can at best be a Tcl 9 reform. file: [d87c5e46e3] check-in: [4d5b476573] user: dgp branch: dgp-remove-string-result, size: 114659
2012-04-05
09:34
Reduce amount of unreachable code. Refactor Win socket and load code to be less baroque in its internals. file: [fff75ed658] check-in: [92cfbef048] user: dkf branch: trunk, size: 114420
2012-03-07
20:54
Refactor TclScanElement() part of list parsing to take advantage of tables constructed for the task of script parsing. Ought to speed generation of string representation of lists, though the effect is likely only noticeable on long lists made up primarily of simple elements (not needing quoting). file: [8c2f130a15] check-in: [3b5c5a2957] user: dgp branch: trunk, size: 114732
2012-02-09
18:38
Testing speedup of TclScanElement(). file: [416d57e51c] check-in: [c649888cfe] user: dgp branch: dgp-scan-element, size: 114698
2011-09-13
20:04
3390638 Workaround broken solaris studio cc optimizer. Thanks to Wolfgang S. Kechel. file: [e5e3d4eb4d] check-in: [b9fb2d7653] user: dgp branch: trunk, size: 114391
20:03
3390638 Workaround broken solaris studio cc optimizer. Thanks to Wolfgang S. Kechel. file: [19f9e541cb] check-in: [c233837119] user: dgp branch: core-8-5-branch, size: 114626
20:02
3390638 Workaround broken solaris studio cc optimizer. Thanks to Wolfgang S. Kechel. file: [aa4f099ba6] check-in: [678d621890] user: dgp branch: core-8-4-branch, size: 68675
2011-07-19
19:31
3371644 Repair failure to properly handle (length == -1) in TclConvertElement(). file: [6da2e66da2] check-in: [8e35530849] user: dgp branch: trunk, size: 114289
19:26
3371644 Repair failure to properly handle (length == -1) in TclConvertElement(). file: [ea7e14736a] check-in: [720e2e9c56] user: dgp branch: core-8-5-branch, size: 114524
18:13
Fix [bug 3371644] -- crash on Tcl_ConvertElement with leading pound. file: [7abfa99494] check-in: [4fadf0bce5] user: ferrieux branch: trunk, size: 114302
2011-06-01
14:08
Revised fix for bug 3309871 file: [ec0f344c29] check-in: [8da4e75d5f] user: dgp branch: trunk, size: 114275
13:14
Revised fix for bug 3309871 file: [3d1143c2b0] check-in: [19ef8e964e] user: dgp branch: core-8-5-branch, size: 114510
12:09
fix for [Bug 3309871]: Valgrind finds: invalid read in TclMaxListLength() file: [63fa01c961] check-in: [f3a017078d] user: jan.nijtmans branch: trunk, size: 114273
12:06
fix for [Bug 3309871]: Valgrind finds: invalid read in TclMaxListLength() file: [4e9100c659] check-in: [522bbc6851] user: jan.nijtmans branch: core-8-5-branch, size: 114508
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: [a9b181190c] check-in: [9a9e541131] user: dgp branch: bug-3293874, size: 114231
2011-05-11
20:33
First draft of bug fix. file: [09eabf4290] check-in: [ea441b300e] user: dgp branch: bug-3293874, size: 114728
2011-05-10
17:22
New internal routines TclScanElement() and TclConvertElement(). Rewritten guts of machinery to produce string rep of lists. [Bug 3173086] file: [91cf8eeeb3] check-in: [7720fbb825] user: dgp branch: trunk, size: 114726
16:05
Completed patch with mucho comments. Merge 8.5. file: [3acfa50af7] check-in: [8de9137c51] user: dgp branch: bug-3173086, size: 114466
2011-05-03
19:44
merge 8.5 file: [a62d6f3100] check-in: [27fd15ce57] user: dgp branch: trunk, size: 94677
19:07
Tighten Tcl_SplitList(). file: [468bc987dc] check-in: [eeab23b73b] user: dgp branch: core-8-5-branch, size: 94427
17:34
Tighten SetDictFromAny(). file: [b106a6e5ee] check-in: [6a588e6fc4] user: dgp branch: core-8-5-branch, size: 94438
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: [45b284fbfd] check-in: [60cf594f82] user: dgp branch: trunk, size: 94688
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: [1d0d79a065] check-in: [04d0ff20b9] user: dgp branch: core-8-5-branch, size: 94438
15:44
Replace TclCountSpaceRuns() with TclMaxListLength() which is the function we actually want. file: [1dc39eeece] check-in: [304fa3c29b] user: dgp branch: trunk, size: 93787
15:38
Replace TclCountSpaceRuns() with TclMaxListLength() which is the function we actually want. file: [16862227d0] check-in: [63ec2ace6e] user: dgp branch: core-8-5-branch, size: 93537
2011-04-28
16:02
More isspace() callers. file: [db2ca1d272] check-in: [41acfe91ea] user: dgp branch: trunk, size: 92991
16:00
More isspace() callers. file: [a956137542] check-in: [88095bbde0] user: dgp branch: core-8-5-branch, size: 92741
14:44
New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() Use to replace calls to isspace() and their /* INTL */ risk. file: [81d06a16f5] check-in: [ef10af814d] user: dgp branch: trunk, size: 93061
14:39
New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() Use to replace calls to isspace() and their /* INTL */ risk. file: [3587077619] check-in: [b1063a174c] user: dgp branch: core-8-5-branch, size: 92811
2011-04-18
18:50
Define and use macros that test whether a Tcl list value is canonical. file: [154a3f9560] check-in: [4b0bb72cb3] user: dgp branch: trunk, size: 92408
18:31
Define and use macros that test whether a Tcl list value is canonical. file: [86128aa241] check-in: [13ac6c8c7b] user: dgp branch: core-8-5-branch, size: 92158
2011-04-14
16:12
More Tcl_Concat* and TclTrim* improvements. file: [7d42131223] check-in: [80ebbf75f2] user: dgp branch: trunk, size: 92546
15:33
More Tcl_Concat* and TclTrim* improvements. file: [d97f9b1a61] check-in: [d317d3a547] user: dgp branch: core-8-5-branch, size: 92305
2011-04-13
20:37
[Bug 3285375]: Rewrite Tcl_Concat*() and [string trim*]. file: [0704bafb1c] check-in: [7c5f3a8961] user: dgp branch: trunk, size: 91220
20:27
[Bug 3285375]: Rewrite Tcl_Concat*() and [string trim*]. file: [a1b0896ead] check-in: [c48b1de113] user: dgp branch: core-8-5-branch, size: 90999
11:03
[3285375]: Make the crash less mysterious through the judicious use of a panic. file: [b582bc3c26] check-in: [398075e9b4] user: dkf branch: trunk, size: 89355
2011-04-04
13:55
More generation of error codes ([format], after, [trace], RE optimizer). file: [5a8bebf15b] check-in: [7100664240] user: dkf branch: trunk, size: 89238
2011-03-29
15:06
More generation of errorCode information, notably when lists are mis-parsed. file: [da598a4c2e] check-in: [999804376c] user: dkf branch: trunk, size: 89004
2011-03-26
11:53
Reduce the number of casts used to manage Tcl_Obj internal representations. file: [2ae5df645e] check-in: [b2381061a7] user: dkf branch: trunk, size: 88818
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: [547ced38cd] check-in: [5574bdd262] user: dkf branch: trunk, size: 88827
2011-03-10
09:31
MINOR: Formatting fixes, mainly to comments, so code better fits the style in the Engineering Manual. file: [083e6fd3f7] check-in: [5cb634a1c1] user: dkf branch: trunk, size: 89233
2011-03-08
19:27
* generic/tclInt.h: Remove TclMarkList() routine, an experimental * generic/tclUtil.c: dead-end from the 8.5 alpha days.
file: [f232c5bb48] check-in: [4f00f85797] user: dgp branch: trunk, size: 89232
19:24
* generic/tclInt.h: Remove TclMarkList() routine, an experimental * generic/tclUtil.c: dead-end from the 8.5 alpha days.
file: [4dd947ec42] check-in: [43662324d4] user: dgp branch: core-8-5-branch, size: 89022
2011-03-07
14:55
merge trunk + partial improvements to comments file: [b1b6945ebd] check-in: [f716a66d07] user: dgp branch: bug-3173086, size: 95241
2011-03-06
22:33
* generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls * generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclCompCmdsSZ.c: * generic/tclParse.c: * generic/tclUtil.c:
file: [5af39066a7] check-in: [6b0527ff33] user: dgp branch: trunk, size: 92410
22:19
* generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls * generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclParse.c: * generic/tclUtil.c:
file: [b6f18bcab6] check-in: [7d1cc3f816] user: dgp branch: core-8-5-branch, size: 92200
21:40
* generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls * generic/tclCmdMZ.c: with TclParseBackslash() where possible. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclUtil.c:
file: [f74934d254] check-in: [267149f889] user: dgp branch: core-8-4-branch, size: 68573
20:07
* generic/tclUtil.c (TclFindElement): Guard escape sequence scans to not overrun the string end. [Bug 3192636]
file: [ff71987a22] check-in: [4dbf4963bd] user: dgp branch: trunk, size: 92487
19:58
* generic/tclUtil.c (TclFindElement): Guard escape sequence scans to not overrun the string end. [Bug 3192636]
file: [f18fe58562] check-in: [c042cffb59] user: dgp branch: core-8-5-branch, size: 92277
19:52
* generic/tclUtil.c (TclFindElement): Guard escape sequence scans to not overrun the string end. [Bug 3192636]
file: [9f0588503b] check-in: [abab8589c3] user: dgp branch: core-8-4-branch, size: 68643
2011-03-05
16:31
merge trunk file: [65eef49b4d] check-in: [08b261adfb] user: kennykb branch: dogeen-assembler-branch, size: 92471
2011-03-03
21:13
Correct flaw in the rewrite handling [list \\\\\}]. file: [d634451159] check-in: [c3168e2541] user: dgp branch: bug-3173086, size: 93692
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: [f8bf3b090c] check-in: [a142b240b3] user: dgp branch: bug-3173086, size: 93674
21:02
Simplified the logic of the Scan/Convert pair of routines for generating string reps of lists to stop using the unnecessary flag BRACES_UNMATCHED. file: [533146d158] check-in: [2f5897ef59] user: dgp branch: bug-3173086, size: 91720
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: [10569b4d4c] check-in: [c64f310d38] user: dgp branch: trunk, size: 92475
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: [7df1236634] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 92265
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: [2b16abf21f] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 68631
04:16
merge trunk file: [e60ea59d21] check-in: [1357375583] user: kennykb branch: dogeen-assembler-branch, size: 92544
2011-01-18
19:26
Brought no-nre v2 up-to-date with 8.6 head as of Jan 18 11:30 PST. file: [bcede5deea] check-in: [5b2d91d5e3] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 92542
16:34
merge file: [09d68951cc] check-in: [a4ca4d6d4c] user: dgp branch: dgp-refactor, size: 92548
2011-01-15
19:07
* doc/tclvars.n: * generic/tclStrToD.c: * generic/tclUtil.c (Tcl_PrintDouble): * tests/util.test (util-16.*): Restored full Tcl 8.4 compatibility for the formatting of floating point numbers when $::tcl_precision is not zero. Added compatibility tests to make sure that excess trailing zeroes are suppressed for all eight major code paths. [Bug 3157475] file: [774702ab57] check-in: [d27c6004c8] user: kennykb branch: core-8-5-branch, size: 92342
18:10
* doc/tclvars.n: * generic/tclStrToD.c: * generic/tclUtil.c (Tcl_PrintDouble): * tests/util.test (util-16.*): Restored full Tcl 8.4 compatibility for the formatting of floating point numbers when $::tcl_precision is not zero. Added compatibility tests to make sure that excess trailing zeroes are suppressed for all eight major code paths. [Bug 3157475] file: [4000825062] check-in: [32e80e56c7] user: kennykb branch: trunk, size: 92548
2010-12-15
15:58
Continued comparison of no-nre against head, and updating the latest changes, and/or pieces forgotten in the roll-forward. file: [13893cb6bf] check-in: [26fcf437a2] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 90713
2010-12-11
18:39
merge file: [2cb21a30b6] check-in: [c291154f2c] user: kennykb branch: dogeen-assembler-branch, size: 90722
2010-12-06
15:03
merge file: [17080ce0cc] check-in: [1d1c73e85a] user: dgp branch: dgp-refactor, size: 90718
2010-12-03
22:30
* generic/tclUtil.c (TclReToGlob): add extra check for multiple inner *s that leads to poor recursive glob matching, defer to original RE instead. tclbench RE var backtrack.
file: [ef16b2551f] check-in: [76870b1f3a] user: hobbs branch: trunk, size: 90716
22:27
* generic/tclUtil.c (TclReToGlob): add extra check for multiple inner *s that leads to poor recursive glob matching, defer to original RE instead. tclbench RE var backtrack.
file: [066b9a7ca6] check-in: [c7ad6de620] user: hobbs branch: core-8-5-branch, size: 90569
14:50
merge file: [abe1dcafd4] check-in: [d6d7259b6f] user: dgp branch: dgp-refactor, size: 90415
09:19
silence gcc warning when using -Wwrite-strings silence gcc warning for non-IEEE platforms [Patch #3116490] cross-compile Tcl mingw32 on unix. This makes it possible to cross-compile Tcl/Tk for Windows (either 32-bit or 64-bit) out-of-the-box on UNIX, using mingw-w64 build tools. file: [7c398fc977] check-in: [d1cc649556] user: nijtmans branch: trunk, size: 90416
2010-12-01
16:42
merge file: [fa7c8c9dc9] check-in: [0af397c644] user: kennykb branch: dogeen-assembler-branch, size: 90413
13:39
@864 + jumps file: [39c74aee6c] check-in: [0dbcc4b3c6] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 89167
2010-11-30
21:29
merge file: [de7013b825] check-in: [113e810716] user: dgp branch: dgp-refactor, size: 90409
20:59
* generic/tclInt.decls: Backport of Kevin B. Kenny's work on * generic/tclInt.h: the Tcl Head, with help from Jeff Hobbs. * generic/tclStrToD.c: * generic/tclTest.c: * generic/tclTomMath.decls: * generic/tclUtil.c: * tests/util.test: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits that (a) fixes a severe performance problem with floating point shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits to generate the digit strings for 'e' and 'f' format, so that it can be used for tcl_precision != 0 (and possibly later for [format]), (c) fixes [Bug 3120139] by making TclPrintDouble inherently locale-independent, (d) adds test cases to util.test for correct rounding in difficult cases of TclDoubleDigits where fixed- precision results are requested. (e) adds test cases to util.test for the controversial aspects of [Bug 3105247]. As a side effect, two more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c) are brought into the build, since the new code uses them.
* generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclTomMathDecls.h: Regenerated.
file: [d443c8fc3b] check-in: [769801ace1] user: andreas_kupries branch: core-8-5-branch, size: 90276
18:17
* generic/tclInt.decls, generic/tclInt.h, generic/tclIntDecls.h: * generic/tclStubInit.c: TclFormatInt restored at slot 24 * generic/tclUtil.c (TclFormatInt): restore TclFormatInt func from 2005-07-05 macro-ization. Benchmarks indicate it is faster, as a key int->string routine (e.g. int-indexed arrays).
file: [28807f3b5b] check-in: [f43e9a82a7] user: hobbs branch: trunk, size: 90407
18:16
* generic/tclInt.decls, generic/tclInt.h, generic/tclIntDecls.h: * generic/tclStubInit.c: TclFormatInt restored at slot 24 * generic/tclUtil.c (TclFormatInt): restore TclFormatInt func from 2005-07-05 macro-ization. Benchmarks indicate it is faster, as a key int->string routine (e.g. int-indexed arrays).
file: [fa823e5353] check-in: [2a8fac784c] user: hobbs branch: core-8-5-branch, size: 90980
12:08
@728 file: [772727b4ac] check-in: [8e03c33dfd] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 89184
2010-11-29
13:51
@670 file: [b34aaabf87] check-in: [2435a4366f] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 89122
13:32
merge file: [cecfb5ff31] check-in: [800763ec73] user: dgp branch: dgp-refactor, size: 88307
02:27
added missing casts that MSVC complained about and deleted unused variable file: [ae76c186b3] check-in: [7c3fff6000] user: kennykb branch: trunk, size: 88307
2010-11-28
23:20
2010-11-29 Kevin B. Kenny <[email protected]>
* generic/tclInt.decls: * generic/tclInt.h: * generic/tclStrToD.c: * generic/tclTest.c: * generic/tclTomMath.decls: * generic/tclUtil.c: * tests/util.test: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits that (a) fixes a severe performance problem with floating point shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits to generate the digit strings for 'e' and 'f' format, so that it can be used for tcl_precision != 0 (and possibly later for [format]), (c) fixes [Bug 3120139] by making TclPrintDouble inherently locale-independent, (d) adds test cases to util.test for correct rounding in difficult cases of TclDoubleDigits where fixed- precision results are requested. (e) adds test cases to util.test for the controversial aspects of [Bug 3105247]. As a side effect, two more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c) are brought into the build, since the new code uses them.
file: [ee5bc7a6d5] check-in: [5986a2c421] user: kennykb branch: trunk, size: 88327
2010-11-23
15:23
Next @611, and jumping tclGetDate.yyacc grammar. file: [ad56c96ab2] check-in: [b277d95385] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 89089
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: [b27e742bb3] check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 88815
13:14
Next @251. file: [c707d19527] check-in: [6e5d8c41eb] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 88842
2010-10-01
13:34
merge file: [c1edbba08e] check-in: [662fc0e6b4] user: kennykb branch: dogeen-assembler-branch, size: 89176
13:14
merge file: [53fe4f35d1] check-in: [45d08f24b7] user: dgp branch: dgp-refactor, size: 89172
12:52
* generic/tclBasic.c, generic/tclClock.c, generic/tclEncoding.c, * generic/tclEnv.c, generic/tclLoad.c, generic/tclNamesp.c, * generic/tclObj.c, generic/tclRegexp.c, generic/tclResolve.c, * generic/tclResult.c, generic/tclUtil.c, macosx/tclMacOSXFCmd.c: More purging of strcpy() from locations where we already know the length of the data being copied.
file: [1b73fff07f] check-in: [50bdab4682] user: dkf branch: trunk, size: 89168
2010-09-17
12:55
Merge from HEAD to rmax-ipv6-branch file: [683da4a91e] check-in: [70c6ac9692] user: rmax branch: rmax-ipv6-branch, size: 89139
2010-08-23
01:46
merge file: [f6966d102c] check-in: [d7364aad61] user: dgp branch: dgp-refactor, size: 89138
2010-08-22
18:53
Remove many type casts which are no longernecessary as a result of [Patch 3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry file: [4b866a79c2] check-in: [0ca694ea65] user: nijtmans branch: trunk, size: 89139
2010-08-12
12:34
merge file: [4b9a8dbecc] check-in: [c7a19cf1a5] user: dgp branch: dgp-refactor, size: 89156
2010-08-10
20:48
* generic/tclUtil.c (TclByteArrayMatch): patterns may not be null-terminated, so account for that.
file: [0757b01dea] check-in: [d4f4ee41c5] user: hobbs branch: trunk, size: 89154
20:48
* generic/tclUtil.c (TclByteArrayMatch): patterns may not be null-terminated, so account for that.
file: [4ee73ecf7d] check-in: [6955f9dc51] user: hobbs branch: core-8-5-branch, size: 88878
2010-06-07
17:36
rebranch from HEAD file: [043d19075c] check-in: [f3af08f468] user: rmax branch: rmax-ipv6-branch, size: 89131
2010-04-29
23:32
merge file: [0d9839ac6b] check-in: [93ad5b0c95] user: dgp branch: dgp-refactor, size: 89130
2010-04-27
12:36
If tclInt.h or tclPort.h is already included, don't include <limits.h> again. Follow-up to [Bug 2991415]: tclport.h #included before limits.h See comments in [Bug 2991415] file: [cf0822b6d7] check-in: [b7c55dd4bf] user: nijtmans branch: trunk, size: 89131
2010-03-06
03:40
merge updates file: [6ee56c0ed5] check-in: [f1f1ac161b] user: dgp branch: dgp-refactor, size: 89149
2010-03-05
14:34
Code Audit results: * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations file: [1982720668] check-in: [4d8a4f639d] user: dkf branch: trunk, size: 89145
2010-02-25
21:53
merge updates from HEAD file: [dffe86f5d8] check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 89120
2010-02-24
10:45
More tidying up (whitespace, spelling, useless parentheses, useless casts) file: [2b456c000f] check-in: [511d94dd87] user: dkf branch: trunk, size: 89116
2010-02-22
23:31
Remove unnecessary EXTERN's, which already are in the global stub table. Use @EXEEXT@ in stead of @EXT_SUFFIX@ Use -DBUILD_tcl in Makefile for CYGWIN Use EXTERN to control CYGWIN exported symbols Remove some unnecessary type casts. file: [b7534b974d] check-in: [ede6fe7b20] user: nijtmans branch: trunk, size: 89143
2009-07-13
13:08
merge updates from HEAD file: [642be3f70c] check-in: [c3eade8112] user: dgp branch: dgp-refactor, size: 89155
2009-07-12
18:04
Fix [Bug 2637173] by consolidating bytearray purity check. file: [5068e607ca] check-in: [f796a220ae] user: dkf branch: trunk, size: 89151
2009-03-03
05:59
merge updates from HEAD file: [40cda0b427] check-in: [6f929495b8] user: dgp branch: dgp-refactor, size: 89189
2009-02-25
19:59
* generic/tclUtil.c (TclStringMatchObj): Revised the branching on the strObj->typePtr so that untyped values get converted to the "string" type and pass through the Unicode matcher. [Bug 2613766] Also added checks to only perform "bytearray" optimization on pure bytearray values. [Bug 2637173].
file: [0a46cff2c1] check-in: [b1137fbe41] user: dgp branch: trunk, size: 89185
2009-02-11
17:27
merge updates from HEAD file: [915718d3f4] check-in: [f07460d448] user: dgp branch: dgp-refactor, size: 89127
2009-02-10
23:08
- eliminate some unnessary type casts - some internal const decorations - spacing file: [6b442c170f] check-in: [a45c7b126b] user: nijtmans branch: trunk, size: 89128
2009-01-08
18:00
merge updates from HEAD file: [80ccbdfe9c] check-in: [0b4ea10c4a] user: dgp branch: dgp-refactor, size: 89094
16:41
Generate errorcodes for more cases. file: [84a749c0f4] check-in: [a12728cbb9] user: dkf branch: trunk, size: 89090
2008-11-10
02:18
merge updates from HEAD file: [d62ed41fd3] check-in: [4a9c1325dc] user: dgp branch: dgp-refactor, size: 88820
2008-10-26
18:34
Style improvements - invoking callbacks without visual junk. file: [0fa0f9aa1d] check-in: [a1a8afc25d] user: dkf branch: trunk, size: 88816
2008-10-17
20:52
merge updates from HEAD file: [2d65dca5a7] check-in: [d93600ad8e] user: dgp branch: dgp-refactor, size: 88883
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: [264d759d71] check-in: [8fcbc25d98] user: nijtmans branch: trunk, size: 88884
2008-10-14
22:37
* generic/tclCmdAH.c: Fix minor compiler warnings when compiling * generic/tclCmdMZ.c: with -Wwrite-strings * generic/tclIndexObj.c: * generic/tclProc.c: * generic/tclStubLib.c: * generic/tclUtil.c:
file: [430c1e3ddc] check-in: [675e88f649] user: nijtmans branch: trunk, size: 88878
2008-10-03
15:48
merge updates from HEAD file: [f96b6bea59] check-in: [ea28e7a56d] user: dgp branch: dgp-refactor, size: 88861
2008-10-02
20:59
TIP #330 IMPLEMENTATION
* generic/tcl.h: Remove the "result" and "freeProc" fields * generic/tclBasic.c: from the default public declaration of the * generic/tclResult.c: Tcl_Interp struct. Code should no longer * generic/tclStubLib.c: be accessing these fields. Access can be * generic/tclTest.c: restored by defining USE_INTERP_RESULT, but * generic/tclUtil.c: that should only be a temporary migration aid. *** POTENTIAL INCOMPATIBILITY ***
file: [60d65037f7] check-in: [df44cd3e16] user: dgp branch: trunk, size: 88857
2008-08-22
18:31
merge updates from HEAD file: [6cd55a37a8] check-in: [3e858aeafd] user: dgp branch: dgp-refactor, size: 88847
18:00
* generic/tclUtil.c (TclReToGlob): Added missing set of the *exactPtr value to really fix [Bug 2065115]. Also avoid possible DString overflow.
file: [eac880a688] check-in: [fe9f78b0a6] user: dgp branch: trunk, size: 88843
18:00
* generic/tclUtil.c (TclReToGlob): Added missing set of the *exactPtr value to really fix [Bug 2065115]. Also avoid possible DString overflow.
file: [8683964bf6] check-in: [1c6b67a996] user: dgp branch: core-8-5-branch, size: 88850
17:26
* generic/tclUtil.c (TclReToGlob): Added missing set of the *exactPtr value to really fix [Bug 2065115]. * tests/regexpComp.test: Correct duplicate test names.
file: [27378dc8b8] check-in: [9832ad37bc] user: dgp branch: trunk, size: 88657
17:20
* generic/tclUtil.c (TclReToGlob): Added missing set of the *exactPtr value to really fix [Bug 2065115]. * tests/regexpComp.test: Correct duplicate test names.
file: [96889303ea] check-in: [78969ab775] user: dgp branch: core-8-5-branch, size: 88662
15:51
merge updates from HEAD file: [357bb513b8] check-in: [9aa324b70c] user: dgp branch: dgp-refactor, size: 88621
2008-08-21
23:42
really fix translation to escape glob-sensitive chars file: [b212cce21b] check-in: [cedd903aec] user: hobbs branch: core-8-5-branch, size: 88624
23:42
really fix translation to escape glob-sensitive chars file: [39c1b9dd78] check-in: [2954833c4a] user: hobbs branch: trunk, size: 88619
23:19
* tests/regexp.test, tests/regexpComp.test: correct re2glob ***= * generic/tclUtil.c (TclReToGlob): translation from exact to anywhere-in-string match. [Bug 2065115]
file: [bb8d230412] check-in: [6e9764c87c] user: hobbs branch: trunk, size: 88390
23:19
* tests/regexp.test, tests/regexpComp.test: correct re2glob ***= * generic/tclUtil.c (TclReToGlob): translation from exact to anywhere-in-string match. [Bug 2065115]
file: [db18ed521b] check-in: [fc9a8bdb44] user: hobbs branch: core-8-5-branch, size: 88395
2008-08-17
17:23
merge updates from HEAD file: [1102a94072] check-in: [df55a727d4] user: dgp branch: dgp-refactor, size: 88362
14:15
* generic/tclTest.c (TestconcatobjCmd): * generic/tclUtil.c (Tcl_ConcatObj): * tests/util.test (util-4.7): fix [Bug 1447328]; the original "fix" turned Tcl_ConcatObj() into a hairy monster. This was exposed by [Bug 2055782]. Additionally, Tcl_ConcatObj could corrupt its input under certain conditions!
*** NASTY BUG FIXED ***
file: [d60af5c6c3] check-in: [06993be2a4] user: msofer branch: trunk, size: 88360
14:12
* generic/tclTest.c (TestconcatobjCmd): * generic/tclUtil.c (Tcl_ConcatObj): * tests/util.test (util-4.7): fix [Bug 1447328]; the original "fix" turned Tcl_ConcatObj() into a hairy monster. This was exposed by [Bug 2055782]. Additionally, Tcl_ConcatObj could corrupt its input under certain conditions!
*** NASTY BUG FIXED ***
file: [0df78c8ee9] check-in: [01147b1a84] user: msofer branch: core-8-5-branch, size: 88366
2008-05-11
04:22
merge updates from HEAD file: [df4aaaebf8] check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 88436
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: [eb51420537] check-in: [2d205c22fb] user: dkf branch: trunk, size: 88431
2008-03-07
22:05
merge updates from HEAD file: [38d07879a4] check-in: [3b6959be94] user: dgp branch: core-stabilizer-branch, size: 88437
2008-03-03
04:34
merge updates from HEAD file: [4eba4c070e] check-in: [f211098809] user: dgp branch: dgp-refactor, size: 88438
2008-02-26
20:18
* generic/tclUtil.c (TclReToGlob): fix the handling of the last * tests/regexpComp.test: star possibly being escaped in determining right anchor. [Bug 1902436]
file: [2a4659b69d] check-in: [13aea450a4] user: hobbs branch: trunk, size: 88435
2007-12-13
15:22
merge stable branch onto HEAD file: [55b04d6f96] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 88223
2007-12-11
16:22
merge updates from HEAD file: [3225803659] check-in: [0be8165e23] user: dgp branch: dgp-refactor, size: 88228
16:19
merge updates from HEAD file: [c75e2f6253] check-in: [f2333519ef] user: dgp branch: core-stabilizer-branch, size: 88227
03:17
* generic/tclUtil.c (TclReToGlob): reduce escapes in conversion when not necessary
file: [f33a86d48a] check-in: [a239670b07] user: hobbs branch: trunk, size: 88225
02:57
* generic/tclInt.decls: move TclByteArrayMatch and TclReToGlob * generic/tclIntDecls.h: to tclInt.h from stubs. * generic/tclStubInit.c: Add flags var to TclByteArrayMatch for * generic/tclInt.h: future extensibility * generic/tcl.h: define TCL_MATCH_EXACT doc for Tcl_StringCaseMatch. * doc/StrMatch.3: It is compatible with existing usage. * generic/tclExecute.c (INST_STR_MATCH): flag for TclByteArrayMatch * generic/tclUtil.c (TclByteArrayMatch, TclStringMatchObj): * generic/tclRegexp.c (Tcl_RegExpExecObj): * generic/tclCmdMZ.c (StringMatchCmd): Use TclStringMatchObj * tests/string.test (11.9.* 11.10.*): more tests
file: [c48de41f58] check-in: [ae5e18deba] user: hobbs branch: trunk, size: 88160
2007-12-06
06:51
merge updates from HEAD file: [635d187ebf] check-in: [6f3a8a0d9e] user: dgp branch: dgp-refactor, size: 86474
2007-11-21
06:30
Merge updates from 8.5b3 release file: [1021e62e87] check-in: [c60ad186f4] user: dgp branch: core-stabilizer-branch, size: 86473
2007-11-18
21:59
More minor cleanup file: [4775ccb70d] check-in: [9f013a3b1a] user: dkf branch: trunk, size: 86469
2007-11-13
13:15
merge updates from HEAD file: [6c4e9c4c1e] check-in: [5be2e31506] user: dgp branch: dgp-refactor, size: 86615
13:07
merge updates from HEAD file: [4f1d92809b] check-in: [cfa59af20c] user: dgp branch: core-stabilizer-branch, size: 86614
00:53
(TclReToGlob): remove out-dated Tcl_RegExpCompile check as it causes recursion file: [207241a853] check-in: [05e315b906] user: hobbs branch: trunk, size: 86612
2007-11-12
22:12
RE: [Patch 1830184] TclResetResult THIS PATCH WAS REVERTED: initial (mis)measurements overstated the perfomance wins, which turn out to be tiny. Not worth the complication.
file: [46d6cd9d87] check-in: [5ff0531ab6] user: msofer branch: trunk, size: 86952
22:01
* generic/tclUtil.c (TclReToGlob): add more comments, set interp result if specified on error.
file: [69c4971ab4] check-in: [463f36cc26] user: hobbs branch: trunk, size: 87008
20:40
merge updates from HEAD file: [3e9d4b39b9] check-in: [27f428842c] user: dgp branch: dgp-refactor, size: 86755
19:18
merge updates from HEAD file: [a14f1c2112] check-in: [72c5ac9502] user: dgp branch: core-stabilizer-branch, size: 86754
03:38
* generic/tclBasic.c: New macro TclResetResult, new iPtr flag * generic/tclExecute.c: bit INTERP_RESULT_UNCLEAN: shortcut for * generic/tclInt.h: Tcl_ResetResult for the "normal" case: * generic/tclProc.c: TCL_OK, no return options, no errorCode * generic/tclResult.c: nor errorInfo, return at normal level. * generic/tclStubLib.c: [Patch 1830184] * generic/tclUtil.c:
file: [a7cad1636e] check-in: [f9acfbe863] user: msofer branch: trunk, size: 86753
02:07
* generic/tclCompCmds.c, generic/tclCompile.c, generic/tclCompile.h: * generic/tclExecute.c, generic/tclInt.decls, generic/tclIntDecls.h: * generic/tclRegexp.c, generic/tclRegexp.h: Add INST_REGEXP and fully * generic/tclStubInit.c, generic/tclUtil.c: compiled regexp for the * tests/regexpComp.test: [Bug 1830166] simple cases. Also added TclReToGlob function to convert RE to glob patterns and use these in the possible cases.
file: [fb6eef6019] check-in: [fcf44fdfdf] user: hobbs branch: trunk, size: 86695
2007-11-11
19:32
[Patch 1830038]: Increased usage of macros to detect and take advantage of objTypes. file: [db0ad5b41f] check-in: [11e8f31512] user: msofer branch: trunk, size: 82668
2007-11-09
18:55
* generic/tclInt.decls, generic/tclIntDecls.h: Use unsigned char for * generic/tclExecute.c, generic/tclUtil.c: TclByteArrayMatch and don't allow a nocase option. [Bug 1828296] For INST_STR_MATCH, ignore pattern type for TclByteArrayMatch case.
file: [c5f6d5e48d] check-in: [c7e4e2f87a] user: hobbs branch: trunk, size: 82675
2007-11-08
00:50
* generic/tclStubInit.c: * generic/tclInt.decls, generic/tclIntDecls.h: added TclByteArrayMatch * generic/tclUtil.c (TclByteArrayMatch): for efficient glob * generic/tclExecute.c (TclExecuteByteCode): matching of ByteArray Tcl_Objs, used in INST_STR_MATCH. [Bug 1827996]
file: [91e4e33643] check-in: [d6f120464e] user: hobbs branch: trunk, size: 83044
2007-11-01
16:55
merge updates from HEAD file: [27d7c9c652] check-in: [06cf57e4eb] user: dgp branch: dgp-refactor, size: 78799
16:25
merge updates from HEAD file: [e35a652459] check-in: [cd5e32c829] user: dgp branch: core-stabilizer-branch, size: 78798
2007-10-28
03:16
* generic/tclUtil.c (Tcl_ConcatObj): optimise for some of the concatenees being empty objs [Bug 1447328]
file: [87d85ce4e6] check-in: [13f627e2f3] user: msofer branch: trunk, size: 78797
2007-10-16
03:50
merge updates from HEAD file: [6f692751c1] check-in: [fde4b3b9a7] user: dgp branch: core-stabilizer-branch, size: 78297
03:42
merge updates from HEAD file: [c4daaf2e4e] check-in: [9837e9e1af] user: dgp branch: dgp-refactor, size: 78298
2007-10-15
21:27
* generic/tclIOCmd.c: Revise [open] so that it interprets leading zero strings passed as the "permissions" argument as octal numbers, even if Tcl itself no longer parses integers in that way.
* unix/tclUnixFCmd.c: Revise the "-permissions" [file attribute] so that it interprets leading zero strings as octal numbers, even if Tcl itself no longer parses integers in that way.
* generic/tclCompExpr.c: Corrections to code that produces * generic/tclUtil.c: extended "bad octal" error messages.
* tests/cmdAH.test: Test revisions so that tests pass whether or * tests/cmdIL.test: not Tcl parses leading zero strings as octal. * tests/compExpr-old.test: * tests/compExpr.test: * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/incr.test: * tests/io.test: * tests/lindex.test: * tests/link.test: * tests/mathop.test: * tests/parseExpr.test: * tests/set.test: * tests/string.test: * tests/stringComp.test:
file: [189e9c20ae] check-in: [985f1d240a] user: dgp branch: trunk, size: 78293
2007-05-29
14:21
merge updates from HEAD file: [bfab61900e] check-in: [404470c2db] user: dgp branch: dgp-refactor, size: 78247
2007-05-10
18:23
[Tcl Bug 1706140]
* generic/tclCmdMZ.c (Trace*Proc): Update Tcl_VarTraceProcs so * generic/tclLink.c (LinkTraceProc): that they call * generic/tclUtil.c (TclPrecTraceProc): Tcl_InterpDeleted() for themselves, and do not rely on (frequently buggy) setting of the TCL_INTERP_DESTROYED flag by the trace core.
* generic/tclVar.c: Update callers of CallVarTraces to not pass in the TCL_INTERP_DESTROYED flag. Also apply filters so that public routines only pass documented flag values down to lower level routines.
* generic/tclVar.c (CallVarTraces): The setting of the TCL_INTERP_DESTROYED flag is now done entirely within the CallVarTraces routine, the only place it can be done right.
file: [9f79dfaf92] check-in: [e09d290d78] user: dgp branch: core-8-4-branch, size: 68704
2007-05-07
19:45
[Tcl Bug 1706140]
* generic/tclLink.c (LinkTraceProc): Update Tcl_VarTraceProcs so that * generic/tclNamesp.c (Error*Read): they call Tcl_InterpDeleted() * generic/tclTrace.c (Trace*Proc): for themselves, and do not rely * generic/tclUtil.c (TclPrecTraceProc): on (frequently buggy) setting of the TCL_INTERP_DESTROYED flag by the trace core.
* generic/tclVar.c: Update callers of TclCallVarTraces to not pass in the TCL_INTERP_DESTROYED flag. Also apply filters so that public routines only pass documented flag values down to lower level routines.
* generic/tclTrace.c (TclCallVarTraces): The setting of the TCL_INTERP_DESTROYED flag is now done entirely within the TclCallVarTraces routine, the only place it can be done right.
file: [df4d5d1709] check-in: [4fde67d501] user: dgp branch: trunk, size: 78242
2007-04-08
14:58
Merge updates from HEAD; may not build file: [4928d115fb] check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 78252
2007-03-21
18:02
* generic/tclExecute.c: More ckalloc -> ckrealloc conversions. * generic/tclLiteral.c: * generic/tclNamesp.c: * generic/tclParse.c: * generic/tclPreserve.c: * generic/tclStringObj.c: * generic/tclUtil.c:
file: [d06562ce5c] check-in: [aa6b9bf6a4] user: dgp branch: trunk, size: 78247
2007-01-18
23:17
Code style improvements file: [f2883140a3] check-in: [8fd6e7367b] user: dkf branch: trunk, size: 78325
22:43
Fix minor fault (made by aku, caught by aku) file: [514b1394cf] check-in: [f2f37791f4] user: dkf branch: trunk, size: 78342
11:37
Whitespace policing, and adding comments so that it is clearer what TclMarkList was doing... file: [3d01c1ba05] check-in: [1c156954e7] user: dkf branch: trunk, size: 78344
2006-11-28
22:20
* generic/tclBasic.c: TIP #280 implementation. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test: file: [2b8f3f328a] check-in: [d95fba8a1f] user: andreas_kupries branch: trunk, size: 77337
2006-11-15
20:08
TIP#270 IMPLEMENTATION
* generic/tcl.decls: New public routines Tcl_ObjPrintf, * generic/tclStringObj.c: Tcl_AppendObjToErrorInfo, Tcl_Format, * generic/tclInt.h: Tcl_AppendLimitedToObj, Tcl_AppendFormatToObj and Tcl_AppendPrintfToObj. Former internal versions removed.
* generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* generic/tclBasic.c: Updated callers. * generic/tclCkalloc.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStrToD.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
file: [b0e6155c9b] check-in: [c06db721dd] user: dgp branch: trunk, size: 75136
2006-11-13
08:23
* generic/tclCompExpr.c: fix gcc warnings about 'cast to/from * generic/tclEncoding.c: pointer from/to integer of different * generic/tclEvent.c: size' on 64-bit platforms by casting to * generic/tclExecute.c: intermediate types intptr_t/uintptr_t * generic/tclHash.c: via new PTR2INT(), INT2PTR(), * generic/tclIO.c: PTR2UINT() and UINT2PTR() macros. * generic/tclInt.h: [Patch 1592791] * generic/tclProc.c: * generic/tclTest.c: * generic/tclThreadStorage.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/configure.in: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * unix/tclUnixPort.h: * unix/tclUnixTest.c: * unix/tclUnixThrd.c:
* unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
file: [e06f0ddac6] check-in: [8562d10e43] user: das branch: trunk, size: 75134
2006-11-02
15:58
* generic/tclBasic.c: Further revised TclAppendPrintToObj() and * generic/tclCkalloc.c: TclObjPrintf() routines to panic when unable * generic/tclCmdAH.c: to complete their formatting operations, rather * generic/tclCmdIL.c: than report an error message. This means an * generic/tclCmdMZ.c: interp argument for error message recording is * generic/tclDictObj.c: no longer needed, further simplifying the * generic/tclExecute.c: interface for callers. * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
file: [6edd4c453b] check-in: [6ed730551a] user: dgp branch: trunk, size: 75104
10:03
Whitespace policing file: [c6926bfd23] check-in: [5ac1f9f57e] user: dkf branch: trunk, size: 75114
2006-10-31
20:19
* generic/tclBasic.c: Refactored and renamed the routines * generic/tclCkalloc.c: TclObjPrintf, TclFormatObj, and * generic/tclCmdAH.c: TclFormatToErrorInfo to a new set of * generic/tclCmdIL.c: routines TclAppendPrintfToObj, * generic/tclCmdMZ.c: TclAppendFormatToObj, TclObjPrintf, and * generic/tclDictObj.c: TclObjFormat, with the intent of making * generic/tclExecute.c: the latter list, plus TclAppendLimitedToObj * generic/tclIORChan.c: and TclAppendObjToErrorInfo, public via * generic/tclIOUtil.c: a revised TIP 270. * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
file: [096d9f4fd8] check-in: [65113c21ec] user: dgp branch: trunk, size: 75127
2006-10-23
21:01
merge updates from HEAD file: [ba4e134b48] check-in: [1f911d4cbb] user: dgp branch: dgp-refactor, size: 75252
2006-09-30
19:20
2006-09-30 Miguel Sofer <[email protected]>
* generic/tclUtil.c (Tcl_SplitList): optimisation, [Patch 1344747] by dgp.
file: [7135425a68] check-in: [3151fcb2e1] user: msofer branch: core-8-4-branch, size: 68712
19:15
* generic/tclUtil.c (Tcl_SplitList): optimisation, [Patch 1344747] by dgp.
file: [0ab5e85d35] check-in: [83165e6b81] user: msofer branch: trunk, size: 75250
2006-09-21
21:11
* generic/tclUtil.c: Dropped ParseInteger() routine. TclParseNumber covers the task just fine.
file: [3e7105fbef] check-in: [b4a525c481] user: dgp branch: trunk, size: 75087
2006-08-29
16:19
merge updates from HEAD file: [229f760696] check-in: [e1feeec3e7] user: dgp branch: dgp-refactor, size: 76539
2006-08-10
12:15
Various minor object file size efficiency fixes. [Bug 1530474] file: [89bd9e9993] check-in: [a09967381c] user: dkf branch: trunk, size: 76534
2005-11-03
17:52
merge updates from HEAD file: [abb74d702b] check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 76540
2005-11-02
11:55
ANSIfy (though only partially - function decls only - for tclExecute.c) file: [28748148ff] check-in: [127ec44748] user: dkf branch: trunk, size: 76535
2005-10-19
18:39
* generic/tclClock.c: Removed some dead code. * generic/tclCmdIL.c: * generic/tclCompCmds.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclLiteral.c: * generic/tclParseExpr.c: * generic/tclScan.c: * generic/tclUtil.c: * generic/tclVar.c:
file: [bfebda0a2d] check-in: [3fd9c620f4] user: dgp branch: trunk, size: 77322
2005-10-18
20:46
merge updates from HEAD file: [18b52a1f05] check-in: [2e8613842e] user: dgp branch: dgp-refactor, size: 78694
2005-10-08
14:42
TIP#237 IMPLEMENTATION
[kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
file: [bb293846b1] check-in: [83fdb360a9] user: dgp branch: trunk, size: 78689
2005-09-15
20:58
merge updates from HEAD file: [23e52babeb] check-in: [29cc0feeb2] user: dgp branch: kennykb-numerics-branch, size: 78694
20:29
merge updates from HEAD file: [b218d9f68e] check-in: [f3caf581fe] user: dgp branch: dgp-refactor, size: 77496
16:40
* generic/tclBasic.c: More callers of TclObjPrintf and * generic/tclCkalloc.c: TclFormatToErrorInfo. * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c
* unix/configure: autoconf-2.59
file: [78284f8986] check-in: [cf51f10457] user: dgp branch: trunk, size: 77491
2005-09-12
15:40
merge updates from HEAD file: [7f0f297f42] check-in: [156f19bcaf] user: dgp branch: dgp-refactor, size: 77452
2005-09-09
18:48
[kennykb-numerics-branch] Merge updates from HEAD.
file: [7eac7ec27b] check-in: [343239eeff] user: dgp branch: kennykb-numerics-branch, size: 78650
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: [97d7cee61a] check-in: [3f8b25f1a3] user: dkf branch: trunk, size: 77447
2005-08-23
06:15
[kennykb_numerics_branch]
* generic/tclBasic.c: Re-used the guts of int(.) and wide(.) math functions to perform conversions in OldMathFuncProc. * generic/tclBasic.c: Support for ACCEPT_NAN. * generic/tclExecute.c:
* generic/tclInt.decls: Restored TclExprFloatError to internal stubs * generic/tclBasic.c: table, and moved definition back to tclExecute.c * generic/tclExecute.c: from tclBasic.c to handle #undef ACCEPT_NAN.
* generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* generic/tclInt.h: New internal macros TclIsNaN and TclIsInfinite * generic/tclBasic.c: replace the IS_NAN and IS_INF macros scattered * generic/tclExecute.c: here and there. * generic/tclObj.c: * generic/tclStrToD.c: * generic/tclUtil.c:
file: [c4ec7597f6] check-in: [249580da47] user: dgp branch: kennykb-numerics-branch, size: 78522
2005-08-22
03:49
[kennykb_numerics_branch]
* generic/tclInt.h: Moved TclParseInteger to tclUtil.c * generic/tclParseExpr.c: and made it static. * generic/tclUtil.c:
* generic/tclInt.decls: Moved TclExprFloatError to tclBasic.c and * generic/tclBasic.c: made it static. * generic/tclExecute.c:
* generitc/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* generic/tclExecute.c: errno, IS_NAN, IS_INF, LLD no longer called in this file; dropped/disabled support for them.
* generic/tclCompExpr.c: errno no longer used in these files; * generic/tclParseExpr.c: dropped support "hack" for it.
* generic/tclStrToD.c: Disabled out of date support "hack" for errno.
* generic/tclBasic.c: Eliminated VerifyExprObjType. Initialize errno to zero in OldMathFuncProc.
file: [7efb1e0ccd] check-in: [4348fa75d0] user: dgp branch: kennykb-numerics-branch, size: 78790
2005-08-15
20:46
* generic/tclInt.decls: Deleted TclLooksLikeInt() and all callers. * generic/tclUtil.c: * generic/tclCompCmds.c:
* generic/tclBasic.c: Rewrite of VerifyExprObjType().
* generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
file: [4fc4224092] check-in: [785947b9dc] user: dgp branch: kennykb-numerics-branch, size: 77337
2005-08-02
18:14
merge updates from HEAD file: [ed866ebe36] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 77324
16:38
merge updates from HEAD file: [4ce00ee1b6] check-in: [c58b7136d0] user: dgp branch: dgp-refactor, size: 77324
2005-07-27
18:23
* generic/tclUtil.c: Converted the $::tcl_precision value to be kept per-thread to prevent different threads from stomping on each others' formatting prescriptions.
***POTENTIAL INCOMPATIBILITY*** Multi-threaded programs that set the value of ::tcl_precision will now have to set it in each thread.
file: [d6fb77ad4c] check-in: [acdeee7ba6] user: dgp branch: trunk, size: 77319
2005-07-26
04:11
Merge updates from HEAD file: [9a95442083] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 77769
2005-07-24
22:56
Getting more systematic about style file: [908ef6f3de] check-in: [83d72c558c] user: dkf branch: trunk, size: 77764
2005-07-12
20:35
merged changes from HEAD file: [167ae740e1] check-in: [5316ea45e0] user: kennykb branch: kennykb-numerics-branch, size: 78074
2005-07-05
18:15
* generic/tclUtil.c: Converted TclFormatInt() into a macro. * generic/tclInt.decls: [RFE 1194015] * generic/tclInt.h:
* generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
file: [7c2e1647fb] check-in: [3af2919289] user: dgp branch: trunk, size: 78065
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611)
file: [d45350decc] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 80057
2005-05-21
15:10
Resynchronized with HEAD file: [809ddb0419] check-in: [96be07d7c8] user: kennykb branch: kennykb-numerics-branch, size: 80059
2005-05-16
19:23
merge updates from HEAD file: [15ee88da8f] check-in: [03a5891876] user: dgp branch: dgp-refactor, size: 80055
2005-05-14
20:46
* generic/tclInt.decls: * generic/tclTest.c: * generic/tclUtil.c: * win/tclWin32Dll.c: fixed link error due to direct access by tclTest.c to the MODULE_SCOPE tclPlatform global: renamed existing TclWinGetPlatform() accessor to TclGetPlatform() and moved it to generic code so that it can be used by on all platforms where MODULE_SCOPE is enforced.
* macosx/tclMacOSXBundle.c: * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API.
* unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052]
* tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core.
* unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe.
* macosx/Makefile: enable configure caching.
* unix/configure.in: wrap tclConfig.h header in #ifndef _TCLCONFIG so that it can be included more than once without warnings from gcc4.0 (as happens e.g. when including both tclInt.h and tclPort.h)
* macosx/tclMacOSXBundle.c: * unix/tclUnixChan.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings.
* unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs
file: [617a228c30] check-in: [7ff2693241] user: das branch: trunk, size: 80050
2005-05-11
16:58
merge updates from HEAD file: [41b5c57fd5] check-in: [a8212110f1] user: dgp branch: dgp-refactor, size: 79590
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [84d4e58aa0] check-in: [1cc2336920] user: kennykb branch: trunk, size: 79589
16:11
Merged changes from HEAD file: [3e0d5fe1cb] check-in: [bae9c0a530] user: kennykb branch: kennykb-numerics-branch, size: 79594
2005-05-05
18:37
* generic/tclInt.decls: Converted TclMatchIsTrivial to a macro. * generic/tclInt.h: * generic/tclUtil.c: * generic/tclIntDecls.h: `make genstubs` * generic/tclStubInit.c: * generic/tclBasic.c: Added callers of TclMatchIsTrivial where * generic/tclCmdIL.c: a search can be done more efficiently * generic/tclCompCmds.c:when it is recognized that a pattern match * generic/tclDictObj.c: is really an exact match. [Patch 1076088] * generic/tclIO.c: * generic/tclNamesp.c: * generic/tclVar.c:
file: [1289a18002] check-in: [751ccc1989] user: dgp branch: trunk, size: 77913
17:55
Merged with HEAD file: [d5d0276140] check-in: [b77c9a87c6] user: kennykb branch: kennykb-numerics-branch, size: 80257
2005-05-04
17:34
merge updates from HEAD file: [9252043439] check-in: [edf99c3880] user: dgp branch: dgp-refactor, size: 78581
2005-05-03
18:07
* doc/DString.3: Eliminated use of identifier "string" in Tcl's * doc/Environment.3: public C API to avoid conflict/confusion with * doc/Eval.3: the std::string of C++. * doc/ExprLong.3, doc/ExprLongObj.3, doc/GetInt.3, doc/GetOpnFl.3: * doc/ParseCmd.3, doc/RegExp.3, doc/SetResult.3, doc/StrMatch.3: * doc/Utf.3, generic/tcl.decls, generic/tclBasic.c, generic/tclEnv.c: * generic/tclGet.c, generic/tclParse.c, generic/tclParseExpr.c: * generic/tclRegexp.c, generic/tclResult.c, generic/tclUtf.c: * generic/tclUtil.c, unix/tclUnixChan.c:
* generic/tclDecls.h: `make genstubs`
file: [f2006370ab] check-in: [83aa957ebe] user: dgp branch: trunk, size: 78576
2005-04-29
22:39
Merge updates from HEAD file: [b3e1a596b7] check-in: [ac63d218d8] user: dgp branch: dgp-refactor, size: 78673
20:49
TIP#176 IMPLEMENTATION [Patch 1165695]
* generic/tclUtil.c: Extended TclGetIntForIndex to recognize index formats including end+integer and integer+/-integer.
* generic/tclCmdMZ.c: Extended the -start switch of regexp and [regsub] to accept all index formats known by TclGetIntForIndex.
* doc/lindex.n: Updated docs to note new index formats. * doc/linsert.n: * doc/lrange.n: * doc/lreplace.n: * doc/lsearch.n: * doc/lset.n: * doc/lsort.n: * doc/regexp.n: * doc/regsub.n: * doc/string.n:
* tests/cmdIL.test: Updated tests. * tests/compile.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/lsearch.test: * tests/lset.test: * tests/regexp.test: * tests/regexpComp.test: * tests/string.test: * tests/stringComp.test: * tests/util.test:
file: [091ce5ee98] check-in: [d9e4591786] user: dgp branch: trunk, size: 78668
2005-04-25
21:37
Merged with HEAD. file: [cf5b95d5b9] check-in: [fcce6158ac] user: kennykb branch: kennykb-numerics-branch, size: 79289
2005-04-12
20:28
* generic/tclInterp.c: Corrected bad syntax of Tcl_Panic() call.
* generic/tclUtil.c (TclGetProcessGlobalValue): More robust handling of bad TclInitProcessGlobalValueProc behavior; an immediate panic rather than a mysterious crash later.
* generic/tclEncoding.c: Several changes to the way the encodingFileMap cache is maintained. Previously, it was attempted to keep the file map filled and up to date with changes in the encoding search path. This contributed to slow startup times since it required an expensive "glob" operation to fill the cache. Now the validity of items in the cache are checked at the time they are used, so the cache is permitted to fall out of sync with the encoding search path. Only [encoding names] and Tcl_GetEncodingNames() now pay the full expense. [Bug 1177363]
file: [94f1f2b502] check-in: [33d1032cba] user: dgp branch: trunk, size: 77608
2005-04-10
23:14
merged with HEAD and fixed 1180368 file: [9e338f116e] check-in: [7bc9ca0285] user: kennykb branch: kennykb-numerics-branch, size: 79198
2005-04-07
17:31
merge updates from HEAD file: [8cbce2bd50] check-in: [7d5704f18c] user: dgp branch: dgp-refactor, size: 77523
2005-04-05
16:56
* generic/tclExecute.c (ExprSrandFunc): Replaced incursions into the * generic/tclUtil.c (TclGetIntForIndex): intreps of numeric types with simpler calls of Tcl_GetIntFromObj and Tcl_GetLongFromObj, now that those routines are better behaved wrt shimmering. [Patch 1177219]
file: [e8b432ccde] check-in: [4a7eaa5b15] user: dgp branch: trunk, size: 77518
16:39
* generic/tclExecute.c (ExprSrandFunc): Replaced incursions into the * generic/tclUtil.c (TclGetIntForIndex): intreps of numeric types with simpler calls of Tcl_GetIntFromObj and Tcl_GetLongFromObj, now that those routines are better behaved wrt shimmering. [Patch 1177219]
file: [6e27c50d11] check-in: [65c0e11b9e] user: dgp branch: core-8-4-branch, size: 68549
2005-03-08
17:04
fixed bug in formatting #s in range 0.0001-1.0 file: [84daaa99e4] check-in: [b2d4af4927] user: kennykb branch: kennykb-numerics-branch, size: 80256
2005-03-03
21:54
added tagged NaN values file: [cc2d4fd64f] check-in: [89429ffe01] user: kennykb branch: kennykb-numerics-branch, size: 80208
18:59
updated handling of signed zeroes file: [8531ab252b] check-in: [8d75e4b8e4] user: kennykb branch: kennykb-numerics-branch, size: 80202
2005-03-02
23:30
further fixes for VC6 file: [3a10fcc8fd] check-in: [fa9796cec4] user: kennykb branch: kennykb-numerics-branch, size: 80376
23:10
made build work again on Linux file: [0f4d3e48a2] check-in: [bc08e3242d] user: kennykb branch: kennykb-numerics-branch, size: 80321
21:25
Developer's checkpoint, see ChangeLog for details file: [20e2f7b095] check-in: [f8f444ebda] user: kennykb branch: kennykb-numerics-branch, size: 80050
2005-01-12
21:35
Merge updates from HEAD file: [16bb9e9754] check-in: [4f5327131e] user: dgp branch: dgp-refactor, size: 78580
2004-12-29
22:46
merge from HEAD file: [d6efc1dca5] check-in: [0a6d56f9eb] user: kennykb branch: kennykb-numerics-branch, size: 78584
2004-12-13
22:11
* generic/tclEncoding.c: Plugged some memory leaks. Thanks to * generic/tclUtil.c: Rolf Ade for reports and testing [Bug 1083082]
file: [cf9be521e7] check-in: [87ae9e385a] user: dgp branch: trunk, size: 78576
2004-12-09
23:00
Merge updates from HEAD file: [f9cc404d8c] check-in: [24873008cc] user: dgp branch: dgp-refactor, size: 78555
2004-12-08
18:24
merged with kennykb-numerics-branch-20041208 file: [c5b34d9d12] check-in: [ab2eb12a79] user: kennykb branch: kennykb-numerics-branch, size: 78559
2004-12-02
23:24
* generic/tclUtil.c (TclSetProcessGlobalValue): Handle the case where a ProcessGlobalValue might be assigned to itself.
* generic/tclEncoding.c (MakeFileMap): Correct refcounting errors managing values returned by TclPathPart (with refCount of 1!) that led to a memory leak. [Bug 1077474].
file: [178c604c4a] check-in: [f3df35d7df] user: dgp branch: trunk, size: 78551
00:09
* generic/tclUtil.c (TclGetProcessGlobalValue): Narrowed the scope of mutex locks.
file: [36b47dddb1] check-in: [03a8df7249] user: dgp branch: trunk, size: 78464
2004-12-01
23:18
* generic/tclUtil.c: Updated Tcl_GetNameOfExecutable() to * generic/tclEncoding.c: make use of a ProcessGlobalValue for * generic/tclEvent.c: storing the executable name. Added internal routines Tcl(Get|Set)ObjNameOfExecutable() to access that storage in Tcl_Obj, rather than string format.
* unix/tclUnixFile.c: Rewrote TclpFindExecutable() to use * win/tclWinFile.c: TclSetObjNameOfExecutable to store the executable name it computes.
* generic/tclInt.h: Added internal stub entries for * generic/tclInt.decls: TclpFindExecutable and Tcl(Get|Set)ObjNameOfExecutable.
* generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* generic/tclCmdIL.c: Retrieve executable name in Tcl_Obj form * win/tclWinPipe.c: instead of string form.
* unix/tclUnixTest.c: Update [testfindexecutable] command to use new internal interfaces.
file: [e9ac9728ed] check-in: [353036774e] user: dgp branch: trunk, size: 78587
2004-11-30
19:34
Patch 976520 reworks several of the details involved with startup/initialization of the Tcl library, focused on the activities of Tcl_FindExecutable().
* generic/tclIO.c: Removed bogus claim in comment that encoding "iso8859-1" is "built-in" to Tcl.
* generic/tclInt.h: Created a new struct ProcessGlobalValue, * generic/tclUtil.c: routines Tcl(Get|Set)ProcessGlobalValue, and function type TclInitProcessGlobalValueProc. Together, these take care of the housekeeping for "values" (things that can be held in a Tcl_Obj) that are global across a whole process. That is, they are shared among multiple threads, and epoch and mutex protection must govern the validity of cached copies maintained in each thread.
* generic/tclNotify.c: Modified TclInitNotifier() to tolerate being called multiple times in the same thread.
* generic/tclEvent.c: Dropped the unused argv0 argument to TclInitSubsystems(). Removed machinery to unsure only one TclInitNotifier() call per thread, now that that is safe. Converted Tcl(Get|Set)LibraryPath to use a ProcessGlobalValue, and moved them to tclEncoding.c. * generic/tclBasic.c: Updated caller.
* generic/tclInt.h: TclpFindExecutable now returns void. * unix/tclUnixFile.c: * win/tclWinFile.c: * win/tclWinPipe.c:
* generic/tclEncoding.c: Built new encoding search initialization on a foundation of ProcessGlobalValues, exposing new routines Tcl(Get|Set)EncodingSearchPath. A cache of a map from encoding name to directory pathname keeps track of where encodings are available for loading. Tcl_FindExecutable greatly simplified into just three function calls. The "library path" is now misnamed, as its only remaining purpose is as a foundation for the default encoding search path.
* generic/tclInterp.c: Inlined the initScript that is evaluated by Tcl_Init(). Added verification after initScript evaluation that Tcl can find its installed *.enc files, and that it has initialized [encoding system] in agreement with what the environment expects. [tclInit] no longer driven by the value of $::tcl_libPath; it largely constructs its own search path now, rather than attempt to share one with the encoding system.
* unix/tclUnixInit.c: TclpSetInitialEncodings factored so that a new * win/tclWinInit.c: routine TclpGetEncodingNameFromEnvironment can reveal that Tcl thinks the [encoding system] should be, even when an incomplete encoding search path, or a missing *.enc file won't allow that initialization to succeed. TclpInitLibraryPath reworked as an initializer of a ProcessGlobalValue.
* unix/tclUnixTest.c: Update implementations of [testfindexecutable], [testgetdefenc], and [testsetdefenc].
* tests/unixInit.test: Corrected tests to operate properly even when a value of TCL_LIBRARY is required to find encodings.
* generic/tclInt.decls: New internal stubs: TclGetEncodingSearchPath, TclSetEncodingSearchPath, TclpGetEncodingNameFromEnvironment. These are candidates for public exposure by future TIPs.
* generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* generic/tclTest.c: Updated [testencoding] to use * tests/encoding.test: Tcl(Get|Set)EncodingSearchPath. Updated tests.
file: [404442ead7] check-in: [5b205fd672] user: dgp branch: trunk, size: 79659
2004-10-28
18:45
merge updates from HEAD file: [f07093a7b6] check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 70155
2004-10-14
15:28
Speed up [info <thing> <simplePattern>] file: [0ba56b7e46] check-in: [c82a4cd09d] user: dkf branch: core-8-4-branch, size: 69607
15:05
Speed up [info <thing> <simplePattern>] file: [d86bd3cc22] check-in: [1bb28d61d3] user: dkf branch: trunk, size: 70151
2004-10-06
15:59
* generic/tclBasic.c: * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: * generic/tclEncoding.c: * generic/tclExecute.c: * generic/tclFCmd.c: * generic/tclHistory.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclResult.c: * generic/tclScan.c: * generic/tclTimer.c: * generic/tclTrace.c: * generic/tclUtil.c: * generic/tclVar.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated.
file: [e99a92b6f6] check-in: [9883f6bfdb] user: dgp branch: trunk, size: 69488
2004-09-30
00:51
merge updates from HEAD file: [e757b49bca] check-in: [6cd7cf6875] user: dgp branch: dgp-refactor, size: 69694
2004-09-29
22:17
Factorize out the code for freeing an object's internal rep. file: [23078381a9] check-in: [3890ad3c7c] user: dkf branch: trunk, size: 69690
2004-09-08
23:02
Merge updates from HEAD file: [a25c3cdb9e] check-in: [dff8728918] user: dgp branch: dgp-refactor, size: 69880
2004-06-18
20:38
* generic/tclEncoding.c: Static TclFindEncodings -> FindEncodings. * generic/tclInt.h: Updated TclpFindExecutable() so that failed * generic/tclUtil.c: attempts to find the executable are saved * unix/tclUnixFile.c: just as successful finds are. [Patch 966053] * unix/tclUnixTest.c:
file: [0311d992a6] check-in: [7cbe86f3c9] user: dgp branch: trunk, size: 69876
2004-04-09
20:57
Merge updates from HEAD file: [75d82d6b7a] check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 69843
2004-04-06
22:25
Patch 922727 committed. Implements three changes:
* generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only.
* generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same.
* win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
file: [8aeb944f5a] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 69839
2003-09-05
23:08
Merge updates from HEAD. file: [6ee145ec85] check-in: [3f920087eb] user: dgp branch: dgp-refactor, size: 69864
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: [871d38b860] check-in: [3195fccaba] user: dgp branch: trunk, size: 69860
2003-08-27
21:31
additinal performance tweak to last commit file: [87a3680532] check-in: [bdf9a52978] user: dgp branch: core-8-4-branch, size: 68944
21:31
additional performance tweak to last commit. file: [bd89a81baa] check-in: [d57a0e1514] user: dgp branch: trunk, size: 68940
21:07
Merge updates from HEAD. file: [b3d3fa9a3f] check-in: [72cdb6ced3] user: dgp branch: dgp-refactor, size: 68634
20:29
* generic/tclUtil.c: Corrected [Bug 411825] and other bugs in TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped spaces were handled incorrectly. * tests/util.test: Added new tests util-8.[2-6].
file: [e8b9f95472] check-in: [698df3f3e0] user: dgp branch: trunk, size: 68630
20:09
* generic/tclUtil.c: Corrected [Bug 411825] and other bugs in TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped spaces were handled incorrectly. * tests/util.test: Added new tests util-8.[2-6].
file: [d33abdf3f0] check-in: [c06c66c590] user: dgp branch: core-8-4-branch, size: 68634
19:55
Revert mistaken commit. file: [2a870bfc9c] check-in: [ad00f5312d] user: dgp branch: trunk, size: 68364
17:57
* tests/util.test: Added new tests for remaining TclNeedSpace() bugs discussed in [Bug 411825].
file: [22ee0aff7f] check-in: [2b2d2221ca] user: dgp branch: trunk, size: 68957
2003-08-07
21:35
Merged changes from HEAD file: [aa20dfa6b0] check-in: [9658ec795f] user: dgp branch: dgp-refactor, size: 68368
2003-07-16
21:25
* generic/tclPreserve.c: In Result and Preserve'd routines, do not * generic/tclUtil.c: assume that ckfree == free, as that is not * generic/tclResult.c: always true. [Bug 756791] (fuller)
file: [a952380885] check-in: [bb94a3e510] user: hobbs branch: core-8-4-branch, size: 68370
21:24
* generic/tclPreserve.c: In Result and Preserve'd routines, do not * generic/tclUtil.c: assume that ckfree == free, as that is not * generic/tclResult.c: always true. [Bug 756791] (fuller)
file: [462dd6c9fe] check-in: [059ed80454] user: hobbs branch: trunk, size: 68366
2003-04-16
23:33
* generic/tcl.h Made changes so that the "wideInt" Tcl_ObjType * generic/tclObj.c is defined on all platforms, even those where * generic/tclPort.h TCL_WIDE_INT_IS_LONG is defined. Also made the Tcl_Value struct have a wideValue field on all platforms. This is a ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms because that struct changes size. This is the same TIP 72 incompatibility that was seen on other platforms at the 8.4.0 release, when this change should have happened as well. [Bug 713562]
* generic/tclInt.h: New internal macros TclGetWide() and TclGetLongFromWide() to deal with both forms of the "wideInt" Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code is confined to the header file.
* generic/tclCmdAH.c: Replaced most coding that was conditional * generic/tclCmdIL.c: on TCL_WIDE_INT_IS_LONG with code that * generic/tclExecute.c: works across platforms, sometimes using * generic/tclTest.c: the new macros above to do it. * generic/tclUtil.c: * generic/tclVar.c:
file: [4bb78ca210] check-in: [699acb79d9] user: dgp branch: trunk, size: 68413
23:31
* generic/tcl.h Made changes so that the "wideInt" Tcl_ObjType * generic/tclObj.c is defined on all platforms, even those where * generic/tclPort.h TCL_WIDE_INT_IS_LONG is defined. Also made the Tcl_Value struct have a wideValue field on all platforms. This is a ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms because that struct changes size. This is the same TIP 72 incompatibility that was seen on other platforms at the 8.4.0 release, when this change should have happened as well. [Bug 713562]
* generic/tclInt.h: New internal macros TclGetWide() and TclGetLongFromWide() to deal with both forms of the "wideInt" Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code is confined to the header file.
* generic/tclCmdAH.c: Replaced most coding that was conditional * generic/tclCmdIL.c: on TCL_WIDE_INT_IS_LONG with code that * generic/tclExecute.c: works across platforms, sometimes using * generic/tclTest.c: the new macros above to do it. * generic/tclUtil.c: * generic/tclVar.c:
file: [f222420735] check-in: [4657eb7ea0] user: dgp branch: core-8-4-branch, size: 68417
2002-11-19
02:34
* generic/tclUtil.c (SetEndOffsetFromAny): handle integer offset after the "end-" prefix.
* generic/get.test: * generic/string.test: * generic/tclObj.c (SetIntFromAny, SetWideIntFromAny): * generic/tclGet.c (TclGetLong, Tcl_GetInt): simplify sign handling before calling strtoul(l). [Bug #634856]
file: [7e344df08c] check-in: [9ed6048410] user: hobbs branch: trunk, size: 68796
2002-11-12
02:26
* generic/tclUtil.c (Tcl_Backslash): use TclUtfToUniChar. (Tcl_StringCaseMatch): use TclUtfToUniChar and add further optimizations for the one-byte/char case.
file: [9c7dc0dd04] check-in: [8fe2fe6f36] user: hobbs branch: trunk, size: 68685
2002-08-20
20:25
merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk file: [ebe65e0843] check-in: [354986d9c3] user: das branch: macosx-8-4-branch, size: 67888
2002-08-05
15:01
* generic/tcl.decls: Restored Tcl_Concat to return (char *). Like * generic/tclDecls.h: Tcl_Merge, it transfers ownership of a dynamic * generic/tclUtil.c: allocated string to the caller.
file: [98c3f43fd4] check-in: [50d2abdc1c] user: dgp branch: trunk, size: 67884
03:24
* doc/CmdCmplt.3: Applied Patch 585105 to fully CONST-ify * doc/Concat.3: all remaining public interfaces of Tcl. * doc/CrtCommand.3: Notably, the parser no longer writes on * doc/CrtSlave.3: the string it is parsing, so it is no * doc/CrtTrace.3: longer necessary for Tcl_Eval() to be * doc/Eval.3: given a writable string. Also, the * doc/ExprLong.3: refactoring of the Tcl_*Var* routines * doc/LinkVar.3: by Miguel Sofer is included, so that the * doc/ParseCmd.3: "part1" argument for them no longer needs * doc/SetVar.3: to be writable either. * doc/TraceVar.3: * doc/UpVar.3: Compatibility support has been enhanced so * generic/tcl.decls that a #define of USE_NON_CONST will remove * generic/tcl.h all possible source incompatibilities with * generic/tclBasic.c the 8.3 version of the header file(s). * generic/tclCmdMZ.c The new #define of USE_COMPAT_CONST now does * generic/tclCompCmds.c what USE_NON_CONST used to do -- disable * generic/tclCompExpr.c only those new CONST's that introduce * generic/tclCompile.c irreconcilable incompatibilities. * generic/tclCompile.h * generic/tclDecls.h Several bugs are also fixed by this patch. * generic/tclEnv.c [Bugs 584051,580433] [Patches 585105,582429] * generic/tclEvent.c * generic/tclInt.decls * generic/tclInt.h * generic/tclIntDecls.h * generic/tclInterp.c * generic/tclLink.c * generic/tclObj.c * generic/tclParse.c * generic/tclParseExpr.c * generic/tclProc.c * generic/tclTest.c * generic/tclUtf.c * generic/tclUtil.c * generic/tclVar.c * mac/tclMacTest.c * tests/expr-old.test * tests/parseExpr.test * unix/tclUnixTest.c * unix/tclXtTest.c * win/tclWinTest.c
file: [49d2ee670e] check-in: [e476c22fec] user: dgp branch: trunk, size: 67890
2002-06-25
08:59
Surface fix for bug #533364; TclGetIntForIndex no longer assumes an unshared empty result when generating an error message. file: [f60aaf065c] check-in: [03029eff05] user: dkf branch: trunk, size: 67994
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: [9a1dfd2233] check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 67749
2002-04-19
13:08
list/string indexes don't destroy wide int rep [Bug #526717] file: [9c008d59cb] check-in: [d4748150e1] user: dkf branch: trunk, size: 67740
2002-03-20
22:47
* Updated interfaces of generic/tclVar.c according to TIP 27. In particular, the "part2" arguments were CONSTified.
file: [0603d3e34c] check-in: [b64c27e52d] user: dgp branch: trunk, size: 66608
2002-02-08
02:52
* Partial TIP 27 rollback. Following routines restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects.
* generic/tclCmdMZ.c: corrected use of C++-style comment.
file: [474fa1f332] check-in: [bb1a244cde] user: dgp branch: trunk, size: 66602
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [7a47d7d8ea] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 66623
2002-01-25
20:40
* Updated interfaces of generic/tclEncoding, generic/tclFilename.c, generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath.
file: [88167badcb] check-in: [fceed15544] user: dgp branch: trunk, size: 66614
2002-01-02
13:52
Fixed fault with case-insensitive string matching (Bug#233257) and rewrote some tests to test what they claimed to be testing. file: [d3b815ef53] check-in: [99e550c5be] user: dkf branch: trunk, size: 66572
2001-12-05
18:22
* NOTES: Updated to explain the usage of the various macros upfront. The original contents remain and are declared to be the scratchpad.
* tclCmdMZ.c: * tclCompCmds.c: * tclCompile.c: * tclEvent.c: * tclExecute.c: * tclNamesp.c: * tclParse.c: * tclProc.c: * tclUtil.c: More places using TCL_STRUCT_ON_HEAP.
file: [2971c67885] check-in: [dfc8a95b9f] user: andreas_kupries branch: mod-8-3-4-branch, size: 65270
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: [065bec4216] check-in: [fc43051481] user: andreas_kupries branch: mod-8-3-4-branch, size: 65182
2001-11-28
17:58
* NOTES: New file. Read here about the new modularization macros, interdependencies, implications, etc.
* static.sizes.html: New file. Report on the cuts achieved so far. Regarding the object files only the files which did change in size are reported. Usage of the MODULAR_TCL macro currently cuts about 17 % of the code (measured using strip'ped object files and libraries).
* Changed files so far .. [cut, see changelog for full list]
* Working on modularization of the tcl core.
*************************** **** mod-8-3-4-branch **** ***************************
file: [329fc690d9] check-in: [052bbd8095] user: andreas_kupries branch: mod-8-3-4-branch, size: 65160
2001-11-21
02:36
added TIP#73 patch #483500 from Kevin Kenny. This deprecates TclpGetTime in favor of new Tcl_GetTime. file: [c058d7792c] check-in: [ad0e26f63b] user: hobbs branch: trunk, size: 66259
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: [f2cd2b5fbf] check-in: [8e0db83abc] user: hobbs branch: trunk, size: 65718
2001-09-27
13:49
Backing out unwise changes file: [9188549a39] check-in: [4c0c25f627] user: dkf branch: dkf-64bit-support-branch, size: 61478
2001-09-26
14:23
Now builds on Solaris8/SPARC with both SunPro CC *and* GCC. file: [afa55d13bd] check-in: [4850711173] user: dkf branch: dkf-64bit-support-branch, size: 61486
2001-09-25
16:49
Woo hoo! Builds on one platform (Solaris8/SPARC with SunPro CC) file: [b52f8d9cf5] check-in: [dd2d80954c] user: dkf branch: dkf-64bit-support-branch, size: 61510
2001-09-24
21:10
* Updated APIs in generic/tclUtil.c according to the guidelines of TIP 27. [Patch 464553]
file: [d82246dfba] check-in: [e70344d226] user: dgp branch: trunk, size: 61517
2001-09-19
08:52
TclNeedSpace is now UTF8-aware. (Bug #411825 from <[email protected]>) file: [dc91c79fc8] check-in: [c64abaca1e] user: dkf branch: trunk, size: 61474
2001-08-31
17:53
* tests/compile.test: added compile-11.* interp result checks * generic/tclUtil.c (TclGetIntForIndex): added Tcl_ResetResult before Tcl_AppendStringsToObj to prevent shared object crash when called from bcc instruction. The Tcl_Append* calls that append to the result object that are invoked by bcc insts must remember to call Tcl_ResetResult because the bcc doesn't do this for us. [Bug #456892]
file: [03cefe6e07] check-in: [6a841ea6f8] user: hobbs branch: trunk, size: 61254
2001-07-31
19:12
Changes from TIP#17 "Redo Tcl's filesystem"

The following files were impacted.

* doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
file: [2446a6e385] check-in: [9461aca548] user: vincentdarley branch: trunk, size: 61099
2001-07-16
23:14
2001-07-02 Jeff Hobbs <[email protected]>
* tests/util.test: added util-4.6 * generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards over utf-8 chars. [Bug #227512]

2001-06-27 Jeff Hobbs <[email protected]>

* generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash handling of multibyte utf-8 chars. [Bug #217987]
* generic/tclCmdIL.c (InfoProcsCmd): fixed potential mem leak in info procs that created objects without using them.
* generic/tclCompCmds.c (TclCompileStringCmd): fixed mem leak when string command failed to parse the subcommand.

2001-05-22 Jeff Hobbs <[email protected]>

* generic/tclObj.c (TclAllocateFreeObjects): simplified objSizePlusPadding to use sizeof(Tcl_Obj) (max)
file: [5bbc3319b1] check-in: [bef6467977] user: hobbs branch: core-8-3-1-branch, size: 65012
2001-07-03
03:33
* tests/util.test: added util-4.6 * generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards over utf-8 chars. [Bug #227512]
file: [3e78f4fe7c] check-in: [8ee4571bc6] user: hobbs branch: trunk, size: 63300
2001-06-08
23:15
Merged with HEAD file: [7f38a93b7c] check-in: [3671c42574] user: kennykb branch: kennykb-tip-22-33, size: 66406
2001-06-05
15:54
Tcl_Obj'ified the 'end-offset' syntax. file: [c4736c1ff5] check-in: [a9740b3b81] user: kennykb branch: kennykb-tip-22-33, size: 66406
01:10
Merged latest HEAD. file: [4d7b7e57b6] check-in: [73777e2087] user: kennykb branch: kennykb-tip-22-33, size: 63237
2001-06-04
01:25
* generic/tclUtil.c (Tcl_DStringAppendElement): patch to save an extra strlen call. [Bug #428572]
file: [66ec46c15d] check-in: [d439e36fe8] user: hobbs branch: trunk, size: 63231
2000-05-08
21:59
* doc/Utf.3: * generic/tclStubInit.c: * generic/tcl.decls: * generic/tclDecls.h: * generic/tclUtf.c: Added new functions Tcl_UniCharNcasecmp and Tcl_UniCharCaseMatch (unicode parallel to Tcl_StringCaseMatch) * generic/tclUtil.c: rewrote Tcl_StringCaseMatch algorithm for optimization and made Tcl_StringMatch just call Tcl_StringCaseMatch
file: [b24d3a8e4c] check-in: [52c8e2d16d] user: hobbs branch: trunk, size: 63134
1999-12-12
02:26
* tests/var.test: * generic/tclCompile.c: fixed problem where setting to {} array would intermittently not work. (Fontaine) [Bug: 3339]
* generic/tclCmdMZ.c: * generic/tclExecute.c: optimized INST_TRY_CVT_TO_NUMERIC to recognize boolean objects. (Spjuth) [Bug: 2815]
* tests/info.test: * tests/parseOld.test: * generic/tclCmdAH.c: * generic/tclProc.c: changed Tcl_UplevelObjCmd (uplevel) and Tcl_EvalObjCmd (eval) to use TCL_EVAL_DIRECT in the single arg case as well, to take advantage of potential pure list input optimization. This means that it won't get byte compiled though, which should be acceptable. * generic/tclBasic.c: made Tcl_EvalObjEx pure list object aware in the TCL_EVAL_DIRECT case for efficiency. * generic/tclUtil.c: made Tcl_ConcatObj pure list object aware, and return a list object in that case [Bug: 2098 2257]
* generic/tclMain.c: changed Tcl_Main to not constantly reuse the commandPtr object (interactive case) as it could be shared. (Fellows)
file: [59ea1fac17] check-in: [a887ecceee] user: hobbs branch: trunk, size: 64941
1999-12-08
05:49
* generic/tclUtil.c: fixed Tcl_ScanCountedElement to not step beyond the end of the counted string [Bug: 3336]
* generic/tclCompile.c: fixed 'bad code length' error for 'expr + {[incr]}' case, with new test case [Bug: 3736] and seg fault on 'expr + {[error]}' (different cause) that was caused by a correct optimization that didn't correctly track how it was modifying the source string in the opt. The optimization was removed, which means that: expr 1 + {[string length abc]} will be not be compiled inline as before, but this should be written: expr {1 + [string length abc]} which will be compiled inline for speed. This prevents expr 1 + {[mindless error]} from seg faulting, and only affects optimizations for degenerate cases [Bug: 3737]
file: [2576906ab4] check-in: [d339070a4e] user: hobbs branch: core-8-2-1-branch, size: 62608
03:49
* generic/tclDate.c: * unix/Makefile.in: fixed make gendate to swap const with CONST so it uses the Tcl defined CONST type [Bug: 3521]
* generic/tclIO.c: removed panic that could occur in FlushChannel when a "blocking" channel would receive EAGAIN, instead treating it the same as non-blocking. [Bug: 3773]
* generic/tclUtil.c: fixed Tcl_ScanCountedElement to not step beyond the end of the counted string [Bug: 3336]
file: [9249697e05] check-in: [b39a92cac1] user: hobbs branch: trunk, size: 63852
1999-12-04
06:28
check for whitespace after bad octals file: [c96deeef4f] check-in: [16f0a0d493] user: hobbs branch: trunk, size: 63853
06:15
* tests/expr-old.test: * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling.
* tests/expr.test: * generic/tclCompile.c: fixed 'bad code length' error for 'expr + {[incr]}' case, with new test case [Bug: 3736] and seg fault on 'expr + {[error]}' (different cause) that was caused by a correct optimization that didn't correctly track how it was modifying the source string in the opt. The optimization was removed, which means that: expr 1 + {[string length abc]} will be not be compiled inline as before, but this should be written: expr {1 + [string length abc]} which will be compiled inline for speed. This prevents expr 1 + {[mindless error]} from seg faulting, and only affects optimizations for degenerate cases [Bug: 3737]
file: [b828edc7de] check-in: [bc2b85b9c2] user: hobbs branch: trunk, size: 63787
1999-09-21
04:20
1999-09-16 Jeff Hobbs <[email protected]>
* tests/timer.test: changed after delay in timer test 6.29 from 1 to 10. [Bug: 2796]
* tests/pkg.test: * generic/tclPkg.c: fixed package version check to disallow 1.2..3 [Bug: 2539]
* unix/Makefile.in: fixed gendate target - this never worked since RCS was intro'd. * generic/tclGetDate.y: updated to reflect previous changes to tclDate.c (leap year calc) and added CEST and UCT time zone recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954, 1245, 1249]
* generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719] and changed Tcl_Alloc, et al to not panic when a alloc request for zero came through and NULL was returned (valid on AIX, Tru64) [Bug: 2795, etc]
* tests/clock.test: * doc/clock.n: * generic/tclClock.c: added -milliseconds switch to clock clicks to guarantee that the return value of clicks is in the millisecs granularity [Bug: 2682, 1332]

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

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

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

* tests/linsert.test: * doc/linsert.n: * generic/tclCmdIL.c: fixed end-int interpretation of linsert to correctly calculate value for end, added test and docs [Bug: 2693]
* doc/regexp.n: * doc/regsub.n: * tests/regexp.test: * generic/tclCmdMZ.c: add -start switch to regexp and regsub with docs and tests
* doc/switch.n: added proper use of comments to example. * generic/tclCmdMZ.c: changed switch to complain when an error occurs that seems to be due to a misplaced comment.
* generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions in regsub [Bug: 2723]
* generic/tclCmdMZ.c: changed [string equal] to return an Int type object (was a Boolean)
file: [4234fa5c0b] check-in: [eb68adcdfd] user: hobbs branch: trunk, size: 62528
1999-05-22
01:20
Merged changes from scriptics-tclpro-1-3-b2 branch file: [9faef672be] check-in: [f692388d07] user: stanton branch: trunk, size: 62607
1999-05-20
00:03
Merged in various changes submitted by Jeff Hobbs:

* generic/tcl.decls: * generic/tclUtf.c: Added Tcl_UniCharIs* functions for control, graph, print, and punct classes.

* generic/tclUtil.c: * doc/StrMatch.3: Added Tcl_StringCaseMatch() implementation to support case-insensitive globbing.

* doc/string.n: * unix/mkLinks: * tests/string.test: * generic/tclCmdMZ.c: Added additional character class tests, added -nocase switch to "string match", changed string first/last to use offsets. file: [9723a95f74] check-in: [61e23396c3] user: stanton branch: scriptics-tclpro-1-3-b2-branch, size: 62611

1999-05-06
19:21
lint file: [98a493e412] check-in: [e085a3ab0f] user: stanton branch: trunk, size: 58982
18:46
* doc/string.n: * tests/cmdIL.test: * tests/cmdMZ.test: * tests/error.test: * tests/ioCmd.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * tests/cmdIL.test: * generic/tclUtil.c: * generic/tclCmdMZ.c: Replaced "string icompare/iequal" with -nocase and -length switches to "string compare/equal". Added a -nocase option to "string map". Changed index syntax to allow integer or end?-integer? instead of a full expression. This is much simpler with safeTcl scripts since it avoids double substitution issues. file: [1359cf5720] check-in: [fb86d77733] user: stanton branch: trunk, size: 58972
1999-05-04
01:33
* tests/cmdIL.test: * tests/cmdMZ.test: * tests/error.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): * generic/tclUtil.c (TclGetIntForIndex): Applied Jeff Hobbs's string patch which includes the following changes [Bug: 1845]: file: [e6548ee567] check-in: [2728afa3b5] user: stanton branch: trunk, size: 58941
1999-04-21
21:50
Resynced with mainline. file: [75ad232b88] check-in: [45b9dd789f] user: rjohnson branch: trunk, size: 58591
01:47
Added: Merged with mainline. file: [100e30ce20] check-in: [81c2b84aff] user: rjohnson branch: scriptics-tclpro-1-2, size: 58595
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-17
01:36
added first draft of documentation for Tcl_Access and Tcl_Stat. defined Tcl_Stat and Tcl_Access to call TclStat and TclAccess instead of TclpStat and TclpAccess. file: [4c0a189f6b] check-in: [62ed9ae0ba] user: hershey branch: trunk, size: 58590
00:32
changes make Tcl_Access and Tcl_Stat public. also one minor fix in tests/all.tcl to fix bug 1770. file: [5742685c47] check-in: [4dacfaef42] user: hershey branch: trunk, size: 58592
1999-04-16
00:46
merged tcl 8.1 branch back into the main trunk file: [19da88b78b] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 57563
1999-04-06
04:27
Made internal functions call Tcl_GetCwd & Tcl_Chdir Fixed broken tests due to adding encoding function. file: [050b4371d7] check-in: [4ee7449197] user: rjohnson branch: core-8-1-branch-old, size: 57569
03:13
Added functions to the stubs tables. file: [350b40dbbb] check-in: [c55afa1897] user: redman branch: core-8-1-branch-old, size: 57570
1999-03-12
23:29
Summary ------- 1) Broke the initialization of memory and finding the encodings file into seprarate routines. 2) Added wrapper hooks for locating files and initialization. 3) Modified the library path lookup algorithm.

What I Changed -------------- 1) Modified generic/tclInt.h a) Added cache of the tclNativeExecutable name so the variable does not have be recomputed on subsequent calls to TclpFindExecutable. a) Added variable tclDefaultEncoding dir to store the path to the encoding files. b) Added prototype for TclpFindExecutable & TclpFindEncodings.

2) Modified generic/tclInitScript.h a) Added the TclSetPreInitScript proc and pointer to the script.

3) Modified generic/tclUtil.c a) Added initialization of the tclNativeExecutableName.

4) Modified generic/tclEvent.c a) Added boolean that indicates if the encodings have been initialized. b) Modified TclInitSubsystems so it only initializes "in-memory" subsystems, and not the encoding sub system. c) Added TclFindEncodigs procedure to initialize the encoding subsystem. d) Tcl_Finallize cleans up memory allocated for tclNativeExecutableName and tclDefaultEncodingDir.

5) Modified generic/tclEncoding.c a) Added intialization of the tclDefaultEncodingDir variable. b) Added two accessor functions, Tcl_GetDefaultEncodingDir and Tcl_SetDefaultEncodingDir. c) Made Tcl_FindExecutable platform independent, and moved to this file.

6) Modified unix/tclUnixFile.c and win/tclWinFile.c a) Added TclpFindExecutable(argv0) to compute a native string. c) Tcl_FindExecutable calls TclpFindExecutable to get the native string. d) Modified the TclpInitLibraryPath lookup algorithm (see below)

7) Modified unix/tclUnixInit.c and win/tclWinInit.c a) Added the call evaluate to the pre-init script b) Modified TclpInitLibraryPath to take a native path to the executable so it does not have to call Tcl_FindExecutable. c) On windows, the AppendRegistry routine was removed.

8) Modified unix/tclUnixTest.c a) Modified TestfindexecutableCmd to reset the cached value of tclNativeExecutable name. file: [6f62e10753] check-in: [f989579c4c] user: surles branch: core-8-1-branch-old, size: 56384

1999-03-10
05:52
Merged stubs changes into mainline for 8.0 file: [764329dc14] check-in: [1969693351] user: stanton branch: trunk, size: 78361
1999-03-03
00:38
* unix/Makefile.in: * unix/configure.in: * unix/ldAix: Enhanced AIX shared library support.

* win/tclWinSock.c: Removed a bunch of extraneous PASCAL FAR attributes from internal functions.

* win/tclWinReg.c: Changed registry package to use stubs mechanism so it no longer depends on the specific version of Tcl.

* doc/AddErrInfo.3: * doc/Eval.3: * doc/PkgRequire.3: * doc/SetResult.3: * doc/StringObj.3: * generic/tcl.h: * generic/tclBasic.c: * generic/tclPanic.c: * generic/tclStringObj.c: * generic/tclUtil.c: * unix/mkLinks: Added va_list versions of all VARARGS functions so they can be invoked from the stub functions.

* doc/package.n: * doc/PkgRequire.3: * generic/tclPkg.c: Added Tcl_PkgProvideEx, Tcl_RequireEx, Tcl_PresentEx, and Tcl_PkgPresent. Added "package present" command.

* generic/tclFileName.c: * mac/tclMacFile.c: * mac/tclMacShLib.exp: * unix/tclUnixFile.c: * win/tclWinFile.c: Changed so TclGetUserHome is defined on all platforms, even though it is currently a noop on mac and windows, and renamed it to TclpGetUserHome.

* generic/tclCkalloc.c: Added stub versions of memory checking functions when compiling without TCL_MEM_DEBUG.

* doc/ByteArrObj.3: * generic/tcl.h: * generic/tclBinary.c: * generic/tclObj.c: Ported the 8.1 ByteArray type back to 8.0.

* generic/tcl.decls: * generic/tcl.h: * generic/tclBasic.c: * generic/tclDecls.h: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclIntPlatStubs.c: * generic/tclIntStubs.c: * generic/tclPlatDecls.h: * generic/tclPlatStubs.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclStubs.c: * tools/genStubs.tcl: * unix/configure.in: * unix/Makefile.in: * unix/tclConfig.sh.in: * win/makefile.vc: * win/tclWinPort.h: Added Tcl stubs implementation. There are now two new macros USE_TCL_STUBS and USE_TCL_STUB_PROCS that enable use of stubs and disable stub macros respectively. All of the public and private function declarations from tcl.h and tclInt.h have moved into the *.decls files and the *Stubs.c and *Decls.h files are generated using the genStubs.tcl script.

* generic/tclPanic.c: * generic/panic.c: renamed panic to Tcl_Panic, added macro for backwards compatibility, renamed file to tclPanic.c file: [6c829da703] check-in: [f404370f5a] user: stanton branch: dev-stubs-branch, size: 78365

1999-02-19
02:17
Deleted: Created branch scriptics-tclpro-1-2-synthetic check-in: [1d719b3ad1] user: cvs2fossil branch: scriptics-tclpro-1-2-synthetic, size: 0
1999-01-28
20:25
* generic/tclUtil.c (Tcl_DStringSetLength): Changed so the buffer overallocates in a manner similar to Tcl_DStringAppend. This should improve performance for TclUniCharToUtfDString. file: [a0732071ec] check-in: [8803a39b5d] user: stanton branch: core-8-1-branch-old, size: 56348
1998-12-12
01:36
Minor change to Lock Declarations to use TCL_DECLARE_MUTEX macro, published in tcl.h. file: [0c8466e12e] check-in: [c778c9ef5e] user: lfb branch: core-8-1-branch-old, size: 55609
1998-12-10
21:21
* Fixed lots of files that used TCL_THREAD instead of TCL_THREADS.

* generic/tclEncoding.c (Tcl_FreeEncoding): Moved most of the code into a static FreeEncoding routine that does not grab the encodingMutex to avoid deadlocks/races when called from other routines that already have the mutex. file: [b6afe5feb5] check-in: [09f356baa2] user: stanton branch: core-8-1-branch-old, size: 55638

1998-12-03
23:59
* generic/tclUtil.c (Tcl_StringMatch): Changed to match 8.0 behavior in corner case where there is no closing bracket. file: [f1969ae247] check-in: [243b588dd0] user: stanton branch: core-8-1-branch-old, size: 55637
1998-11-11
04:54
lots of lint wrapped mutex declarations in ifdefs to avoid compiler warnings file: [902cc44108] check-in: [9535a849c1] user: stanton branch: core-8-1-branch-old, size: 55560
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [b871b6af00] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 55528
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [238262586b] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 54479
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [493bb02dbf] check-in: [196f92fd17] user: stanton branch: trunk, size: 76480
1998-06-12
16:49
Moved the definition of "char *tclExecutableName" to this file. Added implementation for the new public routine 'Tcl_GetNameOfExecutable(...)'. file: [e8152e8ced] check-in: [21d0cf46bc] user: suresh branch: trunk, size: 76480
1998-03-26
14:45
Added: Initial revision file: [8223df3dbd] check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 75435