Tcl Source Code

All files named "generic/tclEncoding.c"
Login

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

History for generic/tclEncoding.c

2024-05-20
16:38
merge trunk file: [4427a489f0] check-in: [3fd88cd4cd] user: dkf branch: result-helpers, size: 127149
2024-05-14
16:06
Add helper macros TclSetResult and TclPrintfResult file: [43c6c0caf8] check-in: [0b65fb9e0c] user: dkf branch: result-helpers, size: 126794
2024-05-13
15:41
Clean up a lot of small whitespace issues

This is the dullest commit ever. Sorry. file: [67451ba2a4] check-in: [3a60363aa1] user: dkf branch: main, size: 126882

2024-05-10
15:40
More whitespace cleanup file: [a8a4517033] check-in: [835b1a5566] user: dkf branch: main, size: 127237
2024-04-26
13:54
increase cache size (4 now, can be configurable later), free cache in lock, more performance test-cases file: [9ad1b58483] check-in: [246fae69b1] user: sebres branch: sebres-encoding-perf-branch, size: 107185
13:49
more tweaks optimized encoding reusing processes (added small cache storage holding 2 last freed encoding to avoid repeated reload by its usage later), for example optimizing following case: % timerate {encoding convertto [string trimright "shiftjis "] xxx} - 1036.96 µs/# 965 # 964.36 #/sec 1000.667 net-ms + 0.680358 µs/# 1469814 # 1469814 #/sec 1000.000 net-ms file: [8a7f07080d] check-in: [389529a649] user: sebres branch: sebres-encoding-perf-branch, size: 106992
13:47
(backported from tclSE) avoid multi-threaded vulnerability of system encoding (see tcl bug [f2ff05fc8411be80]), to be thread safe increase refcount during conversion (using system encoding); atomic encoding refcount (fewer bottlenecks across threads); better handling for encoding stored in internal object representation - no extra lookup in table for cached encoding (unless epoch gets changed) file: [e3f9e0c0d9] check-in: [a1c84c8069] user: sebres branch: sebres-encoding-perf-branch, size: 105504
2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [99f24dfbe8] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 126888
2024-04-18
15:06
Tidy up some indentation and other little code style issues file: [71a78870e7] check-in: [cb11914788] user: dkf branch: tidy-indentation, size: 127283
2024-04-04
13:32
Merge 8.6 file: [af74068928] check-in: [b7e442b293] user: jan.nijtmans branch: core-8-branch, size: 129482
11:44
Merge 8.6 file: [1ed2106352] check-in: [09cdca236b] user: jan.nijtmans branch: core-8-branch, size: 129466
10:52
encodingName -> encoding (where appropriate) file: [9c79f59d84] check-in: [0a9ae478ac] user: jan.nijtmans branch: core-8-6-branch, size: 108458
2024-04-03
20:21
encodingName -> encoding (where appropriate) file: [c9db3aaa29] check-in: [5b26e92fbb] user: jan.nijtmans branch: tip-691, size: 127251
2024-03-24
18:05
(cherry-pick): Change Tcl_ExternalToUtfDStringEx and Tcl_UtfToExternalDStringEx to ignore START/END flags as stated in documentation instead of raising an error. file: [a8760e8d73] check-in: [4f47abcc61] user: jan.nijtmans branch: core-8-branch, size: 129482
16:27
Change Tcl_ExternalToUtfDStringEx and Tcl_UtfToExternalDStringEx to ignore START/END flags as stated in documentation instead of raising an error. file: [e6e2c08aea] check-in: [4afcab0cc2] user: apnadkarni branch: main, size: 127267
16:19
Change Tcl_ExternalToUtfDStringEx and Tcl_UtfToExternalDStringEx to ignore START/END flags as stated in documentation instead of raising an error. file: [908e99aa9f] check-in: [8b0cc49850] user: apnadkarni branch: mistake, size: 127357
2024-03-21
13:55
Merge 8.7. Tcl_GetStringFromObj() -> TclGetStringFromObj() (optimization) file: [139595a303] check-in: [28e5e230b6] user: jan.nijtmans branch: main, size: 127955
2024-03-20
20:29
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!) file: [846a2f69f8] check-in: [9b8a66aff6] user: jan.nijtmans branch: main, size: 127956
20:09
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!) file: [15afe56e68] check-in: [3186ba81a2] user: jan.nijtmans branch: core-8-branch, size: 130234
14:27
Merge 9.0 file: [e07a73c4e0] check-in: [4271f3b52a] user: jan.nijtmans branch: tip-626, size: 127961
2024-03-19
17:09
more spacing/formatting tweaks file: [791e8be98b] check-in: [9a59cf8499] user: dkf branch: main, size: 127962
14:56
Fix indentation/brace usage style issues file: [2825e2ae46] check-in: [1fbff64078] user: dkf branch: main, size: 127981
2024-03-13
09:45
Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6 file: [c35a41a082] check-in: [c575f9dc00] user: jan.nijtmans branch: core-8-branch, size: 130241
2024-03-12
21:24
Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too. file: [d7ae45ca29] check-in: [63d442cdc0] user: jan.nijtmans branch: main, size: 128040
2024-02-12
22:27
Merge 8.7 file: [24e87be75d] check-in: [0569a4743c] user: jan.nijtmans branch: main, size: 128045
21:55
More code cleanup file: [66bb7e2457] check-in: [9438970ff1] user: jan.nijtmans branch: core-8-branch, size: 130248
15:28
Merge 8.7 file: [b242d3ea3c] check-in: [1f829f0455] user: jan.nijtmans branch: main, size: 128422
15:26
Code cleanup (also backported from 9.0) file: [9e282b6caf] check-in: [f9ba3cd5f6] user: jan.nijtmans branch: core-8-branch, size: 130475
15:06
Merge 8.7 file: [72159e0c55] check-in: [e5d6aad737] user: jan.nijtmans branch: main, size: 128407
14:43
Fix last "knownBug" in UTF-16 encoder (backported from 9.0) file: [03e0d7bcf2] check-in: [00c7d938b7] user: jan.nijtmans branch: core-8-branch, size: 130481
2024-02-08
13:27
Merge 8.7 file: [4efed4da99] check-in: [35dfeb2a53] user: jan.nijtmans branch: main, size: 128245
13:21
Fix all 'ascii' testcases in encodingVectors.tcl, another try. See [1355b9a874]. file: [a22e70b43b] check-in: [233da96789] user: jan.nijtmans branch: core-8-branch, size: 129656
2024-02-07
10:49
Merge 8.7 file: [59c4176b84] check-in: [2f1e3c04fc] user: jan.nijtmans branch: main, size: 128233
10:00
Fix all 'ascii' testcases in encodingVectors.tcl file: [e353a685bf] check-in: [c63ef66f0d] user: jan.nijtmans branch: core-8-branch, size: 129644
2024-02-06
13:01
Proposed fix for [80d4c1c7e5]: Isolated surrogates are not replaced when encoding to / from utf-8 file: [3ba6337b27] check-in: [c37652549e] user: jan.nijtmans branch: bug-80d4c1c7e5, size: 128113
12:45
Merge 8.7 file: [cb2c4895d0] check-in: [0c5f1e10ff] user: jan.nijtmans branch: main, size: 128024
12:33
Minor code simplification file: [8f69cea6fd] check-in: [484524c355] user: jan.nijtmans branch: core-8-branch, size: 129524
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: [3bdc4e5df0] check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 128156
2024-01-04
20:58
Merge 9.0 file: [426dd843d7] check-in: [bfb5c2d0d3] user: jan.nijtmans branch: tip-671, size: 135838
2023-12-27
22:30
Merge 8.7 file: [7c7e40ae93] check-in: [73a8bc5730] user: jan.nijtmans branch: mistake, size: 128188
2023-12-26
16:31
Don't use TCL_SIZE_MODIFIER "u", since Tcl_Size can be negative file: [ffa7b258d7] check-in: [18e2b3b04f] user: jan.nijtmans branch: core-8-branch, size: 129688
2023-12-01
11:52
Minimal (partial) solution for [0f1ddc0df7]: "exec does not handle encoding". file: [8780af82af] check-in: [0d84761f9f] user: jan.nijtmans branch: bug-0f1ddc0df7, size: 128194
2023-11-23
14:13
Merge 8.7. Remove 2 (internal) stub entries which are not used any more. file: [b299adf34d] check-in: [55970b0f90] user: jan.nijtmans branch: main, size: 128188
2023-11-13
20:10
remove debugs file: [4bcc960537] check-in: [6693d96ab0] user: dgp branch: bug-2a0966cdc9, size: 128666
19:52
merge 8.7 file: [914ccdfd31] check-in: [32a46d4859] user: dgp branch: bug-2a0966cdc9, size: 128908
12:36
Simplify TIP #656: "A revised proposal for encodings". Make TCL_ENCODING_PROFILE_??? values the same as in Tcl 9.0 after TIP #657: Make "-profile strict" the default in Tcl 9.0 file: [5098829094] check-in: [2e60630e80] user: jan.nijtmans branch: core-8-branch, size: 129701
2023-11-02
17:00
Merge main file: [dd40ad6fe6] check-in: [e85a6745f5] user: oehhar branch: tip-657, size: 129223
2023-10-25
17:57
Since TIP 258 (2005) and development efforts leading up to it (2004), the Tcltest package has not been a caller of routines Tcl(Get|Set)LibraryPath, so there's no longer a need for those to be in the internal stubs table.

After they are removed from the table, they no longer need to exist at all. file: [3cba5bd9c0] check-in: [d19f98cb7d] user: dgp branch: bug-2a0966cdc9, size: 130739

2023-10-19
18:48
Merge 8.7 file: [930ca546f6] check-in: [f67f60d202] user: jan.nijtmans branch: main, size: 131745
2023-10-17
06:02
Handle sentinels for any C++ compiler file: [580532b46d] check-in: [6876d1f99a] user: jan.nijtmans branch: bug-26870862f0, size: 131774
2023-10-10
19:40
Merge 8.7 file: [288de3905a] check-in: [f1543f19f8] user: jan.nijtmans branch: main, size: 131665
2023-09-25
07:17
Merge 8.7 (2023-05-03) file: [44f7bd55a0] check-in: [d91f112024] user: jan.nijtmans branch: tip-656-simpl, size: 130017
06:51
Merge 8.7 (2023-05-02) file: [b85d289c55] check-in: [da2443a61a] user: jan.nijtmans branch: tip-656-simpl, size: 130012
2023-09-12
14:23
Rebase to tip-657 file: [c7682e31d3] check-in: [0e7c7d2154] user: jan.nijtmans branch: tip-671, size: 136800
13:59
Rebase to 9.0 file: [cc50c3aaf2] check-in: [6bdb0864f1] user: jan.nijtmans branch: tip-657, size: 129150
10:11
Merge 8.7 file: [e26e5b1dc2] check-in: [d24c3420fa] user: jan.nijtmans branch: main, size: 131672
2023-08-30
14:38
Rebase to 8.7 file: [d7a32a69a0] check-in: [6dcc5a1ff0] user: jan.nijtmans branch: tip-665, size: 131694
13:58
Rebase to tip-657 file: [fe97dfa92a] check-in: [cb4d02077f] user: jan.nijtmans branch: tip-671, size: 141310
13:45
Rebase to 9.0 file: [15c8d61860] check-in: [1c4d579fdf] user: jan.nijtmans branch: tip-657, size: 133667
2023-08-18
07:08
Merge 8.7 - Fix UtfToUtf16Proc file: [6b05e38379] check-in: [47e9c5e3f5] user: apnadkarni branch: main, size: 136189
06:57
Fix UtfToUtf16Proc and UtfToUCS2Proc to not assume sizeof(Tcl_UniChar) is size of UTF16 / UCS2 code unit" file: [077179d332] check-in: [c9ed6c9e02] user: apnadkarni branch: core-8-branch, size: 132159
2023-07-28
14:40
Rebase to 9.0 file: [b4d0e648c2] check-in: [7268094e1f] user: jan.nijtmans branch: tip-657, size: 133634
08:04
Merge 8.7 file: [3c1f5c83e9] check-in: [68dfeb7100] user: jan.nijtmans branch: main, size: 136156
07:50
"utf-8" is the new "identity": make it available always file: [9fa280df6b] check-in: [5ba0bfea71] user: jan.nijtmans branch: core-8-branch, size: 132126
2023-07-26
10:32
Rebase to 8.7 file: [ffc668388d] check-in: [b9c1614a3d] user: jan.nijtmans branch: tip-665, size: 131543
2023-07-19
14:59
Merge tip-657 file: [84ed48d37f] check-in: [193acbea90] user: jan.nijtmans branch: tip-671, size: 141160
14:53
Rebase to 9.0 file: [2a674abf37] check-in: [6f38a7cf3c] user: jan.nijtmans branch: tip-657, size: 133516
14:49
Merge 8.7 file: [ecd9375e1c] check-in: [bbe3200ca0] user: jan.nijtmans branch: main, size: 136038
14:23
Improve error-reporting possibilities for Tcl_ExternalToUtfDStringEx/Tcl_UtfToExternalDStringEx in case no interpreter is available, by setting "errno". file: [a691a9dc78] check-in: [2d94a8c808] user: jan.nijtmans branch: core-8-branch, size: 132008
13:04
Bugfix for escape-encoding, 'stolen' from TIP #671 branch file: [6a9e0dcac6] check-in: [9e4bc60200] user: jan.nijtmans branch: core-8-branch, size: 131706
11:18
Somewhat better error-reporting file: [8f779ef308] check-in: [51078feead] user: jan.nijtmans branch: tip-657, size: 133452
2023-07-14
14:51
First attempt to mix TIP's #657 and #671 file: [26708a9be5] check-in: [77d9664918] user: jan.nijtmans branch: tip-671, size: 141169
06:31
Rebase to 9.0 file: [d25f94206b] check-in: [0a52caf686] user: jan.nijtmans branch: tip-657, size: 133248
2023-07-13
05:43
Merge trunk file: [b30a0de0f7] check-in: [3f0de542ee] user: apnadkarni branch: tip-671, size: 143712
2023-07-09
12:41
Rebase to 8.7 file: [c513a55530] check-in: [7bf8d24ff3] user: jan.nijtmans branch: tip-665, size: 131189
2023-07-05
15:10
Merge 8.7 file: [1da7561679] check-in: [c835fededf] user: jan.nijtmans branch: main, size: 135765
15:08
Merge 8.6 file: [82d89d58e3] check-in: [be96f35be2] user: jan.nijtmans branch: core-8-branch, size: 131654
14:55
Backport [66ffafd309]: Truncated encoding for DBCS results in infinite loop and running out of memory file: [99fd740cef] check-in: [759e76383f] user: jan.nijtmans branch: core-8-6-branch, size: 108474
06:13
Merge main file: [f4b54ca94a] check-in: [9c35266dec] user: apnadkarni branch: tip-671, size: 143794
05:52
Merge 8.7 - Bug [5be203d6ca] - io-7.3 failure file: [ea6543d458] check-in: [4b6fd44d84] user: apnadkarni branch: main, size: 135847
03:23
Bug [5be203d6ca] - better fix and add test file: [d1bb8705a3] check-in: [b88bf9d6bd] user: apnadkarni branch: bug-5be203d6ca-apn, size: 131736
2023-07-04
08:38
Rebase to 9.0 file: [8deeb5266f] check-in: [af0a32717f] user: jan.nijtmans branch: tip-657, size: 133346
06:47
Correctly compute consumed bytes in case of truncated byte sequence at end. file: [60b0998822] check-in: [457d38e405] user: apnadkarni branch: bug-5be203d6ca-apn, size: 132005
2023-07-02
12:40
Disable lossless profile for ascii-incompatible encodings and merge trunk file: [17e53ad025] check-in: [511f952c57] user: apnadkarni branch: tip-671, size: 143837
04:55
Backport fix [66ffafd309]. DBCS infinite loop on invalid encoding file: [7186eebc91] check-in: [4d10e2c128] user: apnadkarni branch: core-8-branch, size: 131752
2023-07-01
18:02
Bug [66ffafd309] file: [17c0460b9c] check-in: [6ce225894f] user: apnadkarni branch: bug-66ffafd309, size: 135863
2023-06-29
15:20
Merge trunk file: [ffafd51c12] check-in: [a18d98ac4e] user: apnadkarni branch: tip-671, size: 143355
11:30
Merge 8.7 - Bug [6a3e2cb0f0] - invalid bytes in escape encodings file: [d380475aad] check-in: [a8f83d57e4] user: apnadkarni branch: main, size: 135715
11:09
Bug [6a3e2cb0f0] - invalid bytes in escape encodings file: [5cb0a57356] check-in: [398de572ab] user: apnadkarni branch: core-8-branch, size: 131604
2023-06-12
05:48
Tests for lossless profiles. Change lossless behavior for UTF-16,32 file: [ff98d471e5] check-in: [42d3d3d69d] user: apnadkarni branch: tip-671, size: 143321
2023-06-11
19:41
Merge trunk [3389fba412]. file: [7453e75651] check-in: [09a7091246] user: pooryorick branch: trunk-encodingdefaultstrict, size: 135749
17:31
Fix greedy consumption bytes in lossless profile for utf-8. file: [2a0c2aca65] check-in: [94879d45b4] user: apnadkarni branch: tip-671, size: 143899
07:29
Merge trunk [20891426a8]. file: [b536a169bd] check-in: [56d7f41983] user: pooryorick branch: trunk-encodingdefaultstrict, size: 135765
2023-06-10
13:43
Refactor into common function. Add error checks that were never present. file: [853a0d61f7] check-in: [4cec5c007e] user: apnadkarni branch: tip-671, size: 143888
2023-06-05
21:50
Implement basic lossless profile file: [616187cdc8] check-in: [825c68627f] user: apnadkarni branch: tip-671, size: 141313
2023-05-11
21:47
Merge trunk [05eeae5d67] and resolve conflicts. file: [e26322a3f1] check-in: [ea8f3cd359] user: pooryorick branch: unchained, size: 131142
2023-05-09
15:43
Merge TIP #657 file: [26e39996df] check-in: [48e6cffcc9] user: jan.nijtmans branch: tip-659, size: 133174
15:43
Merge 9.0 file: [a14ac8e5bf] check-in: [5a026323e9] user: jan.nijtmans branch: tip-657, size: 133131
2023-05-04
20:26
Make some tests select an encoding profile instead of relying on the default. file: [72868f4698] check-in: [3389fba412] user: pooryorick branch: main, size: 135747
16:59
Merge tip-657 file: [aa37d3d86b] check-in: [f677c6efc9] user: jan.nijtmans branch: tip-659, size: 131042
06:36
Rebase to latest 8.7 file: [016932fe49] check-in: [1c4604133e] user: jan.nijtmans branch: tip-665, size: 131171
2023-05-03
11:31
Merge [842b3b3949]. file: [90fbcd116d] check-in: [c3278e757b] user: pooryorick branch: unchained, size: 131146
09:20
Merge 9.0 file: [c92a4d3ca6] check-in: [583c71a819] user: jan.nijtmans branch: tip-657, size: 130999
04:03
Changed CHANNEL_PROFILE_* to ENCODING_PROFILE_* and moved out of tclIO.h. See below.

For whatever reason, these macros were renamed and moved to tclIO.h post-660. This is inappropriate as those macros deal with *encoding* flags, not *channel* flags and have relevance outside of I/O making their renaming inappropriate. Further putting them in tclIO.h forces inclusion of that header in modules that do not otherwise need that header. file: [33a6b3d4ce] check-in: [b9aee6a781] user: apnadkarni branch: main, size: 135769

03:31
Changed CHANNEL_PROFILE_* to ENCODING_PROFILE_* and moved out of tclIO.h. See below.

For whatever reason, these macros were renamed and moved to tclIO.h post-660. This is inappropriate as those macros deal with *encoding* flags, not *channel* flags and have relevance outside of I/O making their renaming inappropriate. Further putting them in tclIO.h forces inclusion of that header in modules that do not otherwise need that header. file: [1cda8a0fc9] check-in: [8cf18cec8c] user: apnadkarni branch: core-8-branch, size: 131636

2023-05-01
20:28
More progress file: [b679a49625] check-in: [f3015fa249] user: jan.nijtmans branch: tip-665, size: 131184
19:42
Remove internal use of TCL_UTF_MAX=3 as much as possible, without compromizing existing TIP's file: [962e228d8c] check-in: [86503e53c7] user: jan.nijtmans branch: tip-665, size: 131185
2023-04-28
23:57
Remove all code related to TCL_NO_DEPRECATED, and some related to TCL_MAJOR_VERSION. file: [5d8d489527] check-in: [a2e5794d46] user: pooryorick branch: unchained, size: 131155
19:19
Remove TclUtfToUCS4(), TclUniCharToUCS4(), and TclUCS4Prev(). file: [f842c278bf] check-in: [0d4245ab9f] user: pooryorick branch: unchained, size: 131257
17:34
Remove all code related to TCL_UTF_MAX=3. file: [8c4626d6d7] check-in: [d0c75e3b88] user: pooryorick branch: unchained, size: 131233
09:03
Merge trunk. file: [a1d489f2d7] check-in: [38d72f7adb] user: pooryorick branch: trunk-encodingdefaultstrict, size: 135774
06:43
Limit memset() to "TCL_UTF_MAX=3' builds. file: [7f7d02cb30] check-in: [c72b11eac7] user: pooryorick branch: main, size: 135778
2023-04-27
20:34
memset(0xff) instead of memset(0) to accomodate tests that fill buffer with 0xff. file: [1a38e82230] check-in: [1e52f2b6c3] user: pooryorick branch: bug-f5eadcbf9a6b1b4c, size: 135616
2023-04-25
20:34
Fix for issue [f5eadcbf9a], passing pointer to uninitialized memory leads Tcl_UniCharToUtf() to corrupt data. file: [3e5148595a] check-in: [db9f715fd5] user: pooryorick branch: bug-f5eadcbf9a6b1b4c, size: 135598
2023-04-23
11:48
merge trunk [f867f44c9c]. file: [641702e6cd] check-in: [be70a97e6d] user: pooryorick branch: trunk-encodingdefaultstrict, size: 133601
09:48
Merge tip-657 file: [0fc38eb56f] check-in: [e4c301ca4c] user: jan.nijtmans branch: tip-659, size: 131038
09:46
Merge 9.0 file: [e2f0703164] check-in: [66ef514f0e] user: jan.nijtmans branch: tip-657, size: 130996
05:23
Merge 8.7 - [d90fee06d0] (lassign) and [203792a48c] (Utf32ToUtf) file: [1e96689140] check-in: [8b91a4a3c6] user: apnadkarni branch: main, size: 133605
2023-04-22
17:55
Fix [203792a48c]: Avoid signed integer overflow in Utf32ToUtfProc() file: [5dad51db1f] check-in: [071ea1adbf] user: jan.nijtmans branch: core-8-branch, size: 131649
2023-04-21
21:45
Merge tip-657 file: [247216d842] check-in: [f843f54534] user: jan.nijtmans branch: tip-659, size: 131010
21:31
Merge 9.0 file: [d1fbe3987b] check-in: [f1cb9fbb82] user: jan.nijtmans branch: tip-657, size: 130968
2023-04-19
12:20
Fossil merge [1842599320]: TIP 660 accepted. file: [9ad44310b1] check-in: [2ae62e3581] user: pooryorick branch: trunk-encodingdefaultstrict, size: 133573
07:43
Merge trunk [f9c8bbde44]. file: [dc87f8cbf8] check-in: [3237cee77c] user: pooryorick branch: trunk-encodingdefaultstrict, size: 133560
2023-04-18
21:22
Merge tip-657 file: [99afb18930] check-in: [748c6402f5] user: jan.nijtmans branch: tip-659, size: 130997
21:05
Merge 9.0 file: [57eb4f6c86] check-in: [7275b67ac4] user: jan.nijtmans branch: tip-657, size: 130955
15:32
Merge trunk [0d197907c6]. file: [5ba2dbbeee] check-in: [17172e8451] user: pooryorick branch: trunk-encodingdefaultstrict, size: 133572
13:24
Merge trunk [e7fcdb7611]. file: [04014e22f9] check-in: [c9295cbf48] user: pooryorick branch: trunk-encodingdefaultstrict, size: 133465
12:24
Merge trunk [79cd3ac351]. file: [f80c26471f] check-in: [518b6086eb] user: pooryorick branch: trunk-encodingdefaultstrict, size: 133437
12:12
Merge trunk [78beedf7e2] and resolve conflicts. file: [3527bce81e] check-in: [fde2438f84] user: pooryorick branch: trunk-encodingdefaultstrict, size: 133580
11:39
Merge trunk [c8983a2a94] and resolve conflicts. file: [ab015b7a10] check-in: [729ef5d2e8] user: pooryorick branch: trunk-encodingdefaultstrict, size: 134772
10:29
Merge trunk [48829d9671]: Fix [d7fd37ebd9]: handling leftover prefix in table encoding. file: [1c4a68b363] check-in: [46f77f9937] user: pooryorick branch: trunk-encodingdefaultstrict, size: 134742
02:55
Merge trunk file: [193fe2add4] check-in: [0a224d1449] user: apnadkarni branch: tip-660, size: 133577
2023-04-17
21:33
Merge trunk [49a4c8f8fb], "TIP 656 accepted", and resolve conflicts. file: [740fcab144] check-in: [ab0512022f] user: pooryorick branch: trunk-encodingdefaultstrict, size: 134679
13:30
Merge trunk [31788d9a4b] and resolve conflicts. file: [b81ad7f249] check-in: [04c47a8fd6] user: pooryorick branch: trunk-encodingdefaultstrict, size: 120672
2023-04-16
18:30
Merge trunk [91094999d0], resolve conflicts, and make Tcl_UtfToExternalDString strict regarding encoding errors. file: [db71b56c46] check-in: [54f348a1a8] user: pooryorick branch: trunk-encodingdefaultstrict, size: 118589
18:08
Merge 8.7 file: [92fa08be2c] check-in: [d900f1e009] user: jan.nijtmans branch: main, size: 133564
18:07
Remove unneeded ENCODING_UTF flags file: [4160e12675] check-in: [68c6f78bbf] user: jan.nijtmans branch: core-8-branch, size: 131621
17:07
Merge trunk [f868c40053] and resolve conflicts. file: [a949c4a7c8] check-in: [bd3f3d1df2] user: pooryorick branch: trunk-encodingdefaultstrict, size: 118297
16:58
Merge trunk [32c5b5172b]. file: [1c290836f5] check-in: [5d3e57ab8a] user: pooryorick branch: trunk-encodingdefaultstrict, size: 116826
16:23
Merge trunk [355a5e4733] and resolve conflicts and test failures. file: [8d0ce1c9a7] check-in: [67705e7e3c] user: pooryorick branch: trunk-encodingdefaultstrict, size: 116780
14:16
Remove unneeded ENCODING_UTF flags. file: [77dd3d55bc] check-in: [79045efa37] user: pooryorick branch: main, size: 133582
14:05
Merge trunk [f64a19cf62] and resolve conflicts. file: [b4c45bd774] check-in: [d2bdcfb685] user: pooryorick branch: trunk-encodingdefaultstrict, size: 115820
13:48
Merge trunk [7b54fc6784]: Fix for [885c86a9a0]: convertfrom utf8 breaks for 4 byte utf encodings. file: [0399035622] check-in: [6914aa7c63] user: pooryorick branch: trunk-encodingdefaultstrict, size: 115579
13:31
Merge trunk [fc029613d5]. file: [bcb91a790c] check-in: [52b5c9624e] user: pooryorick branch: trunk-encodingdefaultstrict, size: 115604
13:20
Merge trunk [de933019a109d3d6]: Fix for [bd1a60eb9c]: convertfrom utf-8 strict mode allows surrogates in input sequence. file: [db7b6a972f] check-in: [8c8deec5ec] user: pooryorick branch: trunk-encodingdefaultstrict, size: 115330
08:29
Merge trunk [2d036d968c] and resolve issues. file: [1dc397f4aa] check-in: [d4855bec2a] user: pooryorick branch: trunk-encodingdefaultstrict, size: 114657
2023-04-14
15:01
Merge trunk file: [740fc37459] check-in: [e36ab1e9ba] user: apnadkarni branch: tip-660, size: 133638
10:27
Merge 8.7 file: [453b8acf47] check-in: [8b54565968] user: jan.nijtmans branch: tip-656-simpl, size: 130045
07:04
Merge tip-657 file: [07cc7743df] check-in: [6b8e4186b9] user: jan.nijtmans branch: tip-659, size: 131058
2023-04-12
22:41
Merge 9.0 file: [6e284e17bd] check-in: [032889f9a1] user: jan.nijtmans branch: tip-657, size: 131016
14:25
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [4357fe1972] check-in: [d65da06a77] user: pooryorick branch: main, size: 133625
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [ca02bdb154] check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 131682
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: [0ffac36804] check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 108230
2023-04-05
15:57
Merge tip-659 file: [9d06bf460c] check-in: [5546c30d7d] user: jan.nijtmans branch: tip-659, size: 131058
15:56
Merge 9.0 file: [db884f3431] check-in: [3b3d635da5] user: jan.nijtmans branch: tip-657, size: 131016
04:47
Merge 9.0 file: [e00c5c62f9] check-in: [fb8da0d00c] user: apnadkarni branch: tip-660, size: 133638
2023-04-04
22:49
Merge 9.0 file: [ab90f0821d] check-in: [f97a5f67b4] user: jan.nijtmans branch: optional-signed-size, size: 133616
22:47
Fix [6390566ecd]: Testcase cmdAH-4.3.13.00DC0000.tail.utf-32.tcl8.a fails sometimes file: [5c494f58ba] check-in: [b27eacb7fc] user: jan.nijtmans branch: main, size: 133625
22:10
Merge 9.0 file: [245ff7b75a] check-in: [6e9b08b3ea] user: jan.nijtmans branch: optional-signed-size, size: 133460
2023-04-03
20:58
Fix for [fa3d9fd818fa0072], [fcopy $chan1 $chan2 -size $size] is not [puts -nonewline $chan2 [read $chan1 -size $size]. file: [190c352b8b] check-in: [704a7e8389] user: pooryorick branch: bug-fa3d9fd818fa0072, size: 133469
2023-04-02
21:49
Merge 9.0. Add some more utility macro's file: [f57d679001] check-in: [4bedba476d] user: jan.nijtmans branch: optional-signed-size, size: 133509
2023-04-01
10:27
Merge 9.0 file: [bd25b88958] check-in: [4dbed74737] user: jan.nijtmans branch: tip-660, size: 133531
2023-03-31
22:07
Rebase to tip-657 file: [9a3a3583f7] check-in: [8dce12a921] user: jan.nijtmans branch: tip-659, size: 130951
21:02
Rebase to latest trunk. More progress file: [66489e6b27] check-in: [642a10ed40] user: jan.nijtmans branch: optional-signed-size, size: 133814
2023-03-30
22:27
Merge 9.0 file: [f9895bf0f0] check-in: [25dd65ee5c] user: jan.nijtmans branch: tip-657, size: 130909
22:22
Merge 8.7 file: [75588a48fd] check-in: [7c9d2dc7a3] user: jan.nijtmans branch: main, size: 133518
22:02
Merge 8.6 file: [f3c951dd71] check-in: [166e8656a7] user: jan.nijtmans branch: core-8-branch, size: 131682
18:01
TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntu file: [f29d44938b] check-in: [eb81a25271] user: apnadkarni branch: tip-660, size: 133503
2023-03-27
11:35
More (internal) usage of TclGetString() and TclGetStringFromObj() macro's file: [e79a4ed83d] check-in: [86bf13933a] user: jan.nijtmans branch: core-8-branch, size: 131654
2023-03-23
17:51
First shot at TIP #659 implementation. Not complete yet (many parts still missing!!!) file: [952ad20ebf] check-in: [37de4d5695] user: jan.nijtmans branch: tip-659, size: 130923
2023-03-22
15:35
Simplify TIP #656 implementation. This also changes the TCL_ENCODING_PROFILE_* macro's to the same values as in #TIP #657 (so, those changes make no sense before TIP #657 is accepted) file: [5fb484a87c] check-in: [303ca5c8ca] user: jan.nijtmans branch: tip-656-simpl, size: 130018
15:27
Merge 9.0 file: [c44d052370] check-in: [b82838f4d4] user: jan.nijtmans branch: tip-657, size: 130881
12:02
Merge 8.7 file: [ad5232bf70] check-in: [f8d60e395f] user: jan.nijtmans branch: main, size: 133490
11:44
Move (TCL_ENCODING_PROFILE_MASK|GET|SET) from tcl.h to tclIO.h, since those are not public. Some formatting. file: [2138ace328] check-in: [d5cda795aa] user: jan.nijtmans branch: core-8-branch, size: 131655
10:02
Merge 8.7 file: [c3229d01da] check-in: [e1cfef6bfd] user: jan.nijtmans branch: main, size: 133543
09:41
code cleanup: use more *SURROGATE() macro's file: [45fbdb9323] check-in: [6c6c7029c2] user: jan.nijtmans branch: core-8-branch, size: 131685
08:32
Since TCL_ENCODING_PROFILE_DEFAULT == TCL_ENCODING_PROFILE_TCL8 (on Tcl 8), we can simplify. file: [0148f9ce84] check-in: [d0f072219c] user: jan.nijtmans branch: core-8-branch, size: 131782
2023-03-21
17:21
Merge 9.0 file: [8274e9c88f] check-in: [a79744b4af] user: jan.nijtmans branch: tip-657, size: 130988
16:54
Merge 8.7 file: [16617db9df] check-in: [78beedf7e2] user: jan.nijtmans branch: main, size: 133633
16:26
Fix indenting. More use of TCL_INDEX_NONE file: [40e5959820] check-in: [4e6e2301fa] user: jan.nijtmans branch: core-8-branch, size: 132073
2023-03-20
21:06
More TclNewIndexObj() usages (for values between -1 and SIZE_MAX-1) file: [1b2de60701] check-in: [dd8e66c296] user: jan.nijtmans branch: main, size: 134825
14:30
Merge 9.0 file: [2880a8fb74] check-in: [e2d9661cf1] user: jan.nijtmans branch: tip-657, size: 132173
14:19
Merge 8.7 file: [4203726c4f] check-in: [d89991c58b] user: jan.nijtmans branch: main, size: 134832
14:18
Fix [bdcb5126c0]: Failed assertion in test chan-io-7.3 file: [bbd40ea6c2] check-in: [f96ef976ee] user: jan.nijtmans branch: core-8-branch, size: 133448
11:31
Merge 8.7 file: [77c1110055] check-in: [48829d9671] user: jan.nijtmans branch: main, size: 134795
11:29
Fix [d7fd37ebd9]: handling leftover prefix in table encoding file: [fc9689598f] check-in: [a1180af031] user: jan.nijtmans branch: core-8-branch, size: 133411
2023-03-19
21:51
Possible fix for [d7fd37ebd9]: handling leftover prefix in table encoding file: [b8911ec596] check-in: [7a99ab87ac] user: jan.nijtmans branch: bug-d7fd37ebd9, size: 133387
2023-03-18
08:57
Merge 9.0 file: [7e61f57db5] check-in: [d6d28e6cfc] user: jan.nijtmans branch: tip-657, size: 132073
02:59
Merge trunk file: [51191976f7] check-in: [56386248af] user: apnadkarni branch: tip-656-tcl9, size: 134732
2023-03-17
19:43
Merge 8.7 file: [023c46d85f] check-in: [1067a14b93] user: jan.nijtmans branch: tip-656, size: 133348
16:15
Merge 8.7 file: [d7b3b36651] check-in: [5ecd70c8ce] user: jan.nijtmans branch: main, size: 120750
16:12
Fix [6390566ecd]: Testcase cmdAH-4.3.13.00DC0000.tail.utf-32.tcl8.a fails sometimes file: [6dc11e79ef] check-in: [69a4b72885] user: jan.nijtmans branch: core-8-branch, size: 120712
2023-03-14
20:55
Merge tip-656-tcl9 file: [a1708e9c60] check-in: [62b45e81f1] user: jan.nijtmans branch: tip-657, size: 132075
17:23
Merge 9.0. Also fix replace profile handling of orphan surrogates file: [4674eb2eb4] check-in: [69b2949bc8] user: apnadkarni branch: tip-656-tcl9, size: 134734
15:34
Merge 8.7 file: [f619accb04] check-in: [5068abf7d5] user: apnadkarni branch: tip-656, size: 133212
2023-03-13
17:05
Merge tip-656-tcl9. Mark xx-bufferoverflow as knownBug file: [654d7a6211] check-in: [402bc59538] user: jan.nijtmans branch: tip-657, size: 130456
15:59
Merge 8.7: Bug [183a1adcc0]. Buffer overflow in Tcl_UtfToExternal file: [8a8dfa2459] check-in: [5c6fa768fe] user: apnadkarni branch: main, size: 120753
15:34
Merge 8.6: Bug [183a1adcc0]. Buffer overflow in Tcl_UtfToExternal file: [e9e1b0c20b] check-in: [24f607b329] user: apnadkarni branch: core-8-branch, size: 120570
13:44
Bug [183a1adcc0]. Buffer overflow in Tcl_UtfToExternal file: [e89a3e2bc8] check-in: [4785751542] user: apnadkarni branch: core-8-6-branch, size: 108229
2023-03-12
16:37
Backport [6fb14ee3e876978c]. Add testcases file: [48a53fc6a7] check-in: [3a7e4c1c38] user: jan.nijtmans branch: core-8-branch, size: 120172
16:10
Minor bug-fix for utf-32: Only throw exception for codepoints > +U10FFFF if "-strict" is specified. Otherwise replace with 0xFFFD file: [83c364e1a9] check-in: [6fb14ee3e8] user: jan.nijtmans branch: main, size: 120334
13:45
More utf-16 bugfixing file: [33e6989b00] check-in: [44187f1e2f] user: jan.nijtmans branch: tip-657, size: 130487
12:37
Fix [db7a085bd9]: encoding convertfrom -strict utf-16 accepts partial surrogates file: [737c166713] check-in: [8a26d5cf2b] user: jan.nijtmans branch: core-8-branch, size: 120151
12:11
Merge tip-656-tcl9 file: [f047f5883b] check-in: [652ce8648e] user: jan.nijtmans branch: tip-657, size: 130145
12:00
Merge 9.0. Also ckalloc -> Tcl_Alloc and ckfree -> Tcl_Free file: [a063c0abec] check-in: [6320007166] user: jan.nijtmans branch: tip-656-tcl9, size: 132609
2023-03-11
22:00
Proposed fix for [db7a085bd9]: encoding convertfrom -strict utf-16 accepts partial surrogates. TODO: testcases, and implement for 8.7 too file: [792e22c5af] check-in: [3840dcf4c9] user: jan.nijtmans branch: bug-db7a085bd9, size: 120313
21:19
Fix last (hopefully) bugs in utf-16/utf-32 encoders file: [7f250dd2ad] check-in: [c4869d50ae] user: jan.nijtmans branch: tip-657, size: 130143
2023-03-10
16:02
Merge tip-656-tcl9 file: [3784c19089] check-in: [98176465db] user: jan.nijtmans branch: tip-657, size: 130090
15:29
Merged 9.0. Note knownProfileBug constraint which mark questionable tests to be resolved later. file: [428395c644] check-in: [20743e4925] user: apnadkarni branch: tip-656-tcl9, size: 132607
2023-03-09
20:55
Fix cmdAH-4.3.13.00D80000.solo.utf-32le.tcl8.a testcase from tip-656-tcl9 branch, when TCL_UTF_MAX=3 file: [d7875da10f] check-in: [bb76745df2] user: jan.nijtmans branch: main, size: 119589
16:20
Bug-fix for Utf32ToUtfProc, in case TCL_UTF_MAX=3 file: [f7042f2aa2] check-in: [12c63f8c9f] user: jan.nijtmans branch: tip-657, size: 130098
2023-03-07
21:01
Start implementing TIP #657. WIP file: [67b1159c31] check-in: [7d3d6f8f29] user: jan.nijtmans branch: tip-657, size: 129271
2023-03-02
07:46
Merge 8.7 - disable tests on WSL file: [dcc9878098] check-in: [69c6438f23] user: apnadkarni branch: tip-656, size: 132014
06:41
Bug [e778e3f804]. Fix error message for invalid profile name. file: [84c0311d39] check-in: [f9e3e55bb8] user: apnadkarni branch: tip-656, size: 132008
06:29
Bug [e778e3f804]. Fix error message for invalid profile name. file: [c6cb4a2e7e] check-in: [80abdf9c7d] user: apnadkarni branch: tip-656-tcl9, size: 131669
04:35
Cherrypick [13537afd1b] - eliminate TCL_ENCODING_MODIFIED file: [44cf8f176f] check-in: [9c6ee19533] user: apnadkarni branch: tip-656-tcl9, size: 131293
04:16
Eliminate TCL_ENCODING_MODIFIED flag file: [a9419244e8] check-in: [13537afd1b] user: apnadkarni branch: tip-656, size: 131632
2023-03-01
07:19
Merge 9.0 file: [6fefcf929c] check-in: [eb12679c83] user: apnadkarni branch: tip-656-tcl9, size: 131333
2023-02-28
17:16
Cherrypick [070225e33d]. Move setting of profile flags to lower level functions in case they are called directly file: [6a38fae5fb] check-in: [8c48e4cad4] user: apnadkarni branch: tip-656-tcl9, size: 129689
16:58
Merge 9.0 file: [fb28e66d7c] check-in: [689b3f3457] user: jan.nijtmans branch: make-strict-the-default, size: 118040
16:08
Proposed fix for [e778e3f804]: Parsing of "profile" for TIP #656 file: [45c25ec958] check-in: [82377ce539] user: jan.nijtmans branch: bug-e778e3f804, size: 130520
12:25
Move setting of profile in flags parameter to lower level functions in case they are called directly file: [9c68c9c949] check-in: [070225e33d] user: apnadkarni branch: tip-656, size: 131672
11:00
Merge 8.7. And fix Tcl_UtfToExternal()/Tcl_ExternalToUtf() (at least - sufficient for tclZlib.c), such that it now returns an error when src and dst *both* exceed INT_MAX. To be discussed further. file: [fbae814aee] check-in: [91094999d0] user: jan.nijtmans branch: main, size: 118651
2023-02-27
12:31
Fix crash. int->size_t needs +1 in comparisons. file: [24a611be19] check-in: [2ab7a366d5] user: apnadkarni branch: bug-fb368527ae, size: 118359
2023-02-26
16:54
Handle statePtr != NULL as well file: [499ed997b0] check-in: [f6953451f0] user: jan.nijtmans branch: bug-fb368527ae-jn, size: 117180
16:41
Make Tcl_UtfToExternal()/Tcl_ExternalToUtf() report the error, if srcLen and dstLen are both > INT_MAX and therefore not all characters can be handled by this function. file: [37d5a32365] check-in: [d110cdebf8] user: jan.nijtmans branch: bug-fb368527ae-jn, size: 117160
14:27
Merge 9.0. Adapt more test-cases, to see what's remaining file: [160e600618] check-in: [09b3a7a3dd] user: jan.nijtmans branch: make-strict-the-default, size: 116277
12:56
Move the "srcLen -= srcChunkRead;" past the "if ((result != TCL_CONVERT_NOSPACE)..." (where it originally was), since this isn't needed if the loop ends anyway. file: [9c61caaa8a] check-in: [603ae5a10f] user: jan.nijtmans branch: bug-fb368527ae, size: 118355
2023-02-25
16:29
Experimental fix for [fb368527ae] - length truncation file: [7102845a53] check-in: [eb6626d1e6] user: apnadkarni branch: bug-fb368527ae, size: 118358
03:03
Compiles and runs. Tests still to be ported. file: [c58b9bd761] check-in: [c057c79d2b] user: apnadkarni branch: tip-656-tcl9, size: 129204
2023-02-24
10:32
Raise error on invalid flags file: [e494e45983] check-in: [28c0ea5f1b] user: apnadkarni branch: tip-656, size: 131187
09:57
Merge 8.7 file: [52182becf8] check-in: [630e01679f] user: apnadkarni branch: tip-656, size: 130470
08:33
Merge 8.7 file: [a44763d4f9] check-in: [ba4e192f46] user: jan.nijtmans branch: main, size: 116888
08:25
int -> Tcl_Size in tclEncoding.c (making the diff between Tcl 8.7 and 9.0 smaller) file: [2b81a2e19a] check-in: [eb7c2446eb] user: jan.nijtmans branch: core-8-branch, size: 119259
2023-02-23
13:19
New signature for Tcl_ExternalToUtfDStringEx and Tcl_UtfToExternalDStringEx as per TIP 656 file: [0911ce92d5] check-in: [2274d048cf] user: apnadkarni branch: tip-656, size: 130381
12:13
Merge 9.0 file: [510c0f3a87] check-in: [ff27ef80bd] user: jan.nijtmans branch: jan-encoding-profile-for-9.0, size: 117857
11:51
Merge 8.7 file: [f26e3ad245] check-in: [cad1e71ff1] user: jan.nijtmans branch: jan-encoding-profile, size: 120156
11:22
Merge 8.7 file: [6907f19df5] check-in: [8a44af5914] user: apnadkarni branch: tip-656, size: 125612
10:44
See [d19fe0a5b] for follow-up to previous commit file: [8fac6abf5b] check-in: [548b08e28b] user: jan.nijtmans branch: core-8-6-branch, size: 107831
10:22
Fix gcc warnings and encoding error message (bug [40c61a5d10]) file: [5adf20f4d8] check-in: [00b03d47c5] user: apnadkarni branch: tip-656, size: 125082
2023-02-22
21:08
Experiment: Make "strict" the default for 9.0. Some trivial testcases are adapted, but the crucial ones are left as-is. Warning: If your are a supporter of "making -strict the default for 9.0", then this branch is (not) for you. You might be disappointer! file: [0d0ea68359] check-in: [9f3838649f] user: jan.nijtmans branch: make-strict-the-default, size: 116231
20:44
minor bug-fix in utf-16/utf-32: 2 testcases failed in Tcl 9 compatibility mode (-DTCL_NO_DEPRECATED) file: [f7794b52e2] check-in: [90aa5de6f4] user: jan.nijtmans branch: core-8-branch, size: 119141
20:27
Merge 8.7 file: [9118024beb] check-in: [355a5e4733] user: jan.nijtmans branch: main, size: 116842
17:56
Merge 8.6 file: [5e9743c6b2] check-in: [bee7bfb892] user: jan.nijtmans branch: core-8-branch, size: 119022
17:07
port jan-encoding-profile to 9.0 file: [6163a935f2] check-in: [900d53d140] user: jan.nijtmans branch: jan-encoding-profile-for-9.0, size: 116894
16:16
Merge 8.7. Finish implementing "replace" profile. file: [dc9aa729aa] check-in: [1a13658857] user: jan.nijtmans branch: jan-encoding-profile, size: 119154
15:28
Merge 8.7 file: [ef8334d156] check-in: [bcda8d12a6] user: apnadkarni branch: tip-656, size: 125076
07:48
Merge 8.7 file: [a8a47432ba] check-in: [f64a19cf62] user: jan.nijtmans branch: main, size: 115882
2023-02-21
17:50
Proposed fix for [d19fe0a5b]: Handling incomplete byte sequences for utf-16/utf-32 file: [60c8a99e62] check-in: [be99e0b905] user: jan.nijtmans branch: bug-d19fe0a5b, size: 107897
2023-02-20
15:41
Fix replace profile handling of truncated surrogates file: [5ace4988bc] check-in: [ec79741748] user: apnadkarni branch: tip-656, size: 124807
2023-02-19
21:46
Experiment: Make "strict" the default for 9.0. Some trivial testcases are adapted, but the crucial ones are left as-is. Warning: If your are a supporter of "making -strict the default for 9.0", then this branch is (not) for you. You might be disappointer! file: [87d8758e15] check-in: [0a3ee3a1da] user: jan.nijtmans branch: make-strict-the-default, size: 115156
11:41
Proposed fix for [5607d6482c]: strict ucs-2 never implemented (TIP #346/#656) file: [e59fdde975] check-in: [df48a23e38] user: jan.nijtmans branch: bug-5607d6482c, size: 118142
2023-02-18
17:41
Minor refactoring/fixes after merge file: [14a8e5f3a3] check-in: [29d3eb105e] user: apnadkarni branch: tip-656, size: 123886
17:34
Merge 8.7 to pick up UTF-8 encoding fix file: [3661f07ffe] check-in: [fcec414fdd] user: apnadkarni branch: tip-656, size: 124567
2023-02-17
19:15
Merge 8.7 file: [4650875d9f] check-in: [7b54fc6784] user: jan.nijtmans branch: main, size: 115683
18:59
Part way through utf-8 test equivalence classes file: [53fab05c62] check-in: [e49afef9c2] user: apnadkarni branch: tip-656, size: 124408
11:08
Merge 8.7 file: [11ea4035b8] check-in: [72c58dedd0] user: apnadkarni branch: tip-656, size: 124474
2023-02-16
21:50
complete fix file: [73d52e4b8f] check-in: [5627ae0620] user: jan.nijtmans branch: bug-885c86a9a0, size: 117943
21:41
Merge 8.7 file: [0b189798f4] check-in: [15d52abd32] user: jan.nijtmans branch: bug-885c86a9a0, size: 117945
21:14
Merge 8.7 file: [c801acdf44] check-in: [6ca5a8a9cd] user: jan.nijtmans branch: main, size: 115708
21:03
Fix [5e6ae6e05e]: Implement -strict correctly for cesu-8 file: [45525b469e] check-in: [345299048d] user: jan.nijtmans branch: core-8-branch, size: 117968
17:15
Bit more work on encoding test framework. Long way to go. file: [b2c98bdd7f] check-in: [c1c5993bd7] user: apnadkarni branch: tip-656, size: 124416
16:59
Fix [5e6ae6e05e]: Implement -strict correctly for cesu-8 file: [9dea8a363b] check-in: [28c65c306c] user: jan.nijtmans branch: bug-5e6ae6e05e, size: 117900
07:59
Try to fix [885c86a9a0]. Doesn't work completely yet. file: [0d8fb4a781] check-in: [75fea0971f] user: jan.nijtmans branch: bug-885c86a9a0, size: 117664
2023-02-15
20:26
Fix for [33ab6d08eb]: Inconsistent behavior with encoding convertfrom -failindex file: [ca6e52966b] check-in: [e13da3659a] user: jan.nijtmans branch: bug-33ab6d08eb, size: 117719
17:27
Start on expanding encoding tests file: [3499123eee] check-in: [8f3685d3bc] user: apnadkarni branch: tip-656, size: 124327
08:07
Merge 8.7 file: [b52fb55d64] check-in: [fe54733688] user: jan.nijtmans branch: jan-encoding-profile, size: 118895
07:21
Ticket [10c2c17c32] follow-up. One output char too much with -failindex. file: [e5a3f116da] check-in: [6349e0c2e1] user: jan.nijtmans branch: core-8-branch, size: 117687
05:24
Merge 8.7 file: [627f74799e] check-in: [d4772edf05] user: apnadkarni branch: tip-656, size: 124603
2023-02-14
22:06
Merge 8.7 file: [05cb2e193f] check-in: [de933019a1] user: jan.nijtmans branch: main, size: 115427
20:50
Complete fix for [bd1a60eb9c]. Also fix a bug in the tableencoding. With testcases. file: [6fc43e64a0] check-in: [c58db5881e] user: jan.nijtmans branch: bug-bd1a60eb9c, size: 117677
11:56
Remove obsolete comment file: [2c6cf6e2ad] check-in: [9d5516a4e9] user: apnadkarni branch: tip-656, size: 123717
11:37
Bug [bd1a60eb9c]. Eliminate TCL_ENCODING_UTF. file: [edfa1767b9] check-in: [8dc5e620ee] user: apnadkarni branch: apn-encoding-profile, size: 123790
07:29
Make a start fixing [bd1a60eb9c]. WIP file: [6cc2bfc954] check-in: [15fba8ddec] user: jan.nijtmans branch: bug-bd1a60eb9c, size: 117449
2023-02-13
14:06
merge 8.7 file: [4bb3b51208] check-in: [49849c85bb] user: dgp branch: core-8-7-b1-rc, size: 117432
10:12
Merge 8.7. Mark (new) testcase encoding-16.15 as "knownBug": still needs a fix. file: [c7863ef8f7] check-in: [a155df4adc] user: jan.nijtmans branch: main, size: 115176
2023-02-12
17:34
Tentative fix for [bd1a60eb9] - surrogates in strict utf-8 file: [93fd828130] check-in: [ea2d05b48b] user: apnadkarni branch: apn-encoding-profile, size: 123930
16:56
Minor fixes and tests file: [5e922e5571] check-in: [92345e0520] user: apnadkarni branch: apn-encoding-profile, size: 123724
11:04
Added 'encoding profiles' file: [0fdf7b7d0f] check-in: [170b5d76f2] user: apnadkarni branch: apn-encoding-profile, size: 123717
06:15
Minor readability changes file: [b5ad0d11b6] check-in: [7fe70a05cf] user: apnadkarni branch: apn-encoding-profile, size: 123001
2023-02-11
17:38
Partial implementation of replace profile file: [9fb18b2f2c] check-in: [7dc2095f6a] user: apnadkarni branch: apn-encoding-profile, size: 122025
01:51
Eliminate TCL_ENCODING_{STRICT,NOCOMPLAIN} file: [e1e4a8a9ab] check-in: [7a9d0fe95b] user: apnadkarni branch: apn-encoding-profile, size: 119628
2023-02-10
17:07
Phase out (almost) STRICT and NOCOMPLAIN flags. file: [575a222eb8] check-in: [4a2770b48e] user: apnadkarni branch: apn-encoding-profile, size: 120443
2023-02-09
19:52
Add 4 more testcases, showing that the same bug is present in utf-16 as well. Also fix the bug (really, now!) file: [578f90f1a7] check-in: [0ecd1a4f6d] user: jan.nijtmans branch: bug-10c2c17c32, size: 117426
17:04
Modify encoding C API to use profiles (in progress) file: [d61ea66e95] check-in: [f1ce788bea] user: apnadkarni branch: apn-encoding-profile, size: 119434
06:56
Merge bug-10c2c17c32 file: [9122c967de] check-in: [4da904da4b] user: apnadkarni branch: apn-encoding-profile, size: 117559
2023-02-07
17:10
Merge core-8-branch file: [568ddebf11] check-in: [51dd9f7cd1] user: apnadkarni branch: apn-encoding-profile, size: 117416
2023-02-06
22:43
Proposed fix for [10c2c17c32]: UTF-LE32 encoder mapping of surrogates. TODO: testcase file: [bc3c4f77dc] check-in: [0bb13aadb6] user: jan.nijtmans branch: bug-10c2c17c32, size: 116337
16:03
Make last test-cases pass file: [9d20ceb539] check-in: [d2898d5045] user: jan.nijtmans branch: jan-encoding-profile, size: 117402
2023-02-03
22:15
Fix for [b8f575aa2398b0e4] and [154ed7ce564a7b4c], double-[read]/[gets] problem. Partial-read functionality commented out.

jn: First, see broken build here. Second: Moving this to core-8-branch is getting TIP #653 into 8.7 without being voted upon. It's simply not ready.

pooryorick: That second statement is false. The parts of this fix that implement TIP #653 are specifically commented out. file: [da3fc82e1f] check-in: [104b05b17c] user: pooryorick branch: py-b8f575aa23-nopartial, size: 116200

2023-02-02
15:37
Change encoding error options to fconfigure to encoding profiles file: [aca5267ec2] check-in: [2127d4e684] user: apnadkarni branch: apn-encoding-profile, size: 117410
11:52
Replace encoding -strict etc. with -profile file: [c53eb9b8ce] check-in: [1b0fb9616a] user: apnadkarni branch: apn-encoding-profile, size: 117135
2023-02-01
07:32
(cherry-pick) Make Tcl_UniCharToUtf more readable and add test to exercise surrogate handling. file: [9a9b340fa9] check-in: [f4c704bc57] user: jan.nijtmans branch: core-8-branch, size: 116194
07:29
(Cherry-pick) Make Tcl_UniCharToUtf more readable. file: [feca76128a] check-in: [b4571ae045] user: jan.nijtmans branch: core-8-6-branch, size: 107365
2023-01-31
23:04
Make Tcl_UniCharToUtf more readable and add test to exercise surrogate handling. file: [ae9878361a] check-in: [fcdc24c850] user: pooryorick branch: main, size: 114757
2023-01-28
20:50
Another situation where TCL_COMBINE handling gives a strange result (utf-32 encoder) file: [478f561348] check-in: [fb44cd608e] user: jan.nijtmans branch: main, size: 114760
2023-01-25
19:56
Test TableFromUtfProc() with strict handling of encoding errors. file: [6689f6a15d] check-in: [90523c053f] user: pooryorick branch: trunk-encodingdefaultstrict, size: 114528
02:52
Test TableFromUtfProc() with strict handling of encoding errors. file: [a65c370a85] check-in: [c2243f4740] user: pooryorick branch: TableFromUtfProc-test, size: 116102
00:34
Merge trunk. file: [14400e8369] check-in: [bc59d060c6] user: pooryorick branch: trunk-encodingdefaultstrict, size: 114567
2023-01-22
23:35
Merge 8.7 file: [f72b617573] check-in: [57baf6fc1f] user: jan.nijtmans branch: main, size: 114661
2023-01-19
17:01
New proposal: Allow "-strict" immediately before or after "-failindex var". file: [80726408ae] check-in: [86893e2b40] user: jan.nijtmans branch: bug-a31caff057, size: 116197
15:00
Merge 8.7 file: [c74bbcc918] check-in: [1f4c5e2fa0] user: jan.nijtmans branch: main, size: 114564
2023-01-18
13:26
Forget about TCL_ENCODING_HACK_FLAG, this should be the fix. Testing ... file: [8c181a199c] check-in: [b28ea6a330] user: jan.nijtmans branch: bug-370b1ff03e, size: 116100
2023-01-17
14:15
Use TCL_ENCODING_HACK_FLAG in TableFromUtfProc too file: [209d5888ca] check-in: [f73d5fc7ec] user: jan.nijtmans branch: bug-370b1ff03e, size: 116215
2023-01-16
13:10
New flag TCL_ENCODING_HACK_FLAG to control the behaviour. (This is NOT the way to do it, but it's only meant for experimenting) file: [7bdf175476] check-in: [b8201a96c4] user: jan.nijtmans branch: bug-370b1ff03e, size: 116177
2023-01-08
22:47
Fix for 370b1ff03e. Not complete/correct yet, since this backouts the fix for [4dbfa46caa] file: [cf7d9de91f] check-in: [522899ab24] user: jan.nijtmans branch: bug-370b1ff03e, size: 116061
2022-12-31
00:44
Merge py-b8f575aa23. file: [f91db6d5cc] check-in: [a69aa709b5] user: pooryorick branch: trunk-encodingdefaultstrict, size: 114502
2022-12-30
20:27
Fix DoReadChars() to correctly discard encoding errors after eofchar has been seen, and add new test, io-75.8.invalid. file: [85721f6616] check-in: [4888129681] user: pooryorick branch: py-b8f575aa23, size: 116159
2022-12-28
23:35
Unify TCL_ENCODING_STRICT and TCL_ENCODING_NOCOMPLAIN, and make strict encoding conformance the default everywhere. file: [36ef18898a] check-in: [8252783124] user: pooryorick branch: trunk-encodingdefaultstrict, size: 114482
2022-12-20
09:42
Merge 8.7 file: [71c29d447b] check-in: [3373ed5ad9] user: jan.nijtmans branch: main, size: 114603
2022-12-19
22:19
Remove all checks for noncharacters file: [e6787c4588] check-in: [cbaa5e7016] user: jan.nijtmans branch: bug-17a1cb8d6e, size: 116139
2022-12-16
10:25
Merge 8.7 file: [d54938029f] check-in: [67c049ff94] user: jan.nijtmans branch: main, size: 114876
10:23
Addendum to TIP #601. Add check for characters > U+10FFFF in utf-32. Since utf-8 cannot handle that, either replace it with the replacement character (-nocomplain) or throw an exception (-strict). file: [a296ca16cf] check-in: [fba994208a] user: jan.nijtmans branch: core-8-branch, size: 116412
09:50
Merge 8.7 file: [f66f51d78b] check-in: [0c95140726] user: jan.nijtmans branch: main, size: 114867
2022-12-15
23:59
Make -strict work the same for UTF-16 as for UTF-8 file: [419b9067bf] check-in: [88dc84d004] user: jan.nijtmans branch: strict-for-utf16, size: 116403
2022-11-30
22:05
Merge 9.0. Rename TclObjTypeHasProc to ABSTRACTLIST_PROC file: [aa3c13df72] check-in: [a27cec2896] user: jan.nijtmans branch: tip-636-tcl9-644, size: 114518
21:46
Merge 8.7 file: [fa1fde5ad2] check-in: [f99507c86f] user: jan.nijtmans branch: main, size: 114534
21:16
Let Tcl_GetEncodingNulLength() return size_t on 9.0, for consisancy with other API's. No change on 8.7 file: [66bd59675a] check-in: [198a2064b5] user: jan.nijtmans branch: core-8-branch, size: 116070
11:13
Merge 9.0 file: [ff2e66ce1a] check-in: [a1e6d1c451] user: jan.nijtmans branch: tip-636-tcl9-644, size: 114480
11:11
Merge 8.7. This also fixes [133456085a] file: [3e1e7bd90c] check-in: [64badf1d02] user: jan.nijtmans branch: main, size: 114496
2022-11-29
14:51
Proposed fix for [084ab982fe]: Use -strict to disable noncharacters file: [246bc40c9d] check-in: [ec0c7045df] user: jan.nijtmans branch: rfe-084ab982fe, size: 116038
2022-11-24
21:48
TCL_OBJTYPE_V0_INIT -> TCL_OBJTYPE_V0 (See TIP #644). Remove Tcl_SavedResult (See TIP #640) file: [f89a53bd5c] check-in: [ca003bccb7] user: jan.nijtmans branch: tip-636-tcl9-644, size: 114142
03:32
Sync with trunk file: [0e5ffbcea4] check-in: [3c349bb440] user: griffin branch: tip-636-tcl9-644, size: 114147
01:18
Support multiple indicies in abstract list lindex operation. Catch up with trunk. file: [ae49963928] check-in: [cf418732cb] user: griffin branch: tip-636-tcl9-644, size: 113989
2022-11-23
00:09
Merge 8.7 file: [5f5c98762c] check-in: [3033bfee19] user: jan.nijtmans branch: main, size: 114158
2022-11-22
22:25
Better -strict checking, with testcases file: [ac4a69780a] check-in: [3670fd8a19] user: jan.nijtmans branch: bug-6978c01b65, size: 115700
2022-11-21
22:01
Merge 8.7. More utf-8 checks with --strict file: [280036427e] check-in: [11743d6614] user: jan.nijtmans branch: bug-6978c01b65, size: 115655
2022-11-09
17:15
No trailing ',' file: [6522a7de5a] check-in: [dd2e2c844d] user: jan.nijtmans branch: tip-644, size: 114000
13:45
Merge trunk. Also update Tcl_ObjType.version to match TIP 644 file: [558c028aa0] check-in: [67db36998a] user: apnadkarni branch: tip-644, size: 114001
2022-11-04
22:47
Implement abstractlist with tip-644 file: [3d4d463b14] check-in: [3aa22fe8ab] user: griffin branch: tip-636-tcl9-644, size: 113988
2022-11-01
08:28
rebase to latest trunk file: [3816ff26d1] check-in: [14166645c7] user: jan.nijtmans branch: tip-644-alt, size: 113988
08:26
Don't bother to provide a TCL_OBJTYPE_SIZE macro file: [f7b179014b] check-in: [04e8efd4ac] user: jan.nijtmans branch: tip-644-alt, size: 113448
2022-10-24
11:47
Another possible approach file: [3dd27865e6] check-in: [dc7f554cb0] user: jan.nijtmans branch: tip-644-alt, size: 113463
2022-10-23
00:01
Merge 8.7 file: [f887fc5165] check-in: [e8d1647a71] user: jan.nijtmans branch: main, size: 113963
2022-10-11
16:45
Merge 9.0 file: [36ad921833] check-in: [02099b9569] user: apnadkarni branch: tip-644, size: 113461
15:48
Make TCL_ENCODING_STRICT and TCL_ENCODING_NOCOMPLAIN work independant from each other (suggested by Harald Oehlmann) file: [01ba69152e] check-in: [ac64a022e6] user: jan.nijtmans branch: main, size: 113423
15:07
TIP 644 - Make Tcl_ObjType extensible file: [f4f768cbc3] check-in: [6d1d103cf6] user: apnadkarni branch: tip-644, size: 113483
2022-10-09
18:11
TIP 643 code. Docs, tests pending file: [876c920336] check-in: [97ed01793e] user: apnadkarni branch: tip-643, size: 115542
2022-10-08
15:43
Merge 8.7 file: [45b5932ffb] check-in: [58f6cbaca1] user: jan.nijtmans branch: main, size: 113445
14:46
TIP #346: Error on Failed String Encodings file: [8e369510f6] check-in: [a106c26dd5] user: jan.nijtmans branch: core-8-branch, size: 115002
2022-09-21
17:50
merge [trunk] file: [6fef23fbf6] check-in: [ab16261020] user: bch branch: bch_sign_and_width, size: 113420
2022-09-16
13:44
Add testcases, and fix a bug found by it file: [297923a5f9] check-in: [7929b90bea] user: jan.nijtmans branch: tip-346, size: 115079
2022-09-12
20:41
Start TIP #346 implementation: For now only \xC0\x80 file: [2024c68912] check-in: [397f29b1bd] user: jan.nijtmans branch: tip-346, size: 114984
2022-06-09
20:25
Merge 9.0 file: [3a268f30b7] check-in: [631cce8656] user: jan.nijtmans branch: tip-619, size: 113415
2022-05-17
16:27
Merge 9.0 file: [462963abfe] check-in: [bc06da9fc7] user: jan.nijtmans branch: tip-619, size: 113381
13:27
Merge 9.0 file: [c036d3e762] check-in: [e563372259] user: jan.nijtmans branch: tip-616, size: 113366
11:17
Merge 8.7 file: [fd29af0111] check-in: [74c6a378ca] user: jan.nijtmans branch: main, size: 113332
09:32
Rename macro's TclListObjGetElements -> TclListObjGetElementsM and TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616) file: [aaa3136b88] check-in: [eaf93525a5] user: jan.nijtmans branch: core-8-branch, size: 114775
2022-04-20
20:24
merge [trunk] file: [1c6d222ef4] check-in: [3550542d19] user: bch branch: bch_sign_and_width, size: 113331
2022-03-29
22:17
Merge 9.0. Fix CONTINUATION macro, and testcases file: [0b5a6f21c1] check-in: [38c85a4afd] user: jan.nijtmans branch: tip-619, size: 113375
2022-03-22
15:53
Merge 8.7 file: [68480d50b8] check-in: [0f9f9fb1e6] user: jan.nijtmans branch: full-utf-for-87, size: 114768
2022-03-21
14:19
Merge 9.0 file: [8e938589bf] check-in: [d5e4d34abb] user: jan.nijtmans branch: tip-616, size: 113360
11:57
Merge 8.7 file: [4158fea71b] check-in: [09bc9a1e28] user: jan.nijtmans branch: main, size: 113326
2022-03-20
23:14
Merge 8.7, and fix the bug file: [76c7e61cf8] check-in: [a9013de8ad] user: jan.nijtmans branch: bug-4dbfa46caa, size: 114769
21:33
Merge 8.7 Fix Tcl_UtfToExternalDString/Tcl_ExternalToUtfDString to use the right flag value (TCL_ENCODING_NOCOMPLAIN) as default. Change Tcl_UtfToExternalDString/Tcl_ExternalToUtfDString to be a macro file: [33293d979b] check-in: [d5909b1f12] user: jan.nijtmans branch: main, size: 113252
20:41
TIP #601 minor improvement: Use 'int' type, so we can use TCL_INDEX_NONE to test for errors in Tcl_UtfToExternalDStringEx/Tcl_ExternalToUtfDStringEx file: [f0f68da439] check-in: [a0c063f093] user: jan.nijtmans branch: core-8-branch, size: 114691
2022-03-18
11:18
Merge 9.0 file: [6733b91ba8] check-in: [43e035eb1e] user: jan.nijtmans branch: tip-619, size: 113194
11:08
Merge 9.0 file: [81264e247d] check-in: [f0d0d1ae2c] user: jan.nijtmans branch: tip-616, size: 113179
2022-03-17
16:55
Eliminate usage of TCL_ENCODING_STOPONERROR flag, since in Tcl 9.0 is has no meaning any more file: [9dab842e2a] check-in: [511ea65183] user: jan.nijtmans branch: main, size: 113145
13:44
Merge 9.0 file: [62c921068c] check-in: [8707b51282] user: jan.nijtmans branch: tip-616, size: 113369
11:37
Merge 8.7 file: [226b3ecf99] check-in: [1555f0596f] user: jan.nijtmans branch: main, size: 113335
2022-03-16
23:08
Handle Tcl_UtfAtIndex file: [328b017f8e] check-in: [4d35f48f7c] user: jan.nijtmans branch: full-utf-for-87, size: 111303
2022-03-14
18:06
TIP605 encoding failindex: prepare TCL 9.0 main branch with branch "encodings-with-flags" merged. file: [164a8d6500] check-in: [c8fc04b93b] user: oehhar branch: tip607-encoding-failindex, size: 113310
2022-03-08
22:26
initial work at using signed-storage for cases where values can actually be signed. file: [db2e4f5d03] check-in: [5030ee02cf] user: bch branch: bch_sign_and_width, size: 109968
2022-03-05
21:56
-nothrow -> -nocomplain file: [d70ba1a2bf] check-in: [b3471f0625] user: jan.nijtmans branch: encodings-with-flags, size: 114651
2022-03-04
16:21
Merge 8.7 file: [830791bced] check-in: [791cc676b8] user: jan.nijtmans branch: encodings-with-flags, size: 114645
2022-03-03
13:05
TIP #619 implementation. tests not working yet file: [2a06f21c0d] check-in: [e791d2994c] user: jan.nijtmans branch: tip-619, size: 110012
2022-03-01
13:34
More progress file: [f07e6dc7d6] check-in: [4b7b34af76] user: jan.nijtmans branch: tip-616-experiment, size: 109971
2022-02-24
22:35
Merge 9.0 file: [e91bd55256] check-in: [bb8e96bb20] user: jan.nijtmans branch: tip-616, size: 109997
22:31
Merge 8.7 file: [5902768d8e] check-in: [56e377a7ea] user: jan.nijtmans branch: main, size: 109963
22:13
Consistancy in TCL_UTF_MAX check file: [75b40e58cb] check-in: [31da6923f7] user: jan.nijtmans branch: core-8-branch, size: 111304
2022-02-11
15:34
Merge 8.7 file: [eb00ae67f8] check-in: [b492dbc27a] user: jan.nijtmans branch: encodings-with-flags, size: 114649
2022-02-10
09:45
Merge 8.7 file: [224c3b5fb3] check-in: [d7e83e77e8] user: jan.nijtmans branch: main, size: 109967
09:37
Merge 8.6 file: [943fe90945] check-in: [c03b7afd75] user: jan.nijtmans branch: core-8-branch, size: 111308
09:26
Use TclListObjLength/TclListObjGetElements in stead of Tcl_ListObjLength/Tcl_ListObjGetElements everywhere. This is slightly more efficient if the refered list already has the correct type file: [37c7eeaff4] check-in: [30cd3187fc] user: jan.nijtmans branch: core-8-6-branch, size: 107368
08:42
Same with TclListObjGetElements file: [7d869d1883] check-in: [5f2ed67ee3] user: jan.nijtmans branch: tip-616, size: 110001
08:34
Tcl_ListObjLength -> TclListObjLength file: [9f45b9440d] check-in: [8186be0b8d] user: jan.nijtmans branch: tip-616, size: 110003
2022-01-27
15:15
More progress file: [0edd2603c2] check-in: [22b7c31f21] user: jan.nijtmans branch: tip-616, size: 110007
2022-01-24
20:54
More work in progress file: [eda24738b6] check-in: [e2382fa2c9] user: jan.nijtmans branch: tip-616, size: 109976
08:18
TIP #616: Tcl lists > 2^31 elements. WIP file: [889a08aa96] check-in: [ff0a9cf127] user: jan.nijtmans branch: tip-616, size: 109973
2022-01-17
16:44
Tcl_NewObj() -> TclNewObj() file: [78522eef94] check-in: [df30948549] user: jan.nijtmans branch: core-8-6-branch, size: 107375
2022-01-15
17:07
Merge 8.7 file: [eaae169d3a] check-in: [e3af0e7eda] user: jan.nijtmans branch: encodings-with-flags, size: 114656
17:03
Merge 8.7 file: [242c1198e4] check-in: [508fa273a3] user: jan.nijtmans branch: main, size: 109973
2022-01-14
22:34
Proposed fix for [6474fbd934]: Tcl 8.7a5: why utf-8 is different? file: [f9afa8d5c5] check-in: [c4a89ec75d] user: jan.nijtmans branch: bug-6474fbd934, size: 111315
2021-11-26
16:26
Merge 8.7 file: [9ecb7c752f] check-in: [9ec42aad09] user: jan.nijtmans branch: encodings-with-flags, size: 114726
2021-11-08
23:13
Merge 8.7 file: [f645e4229e] check-in: [b52fe067d5] user: jan.nijtmans branch: encodings-with-flags, size: 114676
23:11
Merge 8.7 file: [e49bee69ec] check-in: [9c459140af] user: jan.nijtmans branch: build-info, size: 111385
2021-10-20
20:29
Merge 8.7 file: [37f8fddeb0] check-in: [9836cc0e45] user: jan.nijtmans branch: main, size: 110043
20:27
Code cleanup (comments, bracing) file: [5b90d48a38] check-in: [61af2fd4ba] user: jan.nijtmans branch: core-8-branch, size: 111335
2021-10-19
14:42
IntRep -> InternalRep. Internal changes only. file: [8a7ad65b6c] check-in: [40343f5fb6] user: jan.nijtmans branch: core-8-6-branch, size: 107355
2021-10-18
11:57
Merge 8.7. Remove -stoponerror option file: [c9bb24b3dc] check-in: [8ab21b9453] user: jan.nijtmans branch: encodings-with-flags, size: 114716
07:51
Merge 8.7 file: [2d43a54e9a] check-in: [aeabe9cded] user: jan.nijtmans branch: build-info, size: 111425
2021-10-15
15:02
Merge 8.7 file: [5ae7f527f7] check-in: [4994954504] user: jan.nijtmans branch: main, size: 110083
2021-10-14
14:32
Code/Comment cleanup file: [8e9ce0c594] check-in: [24f2ef3933] user: jan.nijtmans branch: rfe-cef426ff2c, size: 111375
2021-10-13
13:51
Oops file: [58547fa06c] check-in: [a052776081] user: jan.nijtmans branch: rfe-cef426ff2c, size: 111363
13:33
First shot at [cef426ff2c]: Encoding UTF-32 missing file: [69d0ea4094] check-in: [23f539bd7c] user: jan.nijtmans branch: rfe-cef426ff2c, size: 111366
2021-10-08
08:40
Merge 8.7 file: [c0769d4655] check-in: [916029c89c] user: jan.nijtmans branch: main, size: 103824
2021-10-06
19:33
Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing list file: [ad732403f3] check-in: [0509fa5750] user: jan.nijtmans branch: internalrep, size: 105149
2021-06-25
14:03
Merge 8.7 file: [accda416bb] check-in: [aa4e6f4d4f] user: jan.nijtmans branch: build-info, size: 105104
2021-06-23
13:27
Merge 8.7 file: [cdf6f95346] check-in: [35802e0175] user: jan.nijtmans branch: encodings-with-flags, size: 108416
2021-06-21
10:31
Merge 8.7 file: [2cad828fcf] check-in: [231cbe3939] user: jan.nijtmans branch: main, size: 103741
09:29
Fix [048dd20b4171c8da]: cesu-8 encoding fails on \u80 file: [07bf080a81] check-in: [0c93c6f969] user: jan.nijtmans branch: core-8-branch, size: 105054
2021-05-26
13:23
Merge 8.7 and doc fix file: [15f06516c0] check-in: [70cb984279] user: jan.nijtmans branch: encodings-with-flags, size: 108400
10:28
Merge 8.7. Add "ilp32" build flag file: [1ea1eacdf4] check-in: [7322bead42] user: jan.nijtmans branch: build-info, size: 105088
08:36
Add underscores in flag names file: [4fc81323fe] check-in: [9429aa4fc2] user: jan.nijtmans branch: encodings-with-flags, size: 108505
06:44
TIP601 encoding stoponerror: document Tcl_ExternalToUtfDStringEx and Tcl_ExternalToUtfDStringEx file: [25efe2e00b] check-in: [0b1c7bf998] user: oehhar branch: encodings-with-flags, size: 108493
2021-05-07
13:55
Double definition of TCL_ENCODING_MODIFIED and another doc fix file: [e9f4e75a53] check-in: [e14cbcd08a] user: jan.nijtmans branch: encodings-with-flags, size: 106275
2021-04-30
11:10
TIP #596: Stubs support for Embedding Tcl in other applications file: [4b3fe2e7a2] check-in: [8a5f4d238e] user: jan.nijtmans branch: main, size: 103725
08:49
Merge 8.7. Remove "string bytelength" completely. Also fix some TIP #595 leftover testcases, which were skipped file: [98f3051b1a] check-in: [ef90dfbe67] user: jan.nijtmans branch: main, size: 103675
2021-04-29
09:48
Merge TIP #597 file: [0efdfe17ba] check-in: [9fa2135ed4] user: jan.nijtmans branch: encodings-with-flags, size: 106351
2021-04-28
15:53
Merge 8.7 Signature change for Tcl_SetPanicProc() and Tcl_FindExecutable() file: [a521c52eab] check-in: [fa99536a31] user: jan.nijtmans branch: build-info, size: 103862
2021-04-17
23:26
Use C enums instead of clusters of #defines file: [c72ecb458e] check-in: [9cc837d642] user: dkf branch: enum, size: 103879
2021-04-16
20:34
Remove wtf-8/wtf-16/tcl-8 encodings file: [455d2c7fc2] check-in: [90a58c74b0] user: jan.nijtmans branch: tip-597, size: 105038
2021-04-13
07:23
Merge tip-597 file: [de5d02c846] check-in: [68ace89f26] user: jan.nijtmans branch: encodings-with-flags, size: 107238
2021-04-12
19:10
More bits and pieces file: [9c83a58cdc] check-in: [0ea6e3ab0e] user: dkf branch: enum-and-inline, size: 103846
2021-04-08
11:14
Add "tcl-8" encoding file: [6a1b7e2ee6] check-in: [d3a806c367] user: jan.nijtmans branch: tip-597, size: 105925
2021-04-07
16:47
Use a lot more enums and inline funcs instead of macros; behaviour is more predictable. file: [ece27c7cf6] check-in: [03219f19f4] user: dkf branch: enum-and-inline, size: 103820
2021-04-02
08:36
Merge 9.0. Tcl_StaticPackage -> Tcl_StaticLibrary file: [a8e9fb95db] check-in: [9ab56c97fa] user: jan.nijtmans branch: rfe-854941, size: 102499
2021-04-01
13:50
Add experimental "-nothrow" option to encoding convertfrom|convertto. If compiled with -DTCL_NO_DEPRECATED (meant for Tcl 9.0), -stoponerror is the default for all IO file: [739ce9bb59] check-in: [51eca49713] user: jan.nijtmans branch: encodings-with-flags, size: 107086
10:39
Merge tip-597 file: [96c9999a16] check-in: [4ac467590e] user: jan.nijtmans branch: encodings-with-flags, size: 107120
10:34
Merge 8.7 file: [ce2f3a2345] check-in: [dcd437c29e] user: jan.nijtmans branch: tip-597, size: 105773
10:23
Merge 8.7 file: [01ec039c00] check-in: [a1336b26e8] user: jan.nijtmans branch: main, size: 102449
10:19
Merge 8.6 file: [2ae7cc1f99] check-in: [22bcb882ad] user: jan.nijtmans branch: core-8-branch, size: 103812
09:47
Follow-up to [15c7b4f93e]: "Implement TCL_ENCODING_STOPONERROR flag for UtfToUtf encoder/decoder". Only do this check when pureNullMode == 0, otherwise we violate EIAS. file: [7d3e748cd1] check-in: [b3f17adda1] user: jan.nijtmans branch: core-8-6-branch, size: 107310
09:10
More bugfixes (and testcases showing this) file: [1816b3a745] check-in: [caa5be016d] user: jan.nijtmans branch: encodings-with-flags, size: 107049
2021-03-31
11:37
Merge 9.0 file: [6c6043a3f6] check-in: [23b70c06e1] user: jan.nijtmans branch: rfe-854941, size: 101942
06:45
Merge tip-597 file: [ecf98340f5] check-in: [31bf0d2f55] user: jan.nijtmans branch: encodings-with-flags, size: 106878
06:40
Re-use TCL_ENCODING_MODIFIED flag value for TCL_ENCODING_LE too, since they are used for different encoders. file: [e842cafb4c] check-in: [cfe556d30b] user: jan.nijtmans branch: tip-597, size: 105596
2021-03-30
14:14
Bugfix (backported from encodings-with-flags branch): Use correct byte/char positions in error-situation file: [5de93bbdc2] check-in: [99c68a83ec] user: jan.nijtmans branch: tip-597, size: 105333
14:04
Merge tip-597. More testcases file: [1e1efe78d3] check-in: [62626792f7] user: jan.nijtmans branch: encodings-with-flags, size: 106615
11:26
Add documentation. Do a better job of counting exactly which byte/character caused the encoding/decoding error file: [346b383c04] check-in: [00262b5f84] user: jan.nijtmans branch: encodings-with-flags, size: 104536
10:07
Merge 8.7 file: [b5faf64098] check-in: [36f8840863] user: jan.nijtmans branch: encodings-with-flags, size: 104463
09:01
Merge 8.7 file: [ffdc27d551] check-in: [e05954190f] user: jan.nijtmans branch: tip-597, size: 105242
07:46
Merge 8.7 file: [df520aff3b] check-in: [cdacf07503] user: jan.nijtmans branch: main, size: 101892
07:11
Thanks to TIP #587, convert many escapes in the testcases into the actual (UTF-8) character. file: [6363a86fbf] check-in: [b1f60d79e9] user: jan.nijtmans branch: core-8-branch, size: 103255
06:10
remove useless save/restore file: [bd6112e6ba] check-in: [f4176a3833] user: jan.nijtmans branch: core-8-6-branch, size: 107254
2021-03-29
09:51
Finish CESU-8 encoder/decoder file: [e590b0e9a7] check-in: [75463bdc87] user: jan.nijtmans branch: tip-597, size: 105240
2021-03-28
22:01
Make a start with CESU-8 encoder/decoder. Not finished yet file: [6723164765] check-in: [a1554fe988] user: jan.nijtmans branch: tip-597, size: 105014
21:03
Merge 8.7 file: [c9a6b4bc68] check-in: [ce379cec16] user: jan.nijtmans branch: tip-597, size: 104561
20:10
Merge 8.7 file: [7da885ce3d] check-in: [f42636e372] user: jan.nijtmans branch: main, size: 101890
20:09
Change TCL_ENCODING_EXTERNAL flag into TCL_ENCODING_MODIFIED, but with opposite meaning. Simplify code. file: [426663926a] check-in: [55c8108f11] user: jan.nijtmans branch: core-8-branch, size: 103253
2021-03-23
20:35
New Tcl_ExternalToUtfDStringEx/Tcl_UtfToExternalDStringEx functions. Not used yet file: [230522900c] check-in: [80634618a7] user: jan.nijtmans branch: encodings-with-flags, size: 104457
2021-03-21
09:27
Implement TCL_ENCODING_STOPONERROR flag for UtfToUtf encoder/decoder. Backported from 8.7 file: [a78bf08bb8] check-in: [15c7b4f93e] user: jan.nijtmans branch: core-8-6-branch, size: 107300
2021-03-19
13:19
Merge 8.7 file: [0f99f49a2c] check-in: [5785a6f335] user: jan.nijtmans branch: main, size: 101910
12:58
Fully implement TCL_ENCODING_STOPONERROR flag for Utf2Utf encoder/decoder. file: [8ce70efba3] check-in: [e86836e8fb] user: jan.nijtmans branch: core-8-branch, size: 103273
11:18
Merge 8.7 file: [b1fd45a14b] check-in: [edc720de80] user: jan.nijtmans branch: main, size: 101757
10:49
Merge 8.6 file: [d163474b2b] check-in: [1b4711e046] user: jan.nijtmans branch: core-8-branch, size: 103120
2021-03-18
21:35
Handle the encoding of filenames in ZIPs correctly. (This is awful. The awful isn't Tcl's fault. Terrible spec...) file: [21776dacbb] check-in: [8bb14aa3a7] user: dkf branch: core-8-branch, size: 103121
09:13
Merge 8.7 file: [4702b16351] check-in: [702b3410f7] user: jan.nijtmans branch: main, size: 101535
09:12
More simplification of UtfToUtfProc(). Get rid of wrapper functions UtfIntToUtfExtProc/UtfExtToUtfIntProc. This can be handled by additional flags. file: [ae92fd0761] check-in: [5e32efda50] user: jan.nijtmans branch: core-8-branch, size: 102898
2021-03-17
15:05
Merge 8.7 file: [387325b0ca] check-in: [341e1e54c4] user: jan.nijtmans branch: main, size: 105145
15:01
Simplify UtfToUtfProc() and UtfToUtf16Proc(): Using TclUtfToUCS4() internally means that we don't have to keep track of internal state any more (Tcl_EncodingState) Also, add (HMODULE) cast (back) in tclZipfs.c file: [d0aac71bb3] check-in: [357301b2a8] user: jan.nijtmans branch: core-8-branch, size: 106508
12:46
Add wtf-16 encodings to the set. With testcases file: [1fc594d4b4] check-in: [e266034612] user: jan.nijtmans branch: tip-597, size: 107387
12:04
Merge 8.7 file: [e1e7c172b9] check-in: [0d01d35ca0] user: jan.nijtmans branch: tip-597, size: 107951
2021-03-15
12:31
Merge 8.7 (this is the TIP #575 implementation for Tcl 9.0) file: [7bbf5e8979] check-in: [3fed9809e1] user: jan.nijtmans branch: main, size: 106081
2021-03-10
12:55
TIP #597 implementation: "string is unicode" and new wtf-8 encoding file: [19a619cc49] check-in: [fc3656894a] user: jan.nijtmans branch: tip-597, size: 107943
2021-02-24
08:43
Merge 8.7. Change more functions signatures to return the Tcl full version number. file: [4babb7bfde] check-in: [0e858231b3] user: jan.nijtmans branch: build-info, size: 107583
2021-02-17
17:37
Merge 9.0 file: [4df6d891ae] check-in: [5d51d3c1fc] user: jan.nijtmans branch: rfe-854941, size: 106123
2021-01-11
10:03
Merge 8.7, resolve conflicts file: [65982e199a] check-in: [015ff38790] user: jan.nijtmans branch: main, size: 106073
2021-01-04
15:06
Fix [c376607b22]: Tcl 8.6: Extended plane character does not encode correctly to UTF-16 with TCL_UTF_MAX==5 file: [f79dc787d2] check-in: [904ae29e74] user: jan.nijtmans branch: core-8-6-branch, size: 106952
2020-12-13
16:59
Merge 8.7 file: [0d1f36754e] check-in: [0631cdce81] user: jan.nijtmans branch: tip-575, size: 107540
2020-12-08
15:42
Merge 8.7 file: [35136499ee] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 106072
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: [758af9e6de] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 107532
2020-12-04
15:32
Merge 8.7 file: [1974c605c5] check-in: [a0a34123f1] user: jan.nijtmans branch: tip-575, size: 107541
2020-11-30
12:22
Merge 8.7 file: [f48ac9f72b] check-in: [74f72e4f9f] user: jan.nijtmans branch: main, size: 106073
12:18
Fix [6b1c6bb09c]: Extended plane character does not encode correctly to UTF-16 with TCL_UTF_MAX==4 Als use more of TIP #587 in encoding.test file: [accb6ae673] check-in: [ea91d44454] user: jan.nijtmans branch: core-8-branch, size: 107533
2020-10-14
06:08
Merge 8.7 file: [e627012795] check-in: [a5f7cc9ba9] user: jan.nijtmans branch: tip-575, size: 107541
2020-10-12
10:33
Merge trunk file: [3f38e29232] check-in: [4122596037] user: jan.nijtmans branch: rfe-854941, size: 106123
2020-09-17
14:12
Merge 8.7 file: [40d8d95578] check-in: [92d5c95fd8] user: jan.nijtmans branch: trunk, size: 106073
13:48
Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> TclNewIntObj or Tcl_NewWideIntObj) file: [a68744ba2c] check-in: [ef22eb8ac3] user: jan.nijtmans branch: core-8-branch, size: 107533
2020-09-15
15:11
Merge trunk file: [291f319012] check-in: [51c350e0e9] user: jan.nijtmans branch: rfe-854941, size: 106103
2020-09-11
13:20
Merge 8.7 file: [7d0f4dd785] check-in: [da6deaa258] user: jan.nijtmans branch: trunk, size: 106053
12:56
Merge 8.6. Remove tests/safe-stock86.test for win builds too (GIT, what are you doing ...!) file: [0b9f0d25c4] check-in: [af83072632] user: jan.nijtmans branch: core-8-branch, size: 107513
12:31
Fix 3bc0f44ef3: UBSan complains about body.chars[] usage. (Yes, I know, this one is for Tk, but Tcl was using the same construct too ....) file: [78700b920b] check-in: [29540d10c4] user: jan.nijtmans branch: core-8-6-branch, size: 106952
2020-09-10
16:58
Merge 8.7 file: [03808617dd] check-in: [8ab1de7f83] user: jan.nijtmans branch: trunk, size: 106042
11:33
Merge 8.6 file: [08e266e52a] check-in: [3951a8e1f4] user: jan.nijtmans branch: core-8-branch, size: 107502
10:28
Don't use sizeof() for structs containing a flexible array as last element. Lesson from 3bc0f44ef3. Use TclOffset in stead. file: [10ade38478] check-in: [3a6a0399ad] user: jan.nijtmans branch: core-8-6-branch, size: 106941
2020-08-13
14:35
Merge 9.0 file: [5aa0cbac42] check-in: [7a40e1f9d2] user: jan.nijtmans branch: rfe-854941, size: 106104
2020-06-04
15:15
Merge 8.7. Use more TCL_INDEX_NONE in documentation/headers/code. file: [6e8b28a684] check-in: [baad702302] user: jan.nijtmans branch: trunk, size: 106054
2020-05-12
18:59
First, experimental implementation of TIP #575. Barely tested, will fail. WIP file: [245fb3304b] check-in: [d15b9cb99e] user: jan.nijtmans branch: tip-575, size: 107522
2020-05-02
10:15
More fixes for [ed29806baf]. Not working yet. WIP file: [35f71ac90b] check-in: [f670d1a41f] user: jan.nijtmans branch: bug-ed29806baf-8.6, size: 106952
2020-05-01
23:45
Encoding improvements, handling Unicode > 0xFFFF file: [1edd18cb2b] check-in: [02e76e4aa7] user: jan.nijtmans branch: bug-ed29806baf-8.7, size: 106726
15:07
Merge 8.7 file: [afc498b75a] check-in: [3aa84b4b26] user: jan.nijtmans branch: trunk, size: 106058
14:53
Never mind remark about TIP #573 in previous commit: Test failure was due to typo. Fixed now. file: [cf9109a0df] check-in: [15b715b177] user: jan.nijtmans branch: core-8-branch, size: 107514
14:44
Merge 8.7 file: [be83ea62d3] check-in: [056c1aad28] user: jan.nijtmans branch: trunk, size: 106057
14:20
Fix first part of [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX bytes. Tcl_UtfToUniChar() now never reads more than TCL_UTF_MAX bytes any more. Since the UtfToUtf encoder/decoder now uses TclUtfToUCS4() it doesn't join 2 surrogates as 2 x 3-byte sequences any more. Actually, it shouldn't, because such sequences are invalid UTF-8. Therefore, added the ucs2 constraint to testcase encoding-15.4. Let's see how TIP #573 goes, this TIP should make this change official. Other callers of Tcl_UtfToUniChar() needs to be revised for the same problem. Most callers will need to change Tcl_UtfToUniChar() -> TclUtfToUCS4() and Tcl_UtfCharComplete() -> TclUCS4Complete(), but that's not done yet. file: [648cae1bd2] check-in: [1d9487bc7e] user: jan.nijtmans branch: core-8-branch, size: 107513
13:38
Fix first part of [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX bytes. Tcl_UtfToUniChar() now never reads more than TCL_UTF_MAX bytes any more. The UtfToUtf encoder/decoder is adapted to do attitional checks (more tricky than in Tcl 8.7, since we want compatibility with earlier 8.6 releases). Other callers of Tcl_UtfToUniChar() needs to be revised for the same problem. Most callers will need to change Tcl_UtfToUniChar() -> TclUtfToUCS4() and Tcl_UtfCharComplete() -> TclUCS4Complete(), but that's not done yet. file: [179a63da66] check-in: [5f2bb912cf] user: jan.nijtmans branch: core-8-6-branch, size: 106948
08:51
Fix [ed29806baf] by introducing TclUCS4Complete(). All other calls of Tcl_UtfToUniChar() are suspicious, because those cannot handle 4-byte UTF-8 sequences reliable. So, there's more work to do, but this part can already be backported to Tcl 8.6 and see where we get. file: [d09237a3c8] check-in: [fb85042c66] user: jan.nijtmans branch: bug-ed29806baf-8.7, size: 107426
2020-04-24
21:44
Merge 8.7 file: [e9b34362ed] check-in: [6d93497a74] user: jan.nijtmans branch: trunk, size: 106108
21:37
Merge 8.6 (Except encoding-12.6 test-case still to be handled) file: [2d0527c2f1] check-in: [c15333aed7] user: jan.nijtmans branch: core-8-branch, size: 107468
20:21
Merge from 8.5. Failing tests encoding-12.6, reg-13.3[34] appear to be real failures reporting first contact with tests and code. file: [dcfa095f37] check-in: [d9384dfa5c] user: dgp branch: core-8-6-branch, size: 106535
15:10
Add protections against overflow in Unicode values. Backported from 8.6. Also remove some out-of-date comments. file: [1b076fde4e] check-in: [90f19f6415] user: jan.nijtmans branch: core-8-5-branch, size: 103163
2020-04-22
16:06
Oopsee (but not really crucial) file: [da1c0f1647] check-in: [262f07d738] user: jan.nijtmans branch: bug-1004065, size: 103407
16:00
Attempt to fix [1004065] for TCL_UTF_MAX=4. Disallow building Tcl with TCL_UTF_MAX>4 file: [696443457e] check-in: [b85215dae6] user: jan.nijtmans branch: bug-1004065, size: 103412
2020-04-21
02:57
We've settled on using (TCL_UTF_MAX > 3) to indicate 4-byte Tcl_UniChar. file: [31b90a1707] check-in: [ddf0a93f88] user: dgp branch: bug-c574e50a3b, size: 103608
2020-04-20
11:30
Code cleanup (more typecasts), making it more compatible with -Wc++-compat. Less use of /* ARGUSED */. file: [9ea4ec1543] check-in: [6e3b6a611f] user: jan.nijtmans branch: core-8-6-branch, size: 106714
07:34
Backport the fix for encoding-16.1 in a TCL_UTF_MAX=6 build. file: [5976780478] check-in: [47a2d97513] user: dgp branch: bug-c574e50a3b, size: 103861
06:45
Backport the encoding fix for source-7.2 in TCL_UTF_MAX=6 build. file: [d485b6d7ad] check-in: [024b7f7612] user: dgp branch: bug-c574e50a3b, size: 103608
2020-03-18
14:06
Merge 8.7 file: [d4ce20ca96] check-in: [1d0787097e] user: jan.nijtmans branch: trunk, size: 106232
13:54
Merge 8.6 file: [6f9d939a57] check-in: [2b7c852b44] user: jan.nijtmans branch: core-8-branch, size: 107592
12:51
More uppercase HEX representations in source-code. file: [f286c51e7e] check-in: [7d760e228e] user: jan.nijtmans branch: core-8-6-branch, size: 106895
2020-03-17
17:00
Merge trunk file: [f38c71c8f8] check-in: [297b775180] user: jan.nijtmans branch: rfe-854941, size: 106282
01:20
merge 8.7 file: [548dc0bc72] check-in: [4d9717c8ef] user: dgp branch: trunk, size: 106232
01:01
TIP 569 - remove lint comments file: [30e98f019c] check-in: [658a498ae4] user: dgp branch: core-8-branch, size: 107592
2020-03-10
15:54
Merge trunk file: [d69618f7d6] check-in: [fb566b67ce] user: jan.nijtmans branch: rfe-854941, size: 106306
2020-03-06
21:33
merge 8.7 file: [56fd797beb] check-in: [89fde09430] user: dgp branch: trunk, size: 106256
19:29
more unused arguments file: [c9f3fe6656] check-in: [4636032e27] user: dgp branch: core-8-branch, size: 107616
2020-02-28
14:07
Merge 8.7 file: [3d85ad42d9] check-in: [0d3f9515c0] user: jan.nijtmans branch: trunk, size: 110263
12:46
Merge 8.7 file: [ea48387690] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 110258
2020-02-13
22:06
Merge 8.7 file: [64a51a5fd4] check-in: [c59e305ca6] user: jan.nijtmans branch: cplusplus, size: 111623
2020-01-29
16:13
Merge trunk file: [61d5bb7fa5] check-in: [a4ea592a5c] user: jan.nijtmans branch: rfe-854941, size: 109588
2020-01-20
14:19
Merge 8.7 file: [590942005b] check-in: [3d7b2dce60] user: jan.nijtmans branch: trunk, size: 109538
2020-01-15
15:49
Merge trunk. Fix MSVC static build file: [9e9541c7e1] check-in: [2fdf82e5b3] user: jan.nijtmans branch: rfe-854941, size: 109588
2019-12-11
15:53
Merge 8.7 file: [62ca834982] check-in: [25b6c4eefb] user: jan.nijtmans branch: cplusplus, size: 111623
08:55
Merge 8.7 file: [6fc59becde] check-in: [8fd30c9b17] user: jan.nijtmans branch: utf-max, size: 110903
08:54
Merge 8.7 file: [501e269451] check-in: [df16979f13] user: jan.nijtmans branch: trunk, size: 109538
08:52
Fix bug in tclEncoding.c, only manifesting in testcase encoding-15.4 for TCL_UTF_MAX=6. (knownBug, fixed now) file: [e2aea0192f] check-in: [b8ea626e72] user: jan.nijtmans branch: core-8-branch, size: 110903
2019-12-10
13:43
Merge 8.7 file: [6c82ed0eed] check-in: [84fca026ad] user: jan.nijtmans branch: trunk, size: 109828
13:42
Merge 8.6 file: [972e29ae28] check-in: [11e140ecfa] user: jan.nijtmans branch: core-8-branch, size: 111193
2019-12-09
19:36
Attempt to fix [5f236bc67a]: valgrind report for Tcl_UniCharToUtf file: [5045b0d210] check-in: [3e0a616f7e] user: jan.nijtmans branch: bug-5f236bc67a, size: 106895
11:32
Merge 8.7 file: [054526ff76] check-in: [64db2d1e0c] user: jan.nijtmans branch: trunk, size: 109829
11:31
Merge 8.6 file: [5a8867f53b] check-in: [343273c9de] user: jan.nijtmans branch: core-8-branch, size: 111194
09:59
Add special handling of lower surrogate to UtfToUtfProc(), so valgrind should't complain in that situation. With new test-cases covering that. file: [1be6de8ba9] check-in: [b0688e52b1] user: jan.nijtmans branch: core-8-6-branch, size: 106896
2019-12-08
16:58
Merge 8.7 file: [212fcf991b] check-in: [d8d7007a64] user: jan.nijtmans branch: utf-max, size: 110812
16:55
Merge 8.7 file: [e46fbfe9fb] check-in: [3909061642] user: jan.nijtmans branch: cplusplus, size: 111532
16:52
Merge 8.7 file: [e1f0d19caa] check-in: [0bf330f3d8] user: jan.nijtmans branch: trunk, size: 109447
16:49
Merge 8.6Merge 8.6 file: [80def99715] check-in: [a9647a100b] user: jan.nijtmans branch: core-8-branch, size: 110812
16:33
Fix Valgrind problem reported as follow-up in [fc4393e9b0]. Since it happens only for TCL_UTF_MAX>3 it's not actully a 'bug' in 8.6, but it might be a corner-case not handled well in 8.7 file: [79fed9b68d] check-in: [62c2c904c3] user: jan.nijtmans branch: core-8-6-branch, size: 106855
2019-12-06
16:02
merge 8.7 file: [ca3d6a07d0] check-in: [7dc752550c] user: dgp branch: trunk, size: 109449
14:38
Merge 8.6 file: [7bf7ee4231] check-in: [76f0ccb22a] user: jan.nijtmans branch: core-8-branch, size: 110814
13:43
Fix some test-cases when Tcl is compiled with -DTCL_UTF_MAX=6. Not officially supported but used by Androwish. The test-cases prove that "unicode" should be UTF-16 actually for all TCL_UTF_MAX values. file: [d639682ea8] check-in: [edce885a5c] user: jan.nijtmans branch: core-8-6-branch, size: 106857
2019-12-03
16:13
Merge 8.7 file: [bf4b66cbee] check-in: [4105725743] user: jan.nijtmans branch: utf-max, size: 110816
16:12
Merge 8.7 file: [bac3dc7505] check-in: [41773410ac] user: jan.nijtmans branch: cplusplus, size: 111536
2019-12-02
11:50
Merge 8.7 file: [145c10c89e] check-in: [32f829e03c] user: jan.nijtmans branch: trunk, size: 109451
2019-12-01
17:50
Merge trunk file: [3bf994ab24] check-in: [3c06b7b6c9] user: jan.nijtmans branch: rfe-854941, size: 109502
2019-11-20
13:32
Fix typo in tclTestObj.c file: [9cfe5401e4] check-in: [4c33a79021] user: jan.nijtmans branch: digit-bit-60, size: 110816
2019-11-15
15:19
Merge 8.7 file: [820a1a9be4] check-in: [6013bbbb99] user: jan.nijtmans branch: utf-max, size: 110817
12:17
Merge 8.7 file: [8428c5e6b4] check-in: [11cb499102] user: jan.nijtmans branch: trunk, size: 109452
10:09
Merge 8.6. Also fix the use of WUR (warn unused result) in libtommath function signatures: this cannot be used in combination with "deprecated" or "nostub" file: [c0794c5508] check-in: [47580c36fd] user: jan.nijtmans branch: core-8-branch, size: 110817
09:41
Protect additional Tcl_UtfToUniChar() call, for the case when not enough bytes are available in the buffer any more. Add additional test-cases for those situations (upper surrogate followed by somthing other than lower surrogate) file: [84ddc9daaa] check-in: [9e1589c192] user: jan.nijtmans branch: core-8-6-branch, size: 106598
2019-11-14
14:50
Merge 8.7 file: [486fd9f4b0] check-in: [04687edacc] user: jan.nijtmans branch: trunk, size: 109821
14:48
Merge 8.6 file: [e5c7dee9b4] check-in: [4af9b4a67a] user: jan.nijtmans branch: core-8-branch, size: 111186
14:01
Better - more complete - fix for [d433c0e0ad]: TCL_UTF_MAX == 4 problems. It allows emoji to be produced by the system encoding, even for other values of TCL_UTF_MAX. Also added test-cases for this. file: [79acda5358] check-in: [8a640c771e] user: jan.nijtmans branch: core-8-6-branch, size: 106574
2019-11-13
16:11
Merge 8.7 file: [a33fc7e41a] check-in: [d962ec5f05] user: jan.nijtmans branch: utf-max, size: 110558
13:50
Merge 8.7 file: [a682145317] check-in: [899f2e117e] user: jan.nijtmans branch: trunk, size: 109193
12:38
Merge 8.6 file: [9d9ab4b72a] check-in: [1572d9bdb5] user: jan.nijtmans branch: core-8-branch, size: 110558
12:37
Part 2 of bugfix [d433c0e0ad]: TCL_UTF_MAX == 4 problems file: [663d80982b] check-in: [e377ac273f] user: jan.nijtmans branch: core-8-6-branch, size: 105946
09:24
Merge 8.7 file: [3ce97d557a] check-in: [fd8cd8bea1] user: jan.nijtmans branch: trunk, size: 109199
09:08
Merge 8.6 file: [c0f0678515] check-in: [7ba9d1af8e] user: jan.nijtmans branch: core-8-branch, size: 110564
09:07
Fix TIP #389 implementation, bug [d433c0e0ad]: TCL_UTF_MAX == 4 problems. Thanks to Christian Werner for the report. file: [dd718bbb3b] check-in: [b5633ba3bd] user: jan.nijtmans branch: core-8-6-branch, size: 105952
2019-11-11
16:19
Merge 8.7 file: [324c81c406] check-in: [d3aea608ed] user: jan.nijtmans branch: utf-max, size: 110563
2019-11-07
15:39
Merge 8.7 file: [4d21e617b5] check-in: [0c78b48a01] user: jan.nijtmans branch: cplusplus, size: 111283
14:37
Merge 8.7 file: [0e6fd301c6] check-in: [831293c74c] user: jan.nijtmans branch: trunk, size: 109198
2019-11-06
20:41
Rewrite documentation of IO subsystem. file: [e3cf8cda4f] check-in: [e756ae681a] user: pooryorick branch: core-8-branch, size: 110563
2019-09-30
14:43
Merge trunk. Finish implementation. file: [1cfb8cdd45] check-in: [bcae28fe99] user: jan.nijtmans branch: rfe-854941, size: 109710
2019-09-25
13:42
Merge 8.7 file: [7489d22d0b] check-in: [be233f3e67] user: jan.nijtmans branch: utf-max, size: 111025
2019-09-17
11:39
Merge 8.7 file: [496bec5f6a] check-in: [981dd35686] user: jan.nijtmans branch: cplusplus, size: 111745
2019-09-16
19:16
Merge 8.7 file: [1ef05c94a5] check-in: [a5330ea251] user: jan.nijtmans branch: trunk, size: 109660
12:47
Fix Utf16ToUtfProc() (from TIP #548): If last code-point is higher surrogate, make sure that actual conversion is delayed until the next round, assuring proper merging of two surrogates into a single UTF-8 character. file: [21472e9ece] check-in: [dcabd85684] user: jan.nijtmans branch: core-8-branch, size: 111025
2019-09-14
21:52
Merge 8.7 file: [5ad0624b1c] check-in: [6f27e2ad0a] user: jan.nijtmans branch: cplusplus, size: 111558
12:37
Merge 8.7 file: [5ba21b2c88] check-in: [012848732e] user: jan.nijtmans branch: trunk, size: 109473
12:36
TIP #414 implementation: Add (back) Tcl_InitSubsystems as Public API file: [af9e4e23bd] check-in: [e855aa1e7d] user: jan.nijtmans branch: core-8-branch, size: 110838
2019-09-12
14:49
Merge 8.7 file: [4ec200bb57] check-in: [5ce97959fe] user: jan.nijtmans branch: trunk, size: 109472
11:26
Merge 8.6 file: [fd763c913d] check-in: [f21c1c05aa] user: jan.nijtmans branch: core-8-branch, size: 110837
11:01
Code cleanup: Add some initialization to "Tcl_UniChar ch" declaration, making the chance higher that 4-byte UTF-8 sequences are handled more reasonable internally (see: a179564826). Use more TclGetString() in stead of Tcl_GetString(), which is slightly more efficient. file: [27a59d2092] check-in: [38a4ab150c] user: jan.nijtmans branch: core-8-6-branch, size: 105951
2019-08-29
13:28
Merge tip-548 file: [bbd6f2b545] check-in: [c933888049] user: jan.nijtmans branch: cplusplus, size: 111551
2019-08-19
11:42
Rebase to 9.0 file: [d160a31113] check-in: [615f30df6d] user: jan.nijtmans branch: rfe-854941, size: 109516
2019-08-14
15:13
Merge 8.7 file: [e5edac493c] check-in: [e2428c2b13] user: jan.nijtmans branch: initsubsystems, size: 110832
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: [1d700eff98] check-in: [50d822dbab] user: jan.nijtmans branch: utf-max, size: 110831
2019-08-03
20:25
Merge tip-548 (since using the *WChar* functions leads to less type-casts in c++) Als finish implementaton for MacOSX file: [576c9d440d] check-in: [3da6c33030] user: jan.nijtmans branch: cplusplus, size: 111304
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: [4322b1257c] check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 111294
2019-06-28
22:38
Merge 8.7 file: [4e3afcab73] check-in: [d9929a96a7] user: jan.nijtmans branch: trunk, size: 109466
2019-05-31
23:19
TIP #547 implementation: New encodings: UTF-16, UCS-2 file: [a472df4f0d] check-in: [56319f4d2a] user: jan.nijtmans branch: tip-547, size: 110831
2019-05-10
16:35
Merge 8.7 file: [e0c3c2d1b4] check-in: [ed6a549a7a] user: jan.nijtmans branch: initsubsystems, size: 106745
2019-04-02
19:17
Merge 8.6 file: [8d0b9a1bdf] check-in: [1bcfcb3ac6] user: jan.nijtmans branch: androwish, size: 113565
2019-03-18
20:07
Add 4 new encodings, and add documentation. file: [c550912c9a] check-in: [0ac59eb0c6] user: jan.nijtmans branch: utf-max, size: 110831
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: [5edcaf07c4] check-in: [81502a66ed] user: jan.nijtmans branch: utf-max, size: 110219
2019-03-14
20:59
Merge 8.7. Fix 2 test-cases which were failing for TCL_UTF_MAX=6 file: [20d121a746] check-in: [4032e7fe99] user: jan.nijtmans branch: utf-max, size: 110217
2019-03-13
20:44
Eliminate many (mostly harmless) MSVC warning messages. Tcl 9 compiles warning-free now on MSVC. file: [e086b808c2] check-in: [cf865c6e2b] user: jan.nijtmans branch: trunk, size: 105379
2019-03-12
20:39
Even better support for -DTCL_UTF_MAX=6. Ongoing improvements (TIP being planned) file: [db3e7d64ea] check-in: [fdcb2a7323] user: jan.nijtmans branch: utf-max, size: 110071
2019-03-11
20:56
Merge 8.7 file: [83fd0b4b0a] check-in: [13fd8a4647] user: jan.nijtmans branch: trunk, size: 105371
20:32
Change TCHAR -> WCHAR in many places, since that's what it is since Windows NT file: [67947c278b] check-in: [876f74eabe] user: jan.nijtmans branch: core-8-branch, size: 106744
2019-03-08
23:54
Merge trunk. Further WIP for TIP #497, far from finished .... file: [f771ee99d8] check-in: [9fcbdde251] user: jan.nijtmans branch: tip-497, size: 104831
22:51
Merge 8.7 file: [8c879c22aa] check-in: [fe02c8898e] user: jan.nijtmans branch: trunk, size: 105371
2019-03-07
22:02
Fixes for TCL_UTF_MAX=6, (gcc compiler warnings). Also make everything work on win32/win64. Patch adapted from Androwish (thanks, Werner!) file: [8b08a3038e] check-in: [650574e0fb] user: jan.nijtmans branch: utf-max-6, size: 106744
2019-03-02
16:04
Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish. file: [f7a15bb845] check-in: [9e1984c250] user: jan.nijtmans branch: core-8-6-branch, size: 106118
2019-02-27
21:58
Merge 8.7 file: [78fd97afb5] check-in: [727e74f081] user: jan.nijtmans branch: trunk, size: 105147
21:29
Fix [bd94500678e837d7]: SEGFAULT by conversion of unicode (out of BMP) to byte-array file: [240a7cb23d] check-in: [efe8f3e6b0] user: jan.nijtmans branch: core-8-branch, size: 106520
2019-02-26
19:37
More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) and (unsigned) type-casts, which don't make sense any more. file: [00625548bf] check-in: [2c7db3fa01] user: jan.nijtmans branch: mistake, size: 106448
2019-02-19
19:38
Minor optimizations file: [03b62da75f] check-in: [0e2621fc4b] user: jan.nijtmans branch: bug-bd94500678, size: 106542
2019-02-18
20:48
Proposed fix for [bd94500678]: SEGFAULT by conversion of unicode (out of BMP) to byte-array. file: [db340b152b] check-in: [9f67c17d01] user: jan.nijtmans branch: bug-bd94500678, size: 106613
2019-02-05
21:35
More size_t-related consolidations. Now regexp can handle strings >2GB and more. Remove many type-casts which are not necessary any more. file: [b47a74f7ec] check-in: [4b4fe25e7d] user: jan.nijtmans branch: trunk, size: 105066
2019-02-04
22:46
merge 8.7 file: [c9e3c83e66] check-in: [308a5de5b2] user: jan.nijtmans branch: initsubsystems, size: 106497
2019-01-28
21:47
Merge 8.7 file: [11c45015cb] check-in: [08dd3497f1] user: jan.nijtmans branch: trunk, size: 105089
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: [651909d946] check-in: [d3ed67412e] user: jan.nijtmans branch: core-8-branch, size: 106496
2018-12-11
20:02
Merge 8.7 In test-cases, don't load Tcltest package if it isn't actually used. Another round of size_t related improvements. Nothing functional. Also improve some comments. file: [8c9d35e3a6] check-in: [c92a5c4373] user: jan.nijtmans branch: trunk, size: 105090
2018-12-08
17:16
Merge 8.7 Bring back Tcl_InitSubsystems to what Tcl_InitSubsystems was: without additional parameters or additional functionality file: [cfdbc58383] check-in: [ceb5ca35ee] user: jan.nijtmans branch: initsubsystems, size: 106498
2018-11-22
09:26
Eliminate gcc compiler warning file: [9d919dd87d] check-in: [d880a75ac5] user: jan.nijtmans branch: trunk, size: 105112
09:26
Make encodings work again ;-( file: [12cab03fc2] check-in: [9c93cb53f2] user: jan.nijtmans branch: core-8-branch, size: 106497
09:23
Fix encoding handling (check for TCL_IO_FAILURE was wrong). Eliminate (size_t) type casts and use of ckalloc() -> Tcl_Alloc() file: [045e938090] check-in: [695f8f315d] user: jan.nijtmans branch: trunk, size: 105109
08:06
Merge 8.7 file: [32cfd48e26] check-in: [5ac57355a2] user: jan.nijtmans branch: trunk, size: 105147
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: [57f26ac42d] check-in: [e90edd3fad] user: jan.nijtmans branch: core-8-branch, size: 106497
2018-11-20
13:51
More coverity issues file: [9c8978a813] check-in: [4bb243d127] user: dkf branch: core-8-6-branch, size: 106046
2018-11-06
12:59
merge core-8-branch file: [4265dfa0d4] check-in: [445db2cb18] user: dkf branch: mistake, size: 105038
2018-10-18
22:25
Rebase TIP-414 to TIP-512: If Tcl_SetPanicProc doesn't have a stub entry, it can take over the function of Tcl_InitSubsystems, just by changing its return value. TIP-512 description still to be adapted accordingly. file: [cf337fae7c] check-in: [17b4500b7b] user: jan.nijtmans branch: initsubsystems, size: 106275
15:31
merge 8.7 file: [2c8dfcdbc3] check-in: [000ee6e038] user: dgp branch: tip-445, size: 106388
13:24
merge 8.7 file: [0e183d1d04] check-in: [fb2539441f] user: dgp branch: initsubsystems, size: 106307
2018-10-08
19:00
TIP #494 implementation: More use of size_t in Tcl 9 file: [f75d177052] check-in: [f3d49044c4] user: jan.nijtmans branch: trunk, size: 104593
18:50
Merge 8.7 file: [3b4bcea73e] check-in: [490cd4ad13] user: jan.nijtmans branch: trunk, size: 104454
18:34
Merge 8.6 Also fix startup problems on win32, when the encoding path contains invalid UTF-8 (reported by François Vogel) Various other code cleanup, e.g. remove empty.zip file, as this didn't work quite as expected. file: [c487a9828c] check-in: [59a19cdee3] user: jan.nijtmans branch: core-8-branch, size: 105943
2018-10-06
19:20
Use more TCL_AUTO_LENGTH, when appropriate file: [71fe9a4323] check-in: [c643e8fe38] user: jan.nijtmans branch: memory-API, size: 104602
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: [670434a64d] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 104610
2018-07-06
21:36
remaining external API. Looks like complete now. Milestone! Still more testing needed file: [5e2cc9b50e] check-in: [f8de6ab8da] user: jan.nijtmans branch: memory-API, size: 104576
2018-06-29
18:13
Improve many parsing-related functions to use size_t file: [2877685d59] check-in: [2d7687959e] user: jan.nijtmans branch: memory-API, size: 104565
2018-06-28
21:42
More API changes using size_t. Internal changes not complete yet (WIP) file: [a6f9791af3] check-in: [1bfecd9172] user: jan.nijtmans branch: memory-API, size: 104603
2018-05-31
21:24
merge zipfs file: [1e0b58c4bf] check-in: [fc74365c13] user: jan.nijtmans branch: androwish, size: 113398
2018-05-19
05:18
merge 8.7 file: [d6ff968acc] check-in: [ae6235c322] user: jan.nijtmans branch: initsubsystems, size: 106316
2018-04-25
13:02
merge 8.7 file: [09a9e24082] check-in: [c16d974b49] user: dgp branch: tip-445, size: 106397
2018-04-23
15:07
merge 8.7 file: [990342cf4a] check-in: [aaa3ab6a72] user: jan.nijtmans branch: trunk, size: 104463
15:06
Some better surrogate handling in encodings. Not spotted before ... file: [7c04bd43c6] check-in: [0e622ccdb3] user: jan.nijtmans branch: core-8-branch, size: 105952
14:56
Add some state to encodings, so we can do better surrogate handling for TCL_UTF_MAX >= 4. Backported from TIP #389. file: [d7ef0b21a3] check-in: [c41cbc5340] user: jan.nijtmans branch: core-8-6-branch, size: 105951
2018-01-20
14:38
merge core-8-branch file: [56a861f34e] check-in: [decc9bc2f7] user: jan.nijtmans branch: initsubsystems, size: 106005
2018-01-18
13:32
merge 8.7 file: [72c1f49c9c] check-in: [bac2c99230] user: dgp branch: tip-445, size: 106113
2018-01-12
16:30
merge core-8-branch file: [1d9e0b3b66] check-in: [cb3d9b77de] user: jan.nijtmans branch: tip-485, size: 105668
2017-12-19
16:22
merge 8.7 file: [a4c46df95c] check-in: [dd50956e9c] user: dgp branch: tip-445, size: 106049
2017-12-15
21:27
Revert a few more (int -> size_t) transitions, which could effect extensions (such as Itcl 3.4) which use internal Tcl header files. Better wait until 9.0 for this. What we _can_ do is change some (internal) fields to 'unsigned': that doubles the epoch range without further danger. Thanks, Don, for pointing this out! file: [29137b8dcf] check-in: [b59ef9e0d8] user: jan.nijtmans branch: core-8-branch, size: 105604
2017-12-06
12:27
merge core-8-branch file: [d9cf38d021] check-in: [d7a57b5775] user: jan.nijtmans branch: initsubsystems, size: 105935
2017-11-30
17:52
merge 8.7 file: [835445437f] check-in: [1e5dc1b17c] user: dgp branch: tip-445, size: 106043
16:18
merge core-8-branch file: [5720813f1d] check-in: [3d9c34fb19] user: jan.nijtmans branch: tip-485, size: 105662
16:03
Eliminate use of certain unnecessary struct names. Also white-spacing. Nothing functional. file: [1dda0704b3] check-in: [fc7a665e3b] user: jan.nijtmans branch: core-8-branch, size: 105598
2017-11-09
11:04
No longer mark Tcl_EvalFile() as obsolete/deprecated. Thanks to all feedback to TIP #485! file: [810ac2b45c] check-in: [bb9ad1532d] user: jan.nijtmans branch: tip-485, size: 105723
2017-11-03
19:15
merge 8.7 file: [151803b04b] check-in: [f3e727f051] user: dgp branch: tip-445, size: 106104
2017-10-30
12:43
TIP 345 into novem. file: [4e38c3507d] check-in: [e8a10ae4fa] user: dgp branch: novem, size: 104179
2017-10-25
02:23
Repair Tcl_CreateEncoding(); Modernize [testencoding]; Update most tests toying with identity encoding. file: [b91650ebc4] check-in: [0b63befe36] user: dgp branch: tip-345, size: 105659
2017-10-24
23:16
Extend Tcl_CreateEncoding() to be able to create an encoding without registering it when it has no name. Then use this to create "identity" encoding without naming it "identity". Then no one can look it up by that name. file: [d5089acbc8] check-in: [63dd2e19e8] user: dgp branch: tip-345, size: 105653
2017-10-23
17:06
Implementation branch for TIP 345: Kill the "identity" encoding. This checkin, completely does that. Bad news is it causes huge failures. We're still making a lot of use of this encoding, and cannot complete this TIP until the branch is repaired. file: [9fd2a10d41] check-in: [04e7b29a20] user: dgp branch: tip-345, size: 103181
2017-10-13
13:56
merge trunk file: [eadbd36d39] check-in: [eba17e3e82] user: jan.nijtmans branch: tip-389-impl, size: 105662
2017-09-05
12:41
merge trunk file: [0ffea0528a] check-in: [37388a0d90] user: dgp branch: tip-445, size: 105992
2017-09-04
14:03
merge trunk file: [13b843f09e] check-in: [55e5374f6b] user: jan.nijtmans branch: novem, size: 104067
13:32
merge zipfs file: [c2ed2ec5ce] check-in: [f033ca9370] user: jan.nijtmans branch: androwish, size: 112739
12:38
merge core-8-6-branch file: [df901d4c7f] check-in: [134e487b22] user: jan.nijtmans branch: trunk, size: 105547
12:37
Typo's (Thanks to Gustaf Neumann), nothing functional. file: [ca14abfd97] check-in: [4e7c82c6e1] user: jan.nijtmans branch: core-8-6-branch, size: 105292
2017-09-01
13:52
merge trunk file: [9e2281890c] check-in: [736343cba1] user: jan.nijtmans branch: tip-389-impl, size: 105662
00:52
merge trunk file: [2c0a02e91a] check-in: [c3fbabfb73] user: dgp branch: tip-445, size: 105992
2017-08-31
13:57
merge trunk file: [01217d6f69] check-in: [2a52ebe007] user: jan.nijtmans branch: novem, size: 104067
12:21
(merge-mark core-8-6-branch). Give state to UtfToUtfProc() and UnicodeToUtfProc() in which the last (intermediate) Tcl_UniChar can be remembered: This way those functions can produce 4-byte UTF-8 sequences built from surrogate pairs if Tcl is compiled with TCL_UTF_MAX=4. For TCL_UTF_MAX=3 and TCL_UTF_MAX=6 this has no effect. file: [2e4e5a2211] check-in: [ec434c5d08] user: jan.nijtmans branch: trunk, size: 105547
2017-08-29
09:19
Merge trunk file: [a1cbbc30c7] check-in: [f2f6504adb] user: jan.nijtmans branch: novem, size: 103710
2017-08-25
13:46
Merge trunk file: [63b33fe912] check-in: [c841475a89] user: jan.nijtmans branch: tip-389-impl, size: 105650
2017-08-18
22:06
merge core-8-6-branch file: [0a3997f4b0] check-in: [75da8b29f8] user: jan.nijtmans branch: trunk, size: 105190
2017-06-08
08:47
merge zipfs. Upstream androwish changes. file: [fc0c8f5b1b] check-in: [cf6e40cbd2] user: jan.nijtmans branch: androwish, size: 112739
08:26
Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3 file: [bda76a7aab] check-in: [5ae46a0093] user: jan.nijtmans branch: rfe-6c0d7aec67, size: 105292
2017-06-06
13:48
merge trunk file: [c3f2ec351f] check-in: [2b3de0b7fe] user: dgp branch: tip-445, size: 105601
2017-05-29
15:38
merge trunk file: [da1e3c0755] check-in: [6d946ddf77] user: jan.nijtmans branch: tip-389-impl, size: 105636
13:16
merge trunk file: [68b9ea3632] check-in: [5985b3e0a0] user: jan.nijtmans branch: novem, size: 103676
13:14
merge core-8-6-branch file: [496e0efce3] check-in: [a9965b7335] user: jan.nijtmans branch: trunk, size: 105156
13:10
Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in functionality, just faster if ASCII only strings are involved. file: [23437db059] check-in: [7351fc0c9c] user: jan.nijtmans branch: core-8-6-branch, size: 105258
2017-05-23
14:57
merge trunk file: [f745c7a43f] check-in: [9430d4c198] user: jan.nijtmans branch: tip-389-impl, size: 105638
2017-04-12
12:00
merge trunk file: [422b942bb1] check-in: [cee5251dd0] user: jan.nijtmans branch: initsubsystems, size: 105495
2016-12-19
18:43
merge trunk file: [01517e8ced] check-in: [2dbe7ac399] user: dgp branch: tip-445, size: 105603
09:14
merge trunk file: [8dc19ec067] check-in: [d9627dd7b6] user: jan.nijtmans branch: novem, size: 103678
2016-12-16
16:14
Some more internal use of size_t in stead of int. No functional change. file: [17f85da8a5] check-in: [54ab350c68] user: jan.nijtmans branch: trunk, size: 105158
2016-11-16
15:04
merge trunk file: [d393a3af67] check-in: [f8be848288] user: dgp branch: tip-445, size: 105719
11:17
merge trunk file: [d4cb17bede] check-in: [31a3f9bee0] user: jan.nijtmans branch: novem, size: 103794
10:55
Use more "size_t" in stead of "int" internall. Also eliminate a lot of type-casts which are not necessary any more. file: [eda0fbb41b] check-in: [521d320b7b] user: jan.nijtmans branch: trunk, size: 105274
2016-11-14
16:01
Merge zipfs, but keep zip-write functions. file: [37326e74be] check-in: [c3df2d7911] user: jan.nijtmans branch: androwish, size: 112707
12:16
merge trunk file: [3c801def38] check-in: [56c05639b5] user: dgp branch: tip-445, size: 105741
2016-11-11
15:18
merge trunk file: [7d25952366] check-in: [6ca5f2d8bf] user: jan.nijtmans branch: novem, size: 103815
10:58
Fix [79614fb8b6]: "glob", "encoding system" and encoding-free filesystems file: [3000e67a53] check-in: [1867fdf95b] user: jan.nijtmans branch: trunk, size: 105296
10:55
Fix [79614fb8b6]: "glob", "encoding system" and encoding-free filesystems file: [0b7e706afe] check-in: [56afef9ae8] user: jan.nijtmans branch: core-8-6-branch, size: 105260
10:53
Fix [79614fb8b6]: "glob", "encoding system" and encoding-free filesystems file: [452d35f765] check-in: [e0649af0bd] user: jan.nijtmans branch: core-8-5-branch, size: 103400
2016-10-07
21:06
Purge more direct accesses to bytes field. file: [0abb500724] check-in: [ecafda43ac] user: dgp branch: tip-445, size: 105667
2016-10-03
15:06
merge zipfs branch file: [4e918490c3] check-in: [fef98dcead] user: jan.nijtmans branch: androwish, size: 112633
2016-09-26
15:38
Merge core-8-6-branch. upstream androwish modifications. file: [d4c929d6bb] check-in: [88fd04e92c] user: jan.nijtmans branch: androwish, size: 112237
2016-08-30
13:57
merge trunk file: [0d1c25a02e] check-in: [2a530e021b] user: jan.nijtmans branch: tip-389-impl, size: 105702
2016-07-09
17:21
merge trunk file: [2241893223] check-in: [c991627aa9] user: dgp branch: tip-445, size: 105660
2016-07-08
10:34
merge trunk file: [e7f43c87f5] check-in: [706fbc1eb0] user: jan.nijtmans branch: novem, size: 103741
10:28
Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj in many places where possible. file: [c14bf210cb] check-in: [48cb8436f1] user: jan.nijtmans branch: trunk, size: 105222
2016-06-28
13:44
Merge trunk file: [3804a7f4de] check-in: [ab33fe9082] user: jan.nijtmans branch: novem-more-memory-API, size: 103767
2016-05-19
11:56
merge zipfs file: [1b5f757b3f] check-in: [80d48be84b] user: jan.nijtmans branch: androwish, size: 112285
2016-05-13
09:21
Merge trunk file: [a7b1fd4c88] check-in: [b65f70f7a8] user: jan.nijtmans branch: novem, size: 103742
2016-05-10
17:22
Revise encodingType to use proposed routines. file: [437f652e8d] check-in: [145b84c792] user: dgp branch: tip-445, size: 105661
2016-03-28
21:24
The DupEncodingIntRep() routine is broken. It fails to set the typePtr field of the duplicated Tcl_Obj to indicate that the intrep is that of the &encodingType. The impact must be that refcounting of Tcl_Encodings are out of balance, at least in the (unusual?) case where "encoding" values need duplication. I hesitate to actually commit this fix until I have a test demonstrating the need for it, and a chance to see the impact on actual encoding operations. The lifetime management of encodings has a history of being tricky and raising controversy. More work required. file: [66848876bf] check-in: [c6c7d2f492] user: dgp branch: dgp-dup-encoding-fix, size: 105223
2016-02-09
09:33
Merge trunk file: [89150b6afe] check-in: [8dbbf50255] user: jan.nijtmans branch: tip-389-impl, size: 105666
2015-12-21
10:38
Merge trunk. Remove utf-32 encoding, will not be part of the "zipfs" TIP. file: [f7cc09f4ac] check-in: [6cd30f2bcc] user: jan.nijtmans branch: zipfs, size: 105531
2015-10-25
20:14
Merge trunk file: [90540da33c] check-in: [2b2578b68d] user: jan.nijtmans branch: androwish, size: 112248
2015-10-23
22:31
merge trunk file: [408b848ecd] check-in: [b8ecced6b5] user: kbk branch: mistake, size: 103705
08:13
Merge trunk file: [2de3b57bcb] check-in: [d68de1f600] user: jan.nijtmans branch: androwish, size: 111911
2015-10-19
13:52
typo in comment. Eliminate unnecessary end-of-line spacing. file: [93179c93b5] check-in: [a3acef607b] user: jan.nijtmans branch: trunk, size: 105186
2015-09-29
08:06
rebase with novem file: [d610a52c14] check-in: [2897092cfa] user: jan.nijtmans branch: novem-more-memory-API, size: 103730
2015-09-24
13:48
merge trunk file: [870b5eb3e5] check-in: [69fcfc124a] user: jan.nijtmans branch: initsubsystems, size: 105523
2015-09-22
08:20
merge trunk file: [a1c768bc9c] check-in: [eb6c2fe41b] user: jan.nijtmans branch: novem, size: 103705
2015-09-02
07:16
Merge trunk file: [4adf34fabe] check-in: [938195c9ae] user: jan.nijtmans branch: androwish, size: 111911
2015-08-31
10:27
merge trunk file: [2752f191cc] check-in: [bdab384a47] user: jan.nijtmans branch: tip-389-impl, size: 105666
10:18
Some Unicode encoding fixes, only having effect if TCL_UTF_MAX > 4. Backported from androwish file: [90794e589e] check-in: [d8764f73dd] user: jan.nijtmans branch: trunk, size: 105186
2015-06-21
22:29
Branch for androwish, as help to keep track on which android-specific changes could be included into the core without harm. file: [b8fbf88e4e] check-in: [fe175c2a4e] user: jan.nijtmans branch: androwish, size: 105226
2015-06-18
19:58
merge novem file: [52e27d8c18] check-in: [8d9650ab81] user: jan.nijtmans branch: novem-more-memory-API, size: 103522
13:09
Merge trunk. Upgrade to Unicode 8.0 file: [58ddf3c468] check-in: [8d19eec637] user: jan.nijtmans branch: tip-389-impl, size: 105426
2015-04-29
21:51
merge trunk file: [92a948afa7] check-in: [c80897363f] user: jan.nijtmans branch: novem, size: 103497
2015-04-24
15:48
Fix UtfToUtfProc() to remove the potential to read beyond end of input buffer. file: [18195783a8] check-in: [727d74f76d] user: dgp branch: trunk, size: 104978
15:47
Fix UtfToUtfProc() to remove the potential to read beyond end of input buffer. file: [c2c3a86b68] check-in: [e1061dfe07] user: dgp branch: core-8-5-branch, size: 103326
2015-03-06
14:02
update release date file: [22262285e0] check-in: [3da0e3a608] user: dgp branch: mistake, size: 103388
2015-01-17
17:42
merge trunk file: [080f0eef9e] check-in: [ba66980d64] user: jan.nijtmans branch: tip-389-impl, size: 105404
2014-12-23
18:44
merge trunk file: [dfaa461509] check-in: [526ce54517] user: dgp branch: novem, size: 103475
17:53
Support TCL_ENCODING_CHAR_LIMIT in TableToUtfProc and EscapeToUtfProc drivers. file: [650078c075] check-in: [14b0ab81bb] user: dgp branch: dgp-encoding-flags, size: 104956
17:48
Support TCL_ENCODING_CHAR_LIMIT in the Iso88591ToUtfProc driver. file: [1718180414] check-in: [0a271e0a77] user: dgp branch: dgp-encoding-flags, size: 104712
17:46
Support TCL_ENCODING_CHAR_LIMIT in the UnicodeToUtfProc driver. file: [554da8eed8] check-in: [18bd29454d] user: dgp branch: dgp-encoding-flags, size: 104590
17:26
Support TCL_ENCODING_CHAR_LIMIT in the UtfToUtfProc driver. file: [70bbed2824] check-in: [0ff413f9e5] user: dgp branch: dgp-encoding-flags, size: 104468
17:13
Support TCL_ENCODING_CHAR_LIMIT in the BinaryProc driver. file: [6677ad3c05] check-in: [32e5400e02] user: dgp branch: dgp-encoding-flags, size: 104346
15:19
merge trunk file: [7fb4eb8117] check-in: [ce8eb2a4dd] user: dgp branch: novem, size: 102167
03:11
merge trunk file: [33753739ad] check-in: [b057d4a0fb] user: dgp branch: dgp-encoding-flags, size: 104246
2014-12-17
19:57
Revise encoding finalization so that it does a more complete job of restoring the pre-initialized state. This makes finalization errors more repeatable and cross-platform. file: [920cc7f2f1] check-in: [519d6c8e9e] user: dgp branch: bug-af08e89777, size: 103648
2014-11-15
21:46
Add to Tcl_ExternalToUtf() a capability to impose a limit on the number of chars produce in the encoding result. When the flag TCL_ENCODING_CHAR_LIMIT is set and dstCharsPtr is not NULL, then the initial value of *dstCharsPtr is taken as the max number of chars to produce. The limit is imposed in a way that does not require the assistance of the encoding's driver procs, but the flag is passed on to them in case they can do better when they know they should. No callers updated yet. No drivers updated yet.

One difficulty is that this necessarily imposes a pre-translation limit, and the I/O system has a history of wanting to impose only a post-translation limit. file: [a4eadb9d7d] check-in: [4c4b417d21] user: dgp branch: dgp-encoding-flags, size: 104036

21:08
Tcl_ExternalToUtf appends a terminating NUL to its encoded results. Perhaps this is a welcome convenience for some callers, but not for Tcl's I/O system, which has no need for that. Added a new flag value TCL_ENCODING_NO_TERMINATE that callers can use to suppress this behavior. This means buffers don't require so much padding, and a tiny bit of processing is saved. Update I/O callers to use the feature. file: [9b77d6a9bd] check-in: [dfbd1c41a7] user: dgp branch: dgp-encoding-flags, size: 103595
2014-05-02
07:15
merge novem file: [2d7ed4c809] check-in: [08a7e90291] user: jan.nijtmans branch: novem-more-memory-API, size: 101982
2014-05-01
09:40
Merge trunk. Update Unicode tables to Unicode 7.0 beta. file: [cf5da0ac55] check-in: [13a1d81916] user: jan.nijtmans branch: tip-389-impl, size: 103886
2014-02-06
22:10
merge trunk file: [bbaace0c4e] check-in: [6828d86c67] user: jan.nijtmans branch: novem, size: 101957
2014-02-04
16:24
Simplify the core output operations of channels. Reduce duplicative and dead code. file: [49fa5cd974] check-in: [af063120ee] user: dgp branch: trunk, size: 103438
14:30
Be sure to finalize the identity encoding. file: [526a506b8b] check-in: [02c6d2d336] user: dgp branch: dgp-optimize-output-stage, size: 103304
2014-01-30
18:31
Refactor WriteChars() and WriteBytes() into simple wrappers of a common routine Write(). file: [903160912e] check-in: [d651018d94] user: dgp branch: dgp-optimize-output-stage, size: 103265
2013-10-16
07:55
improve compatibility with initsubsystems branch file: [7ea174061a] check-in: [8e0d608bea] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 102014
2013-09-26
13:13
merge novem

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

2013-07-08
12:37
Rebase. Remove usability of -DUSE_TCL_STUBS file: [114cfd13d5] check-in: [fa6285ac6b] user: jan.nijtmans branch: initsubsystems, size: 103666
2013-06-25
10:56
rebase file: [48fb66a26d] check-in: [e1791704a3] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 102014
2013-06-21
12:28
rebase file: [85999291ff] check-in: [e5f09adeaa] user: jan.nijtmans branch: initsubsystems, size: 103877
2013-06-18
08:13
Simplify TIP #414 implementation by using the function TclInitStubTable() in stead of re-use Tcl_InitStubs(). file: [45bfe01065] check-in: [77799a9144] user: jan.nijtmans branch: initsubsystems, size: 103890
2013-04-03
12:38
better comments file: [b97fdd73c5] check-in: [78ecb6410c] user: jan.nijtmans branch: initsubsystems, size: 104310
2013-03-31
20:17
Going forward trying to define a better Tcl_InitStubsystems() file: [f77d742b82] check-in: [f1f393d1f0] user: jan.nijtmans branch: initsubsystems, size: 104142
2013-03-29
12:46
Always set "argv0", irrespective of the "argc" value. file: [d748e08bff] check-in: [6d95830845] user: jan.nijtmans branch: initsubsystems2, size: 105137
12:29
Set the "argv0" variable as well as "argc"/"argv", if specified. This makes Tcl_InitSubsystems set the argc/argv/argv0 variables exactly the same as the *Main* functions do. file: [041b453b43] check-in: [07ffdd7695] user: jan.nijtmans branch: initsubsystems2, size: 105096
10:08
New version, which takes the TCL_INIT_PANIC flag and the pseudo interpreter stuff out, without losing the original idea. file: [bedc935ffa] check-in: [3ae7bcc7f0] user: jan.nijtmans branch: initsubsystems2, size: 104889
2013-03-27
07:51
Version with all TCL_INIT_CREATE_XXX flags back file: [518a7c12f6] check-in: [b086c08897] user: jan.nijtmans branch: initsubsystems2, size: 105530
2013-03-26
15:57
Looks like TCL_INIT_CUSTOM (previously known as TCL_INIT_STUFF) is not a bad idea at all, provided it has a Tcl_Interp* argument as well, so it can initialize the stub table. A typedef for the function is not necessary, as a variable-argument function doesn't do any type checking. It's for the experienced developer anyway. file: [b48f694469] check-in: [a89da0d045] user: jan.nijtmans branch: initsubsystems, size: 104559
13:58
Add TCL_INIT_STUFF file: [3922bf1cea] check-in: [2b53c1a5ac] user: jan.nijtmans branch: initsubsystems, size: 104477
10:46
Don't initialize the encoding subsystem any more in Tcl_InitSubsystems(). file: [d887e7410c] check-in: [95b6e24fda] user: jan.nijtmans branch: initsubsystems2, size: 104280
10:20
Version having TCL_INIT_PANIC as only Tcl_InitSubsystems() flag file: [e5f4c4e3db] check-in: [02bff4de7f] user: jan.nijtmans branch: initsubsystems, size: 104311
2013-03-25
15:00
TCL_INIT_ENCODINGPATH file: [99ae633ba6] check-in: [19f0825e7e] user: jan.nijtmans branch: initsubsystems, size: 105575
2013-02-25
13:38
Merge trunk. Upgrade all tables to Unicode 6.3 (not released yet) file: [e9808dfe12] check-in: [adf88dd045] user: jan.nijtmans branch: tip-389-impl, size: 103791
2013-02-24
21:35
integrate TIP #414 file: [65e3456a60] check-in: [ef6717b40a] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 103820
2013-02-23
20:16
merge trunk. Comment improvements, styling. file: [d3bedee821] check-in: [3f9ac86c63] user: jan.nijtmans branch: initsubsystems, size: 105351
11:19
merge trunk. Simplify dummy "interp" struct. file: [d5ba85a3b1] check-in: [10fb5497e9] user: jan.nijtmans branch: initsubsystems, size: 105338
11:05
merge novem. Simplify dummy "interp" struct. file: [6de0febba9] check-in: [64671da9bd] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 102419
2013-02-19
15:46
merge novem file: [98224e8a30] check-in: [28ee40df7e] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 102468
2013-02-17
22:14
merge trunk file: [80227660fc] check-in: [b811284fad] user: jan.nijtmans branch: better-deprecation, size: 103457
13:02
Doc improvements. Use freeProc field of pseudo interpreter to store the magic value. file: [6728a2803c] check-in: [f95bca8d3c] user: jan.nijtmans branch: initsubsystems, size: 105387
2013-02-14
10:11
merge trunk file: [789cb5aa59] check-in: [74eea63e68] user: jan.nijtmans branch: initsubsystems, size: 105351
2013-02-10
13:26
Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h> file: [b2701f19ef] check-in: [4ef9e63656] user: jan.nijtmans branch: trunk, size: 103343
13:12
Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>. file: [3d7e416570] check-in: [7725ffcfef] user: jan.nijtmans branch: core-8-5-branch, size: 103163
2013-02-03
17:17
merge novem file: [fda39b7ccd] check-in: [f0ab71bc6c] user: jan.nijtmans branch: novem-more-memory-API, size: 101887
16:05
merge trunk file: [dcae98c667] check-in: [127b30eda5] user: jan.nijtmans branch: novem, size: 101862
2013-02-01
09:11
merge trunk file: [2b648a01bc] check-in: [4e754b12da] user: jan.nijtmans branch: initsubsystems, size: 105373
2013-01-31
11:41
Merge core-8-5-branch. Optimize tclCmdNameType the same way. file: [8f280faaca] check-in: [b4cdb58176] user: jan.nijtmans branch: no-shimmer-string-length, size: 103563
10:31
merge core-8-5-branch file: [e65783569a] check-in: [f9be79d941] user: jan.nijtmans branch: trunk, size: 103365
09:42
Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. file: [5b8d0d3bfe] check-in: [17354de1e8] user: jan.nijtmans branch: core-8-5-branch, size: 103185
07:56
Merge trunk Handle caching of string intRep in more internal objTypes file: [cf6e61bb78] check-in: [c5f0ac6cc3] user: jan.nijtmans branch: no-shimmer-string-length, size: 103593
2013-01-30
08:19
merge changes from trunk file: [f17bb261eb] check-in: [fc2438ef5f] user: dkf branch: novem-no-startcmd, size: 101933
2013-01-29
10:46
Change core to use repr->twoPtrValue.ptr1 in stead of repr->otherValuePtr (which is exactly the same), but also set repr->twoPtrValue.ptr2 to NULL explicitly. This allows repr->twoPtrValue.ptr2 to be used for another purpose (experimental): Store the StringObj internal representation there when available. file: [311541b15b] check-in: [4918a10d3d] user: jan.nijtmans branch: no-shimmer-string-length, size: 103231
2013-01-26
16:11
macros for Tcl_GetString and Tcl_GetStringFromObj file: [2d56a87413] check-in: [7845d6854d] user: jan.nijtmans branch: novem-more-memory-API, size: 101875
2013-01-21
13:56
merge trunk file: [622ed1ae12] check-in: [bfce21f368] user: jan.nijtmans branch: initsubsystems, size: 105361
2013-01-17
16:32
merge trunk file: [ae3b56cd1a] check-in: [3c4edc83aa] user: dgp branch: novem, size: 101872
08:38
revert [8abba84224], and make sure that every source file that uses Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h file: [1b972ca33f] check-in: [a1d2456c70] user: jan.nijtmans branch: trunk, size: 103353
08:28
revert [8abba84224], and make sure that every source file that uses Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h file: [01f1f9dc30] check-in: [38228c7569] user: jan.nijtmans branch: core-8-5-branch, size: 103173
2013-01-10
09:23
Implement TCL_INIT_CREATE_UTF8/TCL_INIT_CREATE_UNICODE file: [c970f8baa8] check-in: [80facf4d91] user: jan.nijtmans branch: initsubsystems, size: 105339
2013-01-09
10:30
New function Tcl_InitSubsystems, still to be TIP'ed file: [36984242fb] check-in: [5a777a1b8a] user: jan.nijtmans branch: initsubsystems, size: 104988
2013-01-05
00:11
merge novem finish implementation, now works as intended change Tcl_FindExecutable by returning a dummy Tcl_Interp structure, sufficient to initialize the stub table. Tcl_CreateInterp is now no longer exported from the so. file: [3830d389ac] check-in: [7c09ac36af] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 102319
2012-12-22
20:20
merge novem add Tcl_TomMath_InitStubs/Tcl_OOInitStubs to unix/tclAppInit.c file: [f106d662ff] check-in: [96d9dbe992] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 101824
2012-12-21
10:13
remove unnecessary struct names, which only pollute the "struct" namespace for the compiler. file: [3d8f46c52b] check-in: [7752ee08e3] user: jan.nijtmans branch: novem, size: 101850
2012-12-13
09:01
merge novem Change signature of Tcl_FindExecutable: const char * -> const void *, to make it usable on win32 with wchar_t as well. file: [3dae260089] check-in: [d7750d0af0] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 101885
2012-12-03
13:02
Remove obsolete functions Tcl_GetDefaultEncodingDir and Tcl_SetDefaultEncodingDir file: [65ca21f435] check-in: [1dfcdabf11] user: jan.nijtmans branch: novem, size: 101911
11:47
deprecate Tcl_Backslash, Tcl_GetDefaultEncodingDir and Tcl_SetDefaultEncodingDir file: [0039cc0fea] check-in: [2a1937a64a] user: jan.nijtmans branch: better-deprecation, size: 103445
2012-11-21
00:42
converting to use TCL_STRLEN file: [79918381ca] check-in: [2afb72a22d] user: dkf branch: novem-64bit-sizes, size: 101833
2012-11-20
21:37
Basic changes to make it possible to get to a command prompt without warnings. file: [720a8a8f77] check-in: [449c3702a3] user: dkf branch: novem-64bit-sizes, size: 101801
2012-11-18
07:39
Better programming practice, no literal '-1' in source code. Might even be useful for 64bit-sizes branch

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

file: [fd642308a7] check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 103363
2012-11-16
21:18
a bunch more conversions file: [a5abe81f02] check-in: [a152888208] user: dkf branch: novem-64bit-sizes, size: 101788
2012-09-26
12:00
Merge trunk file: [948fbdb25f] check-in: [b2aae08f2d] user: jan.nijtmans branch: tip-389-impl, size: 103779
2012-08-20
06:49
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler. file: [05427160cf] check-in: [db442914c7] user: jan.nijtmans branch: jn-no-struct-names, size: 103270
2012-08-04
07:52
merge trunk file: [4958f11016] check-in: [87af801de3] user: dkf branch: dkf-utf16-branch, size: 108484
07:46
merge trunk file: [ee34d58311] check-in: [cd8e483be3] user: dkf branch: dkf-alias-encoding, size: 107767
2012-08-03
14:24
more result generation conversion file: [b02da37cf4] check-in: [b3ccaec093] user: dkf branch: trunk, size: 103331
2012-07-03
14:52
Factor out a number of common patterns of use of Tcl_DStringAppend. file: [cff987260c] check-in: [4dd736c95f] user: dkf branch: trunk, size: 103311
2012-04-22
20:51
merge trunk file: [ecb404a6cb] check-in: [0d20ee5cfe] user: jan.nijtmans branch: tip-389-impl, size: 103775
2012-04-18
22:05
make some more internal tables const a few CONST -> const changes file: [ce89358094] check-in: [24c0f42d9a] user: jan.nijtmans branch: core-8-5-branch, size: 103151
21:38
make some more internal tables CONST fix compilation with -DNO_CONST file: [1416347516] check-in: [8e001f8402] user: jan.nijtmans branch: core-8-4-branch, size: 94170
2012-03-08
09:00
merge from trunk file: [d4540bf605] check-in: [dd77c1513d] user: dkf branch: dkf-utf16-branch, size: 108480
08:59
merge from trunk file: [e7f89230bb] check-in: [cb4a3bfbb9] user: dkf branch: dkf-alias-encoding, size: 107763
2012-02-29
21:56
[Bug 3466099] BOM in Unicode file: [0f7e0cb093] check-in: [ad684faec9] user: jan.nijtmans branch: trunk, size: 103327
21:34
[Bug 3466099] BOM in Unicode file: [5749c9278a] check-in: [ca6c454087] user: jan.nijtmans branch: core-8-5-branch, size: 103145
2012-02-19
15:21
[Bug 3466099] BOM in Unicode file: [8777434930] check-in: [f019af39bd] user: jan.nijtmans branch: bug-3466099, size: 94164
2011-10-27
20:35
Start of work on system for alias encodings, i.e., alternate names for encodings. file: [6fe401134c] check-in: [4d643b6bec] user: dkf branch: dkf-alias-encoding, size: 107757
2011-08-24
07:50
Upcoming TIP implementation: Full support for Unicode 6.0 file: [04340c58e7] check-in: [5721cf9ae6] user: jan.nijtmans branch: tip-389-impl, size: 103769
2011-07-31
23:14
Add test of UTF-8 -> internal -> UTF-8 round trip (and make it pass). file: [87855d6991] check-in: [7c97e3ea95] user: dkf branch: dkf-utf16-branch, size: 108474
2011-07-28
14:24
Actual possible implementation of code to convert external UTF-8 to internal surrogate pairs and back again. file: [ef2e6a0e56] check-in: [fed6086a43] user: dkf branch: dkf-utf16-branch, size: 108580
2011-07-27
10:40
Start work towards being able to work with utf8 fully and utf16 and other things outside the BMP. file: [a814b98dea] check-in: [f9f8c8425c] user: dkf branch: dkf-utf16-branch, size: 103766
2011-04-27
18:23
Backport fix for [Bug 2857044]. file: [8fd0508b17] check-in: [1855377cde] user: dgp branch: core-8-5-branch, size: 103139
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: [2ac8349bbc] check-in: [5574bdd262] user: dkf branch: trunk, size: 103321
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: [96ad16d929] check-in: [c64f310d38] user: dgp branch: trunk, size: 103566
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: [bd8b07d878] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 103111
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: [8954ccf175] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 94158
2010-11-17
16:11
Next slice. file: [3da8cff6b0] check-in: [e83816154d] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 103643
2010-10-01
13:34
merge file: [090bc7db78] check-in: [662fc0e6b4] user: kennykb branch: dogeen-assembler-branch, size: 103646
13:14
merge file: [668230de18] check-in: [45d08f24b7] user: dgp branch: dgp-refactor, size: 103643
12:52
* generic/tclBasic.c, generic/tclClock.c, generic/tclEncoding.c, * generic/tclEnv.c, generic/tclLoad.c, generic/tclNamesp.c, * generic/tclObj.c, generic/tclRegexp.c, generic/tclResolve.c, * generic/tclResult.c, generic/tclUtil.c, macosx/tclMacOSXFCmd.c: More purging of strcpy() from locations where we already know the length of the data being copied.
file: [5b36715041] check-in: [50bdab4682] user: dkf branch: trunk, size: 103638
2010-09-17
13:10
merge file: [546a90fdeb] check-in: [c9725b5355] user: dgp branch: dgp-refactor, size: 103576
12:55
Merge from HEAD to rmax-ipv6-branch file: [f98092fbff] check-in: [70c6ac9692] user: rmax branch: rmax-ipv6-branch, size: 103576
2010-09-16
14:49
Make Tcl_FindExecutable() work in UNICODE compiles (windows-only) as well as ASCII. Needed for [FRQ 491789]: setargv() doesn't support a unicode cmdline file: [7ac4b28dfd] check-in: [ec07a95ae4] user: nijtmans branch: trunk, size: 103576
2010-08-23
01:46
merge file: [325eafd4ae] check-in: [d7364aad61] user: dgp branch: dgp-refactor, size: 103551
2010-08-22
18:53
Remove many type casts which are no longernecessary as a result of [Patch 3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry file: [8b3edd82f8] check-in: [0ca694ea65] user: nijtmans branch: trunk, size: 103551
2010-02-25
21:53
merge updates from HEAD file: [d681cec0c3] check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 103582
2010-02-24
10:32
Pure whitespace changes, changing to follow Engineering Manual style. file: [777dc431ec] check-in: [c81eddebbb] user: dkf branch: trunk, size: 103577
2010-02-09
17:53
merge updates from HEAD file: [393cbdc3d5] check-in: [213eee9b55] user: dgp branch: dgp-refactor, size: 103599
2010-02-05
11:47
Use 'const' more often for pointers to read-only structures. file: [41d064146a] check-in: [f80600cbf2] user: dkf branch: trunk, size: 103594
2009-11-23
16:44
merge updates from HEAD file: [9c4aefe8c7] check-in: [57cd13c2d7] user: dgp branch: dgp-refactor, size: 102930
2009-11-19
21:56
Updated freeIntRepProc routines so that they set the typePtr field to NULL so that the Tcl_Obj is not left in an inconsistent state. [Bug 2857044] file: [013caa81c4] check-in: [803df07822] user: nijtmans branch: trunk, size: 102930
2009-11-16
18:04
merge updates from HEAD file: [8bc8093b6f] check-in: [b504489f82] user: dgp branch: dgp-refactor, size: 102904
17:38
(forward port) Fix [Bug 2891556] and improve test to detect similar manifestations in the future. Add tcltest support for finalization. file: [94ad5f3311] check-in: [8fa4d0a5b9] user: ferrieux branch: trunk, size: 102904
17:03
(Backport) Fix [Bug 2891556] and improve test to detect similar manifestations in the future. file: [ea3d149ae6] check-in: [c3e579d8e4] user: ferrieux branch: core-8-4-branch, size: 94240
12:14
Fix [Bug 2891556] and improve test to detect similar manifestations in the future. file: [618b848290] check-in: [68033c16fa] user: ferrieux branch: core-8-5-branch, size: 103192
2009-02-11
17:27
merge updates from HEAD file: [1c1d10d4a1] check-in: [f07460d448] user: dgp branch: dgp-refactor, size: 102255
2009-02-10
22:49
- eliminate some unnessary type casts - some internal const decorations - spacing file: [f948d5dc0c] check-in: [160bcb1152] user: nijtmans branch: trunk, size: 102255
2008-11-10
02:18
merge updates from HEAD file: [e2dbe91483] check-in: [4a9c1325dc] user: dgp branch: dgp-refactor, size: 102243
2008-10-27
19:08
* generic/tclEncoding.c: Use "iso8859-1" and not "identity" as the default and original [encoding system] value. Since "iso8859-1" is built in to the C source code for Tcl now, there's no availability issue, and it has the good feature of "identity" that we must have ("bytes in" == "bytes out") without the bad feature of "identity" ("broken as designed") that makes us want to abandon it. [RFE 2008609] *** POTENTIAL INCOMPATIBILITY for older releases of Tclkit and any other code expecting a particular value for Tcl's default system encoding ***
file: [cda3638e5e] check-in: [557645d373] user: dgp branch: trunk, size: 102238
2008-10-26
18:34
Style improvements - invoking callbacks without visual junk. file: [1e4a45665e] check-in: [a1a8afc25d] user: dkf branch: trunk, size: 102242
2008-10-23
15:51
merge updates from HEAD file: [67851e56ad] check-in: [b86f278a02] user: dgp branch: dgp-refactor, size: 102552
2008-10-22
20:23
Letting CONST die a slow and graceful death, since NO_CONST was broken since 8.4 and no-one complained about it. file: [f8cbf171ed] check-in: [dc58eb7219] user: nijtmans branch: trunk, size: 102552
2008-10-17
20:52
merge updates from HEAD file: [3139eab4a2] check-in: [d93600ad8e] user: dgp branch: dgp-refactor, size: 102546
2008-10-16
22:34
Add "const" to many internal const tables. No functional or API change. file: [bb826b4cb3] check-in: [f03d2e2d83] user: nijtmans branch: trunk, size: 102546
2008-07-04
19:22
UtfToUtfProc: Avoid unwanted sign extension when converting incomplete UTF-8 sequences. See [Bug 1908443] for details. file: [07cd8cc589] check-in: [e9e8be6fe0] user: jenglish branch: core-8-5-branch, size: 102543
19:21
UtfToUtfProc: Avoid unwanted sign extension when converting incomplete UTF-8 sequences. See [Bug 1908443] for details. file: [2d33cd0579] check-in: [f232842392] user: jenglish branch: core-8-4-branch, size: 93591
2008-06-16
03:17
merge updates from HEAD file: [db9ff66030] check-in: [1f1de75ebf] user: dgp branch: dgp-refactor, size: 102540
2008-06-11
01:30
UtfToUtfProc: Avoid unwanted sign extension when converting incomplete UTF-8 sequences. See [Bug 1908443] for details. file: [4b98d2f245] check-in: [0fc4d3a006] user: jenglish branch: trunk, size: 102540
2008-05-11
04:22
merge updates from HEAD file: [2b70687838] check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 102538
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: [3b96be0fa6] check-in: [2d205c22fb] user: dkf branch: trunk, size: 102533
2008-03-13
14:47
merge updates from HEAD file: [4f980ed4be] check-in: [6aa4ae8390] user: dgp branch: core-stabilizer-branch, size: 102536
14:37
merge updates from HEAD file: [fa96f55d4f] check-in: [d4d838591f] user: dgp branch: dgp-refactor, size: 102537
2008-03-11
22:25
* generic/tclEncoding.c (LoadEscapeEncoding): avoid leaking escape sub-encodings, fixes encoding-11.1 failing after iso2022-jp loaded (e.g. TESTFLAGS='-singleproc 1 -match "chan-io-1.8 encoding-11.1"').
file: [088d5a145b] check-in: [c689d9cd87] user: das branch: trunk, size: 102532
2007-12-13
15:22
merge stable branch onto HEAD file: [007362294d] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 102359
2007-11-12
20:40
merge updates from HEAD file: [54fa55522b] check-in: [27f428842c] user: dgp branch: dgp-refactor, size: 102364
19:18
merge updates from HEAD file: [c514adae5a] check-in: [72c5ac9502] user: dgp branch: core-stabilizer-branch, size: 102363
2007-11-06
15:23
* generic/tclEncoding.c: Version of the embedded iso8859-1 encoding handler that is faster (functions to do the encoding know exactly what they're doing instead of pulling it from a table, though the table itself has to be retained for use by shift encodings that depend on iso8859-1.) [Patch 1826906], committing for dkf.
file: [321a563e6e] check-in: [14fb4a7947] user: msofer branch: trunk, size: 102362
2007-11-01
16:55
merge updates from HEAD file: [25663f34d0] check-in: [06cf57e4eb] user: dgp branch: dgp-refactor, size: 96805
16:25
merge updates from HEAD file: [69700db318] check-in: [cd5e32c829] user: dgp branch: core-stabilizer-branch, size: 96804
2007-10-28
00:40
Embed the definition of the iso8859-1 encoding directly in Tcl. file: [1658836ce7] check-in: [a9ff6c820e] user: dkf branch: trunk, size: 96800
2007-04-19
19:16
merge updates from HEAD file: [9c1df80fa9] check-in: [8840f48041] user: dgp branch: dgp-refactor, size: 95455
2007-04-17
14:49
Eliminate use of (VOID*) casts when calling memset or memcpy. file: [d6236b12e4] check-in: [45b4948945] user: dkf branch: trunk, size: 95450
2007-04-11
05:07
Merge updates from HEAD file: [81868854e0] check-in: [ad34ddc649] user: dgp branch: dgp-refactor, size: 95570
2007-04-10
22:14
Don't use C++ keywords file: [c559a60ddf] check-in: [f786756b85] user: dkf branch: trunk, size: 95565
16:27
merge updates from HEAD file: [33e4588109] check-in: [c49d7b4587] user: dgp branch: dgp-refactor, size: 95564
14:47
Handle creation of Tcl_Objs from constant strings better (easier to use, more efficient). After [Patch 1529526] (afredd) file: [4f484ca42d] check-in: [4d69119aad] user: dkf branch: trunk, size: 95559
2007-04-08
14:58
Merge updates from HEAD; may not build file: [b6d60baee9] check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 95546
2007-02-12
19:25
* generic/tclEncoding.c (EscapeFromUtfProc): Applied patch supplied by Mo DeJong to fix [Bug 1516109]. Backport from Tcl 8.5. Mo's description: Clear the TCL_ENCODING_END flag when end bytes are written. This fix keep this method from writing escape bytes for an encoding like iso2022-jp multiple times when the escape byte overlap with the end of the IO buffer. * tests/io.test: Add test case for escape byte overlap case. file: [d712563eae] check-in: [e60b642838] user: andreas_kupries branch: core-8-4-branch, size: 93599
2006-12-27
01:25
* generic/tclEncoding.c (EscapeFromUtfProc): Clear the TCL_ENCODING_END flag when end bytes are written. This fix keep this method from writing escape bytes for an encoding like iso2022-jp multiple times when the escape byte overlap with the end of the IO buffer. * tests/io.test: Add test for escape byte overlap issue.
file: [b09716f768] check-in: [72947ffa57] user: mdejong branch: trunk, size: 95545
2006-11-13
08:23
* generic/tclCompExpr.c: fix gcc warnings about 'cast to/from * generic/tclEncoding.c: pointer from/to integer of different * generic/tclEvent.c: size' on 64-bit platforms by casting to * generic/tclExecute.c: intermediate types intptr_t/uintptr_t * generic/tclHash.c: via new PTR2INT(), INT2PTR(), * generic/tclIO.c: PTR2UINT() and UINT2PTR() macros. * generic/tclInt.h: [Patch 1592791] * generic/tclProc.c: * generic/tclTest.c: * generic/tclThreadStorage.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/configure.in: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * unix/tclUnixPort.h: * unix/tclUnixTest.c: * unix/tclUnixThrd.c:
* unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
file: [0f4281cf36] check-in: [8562d10e43] user: das branch: trunk, size: 95083
2006-11-02
16:14
Fix some comments, make selected if/while bodies clearer by inserting comments. file: [11b25c4cea] check-in: [3f411d68f0] user: dkf branch: trunk, size: 95059
15:43
Reverted tclEncoding.c commits that caused crashes and failures all over the place. file: [bb94c673e0] check-in: [7e8a141043] user: dgp branch: trunk, size: 95025
15:07
Make better use of the core's internal macros. file: [301668ccdb] check-in: [6139d12b45] user: dkf branch: trunk, size: 94484
14:37
Removed unnecessary casts and reworked some loops for more clarity. file: [97912ab891] check-in: [c3e9524dfd] user: dkf branch: trunk, size: 94602
2006-10-23
21:01
merge updates from HEAD file: [97d7f70b6c] check-in: [1f911d4cbb] user: dgp branch: dgp-refactor, size: 95030
2006-10-06
04:55
(UnicodeToUtfProc): dst must be set to (ch & 0xFF) to work on big endian systems file: [7095bb21d3] check-in: [2296aeb300] user: hobbs branch: trunk, size: 95027
04:55
(UnicodeToUtfProc): dst must be set to (ch & 0xFF) to work on big endian systems file: [8750e414fd] check-in: [1114fb6791] user: hobbs branch: core-8-4-branch, size: 93112
2006-10-05
21:24
* generic/tcl.h: note limitation on changing Tcl_UniChar size * generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc): * tests/encoding.test (encoding-16.1): fix alignment issues in unicode <> utf conversion procs. [Bug 1122671]
file: [c5933653c1] check-in: [b800442074] user: hobbs branch: core-8-4-branch, size: 93105
21:24
* generic/tcl.h: note limitation on changing Tcl_UniChar size * generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc): * tests/encoding.test (encoding-16.1): fix alignment issues in unicode <> utf conversion procs. [Bug 1122671]
file: [41f27044e9] check-in: [fd98919337] user: hobbs branch: trunk, size: 95020
2006-09-26
23:01
TIP 27 changes for Tcl_CreateEncoding file: [bf8a17b66b] check-in: [36d41f9c70] user: kennykb branch: trunk, size: 94817
2006-08-29
16:19
merge updates from HEAD file: [aee5656f6f] check-in: [e1feeec3e7] user: dgp branch: dgp-refactor, size: 94812
2006-08-09
18:12
* generic/tclEncoding.c: Replace buffer copy in for loop with call to memcpy(). Thanks to afredd. [Patch 1530262]
file: [ff5ec991c1] check-in: [7d1d864453] user: dgp branch: core-8-4-branch, size: 92910
18:12
* generic/tclEncoding.c: Replace buffer copy in for loop with call to memcpy(). Thanks to afredd. [Patch 1530262]
file: [ab49d1808a] check-in: [6ff5bab321] user: dgp branch: trunk, size: 94807
2006-04-28
16:09
Merge updates from HEAD file: [710d722425] check-in: [afab2ad07a] user: dgp branch: dgp-refactor, size: 94810
2006-04-05
00:18
* generic/tclIO.c (ReadChars): Added check and panic and commentary to a piece of code which relies on BUFFER_PADDING to create enough space at the beginning of each buffer forthe insertion of partial multi-byte data at the beginning of a buffer. To explain why this code is ok, and as precaution if someone twiddled the BUFFER_PADDING into uselessness.
* generic/tclIO.c (ReadChars): [SF Tcl Bug 1462248]. Added code temporarily suppress the use of TCL_ENCODING_END set when eof was reached while the buffer we are converting is not truly the last buffer in the queue. together with the Utf bug below it was possible to completely bollox the buffer data structures, eventually crashing Tcl.
* generic/tclEncoding.c (UtfToUtfProc): Fixed problem where the function accessed memory beyond the end of the input buffer. When TCL_ENCODING_END is set and the last bytes of the buffer start a multi-byte sequence. This bug contributed to [SF Tcl Bug 1462248].
file: [4a4d14e2d8] check-in: [3f9727b64f] user: andreas_kupries branch: trunk, size: 94817
00:05
* generic/tclIO.c (ReadChars): Added check and panic and commentary to a piece of code which relies on BUFFER_PADDING to create enough space at the beginning of each buffer forthe insertion of partial multi-byte data at the beginning of a buffer. To explain why this code is ok, and as precaution if someone twiddled the BUFFER_PADDING into uselessness.
* generic/tclIO.c (ReadChars): [SF Tcl Bug 1462248]. Added code temporarily suppress the use of TCL_ENCODING_END set when eof was reached while the buffer we are converting is not truly the last buffer in the queue. together with the Utf bug below it was possible to completely bollox the buffer data structures, eventually crashing Tcl.
* generic/tclEncoding.c (UtfToUtfProc): Fixed problem where the function accessed memory beyond the end of the input buffer. When TCL_ENCODING_END is set and the last bytes of the buffer start a multi-byte sequence. This bug contributed to [SF Tcl Bug 1462248].
file: [254037e1a6] check-in: [6dddbc1976] user: andreas_kupries branch: core-8-4-branch, size: 92920
2006-03-24
21:11
revert most recent tclEncoding.c commit. It is suspected to have produced a huge slowdown in encoding.test on Windows. file: [5d5db22836] check-in: [62466e950b] user: dgp branch: trunk, size: 94436
2006-03-13
20:57
* generic/tclEncoding.c: Report error when an escape encoding is missing one of its sub-encodings [Bug 506653].
file: [df4ffc83d2] check-in: [845b07b1ce] user: dgp branch: trunk, size: 94990
20:57
* generic/tclEncoding.c: Report error when an escape encoding is missing one of its sub-encodings [Bug 506653].
file: [6c4a516529] check-in: [6fa2fa8b3b] user: dgp branch: core-8-4-branch, size: 92537
2006-02-09
22:41
Merge udpates from HEAD file: [a38c4b7d2b] check-in: [45fd466049] user: dgp branch: dgp-refactor, size: 94441
2006-02-08
21:41
TIP#258 IMPLEMENTATION
* doc/Encoding.3: New subcommand [encoding dirs]. * doc/encoding.n: New routine Tcl_GetEncodingNameFromEnvironment. * generic/tcl.decls: Made public: * generic/tclBasic.c: TclGetEncodingFromObj * generic/tclCmdAH.c: -> Tcl_GetEncodingFromObj * generic/tclEncoding.c:TclGetEncodingSearchPath * generic/tclInt.decls: -> Tcl_GetEncodingSearchPath * generic/tclInt.h: TclSetEncodingSearchPath * generic/tclTest.c: -> Tcl_SetEncodingSearchPath * library/init.tcl: Removed commands: * tests/cmdAH.test: [tcl::unsupported::EncodingDirs] * tests/encoding.test: [testencoding path] (Tcltest) * unix/tclUnixInit.c: [Patch 1413934]. * win/tclWinInit.c:
* generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c:
file: [419debca77] check-in: [aea60299f7] user: dgp branch: trunk, size: 94436
2005-10-18
20:46
merge updates from HEAD file: [0265230e67] check-in: [2e8613842e] user: dgp branch: dgp-refactor, size: 94429
15:01
ANSIfy function declarations and definitions file: [123f0f95e7] check-in: [ccb2054288] user: dkf branch: trunk, size: 94424
2005-10-05
04:27
* generic/tclIOUtil.c (TclFSNormalizeAbsolutePath): make static * generic/tclEncoding.c (TclFindEncodings): make static
file: [c66d2888dc] check-in: [b4a6dcda6b] user: hobbs branch: core-8-4-branch, size: 91975
2005-09-12
15:40
merge updates from HEAD file: [1d4e7d4992] check-in: [156f19bcaf] user: dgp branch: dgp-refactor, size: 96317
2005-09-09
18:48
[kennykb-numerics-branch] Merge updates from HEAD.
file: [1058a1c5e4] check-in: [343239eeff] user: dgp branch: kennykb-numerics-branch, size: 96316
2005-09-02
19:23
* unix/tclUnixSock.c (InitializeHostName): Synchronized use of static modifier in declaration and definition of function.
* unix/tclUnixChan.c (FileTruncateProc): Synchronized use of static modifier in declaration and definition of function.
* generic/tclResult.c (ReleaseKeys): Synchronized use of static modifier in declaration and definition of function.
* generic/tclListObj.c (NewListIntRep): Synchronized use of static modifier in declaration and definition of function.
* generic/tclEncoding.c (InitializeEncodingSearchPath): Synchronized use of static modifier in declaration and definition of function.
* generic/tclEncoding.c (FillEncodingFileMap): Synchronized use of static modifier in declaration and definition of function.
* generic/tclIORChan.c (RcNewHandle): Synchronized use of static modifier in declaration and definition of function.
file: [31bb1d83e5] check-in: [5b652caf77] user: andreas_kupries branch: trunk, size: 96324
2005-08-02
18:14
merge updates from HEAD file: [de31828ce7] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 96302
2005-07-26
04:11
Merge updates from HEAD file: [bb573c9873] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 96303
2005-07-17
21:17
Getting more systematic about style file: [6eb8e287d3] check-in: [7591df07d6] user: dkf branch: trunk, size: 96298
2005-07-05
21:18
* generic/tclCmdAH.c New "encoding" Tcl_ObjType (not registered) * generic/tclEncoding.c that permits longer lifetimes of the * generic/tclInt.h Tcl_Encoding values kept as intreps of Tcl_Obj's. Reduces the need for repeated reading of encoding definition files from the filesystem. [Bug 1077262]
file: [d14e601adc] check-in: [9e0bc07fda] user: dgp branch: core-8-4-branch, size: 91977
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611)
file: [ac8fc2917e] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 96599
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [92c6caadef] check-in: [1cc2336920] user: kennykb branch: trunk, size: 96596
2005-04-29
22:39
Merge updates from HEAD file: [ed2519e8e4] check-in: [ac63d218d8] user: dgp branch: dgp-refactor, size: 96596
2005-04-25
21:37
Merged with HEAD. file: [f70690028b] check-in: [fcce6158ac] user: kennykb branch: kennykb-numerics-branch, size: 96600
2005-04-12
20:28
* generic/tclInterp.c: Corrected bad syntax of Tcl_Panic() call.
* generic/tclUtil.c (TclGetProcessGlobalValue): More robust handling of bad TclInitProcessGlobalValueProc behavior; an immediate panic rather than a mysterious crash later.
* generic/tclEncoding.c: Several changes to the way the encodingFileMap cache is maintained. Previously, it was attempted to keep the file map filled and up to date with changes in the encoding search path. This contributed to slow startup times since it required an expensive "glob" operation to fill the cache. Now the validity of items in the cache are checked at the time they are used, so the cache is permitted to fall out of sync with the encoding search path. Only [encoding names] and Tcl_GetEncodingNames() now pay the full expense. [Bug 1177363]
file: [095d61241a] check-in: [33d1032cba] user: dgp branch: trunk, size: 96592
2005-04-10
23:14
merged with HEAD and fixed 1180368 file: [5d5743dce7] check-in: [7bc9ca0285] user: kennykb branch: kennykb-numerics-branch, size: 95895
2005-04-08
20:03
* generic/tclInt.h (TclGetEncodingFromObj): New function to * generic/tclEncoding.c (TclGetEncodingFromObj): retrieve a Tcl_Encoding value, as well as cache it in the internal rep of a new "encoding" Tcl_ObjType. * generic/tclCmdAH.c (Tcl_EncodingObjCmd): Updated to call new function so that Tcl_Encoding's used by [encoding convert*] routines are not freed too quickly. [Bug 1077262]
file: [6ccc92f65c] check-in: [3aae24d03c] user: dgp branch: trunk, size: 95887
2005-01-12
21:35
Merge updates from HEAD file: [8a0c6cdfdb] check-in: [4f5327131e] user: dgp branch: dgp-refactor, size: 93532
2004-12-29
22:46
merge from HEAD file: [b49a33529d] check-in: [0a6d56f9eb] user: kennykb branch: kennykb-numerics-branch, size: 93536
2004-12-13
22:11
* generic/tclEncoding.c: Plugged some memory leaks. Thanks to * generic/tclUtil.c: Rolf Ade for reports and testing [Bug 1083082]
file: [93b64b312c] check-in: [87ae9e385a] user: dgp branch: trunk, size: 93528
2004-12-09
23:00
Merge updates from HEAD file: [5ac84b93b8] check-in: [24873008cc] user: dgp branch: dgp-refactor, size: 93501
2004-12-08
18:24
merged with kennykb-numerics-branch-20041208 file: [f197a52a45] check-in: [ab2eb12a79] user: kennykb branch: kennykb-numerics-branch, size: 93505
2004-12-04
21:19
* generic/tclEncoding.c: Different fix for [Bug 1077005]. * generic/tclEvent.c: Broke apart TclpSetInitialEncodings() on * generic/tclInt.h: Windows into TclpSetInterfaces(), that is * unix/tclUnixInit.c: fundamentally essential, and the initialization * win/tclWinInit.c: of the system encoding, which is not. Made the TclpSetInterfaces call part of TclInitSubsystems so it cannot be overlooked.
file: [cadfa792d7] check-in: [288a92f486] user: dgp branch: trunk, size: 93497
2004-12-02
23:24
* generic/tclUtil.c (TclSetProcessGlobalValue): Handle the case where a ProcessGlobalValue might be assigned to itself.
* generic/tclEncoding.c (MakeFileMap): Correct refcounting errors managing values returned by TclPathPart (with refCount of 1!) that led to a memory leak. [Bug 1077474].
file: [5615761fec] check-in: [f3df35d7df] user: dgp branch: trunk, size: 93497
2004-12-01
23:18
* generic/tclUtil.c: Updated Tcl_GetNameOfExecutable() to * generic/tclEncoding.c: make use of a ProcessGlobalValue for * generic/tclEvent.c: storing the executable name. Added internal routines Tcl(Get|Set)ObjNameOfExecutable() to access that storage in Tcl_Obj, rather than string format.
* unix/tclUnixFile.c: Rewrote TclpFindExecutable() to use * win/tclWinFile.c: TclSetObjNameOfExecutable to store the executable name it computes.
* generic/tclInt.h: Added internal stub entries for * generic/tclInt.decls: TclpFindExecutable and Tcl(Get|Set)ObjNameOfExecutable.
* generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* generic/tclCmdIL.c: Retrieve executable name in Tcl_Obj form * win/tclWinPipe.c: instead of string form.
* unix/tclUnixTest.c: Update [testfindexecutable] command to use new internal interfaces.
file: [96cee6f737] check-in: [353036774e] user: dgp branch: trunk, size: 93497
21:58
* generic/tclEncoding.c: Moved TclpSetInitialEncodings() call from Tcl_FindExecutable() into TclInitEncodingSubsystem(). This is important on Windows where it establishes whether the "ascii" or "unicode" set of system routines will be used, and that needs to be done earlier to support filesystem operations. [Bug 1077005]
file: [617a0e2f58] check-in: [ac025ac01b] user: dgp branch: trunk, size: 93553
2004-11-30
19:34
Patch 976520 reworks several of the details involved with startup/initialization of the Tcl library, focused on the activities of Tcl_FindExecutable().
* generic/tclIO.c: Removed bogus claim in comment that encoding "iso8859-1" is "built-in" to Tcl.
* generic/tclInt.h: Created a new struct ProcessGlobalValue, * generic/tclUtil.c: routines Tcl(Get|Set)ProcessGlobalValue, and function type TclInitProcessGlobalValueProc. Together, these take care of the housekeeping for "values" (things that can be held in a Tcl_Obj) that are global across a whole process. That is, they are shared among multiple threads, and epoch and mutex protection must govern the validity of cached copies maintained in each thread.
* generic/tclNotify.c: Modified TclInitNotifier() to tolerate being called multiple times in the same thread.
* generic/tclEvent.c: Dropped the unused argv0 argument to TclInitSubsystems(). Removed machinery to unsure only one TclInitNotifier() call per thread, now that that is safe. Converted Tcl(Get|Set)LibraryPath to use a ProcessGlobalValue, and moved them to tclEncoding.c. * generic/tclBasic.c: Updated caller.
* generic/tclInt.h: TclpFindExecutable now returns void. * unix/tclUnixFile.c: * win/tclWinFile.c: * win/tclWinPipe.c:
* generic/tclEncoding.c: Built new encoding search initialization on a foundation of ProcessGlobalValues, exposing new routines Tcl(Get|Set)EncodingSearchPath. A cache of a map from encoding name to directory pathname keeps track of where encodings are available for loading. Tcl_FindExecutable greatly simplified into just three function calls. The "library path" is now misnamed, as its only remaining purpose is as a foundation for the default encoding search path.
* generic/tclInterp.c: Inlined the initScript that is evaluated by Tcl_Init(). Added verification after initScript evaluation that Tcl can find its installed *.enc files, and that it has initialized [encoding system] in agreement with what the environment expects. [tclInit] no longer driven by the value of $::tcl_libPath; it largely constructs its own search path now, rather than attempt to share one with the encoding system.
* unix/tclUnixInit.c: TclpSetInitialEncodings factored so that a new * win/tclWinInit.c: routine TclpGetEncodingNameFromEnvironment can reveal that Tcl thinks the [encoding system] should be, even when an incomplete encoding search path, or a missing *.enc file won't allow that initialization to succeed. TclpInitLibraryPath reworked as an initializer of a ProcessGlobalValue.
* unix/tclUnixTest.c: Update implementations of [testfindexecutable], [testgetdefenc], and [testsetdefenc].
* tests/unixInit.test: Corrected tests to operate properly even when a value of TCL_LIBRARY is required to find encodings.
* generic/tclInt.decls: New internal stubs: TclGetEncodingSearchPath, TclSetEncodingSearchPath, TclpGetEncodingNameFromEnvironment. These are candidates for public exposure by future TIPs.
* generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* generic/tclTest.c: Updated [testencoding] to use * tests/encoding.test: Tcl(Get|Set)EncodingSearchPath. Updated tests.
file: [aad5ae53e5] check-in: [5b205fd672] user: dgp branch: trunk, size: 93554
2004-11-12
23:42
* generic/tclEncoding.c (TableFromUtfProc): correct crash condition when TCL_UTF_MAX == 6. [Bug 1004065]
file: [bd60c67db7] check-in: [4480f283a8] user: hobbs branch: trunk, size: 89191
23:41
* generic/tclEncoding.c (TableFromUtfProc): correct crash condition when TCL_UTF_MAX == 6. [Bug 1004065]
file: [3e9bd74e6f] check-in: [22220414e2] user: hobbs branch: core-8-4-branch, size: 89536
2004-10-28
18:45
merge updates from HEAD file: [78730fa98e] check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 88983
2004-10-06
20:16
Simplify LoadTableEncoding file: [17df34b9e3] check-in: [28d59eb3e1] user: dkf branch: trunk, size: 88979
14: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: 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: [da33a1e410] check-in: [ee7c709e65] user: dgp branch: trunk, size: 89241
2004-09-08
23:02
Merge updates from HEAD file: [5dbd2b9a8b] check-in: [dff8728918] user: dgp branch: dgp-refactor, size: 89320
2004-06-18
20:38
* generic/tclEncoding.c: Static TclFindEncodings -> FindEncodings. * generic/tclInt.h: Updated TclpFindExecutable() so that failed * generic/tclUtil.c: attempts to find the executable are saved * unix/tclUnixFile.c: just as successful finds are. [Patch 966053] * unix/tclUnixTest.c:
file: [d445ce2dac] check-in: [7cbe86f3c9] user: dgp branch: trunk, size: 89316
2004-05-27
14:33
* generic/tclEncoding.c: * tests/encoding.test: added support and tests for translating embedded null characters between real nullbytes and the internal representation on input/output (Bug #949905). file: [2a18e5c4f1] check-in: [e1ffee2730] user: rmax branch: core-8-4-branch, size: 89325
2004-05-17
18:42
merge updates from HEAD file: [1cf996e279] check-in: [5741c7bde9] user: dgp branch: dgp-refactor, size: 89310
2004-05-07
20:01
* generic/tclEncoding.c: * tests/encoding.test: added support and tests for translating embedded null characters between real nullbytes and the internal representation on input/output (Bug #949905). file: [cdaed303be] check-in: [8f3d0b5efd] user: rmax branch: trunk, size: 89307
2004-05-06
01:04
* generic/tclEncoding.c: Added FreeEncoding(systemEncoding) in TclFinalizeEncodingSubsystem because its ref count was incremented in TclInitEncodingSubsystem. file: [f1d2317f4a] check-in: [13b3a4f5db] user: davygrvy branch: core-8-4-branch, size: 84529
2004-05-05
18:28
(TclFinalizeEncodingSubsystem): FreeEncoding(systemEncoding); moved to before the hash table itereation as it was causing a double free attempt under some conditions. file: [85ce5feb40] check-in: [debd8d0a67] user: davygrvy branch: trunk, size: 84511
2004-05-04
17:44
Merge updates from HEAD. file: [85b26e9246] check-in: [de9c64200c] user: dgp branch: dgp-refactor, size: 84510
2004-04-20
02:15
Added FreeEncoding(systemEncoding) in TclFinalizeEncodingSubsystem because its ref count was incremented in TclInitEncodingSubsystem. file: [5ed6a05dbf] check-in: [1a96071212] user: davygrvy branch: trunk, size: 84511
2004-04-09
20:57
Merge updates from HEAD file: [2ddc2c5d91] check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 84476
2004-04-07
22:04
* win/tclWinInit.c (TclpSetInitialEncodings): note that WIN32_CE is also a unicode platform. * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): * generic/tclInt.h: Correct handling of UTF * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the * win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from paths that contain multi-byte chars on Windows [Bug 920667]
file: [d9e6e7b440] check-in: [3ba3231a5b] user: hobbs branch: trunk, size: 84474
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: [eadf68a9ab] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 83904
2004-03-29
18:49
* generic/tclInt.h: * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): * mac/tclMacInit.c (TclpInitLibraryPath): Correct handling of UTF * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the * win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from paths that contain multi-byte chars on Windows [Bug 920667]
file: [56ed3ea42c] check-in: [9621fb37c5] user: hobbs branch: core-8-4-branch, size: 84492
2004-02-07
05:47
Merge updates from HEAD

Note that this branch currently does not fully support the new {expand} syntax. Updates to TclEvalScriptTokens and TclCompileScriptTokens are still to come. file: [d473cb01ce] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 83929

2003-12-24
04:18
All uses of 'panic' (the macro) changed to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264] file: [3c5325f4c5] check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 83930
2003-11-06
21:47
* tests/unixInit.test (unixInit-2.10): mark as knownBug * generic/tclEncoding.c (TclFindEncodings): revert patch from 2003-11-05. It wasn't valid in the sensitive startup init phase and broke Windows from working at all.
file: [d6367965f6] check-in: [f2c5e28d1f] user: hobbs branch: core-8-4-branch, size: 83927
2003-11-05
20:52
* generic/tclEncoding.c (TclFindEncodings): Normalize the path of the executable before passing to TclpInitLibraryPath() to avoid buggy handling of paths containing "..". [Bug 832657] * tests/unixInit.test (unixInit-2.10): New test for fixed bug.
file: [a46cc605c9] check-in: [421949d855] user: dgp branch: core-8-4-branch, size: 84139
2003-02-21
02:40
* generic/tclEncoding.c (LoadTableEncoding): * library/encoding/cp932.enc: Correct jis round-trip encoding * library/encoding/euc-jp.enc: by adding 'R' type to .enc files. * library/encoding/iso2022-jp.enc: [Patch #689341] (koboyasi, taguchi) * library/encoding/jis0208.enc: * library/encoding/shiftjis.enc: * tests/encoding.test:
file: [4b93bbd0c3] check-in: [3e571abd43] user: hobbs branch: trunk, size: 83923
2002-11-27
02:53
* generic/tclEncoding.c (TclFinalizeEncodingSubsystem): properly cleanup all encodings by using Tcl_FirstHashEntry in the while loop.
file: [d582ace843] check-in: [7395efc7eb] user: hobbs branch: trunk, size: 82745
2002-11-12
02:25
* generic/tclEncoding.c (UtfToUtfProc, UtfToUnicodeProc): (TableFromUtfProc, EscapeFromUtfProc): Use TclUtfToUniChar. (UnicodeToUtfProc, TableToUtfProc): add 1-byte char optimizations for Tcl_UniCharToUtf call. These improve encoded channel conversion speeds by up to 20%.
file: [53bbc379a4] check-in: [82edeac674] user: hobbs branch: trunk, size: 82623
2002-11-05
22:56
* generic/tclParseExpr.c: 'struct ParseInfo'. * generic/tclLink.c: 'struct Link'. * generic/tclEncoding.c: 'struct Encoding', and 'struct EscapeEncodingData'. * generic/tclCmdIL.c: 'struct SortInfo'. * generic/tclIO.h: 'struct ChannelState'. * generic/tclRegexp.h: 'struct TclRegexp'. * generic/tclCompile.h: 'struct CompileEnv', and 'struct ByteCode'. * generic/tclInt.h: 'struct Var', 'struct ByteCodeStats', and 'struct Interp'.
Reordered fields in various structures for better usage of memory (less padding).
file: [4f274f1a4d] check-in: [84a600d5af] user: andreas_kupries branch: mod-8-3-4-branch, size: 83116
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: [9599bb081a] check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 82319
2002-04-18
01:51
* generic/tclEncoding.c (EscapeFromUtfProc): * generic/tclIO.c (WriteChars, Tcl_Close): corrected the handling of outputting end escapes for escape-based encodings. [Bug #526524] (yamamoto)
file: [98ea1a8c65] check-in: [f6c1bdfbf8] user: hobbs branch: trunk, size: 82313
2002-03-11
20:43
* generic/tclEncoding.c: Fix typo in comment. * generic/tclIO.c (DoReadChars, ReadBytes, ReadChars): Use NULL value instead of pointer set to NULL to make things more clear. Reorder arguments so that they match the function signatures. Cleanup little typos and add more descriptive comment.
file: [657b7d646b] check-in: [d89191c5ce] user: mdejong branch: trunk, size: 81803
2002-03-04
22:00
* tests/io.test: * tests/encoding.test: corrected iso2022 encoding results. added encoding-24.* * generic/tclEncoding.c (EscapeFromUtfProc): corrected output of escape codes as per RFC 1468. [Patch #474358] (taguchi) (TclFinalizeEncodingSubsystem): corrected potential double-free when encodings were finalized on exit. [Bug #219314, #524674]
file: [ece7b20ae0] check-in: [2804b06a3e] user: hobbs branch: trunk, size: 81801
2002-02-08
02:52
* Partial TIP 27 rollback. Following routines restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects.
* generic/tclCmdMZ.c: corrected use of C++-style comment.
file: [62e0da5162] check-in: [bb1a244cde] user: dgp branch: trunk, size: 81582
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [2c3e80abc3] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 81602
2002-01-25
20:40
* Updated interfaces of generic/tclEncoding, generic/tclFilename.c, generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath.
file: [53df9ef85a] check-in: [fceed15544] user: dgp branch: trunk, size: 81593
2001-11-28
17:58
* NOTES: New file. Read here about the new modularization macros, interdependencies, implications, etc.
* static.sizes.html: New file. Report on the cuts achieved so far. Regarding the object files only the files which did change in size are reported. Usage of the MODULAR_TCL macro currently cuts about 17 % of the code (measured using strip'ped object files and libraries).
* Changed files so far .. [cut, see changelog for full list]
* Working on modularization of the tcl core.
*************************** **** mod-8-3-4-branch **** ***************************
file: [bb21669576] check-in: [052bbd8095] user: andreas_kupries branch: mod-8-3-4-branch, size: 83115
2001-09-27
13:49
Backing out unwise changes file: [320f8c1ec0] check-in: [4c0c25f627] user: dkf branch: dkf-64bit-support-branch, size: 81567
10:21
Fixes so as to use wide ints for some stat fields, and to add some warnings on areas with non-64bit APIs (mostly dirent handling.) file: [a7a2cd0ed9] check-in: [c8ca0b3b71] user: dkf branch: dkf-64bit-support-branch, size: 82329
2001-09-26
14:23
Now builds on Solaris8/SPARC with both SunPro CC *and* GCC. file: [220d97f157] check-in: [4850711173] user: dkf branch: dkf-64bit-support-branch, size: 82330
2001-09-25
16:49
Woo hoo! Builds on one platform (Solaris8/SPARC with SunPro CC) file: [1cb83dc80e] check-in: [dd2d80954c] user: dkf branch: dkf-64bit-support-branch, size: 82214
2001-09-24
21:10
* Updated APIs in generic/tclUtil.c according to the guidelines of TIP 27. [Patch 464553]
file: [3dec8d9903] check-in: [e70344d226] user: dgp branch: trunk, size: 81569
2001-07-31
19:12
Changes from TIP#17 "Redo Tcl's filesystem"

The following files were impacted.

* doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
file: [e492495285] check-in: [9461aca548] user: vincentdarley branch: trunk, size: 81573
2001-04-03
22:54
see backport log in ChangeLog for specific file backports from 8.4aCVS file: [b48bef991b] check-in: [6defc375da] user: hobbs branch: core-8-3-1-branch, size: 81142
2000-12-08
18:55
Fixing bug #119417 using patch #102496. file: [c4033172d8] check-in: [8d1b4ad9d7] user: andreas_kupries branch: trunk, size: 81148
2000-01-21
02:25
* generic/tclCmdIL.c (InfoBodyCmd): made [info body] return a string if the body has been bytecompiled. * generic/tclBasic.c (Tcl_EvalObjEx): added pedantic check for originating proc body of bytecompiled code, #def'd out as the change for [info body] should make it unnecessary
* tests/set.test: added test for complex array elem name compiling * generic/tclCompCmds.c (TclCompileSetCmd): Fixed parsing of array elements during compiling, and slightly optimised same [Bug: 3889]
file: [ea7982bbc8] check-in: [15c9a98cc9] user: hobbs branch: trunk, size: 79792
1999-12-12
22:46
* doc/glob.n: * tests/fileName.test: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclEncoding.c: * generic/tclFileName.c: * mac/tclMacFile.c: * unix/tclUnixFile.c: * win/tclWinFile.c: enhanced the glob command with the new options -types -path -directory and -join. Deprecated TclpMatchFiles with TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added GlobTypeData structure.
file: [5aefbe2d59] check-in: [c20c742c78] user: hobbs branch: trunk, size: 79762
1999-12-02
02:03
* generic/tcl.decls : * generic/tclMain.c : * unix/tclAppInit.c: * win/tclAppInit.c: Added two new internal functions, TclSetStartupScriptFileName() and TclGetStartupScriptFileName() and added hooks into the main() code for supporting TclPro and other "big" shells more easily without requiring a copy of the main() code.
* generic/tclEncoding.c: * generic/tclEvent.c: Moved encoding-related startup code from tclEvent.c into the more appropriate tclEncoding.c.
file: [f69a2bbb36] check-in: [cafaa4d046] user: redman branch: trunk, size: 79751
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: [23614f15cc] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 77714
1999-04-14
00:33
Fixed comments in code that referred to APIs that no longer exist, were misspelled, or have been updated. file: [947560f69f] check-in: [2d7ffe4998] user: surles branch: core-8-1-branch-old, size: 77718
1999-04-06
04:27
Made internal functions call Tcl_GetCwd & Tcl_Chdir Fixed broken tests due to adding encoding function. file: [e528fdb0bc] check-in: [4ee7449197] user: rjohnson branch: core-8-1-branch-old, size: 77724
02:05
* tests/io.test: Minor test cleanup.

* generic/tclEncoding.c (Tcl_CreateEncoding): Minor lint to make it easier to compile on Digital-unix. [Bug: 1659]

* unix/configure.in: * unix/tclUnixPort.h: Applied patch for OS/390 to handle lack of sys/param.h. [Bug: 1725]

* unix/configure.in: Fixed BSD/OS 4.* configuration to support shared libraries properly. [Bug: 1730] file: [168ef46f82] check-in: [5eb05485f4] user: stanton branch: core-8-1-branch-old, size: 77723

1999-03-25
00:34
fixed compiler errors/warnings on VC++ 5.0/6.0 and HP-UX native compiler without -Aa or -Ae file: [859313b968] check-in: [e1542205dd] user: redman branch: core-8-1-branch-old, size: 77672
1999-03-12
23:47
modified the Tcl_SetDefaultEncodingDir routine to use its own memory when caching the tclDefaultEncodingDir variable. file: [95c1183e36] check-in: [d8e6c3b83e] user: surles branch: core-8-1-branch-old, size: 77676
23:29
Summary ------- 1) Broke the initialization of memory and finding the encodings file into seprarate routines. 2) Added wrapper hooks for locating files and initialization. 3) Modified the library path lookup algorithm.

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

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

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

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

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

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

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

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

1998-12-12
01:36
Minor change to Lock Declarations to use TCL_DECLARE_MUTEX macro, published in tcl.h. file: [ac74b8977b] check-in: [c778c9ef5e] user: lfb branch: core-8-1-branch-old, size: 74779
1998-12-10
21:21
* Fixed lots of files that used TCL_THREAD instead of TCL_THREADS.

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

1998-11-11
04:54
lots of lint wrapped mutex declarations in ifdefs to avoid compiler warnings file: [e4c1c44949] check-in: [9535a849c1] user: stanton branch: core-8-1-branch-old, size: 74448
1998-10-21
20:39
Integrated latest regexp changes from Henry Spencer. Moved regexp related declarations out of tclInt.h and into tclRegexp.h. Added "encoding" command. file: [5b64973975] check-in: [502d826d63] user: stanton branch: core-8-1-branch-old, size: 74415
1998-10-03
01:56
replaced SCCS with RCS strings file: [f045b6e68e] check-in: [c65ae5da0d] user: stanton branch: core-8-1-branch-old, size: 73594
1998-09-21
23:39
Added: Added contents of Tcl 8.1a2 file: [e6785b2082] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 73569