Menu

#88 namespace prefixes broken

v0.40.2
closed-fixed
9
2007-11-06
2006-10-13
No

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.

Discussion

  • Hans-Christoph Steiner

    simple example patch

     
  • Hans-Christoph Steiner

    • priority: 5 --> 9
     
  • IOhannes m zmölnig

    • status: open --> pending
     
  • IOhannes m zmölnig

    Logged In: YES
    user_id=564396
    Originator: NO

    seems like this has been fixed in 0.41;
    could you confirm this?

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • Hans-Christoph Steiner

    • status: closed --> open
     
  • IOhannes m zmölnig

    demonstration of working namespaces

     
  • IOhannes m zmölnig

    Logged In: YES
    user_id=564396
    Originator: NO

    if you re-open this bug-report, could you please comment on why you do so?

    i attach an example that illustrates that namespaces work in pd-0,41;
    i do not claim that they work in pd-0.40, since they don't;

    afair, it has always been millers policy to fix bugs in new releases rather than maintain old branches.
    File Added: libdirtest.tgz

     
  • IOhannes m zmölnig

    • status: open --> closed-fixed
     
  • Hans-Christoph Steiner

    Logged In: YES
    user_id=27104
    Originator: YES

    This will need to be fixed for the Pd-0.40.3-extended release.

     
  • Hans-Christoph Steiner

    • labels: 680482 --> pd-extended
    • assigned_to: millerpuckette --> eighthave
    • milestone: 648068 --> v0.40.2
    • status: closed-fixed --> open-fixed
     
  • IOhannes m zmölnig

    Logged In: YES
    user_id=564396
    Originator: NO

    i totally agree that it must be fixed for pd-extended (thanks for changing the category)

    however: i just downloaded Pd-0.40.3-extended-20071016-debian-testing-i386.deb from the 2007-10-16 autobuilds, extracted it and ran my testpatch with your Pd version: it worked just fine

    can you confirm on which versions this bug appears?

     
  • Hans-Christoph Steiner

    • status: open-fixed --> closed-fixed
     
  • Hans-Christoph Steiner

    Logged In: YES
    user_id=27104
    Originator: YES

    Tested with Pd-0.40.3-extended-20071105 on Mac OS X and namespace prefixes work as they used to (tho not quite as they should), so I am closing this bug.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB