[PD-dev] BUG: namespace prefixes broken in 0.40

Miller Puckette mpuckett at imusic1.ucsd.edu
Sat Oct 14 19:58:22 CEST 2006


I'll have to think about this one... should be fixable, but might take
some new bookkeeping code to keep different objects disambiguated...

cheers
Miller

On Fri, Oct 13, 2006 at 05:19:00PM -0400, Hans-Christoph Steiner wrote:
> 
> I was just looking into the new canvas-based env and [declare]  
> stuff.  The canvas-specific path stuff is definitely a step in the  
> right direction.  But as it is now, namespace prefixes are totally  
> broken.   It is no longer possible to use [prefix/classname] syntax,  
> which is essential to the namespaces because it is the only way that  
> two classes with the same root classname could be used in the same  
> patch, i.e. like this, where each object is a different class:
> 
> [prepend]
> [cxc/prepend]
> [cyclone/prepend]
> 
> This is because with the new sys_onloadlist() functionality that  
> checks to see whether a class has already been loaded.  It only uses  
> the direct classname, not the prefix also.
> 
> .hc
> 
> ------------------------------------------------------------------------
> 
> "[W]e have invented the technology to eliminate scarcity, but we are  
> deliberately throwing it away to benefit those who profit from  
> scarcity."        -John Gilmore
> 
> 
> 
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev




More information about the Pd-dev mailing list