Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24296
Modified Files: Tag: desiredata d_soundfile.c desire.c Log Message: remove gfxstub
Index: d_soundfile.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/d_soundfile.c,v retrieving revision 1.4.4.11.2.10.2.1 retrieving revision 1.4.4.11.2.10.2.2 diff -C2 -d -r1.4.4.11.2.10.2.1 -r1.4.4.11.2.10.2.2 *** d_soundfile.c 8 Dec 2006 07:00:25 -0000 1.4.4.11.2.10.2.1 --- d_soundfile.c 19 Dec 2006 18:32:36 -0000 1.4.4.11.2.10.2.2 *************** *** 1506,1510 **** 0., gl->gl_y1, (double)(n > 1 ? n-1 : 1), gl->gl_y2); /* close any dialogs that might have the wrong info now... */ - gfxstub_deleteforkey(gl); } else --- 1506,1509 ---- *************** *** 1754,1758 **** 0., gl->gl_y1, (double)(n > 1 ? n-1 : 1), gl->gl_y2); /* close any dialogs that might have the wrong info now... */ - gfxstub_deleteforkey(gl); } else garray_redraw(x); --- 1753,1756 ---- *************** *** 1858,1862 **** 0., gl->gl_y1, (double)(size > 1 ? size-1 : 1), gl->gl_y2); /* close any dialogs that might have the wrong info now... */ - gfxstub_deleteforkey(gl); } else garray_redraw(x); --- 1856,1859 ----
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.80 retrieving revision 1.1.2.217.2.81 diff -C2 -d -r1.1.2.217.2.80 -r1.1.2.217.2.81 *** desire.c 19 Dec 2006 16:49:01 -0000 1.1.2.217.2.80 --- desire.c 19 Dec 2006 18:32:36 -0000 1.1.2.217.2.81 *************** *** 721,725 **** freebytes(x->ylabel, x->nylabels * sizeof(*(x->ylabel))); gstub_cutoff(x->stub); - gfxstub_deleteforkey(x); /* probably unnecessary */ if (!x->owner) canvas_takeofflist(x); } --- 721,724 ---- *************** *** 1529,1533 **** (double)(style == PLOTSTYLE_POINTS || n == 1 ? n : n-1), gl->y2); /* close any dialogs that might have the wrong info now... */ - gfxstub_deleteforkey(gl); } array_resize_and_redraw(array, n); --- 1528,1531 ---- *************** *** 1651,1655 **** x->listviewing = 1; sprintf(cmdbuf, "pdtk_array_listview_new %%s %s %d\n", x->realname->s_name, 0); - gfxstub_new(x,x,cmdbuf); for (int i=0; i < ARRAYPAGESIZE && i < a->n; i++) { yval = *(float *)(a->vec + elemsize*i + yonset); --- 1649,1652 ---- *************** *** 1681,1685 **** t_pd *x2; if (x->listviewing) garray_arrayviewlist_close(x); - gfxstub_deleteforkey(x); pd_unbind(x,x->realname); /* LATER find a way to get #A unbound earlier (at end of load?) */ --- 1678,1681 ---- *************** *** 2773,2778 **** static void canvas_mergefile(t_canvas *x, t_symbol *filename, t_symbol *format) {canvas_doread(x,filename,format,0);}
! /* read text from a "properties" window, called from a gfxstub set ! up in scalar_properties(). We try to restore the object; if successful we delete the scalar and put the new thing in its place on the list. */ void canvas_dataproperties(t_canvas *x, t_scalar *sc, t_binbuf *b) { --- 2769,2774 ---- static void canvas_mergefile(t_canvas *x, t_symbol *filename, t_symbol *format) {canvas_doread(x,filename,format,0);}
! /* read text from a "properties" window, in answer to scalar_properties(). ! We try to restore the object; if successful we delete the scalar and put the new thing in its place on the list. */ void canvas_dataproperties(t_canvas *x, t_scalar *sc, t_binbuf *b) { *************** *** 3770,3774 **** TEMPLATE_CHECK(x,templatesym,) word_free(x->v, t); - gfxstub_deleteforkey(x); /* the "size" field in the class is zero, so Pd doesn't try to free us automatically (see pd_free()) */ --- 3766,3769 ---- *************** *** 6083,6087 **** static void gatom_free(t_gatom *x) { if (x->rcv) pd_unbind(x, canvas_realizedollar(x->canvas, x->rcv)); - gfxstub_deleteforkey(x); }
--- 6078,6081 ---- *************** *** 6136,6140 **** binbuf_free(x->binbuf); x->binbuf = b; ! /* fake object creation, for simplicity of client, until the "general reply system" comes, if it does */ pd_set_newest(x); } else { --- 6130,6134 ---- binbuf_free(x->binbuf); x->binbuf = b; ! /* fake object creation, for simplicity of client */ pd_set_newest(x); } else { *************** *** 6689,6693 **** static void iemgui_free(t_iemgui *x) { if(x->rcv) pd_unbind(x,x->rcv); - gfxstub_deleteforkey(x); }
--- 6683,6686 ----