mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-19 09:40:59 +00:00
* EOControl/EOEditingContext.m
* EOControl/EOMultiReaderLock.m * EOControl/EODetailDataSource.m fix warnings * EOControl/EOCustomObject.m validateValue:forKey:error: -- add reason in NSLocalizedDescriptionKey fix warnings git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30558 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b50974f473
commit
272ff9fd66
5 changed files with 12 additions and 7 deletions
|
@ -1,3 +1,12 @@
|
|||
2010-06-03 David Wetzel <dave@turbocat.de>
|
||||
* EOControl/EOEditingContext.m
|
||||
* EOControl/EOMultiReaderLock.m
|
||||
* EOControl/EODetailDataSource.m
|
||||
fix warnings
|
||||
* EOControl/EOCustomObject.m
|
||||
validateValue:forKey:error: -- add reason in NSLocalizedDescriptionKey
|
||||
fix warnings
|
||||
|
||||
2010-06-03 David Wetzel <dave@turbocat.de>
|
||||
* EOAccess/EOModel.m
|
||||
include GNUstepBase/NSObject+GNUstepBase.h
|
||||
|
|
|
@ -256,17 +256,13 @@ RCS_ID("$Id: EOGenericRecord.m 30111 2010-04-09 10:09:41Z ayers $")
|
|||
|
||||
if (ex) {
|
||||
NSDictionary * uInfo;
|
||||
NSString * errorString = @"unknown reason";
|
||||
|
||||
uInfo = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
(*value ? *value : (id)@"nil"), @"EOValidatedObjectUserInfoKey",
|
||||
key, @"EOValidatedPropertyUserInfoKey",
|
||||
[ex reason], NSLocalizedDescriptionKey,
|
||||
nil];
|
||||
|
||||
|
||||
NSDictionary *userInfoDict =
|
||||
[NSDictionary dictionaryWithObject:[ex reason]
|
||||
forKey:NSLocalizedDescriptionKey];
|
||||
NSError *error = [[[NSError alloc] initWithDomain:NSCocoaErrorDomain
|
||||
code:NSKeyValueValidationError
|
||||
userInfo:uInfo] autorelease];
|
||||
|
|
|
@ -55,7 +55,7 @@ RCS_ID("$Id$")
|
|||
#include <EOControl/EOKeyValueArchiver.h>
|
||||
#include <EOControl/EOClassDescription.h>
|
||||
#include <EOControl/EODebug.h>
|
||||
|
||||
#include <EOControl/EOCustomObject.h>
|
||||
|
||||
@implementation EODetailDataSource
|
||||
|
||||
|
|
|
@ -68,6 +68,7 @@ RCS_ID("$Id$")
|
|||
@interface NSObject(EOEntityWarningSupression)
|
||||
- (NSString *) name;
|
||||
- (EOGlobalID *) globalIDForRow:(NSDictionary *)row;
|
||||
+ (void) objectDeallocated: (id) object;
|
||||
@end
|
||||
@interface EOEntityClassDescription : EOClassDescription
|
||||
- (NSObject *) entity;
|
||||
|
|
|
@ -122,7 +122,6 @@
|
|||
{
|
||||
NSThread *ct = [NSThread currentThread];
|
||||
|
||||
#warning is int good here? I don't think so. -- dw
|
||||
int cnt = (int)NSMapGet(_readerThreads,ct);
|
||||
|
||||
if (ct == _writerLockThread)
|
||||
|
|
Loading…
Reference in a new issue