atom feed31 messages in at.iem.pd-devRe: [PD-dev] uploading Pd git reposit...
FromSent OnAttachments
Miller PucketteJul 11, 2010 8:32 pm 
IOhannes m zmoelnigJul 12, 2010 2:03 am 
Miller PucketteJul 12, 2010 9:21 am 
IOhannes m zmoelnigJul 12, 2010 9:51 am.diff
Hans-Christoph SteinerJul 12, 2010 1:29 pm 
Hans-Christoph SteinerJul 12, 2010 1:38 pm 
Miller PucketteJul 12, 2010 5:28 pm 
Miller PucketteJul 12, 2010 5:40 pm 
IOhannes m zmoelnigJul 12, 2010 11:56 pm 
Miller PucketteJul 13, 2010 5:56 pm 
Stephen SinclairJul 14, 2010 12:02 pm 
Miller PucketteJul 14, 2010 12:08 pm 
Hans-Christoph SteinerJul 14, 2010 1:22 pm 
IOhannes m zmoelnigJul 15, 2010 2:19 am 
IOhannes m zmoelnigJul 15, 2010 2:19 am 
Hans-Christoph SteinerJul 15, 2010 7:05 am 
Hans-Christoph SteinerJul 15, 2010 7:08 am 
IOhannes m zmoelnigJul 15, 2010 7:10 am 
IOhannes m zmoelnigJul 15, 2010 7:12 am 
Hans-Christoph SteinerJul 15, 2010 7:25 am 
Hans-Christoph SteinerJul 15, 2010 7:26 am 
IOhannes zmölnigJul 15, 2010 7:31 am 
Hans-Christoph SteinerJul 15, 2010 7:34 am 
Miller PucketteJul 15, 2010 8:32 am 
Hans-Christoph SteinerJul 15, 2010 9:02 am 
IOhannes zmölnigJul 15, 2010 9:03 am 
IOhannes zmölnigJul 15, 2010 9:07 am 
Hans-Christoph SteinerJul 15, 2010 9:08 am 
Claude Heiland-AllenJul 15, 2010 12:18 pm 
Miller PucketteJul 15, 2010 12:38 pm 
Miller PucketteJul 15, 2010 3:04 pm 
Subject:Re: [PD-dev] uploading Pd git repository to sourceforge
From:Miller Puckette (mpuc@imusic1.ucsd.edu)
Date:Jul 12, 2010 5:40:21 pm
List:at.iem.pd-dev

Hi Hannes --

I'll track down the makefile.am business - it's time I tried the autobuild system anyway.

I didn't see the "[PATCH] only add window-bindings ..." - is it on Source- forge or somewhere else?

thanks M

On Mon, Jul 12, 2010 at 06:51:43PM +0200, IOhannes m zmoelnig wrote:

hi miller.

On 2010-07-12 18:22, Miller Puckette wrote:

Hmm... I hadn't tried the 'new' build but apparently am missing something. I'll try adding HC's Makefile.am and see if I can build it that way over here.

i guess you'll need to add all the Makefile.am's right now (they are scattered over various places in ./src). i'll probably will have a look at that and send you a changeset

I don't get the ".menubar.file" error -- you're in linux, I presume ... could you send the tk backtrace?

did you receive my "[PATCH] only add window-bindings after it has been fully initialized to pdwindow"? there's a fix included in that.

it turned out to be a race-condition, between the initialization of Pd and Pd-gui.

another (simpler, better) fix can be found in the attachment: it's really only checking whether the menu is there before trying to disable entries within the menubar)

anyhow, here is the backtrace: <snip> invalid command name ".menubar.file" invalid command name ".menubar.file" while executing "$menubar.file entryconfigure [_ "Save"] -state disabled" (procedure "::pd_menus::configure_for_pdwindow" line 6) invoked from within "::pd_menus::configure_for_pdwindow " (procedure "::pd_bindings::window_focusin" line 9) invoked from within "::pd_bindings::window_focusin .pdwindow" (command bound to event) </snip>

fgmasdr IOhannes

diff --git a/tcl/pd_menus.tcl b/tcl/pd_menus.tcl index 7157c5e..65f3174 100644 --- a/tcl/pd_menus.tcl +++ b/tcl/pd_menus.tcl @@ -50,6 +50,7 @@ proc ::pd_menus::create_menubar {} {

proc ::pd_menus::configure_for_pdwindow {} { variable menubar + if { ![winfo exists $menubar] } { return } # these are meaningless for the Pd window, so disable them # File menu $menubar.file entryconfigure [_ "Save"] -state disabled