Update of /cvsroot/pure-data/externals/miXed/shared/toxy In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23957/shared/toxy
Modified Files: plusbob.c scriptlet.c Log Message: svf~: args parsing; prepend/Append: bang handling; seq: pause, continue, goto; many maxmode changes
Index: plusbob.c =================================================================== RCS file: /cvsroot/pure-data/externals/miXed/shared/toxy/plusbob.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** plusbob.c 10 Dec 2004 20:47:04 -0000 1.2 --- plusbob.c 11 Jan 2005 10:33:21 -0000 1.3 *************** *** 89,98 **** { if (parent->bob_children->bob_prev) ! bug("plusbob_doattach 1"); parent->bob_children->bob_prev = bob; } parent->bob_children = bob; } ! else bug("plusbob_doattach 2"); }
--- 89,98 ---- { if (parent->bob_children->bob_prev) ! loudbug_bug("plusbob_doattach 1"); parent->bob_children->bob_prev = bob; } parent->bob_children = bob; } ! else loudbug_bug("plusbob_doattach 2"); }
*************** *** 104,108 **** { if (bob == bob->bob_parent->bob_children) ! bug("plusbob_dodetach 1"); bob->bob_prev->bob_next = bob->bob_next; } --- 104,108 ---- { if (bob == bob->bob_parent->bob_children) ! loudbug_bug("plusbob_dodetach 1"); bob->bob_prev->bob_next = bob->bob_next; } *************** *** 112,116 **** bob->bob_parent->bob_children = bob->bob_next; } ! else bug("plusbob_dodetach 2"); }
--- 112,116 ---- bob->bob_parent->bob_children = bob->bob_next; } ! else loudbug_bug("plusbob_dodetach 2"); }
*************** *** 180,184 **** plusbob_free(bob); else ! bug("plusbob_release"); } } --- 180,184 ---- plusbob_free(bob); else ! loudbug_bug("plusbob_release"); } } *************** *** 204,210 **** } else if (newparent) ! bug("plusbob_attach 1"); else ! bug("plusbob_attach 2"); }
--- 204,210 ---- } else if (newparent) ! loudbug_bug("plusbob_attach 1"); else ! loudbug_bug("plusbob_attach 2"); }
*************** *** 273,277 **** } else if (plustag_isvalid(tag, caller)) /* print the error there */ ! bug("plustag_validtype"); return (0); } --- 273,277 ---- } else if (plustag_isvalid(tag, caller)) /* print the error there */ ! loudbug_bug("plustag_validtype"); return (0); } *************** *** 295,299 **** } else if (plustag_isvalid(tag, caller)) /* print the error there */ ! bug("plustag_validroot"); return (0); } --- 295,299 ---- } else if (plustag_isvalid(tag, caller)) /* print the error there */ ! loudbug_bug("plustag_validroot"); return (0); } *************** *** 304,308 **** return (((t_plusbob *)tag)->bob_type->tp_name); else if (plustag_isvalid(tag, caller)) /* print the error there */ ! bug("plustag_typename"); return (0); } --- 304,308 ---- return (((t_plusbob *)tag)->bob_type->tp_name); else if (plustag_isvalid(tag, caller)) /* print the error there */ ! loudbug_bug("plustag_typename"); return (0); } *************** *** 313,317 **** return (((t_plusbob *)tag)->bob_root->tp_name); else if (plustag_isvalid(tag, caller)) /* print the error there */ ! bug("plustag_rootname"); return (0); } --- 313,317 ---- return (((t_plusbob *)tag)->bob_root->tp_name); else if (plustag_isvalid(tag, caller)) /* print the error there */ ! loudbug_bug("plustag_rootname"); return (0); }
Index: scriptlet.c =================================================================== RCS file: /cvsroot/pure-data/externals/miXed/shared/toxy/scriptlet.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** scriptlet.c 21 Dec 2004 11:32:12 -0000 1.15 --- scriptlet.c 11 Jan 2005 10:33:21 -0000 1.16 *************** *** 72,76 **** else { ! bug("scriptlet_canvasvalidate"); return (0); } --- 72,76 ---- else { ! loudbug_bug("scriptlet_canvasvalidate"); return (0); } *************** *** 430,434 **** freebytes(sp->s_buffer, sp->s_size * sizeof(*sp->s_buffer)); else ! bug("scriptlet_prealloc"); sp->s_size = SCRIPTLET_INISIZE; sp->s_buffer = sp->s_bufini; --- 430,434 ---- freebytes(sp->s_buffer, sp->s_size * sizeof(*sp->s_buffer)); else ! loudbug_bug("scriptlet_prealloc"); sp->s_size = SCRIPTLET_INISIZE; sp->s_buffer = sp->s_bufini; *************** *** 701,705 **** vp->v_package[plen] = 0; #ifdef SCRIPTLET_DEBUG ! fprintf(stderr, "package "%s"\n", vp->v_package); #endif while (*ptr == ' ' || *ptr == '\t') ptr++; --- 701,705 ---- vp->v_package[plen] = 0; #ifdef SCRIPTLET_DEBUG ! loudbug_post("package "%s"", vp->v_package); #endif while (*ptr == ' ' || *ptr == '\t') ptr++; *************** *** 719,724 **** vp->v_version[vlen] = 0; #ifdef SCRIPTLET_DEBUG ! fprintf(stderr, "version "%s"\n", ! vp->v_version); #endif return (1); --- 719,723 ---- vp->v_version[vlen] = 0; #ifdef SCRIPTLET_DEBUG ! loudbug_post("version "%s"", vp->v_version); #endif return (1); *************** *** 922,926 **** if (!verslet_parse(vp, builtin, 1)) { ! bug("scriptlet_rcload 1"); verslet_free(vp); vp = 0; --- 921,925 ---- if (!verslet_parse(vp, builtin, 1)) { ! loudbug_bug("scriptlet_rcload 1"); verslet_free(vp); vp = 0; *************** *** 935,939 **** else { ! bug("scriptlet_rcload 2"); result = SCRIPTLET_NOFILE; } --- 934,938 ---- else { ! loudbug_bug("scriptlet_rcload 2"); result = SCRIPTLET_NOFILE; }