| From | Sent On | Attachments |
|---|---|---|
| Hans-Christoph Steiner | Sep 16, 2011 10:05 am | |
| João Pais | Sep 18, 2011 11:08 am | |
| Hans-Christoph Steiner | Sep 18, 2011 12:31 pm | |
| Miller Puckette | Sep 19, 2011 10:25 am | |
| Hans-Christoph Steiner | Sep 19, 2011 10:32 am | |
| András Murányi | Sep 19, 2011 5:02 pm | .tcl |
| Hans-Christoph Steiner | Sep 19, 2011 8:56 pm | |
| IOhannes m zmoelnig | Sep 20, 2011 12:30 am | |
| Andy Farnell | Sep 20, 2011 5:02 am | |
| Hans-Christoph Steiner | Sep 20, 2011 8:46 am | |
| Hans-Christoph Steiner | Sep 20, 2011 8:58 am | |
| Miller Puckette | Sep 20, 2011 11:15 am | |
| Hans-Christoph Steiner | Sep 20, 2011 11:37 am | |
| Miller Puckette | Sep 20, 2011 11:58 am | |
| Hans-Christoph Steiner | Sep 20, 2011 12:02 pm | |
| Hans-Christoph Steiner | Sep 20, 2011 12:33 pm | |
| Jonathan Wilkes | Sep 20, 2011 1:19 pm | |
| Hans-Christoph Steiner | Sep 20, 2011 1:44 pm |
| Subject: | Re: [PD-dev] removing path and libs from Pd-extended preferences GUI | |
|---|---|---|
| From: | Jonathan Wilkes (janc...@yahoo.com) | |
| Date: | Sep 20, 2011 1:19:11 pm | |
| List: | at.iem.pd-dev | |
----- Original Message -----
From: Hans-Christoph Steiner <ha...@at.or.at> To: IOhannes m zmoelnig <zmoe...@iem.at> Cc: pd-...@iem.at Sent: Tuesday, September 20, 2011 11:46 AM Subject: Re: [PD-dev] removing path and libs from Pd-extended preferences GUI
On Tue, 2011-09-20 at 09:31 +0200, IOhannes m zmoelnig wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-09-19 19:32, Hans-Christoph Steiner wrote:
Hey Miller,
I actually think this would make switching between vanilla and extended easier because it would make people use [import] or [declare] to load libs, then when using vanilla, you'll know which libraries the patch needs. Can you think of examples where it would make things more difficult?
so the idea is to have tons of error messages when using pd-vanilla, of the kind: "import zexy... couldn't create" so that the user knows that they have to load the "zexy" library and henceforth ignore the "import zexy" line and only check the remaining "import foobar...couldn't create"?
i seem to remember that there was a recent email saying that "a patch relying on an error" was not to be considered as correct.
Either way, if you open a patch that uses zexy objects in Pd-vanilla, there will be "...couldn't create" errors. Having [import zexy] there at least gives a place to focus on. Or if people are interested in more portability, they are welcome to either use [declare] or "apt-get install puredata-import"
A few questions:
* What's the difference between [import foo] and [declare -lib foo]? Both seem to load the library into the patch's local namespace. * Isn't there an issue between loading a lib in the patch's local namespace and the way the setup routine works globally for a library?
If I have
Patch #1 [import iemguts]
Patch #2
[sendcanvas] <- sendcanvas won't load, because its lib was only loaded for Patch
#1
But if I have
Patch #1 [import iemguts] [sendcanvas]
Patch #2
[sendcanvas] <- this loads, because instantiating [sendcanvas] in Patch #1
loaded the
lib globally
Finally: * why did you develop [import] instead of improving [declare]?
-Jonathan
.hc
_______________________________________________ Pd-dev mailing list Pd-...@iem.at http://lists.puredata.info/listinfo/pd-dev
_______________________________________________ Pd-dev mailing list Pd-...@iem.at http://lists.puredata.info/listinfo/pd-dev






.tcl