Revision: 10398
http://pure-data.svn.sourceforge.net/pure-data/?rev=10398&view=rev
Author: zmoelnig
Date: 2008-11-27 15:59:32 +0000 (Thu, 27 Nov 2008)
Log Message:
-----------
renamed [saveargs] to [canvasargs]
Modified Paths:
--------------
trunk/externals/iem/iemguts/examples/gopcanvas.pd
Added Paths:
-----------
trunk/externals/iem/iemguts/help/canvasargs-help.pd
Removed Paths:
-------------
trunk/externals/iem/iemguts/help/saveargs-help.pd
Modified: trunk/externals/iem/iemguts/examples/gopcanvas.pd
===================================================================
--- trunk/externals/iem/iemguts/examples/gopcanvas.pd 2008-11-27 15:57:15 UTC (rev 10397)
+++ trunk/externals/iem/iemguts/examples/gopcanvas.pd 2008-11-27 15:59:32 UTC (rev 10398)
@@ -200,7 +200,7 @@
#X connect 39 1 37 0;
#X connect 39 2 38 0;
#X restore 138 304 pd propertyguts;
-#X obj 223 331 saveargs;
+#X obj 223 331 canvasargs;
#X text 43 37 this is a simple abstraction that displays a canvas via
gop.;
#X text 38 168 the canvas-color can be changed via a properties-panel
Copied: trunk/externals/iem/iemguts/help/canvasargs-help.pd (from rev 10396, trunk/externals/iem/iemguts/help/saveargs-help.pd)
===================================================================
--- trunk/externals/iem/iemguts/help/canvasargs-help.pd (rev 0)
+++ trunk/externals/iem/iemguts/help/canvasargs-help.pd 2008-11-27 15:59:32 UTC (rev 10398)
@@ -0,0 +1,25 @@
+#N canvas 315 241 645 450 10;
+#X text 39 77 usage:;
+#X text 367 336 (c) IOhannes m zmoelnig @ iem \, 2007;
+#X obj 90 43 canvasargs;
+#X text 174 44 manipulate the abstractions arguments (and name) on
+saving;
+#X obj 71 384 canvasargs;
+#X msg 71 281 list 10 20;
+#X msg 91 303 list quite a lot of arguments;
+#X msg 102 340 abstraction1;
+#X msg 118 357 abstraction2 argument1;
+#X text 83 78 put the [canvasargs] in your abstraction;
+#X text 81 114 send a _list_ of new arguments to the [canvasargs];
+#X text 82 130 save the parent patch;
+#X text 83 94 put the abstraction in your parent patch;
+#X text 74 150 --> the parent patch will save your abstraction with
+the arguments you sent to [canvasargs] instead of the original ones;
+#X text 77 203 you can also change the (saved) name of the abstraction
+\, by using a selector other than "list" (and the like).;
+#X text 77 226 take care \, as this can totally change the behaviour
+of your patch (or break it);
+#X connect 5 0 4 0;
+#X connect 6 0 4 0;
+#X connect 7 0 4 0;
+#X connect 8 0 4 0;
Property changes on: trunk/externals/iem/iemguts/help/canvasargs-help.pd
___________________________________________________________________
Added: svn:mergeinfo
+
Deleted: trunk/externals/iem/iemguts/help/saveargs-help.pd
===================================================================
--- trunk/externals/iem/iemguts/help/saveargs-help.pd 2008-11-27 15:57:15 UTC (rev 10397)
+++ trunk/externals/iem/iemguts/help/saveargs-help.pd 2008-11-27 15:59:32 UTC (rev 10398)
@@ -1,25 +0,0 @@
-#N canvas 315 241 645 450 10;
-#X text 39 77 usage:;
-#X text 367 336 (c) IOhannes m zmoelnig @ iem \, 2007;
-#X obj 90 43 saveargs;
-#X text 174 44 manipulate the abstractions arguments (and name) on
-saving;
-#X obj 71 384 saveargs;
-#X msg 71 281 list 10 20;
-#X msg 91 303 list quite a lot of arguments;
-#X msg 102 340 abstraction1;
-#X msg 118 357 abstraction2 argument1;
-#X text 83 78 put the [saveargs] in your abstraction;
-#X text 81 114 send a _list_ of new arguments to the [saveargs];
-#X text 82 130 save the parent patch;
-#X text 83 94 put the abstraction in your parent patch;
-#X text 74 150 --> the parent patch will save your abstraction with
-the arguments you sent to [saveargs] instead of the original ones;
-#X text 77 203 you can also change the (saved) name of the abstraction
-\, by using a selector other than "list" (and the like).;
-#X text 77 226 take care \, as this can totally change the behaviour
-of your patch (or break it);
-#X connect 5 0 4 0;
-#X connect 6 0 4 0;
-#X connect 7 0 4 0;
-#X connect 8 0 4 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
atom_alphabet.c:137: error: 'gfsmPdAtomAlphabet' has no member named 'aa_binbuf'
atom_alphabet.c:137: error: 'gfsmPdAtomAlphabet' has no member named 'aa_binbuf'
atom_alphabet.c:138: error: 'gfsmAlphabet' undeclared (first use in this function)
atom_alphabet.c:138: error: expected expression before ')' token
readdir.c:244: error: 'PACKAGE_VERSION' undeclared (first use in this function)
readdir.c:244: error: (Each undeclared identifier is reported only once
readdir.c:244: error: for each function it appears in.)
weightmap.c:345: error: 'PACKAGE_VERSION' undeclared (first use in this function)
weightmap.c:345: error: (Each undeclared identifier is reported only once
weightmap.c:345: error: for each function it appears in.)
pdstring.c:41: error: expected ',' or ';' before 'PACKAGE_VERSION'
any2string.c:76: error: expected ',' or ';' before 'PACKAGE_VERSION'
string2any.c:59: error: expected ',' or ';' before 'PACKAGE_VERSION'
sprinkler.c:175: error: 'PACKAGE_VERSION' undeclared (first use in this function)
sprinkler.c:175: error: (Each undeclared identifier is reported only once
sprinkler.c:175: error: for each function it appears in.)
configure: error: libquicktime not found
ERROR: module is write only
rsync error: syntax or usage error (code 1) at main.c(641) [sender=2.6.9]
rsync error: error in rsync protocol data stream (code 12) at io.c(453) [receiver=2.6.9]
the full logfile - if it has been succesfully uploaded - can be viewed at:
http://autobuild.puredata.info/auto-build/2008-11-27/logs/2008-11-27_04.30.…
Revision: 10391
http://pure-data.svn.sourceforge.net/pure-data/?rev=10391&view=rev
Author: zmoelnig
Date: 2008-11-26 11:22:02 +0000 (Wed, 26 Nov 2008)
Log Message:
-----------
discard the $0-hack and use the objlist features of iemguts
Modified Paths:
--------------
trunk/externals/iem/iemguts/src/propertybang.c
Modified: trunk/externals/iem/iemguts/src/propertybang.c
===================================================================
--- trunk/externals/iem/iemguts/src/propertybang.c 2008-11-26 11:13:07 UTC (rev 10390)
+++ trunk/externals/iem/iemguts/src/propertybang.c 2008-11-26 11:22:02 UTC (rev 10391)
@@ -28,7 +28,7 @@
*/
-#include "m_pd.h"
+#include "iemguts-objlist.h"
#include "g_canvas.h"
@@ -39,33 +39,25 @@
typedef struct _propertybang
{
t_object x_obj;
- t_symbol *x_d0name;
} t_propertybang;
static void propertybang_free(t_propertybang *x)
{
- pd_unbind(&x->x_obj.ob_pd, x->x_d0name);
+ removeObjectFromCanvases((t_pd*)x);
}
static void propertybang_bang(t_propertybang *x) {
outlet_bang(x->x_obj.ob_outlet);
}
-static void propertybang_properties(t_gobj*z, t_glist*owner) {
- /* argh: z is the abstraction! but we need to access ourselfs!
- * we handle this by binding to a special symbol. e.g. "$0 propertybang"
- * (we use the space between in order to make it hard for the ordinary user
- * to use this symbol for other things...
- */
- /* alternatively we could just search the abstraction for all instances of propertybang_class
- * and bang these;
- * but using the pd_bind-trick is simpler for now
- * though not as sweet, as somebody could use our bind-symbol for other things...
- */
-
- t_symbol*s_d0name=canvas_realizedollar((t_canvas*)z, gensym("$0 propertybang"));
- pd_bang(s_d0name->s_thing);
+static void propertybang_properties(t_gobj*z, t_glist*owner) {
+ t_iemguts_objlist*obj=objectsInCanvas((t_pd*)z);
+ while(objs) {
+ t_propertybang*x=(t_propertybang*)objs->obj;
+ propertybang_bang(x);
+ objs=objs->next;
+ }
}
static void *propertybang_new(void)
@@ -77,10 +69,9 @@
outlet_new(&x->x_obj, &s_bang);
- x->x_d0name=canvas_realizedollar(canvas, gensym("$0 propertybang"));
- pd_bind(&x->x_obj.ob_pd, x->x_d0name);
-
class_setpropertiesfn(class, propertybang_properties);
+
+ addObjectToCanvas((t_pd*)canvas, (t_pd*)x);
return (x);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.