mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 02:20:55 +00:00
* EOControl/EONSAddOns.h/m
([NSString-hasShellPatternCharacter]): Remove. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20730 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
aff14039ef
commit
c16e28c931
4 changed files with 6 additions and 20 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
* EOControl/EOClassDescription.m ([NSObject-snapshot]):
|
||||
Return valid dictionary for EONull.
|
||||
|
||||
* EOControl/EONSAddOns.h/m ([NSString-hasShellPatternCharacter]):
|
||||
Remove.
|
||||
|
||||
2005-02-15 David Ayers <d.ayers@inode.at>
|
||||
|
||||
|
|
|
@ -1107,7 +1107,7 @@ fromInsertionInEditingContext: (EOEditingContext *)anEditingContext
|
|||
unsigned attributeKeyCount;
|
||||
unsigned toOneRelationshipKeyCount;
|
||||
unsigned toManyRelationshipKeyCount;
|
||||
undigned i;
|
||||
unsigned i;
|
||||
|
||||
EOFLOGObjectFnStart();
|
||||
|
||||
|
|
|
@ -118,12 +118,6 @@ GDL2_ActivateAllGDL2Categories(void);
|
|||
-(unsigned long long)unsignedLongLongValue;
|
||||
@end
|
||||
|
||||
@interface NSString (ShellPattern)
|
||||
/** returns YES is string contain shell pattern characters,
|
||||
NO otherwise **/
|
||||
- (BOOL)hasShellPatternCharacter;
|
||||
@end
|
||||
|
||||
@interface NSObject (PerformSelect3)
|
||||
/**
|
||||
* Causes the receiver to execute the method implementation corresponding
|
||||
|
|
|
@ -148,17 +148,6 @@ GDL2_ActivateAllGDL2Categories(void)
|
|||
}
|
||||
|
||||
|
||||
@implementation NSString (ShellPattern)
|
||||
/** returns YES is string contain shell pattern characters,
|
||||
NO otherwise **/
|
||||
- (BOOL)hasShellPatternCharacter
|
||||
{
|
||||
NSRange r=[self rangeOfCharacterFromSet:GDL2_shellPatternCharacterSet];
|
||||
return (r.length>0 ? YES : NO);
|
||||
};
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSObject (NSObjectPerformingSelector)
|
||||
|
||||
- (NSArray*)resultsOfPerformingSelector: (SEL)sel
|
||||
|
@ -201,7 +190,7 @@ NO otherwise **/
|
|||
object,
|
||||
sel_get_name(sel));
|
||||
|
||||
[results addObject: result]; //TODO What to do if nil ??
|
||||
[results addObject: result];
|
||||
}
|
||||
}
|
||||
NS_HANDLER
|
||||
|
@ -210,7 +199,7 @@ NO otherwise **/
|
|||
object,
|
||||
[object class],
|
||||
NSStringFromSelector(sel));
|
||||
NSLog(@"%@ (%@)",localException,[localException reason]);
|
||||
NSLog(@"%@ %@",localException,[localException userInfo]);
|
||||
[localException raise];
|
||||
}
|
||||
NS_ENDHANDLER;
|
||||
|
|
Loading…
Reference in a new issue