Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2021-03-18
14:56 • Closed ticket [2432057fff]: Another path to case-tolerant package names plus... artifact: b5d9afedb3 user: jan.nijtmans
2014-02-21
19:12 • Ticket [2432057fff]: 1 change artifact: 3312d2860c user: jan.nijtmans
19:06 • Ticket [2432057fff]: 1 change artifact: 771f096857 user: jan.nijtmans
2010-07-27
21:29 • Ticket [2432057fff]: 4 changes artifact: d18ca67bbd user: nijtmans
04:20 • Add attachment 2432057.patch to ticket [2432057fff] artifact: 3299ce4841 user: nijtmans
04:20 • Ticket [2432057fff] Another path to case-tolerant package names status still... artifact: 926d037254 user: nijtmans
04:19 • Ticket [2432057fff]: 4 changes artifact: 877de8b507 user: nijtmans
03:56 • Ticket [2432057fff]: 4 changes artifact: 4165f6d102 user: nijtmans
03:55 • Ticket [2432057fff]: 4 changes artifact: ac486e9d98 user: nijtmans
03:54 • Ticket [2432057fff]: 4 changes artifact: ff36b87ff3 user: nijtmans
2008-12-17
06:03 • Ticket [2432057fff]: 4 changes artifact: b32c8d1e14 user: nijtmans
05:57 • Ticket [2432057fff]: 4 changes artifact: 9c74344917 user: nijtmans
05:56 • Ticket [2432057fff]: 4 changes artifact: b760fe6b56 user: nijtmans
01:48 • Ticket [2432057fff]: 4 changes artifact: 62d0fa0b39 user: dgp
01:46 • Ticket [2432057fff]: 4 changes artifact: b0c9ad6c60 user: dgp
01:34 • Ticket [2432057fff]: 4 changes artifact: 528bd2e866 user: dgp
2008-12-16
19:28 • Ticket [2432057fff]: 4 changes artifact: 618978fe67 user: nijtmans
19:27 • Ticket [2432057fff]: 4 changes artifact: a73041d8b3 user: nijtmans
19:26 • Ticket [2432057fff]: 4 changes artifact: 272c70c2ac user: nijtmans
06:59 • Ticket [2432057fff]: 4 changes artifact: d83b2bc35e user: nijtmans
2008-12-15
23:59 • New ticket [2432057fff]. artifact: 2c5eac8627 user: nijtmans

Another path to case-tolerant package names

Closed / Out of Date2432057fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 6 years ago
Descriptionplain2008-12-15 23:59:55
Here is a patch, meant as a contribution to the TIP #339
followup discussion. It is an alternative, providing 100%
compatibility, solving an easier problem than the original.
In stead of trying to make package handling case-insensitive,
it only tries to handle the situation that a FooBar package
is provided, and then let the core provide a wrapper package
"foobar" which can be "required" in stead of the original.
nijtmansplain2008-12-16 06:59:56
File Added - 305450: tclPkg.c.patch
nijtmansplain2008-12-16 19:26:31
File Deleted - 305450:
nijtmansplain2008-12-16 19:27:13
File Added - 305500: tclPkg.c.patch
nijtmansplain2008-12-16 19:28:29
Uploaded new patch file, in which autoMkindex.test crash is fixed,
apart from that, "package names" doesn't report phony packages any
more, and a few test cases are added.
dgpplain2008-12-17 01:34:43
Patch crashes in autoMkindex-1.2.
dgpplain2008-12-17 01:46:57
Those are big and messy.  Skip them.

Crash in package-compat-1.5 .
dgpplain2008-12-17 01:48:51
oops.  not in it. following it.

I'm giving up.  Wanted to give this
a shot on the assumption it was
ready to go.  If not, I'd rather
take a different tack.
nijtmansplain2008-12-17 05:56:55
File Deleted - 305500:
nijtmansplain2008-12-17 05:57:32
File Added - 305586: tclPkg.c.diff
nijtmansplain2008-12-17 06:03:10
New attempt (there was one Tcl_EventuallyFree() too much ....,
on Windows it didn't crash.)

However, I wouldn't commit this until at least a new TIP handling
this has been accepted. It's too late for Tcl 8.6 anyway, let's
see for Tcl 8.7. I will continue to add more tests, and any
review is welcome (I still don't know what "Those are big and messy.
Skip them" means: this patch is much smaller then anything else
I have seen...... Also curious about the "different track")
nijtmansplain2010-07-27 03:54:29
File Deleted - 305586:
nijtmansplain2010-07-27 03:55:11
File Added - 381219: 2432057.patch
nijtmansplain2010-07-27 03:56:52
Here is a new patch, against current HEAD. And fixed a problem related to
circular dependancies: Phony packages should not be counted on that.

With this version, all test cases pass!
nijtmansplain2010-07-27 04:19:23
File Deleted - 381219:
nijtmansplain2010-07-27 04:20:03
File Added - 381220: 2432057.patch
nijtmansplain2010-07-27 21:29:53
B.T.W: I am not fully confident about this yet. It looks like the auto_mkIndex tool produces two lines for each package with this change. It would be better to modify auto_mkIndex to recognise this situation, and deliver the same output as before.
jan.nijtmans Ticket [2432057fff]: 1 change [History diff]2014-02-21 19:06:32
jan.nijtmans Ticket [2432057fff]: 1 change [History diff]2014-02-21 19:12:07
jan.nijtmanswiki2021-03-18 14:56:52

Being handled now by TIP #595, but in a totally different way. So, closing.

Log in (anonymous is fine) to add a comment.

Attachments: