From: znek Date: Sat, 30 Dec 2006 22:49:36 +0000 (+0000) Subject: enhancement to OFSResourceManager X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=500faaef03a5df4afa3e2b9792ba49350cac12ad;p=sope enhancement to OFSResourceManager git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1395 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-appserver/SoOFS/ChangeLog b/sope-appserver/SoOFS/ChangeLog index bdf8b8fb..91e6e38b 100644 --- a/sope-appserver/SoOFS/ChangeLog +++ b/sope-appserver/SoOFS/ChangeLog @@ -1,5 +1,8 @@ 2006-12-30 Marcus Mueller + * OFSResourceManager.m: assign self as resourceManager to components + created by it. (v4.5.24) + * sope.m: changed to use the new user defaults registration mechanism of WOCoreApplication (v4.5.23) diff --git a/sope-appserver/SoOFS/OFSResourceManager.m b/sope-appserver/SoOFS/OFSResourceManager.m index 6b395a5c..2b22cbbb 100644 --- a/sope-appserver/SoOFS/OFSResourceManager.m +++ b/sope-appserver/SoOFS/OFSResourceManager.m @@ -34,6 +34,10 @@ - (void)setComponentClass:(Class)_clazz; @end +@interface WOComponent(RM) +- (void)setResourceManager:(WOResourceManager *)_rm; +@end + @implementation OFSResourceManager static BOOL debugOn = NO; @@ -194,6 +198,14 @@ static BOOL debugOn = NO; return [obj baseURLInContext:[self context]]; } +- (id)pageWithName:(NSString *)_name languages:(NSArray *)_langs { + WOComponent *p; + + p = [super pageWithName:_name languages:_langs]; + [p setResourceManager:self]; + return p; +} + /* debugging */ - (BOOL)isDebuggingEnabled { diff --git a/sope-appserver/SoOFS/SoOFS.xcodeproj/project.pbxproj b/sope-appserver/SoOFS/SoOFS.xcodeproj/project.pbxproj index 4daee1d9..1eac9080 100644 --- a/sope-appserver/SoOFS/SoOFS.xcodeproj/project.pbxproj +++ b/sope-appserver/SoOFS/SoOFS.xcodeproj/project.pbxproj @@ -522,7 +522,7 @@ buildSettings = { COPY_PHASE_STRIP = NO; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 4.5.23; + DYLIB_CURRENT_VERSION = 4.5.24; FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks"; FRAMEWORK_VERSION = A; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; @@ -563,7 +563,7 @@ DEPLOYMENT_POSTPROCESSING = YES; DSTROOT = /; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 4.5.23; + DYLIB_CURRENT_VERSION = 4.5.24; DYLIB_INSTALL_NAME_BASE = "@executable_path/../Frameworks/"; FRAMEWORK_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/EmbeddedFrameworks"; FRAMEWORK_VERSION = A; @@ -606,7 +606,7 @@ isa = XCBuildConfiguration; buildSettings = { DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 4.5.23; + DYLIB_CURRENT_VERSION = 4.5.24; FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks"; FRAMEWORK_VERSION = A; GCC_PRECOMPILE_PREFIX_HEADER = YES; diff --git a/sope-appserver/SoOFS/Version b/sope-appserver/SoOFS/Version index d8df2f55..c68bd2a4 100644 --- a/sope-appserver/SoOFS/Version +++ b/sope-appserver/SoOFS/Version @@ -1,5 +1,5 @@ # version file -SUBMINOR_VERSION:=23 +SUBMINOR_VERSION:=24 # v4.5.23 requires libNGObjWeb v4.5.263