[TxMt] General question on DIALOG2

Hans-Joerg Bibiko bibiko at eva.mpg.de
Fri Mar 28 16:07:37 UTC 2008


Hi,

thanks for the reply.

>> [BTW I had to rename the method initWithOptions in CLIProxy
>
> The problem with that one is that +alloc returns ‘id’ and Apple  
> introduced a method also named initWithOptions: but taking another  
> argument type, so gcc errors because of wrong type.
>
> IMO this should be a gcc warning about ambiguous type overload for  
> the selector, but Apple disagrees with me, so either we should  
> probably name it initWithOptionsDictionary: or we should typecast  
> the result of +alloc to CLIProxy*.
I see. I would prefer renaming.


>> Fine. On Leopard DIALOG2 runs perfectly. E.g. I could append an  
>> accessory view to Alert.
>>
>> Then I tried to run this DIALOG2.tmplugin on Tiger. But here I only  
>> get the error message:
>> error reaching server
>
> I recently updated the code to find the server name (now the server  
> name is dynamic). Did you compile latest svn version of both the  
> plug-in and the helper command?
I used the entire Dialog2 folder svn version 9218.


> Also, the D2 plug-in is currently dependent on latest D1 from the  
> svn repository for the compatibility mode to work correctly.
What do you mean?


>> Is there no way to compile DIALOG2 on/for Tiger anymore?
>> Are my settings wrong?
>
> I have not tested this myself, unless you need it to work on both  
> systems you can leave it be for now and I or someone else will do  
> the proper testing when it is time for a release.
OK.


> Just don’t use Leopard-only stuff in patches you intend to submit  
> (for now). Or if you do, be sure it gracefully degrades to Tiger.
No, up to now everything is compatible with Tiger. But there should be  
a way to write Leopard code and mark this as "only compile it with SDK  
10.5", but I cannot remember how.


Thanks,

--Hans




More information about the textmate mailing list