Tcl Library Source Code

View Ticket
Login
Ticket UUID: 1011102
Title: counter - dependent on ncgi & html, not in code, nor docs
Type: Bug Version: None
Submitter: mic42 Created on: 2004-08-18 00:09:59
Subsystem: counter Assigned To: andreas_kupries
Priority: 9 Immediate Severity:
Status: Open Last Modified: 2007-03-21 08:23:32
Resolution: None Closed By:
    Closed on:
Description:
The HTML generation facilities of the counter package
depend on the html and ncgi packages, but do not
require them or check if they are present.

Either the html generation code should be moved out of
the counter package or be protected with appropriate
checks/lazy pkg requires if html generation is used.
User Comments: andreas_kupries added on 2004-09-30 01:59:04:
Logged In: YES 
user_id=75003

IMHO putting this into a separate package would be better.
Note that the code currently accesses counter internals.
Separating the two will force usage of public API, and its
possible extension to meet the generators needs.