Tcl Source Code

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

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

History for generic/tclEncoding.c

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 [79614fb8b61983ac8ef30ea8752c310465798fc7|79614fb8b6]: "glob", "encoding system" and encoding-free filesystems file: [3000e67a53] check-in: [1867fdf95b] user: jan.nijtmans branch: trunk, size: 105296
10:55
Fix [79614fb8b61983ac8ef30ea8752c310465798fc7|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 [79614fb8b61983ac8ef30ea8752c310465798fc7|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 <p>add TCL_NOSIZE as internal defined for -1, and use it in a lot of places Ass this function argument should be size_t, not ssize_t (still to be TIPped), something like this will be needed anyway. file: [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