Tcl Source Code

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

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

History for generic/tclUtil.c

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 [8e1e31eac0fd6b6c4452bc108a98ab08c6b64588|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 [0e92c404f19ede5b2eb06e6db27647d3138cc56|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: novem-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: novem-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 <p>add TCL_NOSIZE as internal defined for -1, and use it in a lot of places Ass this function argument should be size_t, not ssize_t (still to be TIPped), something like this will be needed anyway. file: [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" <p>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 <p>Fix Windows build <p>Now usable with Thread's "novem" branch (3.0a1) <p>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 &#91;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 <kennykb@acm.org> * 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 <msofer@users.sf.net> * 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 <arobert3434@users.sf.net>) 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 <jeffh@ActiveState.com> * 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 <jeffh@ActiveState.com> * 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 <jeffh@ActiveState.com> * 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 <hobbs@scriptics.com> * 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 <hobbs@scriptics.com> * 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 <hobbs@scriptics.com> * 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