gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should delta raise exception when not available?


From: Fred Kiefer
Subject: Re: Should delta raise exception when not available?
Date: Thu, 23 Dec 2010 19:18:35 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11

Am 22.12.2010 13:32, schrieb Banlu Kemiyatorn:
> 2010/12/22 Fred Kiefer <address@hidden>:
>> Sorry Banlu,
>>
>> I missed this second mail. This explains my stupid question.
>> I had a short look at the Apple documentation and you are right, it
>> doesn't state what happens when this method is called on the wrong event
>> type. Most likely we jst extrapolated the behaviour from the other
>> methods on NSEvent. The better way to find out is of course to write a
>> short test program on Cocoa and implement the same behaviour.
>> I will do that and add this to our test suite.
>>
>> Fred
> 
> Hi Fred,
> That should be me, I sent the second mail coz DrNHS bugged me my first
> question was lacking of info.
> 
> AFAICT it didn't happen in Cocoa since I have the problem only when
> porting an app I released called Helicropper from a working OSX
> version. But even if it does, I hardly see why someone would expect a
> delta to raise an exception than giving a zero.  If they are catching
> stray events they probably should check for event type.
> 
> BAnlu

Done, I will provide the promised test case later one. Tests on Cocoa
showed that your proposal is correct.

Fred



reply via email to

[Prev in Thread] Current Thread [Next in Thread]