Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22152
Modified Files: Tag: desiredata s_path.c desire.c Log Message: removed pd start-path-dialog and pd path-dialog
Index: s_path.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_path.c,v retrieving revision 1.3.4.6.2.8 retrieving revision 1.3.4.6.2.8.2.1 diff -C2 -d -r1.3.4.6.2.8 -r1.3.4.6.2.8.2.1 *** s_path.c 19 Nov 2006 08:02:21 -0000 1.3.4.6.2.8 --- s_path.c 6 Dec 2006 01:23:07 -0000 1.3.4.6.2.8.2.1 *************** *** 516,521 **** }
! /* undo pdtl_encodedialog. This allows dialogs to send spaces, commas, ! dollars, and semis down here. */ t_symbol *sys_decodedialog(t_symbol *s) { --- 516,520 ---- }
! /* undo pdtk_encodedialog. This allows dialogs to send spaces, commas, dollars, and semis down here. */ t_symbol *sys_decodedialog(t_symbol *s) { *************** *** 549,585 **** }
- - /* start a search path dialog window */ - void glob_start_path_dialog(t_pd *dummy) - { - char buf[MAXPDSTRING]; - int i; - t_namelist *nl; - - for (nl = sys_searchpath, i = 0; nl && i < 10; nl = nl->nl_next, i++) - sys_vgui("pd_set pd_path%d "%s"\n", i, nl->nl_string); - for (; i < 10; i++) - sys_vgui("pd_set pd_path%d ""\n", i); - - sprintf(buf, "pdtk_path_dialog %%s %d %d\n", sys_usestdpath, sys_verbose); - gfxstub_new(&glob_pdobject, (void *)glob_start_path_dialog, buf); - } - - /* new values from dialog window */ - void glob_path_dialog(t_pd *dummy, t_symbol *s, int argc, t_atom *argv) - { - int i; - namelist_free(sys_searchpath); - sys_searchpath = 0; - sys_usestdpath = atom_getintarg(0, argc, argv); - sys_verbose = atom_getintarg(1, argc, argv); - for (i = 0; i < argc-2; i++) - { - t_symbol *s = sys_decodedialog(atom_getsymbolarg(i+2, argc, argv)); - if (*s->s_name) - sys_searchpath = namelist_append_files(sys_searchpath, s->s_name); - } - } - /* start a startup dialog window */ void glob_start_startup_dialog(t_pd *dummy) --- 548,551 ----
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.32 retrieving revision 1.1.2.217.2.33 diff -C2 -d -r1.1.2.217.2.32 -r1.1.2.217.2.33 *** desire.c 6 Dec 2006 00:33:29 -0000 1.1.2.217.2.32 --- desire.c 6 Dec 2006 01:23:07 -0000 1.1.2.217.2.33 *************** *** 7841,7846 **** class_addmethod3(c,glob_midi_properties, "midi-properties", "F"); class_addmethod3(c,glob_midi_dialog, "midi-dialog", "*"); - class_addmethod3(c,glob_start_path_dialog,"start-path-dialog", ""); - class_addmethod3(c,glob_path_dialog, "path-dialog", "*"); class_addmethod3(c,glob_start_startup_dialog,"start-startup-dialog", ""); class_addmethod3(c,glob_startup_dialog, "startup-dialog", "*"); --- 7841,7844 ----