mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-19 00:51:51 +00:00
* Framework/PCProject.m: Changes to make plist output in
human readable format. * Resources/Info-gnustep.plist: Changes to read C++ files using C editor. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28239 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8b186c4ad7
commit
01c3eadcf5
3 changed files with 16 additions and 6 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,10 @@
|
|||
2009-04-22 16:31-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Framework/PCProject.m: Changes to make plist output in
|
||||
human readable format.
|
||||
* Resources/Info-gnustep.plist: Changes to read C++ files using
|
||||
C editor.
|
||||
|
||||
2009-04-15 Sergii Stoian <stoyan255@gmail.com>
|
||||
|
||||
* Framework/PCProjectBuilder.m:
|
||||
|
@ -11,7 +18,8 @@
|
|||
|
||||
2009-03-31 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* PCSplitView: removed and replaced with standard NSSplitView in all instances
|
||||
* PCSplitView: removed and replaced with standard NSSplitView in all
|
||||
instances
|
||||
|
||||
2009-03-28 Sergii Stoian <stoyan255@gmail.com>
|
||||
|
||||
|
|
|
@ -476,6 +476,7 @@ NSString
|
|||
NSString *file = @"PC.project";
|
||||
NSString *backup = [wrapperPath stringByAppendingPathExtension:@"backup"];
|
||||
NSMutableDictionary *dict = [projectDict mutableCopy];
|
||||
NSData *dictData = nil;
|
||||
|
||||
// remove key..
|
||||
[dict removeObjectForKey: @"PC_WINDOWS"];
|
||||
|
@ -515,11 +516,12 @@ NSString
|
|||
}
|
||||
|
||||
// Save project file
|
||||
dictData = [NSPropertyListSerialization dataFromPropertyList: dict
|
||||
format: NSPropertyListOpenStepFormat
|
||||
errorDescription: NULL];
|
||||
[projectDict setObject: [[NSCalendarDate date] description]
|
||||
forKey: PCLastEditing];
|
||||
[projectFileWrapper addRegularFileWithContents:
|
||||
[NSData dataWithBytes: [[dict description] cString]
|
||||
length: [[dict description] length]]
|
||||
forKey: PCLastEditing];
|
||||
[projectFileWrapper addRegularFileWithContents: dictData
|
||||
preferredFilename: file];
|
||||
if ([projectFileWrapper
|
||||
writeToFile:wrapperPath
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
NSIcon = ProjectCenter.editor/Resources/FileC.tiff;
|
||||
NSName = GSPCCType;
|
||||
NSRole = Editor;
|
||||
NSUnixExtensions = ( c );
|
||||
NSUnixExtensions = ( c, C, cp, cpp, c++ );
|
||||
}
|
||||
);
|
||||
URL = "See http://www.gnustep.org/";
|
||||
|
|
Loading…
Reference in a new issue