NSAnimation question

2014-08-31 Thread Germán Arias
The current NSAnimation-test in examples use NSAnimationNonblockingThreaded. But this stuck the application, don't respond to user events. Changing this to NSAnimationNonblocking, solves the problem. Is this a bug with NSAnimationNonblockingThreaded? Or is an error in the test? Germán

Re: NSAnimation...

2007-04-10 Thread Xavier Glattard
Fred Kiefer fredkiefer at gmx.de writes: Gregory John Casamento wrote: With a clean checkout and a clean install, I still get this: Compiling file set_show_service.m ... Linking tool set_show_service ... ../Source/./obj/libgnustep-gui.so: undefined reference to

Re: NSAnimation...

2007-04-09 Thread Fred Kiefer
, this was my fault, after recompiling base it worked fine. I currently don't have the time to look into this. Form a quick look it is rather a problem in GSIArray than in NSAnimation. But Xavier, when you fix it, could you please also move all the inline functions from the header

Re: NSAnimation...

2007-04-09 Thread Gregory John Casamento
- Original Message From: Fred Kiefer [EMAIL PROTECTED] To: Xavier Glattard [EMAIL PROTECTED] Cc: gnustep-dev@gnu.org Sent: Monday, April 9, 2007 7:12:25 AM Subject: Re: NSAnimation... Xavier Glattard wrote: Fred Kiefer fredkiefer at gmx.de writes: For me it looks even worse: Compiling file

Re: NSAnimation...

2007-04-09 Thread Gregory John Casamento
model: posix gcc version 4.1.1 Thanks, GJC -- Gregory Casamento - Original Message From: Fred Kiefer [EMAIL PROTECTED] To: Xavier Glattard [EMAIL PROTECTED] Cc: gnustep-dev@gnu.org Sent: Monday, April 9, 2007 7:12:25 AM Subject: Re: NSAnimation... Xavier Glattard wrote: Fred Kiefer

Re: NSAnimation...

2007-04-09 Thread Fred Kiefer
Gregory John Casamento wrote: With a clean checkout and a clean install, I still get this: Compiling file set_show_service.m ... Linking tool set_show_service ... ../Source/./obj/libgnustep-gui.so: undefined reference to `nsanimation_progressMarkSorter' collect2: ld returned 1 exit

Re: NSAnimation...

2007-04-09 Thread Gregory John Casamento
Casamento [EMAIL PROTECTED] Cc: Xavier Glattard [EMAIL PROTECTED]; gnustep-dev@gnu.org Sent: Monday, April 9, 2007 8:02:03 PM Subject: Re: NSAnimation... Gregory John Casamento wrote: With a clean checkout and a clean install, I still get this: Compiling file set_show_service.m ... Linking tool

Re: NSAnimation...

2007-04-08 Thread Xavier Glattard
to look into this. Form a quick look it is rather a problem in GSIArray than in NSAnimation. But Xavier, when you fix it, could you please also move all the inline functions from the header to the implementation file? We don't want to clutter up the environment for all the users of this header file

Re: NSAnimation...

2007-04-08 Thread Adam Fedor
On Apr 8, 2007, at 10:47 AM, Xavier Glattard wrote: Could you please also move over to GNUstep indentation and white space rules? It is not too hard you just need to get used to it. Is that so important ?? It actually looks pretty ;-) I will do my best. We've had long arguments about

Re: NSAnimation...

2007-04-08 Thread Xavier Glattard
Gregory John Casamento greg_casamento at yahoo.com writes: Xavier, I am seeing the following error when compiling: Making all for tool set_show_service... Compiling file set_show_service.m ... Linking tool set_show_service ... ../Source/./obj/libgnustep-gui.so: undefined reference

Re: NSAnimation...

2007-04-08 Thread Xavier Glattard
Adam Fedor fedor at qwest.net writes: On Apr 8, 2007, at 10:47 AM, Xavier Glattard wrote: Could you please also move over to GNUstep indentation and white space rules? It is not too hard you just need to get used to it. Is that so important ?? It actually looks pretty I will do

Re: NSAnimation...

2007-04-07 Thread Gregory John Casamento
: NSAnimation... Hello all :-) I'm still working on the NSAnimation class, but i can't understand some parts of the specs... I need your opinion. How should the array returned by [-runLoopModesForAnimating] be used ? 1) schedule one timer for each mode in the array ? (so the animation runs whatever

Re: NSAnimation...

2007-04-07 Thread Fred Kiefer
for ‘NSAnimationProgress’ ../Headers/AppKit/NSAnimation.h:164: error: previous declaration of ‘NSAnimationProgress’ was here NSAnimation.m: In function ‘nsanimation_progressMarkSorter’: NSAnimation.m:89: error: invalid operands to binary - NSAnimation.m: In function ‘-[NSAnimation addProgressMark:]’: NSAnimation.m:103

NSAnimation...

2007-04-05 Thread Xavier Glattard
Hello all :-) I'm still working on the NSAnimation class, but i can't understand some parts of the specs... I need your opinion. How should the array returned by [-runLoopModesForAnimating] be used ? 1) schedule one timer for each mode in the array ? (so the animation runs whatever the mode

Re: fast and simple array ? (NSAnimation)

2007-03-23 Thread Xavier Glattard
i suggest some improvements ? First i think the GSUNION mechanism shouldn't be mandatory. In NSAnimation i would write : #define GSIArrayItem NSAnimationProgress for a simple array of NSAnimatinProgress float values. The code would then be more readable (no cast, no '.ext') Suggested patch

Need informations about NSAnimation on MacOS

2007-03-23 Thread Xavier Glattard
Hello :-) The NSAnimation reference page at developer.apple.com does not explain everything. As i dont have a Mac i ask for some help. 1) NSAnimation maintains an array of NSAnimationProgress (floats). [NSAnimation -progressMarks] return a NSArray. - Is this NSArray a reference to the internal

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Fred Kiefer
Xavier Glattard wrote: 2) I dont understand the 3 NSAnimationCurve... - Are they linear or polynomic functions ? - what do 'slowly speeds up' and 'slows down' really mean ? You may think of these function as a sort of gamma corrections for the progress :-) Slowly speeds up would just mean

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Xavier Glattard
Fred Kiefer fredkiefer at gmx.de writes: Xavier Glattard wrote: 2) I dont understand the 3 NSAnimationCurve... - Are they linear or polynomic functions ? - what do 'slowly speeds up' and 'slows down' really mean ? You may think of these function as a sort of gamma corrections for

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Xavier Glattard
Xavier Glattard xavier.glattard at online.fr writes: 2) I dont understand the 3 NSAnimationCurve... An other question : You can change the NSAnimationCurve while an animation is running. Does the animation _smoothly_ changes to the new curve ? Or does it 'jump' ? Thanks again :-) Xavier

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Nicolas Roard
On 3/23/07, Xavier Glattard [EMAIL PROTECTED] wrote: Xavier Glattard xavier.glattard at online.fr writes: 2) I dont understand the 3 NSAnimationCurve... An other question : You can change the NSAnimationCurve while an animation is running. Does the animation _smoothly_ changes to the new

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread leeg
2) I dont understand the 3 NSAnimationCurve... - Are they linear or polynomic functions ? - what do 'slowly speeds up' and 'slows down' really mean ? They're certainly polynomial, but in fact they may not fit any finite-order polynomial function (may be sinusoidal for instance). I agree

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread leeg
french un dessin est mieux qu'un long discours /french :-) A picture is worth a thousand words ;-) Linear : EaseIn : EaseOut: EaseInOut: | + | + | +++ |++ |+| + | ++ | ++ | + | + |

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Xavier Glattard
Nicolas Roard nicolas.roard at gmail.com writes: On 3/23/07, Xavier Glattard xavier.glattard at online.fr wrote: Xavier Glattard xavier.glattard at online.fr writes: 2) I dont understand the 3 NSAnimationCurve... An other question : You can change the NSAnimationCurve while an

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Xavier Glattard
leeg at thaesofereode.info writes: 2) I dont understand the 3 NSAnimationCurve... - Are they linear or polynomic functions ? - what do 'slowly speeds up' and 'slows down' really mean ? They're certainly polynomial, but in fact they may not fit any finite-order polynomial function

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread leeg
2) Does MasOs use Bezier curves ? (do we care ?) Don't know (no), is my answer. NSAnimation on OS X only allows the curve to be one of the predefined NSAnimationCurve constants (it's an enum defined in NSAnimation.h), so the implementation details are completely unimportant. All you know

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Fred Kiefer
Xavier Glattard wrote: leeg at thaesofereode.info writes: 2) I dont understand the 3 NSAnimationCurve... - Are they linear or polynomic functions ? - what do 'slowly speeds up' and 'slows down' really mean ? They're certainly polynomial, but in fact they may not fit any finite-order

fast and simple array ? (NSAnimation)

2007-03-22 Thread Xavier Glattard
Hi NSAnimation class needs an array of floats that may grow... (for progress marks) Is there a gnustep tool (c functions, macros,...) that manages such data efficiently ? (IMHO a NSMutableArray containing NSNumber objects would be quite slow and fat) thanks Xavier

Re: fast and simple array ? (NSAnimation)

2007-03-22 Thread Richard Frith-Macdonald
On 22 Mar 2007, at 13:59, Xavier Glattard wrote: Hi NSAnimation class needs an array of floats that may grow... (for progress marks) Is there a gnustep tool (c functions, macros,...) that manages such data efficiently ? (IMHO a NSMutableArray containing NSNumber objects would be quite slow