Re: [PD] pdp_opencv pix_opencv new development

2008-04-26 Thread husk
Thank you lluis!
this is very usefull, you know!
It was a littlebit hard compile it but ok (path's problems). I'll test 
it next weeks and try to help you
but, what about pdp_v4l2 object that you can find in some of the 
pdp_opencv help files?
with this object i could use finally my (integrated) isight, it should 
be great!
salu2
Husk

[EMAIL PROTECTED] wrote:
 hi all,

 I started a new development for some OpenCV bindigs to PD, I have some  
 objects working but no time to test or implement newones ...

 I want to encourage people to test them and report bugs, features  
 requests, experiences, etc ... and why not, to help coding ...

 Please, note that this is alpha software with known bugs. It runs, and  
 works at least some of the time, but use at your own risk ;) i  
 mean, probably you will need to fight a bit to get them working ...  
 but you also will help a lot with feedback

 ok, here is the URL :
 http://hangar.org/wikis/lab/doku.php?id=start:puredata_opencv

 enjoi  thanks,
 ll

 
 This message was sent using IMP, the Internet Messaging Program.


 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

   


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] contextual pdpedia menu link

2008-04-26 Thread Luke Iannini (pd)
On Fri, Apr 25, 2008 at 12:30 PM, Hans-Christoph Steiner [EMAIL PROTECTED] 
wrote:

  That sounds very useful, I have always missed that, but I don't see
  the patch attached.  I think the patch tracker would be a good place
  for it.  I just got Cmd-M working to minimize, but it is a hack. I
  think that Cmd-M and Cmd-` (to switch between windows) should work
  with a Tk app, but somehow Pd has disabled that.  I can't find where
  tho.

Great that you got minimize working!  I've tried to find the Cmd-`
blocker before as well, but I couldn't find any references to it on Tk
mailing lists etc. so I wasn't sure if it just wasn't supported by Tk.
 It could be emulated with Tk commands, anyways, yea?

  Now that I think about the pdpedia help menu item more, my
  implementation is just a first attempt.  I am not sure whether it is
  the best way to handle it.  Does it do the same thing that you were
  thinking?

The only advantage my method would have conferred was that the menu
item would say Pdpedia for switch~ or what-have-you (to make it
clearer that that is where it would take you), not that big a deal.
What else were you thinking about?

  Also, any interest in taking on the pdpedia context menu item?  I
  think that will require edits to both u_main.tk and g_editor.c, but
  it should be relatively straightforward.

Sure, I don't mind taking it on.  But maybe someone else could chime
in; I don't know if I'd be visiting the Pdpedia entry of patches often
enough to be worth having in the context menu all the time, it will
sort of clutter things and reduce the muscle-memorability of the
menu so that has to be taken into account.  Anyone else have an
opinion on that?

Yea, thinking about it more, I don't know if a link taking you out of
Pd and into a web-browser is the best thing for a context menu where
it could be accidentally clicked (that would drive me nuts after a
couple times I think).

O, and I put the patch for proxy icons in the tracker.

Cheers
Luke

  .hc



  On Apr 25, 2008, at 2:57 AM, Luke Iannini (pd) wrote:

   I mentioned them a week or two ago in another thread; documents in OS
   X usually have a little icon in the titlebar that represents the file
   being edited; you can drag it to get a reference to the file (for
   copying or opening in another application; for Pd files that's awesome
   for dragging to your text editor for editing), or you can right click
   it to get a context menu with the parent folders up to the root (great
   as a reveal in finder function).
  
   I attached a patch that should theoretically add support for them as
   well as properly showing the modified state consistently with the
   rest of OS X apps (which dims the proxy icon and adds a dot in the
   close button).  But I haven't been able to get it to work with Pd
   Vanilla.
  
   I added this to pdtk_canvas_new in my Pd-extended pdtk with static
   arguments and the feature does work, so maybe you can try the patch
   (my build environment still isn't working):
   wm attributes $name -modified 0 -titlepath
   {/Users/LukeIannini/PureData/sft/sft.structhausen.pd}
   (replace the path with an actual file on your machine of course)
  
   Cheers
   Luke
  
   On Thu, Apr 24, 2008 at 8:57 PM, Hans-Christoph Steiner
   [EMAIL PROTECTED] wrote:
  
Oops, sorry, I didn't realize that you were working on it.  You
   still
get credit for the idea :).  I think the pdpedia context menu
   link is
still worth doing.
  
What are proxy icons?
  
.hc
  
  
  
On Apr 24, 2008, at 8:24 PM, Luke Iannini (pd) wrote:
  
   Arr, I finished this two days ago and got caught up with troubles
   recompiling Pd.  Ah well, glad it is done : ).  Thanks for doing it.
   On the upside, I discovered how to get OS X proxy icons working
   in the
   process, so I'll still have something to contribute
   Cheers
   Luke
  
   On Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner
   [EMAIL PROTECTED] wrote:
  
Hey all,
  
I just checked in code to make the Pdpedia link in the Help
   menu try
to find the object name if you are looking at a help patch.  If
   the
help patch is the topmost window, it'll use that object name
   when it
opens the pdpedia and take you directly to that page.  Should
   be in
tomorrow's builds.
  
This got me thinking that there should be a Pdpedia link in the
   popup
menu that currently has Help, Properties, and Open in it...
  
.hc
  
  
  
   ---
   --
   ---

  
[W]e have invented the technology to eliminate scarcity, but
   we are
deliberately throwing it away to benefit those who profit from
scarcity.-John Gilmore
  
  
  
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - http://lists.puredata.info/
   listinfo/pd-list
  
  
  
  
  
   

Re: [PD] pd-msg

2008-04-26 Thread Frank Barknecht
Hallo,
Luigi Rensinghoff hat gesagt: // Luigi Rensinghoff wrote:

 lets say you have an abstraction:
 
 transfer.pd
 
 inside of that there is the core-math object like
 
 exponential_curve or exponential_sigmoid
 
 so it would be cool to just send the argument expoential_curve to  
 the abstraction so this object is created..

You can pass object names as arguments as well! So in transfer.pd just
use [$1], connect it, and call transfer.pd as [transfer
exponential_curve] or [transfer exponential_sigmoid] depending on
which mapping you want to use.

See attachement for a silly example.

Ciao
-- 
 Frank Barknecht _ __footils.org__


meta-help.pd
Description: application/puredata


meta.pd
Description: application/puredata
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] alpha and gemframebuffer

2008-04-26 Thread cyrille henry

hello,

you want to set the background color of the frambuffer to be transparent.
you can send a message color 0 0 0 0 to the gemframbuffer object in order to 
change it's background color.

setting the frambuffer to RGBA (and not RGB)is made with : format RGBA

look at the attachement

cyrille

marius schebella a écrit :

hi,
I am having trouble getting alpha channel work with gemframebuffers. can 
someone look at the patch and see what I am doing wrong?

thanks,
marius.




___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


bg_images_alpha.pd
Description: application/extension-pd
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] contextual pdpedia menu link

2008-04-26 Thread Max Neupert

Am 26.04.2008 um 19:16 schrieb Luke Iannini (pd):
 Great that you got minimize working!  I've tried to find the Cmd-`
 blocker before as well, but I couldn't find any references to it on Tk
 mailing lists etc.

just keep in mind that it's a keyboard layout specific shortcut  
(switching between windows of the same application)
with a german keyboard layout for example it's Cmd- and Cmd-  
because the  is the key right from the left shift key.

m

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] problems compiling pix_opencv in OSX (Was Re: pdp_opencv pix_opencv new development)

2008-04-26 Thread marius schebella
[EMAIL PROTECTED] wrote:

 please, can post what versions of (gem and pd) are you using?

I am using cvs version from 04/16. do you want me to put it online?
these dynamic lib errors seem to be new to gem? at least I did not 
notice them before. maybe some libraries are not statically linked? 
don't know.

 marius, i have two strange behaviors with pix_opencv (probably bugs but 
 as my camera don't work with gem i can't test them well), can you test 
 them and report please ::

you're having problems on osx with the isight?

 1.- strange behavior in pix_opencv_haarcascade, it uses the same code as 
 pdp_opencv_haarcascade but it doesn?t show the same result.

I have not tested pdp_opencv yet, yesterday I only looked at pix_opencv, 
I tried to compile pdp_opencv, but again, get errors.
gcc -I/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include 
-DPD -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -O2 
-funroll-loops -fomit-frame-pointer -ffast-math -g -freg-struct-return 
-Wstrict-prototypes  -DPDP_CV_VERSION=\0.0.1\  -I. 
-I/usr/X11R6/include  -I../include -I../../include 
-I/Users/marius/devel/pd-rsync/pd-extended/pd/src 
-I/usr/local/include/opencv/ -L/usr/local/lib -lcxcore -lcv -lhighgui 
-lcvaux -lml  -o pdp_opencv_threshold.o -c pdp_opencv_threshold.c
In file included from 
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp.h:41,
  from pdp_opencv_threshold.c:28:
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_types.h:50: 
error: two or more data types in declaration specifiers
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_types.h:50: 
warning: useless type name in empty declaration
In file included from 
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp.h:41,
  from pdp_opencv_threshold.c:28:
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_types.h:51:1:
 
warning: true redefined
In file included from /usr/include/dlfcn.h:40,
  from pdp_opencv_threshold.c:26:
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h:37:1: warning: 
this is the location of the previous definition
In file included from 
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp.h:41,
  from pdp_opencv_threshold.c:28:
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_types.h:52:1:
 
warning: false redefined
In file included from /usr/include/dlfcn.h:40,
  from pdp_opencv_threshold.c:26:
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h:38:1: warning: 
this is the location of the previous definition
In file included from 
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp.h:80,
  from pdp_opencv_threshold.c:28:
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:25:27:
 
error: gsl/gsl_block.h: No such file or directory
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:26:28:
 
error: gsl/gsl_vector.h: No such file or directory
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:27:28:
 
error: gsl/gsl_matrix.h: No such file or directory
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:28:26:
 
error: gsl/gsl_blas.h: No such file or directory
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:29:29:
 
error: gsl/gsl_linalg.h: No such file or directory
In file included from 
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp.h:80,
  from pdp_opencv_threshold.c:28:
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:44: 
error: syntax error before ‘gsl_block’
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:44: 
warning: no semicolon at end of struct or union
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:45: 
warning: type defaults to ‘int’ in declaration of ‘vector’
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:45: 
warning: data definition has no type or storage class
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:46: 
error: syntax error before ‘matrix’
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:46: 
warning: type defaults to ‘int’ in declaration of ‘matrix’
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:46: 
warning: data definition has no type or storage class
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:47: 
error: syntax error before ‘perm’
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:47: 
warning: type defaults to ‘int’ in declaration of ‘perm’
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:47: 
warning: data definition has no type or storage class
/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:51: 

[PD] pdp_v4l2 (Was: Re: pdp_opencv pix_opencv new development)

2008-04-26 Thread lluisgomez

here:

http://hangar.org/wikis/lab/doku.php?id=start:puredata_pdvjtools

  you have a patch for the pdp-0.12.5-test-7 sources. adding support  
to some v4l2 devices. Actually only tested with a built-in iSight  
camera on Ubuntu GNU/Linux.



S'està citant husk [EMAIL PROTECTED]:

 Thank you lluis!
 this is very usefull, you know!
 It was a littlebit hard compile it but ok (path's problems). I'll test
 it next weeks and try to help you
 but, what about pdp_v4l2 object that you can find in some of the
 pdp_opencv help files?
 with this object i could use finally my (integrated) isight, it should
 be great!
 salu2
 Husk

 [EMAIL PROTECTED] wrote:
 hi all,

 I started a new development for some OpenCV bindigs to PD, I have some
 objects working but no time to test or implement newones ...

 I want to encourage people to test them and report bugs, features
 requests, experiences, etc ... and why not, to help coding ...

 Please, note that this is alpha software with known bugs. It runs, and
 works at least some of the time, but use at your own risk ;) i
 mean, probably you will need to fight a bit to get them working ...
 but you also will help a lot with feedback

 ok, here is the URL :
 http://hangar.org/wikis/lab/doku.php?id=start:puredata_opencv

 enjoi  thanks,
 ll

 
 This message was sent using IMP, the Internet Messaging Program.


 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management -   
 http://lists.puredata.info/listinfo/pd-list




 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management -   
 http://lists.puredata.info/listinfo/pd-list





This message was sent using IMP, the Internet Messaging Program.


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] tutorial on struct/template usage?

2008-04-26 Thread Nicola Bernardini
Dear all,

thanks for all your replies - and sorry for not having thank you before:
for some reason I am not receiving mail from this list, so I had  to  go
in the archives and find out that Miller and Frank had actually  replied
to me (thanks!).

Miller, the 4.data.structures page is not in my distro - I am  currently
using the vanilla 0.40.2-2 version which comes with  Ubuntu  Hardy,  but
it's not in there :(  I'll  try  to  find  out  why  -  perhaps  there's
something wrong with the package.

Frank, thank you very much - I will study the tutorials, I guess  that's
really what I need.

nicb

-- 
Nicola Bernardini
e-mail: [EMAIL PROTECTED]
http://www.nicolabernardini.info
GPG fingerprint = 6AE6 AF21 E160 D9B3 396E  EBAC 906C CFAE 4D65 D910
Neither MS-Word nor MS-PowerPoint attachments please.

 Fri Apr 25 16:52:11 CEST 2008
 
 They're obscure by design (I'm trying to think of a more straightforward
 design but can't).  Meanwhile, did you find the 4.data.structures
 tutorial in the Pd distribution?
 
 cheers
 Miller

On Fri, Apr 25, 2008 at 11:40:09AM +0200, Nicola Bernardini wrote:
 Dear all,
 
 is it me, or the part on struct/template objects is  rather  obscure  as
 far as documentation goes? I really would  like  to  do  something  with
 these objects, and now I have the occasion to do it, but I am  not  able
 to guess how to do it for the life of me.
 
 Is there a tutorial/howto/whatever somewhere that tackles these  topics?
 I swear I googled around and around with no success before writing.
 
 nicb
 
 -- 
 Nicola Bernardini
 Scuola di Musica Elettronica
 Conservatorio C.Pollini Padova
 e-mail: nicb at sme-ccppd.org
 http://www.conservatoriopollini.it
 http://www.sme-ccppd.org
 http://www.nicolabernardini.info
 GPG fingerprint = 6AE6 AF21 E160 D9B3 396E  EBAC 906C CFAE 4D65 D910
 Neither MS-Word nor MS-PowerPoint attachments please.
 
 ___
 PD-list at iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 Frank Barknecht fbar at footils.org
 Fri Apr 25 18:50:27 CEST 2008
 
 Hallo,
 Nicola Bernardini hat gesagt: // Nicola Bernardini wrote:
 
  is it me, or the part on struct/template objects is  rather  obscure  as
  far as documentation goes? I really would  like  to  do  something  with
  these objects, and now I have the occasion to do it, but I am  not  able
  to guess how to do it for the life of me.
  
  Is there a tutorial/howto/whatever somewhere that tackles these  topics?
  I swear I googled around and around with no success before writing.
 
 Search http://puredata.info/ for  data structures instead of Google.
 
 There are two tutorials that may be useful: An old one by myself: 
 http://puredata.info/community/projects/convention04/lectures/tk-barknecht/tut.tgz/view?searchterm=data%20structures
 (URL in one line) 
 
 And a pdf by Greg Karman here, which I would actually recommend to
 start with: http://puredata.info/Members/ggkarman/Tutoriales
 
 Ciao
 -- 
  Frank Barknecht _ __footils.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] I'm stuck in a corner, please help! RE: [delta~] object was: Re: Cyclone in vanilla?

2008-04-26 Thread Steffen Juul

On 25/04/2008, at 19.25, Steffen Juul wrote:

 On 25/04/2008, at 18.34, Frank Barknecht wrote:
 Hallo,
 Andy Farnell hat gesagt: // Andy Farnell wrote:

 Fundamentally, [z~] is a *very* useful primitive to have

 I think, fundamentally z~ is just delread~/delwrite~ with a different
 way to specify delay times, slightly better performance because it
 doesn't allow many things delread~/delwrite~ can do, and no need
 to employ two objects. Or am I missing something?

 Maybe that your implementation uses an unsupported feature?

I gotta point out that my intention was not to be rude, but rather to  
point out that if, and i may very well be wrong, z~ implementations  
need dynamic patching which is an unsupported feature then its not a  
robust solution hence not the best to add to a printed book.

I'm sorry if i seamed rude, i just tried to be brief.

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd on multi touch

2008-04-26 Thread Ben Carney
Hans,pdlisters,

I would be willing to contribute to a paypal account setup for this
specific reason. I wouldthink that many other pd list-ers out here would do
the same.
anyone want to chime in here? think about connecting patch chords on the
train. with your fingertips



On Thu, Apr 24, 2008 at 9:11 AM, Hans-Christoph Steiner [EMAIL PROTECTED]
wrote:


 Shouldn't be too hard to get Pd running on an iphone.  Getting the GUI
 stuff running on an iPhone is a different story.  That's dependant on
 whether Tcl/Tk runs on the iPhone.  Apparently, someone has done it, I
 haven't tried it.  Also, someone has stepped up and said they are going to
 make Tcl/Tk pure Cocoa on the Mac, so that would make it trivial to get it
 on the iPhone.

 Buy me an iphone and I'll do it :)

 .hc

 On Apr 24, 2008, at 3:41 AM, Ben Carney wrote:

 Hello there all,
  Is there any work being done on getting pd to tun on a multi ouch
 device such as the ipod touch or iphone?
 I think this would be an amazing experience, connecting patch chords with
 a fingertip or stylus

 best,


 --

 Ben C.
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list









 

 It is convenient to imagine a power beyond us because that means we don't
 have to examine our own lives., from The Idols of Environmentalism, by
 Curtis White







-- 

Ben C.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pdp_colorgrid bug

2008-04-26 Thread Hans-Christoph Steiner

On Apr 25, 2008, at 10:26 PM, [EMAIL PROTECTED] wrote:

 Hans-Christoph Steiner [EMAIL PROTECTED] ha escrito:


 On Apr 24, 2008, at 6:33 PM, [EMAIL PROTECTED] wrote:

 S'està citant Hans-Christoph Steiner [EMAIL PROTECTED]:


 On Apr 1, 2008, at 8:13 AM, [EMAIL PROTECTED] wrote:

 Hans-Christoph Steiner wrote:

 Hey Lluis,

 Good to hear that you're working on these objects, they are  
 very   valuable
 contributions that with a little more polish will really  round  
 out Pd's
 capabilities.

 As for updating this, I think pdp_colorgrid is currently part  
 ofYves' pidip
 code directories.

 the new version of colorgrid doesn't need anymore
 to bundle the image (colorgrid.pnm) file in the package,
 but it introduces a new dependency to the tk-img library,
 and i don't know of the availability of this library
 on every platform,
 for now i'm sure it's not listed in pd's dependencies...
 not sure it's the way to go.

 second, when you build pidip from source,
 it defines the path to that image as :
 #define COLORGRID_IMG PWD/patches/images/colorgrid.pnm
 that insure a compiled PIDIP will find the image..

 when it's build in extended, i don't know which path should be  
 given here,
 as i don't know of a standard path for shared files in pd- 
 extended,
 well, basically the simplest thing is to put the right path  
 here in SVN,
 and pidip will keep its way of compiling it.

 How about using the built-in image support?  It means the file  
 has to
 be a GIF, but since the GIF patent has expired, that shouldn't  
 be any
 problem.

 this could be a good solution but GIF can only handle 256  
 indexed  colors, so it's not a good solution for a color picker ;(

 the strange thing here is that if i use the tk command ::

 COLORGRID_SYS_VGUI3(image create photo img%x -data {%s} 
 \n,x,fdata);

 with the fdata being a base64 encoded GIF image it works without   
 the Tk::Img library , but if You try to do the same with a  
 base64  encoded PNM image you will need to load the Img library  
 to get it  work,  with this ::

 sys_gui(package require Img\n);

 otherwise you will get:
 couldn't recognize image data

 it's a really strange thing because PNM is suposed to be also   
 built-in supported by tk ...

 any tips?


 Hmm, strange PNM/PGM should work with tk's built-in 'image'.  I would
 first try making a .pnm file and see if you can get that working.

 it's done. this is how it works in the previous version  
 (pdp_colorgrid)

 Then once that is working, try including it as base64.

 no way ;(

 I'll try asking in the tk mailing list  ...


I find #tcl on freenode is quite helpful too.

.hc






 .hc




 .hc






 --- 
 -

kill your television



 
 This message was sent using IMP, the Internet Messaging Program.



 - 
 ---

 There is no way to peace, peace is the way.   -A.J. Muste



 
 This message was sent using IMP, the Internet Messaging Program.




 


You can't steal a gift. Bird gave the world his music, and if you can  
hear it, you can have it. - Dizzy Gillespie




___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] contextual pdpedia menu link

2008-04-26 Thread Hans-Christoph Steiner

On Apr 26, 2008, at 5:16 AM, Luke Iannini (pd) wrote:

 On Fri, Apr 25, 2008 at 12:30 PM, Hans-Christoph Steiner  
 [EMAIL PROTECTED] wrote:

  That sounds very useful, I have always missed that, but I don't see
  the patch attached.  I think the patch tracker would be a good place
  for it.  I just got Cmd-M working to minimize, but it is a hack. I
  think that Cmd-M and Cmd-` (to switch between windows) should work
  with a Tk app, but somehow Pd has disabled that.  I can't find where
  tho.

 Great that you got minimize working!  I've tried to find the Cmd-`
 blocker before as well, but I couldn't find any references to it on Tk
 mailing lists etc. so I wasn't sure if it just wasn't supported by Tk.
  It could be emulated with Tk commands, anyways, yea?


Yes, I think it would not be too hard.  Basically you just cycle thru  
the window list given from [wm stackorder .] using [raise  
$nextWindow].  Or maybe something like this (in rough Tcl):

bind Cmd-` menu_nextwindow

proc menu_nextwindow {} {
global current_window
$current_window = $current_window + 1 % $window_count
[raise [lindex [wm stackorder .] $current_window]
}

I don't know how to bind to Cmd-` tho or how to get the total window  
count.

  Now that I think about the pdpedia help menu item more, my
  implementation is just a first attempt.  I am not sure whether it is
  the best way to handle it.  Does it do the same thing that you were
  thinking?

 The only advantage my method would have conferred was that the menu
 item would say Pdpedia for switch~ or what-have-you (to make it
 clearer that that is where it would take you), not that big a deal.
 What else were you thinking about?

That does sound much better.  I think you could add that without  
having to edit anything outside of u_main.tk.

  Also, any interest in taking on the pdpedia context menu item?  I
  think that will require edits to both u_main.tk and g_editor.c, but
  it should be relatively straightforward.

 Sure, I don't mind taking it on.  But maybe someone else could chime
 in; I don't know if I'd be visiting the Pdpedia entry of patches often
 enough to be worth having in the context menu all the time, it will
 sort of clutter things and reduce the muscle-memorability of the
 menu so that has to be taken into account.  Anyone else have an
 opinion on that?

 Yea, thinking about it more, I don't know if a link taking you out of
 Pd and into a web-browser is the best thing for a context menu where
 it could be accidentally clicked (that would drive me nuts after a
 couple times I think).

Well, one way to find out is to try it :).  But yeah, it might not  
work out, so perhaps there are better things to do.

 O, and I put the patch for proxy icons in the tracker.

I saw that, I'll check it out when I get a moment.

.hc


 Cheers
 Luke

  .hc



  On Apr 25, 2008, at 2:57 AM, Luke Iannini (pd) wrote:

 I mentioned them a week or two ago in another thread; documents  
 in OS
 X usually have a little icon in the titlebar that represents the  
 file
 being edited; you can drag it to get a reference to the file (for
 copying or opening in another application; for Pd files that's  
 awesome
 for dragging to your text editor for editing), or you can right  
 click
 it to get a context menu with the parent folders up to the root  
 (great
 as a reveal in finder function).

 I attached a patch that should theoretically add support for them as
 well as properly showing the modified state consistently with the
 rest of OS X apps (which dims the proxy icon and adds a dot in the
 close button).  But I haven't been able to get it to work with Pd
 Vanilla.

 I added this to pdtk_canvas_new in my Pd-extended pdtk with static
 arguments and the feature does work, so maybe you can try the patch
 (my build environment still isn't working):
 wm attributes $name -modified 0 -titlepath
 {/Users/LukeIannini/PureData/sft/sft.structhausen.pd}
 (replace the path with an actual file on your machine of course)

 Cheers
 Luke

 On Thu, Apr 24, 2008 at 8:57 PM, Hans-Christoph Steiner
 [EMAIL PROTECTED] wrote:

  Oops, sorry, I didn't realize that you were working on it.  You
 still
  get credit for the idea :).  I think the pdpedia context menu
 link is
  still worth doing.

  What are proxy icons?

  .hc



  On Apr 24, 2008, at 8:24 PM, Luke Iannini (pd) wrote:

 Arr, I finished this two days ago and got caught up with troubles
 recompiling Pd.  Ah well, glad it is done : ).  Thanks for  
 doing it.
 On the upside, I discovered how to get OS X proxy icons working
 in the
 process, so I'll still have something to contribute
 Cheers
 Luke

 On Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner
 [EMAIL PROTECTED] wrote:

  Hey all,

  I just checked in code to make the Pdpedia link in the Help
 menu try
  to find the object name if you are looking at a help patch.  If
 the
  help patch is the topmost window, it'll use that object name
 when it
  opens the pdpedia and take 

[PD] compiling pd in fedora

2008-04-26 Thread Jaime Oliver
hello all,

I am compiling pd in fedora and it all seems to go well until I run pd as
following and get the error. Pd seems to be running, but there is no gui, am
i missing something?:

[EMAIL PROTECTED] bin]# ./pd
priority 98 scheduling enabled.
../bin/pd-gui: error while loading shared libraries: libtk8.5.so: cannot
open shared object file: No such file or directory
priority 96 scheduling enabled.
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...


-- 
Jaime E Oliver LR

[EMAIL PROTECTED]
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list