Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8aff043343a008a79740a69457fe69a2823ff0c8
Ticket: 507083ffffffffffffffffffffffffffffffffff
TIP 59 Implementation
User & Date: davygrvy on 2002-02-06 19:37:05
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    I committed a small change to tclConfig.c to handle 
    existing namespaces and not cause a panic.  I don't mean to 
    be disrespectful by committing changes, but branches are 
    play spaces and are easy for sharing.
    
    I played with adding this to an extension, and noticed the 
    panic for this sequence:
    
     Tcl_CreateObjCommand(...);
     Tcl_CreateObjCommand(interp, "winutils::launch", 
    LaunchObjCmd, 0L, 0L);
     Tcl_CreateObjCommand(interp, "winutils::registerservice", 
    RegServiceObjCmd, 0L, 0L);
     Tcl_PkgProvide(interp, "winutils", "0.5");
    
    #if HAVE_TIP59
     Tcl_RegisterConfig(interp, "winutils", cfg, "cp1252");
    #endif
    
    a screen full of success:
    % load winutils05
    % winutils::pkgconfig list
    debug threaded profiled 64bit optimized mem_debug 
    compile_debug compile_stats
    % winutils::pkgconfig get threaded
    1
    % winutils::pkgconfig get debug
    1
    % winutils::pkgconfig get 64bit
    0
    %
    
    Some ideas come to mind like the name of the stubs library 
    and the filename of the public include file should the 
    extension be providing an API.  maybe the man page or 
    helpfile name, too.  URLs, too?  CVS repository?  What else 
    could be stored there?
    
    fun stuff.  I feel I'm on the cutting edge.
    
    Donal,  I was trusting someone's conclusion of find.exe.  
    Does makefile.vc on the HEAD have problems specifying stuff 
    in the OPTS macro?  Someone told me it was hosed for 
    find.exe being broke.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"