Re: [PD] pd-gui-rewrite testing

2010-01-21 Thread Rich E
Does this wish shell in Contents/MacOS have the Tcl/Tk Frameworks built into
it (whether Carbon or Cocoa)?

Its working now, thanks.  Nice method, I have one symlinked to the svn
repository and one for myself to hack on.

cheers,
Rich

On Sun, Jan 17, 2010 at 9:05 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 On Jan 17, 2010, at 3:01 PM, Rich E wrote:



 On Sun, Jan 17, 2010 at 8:07 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 On Jan 17, 2010, at 10:10 AM, Rich E wrote:



 On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner 
 h...@at.or.atwrote:


 On Jan 9, 2010, at 5:37 PM, Rich E wrote:


 Still in OS X 10.6.  I don't have one of these problems with
 Pd-devel-0.43 (dec 15) nightly build, so it must all be because of the
 tk/cocoa version that you mention.  I'm not sure how to report it a tcl
 mailing list, as I don't know where the code is that implements these
 things.

 Does it make sense that the arrow keys are detected differently in
 Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


 Not to me... it should be the same, that's why its worth reporting to
 tcl-mac.  You don't need to know the exact code that's causing the problem.
  I read that list too, so I can fill in the details.  I just don't have
 access to a 10.6 machine these days.

 As for the text color issue in the audio settings, you'll have to point
 me towards what is controlling that.  I'll send you a screenshot after this
 email.


 Check out dialog_audio.tcl.  Its still mostly the original code, so it
 can be scary. ;)

 Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


 If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into
 /Library/Frameworks, it should use them over the build in ones.  But that
 means using the Makefile in packages/darwin_app and running make install.
  For development, I just rename a nighly build as Pd-devel.app then inside
 the package, remove some guts and symlink it to my pd-gui-rewrite/0.43
 sources:

 h...@palatschinken.at.or.at:src  ls -l
 /Applications/Pd-devel.app/Contents/Resources/
 total 152
 lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
 -r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
 -r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
 lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/src/
 dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
 dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
 dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
 -r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
 -r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
 lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/po/
 dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
 lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/


 I like this way of running the newest sources from within the app bundle,
 but I can't get it working yet.  I had to replace the executable in
 Contents/MacOS, but then it cannot find pd-gui.tcl (I removed the bin folder
 in the Resources directory and symlinked it to the pd-gui-rewrite/src/, like
 you did).

 rich



 Literally all I did was:

 - download nightly Pd-devel build
 - cd /path/to/Pd-devel.app/Contents/Resources
 - rm -rf bin
 - ln -s /path/to/pd-gui-rewrite/0.43/src bin
 - ln -s /path/to/pd-gui-rewrite/0.43/po
 - ln -s /path/to/pd-gui-rewrite/0.43/startup

 .hc



 Really.  I do this and the executable in the Contents/MacOS folder is still
 run and not the one in the symlinked directory.  Oh well.


 Ah, ok, I understand now.  The exe in Contents/MacOS is not Pd but the Wish
 Shell, so you want it to run that.  'pd' resides in
 Contents/Resources/bin/pd.  Pd is two processes: 'pd-gui' (i.e. Wish) and
 'pd' (i.e Pd ;)

 .hc


 Rich













 .hc


 I'll use the nightly build in the meantime and let you know what comes
 up.

 -rich

 On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 First off, which platform?  Is this still Mac OS X 10.6?  If so, 10.6
 has a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa for the back
 end rather than Carbon.  Tcl/Tk 8.6 will only use this Cocoa backend, but
 will work on Mac OS X 10.5.  It would be good to flush out these bugs and
 report them to the tcl-mac list so that they can get fixed.

 One thing to try is using one of the nightly builds, which include
 Tcl/Tk 8.5.7/Carbon.  I think they should work on 10.6:
 http://autobuild.puredata.info/auto-build/latest/

  On Nov 16, 2009, at 1:55 PM, Rich E wrote:

  Hi List, Hans,

 I've been using the pd-gui-rewrite-0.43 svn for a couple days now and
 here are some notes I've taken when finding various bugs (is the better 
 sent
 to the pd-dev list?):

 • In Audio Settings, the text in the drop down menus is hardly visible
 because it is very 

Re: [PD] pd-gui-rewrite testing

2010-01-21 Thread Hans-Christoph Steiner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


The Wish program will look thru its Frameworks search path to find the
frameworks.  It something like:
- - look Contents/Frameworks
- - ~/Library/Frameworks
- - /Library/Frameworks
- - /System/Library/Frameworks

.hc

Rich E wrote:
 Does this wish shell in Contents/MacOS have the Tcl/Tk Frameworks built into
 it (whether Carbon or Cocoa)?
 
 Its working now, thanks.  Nice method, I have one symlinked to the svn
 repository and one for myself to hack on.
 
 cheers,
 Rich
 
 On Sun, Jan 17, 2010 at 9:05 PM, Hans-Christoph Steiner h...@at.or.atwrote:
 
 On Jan 17, 2010, at 3:01 PM, Rich E wrote:



 On Sun, Jan 17, 2010 at 8:07 PM, Hans-Christoph Steiner h...@at.or.atwrote:

 On Jan 17, 2010, at 10:10 AM, Rich E wrote:



 On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner 
 h...@at.or.atwrote:

 On Jan 9, 2010, at 5:37 PM, Rich E wrote:


 Still in OS X 10.6.  I don't have one of these problems with
 Pd-devel-0.43 (dec 15) nightly build, so it must all be because of the
 tk/cocoa version that you mention.  I'm not sure how to report it a tcl
 mailing list, as I don't know where the code is that implements these
 things.

 Does it make sense that the arrow keys are detected differently in
 Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


 Not to me... it should be the same, that's why its worth reporting to
 tcl-mac.  You don't need to know the exact code that's causing the problem.
  I read that list too, so I can fill in the details.  I just don't have
 access to a 10.6 machine these days.

 As for the text color issue in the audio settings, you'll have to point
 me towards what is controlling that.  I'll send you a screenshot after this
 email.


 Check out dialog_audio.tcl.  Its still mostly the original code, so it
 can be scary. ;)

 Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


 If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into
 /Library/Frameworks, it should use them over the build in ones.  But that
 means using the Makefile in packages/darwin_app and running make install.
  For development, I just rename a nighly build as Pd-devel.app then 
 inside
 the package, remove some guts and symlink it to my pd-gui-rewrite/0.43
 sources:

 h...@palatschinken.at.or.at:src  ls -l
 /Applications/Pd-devel.app/Contents/Resources/
 total 152
 lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
 -r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
 -r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
 lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/src/
 dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
 dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
 dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
 -r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
 -r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
 lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/po/
 dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
 lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/


 I like this way of running the newest sources from within the app bundle,
 but I can't get it working yet.  I had to replace the executable in
 Contents/MacOS, but then it cannot find pd-gui.tcl (I removed the bin folder
 in the Resources directory and symlinked it to the pd-gui-rewrite/src/, like
 you did).

 rich



 Literally all I did was:

 - download nightly Pd-devel build
 - cd /path/to/Pd-devel.app/Contents/Resources
 - rm -rf bin
 - ln -s /path/to/pd-gui-rewrite/0.43/src bin
 - ln -s /path/to/pd-gui-rewrite/0.43/po
 - ln -s /path/to/pd-gui-rewrite/0.43/startup

 .hc



 Really.  I do this and the executable in the Contents/MacOS folder is still
 run and not the one in the symlinked directory.  Oh well.


 Ah, ok, I understand now.  The exe in Contents/MacOS is not Pd but the Wish
 Shell, so you want it to run that.  'pd' resides in
 Contents/Resources/bin/pd.  Pd is two processes: 'pd-gui' (i.e. Wish) and
 'pd' (i.e Pd ;)

 .hc


 Rich












 .hc


 I'll use the nightly build in the meantime and let you know what comes
 up.

 -rich

 On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner 
 h...@at.or.atwrote:

 First off, which platform?  Is this still Mac OS X 10.6?  If so, 10.6
 has a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa for the back
 end rather than Carbon.  Tcl/Tk 8.6 will only use this Cocoa backend, but
 will work on Mac OS X 10.5.  It would be good to flush out these bugs and
 report them to the tcl-mac list so that they can get fixed.

 One thing to try is using one of the nightly builds, which include
 Tcl/Tk 8.5.7/Carbon.  I think they should work on 10.6:
 http://autobuild.puredata.info/auto-build/latest/

  On Nov 16, 2009, at 1:55 PM, Rich E 

Re: [PD] pd-gui-rewrite testing

2010-01-17 Thread Rich E
On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 On Jan 9, 2010, at 5:37 PM, Rich E wrote:


 Still in OS X 10.6.  I don't have one of these problems with Pd-devel-0.43
 (dec 15) nightly build, so it must all be because of the tk/cocoa version
 that you mention.  I'm not sure how to report it a tcl mailing list, as I
 don't know where the code is that implements these things.

 Does it make sense that the arrow keys are detected differently in
 Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


 Not to me... it should be the same, that's why its worth reporting to
 tcl-mac.  You don't need to know the exact code that's causing the problem.
  I read that list too, so I can fill in the details.  I just don't have
 access to a 10.6 machine these days.

 As for the text color issue in the audio settings, you'll have to point me
 towards what is controlling that.  I'll send you a screenshot after this
 email.


 Check out dialog_audio.tcl.  Its still mostly the original code, so it can
 be scary. ;)

 Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


 If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into
 /Library/Frameworks, it should use them over the build in ones.  But that
 means using the Makefile in packages/darwin_app and running make install.
  For development, I just rename a nighly build as Pd-devel.app then inside
 the package, remove some guts and symlink it to my pd-gui-rewrite/0.43
 sources:

 h...@palatschinken.at.or.at:src  ls -l
 /Applications/Pd-devel.app/Contents/Resources/
 total 152
 lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
 -r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
 -r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
 lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/src/
 dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
 dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
 dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
 -r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
 -r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
 lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/po/
 dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
 lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/


I like this way of running the newest sources from within the app bundle,
but I can't get it working yet.  I had to replace the executable in
Contents/MacOS, but then it cannot find pd-gui.tcl (I removed the bin folder
in the Resources directory and symlinked it to the pd-gui-rewrite/src/, like
you did).

rich


 .hc


 I'll use the nightly build in the meantime and let you know what comes up.

 -rich

 On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 First off, which platform?  Is this still Mac OS X 10.6?  If so, 10.6 has
 a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa for the back end
 rather than Carbon.  Tcl/Tk 8.6 will only use this Cocoa backend, but will
 work on Mac OS X 10.5.  It would be good to flush out these bugs and report
 them to the tcl-mac list so that they can get fixed.

 One thing to try is using one of the nightly builds, which include Tcl/Tk
 8.5.7/Carbon.  I think they should work on 10.6:
 http://autobuild.puredata.info/auto-build/latest/

  On Nov 16, 2009, at 1:55 PM, Rich E wrote:

  Hi List, Hans,

 I've been using the pd-gui-rewrite-0.43 svn for a couple days now and
 here are some notes I've taken when finding various bugs (is the better sent
 to the pd-dev list?):

 • In Audio Settings, the text in the drop down menus is hardly visible
 because it is very light grey


 Never seen that, screenshot?


  • there is a new menu item called 'apple' with about pd and
 preferences


 Known issue with the Tk/Cocoa, haven't found a workaround yet.


  • editing an object name:
 ‣ moving with arrows adds a space to the end, but does not move within
 the object name


 Hmm, can't reproduce, Tk/Cocoa issue?


  • opening about pd gives an error:
 ‣ Error: can't read pd_myversion: no such variable
 ‣ an't read pd_myversion: no such variable
 can't read pd_myversion: no such variable
while executing
 regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
(procedure ::pd_menucommands::menu_opentext line 15)
invoked from within
 ::pd_menucommands::menu_opentext $dirname/$basename
(.txt arm line 1)
invoked from within
 switch -- [string tolower [file extension $basename]] {
.txt{::pd_menucommands::menu_opentext $dirname/$basename
} .c{::...
(procedure menu_doc_open line 4)
invoked from within
 menu_doc_open doc/1.manual 1.introduction.txt
(menu invoke)


 Its not implemented yet...  I was hoping to make About Pd a pd patch.


  I have some time 

Re: [PD] pd-gui-rewrite testing

2010-01-17 Thread Hans-Christoph Steiner


On Jan 17, 2010, at 10:10 AM, Rich E wrote:




On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


On Jan 9, 2010, at 5:37 PM, Rich E wrote:



Still in OS X 10.6.  I don't have one of these problems with Pd- 
devel-0.43 (dec 15) nightly build, so it must all be because of the  
tk/cocoa version that you mention.  I'm not sure how to report it a  
tcl mailing list, as I don't know where the code is that implements  
these things.


Does it make sense that the arrow keys are detected differently in  
Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


Not to me... it should be the same, that's why its worth reporting  
to tcl-mac.  You don't need to know the exact code that's causing  
the problem.  I read that list too, so I can fill in the details.  I  
just don't have access to a 10.6 machine these days.


As for the text color issue in the audio settings, you'll have to  
point me towards what is controlling that.  I'll send you a  
screenshot after this email.


Check out dialog_audio.tcl.  Its still mostly the original code, so  
it can be scary. ;)



Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into /Library/ 
Frameworks, it should use them over the build in ones.  But that  
means using the Makefile in packages/darwin_app and running make  
install.  For development, I just rename a nighly build as Pd- 
devel.app then inside the package, remove some guts and symlink it  
to my pd-gui-rewrite/0.43 sources:


h...@palatschinken.at.or.at:src  ls -l /Applications/Pd-devel.app/ 
Contents/Resources/

total 152
lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
-r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
-r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin - /Users/hans/ 
code/pure-data/branches/pd-gui-rewrite/0.43/src/

dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
-r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
-r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po - /Users/hans/ 
code/pure-data/branches/pd-gui-rewrite/0.43/po/

dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup - /Users/ 
hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/



I like this way of running the newest sources from within the app  
bundle, but I can't get it working yet.  I had to replace the  
executable in Contents/MacOS, but then it cannot find pd-gui.tcl (I  
removed the bin folder in the Resources directory and symlinked it  
to the pd-gui-rewrite/src/, like you did).


rich



Literally all I did was:

- download nightly Pd-devel build
- cd /path/to/Pd-devel.app/Contents/Resources
- rm -rf bin
- ln -s /path/to/pd-gui-rewrite/0.43/src bin
- ln -s /path/to/pd-gui-rewrite/0.43/po
- ln -s /path/to/pd-gui-rewrite/0.43/startup

.hc












.hc


I'll use the nightly build in the meantime and let you know what  
comes up.


-rich

On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner  
h...@at.or.at wrote:


First off, which platform?  Is this still Mac OS X 10.6?  If so,  
10.6 has a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa  
for the back end rather than Carbon.  Tcl/Tk 8.6 will only use this  
Cocoa backend, but will work on Mac OS X 10.5.  It would be good to  
flush out these bugs and report them to the tcl-mac list so that  
they can get fixed.


One thing to try is using one of the nightly builds, which include  
Tcl/Tk 8.5.7/Carbon.  I think they should work on 10.6:

http://autobuild.puredata.info/auto-build/latest/

On Nov 16, 2009, at 1:55 PM, Rich E wrote:

Hi List, Hans,

I've been using the pd-gui-rewrite-0.43 svn for a couple days now  
and here are some notes I've taken when finding various bugs (is  
the better sent to the pd-dev list?):


• In Audio Settings, the text in the drop down menus is hardly  
visible because it is very light grey


Never seen that, screenshot?


• there is a new menu item called 'apple' with about pd and  
preferences


Known issue with the Tk/Cocoa, haven't found a workaround yet.


• editing an object name:
‣ moving with arrows adds a space to the end, but does not move  
within the object name


Hmm, can't reproduce, Tk/Cocoa issue?


• opening about pd gives an error:
‣ Error: can't read pd_myversion: no such variable
‣ an't read pd_myversion: no such variable
can't read pd_myversion: no such variable
   while executing
regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
   (procedure ::pd_menucommands::menu_opentext line 15)
   invoked from within
::pd_menucommands::menu_opentext $dirname/$basename
   (.txt arm line 1)
   invoked from within
switch -- [string tolower [file extension 

Re: [PD] pd-gui-rewrite testing

2010-01-17 Thread Rich E
On Sun, Jan 17, 2010 at 8:07 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 On Jan 17, 2010, at 10:10 AM, Rich E wrote:



 On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 On Jan 9, 2010, at 5:37 PM, Rich E wrote:


 Still in OS X 10.6.  I don't have one of these problems with Pd-devel-0.43
 (dec 15) nightly build, so it must all be because of the tk/cocoa version
 that you mention.  I'm not sure how to report it a tcl mailing list, as I
 don't know where the code is that implements these things.

 Does it make sense that the arrow keys are detected differently in
 Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


 Not to me... it should be the same, that's why its worth reporting to
 tcl-mac.  You don't need to know the exact code that's causing the problem.
  I read that list too, so I can fill in the details.  I just don't have
 access to a 10.6 machine these days.

 As for the text color issue in the audio settings, you'll have to point me
 towards what is controlling that.  I'll send you a screenshot after this
 email.


 Check out dialog_audio.tcl.  Its still mostly the original code, so it can
 be scary. ;)

 Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


 If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into
 /Library/Frameworks, it should use them over the build in ones.  But that
 means using the Makefile in packages/darwin_app and running make install.
  For development, I just rename a nighly build as Pd-devel.app then inside
 the package, remove some guts and symlink it to my pd-gui-rewrite/0.43
 sources:

 h...@palatschinken.at.or.at:src  ls -l
 /Applications/Pd-devel.app/Contents/Resources/
 total 152
 lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
 -r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
 -r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
 lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/src/
 dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
 dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
 dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
 -r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
 -r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
 lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/po/
 dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
 lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/


 I like this way of running the newest sources from within the app bundle,
 but I can't get it working yet.  I had to replace the executable in
 Contents/MacOS, but then it cannot find pd-gui.tcl (I removed the bin folder
 in the Resources directory and symlinked it to the pd-gui-rewrite/src/, like
 you did).

 rich



 Literally all I did was:

 - download nightly Pd-devel build
 - cd /path/to/Pd-devel.app/Contents/Resources
 - rm -rf bin
 - ln -s /path/to/pd-gui-rewrite/0.43/src bin
 - ln -s /path/to/pd-gui-rewrite/0.43/po
 - ln -s /path/to/pd-gui-rewrite/0.43/startup

 .hc



Really.  I do this and the executable in the Contents/MacOS folder is still
run and not the one in the symlinked directory.  Oh well.

Rich













 .hc


 I'll use the nightly build in the meantime and let you know what comes up.

 -rich

 On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 First off, which platform?  Is this still Mac OS X 10.6?  If so, 10.6 has
 a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa for the back end
 rather than Carbon.  Tcl/Tk 8.6 will only use this Cocoa backend, but will
 work on Mac OS X 10.5.  It would be good to flush out these bugs and report
 them to the tcl-mac list so that they can get fixed.

 One thing to try is using one of the nightly builds, which include Tcl/Tk
 8.5.7/Carbon.  I think they should work on 10.6:
 http://autobuild.puredata.info/auto-build/latest/

  On Nov 16, 2009, at 1:55 PM, Rich E wrote:

  Hi List, Hans,

 I've been using the pd-gui-rewrite-0.43 svn for a couple days now and
 here are some notes I've taken when finding various bugs (is the better 
 sent
 to the pd-dev list?):

 • In Audio Settings, the text in the drop down menus is hardly visible
 because it is very light grey


 Never seen that, screenshot?


  • there is a new menu item called 'apple' with about pd and
 preferences


 Known issue with the Tk/Cocoa, haven't found a workaround yet.


  • editing an object name:
 ‣ moving with arrows adds a space to the end, but does not move within
 the object name


 Hmm, can't reproduce, Tk/Cocoa issue?


  • opening about pd gives an error:
 ‣ Error: can't read pd_myversion: no such variable
 ‣ an't read pd_myversion: no such variable
 can't read pd_myversion: no such variable
while executing
 regsub -all PD_VERSION $bigstring2 $pd_myversion 

Re: [PD] pd-gui-rewrite testing

2010-01-17 Thread Hans-Christoph Steiner


On Jan 17, 2010, at 3:01 PM, Rich E wrote:




On Sun, Jan 17, 2010 at 8:07 PM, Hans-Christoph Steiner  
h...@at.or.at wrote:


On Jan 17, 2010, at 10:10 AM, Rich E wrote:




On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


On Jan 9, 2010, at 5:37 PM, Rich E wrote:



Still in OS X 10.6.  I don't have one of these problems with Pd- 
devel-0.43 (dec 15) nightly build, so it must all be because of  
the tk/cocoa version that you mention.  I'm not sure how to report  
it a tcl mailing list, as I don't know where the code is that  
implements these things.


Does it make sense that the arrow keys are detected differently in  
Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


Not to me... it should be the same, that's why its worth reporting  
to tcl-mac.  You don't need to know the exact code that's causing  
the problem.  I read that list too, so I can fill in the details.   
I just don't have access to a 10.6 machine these days.


As for the text color issue in the audio settings, you'll have to  
point me towards what is controlling that.  I'll send you a  
screenshot after this email.


Check out dialog_audio.tcl.  Its still mostly the original code, so  
it can be scary. ;)



Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into / 
Library/Frameworks, it should use them over the build in ones.  But  
that means using the Makefile in packages/darwin_app and running  
make install.  For development, I just rename a nighly build as  
Pd-devel.app then inside the package, remove some guts and  
symlink it to my pd-gui-rewrite/0.43 sources:


h...@palatschinken.at.or.at:src  ls -l /Applications/Pd-devel.app/ 
Contents/Resources/

total 152
lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
-r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
-r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin - /Users/hans/ 
code/pure-data/branches/pd-gui-rewrite/0.43/src/

dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
-r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
-r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po - /Users/hans/ 
code/pure-data/branches/pd-gui-rewrite/0.43/po/

dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup - /Users/ 
hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/



I like this way of running the newest sources from within the app  
bundle, but I can't get it working yet.  I had to replace the  
executable in Contents/MacOS, but then it cannot find pd-gui.tcl (I  
removed the bin folder in the Resources directory and symlinked it  
to the pd-gui-rewrite/src/, like you did).


rich



Literally all I did was:

- download nightly Pd-devel build
- cd /path/to/Pd-devel.app/Contents/Resources
- rm -rf bin
- ln -s /path/to/pd-gui-rewrite/0.43/src bin
- ln -s /path/to/pd-gui-rewrite/0.43/po
- ln -s /path/to/pd-gui-rewrite/0.43/startup

.hc



Really.  I do this and the executable in the Contents/MacOS folder  
is still run and not the one in the symlinked directory.  Oh well.




Ah, ok, I understand now.  The exe in Contents/MacOS is not Pd but the  
Wish Shell, so you want it to run that.  'pd' resides in Contents/ 
Resources/bin/pd.  Pd is two processes: 'pd-gui' (i.e. Wish) and  
'pd' (i.e Pd ;)


.hc



Rich












.hc


I'll use the nightly build in the meantime and let you know what  
comes up.


-rich

On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


First off, which platform?  Is this still Mac OS X 10.6?  If so,  
10.6 has a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa  
for the back end rather than Carbon.  Tcl/Tk 8.6 will only use  
this Cocoa backend, but will work on Mac OS X 10.5.  It would be  
good to flush out these bugs and report them to the tcl-mac list  
so that they can get fixed.


One thing to try is using one of the nightly builds, which include  
Tcl/Tk 8.5.7/Carbon.  I think they should work on 10.6:

http://autobuild.puredata.info/auto-build/latest/

On Nov 16, 2009, at 1:55 PM, Rich E wrote:

Hi List, Hans,

I've been using the pd-gui-rewrite-0.43 svn for a couple days now  
and here are some notes I've taken when finding various bugs (is  
the better sent to the pd-dev list?):


• In Audio Settings, the text in the drop down menus is hardly  
visible because it is very light grey


Never seen that, screenshot?


• there is a new menu item called 'apple' with about pd and  
preferences


Known issue with the Tk/Cocoa, haven't found a workaround yet.


• editing an object name:
‣ moving with arrows adds a space to the end, but does not move  
within the object name



Re: [PD] pd-gui-rewrite testing

2010-01-16 Thread Rich E
I finally have a custom build of Tcl/Tk 8.5 Carbon that I can swap with the
Tcl/Tk 8.5 Cocoa  included with Snow Leopard.  This is the source of the
problems :)  So I'll try to address them one-by-one on the tcl-mac list and
spare the pd folks.

As of today, building from svn still creates the Apple menu item, I don't
know if you had tried to fix this or not yet.

One thing I noticed is that building pd with the Carbon Tcl/Tk version gives
an about Tcl/Tk menu option in the Wish menu, but this is replaced with
the About pd menu item when using Tcl/Tk Carbon - why so?  It seems
appropriate to have it when Pd can be compiled with different versions of
Tcl/Tk and the results can greatly differ.

Rich

On Tue, Jan 12, 2010 at 11:30 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 So based on what they said in tcl-mac, we just need to test for 'AppKit'
 and only do the $mymenu.apple stuff if using Tk Carbon (i.e. no AppKit in
 [winfo server .] ).  I added two new functions for dealing with the special
 Apple menus:


 http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=revrevision=12970


 .hc

 On Jan 12, 2010, at 8:44 AM, Rich E wrote:

 Hello,

 I am forwarding this to the tcl-mac list too, as this question is probably
 more appropriate there.

 On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 On Jan 9, 2010, at 5:37 PM, Rich E wrote:


 Still in OS X 10.6.  I don't have one of these problems with Pd-devel-0.43
 (dec 15) nightly build, so it must all be because of the tk/cocoa version
 that you mention.  I'm not sure how to report it a tcl mailing list, as I
 don't know where the code is that implements these things.

 Does it make sense that the arrow keys are detected differently in
 Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


 Not to me... it should be the same, that's why its worth reporting to
 tcl-mac.  You don't need to know the exact code that's causing the problem.
  I read that list too, so I can fill in the details.  I just don't have
 access to a 10.6 machine these days.

 As for the text color issue in the audio settings, you'll have to point me
 towards what is controlling that.  I'll send you a screenshot after this
 email.


 Check out dialog_audio.tcl.  Its still mostly the original code, so it can
 be scary. ;)

 Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


 If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into
 /Library/Frameworks, it should use them over the build in ones.


 How do I get the Carbon-specific version (or know that it is not Cocoa)?  I
 built and installed Tcl/Tk 8.5.8, but I don't see any Tcl/Tk 8.5.8/Carbon
 framework, or any directions on how to build it specifically.

 I think it would be best for me to test this before reporting any bugs,
 although it seems clear  enough this is where the problem lays for building
 Pd (dev branch) from source on Snow Leopard.

 - rich



  But that means using the Makefile in packages/darwin_app and running
 make install.  For development, I just rename a nighly build as
 Pd-devel.app then inside the package, remove some guts and symlink it to
 my pd-gui-rewrite/0.43 sources:

 h...@palatschinken.at.or.at:src  ls -l
 /Applications/Pd-devel.app/Contents/Resources/
 total 152
 lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
 -r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
 -r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
 lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/src/
 dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
 dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
 dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
 -r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
 -r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
 lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/po/
 dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
 lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/

 .hc


 I'll use the nightly build in the meantime and let you know what comes up.

 -rich

 On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 First off, which platform?  Is this still Mac OS X 10.6?  If so, 10.6 has
 a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa for the back end
 rather than Carbon.  Tcl/Tk 8.6 will only use this Cocoa backend, but will
 work on Mac OS X 10.5.  It would be good to flush out these bugs and report
 them to the tcl-mac list so that they can get fixed.

 One thing to try is using one of the nightly builds, which include Tcl/Tk
 8.5.7/Carbon.  I think they should work on 10.6:
 http://autobuild.puredata.info/auto-build/latest/

  On Nov 16, 2009, at 1:55 PM, Rich E wrote:

  Hi List, Hans,

 I've been using the 

Re: [PD] pd-gui-rewrite testing

2010-01-12 Thread Rich E
Hello,

I am forwarding this to the tcl-mac list too, as this question is probably
more appropriate there.

On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 On Jan 9, 2010, at 5:37 PM, Rich E wrote:


 Still in OS X 10.6.  I don't have one of these problems with Pd-devel-0.43
 (dec 15) nightly build, so it must all be because of the tk/cocoa version
 that you mention.  I'm not sure how to report it a tcl mailing list, as I
 don't know where the code is that implements these things.

 Does it make sense that the arrow keys are detected differently in
 Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


 Not to me... it should be the same, that's why its worth reporting to
 tcl-mac.  You don't need to know the exact code that's causing the problem.
  I read that list too, so I can fill in the details.  I just don't have
 access to a 10.6 machine these days.

 As for the text color issue in the audio settings, you'll have to point me
 towards what is controlling that.  I'll send you a screenshot after this
 email.


 Check out dialog_audio.tcl.  Its still mostly the original code, so it can
 be scary. ;)

 Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


 If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into
 /Library/Frameworks, it should use them over the build in ones.


How do I get the Carbon-specific version (or know that it is not Cocoa)?  I
built and installed Tcl/Tk 8.5.8, but I don't see any Tcl/Tk 8.5.8/Carbon
framework, or any directions on how to build it specifically.

I think it would be best for me to test this before reporting any bugs,
although it seems clear  enough this is where the problem lays for building
Pd (dev branch) from source on Snow Leopard.

- rich



  But that means using the Makefile in packages/darwin_app and running make
 install.  For development, I just rename a nighly build as Pd-devel.app
 then inside the package, remove some guts and symlink it to my
 pd-gui-rewrite/0.43 sources:

 h...@palatschinken.at.or.at:src  ls -l
 /Applications/Pd-devel.app/Contents/Resources/
 total 152
 lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
 -r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
 -r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
 lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/src/
 dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
 dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
 dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
 -r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
 -r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
 lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/po/
 dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
 lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/

 .hc


 I'll use the nightly build in the meantime and let you know what comes up.

 -rich

 On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 First off, which platform?  Is this still Mac OS X 10.6?  If so, 10.6 has
 a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa for the back end
 rather than Carbon.  Tcl/Tk 8.6 will only use this Cocoa backend, but will
 work on Mac OS X 10.5.  It would be good to flush out these bugs and report
 them to the tcl-mac list so that they can get fixed.

 One thing to try is using one of the nightly builds, which include Tcl/Tk
 8.5.7/Carbon.  I think they should work on 10.6:
 http://autobuild.puredata.info/auto-build/latest/

  On Nov 16, 2009, at 1:55 PM, Rich E wrote:

  Hi List, Hans,

 I've been using the pd-gui-rewrite-0.43 svn for a couple days now and
 here are some notes I've taken when finding various bugs (is the better sent
 to the pd-dev list?):

 • In Audio Settings, the text in the drop down menus is hardly visible
 because it is very light grey


 Never seen that, screenshot?


  • there is a new menu item called 'apple' with about pd and
 preferences


 Known issue with the Tk/Cocoa, haven't found a workaround yet.


  • editing an object name:
 ‣ moving with arrows adds a space to the end, but does not move within
 the object name


 Hmm, can't reproduce, Tk/Cocoa issue?


  • opening about pd gives an error:
 ‣ Error: can't read pd_myversion: no such variable
 ‣ an't read pd_myversion: no such variable
 can't read pd_myversion: no such variable
while executing
 regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
(procedure ::pd_menucommands::menu_opentext line 15)
invoked from within
 ::pd_menucommands::menu_opentext $dirname/$basename
(.txt arm line 1)
invoked from within
 switch -- [string tolower [file extension $basename]] {
.txt{::pd_menucommands::menu_opentext $dirname/$basename
} .c{::...

Re: [PD] pd-gui-rewrite testing

2010-01-12 Thread Hans-Christoph Steiner


So based on what they said in tcl-mac, we just need to test for  
'AppKit' and only do the $mymenu.apple stuff if using Tk Carbon (i.e.  
no AppKit in [winfo server .] ).  I added two new functions for  
dealing with the special Apple menus:


http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=revrevision=12970


.hc

On Jan 12, 2010, at 8:44 AM, Rich E wrote:


Hello,

I am forwarding this to the tcl-mac list too, as this question is  
probably more appropriate there.


On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


On Jan 9, 2010, at 5:37 PM, Rich E wrote:



Still in OS X 10.6.  I don't have one of these problems with Pd- 
devel-0.43 (dec 15) nightly build, so it must all be because of the  
tk/cocoa version that you mention.  I'm not sure how to report it a  
tcl mailing list, as I don't know where the code is that implements  
these things.


Does it make sense that the arrow keys are detected differently in  
Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


Not to me... it should be the same, that's why its worth reporting  
to tcl-mac.  You don't need to know the exact code that's causing  
the problem.  I read that list too, so I can fill in the details.  I  
just don't have access to a 10.6 machine these days.


As for the text color issue in the audio settings, you'll have to  
point me towards what is controlling that.  I'll send you a  
screenshot after this email.


Check out dialog_audio.tcl.  Its still mostly the original code, so  
it can be scary. ;)



Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into /Library/ 
Frameworks, it should use them over the build in ones.


How do I get the Carbon-specific version (or know that it is not  
Cocoa)?  I built and installed Tcl/Tk 8.5.8, but I don't see any Tcl/ 
Tk 8.5.8/Carbon framework, or any directions on how to build it  
specifically.


I think it would be best for me to test this before reporting any  
bugs, although it seems clear  enough this is where the problem lays  
for building Pd (dev branch) from source on Snow Leopard.


- rich


 But that means using the Makefile in packages/darwin_app and  
running make install.  For development, I just rename a nighly  
build as Pd-devel.app then inside the package, remove some guts  
and symlink it to my pd-gui-rewrite/0.43 sources:


h...@palatschinken.at.or.at:src  ls -l /Applications/Pd-devel.app/ 
Contents/Resources/

total 152
lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
-r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
-r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin - /Users/hans/ 
code/pure-data/branches/pd-gui-rewrite/0.43/src/

dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
-r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
-r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po - /Users/hans/ 
code/pure-data/branches/pd-gui-rewrite/0.43/po/

dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup - /Users/ 
hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/


.hc


I'll use the nightly build in the meantime and let you know what  
comes up.


-rich

On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner  
h...@at.or.at wrote:


First off, which platform?  Is this still Mac OS X 10.6?  If so,  
10.6 has a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa  
for the back end rather than Carbon.  Tcl/Tk 8.6 will only use this  
Cocoa backend, but will work on Mac OS X 10.5.  It would be good to  
flush out these bugs and report them to the tcl-mac list so that  
they can get fixed.


One thing to try is using one of the nightly builds, which include  
Tcl/Tk 8.5.7/Carbon.  I think they should work on 10.6:

http://autobuild.puredata.info/auto-build/latest/

On Nov 16, 2009, at 1:55 PM, Rich E wrote:

Hi List, Hans,

I've been using the pd-gui-rewrite-0.43 svn for a couple days now  
and here are some notes I've taken when finding various bugs (is  
the better sent to the pd-dev list?):


• In Audio Settings, the text in the drop down menus is hardly  
visible because it is very light grey


Never seen that, screenshot?


• there is a new menu item called 'apple' with about pd and  
preferences


Known issue with the Tk/Cocoa, haven't found a workaround yet.


• editing an object name:
‣ moving with arrows adds a space to the end, but does not move  
within the object name


Hmm, can't reproduce, Tk/Cocoa issue?


• opening about pd gives an error:
‣ Error: can't read pd_myversion: no such variable
‣ an't read pd_myversion: no such variable
can't read pd_myversion: no such variable
   while executing

Re: [PD] pd-gui-rewrite testing

2010-01-09 Thread Rich E
Still in OS X 10.6.  I don't have one of these problems with Pd-devel-0.43
(dec 15) nightly build, so it must all be because of the tk/cocoa version
that you mention.  I'm not sure how to report it a tcl mailing list, as I
don't know where the code is that implements these things.

Does it make sense that the arrow keys are detected differently in Tk/Cocoa,
so they are just sent to pd's gui C code as spaces?

As for the text color issue in the audio settings, you'll have to point me
towards what is controlling that.  I'll send you a screenshot after this
email.

Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?

I'll use the nightly build in the meantime and let you know what comes up.

-rich

On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 First off, which platform?  Is this still Mac OS X 10.6?  If so, 10.6 has a
 built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa for the back end
 rather than Carbon.  Tcl/Tk 8.6 will only use this Cocoa backend, but will
 work on Mac OS X 10.5.  It would be good to flush out these bugs and report
 them to the tcl-mac list so that they can get fixed.

 One thing to try is using one of the nightly builds, which include Tcl/Tk
 8.5.7/Carbon.  I think they should work on 10.6:
 http://autobuild.puredata.info/auto-build/latest/

 On Nov 16, 2009, at 1:55 PM, Rich E wrote:

  Hi List, Hans,

 I've been using the pd-gui-rewrite-0.43 svn for a couple days now and here
 are some notes I've taken when finding various bugs (is the better sent to
 the pd-dev list?):

 • In Audio Settings, the text in the drop down menus is hardly visible
 because it is very light grey


 Never seen that, screenshot?


  • there is a new menu item called 'apple' with about pd and preferences


 Known issue with the Tk/Cocoa, haven't found a workaround yet.


  • editing an object name:
 ‣ moving with arrows adds a space to the end, but does not move within the
 object name


 Hmm, can't reproduce, Tk/Cocoa issue?


  • opening about pd gives an error:
 ‣ Error: can't read pd_myversion: no such variable
 ‣ an't read pd_myversion: no such variable
 can't read pd_myversion: no such variable
while executing
 regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
(procedure ::pd_menucommands::menu_opentext line 15)
invoked from within
 ::pd_menucommands::menu_opentext $dirname/$basename
(.txt arm line 1)
invoked from within
 switch -- [string tolower [file extension $basename]] {
.txt{::pd_menucommands::menu_opentext $dirname/$basename
} .c{::...
(procedure menu_doc_open line 4)
invoked from within
 menu_doc_open doc/1.manual 1.introduction.txt
(menu invoke)


 Its not implemented yet...  I was hoping to make About Pd a pd patch.


  I have some time on my hands now that I finished my Master's, and frankly
 I think the pd-vanilla GUI is unpleasant, so I could learn tcl/tk and help
 out, if needed.


 That would be great!  Your reports have already been helpful.  I'm going to
 be in pretty deep this month till its finished and merged into Miller's 0.43
 version.  He's been relatively scarse on the lists, but we've been working
 thru this stuff off-list.

 .hc


 

 Making boring techno music is really easy with modern tools, but with live
 coding, boring techno is much harder. - Chris McCormick





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


Re: [PD] pd-gui-rewrite testing

2010-01-09 Thread Hans-Christoph Steiner


On Jan 9, 2010, at 5:37 PM, Rich E wrote:



Still in OS X 10.6.  I don't have one of these problems with Pd- 
devel-0.43 (dec 15) nightly build, so it must all be because of the  
tk/cocoa version that you mention.  I'm not sure how to report it a  
tcl mailing list, as I don't know where the code is that implements  
these things.


Does it make sense that the arrow keys are detected differently in  
Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


Not to me... it should be the same, that's why its worth reporting to  
tcl-mac.  You don't need to know the exact code that's causing the  
problem.  I read that list too, so I can fill in the details.  I just  
don't have access to a 10.6 machine these days.


As for the text color issue in the audio settings, you'll have to  
point me towards what is controlling that.  I'll send you a  
screenshot after this email.


Check out dialog_audio.tcl.  Its still mostly the original code, so it  
can be scary. ;)



Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into /Library/ 
Frameworks, it should use them over the build in ones.  But that means  
using the Makefile in packages/darwin_app and running make install.   
For development, I just rename a nighly build as Pd-devel.app then  
inside the package, remove some guts and symlink it to my pd-gui- 
rewrite/0.43 sources:


h...@palatschinken.at.or.at:src  ls -l /Applications/Pd-devel.app/ 
Contents/Resources/

total 152
lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
-r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
-r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin - /Users/hans/ 
code/pure-data/branches/pd-gui-rewrite/0.43/src/

dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
-r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
-r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po - /Users/hans/ 
code/pure-data/branches/pd-gui-rewrite/0.43/po/

dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup - /Users/ 
hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/


.hc


I'll use the nightly build in the meantime and let you know what  
comes up.


-rich

On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner  
h...@at.or.at wrote:


First off, which platform?  Is this still Mac OS X 10.6?  If so,  
10.6 has a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa  
for the back end rather than Carbon.  Tcl/Tk 8.6 will only use this  
Cocoa backend, but will work on Mac OS X 10.5.  It would be good to  
flush out these bugs and report them to the tcl-mac list so that  
they can get fixed.


One thing to try is using one of the nightly builds, which include  
Tcl/Tk 8.5.7/Carbon.  I think they should work on 10.6:

http://autobuild.puredata.info/auto-build/latest/

On Nov 16, 2009, at 1:55 PM, Rich E wrote:

Hi List, Hans,

I've been using the pd-gui-rewrite-0.43 svn for a couple days now  
and here are some notes I've taken when finding various bugs (is the  
better sent to the pd-dev list?):


• In Audio Settings, the text in the drop down menus is hardly  
visible because it is very light grey


Never seen that, screenshot?


• there is a new menu item called 'apple' with about pd and  
preferences


Known issue with the Tk/Cocoa, haven't found a workaround yet.


• editing an object name:
‣ moving with arrows adds a space to the end, but does not move  
within the object name


Hmm, can't reproduce, Tk/Cocoa issue?


• opening about pd gives an error:
‣ Error: can't read pd_myversion: no such variable
‣ an't read pd_myversion: no such variable
can't read pd_myversion: no such variable
   while executing
regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
   (procedure ::pd_menucommands::menu_opentext line 15)
   invoked from within
::pd_menucommands::menu_opentext $dirname/$basename
   (.txt arm line 1)
   invoked from within
switch -- [string tolower [file extension $basename]] {
   .txt{::pd_menucommands::menu_opentext $dirname/ 
$basename

   } .c{::...
   (procedure menu_doc_open line 4)
   invoked from within
menu_doc_open doc/1.manual 1.introduction.txt
   (menu invoke)

Its not implemented yet...  I was hoping to make About Pd a pd  
patch.



I have some time on my hands now that I finished my Master's, and  
frankly I think the pd-vanilla GUI is unpleasant, so I could learn  
tcl/tk and help out, if needed.


That would be great!  Your reports have already been helpful.  I'm  
going to be in pretty deep this month till its finished and merged  
into Miller's 0.43 version.  He's been relatively scarse on the  
lists, but we've been working thru this 

Re: [PD] pd-gui-rewrite testing

2010-01-09 Thread Hans-Christoph Steiner


Wow, strange.  Perhaps it thinks the menu item is disabled?  Seems  
like something to report on tcl-mac.


.hc

On Jan 9, 2010, at 5:38 PM, Rich E wrote:

pic of audio dialog on svn compile of pd-gui-rewrite, showing the  
gray text


On Sat, Jan 9, 2010 at 11:37 PM, Rich E reakina...@gmail.com wrote:

Still in OS X 10.6.  I don't have one of these problems with Pd- 
devel-0.43 (dec 15) nightly build, so it must all be because of the  
tk/cocoa version that you mention.  I'm not sure how to report it a  
tcl mailing list, as I don't know where the code is that implements  
these things.


Does it make sense that the arrow keys are detected differently in  
Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


As for the text color issue in the audio settings, you'll have to  
point me towards what is controlling that.  I'll send you a  
screenshot after this email.


Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?

I'll use the nightly build in the meantime and let you know what  
comes up.


-rich

On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner  
h...@at.or.at wrote:


First off, which platform?  Is this still Mac OS X 10.6?  If so,  
10.6 has a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa  
for the back end rather than Carbon.  Tcl/Tk 8.6 will only use this  
Cocoa backend, but will work on Mac OS X 10.5.  It would be good to  
flush out these bugs and report them to the tcl-mac list so that  
they can get fixed.


One thing to try is using one of the nightly builds, which include  
Tcl/Tk 8.5.7/Carbon.  I think they should work on 10.6:

http://autobuild.puredata.info/auto-build/latest/

On Nov 16, 2009, at 1:55 PM, Rich E wrote:

Hi List, Hans,

I've been using the pd-gui-rewrite-0.43 svn for a couple days now  
and here are some notes I've taken when finding various bugs (is the  
better sent to the pd-dev list?):


• In Audio Settings, the text in the drop down menus is hardly  
visible because it is very light grey


Never seen that, screenshot?


• there is a new menu item called 'apple' with about pd and  
preferences


Known issue with the Tk/Cocoa, haven't found a workaround yet.


• editing an object name:
‣ moving with arrows adds a space to the end, but does not move  
within the object name


Hmm, can't reproduce, Tk/Cocoa issue?


• opening about pd gives an error:
‣ Error: can't read pd_myversion: no such variable
‣ an't read pd_myversion: no such variable
can't read pd_myversion: no such variable
   while executing
regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
   (procedure ::pd_menucommands::menu_opentext line 15)
   invoked from within
::pd_menucommands::menu_opentext $dirname/$basename
   (.txt arm line 1)
   invoked from within
switch -- [string tolower [file extension $basename]] {
   .txt{::pd_menucommands::menu_opentext $dirname/ 
$basename

   } .c{::...
   (procedure menu_doc_open line 4)
   invoked from within
menu_doc_open doc/1.manual 1.introduction.txt
   (menu invoke)

Its not implemented yet...  I was hoping to make About Pd a pd  
patch.



I have some time on my hands now that I finished my Master's, and  
frankly I think the pd-vanilla GUI is unpleasant, so I could learn  
tcl/tk and help out, if needed.


That would be great!  Your reports have already been helpful.  I'm  
going to be in pretty deep this month till its finished and merged  
into Miller's 0.43 version.  He's been relatively scarse on the  
lists, but we've been working thru this stuff off-list.


.hc



Making boring techno music is really easy with modern tools, but  
with live coding, boring techno is much harder. - Chris McCormick







Screen shot 2010-01-09 at 11.26.05 PM.png






I spent 33 years and four months in active military service and during  
that period I spent most of my time as a high class muscle man for Big  
Business, for Wall Street and the bankers.  - General Smedley Butler



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


Re: [PD] pd-gui-rewrite testing

2010-01-03 Thread Hans-Christoph Steiner


Oops, just dug this up, time to go thru them. These two work fine for  
me, can't reproduce them.  Still happening?


.hc


On Nov 16, 2009, at 2:08 PM, Rich E wrote:

Just found another bug after opening the 'test audio and midi  
patch, closing it, and attempting to reopen it:


invalid command name menu_raisenextwindow
invalid command name menu_raisenextwindow
while executing
menu_raisenextwindow
(command bound to event)






I also get this when trying to open the 'Load Meter' patch, or any  
other patch via 'open'.  Trying to close pd and reopen gives:


ERROR: 'pd' never showed up, 'pd-gui' quitting!








On Mon, Nov 16, 2009 at 7:55 PM, Rich E reakina...@gmail.com wrote:
Hi List, Hans,

I've been using the pd-gui-rewrite-0.43 svn for a couple days now  
and here are some notes I've taken when finding various bugs (is the  
better sent to the pd-dev list?):


• In Audio Settings, the text in the drop down menus is hardly  
visible because it is very light grey
• there is a new menu item called 'apple' with about pd and  
preferences

• editing an object name:
‣ moving with arrows adds a space to the end, but does not move  
within the object name

• opening about pd gives an error:
‣ Error: can't read pd_myversion: no such variable
‣ an't read pd_myversion: no such variable
can't read pd_myversion: no such variable
while executing
regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
(procedure ::pd_menucommands::menu_opentext line 15)
invoked from within
::pd_menucommands::menu_opentext $dirname/$basename
(.txt arm line 1)
invoked from within
switch -- [string tolower [file extension $basename]] {
.txt{::pd_menucommands::menu_opentext $dirname/ 
$basename

} .c{::...
(procedure menu_doc_open line 4)
invoked from within
menu_doc_open doc/1.manual 1.introduction.txt
(menu invoke)


I have some time on my hands now that I finished my Master's, and  
frankly I think the pd-vanilla GUI is unpleasant, so I could learn  
tcl/tk and help out, if needed.


rich

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






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-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd-gui-rewrite testing

2010-01-03 Thread Hans-Christoph Steiner


First off, which platform?  Is this still Mac OS X 10.6?  If so, 10.6  
has a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa for the  
back end rather than Carbon.  Tcl/Tk 8.6 will only use this Cocoa  
backend, but will work on Mac OS X 10.5.  It would be good to flush  
out these bugs and report them to the tcl-mac list so that they can  
get fixed.


One thing to try is using one of the nightly builds, which include Tcl/ 
Tk 8.5.7/Carbon.  I think they should work on 10.6:

http://autobuild.puredata.info/auto-build/latest/

On Nov 16, 2009, at 1:55 PM, Rich E wrote:


Hi List, Hans,

I've been using the pd-gui-rewrite-0.43 svn for a couple days now  
and here are some notes I've taken when finding various bugs (is the  
better sent to the pd-dev list?):


• In Audio Settings, the text in the drop down menus is hardly  
visible because it is very light grey


Never seen that, screenshot?

• there is a new menu item called 'apple' with about pd and  
preferences


Known issue with the Tk/Cocoa, haven't found a workaround yet.


• editing an object name:
‣ moving with arrows adds a space to the end, but does not move  
within the object name


Hmm, can't reproduce, Tk/Cocoa issue?


• opening about pd gives an error:
‣ Error: can't read pd_myversion: no such variable
‣ an't read pd_myversion: no such variable
can't read pd_myversion: no such variable
while executing
regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
(procedure ::pd_menucommands::menu_opentext line 15)
invoked from within
::pd_menucommands::menu_opentext $dirname/$basename
(.txt arm line 1)
invoked from within
switch -- [string tolower [file extension $basename]] {
.txt{::pd_menucommands::menu_opentext $dirname/ 
$basename

} .c{::...
(procedure menu_doc_open line 4)
invoked from within
menu_doc_open doc/1.manual 1.introduction.txt
(menu invoke)


Its not implemented yet...  I was hoping to make About Pd a pd patch.

I have some time on my hands now that I finished my Master's, and  
frankly I think the pd-vanilla GUI is unpleasant, so I could learn  
tcl/tk and help out, if needed.


That would be great!  Your reports have already been helpful.  I'm  
going to be in pretty deep this month till its finished and merged  
into Miller's 0.43 version.  He's been relatively scarse on the lists,  
but we've been working thru this stuff off-list.


.hc



Making boring techno music is really easy with modern tools, but with  
live coding, boring techno is much harder. - Chris McCormick






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


[PD] pd-gui-rewrite testing

2009-11-16 Thread Rich E
Hi List, Hans,

I've been using the pd-gui-rewrite-0.43 svn for a couple days now and here
are some notes I've taken when finding various bugs (is the better sent to
the pd-dev list?):

• In Audio Settings, the text in the drop down menus is hardly visible
because it is very light grey
• there is a new menu item called 'apple' with about pd and preferences
• editing an object name:
‣ moving with arrows adds a space to the end, but does not move within the
object name
• opening about pd gives an error:
‣ Error: can't read pd_myversion: no such variable
‣ an't read pd_myversion: no such variable
can't read pd_myversion: no such variable
while executing
regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
(procedure ::pd_menucommands::menu_opentext line 15)
invoked from within
::pd_menucommands::menu_opentext $dirname/$basename
(.txt arm line 1)
invoked from within
switch -- [string tolower [file extension $basename]] {
.txt{::pd_menucommands::menu_opentext $dirname/$basename
} .c{::...
(procedure menu_doc_open line 4)
invoked from within
menu_doc_open doc/1.manual 1.introduction.txt
(menu invoke)


I have some time on my hands now that I finished my Master's, and frankly I
think the pd-vanilla GUI is unpleasant, so I could learn tcl/tk and help
out, if needed.

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


Re: [PD] pd-gui-rewrite testing

2009-11-16 Thread Rich E
Just found another bug after opening the 'test audio and midi patch,
closing it, and attempting to reopen it:

invalid command name menu_raisenextwindow
invalid command name menu_raisenextwindow
while executing
menu_raisenextwindow
(command bound to event)


I also get this when trying to open the 'Load Meter' patch, or any other
patch via 'open'.  Trying to close pd and reopen gives:

ERROR: 'pd' never showed up, 'pd-gui' quitting!




On Mon, Nov 16, 2009 at 7:55 PM, Rich E reakina...@gmail.com wrote:

 Hi List, Hans,

 I've been using the pd-gui-rewrite-0.43 svn for a couple days now and here
 are some notes I've taken when finding various bugs (is the better sent to
 the pd-dev list?):

 • In Audio Settings, the text in the drop down menus is hardly visible
 because it is very light grey
 • there is a new menu item called 'apple' with about pd and preferences
 • editing an object name:
 ‣ moving with arrows adds a space to the end, but does not move within the
 object name
 • opening about pd gives an error:
 ‣ Error: can't read pd_myversion: no such variable
 ‣ an't read pd_myversion: no such variable
 can't read pd_myversion: no such variable
 while executing
 regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
 (procedure ::pd_menucommands::menu_opentext line 15)
 invoked from within
 ::pd_menucommands::menu_opentext $dirname/$basename
 (.txt arm line 1)
 invoked from within
 switch -- [string tolower [file extension $basename]] {
 .txt{::pd_menucommands::menu_opentext $dirname/$basename
 } .c{::...
 (procedure menu_doc_open line 4)
 invoked from within
 menu_doc_open doc/1.manual 1.introduction.txt
 (menu invoke)


 I have some time on my hands now that I finished my Master's, and frankly I
 think the pd-vanilla GUI is unpleasant, so I could learn tcl/tk and help
 out, if needed.

 rich

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