mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Minor corrections. Reduced log output and added logic to prevent exception.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@17561 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1891e72942
commit
e647d64d34
3 changed files with 18 additions and 7 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,4 +1,10 @@
|
|||
2003-08-23 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
2003-08-28 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormDocument.m: Cleanup some of the extra logs.
|
||||
* GormClassInspector.m: Add logic to prefent index out of bounds
|
||||
exception.
|
||||
|
||||
2003-08-27 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormDocument.m: Corrected some memory related issues.
|
||||
* GormCustomClassManager.m: Added to log which informs
|
||||
|
@ -6,7 +12,7 @@
|
|||
* Gorm.m: Cleaned up some comments and updated the version of
|
||||
the application.
|
||||
|
||||
2003-08-23 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
2003-08-26 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormDocument.m: Added some debug logs. And in
|
||||
_replaceObjectsWithTemplates: modified the method to use the
|
||||
|
|
|
@ -62,7 +62,12 @@ objectValueForTableColumn: (NSTableColumn *)tc
|
|||
row: (int)rowIndex
|
||||
{
|
||||
NSArray *list = [[(Gorm *)NSApp classManager] allOutletsForClassNamed: [inspector _currentClass]];
|
||||
return [list objectAtIndex: rowIndex];
|
||||
id value = nil;
|
||||
if([list count] > 0)
|
||||
{
|
||||
value = [list objectAtIndex: rowIndex];
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
- (void) tableView: (NSTableView *)tv
|
||||
|
|
|
@ -1906,8 +1906,8 @@ static NSImage *classesImage = nil;
|
|||
[[c nameTable] setObject: cc forKey: GSCustomClassMap];
|
||||
}
|
||||
[classManager setCustomClassMap: cc];
|
||||
NSLog(@"cc = %@", cc);
|
||||
NSLog(@"customClasses = %@", [classManager customClassMap]);
|
||||
NSDebugLog(@"cc = %@", cc);
|
||||
NSDebugLog(@"customClasses = %@", [classManager customClassMap]);
|
||||
|
||||
// convert from old file format...
|
||||
if (isDir == NO)
|
||||
|
@ -2655,9 +2655,9 @@ static NSImage *classesImage = nil;
|
|||
[self _replaceObjectsWithTemplates: archiver];
|
||||
|
||||
[archiver encodeRootObject: self];
|
||||
NSLog(@"nameTable = %@",nameTable);
|
||||
NSDebugLog(@"nameTable = %@",nameTable);
|
||||
|
||||
NSLog(@"customClasses = %@", [classManager customClassMap]);
|
||||
NSDebugLog(@"customClasses = %@", [classManager customClassMap]);
|
||||
|
||||
fileExists = [mgr fileExistsAtPath: documentPath isDirectory: &isDir];
|
||||
if (fileExists)
|
||||
|
|
Loading…
Reference in a new issue