Skip to content
Tcl Source Code View Ticket
Login

View Ticket

TIP 27: tclUtf.c, tclRegExp.c

Closed / Accepted471509ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-10-15 22:00:33
Here's a patch implementing TIP 27 
(CONST-ification of APIs) for the 
files generic/tclUtf.c and
generic/tclRegExp.c. 
It includes necessary changes to docs and 
headers. 

Note in particular that several routines
previously returning (char *) now return
(CONST char *) and this may be a source
incompatibility for the callers as approved
in TIP 27.

Assigned to maintainer for review.
dgpplain2001-10-16 05:00:37
File Added - 12014: tip27.patch
dgpplain2001-10-20 03:43:32
Logged In: YES 
user_id=80530

Note this patch modifies mac/tclMacLoad.c.
There is a new version of Tcl Patch 435658
in the works that will have different
modifications to that file.  It is expected
that after Patch 435658 is integrated in its
final form, there will be no further changes
required to achieve the goals of this patch.

After 435658 is integrated, watch this report
for an updated TIP 27 patch.
dgpplain2001-11-27 01:13:03
File Added - 13812: tip27.patch

Logged In: YES 
user_id=80530

Here's the updated patch, ready for review and commit.
The functional areas affected are:

17. Commands M-Z
24. Channel System
34. Pathname Management
38. Dynamic Loading (comments only)
41. Regexp
42. UTF-8 Strings

Assigning to 24 maintainer to start the reviews.
dgpplain2001-11-27 01:13:04
File Deleted - 12014:
andreas_kupriesplain2001-11-27 09:24:50
Logged In: YES 
user_id=75003

I believe Mo brought this topic up sometime in the past. He
asks us to explicitly spell out each changed file in the
ChangeLog instead of writing glob pattern as that makes
searching (grep, editor) for when a specific file was
touched much easier.

Beyond that I see no problem with the patch.

Assigning to 34 maintainer for review.
dgpplain2001-11-27 11:37:25
Logged In: YES 
user_id=80530

I'll correct the ChangeLog entries for both Tcl and
Tk before commit.
nobodyplain2001-11-27 17:15:00
Logged In: NO 

Looks fine to me for all areas I maintain -- Vince.
vincentdarley Ticket [471509ffff]: 1 change [History diff]2001-11-27 17:17:36
dkfplain2001-11-27 18:22:15
Logged In: YES 
user_id=79902

Looks OK to me for tclCmdMZ.c
dgp Ticket [471509ffff]: 2 changes [History diff]2001-11-27 20:24:44
dgp Ticket [471509ffff]: 2 changes [History diff]2001-11-27 20:28:52
dgpplain2001-12-05 09:13:07
Logged In: YES 
user_id=80530

Jeff's back from vacation...
hobbsplain2002-01-17 02:03:43
Logged In: YES 
user_id=72656

everything appears in order with the patch.
dgpplain2002-01-17 10:46:53
Logged In: YES 
user_id=80530

committed to HEAD (8.4a4)
dkf Ticket [471509ffff]: 3 changes [History diff]2002-02-08 16:06:04
Log in (anonymous is fine) to add a comment.

Attachments: