From: helge Date: Fri, 4 Mar 2005 14:50:53 +0000 (+0000) Subject: added accessors to set query-path separator X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c7055bea69890926f17beb96b584905dc4ea5c0;p=sope added accessors to set query-path separator git-svn-id: http://svn.opengroupware.org/SOPE/trunk@615 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index 5214aff7..b5d8e006 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,5 +1,8 @@ 2005-03-04 Helge Hess + * WOContext.m: added -setQueryPathSeparator:/-queryPathSeparator + methods as requested by Stephane (v4.5.125) + * WOComponent.m: protect component against duplicate -awake in the same context as suggested by Stephane (v4.5.124) diff --git a/sope-appserver/NGObjWeb/NGObjWeb/WOContext.h b/sope-appserver/NGObjWeb/NGObjWeb/WOContext.h index b656c8f4..9e064f45 100644 --- a/sope-appserver/NGObjWeb/NGObjWeb/WOContext.h +++ b/sope-appserver/NGObjWeb/NGObjWeb/WOContext.h @@ -139,6 +139,9 @@ - (NSString *)queryStringFromDictionary:(NSDictionary *)_queryDict; +- (void)setQueryPathSeparator:(NSString *)_sp; +- (NSString *)queryPathSeparator; + @end @interface WOContext(PrivateMethods) diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index b4b46d80..d8d197cd 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=124 +SUBMINOR_VERSION:=125 # v4.5.122 requires libNGExtensions v4.5.153 # v4.5.91 requires libNGExtensions v4.5.134 diff --git a/sope-appserver/NGObjWeb/WOContext.m b/sope-appserver/NGObjWeb/WOContext.m index c65423da..f6c5c0de 100644 --- a/sope-appserver/NGObjWeb/WOContext.m +++ b/sope-appserver/NGObjWeb/WOContext.m @@ -699,6 +699,13 @@ void WOContext_leaveComponent(WOContext *self, WOComponent *_component) { /* described in Apple TIL article 70101 */ } +- (void)setQueryPathSeparator:(NSString *)_sp { + ASSIGNCOPY(self->qpJoin, _sp); +} +- (NSString *)queryPathSeparator { + return self->qpJoin; +} + - (NSString *)queryStringFromDictionary:(NSDictionary *)_queryDict { NSEnumerator *keys; NSString *key;