Tcl Source Code

All files named "generic/tclScan.c"
Login

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

History for generic/tclScan.c

2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [16318f4f96] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 26390
2024-04-18
15:06
Tidy up some indentation and other little code style issues file: [57baf836f6] check-in: [cb11914788] user: dkf branch: tidy-indentation, size: 26419
2024-04-14
14:05
Merge 9.0 file: [a0a3306cdf] check-in: [1861587f45] user: jan.nijtmans branch: tip-626, size: 26412
2024-04-04
12:35
Merge 8.7. encodingPtr -> encodingNamePtr (for consistency) file: [81be799c1e] check-in: [4a704590fe] user: jan.nijtmans branch: main, size: 26407
11:44
Merge 8.6 file: [e57f7b64b8] check-in: [09cdca236b] user: jan.nijtmans branch: core-8-branch, size: 25033
11:09
Tcl_GetString() -> TclGetString(), for minor speedup. file: [d12bdd9460] check-in: [0256b2a319] user: jan.nijtmans branch: core-8-6-branch, size: 24141
2024-04-01
20:48
Merge 9.0 file: [cb995df863] check-in: [d4eee66f60] user: jan.nijtmans branch: tip-626, size: 26412
2024-03-20
20:29
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!) file: [c0ba0cc3dc] check-in: [9b8a66aff6] user: jan.nijtmans branch: main, size: 26407
20:09
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!) file: [36c8f7f460] check-in: [3186ba81a2] user: jan.nijtmans branch: core-8-branch, size: 25035
14:27
Merge 9.0 file: [4dc1f158dc] check-in: [4271f3b52a] user: jan.nijtmans branch: tip-626, size: 26413
2024-03-19
17:09
more spacing/formatting tweaks file: [dd9671f9e5] check-in: [9a59cf8499] user: dkf branch: main, size: 26408
14:56
Fix indentation/brace usage style issues file: [02b6e452de] check-in: [1fbff64078] user: dkf branch: main, size: 26413
2023-11-24
13:28
Merge 9.0 file: [69bbfb49ed] check-in: [96e43e34f3] user: jan.nijtmans branch: tip-626, size: 26414
2023-11-16
23:21
Revise macro usage file: [a9f4b2a958] check-in: [b7e48b4f00] user: jan.nijtmans branch: main, size: 26409
2023-10-22
19:56
Merge 9.0 file: [d9b4c80944] check-in: [f107021263] user: jan.nijtmans branch: tip-626, size: 26415
19:49
Remaining fixes for [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usage file: [15713e0d08] check-in: [506bbed9ce] user: jan.nijtmans branch: main, size: 26410
2023-10-19
18:48
Merge 8.7 file: [0ff9ec32ba] check-in: [f67f60d202] user: jan.nijtmans branch: main, size: 26402
2023-10-17
06:02
Handle sentinels for any C++ compiler file: [1df379fb46] check-in: [6876d1f99a] user: jan.nijtmans branch: bug-26870862f0, size: 25036
2023-09-13
09:18
Rebase to 9.0 file: [49f667c646] check-in: [561988be17] user: jan.nijtmans branch: tip-626, size: 26310
2023-09-12
10:11
Merge 8.7 file: [2c8f1d58d6] check-in: [d24c3420fa] user: jan.nijtmans branch: main, size: 26305
2023-07-29
16:42
Rebase to 9.0 file: [0e2525ef5d] check-in: [c9b9082483] user: jan.nijtmans branch: tip-626, size: 26306
2023-07-09
12:41
Rebase to 8.7 file: [1f52c4d02b] check-in: [7bf8d24ff3] user: jan.nijtmans branch: tip-665, size: 24939
2023-06-26
07:24
Merge unchained branch [22400aa71b] and resolve conflicts. file: [0f12a3ec89] check-in: [961f58e148] user: pooryorick branch: pyk-objinterface, size: 26304
2023-06-21
07:33
Merge 9.0 file: [a645022a1a] check-in: [db89a8f843] user: jan.nijtmans branch: tip-626, size: 26314
2023-06-18
21:30
Merge trunk-encoding-defaultstrict [c499122331]. file: [d17af11fd9] check-in: [22400aa71b] user: pooryorick branch: unchained, size: 26313
2023-06-06
20:26
merge trunk file: [b4ce12272e] check-in: [e06d17fb2a] user: griffin branch: tip-636-tcl9-644, size: 26301
2023-06-02
13:59
Merge 8.7 file: [f5111eff23] check-in: [486d398306] user: jan.nijtmans branch: main, size: 26309
12:00
New (internal) macro TclAttemptInitStringRep() file: [4edca22bbb] check-in: [b0b7c9d7b6] user: jan.nijtmans branch: core-8-branch, size: 24935
2023-05-19
11:26
Merge "unchained" branch commit [05b72c0b3f] and resolve conflicts. file: [b7e8c4a0c6] check-in: [2840dda8db] user: pooryorick branch: pyk-objinterface, size: 26297
2023-05-04
06:36
Rebase to latest 8.7 file: [a024b3708f] check-in: [1c4604133e] user: jan.nijtmans branch: tip-665, size: 24914
2023-05-03
07:03
Merge 9.0 file: [4025edb589] check-in: [17486d3dce] user: jan.nijtmans branch: tip-626, size: 26307
02:01
merge trunk file: [d26397b824] check-in: [d4c2e9791a] user: griffin branch: tip-636-tcl9-644, size: 26294
2023-05-02
16:48
Merge 8.6 - [ab123cfd3d] and [784befb0ba] file: [8e64772bd8] check-in: [4039ba5278] user: apnadkarni branch: core-8-branch, size: 24910
16:43
Merge 9.0 file: [e29bef1ce5] check-in: [d66ed253e8] user: jan.nijtmans branch: tip-626, size: 26241
16:33
Fix [ab123cfd3d] - scan ubsan. Tx chrstphrchvz for patch file: [f1b326ed7d] check-in: [e8c53546b7] user: apnadkarni branch: core-8-6-branch, size: 24143
15:51
Merge trunk [6964e7e16a]. file: [9bdda3a857] check-in: [b062288090] user: pooryorick branch: unchained, size: 26306
2023-05-01
19:42
Remove internal use of TCL_UTF_MAX=3 as much as possible, without compromizing existing TIP's file: [2cec8bfbb3] check-in: [86503e53c7] user: jan.nijtmans branch: tip-665, size: 24824
06:51
Fix [ab123cfd3d] - ubsan scan warning. file: [c3461e1756] check-in: [787712b4c7] user: apnadkarni branch: bug-ab123cfd3d, size: 26302
2023-04-30
23:09
Partial sync-up with trunk. file: [7b29f59940] check-in: [82fe864420] user: griffin branch: tip-636-tcl9-644, size: 26228
2023-04-28
19:19
Remove TclUtfToUCS4(), TclUniCharToUCS4(), and TclUCS4Prev(). file: [8fa1fab499] check-in: [0d4245ab9f] user: pooryorick branch: unchained, size: 26240
2023-04-24
13:54
Minor change to length limit checks file: [8c842ad4dd] check-in: [0cdc8158b1] user: apnadkarni branch: bug-d4ede611a7, size: 26236
10:02
Fix for bug [d4ede611a7] (scan) file: [e7bbc49d2e] check-in: [ce85c34ed2] user: apnadkarni branch: bug-d4ede611a7, size: 26175
2023-04-23
03:25
Bug [d4ede611a7] (scan) - in progress file: [05c8abda60] check-in: [717c2c72f0] user: apnadkarni branch: bug-d4ede611a7, size: 25271
2023-04-21
13:32
Merge 9.0 file: [c28d01aed1] check-in: [b732c118b6] user: jan.nijtmans branch: tip-626, size: 24841
2023-04-20
16:53
Merge 9.0 file: [95be4d11e3] check-in: [aa3e7e529f] user: jan.nijtmans branch: tip-626, size: 24973
2023-03-25
00:29
Merge trunk file: [5185d019ad] check-in: [f6aa53859c] user: griffin branch: tip-636-tcl9-644, size: 24960
2023-03-05
20:46
Merge 9.0 file: [26597852c7] check-in: [fef53bf657] user: jan.nijtmans branch: tip-626, size: 24971
19:57
Another round of -1 -> TCL_INDEX_NONE file: [3a34a99d52] check-in: [1ad5d08ee8] user: jan.nijtmans branch: main, size: 24968
2022-12-01
14:23
Merge 9.0 file: [b63680b684] check-in: [7787a1c006] user: jan.nijtmans branch: tip-626, size: 24839
2022-11-25
23:38
Merge 9.0 file: [baa61c9cfd] check-in: [117b6812c3] user: jan.nijtmans branch: internal-abstract-list, size: 24836
16:26
Merge 8.7 file: [103e7869e6] check-in: [5356f8d107] user: jan.nijtmans branch: main, size: 24828
16:11
Tcl_NewDoubleObj -> TclNewDoubleObj and Tcl_NewWideIntObj -> TclNewIntObj (and similar). Gives more info when debugging file: [f52298ee47] check-in: [c4a4662af3] user: jan.nijtmans branch: core-8-branch, size: 24820
2022-11-23
17:04
Internal abstract list, don't let "llength" shimmer any more. file: [0d3afb4319] check-in: [db554866c9] user: jan.nijtmans branch: internal-abstract-list, size: 24852
2022-11-11
22:26
Fix for Tcl_SetWideUIntObj file: [cc98c5ee32] check-in: [49dd813cf1] user: jan.nijtmans branch: tip-648, size: 24822
2022-09-06
13:57
Merge 8.7 file: [b0f3200de9] check-in: [91e5b361ec] user: jan.nijtmans branch: bug-45ddcfc3b1, size: 25024
2022-05-25
22:20
Many int-> size_t file: [417574504d] check-in: [7062de3ba7] user: jan.nijtmans branch: tip-626, size: 24847
2022-02-25
14:45
Merge 9.0 file: [d7152cc964] check-in: [398b723023] user: jan.nijtmans branch: tip-615-bis, size: 24774
2022-02-17
11:21
Merge 8.7 file: [c48d12c903] check-in: [42031e66eb] user: jan.nijtmans branch: main, size: 24844
09:51
Merge 8.6. Remove some Tcl_Panic()'s which can never happen file: [3492f77cce] check-in: [5548e5391e] user: jan.nijtmans branch: core-8-branch, size: 24836
09:30
Addendum to [7deeddb36]: Use WIDE_MIN/WIDE_MAX in more places file: [d0d8b01839] check-in: [de10721755] user: jan.nijtmans branch: core-8-6-branch, size: 24053
2022-02-16
14:33
Fix [7deeddb36]: signed integer overflow in Tcl_ScanObjCmd() file: [8754a2fa9d] check-in: [0ac2e76e3f] user: jan.nijtmans branch: core-8-6-branch, size: 24044
2022-02-14
21:26
Merge 9.0 file: [36db656cf4] check-in: [e71c5544bf] user: jan.nijtmans branch: tip-615-bis, size: 24762
2021-10-31
16:21
Merge 8.7 file: [d719f5806e] check-in: [e837834cb3] user: jan.nijtmans branch: strict-index-experiment, size: 24824
2021-10-08
08:40
Merge 8.7 file: [c2df7df059] check-in: [916029c89c] user: jan.nijtmans branch: main, size: 24832
2021-10-06
19:33
Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing list file: [b8aeaba30e] check-in: [0509fa5750] user: jan.nijtmans branch: internalrep, size: 24830
2021-08-23
10:01
Add FALLTHRU markers, to help GCC emit less false warnings file: [43c3385b31] check-in: [85f10205a7] user: jan.nijtmans branch: core-8-5-branch, size: 22703
2021-04-17
23:26
Use C enums instead of clusters of #defines file: [f048506f5a] check-in: [9cc837d642] user: dkf branch: enum, size: 24829
2021-04-07
16:47
Use a lot more enums and inline funcs instead of macros; behaviour is more predictable. file: [307da5d73e] check-in: [03219f19f4] user: dkf branch: enum-and-inline, size: 24894
2021-01-13
15:21
More progress for "scan" file: [7f3b2ec8e5] check-in: [7929a6bc8a] user: jan.nijtmans branch: bug-45ddcfc3b1, size: 25009
2020-12-08
15:42
Merge 8.7 file: [12040815f3] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 24826
15:31
Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet file: [a957c4e91e] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 24820
2020-10-18
20:21
Merge trunk. Some simplicifactions file: [e40e77c8ce] check-in: [49b1e0359c] user: jan.nijtmans branch: empty-not-found, size: 24676
16:29
Merge 8.7 file: [c0304a13af] check-in: [a10082400d] user: jan.nijtmans branch: trunk, size: 24830
16:24
3 times -1 -> TCL_INDEX_NONE file: [01c99608da] check-in: [7e6536e672] user: jan.nijtmans branch: core-8-branch, size: 24824
2020-10-15
09:30
Merge trunk file: [d7e4829d62] check-in: [86d311d78b] user: jan.nijtmans branch: empty-not-found, size: 24809
2020-10-13
15:54
Merge 8.7 file: [b136800d92] check-in: [b054ba1d5f] user: jan.nijtmans branch: trunk, size: 24818
15:45
Merge 8.6 file: [a5c7f07508] check-in: [bfda87dfca] user: jan.nijtmans branch: core-8-branch, size: 24812
14:59
More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in stead of Tcl_NewIntObj() file: [d5fda158c8] check-in: [cfbd35f083] user: jan.nijtmans branch: core-8-6-branch, size: 24040
12:40
Revise Tcl to return {} in stead of -1 or {-1 -1} when a search result is emtpy (or not-found) file: [86b351117d] check-in: [c3183c83bf] user: jan.nijtmans branch: empty-not-found, size: 24833
2020-10-12
09:27
Merge 8.7 file: [5b91e0a7a8] check-in: [ff7bcb2801] user: jan.nijtmans branch: strict-index-experiment, size: 24830
2020-09-28
10:49
Merge 8.7 file: [e71e5a1522] check-in: [07a4a82fd2] user: jan.nijtmans branch: trunk, size: 24842
10:39
Merge 8.6 file: [b52a68500e] check-in: [ef2427283a] user: jan.nijtmans branch: core-8-branch, size: 24836
2020-09-18
09:43
Merge 8.7. Undo signature change for Tcl_GetIntForIndex file: [f1678cdf26] check-in: [6b2676abbb] user: jan.nijtmans branch: strict-index-experiment, size: 24834
08:33
New macro TclNewIndexObj() which does the same as TclNewWideIntObjFromSize() but optimized the same way as TclNewIntObj(). file: [77813cf6ed] check-in: [d701aa51d5] user: jan.nijtmans branch: trunk, size: 24846
2020-09-17
14:12
Merge 8.7 file: [c24fef6b81] check-in: [92d5c95fd8] user: jan.nijtmans branch: trunk, size: 24844
13:48
Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> TclNewIntObj or Tcl_NewWideIntObj) file: [2b5a968710] check-in: [ef22eb8ac3] user: jan.nijtmans branch: core-8-branch, size: 24840
2020-05-31
00:37
tip-551 implementation. file: [edfba8cceb] check-in: [30d9822887] user: griffin branch: trunk, size: 24858
2020-05-30
23:47
tip-551 implementation. file: [ee7729dfe3] check-in: [3785bbf5a3] user: griffin branch: core-8-branch, size: 24854
2020-05-23
03:32
Update for TIP-551:

Add documentation for this feature to the expr man page. The keyword "integer value" has been added to the string and expr man page.

Added TCL_PARSE_NO_UNDERSCORE flag so that the digit separator can be disabled when need when calling TclParseNumber.

Disabled digit separator in the "scan" command when scanning integers and floating-point numbers. This is the one place where existing code may rely on number parsing to stop at an underscore.

Disallow underscore between the leading 0 and the radix specifiers 'x', 'o', 'b', and 'd'.

Added tests for disallowed underscore use and scan with underscores between digits in the source string. file: [1f3d004005] check-in: [002a6fdc7d] user: griffin branch: tip-551, size: 25074

2020-04-02
23:26
merge 8.7 file: [9ea2deaa0e] check-in: [abac91f4a0] user: dgp branch: trunk, size: 24810
22:18
merge 8.6 file: [9f50ce6032] check-in: [f1db0ed67c] user: dgp branch: core-8-branch, size: 24806
21:29
One more caller conversion that simplifies. There may be other callers of TclUtfToUniChar that would be made more correct or consistent with a similar conversion. file: [73127923d7] check-in: [8bb7a4509d] user: dgp branch: core-8-6-branch, size: 24056
2020-03-17
01:20
merge 8.7 file: [e73a5c2dc4] check-in: [4d9717c8ef] user: dgp branch: trunk, size: 25019
01:01
TIP 569 - remove lint comments file: [31f63705b5] check-in: [658a498ae4] user: dgp branch: core-8-branch, size: 25015
2020-03-09
13:08
Merge 8.7 file: [6dc0893b21] check-in: [8a76d170c1] user: jan.nijtmans branch: trunk, size: 25035
2020-03-08
13:58
More TCL_UNUSED. file: [d4542135f0] check-in: [64f9094067] user: dgp branch: core-8-branch, size: 25031
2020-02-28
12:46
Merge 8.7 file: [d8ee03d762] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 25063
2020-02-13
22:06
Merge 8.7 file: [3b435530f6] check-in: [c59e305ca6] user: jan.nijtmans branch: cplusplus, size: 25059
2020-01-20
14:19
Merge 8.7 file: [7e2fd38af6] check-in: [3d7b2dce60] user: jan.nijtmans branch: trunk, size: 24985
2019-12-13
15:41
Merge 8.7 file: [73a4ed6292] check-in: [24728eab4a] user: jan.nijtmans branch: utf-max, size: 24981
15:39
Merge 8.7 file: [d7da391296] check-in: [a4ec5ee9ad] user: jan.nijtmans branch: cplusplus, size: 25073
13:06
Merge 8.7 file: [cb3bc2bfce] check-in: [742a212258] user: jan.nijtmans branch: trunk, size: 24999
11:05
Implement TIP's #538: Externalize libtommath file: [4285984bce] check-in: [d796a3955d] user: jan.nijtmans branch: core-8-branch, size: 24995
2019-12-12
21:43
Merge 8.7 file: [25d9f2c93a] check-in: [4499400ea4] user: jan.nijtmans branch: trunk, size: 25030
21:38
Little code tweaks, regarding the use of TCL_UTF_MAX or wchar_t. file: [5cef6816d1] check-in: [35e74efb18] user: jan.nijtmans branch: core-8-branch, size: 25026
2019-12-03
16:13
Merge 8.7 file: [7833ef1ca9] check-in: [4105725743] user: jan.nijtmans branch: utf-max, size: 25012
16:12
Merge 8.7 file: [224d194f04] check-in: [41773410ac] user: jan.nijtmans branch: cplusplus, size: 25104
2019-12-02
11:50
Merge 8.7 file: [41a3152db0] check-in: [32f829e03c] user: jan.nijtmans branch: trunk, size: 25030
10:58
Eliminate excess eol-spacing file: [f60e4e4b64] check-in: [a8e4df4682] user: jan.nijtmans branch: core-8-branch, size: 25026
2019-11-15
15:19
Merge 8.7 file: [60e4bbb4ca] check-in: [6013bbbb99] user: jan.nijtmans branch: utf-max, size: 25016
2019-11-12
12:11
Merge 8.7. Finish implementation. file: [bf79646782] check-in: [e221cdc084] user: jan.nijtmans branch: digit-bit-60, size: 24995
2019-11-11
16:19
Merge 8.7 file: [79133dca69] check-in: [d3aea608ed] user: jan.nijtmans branch: utf-max, size: 25030
14:26
Merge 8.7 file: [c4171bf040] check-in: [be8ec92abb] user: jan.nijtmans branch: digit-bit-60, size: 25033
2019-11-09
20:39
Merge 8.7 file: [1591d68a8c] check-in: [90a1a23f37] user: jan.nijtmans branch: cplusplus, size: 25108
2019-11-08
11:44
Merge 8.7 file: [230d97d931] check-in: [d01b6ba893] user: jan.nijtmans branch: trunk, size: 25034
09:01
Merge 8.6. Add support for libtommath's mp_set_ll() function, since that's the replacement for the deprecated TclBNInitBignumFromWideInt() function. file: [7d7e30cf42] check-in: [4d1f47dcd2] user: jan.nijtmans branch: core-8-branch, size: 25030
2019-11-07
15:39
Merge 8.7 file: [44e1658d7a] check-in: [0c78b48a01] user: jan.nijtmans branch: cplusplus, size: 24685
2019-11-06
13:25
Fix tclScan.c, not generating a string representation any more with unsigned wideints and unsigned longs. file: [59b58b9038] check-in: [4c57a08f2e] user: jan.nijtmans branch: fix-scan-no-stringrep, size: 24265
12:34
Fix tclScan.c, not generating a string representation any more with unsigned wideints file: [e03ac66bff] check-in: [ea2c3fd303] user: jan.nijtmans branch: cplusplus, size: 24695
2019-11-04
12:10
Merge 8.7 file: [f504d95860] check-in: [d6202cc2c7] user: jan.nijtmans branch: cplusplus, size: 24670
12:10
Merge 8.7 file: [b002deba18] check-in: [faa210ccb0] user: jan.nijtmans branch: utf-max, size: 24592
2019-11-01
11:25
Re-base to core-8-branch file: [aa3211576d] check-in: [0dd430544f] user: jan.nijtmans branch: digit-bit-60, size: 24595
2019-10-30
21:40
Merge 8.7 file: [b2afdad792] check-in: [a9c21685d3] user: jan.nijtmans branch: trunk, size: 24596
21:34
Merge 8.6 file: [4815008443] check-in: [7e030f58de] user: jan.nijtmans branch: core-8-branch, size: 24592
2019-09-25
13:42
Merge 8.7 file: [1520fba581] check-in: [be233f3e67] user: jan.nijtmans branch: utf-max, size: 24597
2019-09-03
20:32
Mark more unused parameters file: [6d2fb36a6f] check-in: [c07dbdd62a] user: jan.nijtmans branch: cplusplus, size: 24675
2019-08-29
13:28
Merge tip-548 file: [0c5615ff29] check-in: [c933888049] user: jan.nijtmans branch: cplusplus, size: 24658
2019-08-28
11:45
Merge 8.7 file: [221f1a2dac] check-in: [590a4ca494] user: jan.nijtmans branch: trunk, size: 24601
11:15
Merge 8.6 file: [f0b4ea0285] check-in: [8f92213e5f] user: jan.nijtmans branch: core-8-branch, size: 24597
09:59
Add /* FALLTHRU */ markers in various places (silencing possible GCC warnings). Eliminate some more "register" keywords. Eliminate (or silence) some unused function parameters. file: [6264691b72] check-in: [7c9c59b504] user: jan.nijtmans branch: core-8-6-branch, size: 24266
2019-08-12
20:38
Merge branch tip-548. No longer define addtional stub-entries for functions that will be removed (because of deprecation) anyway file: [d98dbbb841] check-in: [50d822dbab] user: jan.nijtmans branch: utf-max, size: 24608
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: [e1761aa14f] check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 24669
2019-07-04
06:54
Experiment: compile Tcl with C++ compiler. WIP file: [734b171aa8] check-in: [99d5f9c948] user: jan.nijtmans branch: cplusplus, size: 24615
2019-04-09
19:21
Merge 8.7. Complete implementation for MSVC and for UNIX. file: [dfca6108c1] check-in: [b392834e2c] user: jan.nijtmans branch: digit-bit-60, size: 24611
2019-03-18
22:34
Merge 8.7 file: [58103ec74c] check-in: [48c676b649] user: jan.nijtmans branch: trunk, size: 24612
22:32
Comment Comment Tcl_UniCharToUtf() better, what happens handling surrogates. Add type cast in tclUtf.c, making actual check clearer file: [87dfe9dfaa] check-in: [b02df08680] user: jan.nijtmans branch: core-8-branch, size: 24608
20:07
Add 4 new encodings, and add documentation. file: [9a570536a8] check-in: [0ac59eb0c6] user: jan.nijtmans branch: utf-max, size: 24608
2019-03-16
21:10
Merge 8.7 Move up some stub entries related to Tcl_UniChar Use TCL_UTF_MAX=4 for full Unicode in stead of TCL_UTF_MAX=6 (TCL_UTF_MAX: 3 is default) file: [e93e78c098] check-in: [81502a66ed] user: jan.nijtmans branch: utf-max, size: 24594
2019-03-15
21:17
Merge 8.7 file: [2b06be8d63] check-in: [3dcb7571f5] user: jan.nijtmans branch: trunk, size: 24610
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: [74cb395228] check-in: [515a22d41d] user: jan.nijtmans branch: core-8-branch, size: 24606
2019-03-02
16:53
Merge 8.7 file: [ebcb083ca3] check-in: [e766d23655] user: jan.nijtmans branch: trunk, size: 24605
16:52
Minor optimization in UTF-8 handling, and add some comments describing how Tcl_UniCharToUtf() handles surrogates. file: [20b294d24d] check-in: [6e3632ede5] user: jan.nijtmans branch: core-8-branch, size: 24601
16:35
Fix some "scan.test" test-cases when TCL_UTF_MAX=4. Wrongly resolved merge-conflict in previous cherry-pick merge. file: [707cb1506a] check-in: [8d1ff82057] user: jan.nijtmans branch: core-8-6-branch, size: 24277
16:04
Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish. file: [ffcc7c90be] check-in: [9e1984c250] user: jan.nijtmans branch: core-8-6-branch, size: 24245
2019-02-27
21:58
Merge 8.7 file: [b8b403063e] check-in: [727e74f081] user: jan.nijtmans branch: trunk, size: 24616
2019-02-25
21:10
Finish complete fix, all corner-cases correct now. Also spurious UTF-8 testcase failure (as seen on travis) fixed now. file: [160b1bf7cd] check-in: [b3d886c84f] user: jan.nijtmans branch: bug-bd94500678, size: 24612
2019-02-19
19:38
Minor optimizations file: [e456d61cb1] check-in: [0e2621fc4b] user: jan.nijtmans branch: bug-bd94500678, size: 24607
2019-02-18
20:48
Proposed fix for [bd94500678]: SEGFAULT by conversion of unicode (out of BMP) to byte-array. file: [93656407e1] check-in: [9f67c17d01] user: jan.nijtmans branch: bug-bd94500678, size: 24608
2019-02-01
20:36
Another (big) round of int -> size_t enhancements. So Tcl can handle string >2GiB in more places. file: [4429d66847] check-in: [8534448b44] user: jan.nijtmans branch: trunk, size: 24568
2019-01-28
21:47
Merge 8.7 file: [bf6b00ba8a] check-in: [08dd3497f1] user: jan.nijtmans branch: trunk, size: 24570
21:34
New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. But ... don't use this function when the result is only compared to NULL: that's just overkill. file: [28d421a695] check-in: [d3ed67412e] user: jan.nijtmans branch: core-8-branch, size: 24564
2018-12-12
20:14
Merge 8.7 file: [a4e0bf4fb4] check-in: [4c2ed52f8f] user: jan.nijtmans branch: trunk, size: 24571
19:38
If compiled with -DTCL_NO_DEPRECATED, remove Tcl_NewIntObj/Tcl_NewLongObj/Tcl_DbNewLongObj from stub table, as they will be gone in 9.0 (converted to a macro) Use Tcl_WideInt's directly in more places, diminishing the possibility of inadvent overflow. file: [e66853c4e2] check-in: [72e64ef096] user: jan.nijtmans branch: core-8-branch, size: 24565
2018-11-22
08:06
Merge 8.7 file: [72eaca7ddc] check-in: [5ac57355a2] user: jan.nijtmans branch: trunk, size: 24552
08:03
Merge 8.6 In addition, tclWinSerial.c: Change back two internal variables from size_t -> int, shouldn't have been done here. file: [36080be8dd] check-in: [e90edd3fad] user: jan.nijtmans branch: core-8-branch, size: 24546
2018-11-20
13:51
More coverity issues file: [2eac67b35b] check-in: [4bb243d127] user: dkf branch: core-8-6-branch, size: 24241
2018-11-06
12:59
merge core-8-branch file: [a34ab27cdf] check-in: [445db2cb18] user: dkf branch: mistake, size: 24535
2018-10-24
02:00
merge 8.7 file: [3c1584e6dd] check-in: [11878ebb4d] user: dgp branch: tip-445, size: 24529
2018-10-21
21:00
Merge 8.7 file: [7493c839e1] check-in: [280d890b3e] user: jan.nijtmans branch: trunk, size: 24493
20:38
Change PTR2INT and PTR2UINT macros's so they can handle long's and Tcl_WideInt's too, so no longer restricted to the "int" range. file: [b9eb567cbc] check-in: [6988a6ed37] user: jan.nijtmans branch: core-8-branch, size: 24487
2018-10-18
15:31
merge 8.7 file: [2556215079] check-in: [000ee6e038] user: dgp branch: tip-445, size: 24550
2018-09-23
14:57
Merge trunk file: [05f4c45a14] check-in: [5e6c9e758b] user: jan.nijtmans branch: memory-API, size: 24514
2018-09-22
13:19
Merge 8.7 file: [9d73727c8f] check-in: [4abebf3c7c] user: jan.nijtmans branch: trunk, size: 24500
13:18
Change ULLONG_MAX -> UWIDE_MAX, LLONG_MAX -> WIDE_MAX and LLONG_MIN -> WIDE_MIN everywhere, because not all platforms equal Tcl_WideInt type as equal to "long long". This should fix test-cases on platforms where Tcl_WideInt != long long, and have no effect on 'normal' platforms file: [cbe9f30d57] check-in: [59d28e540e] user: jan.nijtmans branch: core-8-branch, size: 24508
2018-09-01
22:01
Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion) file: [328d6f887e] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 24516
2018-08-30
21:28
Merge 8.7, and improve TIP implementation (using utility function in more places) file: [accc6fcdda] check-in: [47b67cd37d] user: jan.nijtmans branch: tip-514, size: 24472
2018-08-28
22:28
Now, restore wide(), but make int() the same as entier(). Add new utility function. file: [742a7c7598] check-in: [d6c1d88425] user: jan.nijtmans branch: tip-514, size: 24420
2018-08-19
09:13
Still WIP. All test-cases pass now in 32-bit file: [baccc4572c] check-in: [a655e95f95] user: jan.nijtmans branch: all-wideint, size: 24072
2018-04-06
19:14
Merge 8.7. Update two macros to TIP 445. file: [f84be9a4b7] check-in: [671aed379d] user: dgp branch: tip-445, size: 24552
2018-04-05
17:59
merge 8.7 file: [9d29a6a9b5] check-in: [8c34e3aa19] user: dgp branch: trunk, size: 24502
16:37
Plug memleak when scan raises an error. file: [5ae911f74e] check-in: [4e0c1d2c62] user: dgp branch: core-8-branch, size: 24510
2018-03-05
17:18
merge 8.7 file: [8e16c30af8] check-in: [927955d0ab] user: dgp branch: tip-445, size: 24359
2018-03-01
21:06
Merge 8.7 file: [c282ecfc88] check-in: [2e45811671] user: jan.nijtmans branch: trunk, size: 24309
04:13
We have LLONG_MIN and LLONG_MAX to denote range limits of Tcl_WideInt. Use them consistently. Also fix a few TIP 484 bugs. file: [8f475cb7de] check-in: [bdc69f0764] user: dgp branch: core-8-branch, size: 24317
2018-02-27
21:12
Merge 8.7 file: [683def61ec] check-in: [e9564f822a] user: jan.nijtmans branch: trunk, size: 24356
20:48
Use mp_isneg() in stead of mp_cmp_d() when the output of this function is simply compared with MP_LT. file: [0ef46d8bf0] check-in: [e509642a0b] user: jan.nijtmans branch: core-8-branch, size: 24364
2018-02-15
18:24
merge 8.7 file: [23304aaa74] check-in: [fb5189741a] user: dgp branch: tip-445, size: 24420
2018-02-14
20:43
merge core-8-branch file: [0dcae2d882] check-in: [5cfe15b5d6] user: jan.nijtmans branch: trunk, size: 24370
15:33
merge 8.7 file: [10e61e3498] check-in: [1a4479ca01] user: dgp branch: z_modifier, size: 24378
2018-02-06
21:11
merge 8.7 file: [d598ca928f] check-in: [f7dba39527] user: dgp branch: tip-445, size: 24258
20:54
merge core-8-branch file: [23919a1366] check-in: [30f95df8b0] user: jan.nijtmans branch: trunk, size: 24208
2018-01-26
13:29
Rename (internal) TclNewWideObj macro to TclNewIntObj. Change Tcl_SetIntObj/Tcl_SetLongObj to macro's referencing Tcl_SetWideIntObj (since all of those do the same now) file: [0b0e73c53f] check-in: [b162d433dc] user: jan.nijtmans branch: no-wideint, size: 24216
2017-12-06
12:10
merge 8.7 file: [c3deb938ba] check-in: [48920a9cbe] user: jan.nijtmans branch: z_modifier, size: 24385
2017-11-30
17:52
merge 8.7 file: [42218369a1] check-in: [1e5dc1b17c] user: dgp branch: tip-445, size: 24265
15:03
merge trunk file: [cf855b92ab] check-in: [6554f79bed] user: jan.nijtmans branch: novem, size: 24215
2017-11-17
16:08
merge core-8-branch. Fix some Tcl_UniChar initialization, in case TCL_UTF_MAX == 4 file: [7baea8c1c3] check-in: [37b4aab687] user: jan.nijtmans branch: tip-389, size: 24223
2017-11-09
13:36
merge 8.7 file: [40b2363b19] check-in: [cbada9ca30] user: dgp branch: tip-445, size: 24266
12:52
merge trunk file: [c65506962f] check-in: [54f289e311] user: jan.nijtmans branch: novem, size: 24216
2017-11-07
12:15
Somewhat simplified implementation of TIP #389, in which the "string length" if characters > U+FFFF is considered to be 2, not 1. file: [23bc8aafc7] check-in: [d224d38a6d] user: jan.nijtmans branch: tip-389, size: 24224
2017-09-08
12:48
Rebase to trunk file: [56ca511a49] check-in: [5e999389ca] user: jan.nijtmans branch: z_modifier, size: 24198
2017-09-05
12:41
merge trunk file: [a1f304e5d7] check-in: [37388a0d90] user: dgp branch: tip-445, size: 24078
2017-09-04
14:03
merge trunk file: [0dbd204944] check-in: [55e5374f6b] user: jan.nijtmans branch: novem, size: 24028
2017-09-01
13:48
Handle Unicode surrogates correctly in Tcl_AppendFormatToObj() and BuildCharSet(). Only makes a difference for TCL_UTF_MAX=4, when surrogates are used in the format string ... highly unlikely corner-case. file: [cf3b194518] check-in: [9d12b1026e] user: jan.nijtmans branch: core-8-6-branch, size: 24036
00:52
merge trunk file: [70f8ff0d8f] check-in: [c3fbabfb73] user: dgp branch: tip-445, size: 24066
2017-08-29
09:19
Merge trunk file: [3d0a79249c] check-in: [f2f6504adb] user: jan.nijtmans branch: novem, size: 24016
2017-06-12
13:29
merge trunk file: [b57b524ec7] check-in: [ef7adbfe4b] user: jan.nijtmans branch: z_modifier, size: 24182
2017-06-08
08:26
Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3 file: [96b690584a] check-in: [5ae46a0093] user: jan.nijtmans branch: rfe-6c0d7aec67, size: 24024
2017-06-06
13:48
merge trunk file: [7e51cd322a] check-in: [2b3de0b7fe] user: dgp branch: tip-445, size: 24062
2017-05-29
15:38
merge trunk file: [f218b3bba8] check-in: [6d946ddf77] user: jan.nijtmans branch: tip-389-impl, size: 24196
13:16
merge trunk file: [d2f84ff7be] check-in: [5985b3e0a0] user: jan.nijtmans branch: novem, size: 24012
13:10
Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in functionality, just faster if ASCII only strings are involved. file: [63fd07a8cf] check-in: [7351fc0c9c] user: jan.nijtmans branch: core-8-6-branch, size: 24020
2017-04-06
11:53
merge trunk file: [46365786b3] check-in: [6c868716b3] user: dgp branch: tip-445, size: 24257
07:45
merge trunk file: [7986cf1f3d] check-in: [516e61341c] user: jan.nijtmans branch: novem, size: 24207
2017-04-05
08:41
Fix [4b12ccb336]: format/scan %llu doesn't work. Also added new test-cases showing the expected behavior. file: [39a1f429b8] check-in: [80252e0aed] user: jan.nijtmans branch: core-8-6-branch, size: 24215
2016-03-30
17:55
Revise several ACCEPT_NAN stanzas. file: [e2b1e09f58] check-in: [f08acb6eb3] user: dgp branch: tip-445, size: 24095
2015-08-24
19:35
merge trunk file: [022747db06] check-in: [c8d895c7d8] user: jan.nijtmans branch: tip-389-impl, size: 24229
2015-06-24
14:28
Tcl_GetStringFromObj(..., NULL) -> Tcl_GetString(...). Use size_t in stead of int for more internal variables. file: [918675c45e] check-in: [d5dd89b5a0] user: jan.nijtmans branch: trunk, size: 24053
2015-06-23
22:22
merge trunk file: [65b979c1b3] check-in: [207ccc25be] user: jan.nijtmans branch: novem, size: 24045
2014-05-01
09:40
Merge trunk. Update Unicode tables to Unicode 7.0 beta. file: [7f113058cd] check-in: [13a1d81916] user: jan.nijtmans branch: tip-389-impl, size: 24255
2013-10-27
12:55
merge trunk file: [142d875d7a] check-in: [48fc2421d2] user: jan.nijtmans branch: novem, size: 24071
2013-10-22
18:58
[3556215]: Made scan match [format] better in what it accepts as a format string, by allowing uppercase %X, %E and %G. file: [af0cd4b9aa] check-in: [815e766d3e] user: dkf branch: trunk, size: 24079
18:55
[3556215]: Made scan match [format] better in what it accepts as a format string, by allowing uppercase %X, %E and %G. file: [6b5299ecc0] check-in: [e077937cf0] user: dkf branch: core-8-5-branch, size: 22714
2013-09-26
13:13
merge novem

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

2013-01-06
16:34
merge novem file: [d32ada5f55] check-in: [fef6277219] user: mig branch: mig-strip-brutal, size: 23946
2012-11-26
15:31
merge trunk file: [22f5fc61b5] check-in: [cdc837ae05] user: mig branch: mig-alloc-reform, size: 23954
2012-11-21
10:18
more conversion of code, still not running test suite at all file: [28fa9b03d7] check-in: [e648a1571f] user: dkf branch: novem-64bit-sizes, size: 24160
2012-11-18
13:59
... and another tranche file: [1356a8dd13] check-in: [c4a1bbbad2] user: dkf branch: novem-64bit-sizes, size: 24029
07:39
Better programming practice, no literal '-1' in source code. Might even be useful for 64bit-sizes branch

add TCL_NOSIZE as internal defined for -1, and use it in a lot of places Ass this function argument should be size_t, not ssize_t (still to be TIPped), something like this will be needed anyway.

file: [8847e2622b] check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 24141
2012-09-26
12:00
Merge trunk file: [575d11baaa] check-in: [b2aae08f2d] user: jan.nijtmans branch: tip-389-impl, size: 24189
2012-08-20
06:49
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler. file: [4c40f26843] check-in: [db442914c7] user: jan.nijtmans branch: jn-no-struct-names, size: 24005
2012-08-03
10:56
converting to using Tcl_Obj API for error message generation; part done file: [4cc42183d7] check-in: [7fb86a29c9] user: dkf branch: trunk, size: 24013
2011-08-24
07:50
Upcoming TIP implementation: Full support for Unicode 6.0 file: [fc57ba4021] check-in: [5721cf9ae6] user: jan.nijtmans branch: tip-389-impl, size: 23658
2011-04-04
14:18
Merge to feature branch file: [47a5d05a16] check-in: [a7a0485fd1] user: dkf branch: mig-alloc-reform, size: 23423
13:46
Minor tinkering with style. file: [60b6492cd8] check-in: [ad00613d3e] user: dkf branch: trunk, size: 23482
13:40
Better error-message in case of errors related to setting a variable file: [6567964d2c] check-in: [0b4ce29050] user: jan.nijtmans branch: trunk, size: 23465
2011-04-03
06:05
More generation of error codes (namespace creation, path normalization, pipeline creation, package handling, procedures, scan formats) file: [88d6461512] check-in: [a6c95ed9e0] user: dkf branch: trunk, size: 23468
2011-03-15
09:44
retire TclInterpAlloc/Free/Realloc file: [86537b63e8] check-in: [15d781d135] user: mig branch: mig-alloc-reform, size: 22704
2011-03-13
04:50
rename TclStackAlloc/Free to TclInterpAlloc/Free file: [4a17c34c1d] check-in: [820d67f844] user: mig branch: mig-alloc-reform, size: 22767
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: [2250618a65] check-in: [5574bdd262] user: dkf branch: trunk, size: 22763
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: [199d1f7aeb] check-in: [c64f310d38] user: dgp branch: trunk, size: 22837
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: [61858bf6d8] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 22648
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: [20d7a51479] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 26994
2010-12-01
13:39
@864 + jumps file: [e994124f9a] check-in: [0dbcc4b3c6] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 22905
2010-11-29
13:51
@670 file: [d654aa3d67] check-in: [2435a4366f] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 22866
2010-11-23
11:38
Next @500. file: [6290fec589] check-in: [5365d7ae02] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 22799
2010-11-18
15:08
Next. file: [a469c5cf51] check-in: [3120107af3] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 22709
2010-03-06
03:40
merge updates file: [a09a39bb95] check-in: [f1f1ac161b] user: dgp branch: dgp-refactor, size: 22910
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: [18be8fee64] check-in: [4d8a4f639d] user: dkf branch: trunk, size: 22905
2010-02-25
21:53
merge updates from HEAD file: [8a9d1033a9] check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 22940
2010-02-24
10:45
More tidying up (whitespace, spelling, useless parentheses, useless casts) file: [b0c89a428e] check-in: [511d94dd87] user: dkf branch: trunk, size: 22935
2009-09-07
16:39
merge updates from HEAD file: [00605b2384] check-in: [8c0a6a5799] user: dgp branch: dgp-refactor, size: 22959
07:28
* generic/tclExecute.c: fix potential uninitialized variable use and * generic/tclFCmd.c: null dereference flagged by clang static * generic/tclProc.c: analyzer. * generic/tclTimer.c: * generic/tclUtf.c:
* generic/tclExecute.c: silence false positives from clang static * generic/tclIO.c: analyzer about potential null dereference. * generic/tclScan.c: * generic/tclCompExpr.c:
file: [193db5b06f] check-in: [e93f957325] user: das branch: trunk, size: 22954
2009-07-16
21:45
merge updates from HEAD file: [a54d99371f] check-in: [3e7e63ebaf] user: dgp branch: dgp-refactor, size: 22871
21:24
* generic/tclBinary.c: Removed unused variables. * generic/tclCmdIL.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclHash.c: * generic/tclIOUtil.c: * generic/tclVar.c:
* generic/tclBasic.c: Silence compiler warnings about ClientData. * generic/tclProc.c:
* generic/tclScan.c: Typo in ACCEPT_NAN configuration.
* generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200]
file: [5d1bcb8ba7] check-in: [b0e94fe52c] user: dgp branch: trunk, size: 22866
20:50
* generic/tclCmdIL.c: Removed unused variables. * generic/tclCompile.c: * generic/tclVar.c: * unix/tclUnixChan.c:
* generic/tclScan.c: Typo in ACCEPT_NAN configuration.
* generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200]
file: [cf120aaea0] check-in: [936f6911bd] user: dgp branch: core-8-5-branch, size: 22720
2009-02-11
17:27
merge updates from HEAD file: [e2f3f2363b] check-in: [f07460d448] user: dgp branch: dgp-refactor, size: 22871
2009-02-10
23:08
- eliminate some unnessary type casts - some internal const decorations - spacing file: [7e26d56920] check-in: [a45c7b126b] user: nijtmans branch: trunk, size: 22871
2008-12-12
02:41
merge updates from HEAD file: [7a1316067c] check-in: [ffe56e444b] user: dgp branch: dgp-refactor, size: 22804
2008-12-10
18:21
TIP #343 IMPLEMENTATION - A Binary Specifier for [format/scan] file: [6f103a211f] check-in: [197d47d29d] user: ferrieux branch: trunk, size: 22804
2008-07-29
20:13
merge updates from (near) HEAD file: [bf9a792491] check-in: [f51e3a3c72] user: dgp branch: dgp-refactor, size: 22714
2008-07-19
22:50
fix [2021443] inconsistant "wrong # args" messages file: [e3a66d91f2] check-in: [1e5261316e] user: nijtmans branch: trunk, size: 22714
2008-05-11
04:22
merge updates from HEAD file: [2c81d2fa96] check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 22723
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: [3e9e353e35] check-in: [2d205c22fb] user: dkf branch: trunk, size: 22718
2007-12-13
15:22
merge stable branch onto HEAD file: [8bb963ea16] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 22716
2007-11-12
20:40
merge updates from HEAD file: [fdc0acc5df] check-in: [27f428842c] user: dgp branch: dgp-refactor, size: 22721
19:18
merge updates from HEAD file: [f3a58169c7] check-in: [72c5ac9502] user: dgp branch: core-stabilizer-branch, size: 22720
2007-11-11
19:32
[Patch 1830038]: Increased usage of macros to detect and take advantage of objTypes. file: [7f36066345] check-in: [11e8f31512] user: msofer branch: trunk, size: 22719
2007-06-25
18:53
merge updates from HEAD file: [7f50149d95] check-in: [436f99c1ba] user: dgp branch: core-stabilizer-branch, size: 22723
17:39
merge updates toward HEAD file: [7ae11b545e] check-in: [eed0ebaa22] user: dgp branch: dgp-refactor, size: 22724
2007-06-22
20:42
* generic/tclCmdIL.c: More conversions to use TclStackAlloc. * generic/tclScan.c:
file: [27b27c8ed0] check-in: [ebf25c463a] user: dgp branch: trunk, size: 22719
2006-04-28
16:09
Merge updates from HEAD file: [965513ba4b] check-in: [afab2ad07a] user: dgp branch: dgp-refactor, size: 23125
2006-04-25
17:15
* doc/DoubleObj.3: More doc updates for TIP 237. * doc/scan.n:
* generic/tclScan.c: [scan $s %u] is documented to accept only * tests/scan.test: decimal formatted integers. Fixed code to match.
file: [6998cc15c5] check-in: [d0317c20ba] user: dgp branch: trunk, size: 23120
2006-01-25
18:38
merge updates from HEAD file: [112cb71703] check-in: [24df3318d7] user: dgp branch: dgp-refactor, size: 23083
2005-12-19
19:03
2005-12-19 Don Porter <[email protected]>
* generic/tclCmdMZ.c: Modified [string is double] to use * tests/string.test: TclParseNumber() to parse trailing whitespace. Ensures consistency, and makes it easier to cleanup after invalid internal reps left behind by parsing [Bugs 1360432 1382287].
* generic/tclParseExpr.c: Added TCL_PARSE_NO_WHITESPACE to * generic/tclScan.c: TclParseNumber() calls since scan and * tests/scan.test: [expr] parsing don't want spaces in parsed numbers.
* generic/tclInt.h: Added TCL_PARSE_NO_WHITESPACE flag to the * generic/tclStrToD.c: TclParseNumber() interface.
file: [9b0af540f0] check-in: [7245b18069] user: dgp branch: trunk, size: 23078
2005-12-02
18:42
merge updates from HEAD file: [e4a5375db8] check-in: [1059d34b2b] user: dgp branch: dgp-refactor, size: 23031
2005-11-12
04:08
* generic/tclInt.h: Revised TclParseNumber interface to enable * generic/tclScan.c: revision to the scan command implementation * generic/tclStrToD.c: to permit tests scan-4.44,55 to pass again. [Bug 1348067].
file: [d9a6e1ff11] check-in: [5b3d7732b5] user: dgp branch: trunk, size: 23026
2005-11-03
17:52
merge updates from HEAD file: [f37c5d767a] check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 22867
2005-11-02
11:55
ANSIfy (though only partially - function decls only - for tclExecute.c) file: [13588dd2a9] check-in: [127ec44748] user: dkf branch: trunk, size: 22863
2005-10-23
22:01
* generic/tclBasic.c: * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclLink.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclVar.c: * mac/tclMacInit.c: * unix/tclUnixInit.c: * win/tclWinInit.c: Insure that the core never calls TclPtrSetVar, Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new value. It is not possible to handle error returns correctly in that case [Bug 1334947], one has the choice of leaking the object in some cases, or else risk crashing in some others.
file: [69b361ac34] check-in: [8761ab798f] user: msofer branch: core-8-4-branch, size: 27069
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: [e2af91adb9] check-in: [3fd9c620f4] user: dgp branch: trunk, size: 23010
2005-10-18
20:46
merge updates from HEAD file: [b4ad643630] check-in: [2e8613842e] user: dgp branch: dgp-refactor, size: 28057
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: [fa84210b52] check-in: [83fdb360a9] user: dgp branch: trunk, size: 28053
2005-09-28
00:23
formatting file: [588f5b1534] check-in: [255d501bf2] user: dgp branch: kennykb-numerics-branch, size: 28057
2005-09-02
17:42
[kennykb-numerics-branch]
* generic/tclScan.c: Bug fix: The %o, %x, %i formats of scan must not accept any 0b or 0o prefixes. [scan $s %o] must continue to work even with KILL_OCTAL enabled.
* generic/tclInt.h: Added TCL_PARSE_SCAN_PREFIXES to the flags * generic/tclStrToD.c: accepted by TclParseNumber.
file: [103c553b86] check-in: [7f0027be0c] user: dgp branch: kennykb-numerics-branch, size: 28056
2005-09-01
16:09
[kennykb-numerics-branch]
* generic/tclScan.c: Extended scan to accept the %lld, %llo, %llx, and %lli formats. Numeric scanning is now done via TclParseNumber calls.
* generic/tclInt.h: Extended TclParseNumber to accept new flag * generic/tclStrToD.c: values TCL_PARSE_INTEGER_ONLY, TCL_PARSE_OCTAL_ONLY, and TCL_PARSE_HEXIDECIMAL_ONLY, to give caller more control over the parsing rules.
file: [b946142bf5] check-in: [fc4c109c84] user: dgp branch: kennykb-numerics-branch, size: 27988
2005-08-23
18:28
TclParseNumber enhanced for [scan ... %f], plus better test coverage file: [c61979ee49] check-in: [43741d958a] user: kennykb branch: kennykb-numerics-branch, size: 25679
2005-08-02
18:14
merge updates from HEAD file: [2b2d39ecb3] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 27094
2005-07-26
04:11
Merge updates from HEAD file: [2c1263663e] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 27094
2005-07-21
14:38
Systematizing the formatting file: [965affefbb] check-in: [ac613e6b94] user: dkf branch: trunk, size: 27090
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611)
file: [fdd0a53e24] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 27200
2005-05-11
16:58
merge updates from HEAD file: [5fda6d5015] check-in: [a8212110f1] user: dgp branch: dgp-refactor, size: 27197
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [26df323b87] check-in: [1cc2336920] user: kennykb branch: trunk, size: 27197
2005-02-02
15:53
sync with head, add TclStrToD (TIP #132) file: [d6c05b3f9e] check-in: [82ce6a0c40] user: kennykb branch: kennykb-numerics-branch, size: 27201
2004-10-28
18:45
merge updates from HEAD file: [b4f81d1444] check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 27194
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: [e9fdc20e5b] check-in: [9883f6bfdb] user: dgp branch: trunk, size: 27190
2004-09-08
23:02
Merge updates from HEAD file: [3bd68b7ba7] check-in: [dff8728918] user: dgp branch: dgp-refactor, size: 27273
2004-08-19
21:12
Ensure that the %ld conversion works correctly on 64-bit platforms. [Bug 1011860] file: [227e4ade4f] check-in: [052cf18b79] user: dkf branch: core-8-4-branch, size: 27028
20:58
Ensure that the %ld conversion works correctly on 64-bit platforms. [Bug 1011860] file: [c78db3ccc0] check-in: [142ba4167b] user: dkf branch: trunk, size: 27269
2004-05-27
15:02
Merge updates from HEAD file: [917e12a7a3] check-in: [c9ab42babb] user: dgp branch: dgp-refactor, size: 27332
14:29
Merge updates from HEAD. Also implemented flags argument to TclCompEvalObj(). file: [4027122cdd] check-in: [8f7452ee0c] user: dgp branch: dgp-refactor, size: 27332
13:18
Made compiling with -Wstrict-prototypes -Wmissing-prototypes much cleaner. Also added support for [FRQ 951168] but left that switched off by default. file: [f3c4197f31] check-in: [3c862df4ab] user: dkf branch: trunk, size: 27328
2004-04-09
20:57
Merge updates from HEAD file: [fd8fd1a695] check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 26993
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: [bdbdc29775] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 26989
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: [f557c9de32] check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 27091
2002-03-18
22:30
* generic/tclCompile.c (TclCompileTokens): Modified imported bugfix to use a heap variable for the message buffer instead of placing it on the stack.
* Updated "mod-8-3-1-branch" to head of "core-8-3-1-branch" to get the newest fixes for tcl 8.3.4 into this branch.
file: [ad96bcf6ba] check-in: [d631cf3e55] user: andreas_kupries branch: mod-8-3-4-branch, size: 25488
20:56
* generic/tclScan.c (Tcl_ScanObjCmd): prevented ckfree being called on a pointer to NULL.
file: [1ba2e8c2c2] check-in: [5f0c390d55] user: hobbs branch: core-8-3-1-branch, size: 25317
2002-02-25
15:23
Added clarification comment. file: [21868d6ddf] check-in: [29313c063d] user: dkf branch: trunk, size: 27083
2002-02-15
14:28
TIP#72 implementation. See ChangeLog for details. This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode. file: [290b9e54f9] check-in: [8d82de1905] user: dkf branch: trunk, size: 27011
2002-02-08
09:33
* generic/tclScan.c (Tcl_ScanObjCmd): prevented ckfree being called on a pointer to NULL.
file: [1ac65e7afa] check-in: [a394db9b1f] user: hobbs branch: trunk, size: 25314
2002-02-07
01:54
* tests/scan.test: * generic/tclScan.c (Tcl_ScanObjCmd): corrected scan 0x... %x handling that didn't accept the 0x as a prelude to a base 16 number. [Bug #495213]
file: [087b996750] check-in: [f2da2ea3cd] user: hobbs branch: core-8-3-1-branch, size: 25290
01:50
* tests/scan.test: * generic/tclScan.c (Tcl_ScanObjCmd): corrected scan 0x... %x handling that didn't accept the 0x as a prelude to a base 16 number. [Bug #495213]
file: [1adbcb189d] check-in: [003ecd26ba] user: hobbs branch: trunk, size: 25286
2001-12-04
21:52
* NOTES: * tcl.h: * tclInt.h: Moved the macros to control feature exclusion and stack manipulation into the private area of the tcl headers. Renamed the macros for TCL_STRUCT_ON_HEAP to make their names more sensible.
* tclCmdAH.c: * tclCompCmds.c: * tclCompExpr.c: * tclCompile.c: * tclExecute.c: * tclIO.c: * tclParse.c: * tclParseExpr.c: * tclScan.c: * tclUnixChan.c: Adapted to changed macro names, added some more places there structures go on the heap instead of the stack. Fixed a problem with TCL_FMT_STATIC_FLOATBUFFER_SZ which caused the interp to crash when actually used to reduce the usage of the stack.
file: [04d5472ff5] check-in: [fa28ece419] user: andreas_kupries branch: mod-8-3-4-branch, size: 25249
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: [1c337371de] check-in: [fc43051481] user: andreas_kupries branch: mod-8-3-4-branch, size: 25149
2001-10-18
14:19
Simplified tcl.h and removed support for platforms that can understand but cannot printf a 64-bit value. If they are widespread, this will be a bit of a retrograde step but it does make it easier to understand the code! file: [23f24772b7] check-in: [e04a287f55] user: dkf branch: dkf-64bit-support-branch, size: 26778
12:47
Fixed some more stupid errors (resulting from not being able to build on all platforms) and made sure that strtoll and strtoull are available for scan file: [4fc5559185] check-in: [3065819826] user: dkf branch: dkf-64bit-support-branch, size: 27084
2001-10-15
10:55
Oops. file: [b2598b997a] check-in: [643f10b199] user: dkf branch: dkf-64bit-support-branch, size: 26990
10:52
Start of work to support more platforms (HPUX,IRIX,Win) plus some minor bug fixes file: [2738e28e9d] check-in: [ab8eb3df73] user: dkf branch: dkf-64bit-support-branch, size: 26988
2001-10-09
15:30
Fixes to make whole test suite clean file: [31e0f15bbd] check-in: [dafdd96fef] user: dkf branch: dkf-64bit-support-branch, size: 26981
2001-10-04
14:13
More sensitive handling of 'unsigned long long' values. file: [af69d1eadb] check-in: [d679f82c1e] user: dkf branch: dkf-64bit-support-branch, size: 26955
13:58
Wide int support in scan via 'l' modifier file: [50a5d7513a] check-in: [be263c6068] user: dkf branch: dkf-64bit-support-branch, size: 26599
2001-09-20
01:13
* generic/tclCmdAH.c (Tcl_FormatObjCmd): * generic/tclScan.c (Tcl_ScanObjCmd): corrected handling of format and scan on 64-bit machines. [Bug #412696] (rmax)
file: [13b25af874] check-in: [d188de4ab1] user: hobbs branch: core-8-3-1-branch, size: 25081
01:03
* generic/tclCmdAH.c (Tcl_FormatObjCmd): * generic/tclScan.c (Tcl_ScanObjCmd): corrected handling of format and scan on 64-bit machines. [Bug #412696] (rmax)
file: [6a1c4c4a3f] check-in: [faf1696097] user: hobbs branch: trunk, size: 25077
2001-04-03
22:54
see backport log in ChangeLog for specific file backports from 8.4aCVS file: [c040b271b7] check-in: [6defc375da] user: hobbs branch: core-8-3-1-branch, size: 24961
2000-12-10
03:27
* docs/scan.n: * tests/scan.test: * generic/tclScan.c (Tcl_ScanObjCmd): changed %o and %x to use strtoul instead of strtol to correctly preserve scan<>format conversion of large integers. [Patch #102663, Bug #124600]
file: [969bc218b9] check-in: [c628433a43] user: hobbs branch: trunk, size: 24957
1999-11-30
08:42
* generic/tclScan.c: fixed scan where %[..] didn't match anything [Bug: 3700]
file: [c5511d426c] check-in: [1be6572a7b] user: hobbs branch: core-8-2-1-branch, size: 22432
01:42
* tests/scan.test: * generic/tclScan.c: fixed scan where %[..] didn't match anything and added test case [Bug: 3700]
file: [de5e1df488] check-in: [27ebd6ad86] user: hobbs branch: trunk, size: 24955
1999-11-19
06:34
* generic/tclProc.c: corrected error reporting for default case at the global level for uplevel command.
* generic/tclIOSock.c: changed int to size_t type for len in TclSockMinimumBuffers.
* generic/tclCkalloc.c: fixed Tcl_DbCkfree to return a value on NULL input. [Bug: 3400]
* generic/tclStringObj.c: fixed support for passing in negative length to Tcl_SetUnicodeObj, et al handling routines. [Bug: 3380]
* doc/scan.n: * tests/scan.test: * generic/tclScan.c: finished support for inline scan by supporting XPG identifiers.
* doc/http.n: * library/http2.1/http.tcl: added register and unregister commands to http:: package (better support for tls/SSL), as well as -type argument to http::geturl. [RFE: 2617]
* generic/tclBasic.c: removed extra decr of numLevels in Tcl_EvalObjEx that could cause seg fault. ([email protected])
* generic/tclEvent.c: fixed possible lack of MutexUnlock in Tcl_DeleteExitHandler [Bug: 3545]
file: [f634c49876] check-in: [907f606957] user: hobbs branch: trunk, size: 24840
1999-10-29
04:34
removed // comments (IBM's AIX compiler complained) file: [207bd860db] check-in: [31e3344b89] user: hobbs branch: trunk, size: 24082
03:03
* generic/tclStringObj.c: fixed Tcl_AppendResultVA so it only iterates once over the va_list (avoiding a memcpy of it, which is not portable).
* generic/tclEnv.c: fixed possible ABR error in environ array
* tests/scan.test: * generic/tclScan.c: added support for use of inline scan, XPG3 currently not included
* tests/incr.test: * tests/set.test: * generic/tclCompCmds.c: fixed improper bytecode handling of 'eval {set array($unknownvar) 5}' (also for incr)
* win/tclWinTest.c: added testvolumetype command, as atime is completely ignored for Windows FAT file systems * win/tclWinPort.h: added sys/utime.h to includes * unix/tclUnixPort.h: added utime.h to includes * doc/file.n: * tests/cmdAH.test: * generic/tclCmdAH.c: added time arguments to atime and mtime file command methods (support 'touch' functionality)
file: [37f1764798] check-in: [2c17586d2a] user: hobbs branch: trunk, size: 24225
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
Added: merged tcl 8.1 branch back into the main trunk file: [b722c7d82a] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 22315
1999-04-02
23:44
* generic/regc_locale.c: * generic/regcustom.h: * generic/tcl.decls: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclInt.h: * generic/tclRegexp.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclUtf.c: * win/tclWinFCmd.c: * win/tclWinFile.c: Made various Unicode utility functions public. The following functions were made public and added to the stubs table: Tcl_UtfToUniCharDString, Tcl_UniCharToUtfDString, Tcl_UniCharLen, Tcl_UniCharNcmp, Tcl_UniCharIsAlnum, Tcl_UniCharIsAlpha, Tcl_UniCharIsDigit, Tcl_UniCharIsLower, Tcl_UniCharIsSpace, Tcl_UniCharIsUpper, Tcl_UniCharIsWordChar file: [4cb6b47efa] check-in: [de06484e63] user: stanton branch: core-8-1-branch-old, size: 22319
1999-02-10
23:31
* unix/mkLinks: * doc/SetVar.3: * generic/tcl.h: * generic/tclVar.c: Restored Tcl_ObjGetVar2 and Tcl_ObjSetVar2 from 8.0. Renamed Tcl_Get/SetObjVar2 to Tcl_GetVar2Ex and Tcl_SetVar2Ex.

* Merged 8.0.5b2 patches file: [01fba97ede] check-in: [b403ad5f28] user: stanton branch: core-8-1-branch-old, size: 22315

1998-11-18
04:15
* tclScan.c: moved "scan" implementation out of tclCmdMZ.c and added Unicode support. This required a complete reimplementation of the command to avoid using scanf(), which isn't Unicode aware. Two new features were added in the process: %n to return the current number of characters consumed, and XPG3-style %n$ argument order specifiers similar to those provided by the "format" command. [Bug: 833] file: [c0b5780a35] check-in: [cebcfe843b] user: stanton branch: core-8-1-branch-old, size: 22336
1998-11-16
20:45
Added: moved scan implementation into tclScan.c changed scan to support unicode file: [4d4dfc0d7a] check-in: [f9da63b2e8] user: stanton branch: core-8-1-branch-old, size: 21682