mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 00:30:58 +00:00
commit
14baf92024
8 changed files with 16 additions and 41 deletions
|
@ -683,20 +683,7 @@ GSWindowDecorationView.h \
|
|||
GSXibElement.h \
|
||||
GSXibLoading.h \
|
||||
GSXibKeyedUnarchiver.h \
|
||||
GSHelpAttachment.h \
|
||||
GSAutoLayoutVFLParser.h \
|
||||
GSAutoLayoutEngine.h \
|
||||
GSCassowarySolver.h \
|
||||
GSCSConstraint.h \
|
||||
GSCSVariable.h \
|
||||
GSCSFloatComparator.h \
|
||||
GSCSSolution.h \
|
||||
GSCSLinearExpression.h \
|
||||
GSCSConstraintOperator.h \
|
||||
GSCSStrength.h \
|
||||
GSCSEditVariableManager.h \
|
||||
GSCSEditInfo.h \
|
||||
GSCSTableau.h
|
||||
GSHelpAttachment.h
|
||||
|
||||
libgnustep-gui_HEADER_FILES = ${GUI_HEADERS}
|
||||
|
||||
|
|
|
@ -461,8 +461,8 @@ static GSAutocompleteWindow *gsWindow = nil;
|
|||
if ( (flag) ||
|
||||
(movement == NSCancelTextMovement) )
|
||||
{
|
||||
ASSIGN(_originalWord, nil);
|
||||
ASSIGN(_words, nil);
|
||||
DESTROY(_originalWord);
|
||||
DESTROY(_words);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -110,8 +110,8 @@ NSUnregisterServicesProvider(NSString *name)
|
|||
object: listenerConnection];
|
||||
DESTROY(listenerConnection);
|
||||
}
|
||||
ASSIGN(servicesProvider, nil);
|
||||
ASSIGN(providerName, nil);
|
||||
DESTROY(servicesProvider);
|
||||
DESTROY(providerName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -78,14 +78,6 @@ _GSBezierEval(_GSBezierDesc *b, float t)
|
|||
return b->a[0] + t * (b->a[1] + t * (b->a[2] + t * b->a[3]));
|
||||
}
|
||||
|
||||
static inline float
|
||||
_GSBezierDerivEval(_GSBezierDesc *b, float t)
|
||||
{
|
||||
if (!b->areCoefficientsComputed)
|
||||
_GSBezierComputeCoefficients(b);
|
||||
return b->a[1] + t * (2.0 * b->a[2] + t * 3.0 * b->a[3]);
|
||||
}
|
||||
|
||||
static inline void
|
||||
_GSRationalBezierComputeBezierDesc(_GSRationalBezierDesc *rb)
|
||||
{
|
||||
|
@ -106,18 +98,6 @@ _GSRationalBezierEval(_GSRationalBezierDesc *rb, float t)
|
|||
return _GSBezierEval(&(rb->n), t) / _GSBezierEval(&(rb->d), t);
|
||||
}
|
||||
|
||||
static inline float
|
||||
_GSRationalBezierDerivEval(_GSRationalBezierDesc *rb, float t)
|
||||
{
|
||||
float h;
|
||||
if (!rb->areBezierDescComputed)
|
||||
_GSRationalBezierComputeBezierDesc(rb);
|
||||
h = _GSBezierEval(&(rb->d), t);
|
||||
return (_GSBezierDerivEval(&(rb->n), t) * h
|
||||
- _GSBezierEval (&(rb->n), t) * _GSBezierDerivEval(&(rb->d), t))
|
||||
/ (h*h);
|
||||
}
|
||||
|
||||
static
|
||||
_NSAnimationCurveDesc _gs_animationCurveDesc[] =
|
||||
{
|
||||
|
|
|
@ -47,6 +47,14 @@ static NSNotificationCenter *nc;
|
|||
inView: (NSView *)controlView;
|
||||
@end
|
||||
|
||||
/*
|
||||
* Declaration of private NSTextField method
|
||||
*/
|
||||
|
||||
@interface NSTextField (GNUstepPrivate)
|
||||
- (BOOL)textView: (NSTextView*)textView doCommandBySelector: (SEL)command;
|
||||
@end
|
||||
|
||||
/**
|
||||
<unit>
|
||||
<heading>Class Description</heading>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
{
|
||||
NSError *error = nil;
|
||||
|
||||
NSAssert(completionHandler != nil, NSInvalidArgumentException);
|
||||
NSAssert(completionHandler != NULL, NSInvalidArgumentException);
|
||||
CALL_NON_NULL_BLOCK(completionHandler, error);
|
||||
}
|
||||
|
||||
|
|
|
@ -363,7 +363,7 @@ static NSMutableDictionary *units = nil;
|
|||
}
|
||||
else
|
||||
{
|
||||
ASSIGN(_markers, nil);
|
||||
DESTROY(_markers);
|
||||
}
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
|
|
|
@ -577,7 +577,7 @@ selectCellWithString: (NSString*)title
|
|||
else
|
||||
{
|
||||
ASSIGN (_directory, [path stringByAppendingPathComponent: title]);
|
||||
ASSIGN (_fullFileName, nil);
|
||||
DESTROY (_fullFileName);
|
||||
}
|
||||
|
||||
[self _selectTextInColumn:column];
|
||||
|
|
Loading…
Reference in a new issue