* GSWeb.framework/GSWApplication.h

* GSWeb.framework/GSWApplication.m: Prepare split off of
        GSWApplication+Defaults.m.
        (_initAdaptorsWithUserDefaults:, _argsDictionaryWithUserDefaults:)
        (_initRegistrationDomainDefaults, _initUserDefaultsKeys)
        Move from main method list to GSWApplicationDefaults category.
        (setContextClassName:, contextClassName, setResponseClassName:)
        (responseClassName, setRequestClassName:, requestClassName)
        Move from GSWApplicationE to GSWApplicationDefaults category.
        (GSWApplicationSetDebugSetOption): Move to bottom.
        (GSWeb_ApplicationDebugSetChange): Rename from
        GSWebApplicationDebugSetChange and move to bottom.
        (GSWeb_AdjustVolatileNSArgumentDomain)
        (GSWeb_InitializeGlobalAppDefaultOptions)
        (GSWeb_InitializeDebugOptions)
        (GSWeb_DestroyGlobalAppDefaultOptions): New private functiions
        by extracting old code.
        (GSWApplicationMainReal): Use new extracted functions.  Minor
        reformatting.
        ([+dealloc]): Use new extracted functions.
        ([-createRequestWithMethod:uri:httpVersion:]) Use new name for
        GSWeb_ApplicationDebugSetChange.
        ((UserDefaults)): Move entire Category to the bottom.

        ([-lockedInitComponentBearingFrameworksFromBundleArray]):
	Comment unused variable to avoid warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19930 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2004-08-28 11:17:33 +00:00
parent 7023f5b87c
commit 24679f8730
3 changed files with 1328 additions and 1228 deletions

View file

@ -1,3 +1,33 @@
2004-08-28 David Ayers <d.ayers@inode.at>
* GSWeb.framework/GSWApplication.h
* GSWeb.framework/GSWApplication.m: Prepare split off of
GSWApplication+Defaults.m.
(_initAdaptorsWithUserDefaults:, _argsDictionaryWithUserDefaults:)
(_initRegistrationDomainDefaults, _initUserDefaultsKeys)
Move from main method list to GSWApplicationDefaults category.
(setContextClassName:, contextClassName, setResponseClassName:)
(responseClassName, setRequestClassName:, requestClassName)
Move from GSWApplicationE to GSWApplicationDefaults category.
(GSWApplicationSetDebugSetOption): Move to bottom.
(GSWeb_ApplicationDebugSetChange): Rename from
GSWebApplicationDebugSetChange and move to bottom.
(GSWeb_AdjustVolatileNSArgumentDomain)
(GSWeb_InitializeGlobalAppDefaultOptions)
(GSWeb_InitializeDebugOptions)
(GSWeb_DestroyGlobalAppDefaultOptions): New private functiions by
extracting old code.
(GSWApplicationMainReal): Use new extracted functions. Minor
reformatting.
([+dealloc]): Use new extracted functions.
([-createRequestWithMethod:uri:httpVersion:]) Use new name for
GSWeb_ApplicationDebugSetChange.
((UserDefaults)): Move entire Category to the bottom.
([-lockedInitComponentBearingFrameworksFromBundleArray]): Comment
unused variable to avoid warning.
2004-06-16 David Wetzel <dave@turbocat.de>
* GSWeb.framework/GSWDynamicURLString.m

View file

@ -139,15 +139,11 @@ GSWEB_EXPORT BOOL WOStrictFlag;
-(void)setPageRefreshOnBacktrackEnabled:(BOOL)flag;
-(void)registerRequestHandlers;
-(void)_initAdaptorsWithUserDefaults:(NSUserDefaults*)userDefault;
-(NSDictionary*)_argsDictionaryWithUserDefaults:(NSUserDefaults*)userDefault;
-(void)unlock;
-(void)lock;
-(void)unlockRequestHandling;
-(void)lockRequestHandling;
+(void)_initRegistrationDomainDefaults;
+(void)_initUserDefaultsKeys;
@end
//====================================================================
@ -184,16 +180,10 @@ GSWEB_EXPORT BOOL WOStrictFlag;
//====================================================================
@interface GSWApplication (GSWApplicationE)
-(void)setContextClassName:(NSString*)className;
-(NSString*)contextClassName;
-(GSWContext*)createContextForRequest:(GSWRequest*)aRequest;
-(void)setResponseClassName:(NSString*)className;
-(NSString*)responseClassName;
-(GSWResponse*)createResponseInContext:(GSWContext*)aContext;
-(void)setRequestClassName:(NSString*)className;
-(NSString*)requestClassName;
-(GSWRequest*)createRequestWithMethod:(NSString*)aMethod
uri:(NSString*)anURL
httpVersion:(NSString*)aVersion
@ -527,6 +517,22 @@ GSWEB_EXPORT BOOL WOStrictFlag;
-(GSWRequestHandler*)handlerForRequest:(GSWRequest*)aRequest;
@end
//====================================================================
@interface GSWApplication (GSWApplicationDefaults)
+(void)_initRegistrationDomainDefaults;
+(void)_initUserDefaultsKeys;
-(void)_initAdaptorsWithUserDefaults:(NSUserDefaults*)userDefault;
-(NSDictionary*)_argsDictionaryWithUserDefaults:(NSUserDefaults*)userDefault;
-(void)setContextClassName:(NSString*)className;
-(NSString*)contextClassName;
-(void)setResponseClassName:(NSString*)className;
-(NSString*)responseClassName;
-(void)setRequestClassName:(NSString*)className;
-(NSString*)requestClassName;
@end
//====================================================================
@interface GSWApplication (UserDefaults)
+(NSArray*)loadFrameworks;

File diff suppressed because it is too large Load diff