From 4eb73b4d38a93a57df97282212d7b1e097ac788d Mon Sep 17 00:00:00 2001 From: Sergii Stoian Date: Wed, 2 Jul 2003 13:25:15 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@17087 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 15 ++++++++++----- PCAppProj/PCAppProject.m | 5 ++--- PCLib/PCProject+UInterface.m | 10 +++++++--- PCLib/PCProject.m | 25 ++++++------------------- PCMenuController.m | 1 + 5 files changed, 26 insertions(+), 30 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7bb9408..5edcf8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,21 +17,26 @@ (showAddFileWindow): Handling of image, docs, models and non project files added. Now images go into Images subdir, docs into Documentation, .gorm files into $LANGUAGE.lproj subdir. - * PCLib/PCProject+UInterface.m: (_initUI): Files' history list enabled back. Adjust size of history list. Added some fileds, controls rearranged in Project Inspector. - + Release of box added after adding to split. * PCLib/PCProject.h: Added definition of new Inspector fields. - * PCLib/PCProject.m: (updateValuesFromProjectDict): Set project's - language. + * PCLib/PCProject.m: + (updateValuesFromProjectDict): Set project's language. + (dealloc): Extra releases removed. * PCLib/PCProjectBuilder.m: Stability improved via cleanup in build task handling. (topButtonPressed:): Removed. - * PCLib/PCProjectManager+UInterface.m: ProjectInspector content view resized. Changed title from "Inspector" to "Project Inspector". + * PCMenuController.m: + (validateMenuItem:): Return by default YES if no project loaded. + + * PCAppProj/PCAppProject.m: + (dealloc): Release of appClassField and appImageField removed. + 2003-06-20 Serg Stoyan * Images/ButtonTile.tiff: Added. diff --git a/PCAppProj/PCAppProject.m b/PCAppProj/PCAppProject.m index 3e69e09..8ca300d 100644 --- a/PCAppProj/PCAppProject.m +++ b/PCAppProj/PCAppProject.m @@ -58,7 +58,8 @@ [projectProjectInspectorView addSubview:textField]; RELEASE(textField); - appClassField = [[NSTextField alloc] initWithFrame:NSMakeRect(111,248,165,21)]; + appClassField = [[NSTextField alloc] initWithFrame: + NSMakeRect(111,248,165,21)]; [appClassField setAlignment: NSLeftTextAlignment]; [appClassField setBordered: YES]; [appClassField setEditable: YES]; @@ -167,8 +168,6 @@ [rootCategories release]; [rootObjects release]; [rootKeys release]; - [appClassField release]; - [appImageField release]; [super dealloc]; } diff --git a/PCLib/PCProject+UInterface.m b/PCLib/PCProject+UInterface.m index fe8f7bf..333d434 100644 --- a/PCLib/PCProject+UInterface.m +++ b/PCLib/PCProject+UInterface.m @@ -243,23 +243,26 @@ #ifdef ENABLE_HISTORY [split addSubview: v_split]; + RELEASE(v_split); #else [split addSubview: browser]; #endif [split addSubview: box]; + RELEASE(box); + [split adjustSubviews]; [_c_view addSubview: split]; - RELEASE(split); - RELEASE(browser); - [browser loadColumnZero]; #ifdef ENABLE_HISTORY [history loadColumnZero]; #endif + RELEASE(browser); + RELEASE(split); + if (![projectWindow setFrameUsingName: @"ProjectWindow"]) { [projectWindow center]; @@ -529,6 +532,7 @@ hLine = [[NSBox alloc] initWithFrame:NSMakeRect(0,278,295,2)]; [hLine setTitlePosition:NSNoTitle]; [projectFileInspectorView addSubview:hLine]; + RELEASE(hLine); changeFileNameButton = [[NSButton alloc] initWithFrame: NSMakeRect(84,240,104,21)]; diff --git a/PCLib/PCProject.m b/PCLib/PCProject.m index 7b52ab3..feb06a0 100644 --- a/PCLib/PCProject.m +++ b/PCLib/PCProject.m @@ -85,34 +85,21 @@ RELEASE(projectPath); RELEASE(projectDict); - if( projectBuilder) RELEASE(projectBuilder); - if( projectDebugger) RELEASE(projectDebugger); - if( projectEditor) RELEASE(projectEditor); + if (projectBuilder) RELEASE(projectBuilder); + if (projectDebugger) RELEASE(projectDebugger); + if (projectEditor) RELEASE(projectEditor); RELEASE(historyController); RELEASE(browserController); + RELEASE(editorController); - RELEASE(buildTargetPanel); - RELEASE(buildTargetHostField); - RELEASE(buildTargetArgsField); + RELEASE(buildTargetPanel); // ? RELEASE(buildOptions); - + RELEASE(projectAttributeInspectorView); - RELEASE(installPathField); - RELEASE(toolField); - RELEASE(ccOptField); - RELEASE(ldOptField); - RELEASE(projectProjectInspectorView); - RELEASE(projectTypeField); - RELEASE(projectFileInspectorView); - RELEASE(fileNameField); - RELEASE(changeFileNameButton); - - RELEASE(box); - RELEASE(editorController); [super dealloc]; } diff --git a/PCMenuController.m b/PCMenuController.m index 5aa03f6..79f92fd 100644 --- a/PCMenuController.m +++ b/PCMenuController.m @@ -571,6 +571,7 @@ if ([[menuItem title] isEqualToString:@"Index Subproject"]) return NO; if ([[menuItem title] isEqualToString:@"Index File"]) return NO; } + return YES; } // Project related menu items