aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-03-26 23:48:04 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-03-26 23:48:04 +0000
commit1074fd02b0d83cb7d13b1f649e1fab5a371fd634 (patch)
tree28f9f3f8f815932ed0a33c15ad900032a6885ac7
parent6cdf3911055f04f1a2587483513483e1894bf6e1 (diff)
minor cleanups
svn path=/trunk/externals/hcs/; revision=4777
-rw-r--r--TODO27
-rw-r--r--folder_list-help.pd115
-rw-r--r--folder_list.c5
3 files changed, 85 insertions, 62 deletions
diff --git a/TODO b/TODO
index a60413c..3fa820f 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,20 @@
+
+- write [version] object
+ - [bang( outputs list of version major minor bugfix i.e. [0 39 2(
+ - [time( outputs pd_compiletime
+ - [date( outputs pd_compiledate
+ - this should really be handled by messages to Pd, [;pd get date(
+
+
+- [cursor] object
+ - based on [MouseState] and/or [gcanvas]
+ - inlet to control the mouse cursor icon (pointer, X, text select, etc)
+
+
- mDNS objects!
+
- add pan objects to audio basics library
@@ -8,27 +22,36 @@
- standard constants like Pi, etc.
- standard math functions
+
- create networking library
- socket objects
- multicast DNS objects
+
- create mapping library
- move [hid] toolkit objects into mapping lib
-
-- create sensors library
+ - sort thru Cyrille's ds_ objects
- objects for smoothing sensor data
+
- create i/o library
- add hid, comport, platform-specific hid, libusb, midi
+ - convert [hid] to libhid
+ - write [directinput]
+ - [serial]
+ - port numbering on darwin: number /dev/cu.* sequentially
- perhaps specific objects for sensorboxs like the arduino, multio, etc
+
- create standard gui objects lib (what's the name?)
- dsp
- pan
- amp
- create support lib for creating objects in Pd
+ - *_argument objects
- rename blocksize_in_ms to block_size_in_ms
+ - how about "foundation" or "class" or "support"
ifeel.c
diff --git a/folder_list-help.pd b/folder_list-help.pd
index 6d270c6..cbf6822 100644
--- a/folder_list-help.pd
+++ b/folder_list-help.pd
@@ -1,58 +1,57 @@
-#N canvas 254 219 528 563 10;
-#X msg 19 48 bang;
-#X msg 101 320 bang;
-#X obj 64 267 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 175 218 symbol /usr/*;
-#X text 30 5 Get a listing of files based on a "glob" pattern.;
-#X text 55 50 list current directory;
-#X text 159 200 set pattern without no output;
-#X obj 101 351 folder_list;
-#X obj 82 243 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 153 151 patterns default to path Pd launched from;
-#X msg 97 153 symbol *;
-#X text 187 177 relative paths work;
-#X msg 102 178 symbol ../*;
-#X obj 51 440 getdir;
-#X obj 51 482 folder_list;
-#X msg 51 420 bang;
-#X obj 51 504 print;
-#X obj 51 460 makefilename %s/*;
-#X symbolatom 186 456 0 0 0 0 - - -;
-#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 144 97 drive letters work on ReactOS/Windows;
-#X msg 69 97 symbol C:/*;
-#X text 190 128 all files with a dot in your home;
-#X msg 47 73 symbol %USERPROFILE%/*;
-#X text 185 73 On ReactOS/Windows you can use Environment variables
-;
-#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;
+#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;
+#X msg 102 178 symbol ../*;
+#X obj 51 440 getdir;
+#X obj 51 482 folder_list;
+#X msg 51 420 bang;
+#X obj 51 504 print;
+#X obj 51 460 makefilename %s/*;
+#X symbolatom 186 456 0 0 0 0 - - -;
+#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:/*;
+#X text 190 128 all files with a dot in your home;
+#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;
diff --git a/folder_list.c b/folder_list.c
index 9adee97..e189dd2 100644
--- a/folder_list.c
+++ b/folder_list.c
@@ -9,7 +9,7 @@
#include <glob.h>
#endif
-static char *version = "$Revision: 1.5 $";
+static char *version = "$Revision: 1.6 $";
#define DEBUG(x)
//#define DEBUG(x) x
@@ -118,7 +118,8 @@ static void *folder_list_new(t_symbol *s)
t_folder_list *x = (t_folder_list *)pd_new(folder_list_class);
- post("[folder_list] %s, written by Hans-Christoph Steiner <hans@at.or.at>",version);
+ post("[folder_list] %s",version);
+ post("\twritten by Hans-Christoph Steiner <hans@at.or.at>");
/* TODO set current dir of patch as default */
#ifdef _WIN32
x->x_pattern = gensym(getenv("USERPROFILE"));