From 4aa3cf590de6c27f0e43be1bb29923097dbf0c96 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 6 Sep 2005 13:22:03 +0000 Subject: some more documentation (proxy objects) last fixes for release fixed send method so that any messages work now svn path=/trunk/; revision=3500 --- externals/grill/dynext/readme.txt | 8 ++++++-- externals/grill/dynext/src/main.cpp | 13 ++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) (limited to 'externals') diff --git a/externals/grill/dynext/readme.txt b/externals/grill/dynext/readme.txt index c4173fed..c501b5da 100755 --- a/externals/grill/dynext/readme.txt +++ b/externals/grill/dynext/readme.txt @@ -5,6 +5,11 @@ For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. +---------------------------------------------------------------------------- + +Attention: dyn~ is bound to the PD version it is compiled for. +This means that you cannot use a version compiled for PD 0.38 with PD 0.39. + ---------------------------------------------------------------------------- You will need the flext C++ layer for PD and Max/MSP externals to compile this. @@ -17,7 +22,7 @@ Please see build.txt in the flext package on how to compile dyn~. BUGS: ----- -- deletion of subcanvases and objects therein is crashy +- deletion of subcanvases and objects therein may be crashy CHANGES: @@ -60,5 +65,4 @@ CHANGES: TODO: -------- -- Hash table for object tags - add mute attribute diff --git a/externals/grill/dynext/src/main.cpp b/externals/grill/dynext/src/main.cpp index f81532e5..faf3f137 100644 --- a/externals/grill/dynext/src/main.cpp +++ b/externals/grill/dynext/src/main.cpp @@ -19,7 +19,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. #error You need at least flext version 0.5.0 #endif -#define DYN_VERSION "0.1.1pre" +#define DYN_VERSION "0.1.1" #if FLEXT_SYS != FLEXT_SYS_PD @@ -212,7 +212,6 @@ private: FLEXT_CALLBACK_V(m_disconnect) FLEXT_CALLBACK_V(m_send) FLEXT_CALLVAR_B(mg_vis,ms_vis) -// FLEXT_CALLBACK(m_refresh) FLEXT_ATTRVAR_B(stripext) FLEXT_ATTRVAR_B(symreuse) @@ -829,13 +828,9 @@ void dyn::m_send(int argc,const t_atom *argv) post("%s - send: object \"%s\" not found",thisName(),GetString(argv[0])); else if(!canvasmsg && o->AsGlist()) post("%s - send: object \"%s\" is an abstraction, please create proxy",thisName(),GetString(argv[0])); - else if(IsSymbol(argv[1])) { - const t_symbol *s = GetSymbol(argv[1]); - if(s == sym_list) - pd_forwardmess((t_pd *)o->object,argc-2,(t_atom *)argv+2); - else - pd_typedmess((t_pd *)o->object,(t_symbol *)s,argc-2,(t_atom *)argv+2); - } + else if(IsSymbol(argv[1])) + // has a tag symbol + pd_typedmess((t_pd *)o->object,(t_symbol *)GetSymbol(argv[1]),argc-2,(t_atom *)argv+2); else // assume it's a list pd_forwardmess((t_pd *)o->object,argc-1,(t_atom *)argv+1); -- cgit v1.2.1