[PD] pd-gui-rewrite testing

Rich E rich.eakin at gmail.com
Tue Jan 12 14:44:27 CET 2010


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 <hans at 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:
>
> hans at 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 staff    59 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 staff    58 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 staff    63 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 <hans at 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
>>
>>
>>
>>
>>
>
>
>
>
>
>
> ----------------------------------------------------------------------------
>
> "Free software means you control what your computer does. Non-free software
> means someone else controls that, and to some extent controls you." -
> Richard M. Stallman
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100112/96f70c03/attachment.htm>


More information about the Pd-list mailing list