From 639baf6118517b1b1a56ec0e59c8843bf5fe802a Mon Sep 17 00:00:00 2001 From: Sergii Stoian Date: Tue, 15 Jan 2008 18:20:21 +0000 Subject: [PATCH] * Framework/PCBundleManager.m: (objectForClassName:bundleType:protocol:) Return nil if className is nil. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25952 72102866-910b-0410-8b05-ffd578937521 --- Documentation/ChangeLog | 5 +++++ Documentation/TODO | 16 ++++++++-------- English.lproj/FindPanel.gorm/data.info | Bin 184 -> 184 bytes English.lproj/FindPanel.gorm/objects.gorm | Bin 8384 -> 8409 bytes Framework/PCBundleManager.m | 5 +++++ 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/Documentation/ChangeLog b/Documentation/ChangeLog index 4242786..27f2253 100644 --- a/Documentation/ChangeLog +++ b/Documentation/ChangeLog @@ -1,3 +1,8 @@ +2007-09-27 Sergii Stoian + + * Framework/PCBundleManager.m: (objectForClassName:bundleType:protocol:) + Return nil if className is nil. + 2007-12-20 Nicola Pero * PCMakefileFactory.m ([-createPreambleForProject:]): Output the diff --git a/Documentation/TODO b/Documentation/TODO index 3f3f8b9..284498b 100644 --- a/Documentation/TODO +++ b/Documentation/TODO @@ -19,27 +19,27 @@ ProjectCenter 0.4 Owner/Status ProjectCenter 0.5 ----------------- -- Create ProjectWindow GORM file [done!] +- Create ProjectWindow GORM file [done!] - Add "Framework" project type [done!] - Add "Resource Set" project type [done!] - Implement on demand loading of bundles [done!] - Localization support for projects [done!] + Finish save/restore size of split views in Project Window [done!] --- Project Editor: - - Implement on demand loading (editor for file type) [done!] - - Open some files read only (Supporting Files) [done!] + - Implement on demand loading (editor for file type) [done!] + - Open some files read only (Supporting Files) [done!] - Implement code parser (get it from CodeEditor?) [done!] - - Project Browser should show file structure. [done!] - - Click on Browser item should move cursor to line in file [done!] + - Project Browser should show file structure. [done!] + - Click on Browser item should move cursor to line in file [done!] --- Project Builder: - - Create panel and builder GORM files [done!] + - Create panel and builder GORM files [done!] - Implement root build directory handling [done!] - Finish options handling [done!] - Parse gcc output [95% done!] - Display warnings,errors,options etc. as clickable list [done!] - GNUstep make version 2.0 compliance [done!] -- Finish FileNameIcon (draggable, files can be dragged to it) stoyan -- Save last used path separately for different file panels [done!] +- Finish FileNameIcon (draggable, files can be dragged to it) stoyan +- Save last used path separately for different file panels [done!] - Review all situations when dialogs must be popped up stoyan ProjectCenter 0.6 diff --git a/English.lproj/FindPanel.gorm/data.info b/English.lproj/FindPanel.gorm/data.info index e233f826678d75319f952731e1f6602aa013f991..e17240ec892fff1692774f4c0c974721e046ef11 100644 GIT binary patch delta 16 XcmdnNxPx(m7-Q;0aX&_;iD^LqD&Pdc delta 16 XcmdnNxPx(m7-RB8aX&`JiD^LqD#`@D diff --git a/English.lproj/FindPanel.gorm/objects.gorm b/English.lproj/FindPanel.gorm/objects.gorm index c4c7c4cf9bb8b946f09417ab2939cd0e60576984..b6c084ce0d3a2f3b693a253843f24d2499022ff7 100644 GIT binary patch delta 1148 zcmZuvNlX(_816!82gHJfQUs=DUt;vd#DgFzCGn&f??GFhcEC)%4-pkYvRq6&}vl5A?wrI91f znAa)=BH5PM*%mn~AiMN$7A0fV4a?c@aYpqB>2)=huGq0I#LCe3ab3MS(zZQ5U5hSg zy}pPJ#y2Z&p+4&ND^7|b>J-ry!#>6Rrnt%6q~aJ7$_=Pjh;KH~_V_H?m9SeGQRsI9 zQ%CvMMXMwpYERlGdtVp(EZCQ5$1wh#SyeI(8rNi0X{1%lf2*3%yfI%bpI#E$lu{m{ zr4(ASR{k(wYCc&^hvh&4jhl=M?oX3baobX(?&s)r4yO&uS7gtZuCq!VyEQc(GFMpU zVs>Vqqj_UGeKG$~Mw4n;w{Z4;OGD(Ol2BU4l(v-xMT0ameF0v&G>K`dYd7z8)-}4= z36U3iTrM^Q^a4);j{pVWQJ@I)15W`1z!1<4JPqsso&kD*XMw%IVc;>~IbbL7yqL!e zK3Hr7&Vb-^u?rx5SY#JLx`jR$yF~Tbx$04B%P!`|M61vvcv+aj*?i4qC@;2!*%hz> z#KY_=ShwH@y9VYLI>5%kIs`Y^buhOO0J{Me5IkTv!91uMX18bspQ8=3399AUvfH8! z)q}zWy93tECSwh1gQIaz6Pu!wJkQ-l%r6AlJ(`BP57hznfPV3r+(Rfg)FaBV=5mjr z0#MVm(P~@%1j++76FGoexCu_P)8X7vUDw=H#%9rFKSEEb)0)XWg9-{B_MAqoIou0b z^{|)p$!g!lC#C1sMuctk45qG6+9F8yt+meXTN(ez97clMil?2Y1znd0v(S#-2R=5?0E zCZiccGJP}ulD8(wvSDuR-Iki!mGZ)-lyTKw!RuzHL%h)LcC%iv4eSF?fM>uCPyqd4 z2n>Q}!DcWFwt(kA4|pEz1TTOm!G7>KcoFm=VV58Rg3rw^Lv-O8i@O5VDs;Ko03A-t zP+X-zTCVO|$SSl8Z7f1lX?*D*TpQktuEU-Mzvny9?FI?oltlTrox?Jg*x^;upN^ zK7Hl+f(LLda1TRT>6B&RsHsijc~jOpYg}dJ&O-JGHO;7bOoi4A-4nPV+*5K|ZMtW0 z9=HiQYE3Pe#5~<_Q=t{}yHz+{&dRcSCwq<>ui#-XXu_JVdnvhg_KFlXo9?yb+SnV) zx7l@XCD+Q{(KfjEk_)g8bikIo@}uNB*{9i+^mB9Tm38%H^}FgeRXJT1>~knp9EAG| Dkdkl| diff --git a/Framework/PCBundleManager.m b/Framework/PCBundleManager.m index 7347056..6419186 100644 --- a/Framework/PCBundleManager.m +++ b/Framework/PCBundleManager.m @@ -233,6 +233,11 @@ { Class objectClass; + if (!className) + { + return nil; + } + if ([self bundleOfType:bundleExtension withClassName:className] == nil) { NSLog(@"Bundle for class %@ NOT FOUND!", className);