|
From: Philip A. <phi...@sh...> - 2009-08-15 18:09:07
|
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. > 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. > 3. FInally, is the source code of your changes posted somewhere or > bundled in the zip file, and will you submit these for inclusion in > Tk 8.6 if everything works as expected? The source file is not currently included because it's not quite ready for prime time (illustrated the problem with 'aevt/pref', and doesn't have the fallback to the old handlers implemented yet. As soon as these are fixed up, I will submit the file and make it available to anyone who wants to recompile it in an older version of their source. I believe it's backwards compatible to at least 10.3 systems and possibly 10.2. § 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. Philip Aker echo as...@lv...@nl | tr a-z@. p-za-o.@ Democracy: Two wolves and a sheep voting on lunch. |