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

Hans-Christoph Steiner hans at eds.org
Fri Oct 27 07:29:16 CEST 2006

I did a quick check, seems to work again.  Will report again if there  
are problems.

How about the patch that IOhannes submitted a while aback making the  
the astraction-canvas use the prefix and classname?  That is also  
important since it puts objects written in Pd on the same footing at  
C objects.



On Oct 25, 2006, at 5:39 PM, Miller Puckette wrote:

> This should now be fixed in CVS (branch stable_0_40)...
> 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


The arc of history bends towards justice.     - Dr. Martin Luther  
King, Jr.

More information about the Pd-dev mailing list