[PD-dev] Pure-data libraries

2010-07-16 Thread Claude Heiland-Allen

Hey everyone,

I had a chat with Hans on #dataflow about libraries in Pd (as I've been 
trying to get canvas-local namespaces working properly).  Blog post here 
with more info and a link to the log, which I annotated with extra 
information after the fact (the right hand column):


http://claudiusmaximus.goto10.org/cm/2010-07-16_pure-data_libraries.html

I think this list would be a good place to discuss the open questions 
mentioned at the end of the blog post.


Thanks,


Claude
--
http://claudiusmaximus.goto10.org

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] 0.43 meetup on IRC?

2010-07-16 Thread IOhannes zmölnig
hi

On 07/15/2010 10:33 PM, Hans-Christoph Steiner wrote:
 
 We are kind of meeting now a bit, but we should do it tomorrow if you
 can IOhannes.
 

obviously i was safe and sound at home last eveneing when you tried to IRC.


i'm leaving for hols on monday and will probably be offline tomorrow and
the day after tomorrow as well, so today would be a perfect chance to
meet up at IRC (for more than 2 weeks)

19:00UTC is ok

i would prefer 18:00UTC though...



fgmasdr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] pd-gui 0.43: fixed position/size

2010-07-16 Thread IOhannes zmölnig
hi all,

i'm wondering why the geometry (position/size) of the main pd-window is
hard-coded in the new gui.

pdwindow.tcl:257  wm geometry .pdwindow =500x400+20+50

tcl figures out the needed size of the window quite fine for me, but
what annoys me a bit is that the window position is hardcoded.

window managers are usually quite good at finding out, where there is
still place for new windows.
starting several instances of Pd will all force the main window to be on
the same position.

the reason why it annoys me most, is that when i start it Pd, the window
is always hidden behind my terminal (yakuake).

if there is no really good reason, i would opt for removing this line.


fgmasdr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] 0.43 meetup on IRC?

2010-07-16 Thread Miller Puckette
I have an informal meeting showing up at 18:00 UTC, hope to keep it to 1/2
hour, but anyway am on now if that helps :)

M

On Fri, Jul 16, 2010 at 11:50:57AM -0400, Hans-Christoph Steiner wrote:
 
 On Jul 16, 2010, at 4:20 AM, IOhannes zm?lnig wrote:
 
 hi
 
 On 07/15/2010 10:33 PM, Hans-Christoph Steiner wrote:
 
 We are kind of meeting now a bit, but we should do it tomorrow if you
 can IOhannes.
 
 
 obviously i was safe and sound at home last eveneing when you tried  
 to IRC.
 
 
 i'm leaving for hols on monday and will probably be offline tomorrow  
 and
 the day after tomorrow as well, so today would be a perfect chance to
 meet up at IRC (for more than 2 weeks)
 
 19:00UTC is ok
 
 i would prefer 18:00UTC though...
 
 Either 18:00 or 19:00 works for me.  Plus I'll probably be in  
 #dataflow for the next few hours before that anyway.
 
 .hc
 
 
 
 
 I have always wished for my computer to be as easy to use as my  
 telephone; my wish has come true because I can no longer figure out  
 how to use my telephone.  --Bjarne Stroustrup (creator of C++)

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] pd-gui 0.43: fixed position/size

2010-07-16 Thread Hans-Christoph Steiner


I'm not opposed to removing it as long as you are willing to test on  
all platforms (basic X11, GNOME, Mac OSX and Windows).  That's the  
scary part of making changes to GUI things like that.  I did most of  
my development using Mac OS X with X11 so I could run the same code in  
basic X11 and Mac OS X at the same time.  Then I'd do sessions in  
Ubuntu to test there.  Then I did occasional tests on Windows.


.hc

On Jul 16, 2010, at 5:11 AM, IOhannes zmölnig wrote:


hi all,

i'm wondering why the geometry (position/size) of the main pd-window  
is

hard-coded in the new gui.

pdwindow.tcl:257  wm geometry .pdwindow =500x400+20+50

tcl figures out the needed size of the window quite fine for me, but
what annoys me a bit is that the window position is hardcoded.

window managers are usually quite good at finding out, where there is
still place for new windows.
starting several instances of Pd will all force the main window to  
be on

the same position.

the reason why it annoys me most, is that when i start it Pd, the  
window

is always hidden behind my terminal (yakuake).

if there is no really good reason, i would opt for removing this line.


fgmasdr
IOhannes

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev






[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-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] 0.43 omission: 'set-startup' and 'set-path'

2010-07-16 Thread Hans-Christoph Steiner


Hey Miller,

I just noticed that you left out a key part of pd-gui-rewrite in  
0.43.  There is the 'set-startup' and 'set-path' messages which allows  
pd-gui to get the state of those things without having to open the  
respective preference dialog panels. The changes are in m_glob.c and  
s_path.c, as well as these lines in pd-gui.tcl:


pdsend pd set-startup ;# get ::startup_libraries  
and ::startup_flags lists

pdsend pd set-path;# get the ::pd_path list
vwait ::pd_path ;# wait for 'pd' to respond

.hc



We have nothing to fear from love and commitment. - New York Senator  
Diane Savino, trying to convince the NY Senate to pass a gay marriage  
bill



___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] [ pure-data-Bugs-3030822 ] iem_cot~ can't create within vcf_lp2~

2010-07-16 Thread SourceForge.net
Bugs item #3030822, was opened at 2010-07-16 20:41
Message generated for change (Tracker Item Submitted) made by danomatika
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=478070aid=3030822group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dan Wilcox (danomatika)
Assigned to: Nobody/Anonymous (nobody)
Summary: iem_cot~ can't create within vcf_lp2~

Initial Comment:
iem_cot~ can't create when instantiating a vcf_lp2~ object from iemlib. I 
noticed vcf_lp4~ uses iem_cot4~, is this just a typo in the abstraction or is 
iem_cot~ missing? 

I'm on Mac OSX 10.6.4 with pd 0.42.5 RC 4, although I first noticed this 
problem at least a year ago in 0.41 on Ubuntu Linux ...

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=478070aid=3030822group_id=55736

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] 0.43 omission: 'set-startup' and 'set-path'

2010-07-16 Thread Miller Puckette
Hi Hans --

the vwait line didn't seem correct to me (could return right after
Pd says to clear pd_path, before the other messages bubble up to append
the various directories to it).

I ended up fixing Pd to volunteer the path and startup stuff before sending
pdtk_pd_startup so that none of the tcl side of things should be needed
any longer.  OTOH if you were planning to send pd set-startup etc at
some later point in the tcl code, this would need to be supported in Pd...(?)

cheers
Miller

On Fri, Jul 16, 2010 at 03:58:24PM -0400, Hans-Christoph Steiner wrote:
 
 Hey Miller,
 
 I just noticed that you left out a key part of pd-gui-rewrite in  
 0.43.  There is the 'set-startup' and 'set-path' messages which allows  
 pd-gui to get the state of those things without having to open the  
 respective preference dialog panels. The changes are in m_glob.c and  
 s_path.c, as well as these lines in pd-gui.tcl:
 
 pdsend pd set-startup ;# get ::startup_libraries  
 and ::startup_flags lists
 pdsend pd set-path;# get the ::pd_path list
 vwait ::pd_path ;# wait for 'pd' to respond
 
 .hc
 
 
 
 We have nothing to fear from love and commitment. - New York Senator  
 Diane Savino, trying to convince the NY Senate to pass a gay marriage  
 bill
 
 
 ___
 Pd-dev mailing list
 Pd-dev@iem.at
 http://lists.puredata.info/listinfo/pd-dev

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] 0.43 omission: 'set-startup' and 'set-path'

2010-07-16 Thread Hans-Christoph Steiner


Yeah, I added the pd set-startup, etc. stuff to m_glob.c and  
s_path.c.  Regardless of the startup procedure, I think pd-gui should  
be able to request state from pd so it can stay in sync.  A dialog  
shouldn't be required to get this info.  This is akin to IOhannes'  
idea that pd-gui's state should be settable by pd at any point while  
running.


Then it makes sense to reuse the same procedure for getting the state  
in the startup procedure, rather than having a custom method for only  
the startup procedure.


.hc

On Jul 16, 2010, at 10:59 PM, Miller Puckette wrote:


Hi Hans --

the vwait line didn't seem correct to me (could return right after
Pd says to clear pd_path, before the other messages bubble up to  
append

the various directories to it).

I ended up fixing Pd to volunteer the path and startup stuff before  
sending
pdtk_pd_startup so that none of the tcl side of things should be  
needed

any longer.  OTOH if you were planning to send pd set-startup etc at
some later point in the tcl code, this would need to be supported in  
Pd...(?)


cheers
Miller

On Fri, Jul 16, 2010 at 03:58:24PM -0400, Hans-Christoph Steiner  
wrote:


Hey Miller,

I just noticed that you left out a key part of pd-gui-rewrite in
0.43.  There is the 'set-startup' and 'set-path' messages which  
allows

pd-gui to get the state of those things without having to open the
respective preference dialog panels. The changes are in m_glob.c and
s_path.c, as well as these lines in pd-gui.tcl:

   pdsend pd set-startup ;# get ::startup_libraries
and ::startup_flags lists
   pdsend pd set-path;# get the ::pd_path list
   vwait ::pd_path ;# wait for 'pd' to respond

.hc



We have nothing to fear from love and commitment. - New York  
Senator

Diane Savino, trying to convince the NY Senate to pass a gay marriage
bill


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev








Programs should be written for people to read, and only incidentally  
for machines to execute.

 - from Structure and Interpretation of Computer Programs


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev