Hey Federico,
Tclpd is working on Mac OS X, very exciting. I was just going through
your examples, and I wanted to report some errors, some minor, some
major. Which reminds me, do you know about logpost()? It allows you
to post at different levels, like normal, debug, error, etc. For the
"Tcl loader" message that shows with file was loaded, that is debug
info, so it should be posted like:
logpost(NULL, 3, "Tcl loader: %", filename);
If you have a t_class pointer, i.e. t_dynreceive *x, you can add that
instead of NULL, and it'll be a traceable message, i.e. Find menu ->
Find last error...
----------------------------------------
dynreceive-help.pd
Tcl loader: loaded /Applications/Pd-0.43.1-extended-20111009.app/
Contents/Resources/extra/tclpd/examples/dynreceive.tcl
out: loadbang
----------------------------------------
dynroute-help.pd
Tcl loader: loaded /Applications/Pd-0.43.1-extended-20111009.app/
Contents/Resources/extra/tclpd/examples/dynroute.tcl
Tcl class dynroute: inlet 0: no such method: loadbang
----------------------------------------
list_change-help.pd
Tcl loader: loaded /Applications/Pd-0.43.1-extended-20111009.app/
Contents/Resources/extra/tclpd/examples/list_change.tcl
Tcl class list_change: inlet 0: no such method: loadbang
----------------------------------------
bitmap-help.pd
Tcl class bitmap: inlet 0: no such method: loadbang
Tcl class bitmap: inlet 0: no such method: loadbang
Tcl class bitmap: inlet 0: no such method: loadbang
----------------------------------------
bitmap-madness.pd
tclpd error: unknown option '8.0'
(see stderr for details)
bitmap 8 32 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1
1 1 1 1 1 1 0 0 0 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1 1 0 0
0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0
0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0
0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1
1 1 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0
0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0
0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0
0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1
... couldn't create
----------------------------------------
slider2-help.pd
tclpd error: invalid command name "tclpd_get_instance_text"
(see stderr for details)
slider2 -width 130 -height 15 -headsz 3 -rangebottom 0 -rangetop 127
-init 0 -initvalue 95 -jumponclick 0 -label norm -labelpos top -orient
horizontal -sendsymbol empty -receivesymbol empty -fgcolor #000000 -
bgcolor #ffffff -lblcolor #000000
... couldn't create
tclpd error: invalid command name "tclpd_get_instance_text"
(see stderr for details)
slider2 -width 130 -height 15 -headsz 3 -rangebottom 127 -rangetop 0
-init 0 -initvalue 70 -jumponclick 0 -label rev -labelpos top -orient
horizontal -sendsymbol empty -receivesymbol empty -fgcolor #000000 -
bgcolor #ffffff -lblcolor #000000
... couldn't create
tclpd error: invalid command name "tclpd_get_instance_text"
(see stderr for details)
slider2 -width 130 -height 15 -headsz 3 -rangebottom 0 -rangetop 255
-init 0 -initvalue 202.795 -jumponclick 0 -label empty -labelpos top -
orient horizontal -sendsymbol $0.sl-out -receivesymbol $0.sl-in -
fgcolor #000000 -bgcolor #20ca34 -lblcolor #000000
... couldn't create
----------------------------------------------------------------------------
The arc of history bends towards justice. - Dr. Martin Luther
King, Jr.