From be6c8bbcf1a39244079443952f35ae3752ad24e9 Mon Sep 17 00:00:00 2001 From: Riccardo Mottola Date: Tue, 13 Jul 2010 09:31:38 +0000 Subject: [PATCH] Log conversion into PC log and not console. Remove unneded keys. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30951 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 11 ++++++++--- Framework/PCProjectManager.m | 6 +++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cc6fd5b..998afb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ -2010-07-20 Riccardo Mottola +2010-07-13 Riccardo Mottola + + * Framework/PCProjectManager.m + Log conversion into PC log and not console. Remove unneded keys. + +2010-07-10 Riccardo Mottola * Modules/Projects/Application/Resources/PC.project * Modules/Projects/Library/Resources/PC.project @@ -10,8 +15,8 @@ 2010-07-10 01:20-EDT Gregory John Casamento - * Modules/Editors/ProjectCenter/PCEditor.m: in -save implemented - simple mechanism for propagating changes in classes to Gorm when + * Modules/Editors/ProjectCenter/PCEditor.m: in -save implemented + simple mechanism for propagating changes in classes to Gorm when updating a header file. 2010-07-08 Riccardo Mottola diff --git a/Framework/PCProjectManager.m b/Framework/PCProjectManager.m index ad8e428..4cb5706 100644 --- a/Framework/PCProjectManager.m +++ b/Framework/PCProjectManager.m @@ -444,7 +444,7 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange"; return nil; } - NSLog(@"Convert legacy"); + PCLogInfo(self, @"Converting legacy project"); // Gorm project type doesn't exists anymore if ([projectClassName isEqualToString:@"PCGormProj"] || @@ -517,6 +517,10 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange"; [fm movePath:_file toPath:_2file handler:nil]; } + /* remove non meaningful keys */ + [pDict removeObjectForKey: PCWindows]; + [pDict removeObjectForKey: PCLastEditing]; + // GNUmakefiles will be generated in [PCProject initWithProjectDictionary:] // Remove obsolete records from project dictionary and write to PC.project