Update of /cvsroot/pure-data/externals/hcs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12406
Modified Files: folder_list.c folder_list-help.pd Log Message: cleaned up files for release
Index: folder_list-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/folder_list-help.pd,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** folder_list-help.pd 26 Mar 2006 23:48:04 -0000 1.5 --- folder_list-help.pd 27 Mar 2006 03:16:14 -0000 1.6 *************** *** 1,24 **** ! #N canvas 254 219 532 567 10; ! #X msg 19 48 bang; ! #X msg 101 320 bang; #X obj 64 280 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 85 385 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 176 235 symbol /usr/*; ! #X text 30 5 Get a listing of files based on a "glob" pattern.; ! #X text 62 49 list current directory; #X text 160 217 set pattern without no output; ! #X obj 101 351 folder_list; #X obj 83 257 folder_list /*; #X obj 83 278 print; ! #X text 28 29 left/hot inlet gives immediate output using stored path ; ! #X text 49 298 For UNIX people , [folder_list] behaves just like "ls -d1A"; ! #X obj 102 384 print; #X msg 91 126 symbol ~/*.*; ! #X text 153 381 WARNING: the default will change in the future!; ! #X text 165 152 patterns default to path Pd launched from; #X msg 97 153 symbol *; #X text 187 177 relative paths work; --- 1,22 ---- ! #N canvas 536 89 536 571 10; ! #X msg 19 53 bang; ! #X msg 101 323 bang; #X obj 64 280 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 85 388 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 176 235 symbol /usr/*; ! #X text 51 56 list current directory; #X text 160 217 set pattern without no output; ! #X obj 101 354 folder_list; #X obj 83 257 folder_list /*; #X obj 83 278 print; ! #X text 65 39 left/hot inlet gives immediate output using stored path ; ! #X text 49 301 For UNIX people , [folder_list] behaves just like "ls -d1A"; ! #X obj 102 387 print; #X msg 91 126 symbol ~/*.*; ! #X text 153 384 WARNING: the default will change in the future!; #X msg 97 153 symbol *; #X text 187 177 relative paths work; *************** *** 32,36 **** #X symbolatom 186 476 0 0 0 0 - - -; #X text 128 425 What's in the same folder as this patch?; - #X text 186 350 defaults to /; #X text 164 104 drive letters work on ReactOS/Windows; #X msg 77 103 symbol C:/*; --- 30,33 ---- *************** *** 38,57 **** #X msg 40 78 symbol %USERPROFILE%/*; #X text 203 79 ReactOS/Windows environment variables work; ! #X connect 0 0 9 0; ! #X connect 1 0 8 0; ! #X connect 4 0 9 1; ! #X connect 8 0 3 0; ! #X connect 8 0 13 0; ! #X connect 9 0 2 0; ! #X connect 9 0 10 0; ! #X connect 14 0 9 0; ! #X connect 17 0 9 0; ! #X connect 19 0 9 0; ! #X connect 20 0 24 0; ! #X connect 20 0 25 0; ! #X connect 21 0 23 0; ! #X connect 22 0 20 0; ! #X connect 24 0 21 0; ! #X connect 24 0 26 0; ! #X connect 30 0 9 0; ! #X connect 32 0 9 0; --- 35,65 ---- #X msg 40 78 symbol %USERPROFILE%/*; #X text 203 79 ReactOS/Windows environment variables work; ! #X text 186 353 defaults to your home folder; ! #X text 267 200 nested wildcards work on UNIX; ! #X msg 119 199 symbol /var/*/*.log; ! #X text 30 5 Get a listing of files based on a wildcard pattern. On ! UNIX , it follows glob rules , on Windows it follows the cmd.exe ! rules.; ! #X text 165 152 patterns default to path that Pd launched from; ! #X text 274 541 released under the GNU GPL; ! #X text 57 527 (C) Copyright 2006 Hans-Christoph Steiner hans@at.or.at ! ; ! #X connect 0 0 8 0; ! #X connect 1 0 7 0; ! #X connect 4 0 8 1; ! #X connect 7 0 3 0; ! #X connect 7 0 12 0; ! #X connect 8 0 2 0; ! #X connect 8 0 9 0; ! #X connect 13 0 8 0; ! #X connect 15 0 8 0; ! #X connect 17 0 8 0; ! #X connect 18 0 22 0; ! #X connect 18 0 23 0; ! #X connect 19 0 21 0; ! #X connect 20 0 18 0; ! #X connect 22 0 19 0; ! #X connect 22 0 24 0; ! #X connect 27 0 8 0; ! #X connect 29 0 8 0; ! #X connect 33 0 8 0;
Index: folder_list.c =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/folder_list.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** folder_list.c 27 Mar 2006 03:06:29 -0000 1.7 --- folder_list.c 27 Mar 2006 03:16:14 -0000 1.8 *************** *** 1,2 **** --- 1,27 ---- + /* --------------------------------------------------------------------------*/ + /* */ + /* object for getting file listings using wildcard patterns */ + /* Written by Hans-Christoph Steiner hans@at.or.at */ + /* */ + /* Copyright (c) 2006 Hans-Christoph Steiner */ + /* */ + /* This program is free software; you can redistribute it and/or */ + /* modify it under the terms of the GNU General Public License */ + /* as published by the Free Software Foundation; either version 2 */ + /* of the License, or (at your option) any later version. */ + /* */ + /* See file LICENSE for further informations on licensing terms. */ + /* */ + /* This program is distributed in the hope that it will be useful, */ + /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ + /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ + /* GNU General Public License for more details. */ + /* */ + /* You should have received a copy of the GNU General Public License */ + /* along with this program; if not, write to the Free Software Foundation, */ + /* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + /* */ + /* --------------------------------------------------------------------------*/ + #include <m_pd.h>