|
From: Kevin W. <kw...@co...> - 2009-08-16 23:47:37
|
On 8/15/09 2:08 PM, Philip Aker wrote: > On 2009-08-15, at 07:01:53, Kevin Walzer wrote: > >>> ... It is implemented in this example >>> <http://www.vcn.bc.ca/~philip/Wishbone.zip>. It includes the frameworks >>> necessary for the test application to run and example scripts. The new >>> implementation also includes a means to create custom commands and >>> instructions on how to do so. > >> I had three quick questions: > >> 1. Were your changes built/tested against Tk CVS HEAD, i.e. the >> Cocoa-based build? > > I compiled them against the 8.7.5 source release. I wouldn't know what a > Tk CVS HEAD looks like even if it was sitting next to me at lunch. My > plan is first to submit an update to the tkMacOSXHLEvents.c file that > will take care of the problems noted. In that update, I will re-arrange > things so that the two exported functions will be moved to the end of > the file. Then in a second submission, I will simply append the new > implementation to the end of tkMacOSXHLEvents.c. It will replace the two > exported functions and work such that if the new proc names in the > ::AppleEvent namespace can't be found, then the old ones will be used. > Hopefully, the appending approach will be the easiest way for anyone > using a 'diff' utility to avoid a spaghetti type of changes readout. To build CVS head (which is the bleeding edge of development), see the instructions at http://tcl.sourceforge.net/. Check on "CVS Tree" for both Tcl and Tk. > > >> 2. Are these changes compatible with 64-bit? > > The new portions I will submit are. Whether or not they would have to be > further adapted to be usable in TkCocoa I'm not sure. While there is a > Cocoa means to use the traditional AppleEvent style handlers, I don't > know if it's been implemented. I'm not able to compile the TkCocoa > project because it requires a 10.6 Xcode. Do you mean 10.5? 10.6 isn't out yet... > I'd appreciate it if you can tell me the formal channel where these > kinds of submissions are supposed to go. Although I've done a lot of > work with AppleEvents and Tcl in my OSA Components since 2002, I haven't > really had the need to ask/submit changes because I only use a > customized tclAppInit.c and Tcl_Main() to interface with Tcl at that level. See https://sourceforge.net/tracker/?group_id=12997... -- Kevin Walzer Code by Kevin http://www.codebykevin.com |