Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2a5c3df57aebaa5305854f0e95f121eea5f5f2c3
Ticket: 1055216fffffffffffffffffffffffffffffffff
Variable flag reform
User & Date: msofer on 2004-10-27 11:31:12
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Changelog entry of the enclosed patch is:
    
     * generic/tclVar.c: simplification of the variable
    logic; three
    flag masks (VAR_SCALAR, VAR_UNDEFINED and
    VAR_ARGUMENT) are not
    used any longer.
    
    *** POTENTIAL INCOMPATIBILITY ***
    Extensions that include tclInt.h and directly access
    the variable
    flag values will definitely lose binary compatibility
    due to
    changes in some macro definitions. Source
    compatibility may also
    be affected depending on the details, and needs
    reviewing. 
    Extensions that might be impacted include procomp,
    tbcload, itcl and
    xotcl. 
    
    I think that this simplification is important, as it
    makes the handling of variables simpler and faster. The
    changes required to any extension accessing VAR_* flags
    or Tcl(SET|Clear|Is)Var* macros are small and simple.
    
    But I am still somewhat wary of breaking so many
    important extensions. OTOH, when if not in alpha?
    Decisions ...
    
    Requesting comments.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "07. Variables"
  10. title changed to: "Variable flag reform"
  11. type changed to: "Patch"