* GSWeb.framework/GSWDefaultAdaptorThread.m:

o log remote address
* GSWeb.framework/GSWDeployedBundle.m:
		o fix in lockedCachedRelativePathForResourceNamed:inDirectory:forLanguage:
			to really use cache
* GSWeb.framework/GSWDirectAction.m:
		o call application -createContextForRequest: instead of directGSWContext creation
* GSWeb.framework/GSWDynamicElement.h:
		o removed -definitionName and -setDefinitionName:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17024 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mguesdon 2003-06-25 15:32:51 +00:00
parent 17c17943cc
commit d607fa669c
4 changed files with 4 additions and 6 deletions

View file

@ -585,7 +585,7 @@ RCS_ID("$Id$")
NSString* method=[requestLineArray objectAtIndex:0]; NSString* method=[requestLineArray objectAtIndex:0];
NSString* url=[requestLineArray objectAtIndex:1]; NSString* url=[requestLineArray objectAtIndex:1];
NSArray* http=[[requestLineArray objectAtIndex:2] componentsSeparatedByString:@"/"]; NSArray* http=[[requestLineArray objectAtIndex:2] componentsSeparatedByString:@"/"];
[GSWApplication statusLogWithFormat:@"Request uri=%@",url]; [GSWApplication statusLogWithFormat:@"RemoteAddress=%@ Request uri=%@",_remoteAddress,url];
NSDebugDeepMLLog(@"info",@"method=%@",method); NSDebugDeepMLLog(@"info",@"method=%@",method);
NSDebugDeepMLLog(@"info",@"url=%@",url); NSDebugDeepMLLog(@"info",@"url=%@",url);

View file

@ -390,7 +390,7 @@ RCS_ID("$Id$")
//NSDebugMLLog(@"bundles",@"_path=%@",_path); //NSDebugMLLog(@"bundles",@"_path=%@",_path);
if (path==GSNotFoundMarker) if (path==GSNotFoundMarker)
path=nil; path=nil;
if (!path) else if (!path)
{ {
//call again _relativePathForResourceNamed:inDirectory:forLanguage: //call again _relativePathForResourceNamed:inDirectory:forLanguage:
NSString* completePathTest=nil; NSString* completePathTest=nil;
@ -420,7 +420,7 @@ RCS_ID("$Id$")
else else
[_relativePathsCache setObject:GSNotFoundMarker [_relativePathsCache setObject:GSNotFoundMarker
forKeysArray:keys]; forKeysArray:keys];
}; }
} }
NS_HANDLER NS_HANDLER
{ {

View file

@ -43,7 +43,7 @@ RCS_ID("$Id$")
LOGObjectFnStart(); LOGObjectFnStart();
if ((self=[super init])) if ((self=[super init]))
{ {
_context=[GSWContext contextWithRequest:aRequest]; _context=[[GSWApplication application]createContextForRequest:aRequest];
[GSWApp _setContext:_context]; //NDFN [GSWApp _setContext:_context]; //NDFN
[self _initializeRequestSessionIDInContext:_context]; [self _initializeRequestSessionIDInContext:_context];
}; };

View file

@ -41,8 +41,6 @@
-(id)initWithName:(NSString*)name -(id)initWithName:(NSString*)name
associations:(NSDictionary*)associations associations:(NSDictionary*)associations
template:(GSWElement*)template; template:(GSWElement*)template;
-(NSString*)definitionName;
-(void)setDefinitionName:(NSString*)definitionName;
@end @end
//==================================================================== //====================================================================