Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1280
Modified Files: Tag: desiredata desire.c Log Message: removed some dead code
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.54 retrieving revision 1.1.2.217.2.55 diff -C2 -d -r1.1.2.217.2.54 -r1.1.2.217.2.55 *** desire.c 12 Dec 2006 23:20:59 -0000 1.1.2.217.2.54 --- desire.c 13 Dec 2006 00:10:01 -0000 1.1.2.217.2.55 *************** *** 3,8 **** This file is part of DesireData. Copyright (c) 2004-2006 by Mathieu Bouchard. Copyright (c) 1997-2005 Miller Puckette. ! Portions by Guenther Geiger, Krzysztof Czaja, Johannes Zmoelnig, Thomas Musil, jsarlo, etc. The remains of IEMGUI Copyright (c) 2000-2001 Thomas Musil (IEM KUG Graz Austria) [dropper] class is Copyright (c) 2004 Carmen Rocco --- 3,10 ---- This file is part of DesireData. Copyright (c) 2004-2006 by Mathieu Bouchard. + Copyright (c) 1997-2005 Miller Puckette. ! Portions Copyright (c) 1997-2005 Miller Puckette, Günter Geiger, Krzysztof Czaja, ! Johannes Zmoelnig, Thomas Musil, Joseph Sarlo, etc. The remains of IEMGUI Copyright (c) 2000-2001 Thomas Musil (IEM KUG Graz Austria) [dropper] class is Copyright (c) 2004 Carmen Rocco *************** *** 58,63 **** #endif
- //#define template templaet - #define class_addmethod3(_cl,_ptr,_str,_sig) class_addmethod2(_cl,(t_method)_ptr,gensym(_str),_sig) #define canvas_each(CHILD,CANVAS) for(t_gobj *CHILD=(CANVAS)->list; CHILD; CHILD=CHILD->g_next) --- 60,63 ---- *************** *** 313,344 **** void manager_nevermind (t_gobj *victim) {queue_nevermind(manager->q,victim);}
- struct t_origin_stack { - t_manager *head; - t_origin_stack *tail; - }; - t_origin_stack origin_stack_pointee = {manager,0}; - t_origin_stack *origin_stack = &origin_stack_pointee; - - //t_manager *origin=0; /* 0 means unknown */ - t_manager *pd_origin() {return origin_stack->head;} - void pd_push_origin(t_manager *orig) { - t_origin_stack *self = new t_origin_stack; - self->head = orig; - self->tail = origin_stack; - origin_stack = self; - } - void pd_pop_origin() { - t_origin_stack *self = origin_stack->tail; - delete origin_stack; - origin_stack = self; - } - extern "C" void manager_anything (t_manager *self, t_symbol *s, int argc, t_atom *argv) { - pd_push_origin(self); binbuf_clear(self->b); binbuf_addv(self->b,"s",s); binbuf_add(self->b,argc,argv); binbuf_eval(self->b,0,0,0); - pd_pop_origin(); }
--- 313,321 ---- *************** *** 1100,1105 **** }
- static t_binbuf *copy_binbuf; - static t_gobj *canvas_nth(t_canvas *x, int n) { canvas_each(y,x) if (!n) return y; else n--; --- 1077,1080 ---- *************** *** 7771,7775 **** class_addmethod3(c,canvas_connect,"connect","ffff"); class_addmethod3(c,canvas_disconnect,"disconnect","ffff"); - copy_binbuf = binbuf_new();
class_addmethod3(c,canvas_write,"write","sS"); --- 7746,7749 ---- *************** *** 8029,8038 **** };
- void glob_evalfile2(t_pd *ignore, t_symbol *name, t_symbol *dir) { - pd_push_origin(0); - glob_evalfile(ignore,name,dir); - pd_pop_origin(); - } - extern t_class *glob_pdobject; extern "C" void glob_init(void) { --- 8003,8006 ---- *************** *** 8046,8050 **** class_addmethod3(c,glob_initfromgui, "init", "*"); class_addmethod3(c,glob_setfilename, "filename", "ss"); ! class_addmethod3(c,glob_evalfile2, "open", "ss"); class_addmethod3(c,glob_quit, "quit", ""); class_addmethod3(c,glob_dsp, "dsp", "*"); --- 8014,8018 ---- class_addmethod3(c,glob_initfromgui, "init", "*"); class_addmethod3(c,glob_setfilename, "filename", "ss"); ! class_addmethod3(c,glob_evalfile, "open", "ss"); class_addmethod3(c,glob_quit, "quit", ""); class_addmethod3(c,glob_dsp, "dsp", "*");