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
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
, 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
- 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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
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
french un dessin est mieux qu'un long discours /french :-)
A picture is worth a thousand words ;-)
Linear : EaseIn : EaseOut: EaseInOut:
| + | + | +++ |++
|+| + | ++ | ++
| + | + |
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
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
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
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
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
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
28 matches
Mail list logo