History of tests/util.test of 3260544adf902bab
Not logged in

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

History of file tests/util.test at check-in 3260544adf902bab

2025-07-09
19:15
Update to latest 9.1 file: [11e2a41b11] check-in: [26919f1a9e] user: jan.nijtmans branch: tip-615, size: 67728
2024-10-16
18:58
Merge [bea36e3b59a0092c]: Indenting in testcases. Always use tabs in stead of 8 spaces. file: [9a0aa45c04] check-in: [f3091051a5] user: pooryorick branch: unchained, size: 68112
2024-10-09
08:16
Indenting in testcases. Always use tabs in stead of 8 spaces file: [4c4c83d58a] check-in: [bea36e3b59] user: jan.nijtmans branch: main, size: 67758
2024-08-25
11:05
Merge [f1cef9d6c96f7ce5]: Fix util-18.13/util-18.14 constraint, which masked the wrong result on 64-bit windows. Fixed that as well. file: [c328642a06] check-in: [278f6064f8] user: pooryorick branch: unchained, size: 68973
08:33
Merge [f08e71ebd9742f29]: Fix [0d78177f20]: unsigned use of Tcl_ObjPrintf() doesn't work as expected. With testcases. file: [c839c6becc] check-in: [b826c4d1e8] user: pooryorick branch: unchained, size: 68985
2024-07-20
15:59
Merge trunk [91c2f411e7e71552], TIP #636 (tip-636-tcl9-644), resolve all conflicts including those resulting from conflicting Tcl_Obj interface implementations, and relicense under GNU Affero General Public License. All tests pass. file: [878e4affc9] check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 68538
2024-02-08
12:15
Backport Tcl_ObjPrintf "ll" (and "I32/64") from Tcl 8.7 (again) file: [dd52b1c468] check-in: [139b450167] user: jan.nijtmans branch: rfe-2089279, size: 133925
2024-02-06
09:55
Merge 8.7 file: [de95e55ae5] check-in: [f1cef9d6c9] user: jan.nijtmans branch: main, size: 68619
09:41
Fix util-18.13/util-18.14 constraint, which masked the wrong result on 64-bit windows. Fixed that as well. file: [c552793aae] check-in: [d1c674d649] user: jan.nijtmans branch: core-8-branch, size: 143007
2024-02-05
15:26
Fix [2089279]: StringObj.3 Tcl_ObjPrintf inaccuracies. Not only the documentation, also the behavior in the "unsigned long" case was wrong. Testcases added. file: [1e6e7c0c5f] check-in: [0e4c7187e7] user: jan.nijtmans branch: core-8-6-branch, size: 133643
2024-02-01
21:47
Merge 8.7 file: [73c7aac03f] check-in: [f08e71ebd9] user: jan.nijtmans branch: main, size: 68631
21:44
Fix [0d78177f20]: unsigned use of Tcl_ObjPrintf() doesn't work as expected. With testcases. file: [d244a03776] check-in: [7abae71820] user: jan.nijtmans branch: core-8-branch, size: 143019
2022-11-14
17:23
Test suite hygiene - Several tests missing the "testdstring" constraint - [package require tcltests] is fragile, and almost all test files that had it were not making use of anything it provides. Removed. file: [9587546d95] check-in: [ba1fb66b47] user: dgp branch: core-8-6-branch, size: 132846
2022-04-29
21:46
Experiment: Don't allow spaces in integers file: [635f7909d9] check-in: [9e70beec40] user: jan.nijtmans branch: no-int-space, size: 68159
2021-10-31
22:41
Simplify -matchvar/-indexvar processing of regexp/switch file: [da301fe075] check-in: [899b89ec3b] user: jan.nijtmans branch: simpl_matchvar, size: 142542
16:21
Merge 8.7 file: [76cb946c34] check-in: [e837834cb3] user: jan.nijtmans branch: strict-index-experiment, size: 142539
2021-04-14
19:21
merge 8.7 file: [eb42b7ef8e] check-in: [7a4648746a] user: dgp branch: main, size: 68184
19:19
merge 8.6 file: [0c3854932d] check-in: [03dc2d7a0d] user: dgp branch: core-8-branch, size: 142572
18:58
merge 8.5; adapt fix for 8.6 file: [15147df76a] check-in: [dd1bbf497c] user: dgp branch: core-8-6-branch, size: 132786
18:23
Test demonstrating bug [26649439c7]. file: [a4db7f45a9] check-in: [5c3bf7eb54] user: dgp branch: bug-26649439c7, size: 131170
2021-03-30
07:46
Merge 8.7 file: [e0c6a3d689] check-in: [cdacf07503] user: jan.nijtmans branch: main, size: 68090
07:11
Thanks to TIP #587, convert many escapes in the testcases into the actual (UTF-8) character. file: [ad4950d57e] check-in: [b1f60d79e9] user: jan.nijtmans branch: core-8-branch, size: 142478
2021-01-28
11:28
Merge 8.7 file: [4fa57a889f] check-in: [14f908e6da] user: jan.nijtmans branch: main, size: 68157
11:08
Merge 8.6 file: [081ade93ae] check-in: [3260544adf] user: jan.nijtmans branch: core-8-branch, size: 142545
10:42
Use {} braces in more "expr" expressions. file: [cf0df56633] check-in: [f65d4e057a] user: jan.nijtmans branch: core-8-6-branch, size: 132692
2020-12-04
11:02
Merge 8.7 file: [614190be07] check-in: [6ce9d46084] user: jan.nijtmans branch: main, size: 68083
09:56
TIP 590: Recommend lowercase Package Names file: [1153b9bbeb] check-in: [836cfc20b3] user: jan.nijtmans branch: core-8-branch, size: 141227
2020-12-01
12:39
Merge 9.0 file: [023fbed43d] check-in: [1629c52f86] user: jan.nijtmans branch: tip-526, size: 68195
2020-11-25
10:08
Merge 8.7 file: [02af5dce5d] check-in: [34a683fa79] user: jan.nijtmans branch: main, size: 68081
2020-11-24
15:04
Some missing test-constraints file: [3f2e0cf4d7] check-in: [55bb343c9e] user: jan.nijtmans branch: core-8-branch, size: 141225
2020-11-23
09:26
Merge 8.7 file: [e84089ca07] check-in: [5118b9d38e] user: jan.nijtmans branch: main, size: 68021
09:16
More ©-sign consolidation file: [10de50b381] check-in: [676f97ea98] user: jan.nijtmans branch: core-8-branch, size: 141165
08:25
Now that all Tcl source files are UTF-8 by default, we can use the ©-sign whenever reasonable. file: [bedbeec8ea] check-in: [0d31e14484] user: jan.nijtmans branch: core-8-branch, size: 141168
2020-10-30
15:36
Fix C++ compile file: [0f43169807] check-in: [6136c6a722] user: jan.nijtmans branch: tip-526, size: 68140
15:09
Merge 9.0 file: [cdf81fc2e6] check-in: [ca70d9f0d6] user: jan.nijtmans branch: tip-526, size: 68141
2020-10-14
16:18
Backport tiny part of "empty-not-found". Just allow the empty string as index, meaning the same as "-1". Nothing else file: [3243f4e50a] check-in: [6631261ba4] user: jan.nijtmans branch: empty-not-found-backport, size: 141140
2020-10-13
12:40
Revise Tcl to return {} in stead of -1 or {-1 -1} when a search result is emtpy (or not-found) file: [401cfcf918] check-in: [c3183c83bf] user: jan.nijtmans branch: empty-not-found, size: 67996
2020-10-12
09:27
Merge 8.7 file: [e85f10ee73] check-in: [ff7bcb2801] user: jan.nijtmans branch: strict-index-experiment, size: 141137
2020-10-01
08:17
Merge 8.7. Internal package renaming file: [fb4023330b] check-in: [8da5008652] user: jan.nijtmans branch: build-info, size: 141172
2020-09-25
14:25
Merge 8.7 file: [ead23ae597] check-in: [ecc1efae3a] user: jan.nijtmans branch: trunk, size: 68026
14:25
Merge 8.6 file: [4c7742695d] check-in: [a34d4f2927] user: jan.nijtmans branch: core-8-branch, size: 141170
14:24
It's "utf-8", not "utf8" or "UTF8" file: [fc4176619e] check-in: [f9736b9c81] user: jan.nijtmans branch: core-8-6-branch, size: 131392
2020-09-18
13:53
Accept {} as index, and forbid indices starting with '-' if compiled with -DTCL_NO_DEPRECATED file: [4e7407de94] check-in: [ecdb69c0b3] user: jan.nijtmans branch: strict-index-experiment, size: 141131
2020-09-15
15:07
Merge 8.7 file: [038794d9a4] check-in: [ce41b9c9c1] user: jan.nijtmans branch: trunk, size: 68020
14:48
Fix [b5777d3d32]: Crash corner-case in TIP #502 implementation file: [6a4d9f9dbf] check-in: [fca1a2a297] user: jan.nijtmans branch: core-8-branch, size: 141164
2020-09-04
16:45
Merge 8.7 file: [a9eb0035d9] check-in: [bdf79597b1] user: jan.nijtmans branch: trunk, size: 67933
16:44
Merge 8.6 file: [b7191fb76a] check-in: [af7d124bbc] user: jan.nijtmans branch: core-8-branch, size: 141077
15:48
Let all test-cases load the "tcltest" package the same way. Depend on tcltest 2.5, since we never test with earlier tcltest versions file: [e23105d3c1] check-in: [0e50a82fe7] user: jan.nijtmans branch: core-8-6-branch, size: 131386
2020-08-25
16:09
Add test-case util-9.59, which demonstrates bug [b5777d3d32] file: [32b30b2b80] check-in: [f1fba2e12f] user: jan.nijtmans branch: bug-b5777d3d32, size: 141160
2020-07-21
07:54
Merge 8.7 file: [ccb43d6876] check-in: [b23af47e56] user: jan.nijtmans branch: trunk, size: 67929
2020-07-16
11:44
Merge 8.7 file: [951d2a24ea] check-in: [ea871b5b02] user: jan.nijtmans branch: strict-index-experiment, size: 141183
10:48
More of the same (see previous commit) file: [968f49e18e] check-in: [e9ba0ab4c0] user: jan.nijtmans branch: core-8-branch, size: 141073
2020-07-02
14:16
Complaining on index "-1" is too strict, not wise to do for Tcl 8.x. file: [a015884bee] check-in: [777747e2ff] user: jan.nijtmans branch: strict-index-experiment, size: 141205
2020-06-18
12:47
Use more "string is none" in testcases in stead of directly comparing with -1 file: [9388023832] check-in: [58ebbfcc7e] user: jan.nijtmans branch: strict-index-experiment, size: 141234
2020-05-29
15:15
Merge jn-index-reform, and fix some test-cases. file: [cc9a90a3a7] check-in: [868f9fc39a] user: jan.nijtmans branch: strict-index-experiment, size: 141223
2020-05-24
22:35
Merge jn-index-reform branch file: [d811a7dd43] check-in: [2d1fc5b3d1] user: jan.nijtmans branch: strict-index-experiment, size: 141222
2020-05-04
09:37
Test-case cleanup. Increase timeout a little bit in main.test, making Travis build errors because of this less likely. file: [bebb67af97] check-in: [c6a5d8fca9] user: jan.nijtmans branch: core-8-5-branch, size: 131076
2020-04-18
13:47
Fix [c574e50a3b30e76f]: CRASH: utf-2.[89] in 8.5 built with TCL_UTF_MAX=4 file: [574c87f4a4] check-in: [dda19888bd] user: jan.nijtmans branch: bug-c574e50a3b, size: 131145
2020-04-14
14:30
Merge 8.7 file: [fa10e51b46] check-in: [bd5cc21d39] user: jan.nijtmans branch: trunk, size: 67940
10:17
Merge 8.6 file: [4713009552] check-in: [250fd8a281] user: jan.nijtmans branch: core-8-branch, size: 141084
2020-04-13
21:36
Merge 8.5. Failing tests highlight ticket [1b1f5f0b53]. file: [72de139bf7] check-in: [50b6d532c4] user: dgp branch: core-8-6-branch, size: 131393
16:44
New test demonstrating Tcl_StringCaseMatch is botched in its use of Tcl_UtfPrev. It doesn't consider multi-byte characters at all, let alone anything malformed. Good thing the call isn't needed at all. file: [a2328b33d1] check-in: [e4c7f0e08a] user: dgp branch: core-8-5-branch, size: 131079
2020-04-09
16:24
[afa4b28153] Correct TclNeedSpace handling of trailing escaped space. file: [4e0c178be8] check-in: [9b738a1d8f] user: dgp branch: core-8-5-branch, size: 130995
15:56
New tests demonstrating bug in TclNeedSpace(): improper handling escaped space. file: [5c50ecfd0b] check-in: [040da92b7f] user: dgp branch: core-8-5-branch, size: 131391
2020-03-30
10:01
Move used flag values up for Tcl_GetIntForIndex(). Be more strict in usage of value -1 as index. file: [26545af94d] check-in: [03f73570f9] user: jan.nijtmans branch: strict-index-experiment, size: 140187
2020-03-16
15:59
Merge jn-index-reform. New implementation of basic idea, based on this index reform. file: [f305c7e769] check-in: [5df7ddb5bd] user: jan.nijtmans branch: strict-index-experiment, size: 140154
2020-03-14
22:02
Merge 8.7 file: [f358e841d4] check-in: [5ae287926b] user: jan.nijtmans branch: trunk, size: 66905
21:21
Convert many test-cases to modern test syntax file: [0009ccaf83] check-in: [95683ddca3] user: jan.nijtmans branch: core-8-branch, size: 140049
2020-03-13
12:42
Merge 8.7. Add many "nodep" restrictions to test-cases, so they pass (too much, actually, WIP!) file: [35aab0e937] check-in: [b2cf2d65ed] user: jan.nijtmans branch: strict-index-2, size: 140163
2019-06-24
07:35
Merge 8.7. Also eliminate some spacing before line-endings file: [92a854db9d] check-in: [519bf88d4c] user: jan.nijtmans branch: trunk, size: 66821
07:26
Fix test title, since TclGetIntForIndex() is now exported as Tcl_GetIntForIndex() file: [2f507246f5] check-in: [f68cec6e3a] user: jan.nijtmans branch: core-8-branch, size: 139965
2019-06-01
17:10
More fixes file: [cc88ebc471] check-in: [d3c0bb32e1] user: dkf branch: tip-526, size: 66856
2019-03-22
20:44
Add some test-cases with longer backslash sequences, to test for internal buffer overflows. file: [67275adee3] check-in: [0a318e4eb4] user: jan.nijtmans branch: core-8-branch, size: 139885
2019-03-18
22:14
enlarge a few small buffers, which could overflow using Unicode characters > /UFFFF. Eliminate some end-of-line spacing file: [3638eb5dba] check-in: [41c373ad8f] user: jan.nijtmans branch: core-8-branch, size: 139887
2019-03-15
20:52
Eliminate usage of mp_isneg(), just check bignum->sign directly (as libtommath itself does) Make TclInitBugnumFromLong() a static function in stubtable only, as it isn't used by Tcl anymore. file: [b64b18ebbd] check-in: [515a22d41d] user: jan.nijtmans branch: core-8-branch, size: 139888
2019-02-24
16:59
In TclGetByteArrayFromObj(), no longer assume that Tcl_GetByteArrayFromObj() never returns NULL. And don't use \uXXXX construct in "testbytestring" command, since it's only supposed to work with pure bytearrays anyway. file: [6c97b7834a] check-in: [3b76dae179] user: jan.nijtmans branch: trunk, size: 66741
2018-10-23
23:42
merge 8.7 file: [f05f168dee] check-in: [eebc90221c] user: dgp branch: trunk, size: 66743
19:01
End the deprecated practice of accepting "e" and "en" as valid index values. file: [b01d8d7a6c] check-in: [b881052e97] user: dgp branch: bug-d1d05d1c7a, size: 133521
2018-10-19
19:18
[d1d05d1c7a] Tests and fix for bignums in end-offset index value parsing. file: [e49ec635ac] check-in: [a9a1abe2b6] user: dgp branch: bug-d1d05d1c7a, size: 133431
2018-10-12
18:29
Merge 8.7 file: [d2039dba5f] check-in: [41013f5dac] user: jan.nijtmans branch: trunk, size: 65455
2018-09-22
19:42
Fix odd consequence for tests; ::tcltest namespace is usually present. file: [84fda8c0f1] check-in: [17304407a0] user: dkf branch: tip-452, size: 132171
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: [e867c325b2] check-in: [adf9964e6f] user: jan.nijtmans branch: index-range-and-overflow, size: 132233
2018-02-14
20:43
merge core-8-branch file: [0bc1fdd14b] check-in: [5cfe15b5d6] user: jan.nijtmans branch: trunk, size: 65575
20:17
Better range checking in "string index". Add test-case to prove point. file: [a79234692e] check-in: [8a4df74e9a] user: jan.nijtmans branch: core-8-branch, size: 132353
2017-12-01
12:24
remove many test-cases related to tcl_precision file: [c2d5a837bd] check-in: [421523d6cd] user: jan.nijtmans branch: tip-488, size: 65408
11:55
TIP 488: Remove tcl_precision file: [8db2b6bf0a] check-in: [f4efe03192] user: jan.nijtmans branch: tip-488, size: 130736
2017-06-14
07:54
Rebase to core-8-6-branch (who told that fossil doesn't know how to rebase ....) file: [94f4c1aaa0] check-in: [ae4471b37c] user: jan.nijtmans branch: bsg-0d-radix-prefix, size: 130893
2017-05-27
22:17
Implement proposed 0d decimal radix prefix to compliment 0x,0b,0o. file: [5e34b35557] check-in: [d492c01a39] user: griffin branch: bsg-0d-radix-prefix, size: 132186
2017-03-24
15:52
Supply more C99-compatible (and MSVC) format options: '%p' for pointers, 'z'/'j'/'I' for size_t/intptr_diff, 'j'/'q' for long long. Also add "I32" froom MSVC. Remove TCL_LL_MODIFIER specified as "L" for Borland: This must be wrong as "L" is meant for long double. Just assume that later Borland compilers are MSVC-compatible. file: [b8c510a3d3] check-in: [316d711dac] user: jan.nijtmans branch: trunk, size: 131651
2016-12-14
14:14
Implement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be "ll", "I64" and "L", whatever the platform defines for long long integer. With test-cases. file: [c97565748e] check-in: [907c39d91a] user: jan.nijtmans branch: jn-wide-printf, size: 131043
2016-03-10
11:56
Eliminate exess spacings in many test-cases file: [ddf2e41ef3] check-in: [d6d9491140] user: jan.nijtmans branch: trunk, size: 130358
2014-07-16
10:02
Modify the "gettimes" test-command to use the Tcl_Obj API. New "testbytestring" command which can be used to replace the (to-be-deprecated) "bytestring" command from tcltest and/or the "indentity" encoding. Adapt many testcases to use the "testbytestring" command. file: [28612c8c73] check-in: [79ace7b793] user: jan.nijtmans branch: trunk, size: 130361
2013-01-22
19:24
Contribution by Patrick Fradin <patrick.fradin@planar.com> Quoting his mail: <pre> ========================================================== Hi Jeff, I spent some of my time to contribute to the TclTk community ! I'm in late for Christmas gift but like we said in French : "Mieux vaut tard que jamais". ;-) I've use TclDevKit 5.3.0 tclchecker to analyse TclTk code in Tcl and Tk library directories (library, tools and tests) to correct a lot of warnings and few errors. (encapsulate some expr, use 'chan xxx' instead of fconfigure, fileevent...) I've made some improvements too : Examples : - Use 'lassign' instead of many 'lindex' of 'foreach/break' loop. - Use 'in' or 'ni' operators instead of 'lsearch -exact' or to factorise some eq/ne && / || tests. - Use 'eq' or 'ne' to tests strings instead of '==' or '!='. - Use 'unset -nocomplain' to avoid 'catch {unset...}'. - Remove some useless catch around 'destroy' calls. - Use expand {*} instead of 'eval'. Don't touch a lot of code because I don't know all structs and lists. I think it could be a greater improvement to reduce 'eval' calls. Due to previous experience, I dot not change any indentation ! ;-) ========================================================== </pre> file: [c4c49f6d92] check-in: [d801822907] user: andreask branch: contrib-patrick-fradin-code-cleanup, size: 130302
2012-12-10
04:32
WIP getting rid of the ::tcl_precision variable file: [4113121621] check-in: [3f715e19ef] user: dgp branch: novem-numbers-eias, size: 130298
2012-07-29
16:23
No longer build tcltest.exe to run the tests,but use tclsh86.exe in combination with tcltest86.dll to do that (Windows only) file: [8298f45f1a] check-in: [9792ff8b65] user: jan.nijtmans branch: trunk, size: 130271
2012-03-05
17:46
merge trunk file: [2e45c5bbae] check-in: [41e5026e0c] user: dgp branch: dgp-refactor, size: 130177
2011-11-08
16:44
missing constraints file: [d9945dbdf8] check-in: [b1ea4cffbf] user: dgp branch: trunk, size: 130178
16:12
Missing constraints file: [90fa1c7b03] check-in: [3ca1f95c82] user: dgp branch: core-8-5-branch, size: 130044
2011-08-08
19:06
merge trunk file: [577b027373] check-in: [96034c7aff] user: dgp branch: dgp-refactor, size: 125939
2011-07-19
19:31
3371644 Repair failure to properly handle (length == -1) in TclConvertElement(). file: [215c3a74ac] check-in: [8e35530849] user: dgp branch: trunk, size: 125938
19:26
3371644 Repair failure to properly handle (length == -1) in TclConvertElement(). file: [ae4db903c2] check-in: [720e2e9c56] user: dgp branch: core-8-5-branch, size: 125794
2011-07-02
22:36
Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507] file: [ba051d7495] check-in: [fe4dba4d60] user: kbk branch: trunk, size: 125758
21:56
Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507] file: [15bde00bf7] check-in: [96ac94d775] user: kbk branch: core-8-5-branch, size: 125612
2011-03-03
17:14
merge trunk file: [41aa7d4b3c] check-in: [affd89e3ef] user: dgp branch: dgp-refactor, size: 124930
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: [b6d7c5739c] check-in: [c64f310d38] user: dgp branch: trunk, size: 124931
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: [a9cb73b1fc] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 124747
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: [91ce22410b] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 11617
04:16
merge trunk file: [3ef43cc3b9] check-in: [1357375583] user: kennykb branch: dogeen-assembler-branch, size: 125001
2011-01-18
19:26
Brought no-nre v2 up-to-date with 8.6 head as of Jan 18 11:30 PST. file: [fb0b7ab79b] check-in: [5b2d91d5e3] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 124996
16:34
merge file: [e52b15c202] check-in: [a4ca4d6d4c] user: dgp branch: dgp-refactor, size: 125001
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: [fd0f67aa9a] check-in: [d27c6004c8] user: kennykb branch: core-8-5-branch, size: 124821
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: [0f8d747c6e] check-in: [32e80e56c7] user: kennykb branch: trunk, size: 125000
2011-01-12
15:34
Update to CVS head Wednesday Jan 11. file: [1eee0ff29f] check-in: [905d97c057] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 60634
15:23
This commit is both no-NRE v2, implemented by subtracting the NRE pieces (*), and update to CVS trunk head of Wednesday Jan 5. (*) no-NRE v1 in the other branch was created in an additive manner from the point where 8.5 was branched from the trunk, by adding all the patches but those for NRE. file: [e34008062f] check-in: [2d93b1436c] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 59107
2011-01-10
15:24
merge file: [38fa8d0db4] check-in: [afbcd525de] user: dgp branch: dgp-refactor, size: 60639
2011-01-07
02:26
* tests/util.test (util-15.*): Added test cases for floating point conversion of the largest denormal and the smallest normal number, to avoid any possibility of the failure suffered by PHP in the last couple of days. (They didn't fail, so no actual functional change.) file: [b2f3f7a7c4] check-in: [d49689d1c1] user: kennykb branch: trunk, size: 60638
2010-12-01
16:42
merge file: [6ad53ddc25] check-in: [0af397c644] user: kennykb branch: dogeen-assembler-branch, size: 59115
2010-11-30
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: [e26b54ed65] check-in: [769801ace1] user: andreas_kupries branch: core-8-5-branch, size: 58941
2010-11-29
13:32
merge file: [e44aff1827] check-in: [800763ec73] user: dgp branch: dgp-refactor, size: 59112
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: [7e8d9ee405] check-in: [5986a2c421] user: kennykb branch: trunk, size: 59111
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: [f28711cedc] check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 37546
13:14
Next @251. file: [e502c7bd5e] check-in: [6e5d8c41eb] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 37463
2008-10-14
20:10
merge updates from HEAD file: [fee7ad8e52] check-in: [b58f473a75] user: dgp branch: dgp-refactor, size: 37550
16:35
add missing constraints file: [dc963d62c9] check-in: [28a3511d72] user: dgp branch: trunk, size: 37546
15:55
missing constraint file: [64204c3279] check-in: [32df37b2b1] user: dgp branch: core-8-5-branch, size: 37550
2008-08-17
17:23
merge updates from HEAD file: [cbdf94fcfe] check-in: [df55a727d4] user: dgp branch: dgp-refactor, size: 37467
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: [d12c4426ac] check-in: [06993be2a4] user: msofer branch: trunk, size: 37466
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: [52ca681c96] check-in: [01147b1a84] user: msofer branch: core-8-5-branch, size: 37470
2006-04-28
16:09
Merge updates from HEAD file: [e294fffad1] check-in: [afab2ad07a] user: dgp branch: dgp-refactor, size: 37280
2006-03-21
11:12
Use test constraints properly instead of looking in tcl_platform Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file file: [17a4a95dc7] check-in: [36829d55d6] user: dkf branch: trunk, size: 37276
2005-10-28
03:26
* generic/tclExecute.c (ExprRoundFunc): Fix typo where number before rounding is compared with smallest integer instead of number after rounding. This fix does not change the results of any tests. * tests/expr.test: Add round() tests for cases near the min and max int values. * tests/util.test: Remove pointless warning code about testobj command. file: [ac54a23ac2] check-in: [fb8cf7da36] user: mdejong branch: core-8-4-branch, size: 11691
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611) file: [a6d32ea658] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 37308
2005-05-21
15:10
Resynchronized with HEAD file: [18283aac32] check-in: [96be07d7c8] user: kennykb branch: kennykb-numerics-branch, size: 37309
2005-05-16
19:23
merge updates from HEAD file: [75a29e4336] check-in: [03a5891876] user: dgp branch: dgp-refactor, size: 37305
2005-05-12
22:48
Corrected duplication of test names file: [460edd984c] check-in: [b3032b4166] user: dgp branch: trunk, size: 37301
2005-05-11
16:58
merge updates from HEAD file: [d1d2b70fb2] check-in: [a8212110f1] user: dgp branch: dgp-refactor, size: 37305
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [e99eb5cd0f] check-in: [1cc2336920] user: kennykb branch: trunk, size: 37305
2005-05-05
17:55
Merged with HEAD file: [072a763ebd] check-in: [b77c9a87c6] user: kennykb branch: kennykb-numerics-branch, size: 37309
2005-04-29
22:39
Merge updates from HEAD file: [d5447b7d87] check-in: [ac63d218d8] user: dgp branch: dgp-refactor, size: 18111
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: [2529dbd4f8] check-in: [d9e4591786] user: dgp branch: trunk, size: 18107
2005-03-08
17:04
fixed bug in formatting #s in range 0.0001-1.0 file: [72b1802d46] check-in: [b2d4af4927] user: kennykb branch: kennykb-numerics-branch, size: 31772
2005-03-02
21:25
Developer's checkpoint, see ChangeLog for details file: [888e88c51f] check-in: [f8f444ebda] user: kennykb branch: kennykb-numerics-branch, size: 30025
2004-11-03
22:12
niggly test suite fixes file: [92f91dfdfc] check-in: [a6e2efa90f] user: dgp branch: core-8-4-branch, size: 11905
2004-05-27
14:29
Merge updates from HEAD. Also implemented flags argument to TclCompEvalObj(). file: [5353773a16] check-in: [8f7452ee0c] user: dgp branch: dgp-refactor, size: 12695
2004-05-19
20:15
Massive test cleanup; all tests are run, and constraints are used where necessary. file: [500f62908e] check-in: [ae1ac5736f] user: dkf branch: trunk, size: 12691
2003-08-27
21:07
Merge updates from HEAD. file: [0de5dd3e01] check-in: [72cdb6ced3] user: dgp branch: dgp-refactor, size: 12933
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: [c3487d24da] check-in: [698df3f3e0] user: dgp branch: trunk, size: 12929
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: [1596dae682] check-in: [c06c66c590] user: dgp branch: core-8-4-branch, size: 11916
17:57
* tests/util.test: Added new tests for remaining TclNeedSpace() bugs discussed in [Bug 411825]. file: [a9fe6c6938] check-in: [2b2d2221ca] user: dgp branch: trunk, size: 12021
17:56
* tests/util.test: Added new tests for remaining TclNeedSpace() bugs discussed in [Bug 411825]. file: [2f0af386be] check-in: [7131e2a606] user: dgp branch: core-8-4-branch, size: 11008
2003-08-07
21:35
Merged changes from HEAD file: [4652c59141] check-in: [9658ec795f] user: dgp branch: dgp-refactor, size: 10821
2003-07-24
16:05
* tests/async.test: Added several tests that demonstrate Tcl * tests/basic.test: Bug 489537, Tcl's longstanding failure to * tests/dict.test: properly quote any leading '#' character * tests/dstring.test: when generating the string rep of a list * tests/list.test: so that the comment-power of that character * tests/parse.test: is hidden from any [eval], in order to * tests/util.test: satisfy the documentation that [list] does [eval]-safe quoting. file: [d4d7d7cbc5] check-in: [03d3df98ff] user: dgp branch: trunk, size: 10817
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [5ae27902ef] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 9808
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: [1ff841b8ac] check-in: [99e550c5be] user: dkf branch: trunk, size: 9800
2001-09-19
08:52
TclNeedSpace is now UTF8-aware. (Bug #411825 from <arobert3434@users.sf.net>) file: [a91d0f2afb] check-in: [c64abaca1e] user: dkf branch: trunk, size: 9059
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: [8f5161007a] check-in: [bef6467977] user: hobbs branch: core-8-3-1-branch, size: 8760
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: [f1acd55171] check-in: [8ee4571bc6] user: hobbs branch: trunk, size: 8756
2000-04-10
17:18
* tests/*.test: Changed all occurances of "namespace import ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. file: [ac1ddea86c] check-in: [c2f93a113c] user: ericm branch: trunk, size: 8581
1999-06-26
20:55
Fixed style problems in many of the test files. Fixed bug in pkg.test where defs.tcl was still being used. file: [960f19ef4a] check-in: [dbfd75f43f] user: rjohnson branch: trunk, size: 8577
03:54
Modified the tests to use the package tcltest file: [d9a5ad2eb5] check-in: [fdb0602e41] user: jenn branch: trunk, size: 8570
1999-04-21
00:42
Deleted: Added comments for 4/19 and 4/20 check-in: [6c6fc5d7b2] user: redman branch: scriptics-tclpro-1-2-old, size: 0
1999-04-16
00:46
merged tcl 8.1 branch back into the main trunk file: [d96e1a114e] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 8581
1999-03-26
19:13
-now all test files that skip tests by returning early (which ideally they shouldn't do) call ::tcltest::cleanupTests before returning. -the defs.tcl file has one new constraint: userInteraction, used by tests that require user interaction. The next putback will include an updated version of the "visual" test file to use this mechanism. file: [d4de8dda6a] check-in: [4c4431ec5e] user: hershey branch: core-8-1-branch-old, size: 8585
1999-03-24
02:48
lint: changed a tcltest namespace variable name from tmpDir to workingDir. changes: made more tests atomic. README is now updated to match new test suite features. file: [29d75c8af0] check-in: [83929e34ec] user: hershey branch: core-8-1-branch-old, size: 8557
1999-03-23
20:06
changed tests to use "tcltest" namespace instead of "test". added constraints to tests, rather than skipping the entire file. file: [af0f9a4026] check-in: [709a7deb31] user: hershey branch: core-8-1-branch-old, size: 8556
1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
18:49
Updated the testsuite to use "test" namespace and commandline args to control verbose level and which tests get run. Tests now work from any working dir. file: [6a7620f622] check-in: [346215785f] user: hershey branch: core-8-1-branch-old, size: 8540
1998-12-04
03:01
fixed broken tests file: [0560f2c658] check-in: [73377ab304] user: stanton branch: core-8-1-branch-old, size: 8405
1998-11-02
23:04
cleaned up test suite so most of the tests pass on Windows file: [4adf68f8d6] check-in: [e3b726ecfd] user: stanton branch: trunk, size: 4409
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [a6b17e5802] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 8382
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [73dfcaa8bf] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 8357
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [b768d80b27] check-in: [196f92fd17] user: stanton branch: trunk, size: 4399
1998-03-26
14:56
Added: Initial revision file: [e3eb107f82] check-in: [f86c34e38d] user: rjohnson branch: trunk, size: 4377