2002-07-27 23:48:47 +00:00
|
|
|
/** GSWContext.m - <title>GSWeb: Class GSWContext</title>
|
|
|
|
|
2004-04-06 11:15:53 +00:00
|
|
|
Copyright (C) 1999-2004 Free Software Foundation, Inc.
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
2000-01-22 12:49:49 +00:00
|
|
|
Date: Jan 1999
|
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
$Revision$
|
|
|
|
$Date$
|
2003-01-19 15:33:07 +00:00
|
|
|
$Id$
|
2002-07-27 23:48:47 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
This file is part of the GNUstep Web Library.
|
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
<license>
|
2000-01-22 12:49:49 +00:00
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Library General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Library General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
|
|
License along with this library; if not, write to the Free
|
|
|
|
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
2002-07-27 23:48:47 +00:00
|
|
|
</license>
|
|
|
|
**/
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2003-03-21 14:32:57 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
2003-01-22 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/Makefile.postamble:
o use $(LN_S) -f in install-WO-headers
o added $(MKDIRS) $(GNUSTEP_HEADERS)/$(GSWExtensions_wo_HEADER_FILES_INSTALL_DIR);
* GSWExtensionsGSW.framework/Makefile.postamble: use $(LN_S) -f in install-WO-headers
2003-01-20 David Ayers <d.ayers@inode.at>
* Makefile.postamble
o added support for make gswnames=(gsw,wo,all) (corrected
typo)
o reinserted support for $(INSTALL_ROOT_DIR)
* config.h.in
o added HAVE_GDL2
* configure
o added support for --with-gswnames=(gsw,wo,all)
o set LIBWRAP during configure
o added config.mak.in as configurable file
* configure.ac
o (see configure)
* config.mak: removed (replaced by config.mak.in)
* config.mak.in: new file
o added support for make gswnames=(gsw,wo,all)
* gsweb.make.in
o add GSANTLR as auxiliary lib
o add gsweb libs to AUXILIARY_GSW_LIBS
o include correct extensions for GSW/WO-libs
* gsweb_wo.make: new file
* GSWeb/GSWConfig.h
o changed support for GSWEB_WONAMES
o conditionally import file GSWWOCompatiblity
here instead of in GSWeb.h
* GSWeb/GNUMakefile
o added support for make gswnames=(gsw,wo,all)
o ensure each lib gets built with its own object files
o removed deactivated framework extension determination code
o removed reference to unused files:
GSWeb.m, GSWWOCompatibility.m
o added references to new files:
GSWExtenstions.h, GSWExtWOCompatibility.h
o added support to create WO header files
* GSWeb/Makefile.postamble
o changed support to install WO header files according to
make gswnames=(gsw,wo,all)
o remove Makefile.preamble during distclean
* GSWeb/Makefile.preamble.in
o fixed typo
* GSWeb/GSWeb.h
o moved GSW/WO-Name-mapping to GSWWOCompatibility.h
o replaced inclusions of
<GSWeb/file.h> with "file.h"
* GSWeb/GSWeb.m: removed
* GSWeb/GSWWOCompatibility.h
o changed GSWEB_WONAMES handling
o removed hybrid namespace WO subclasses
o moved & reorganized GSW/WO-Name-mapping from GSWeb.h
o inlucluded missing GSW/WO-Name-mappings
* GSWeb/GSWWOCompatibility.m: removed
* GSWeb/*.m
o replaced inclusions of
<GSWeb/file.h> with "file.h"
* GSWeb/GSWApplication.m
o remove special GSW/WO handling of WOApp
* GSWeb/WebObject/WO*: removed
* GSWeb/WebObject/WebObjects
o replaced inclusions of
<GSWeb/file.h> with "file.h"
* GSWExtensions/GNUMakefile
o added support for make gswnames=(gsw,wo,all)
o ensure each lib gets built with its own object files
o removed deactivated framework extension determination code
o added references to new files:
GSWExtenstions.h, GSWExtWOCompatibility.h
o added support to create WO header files
* GSWExtensions/Makefile.preamble
o let gnustep make figure whether to link agains debug libs
o added support for make gswnames=(gsw,wo,all)
* GSWExtensions/Makefile.postamble
o changed support to install WO header files according to
make gswnames=(gsw,wo,all)
* GSWExtensions/*.m
o replaced inclusions of
<GSWeb/GSWeb.h> with "GSWExtWOCompatibility.h"
o replaces inclusions of
<GSWExtensions/file.h> with "file.h"
* GSWExtensions/GSWExtensions.h: new file
* GSWExtensions/WOExtensions.h: new file
* GSWExtensions/GSWExtWOCompatibility.h: new file
* GSWExtensionsGSW/GNUMakefile
o added support for make gswnames=(gsw,wo,all)
o ensure each lib gets built with its own object files
o removed deactivated framework extension determination code
o added references to new file GSWExtGSWWOCompatibility.h
o added support to create WO header files
* GSWExtensionsGSW/Makefile.pramble
o let gnustep make figure whether to link agains debug libs
o added support for make gswnames=(gsw,wo,all)
o removed GSWExtensions from ADDITIONAL_LIB_DIRS
* GSWExtensionsGSW/*.m
o replaced inclusions of
<GSWeb/GSWeb.h> with "GSWExtGSWWOCompatibility.h"
* GSWExtensions/GSWExtGSWWOCompatibility.h: new file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15675 72102866-910b-0410-8b05-ffd578937521
2003-01-22 12:24:26 +00:00
|
|
|
#include "GSWeb.h"
|
2005-04-05 14:49:55 +00:00
|
|
|
#include "GSWPrivate.h"
|
2010-06-05 21:08:12 +00:00
|
|
|
#include <GNUstepBase/NSObject+GNUstepBase.h>
|
2000-01-22 12:49:49 +00:00
|
|
|
|
|
|
|
static int dontTraceComponentActionURL=0;
|
2004-12-31 14:33:16 +00:00
|
|
|
|
|
|
|
static SEL componentSEL=NULL;
|
|
|
|
static SEL elementIDSEL=NULL;
|
|
|
|
static SEL senderIDSEL=NULL;
|
2005-04-05 14:49:55 +00:00
|
|
|
static SEL contextAndElementIDSEL=NULL;
|
2004-12-31 14:33:16 +00:00
|
|
|
static SEL isParentSenderIDSearchOverSEL=NULL;
|
|
|
|
static SEL isSenderIDSearchOverSEL=NULL;
|
2007-04-13 18:32:02 +00:00
|
|
|
static Class GSWComponentClass = Nil;
|
2004-12-31 14:33:16 +00:00
|
|
|
|
|
|
|
// 'Standard' GSWContext class. Used to get IMPs from standardElementIDIMPs
|
|
|
|
static Class standardClass=Nil;
|
|
|
|
|
|
|
|
// List of standardClass IMPs
|
|
|
|
static GSWContextIMPs standardContextIMPs;
|
|
|
|
|
|
|
|
//====================================================================
|
|
|
|
/** Fill impsPtr structure with IMPs for context **/
|
|
|
|
void GetGSWContextIMPs(GSWContextIMPs* impsPtr,GSWContext* context)
|
|
|
|
{
|
|
|
|
if ([context class]==standardClass)
|
|
|
|
{
|
|
|
|
memcpy(impsPtr,&standardContextIMPs,sizeof(GSWContextIMPs));
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
memset(impsPtr,0,sizeof(GSWContextIMPs));
|
|
|
|
|
|
|
|
impsPtr->_incrementLastElementIDComponentIMP =
|
|
|
|
[context methodForSelector:incrementLastElementIDComponentSEL];
|
|
|
|
|
|
|
|
impsPtr->_appendElementIDComponentIMP
|
|
|
|
= [context methodForSelector:appendElementIDComponentSEL];
|
|
|
|
|
|
|
|
impsPtr->_appendZeroElementIDComponentIMP =
|
|
|
|
[context methodForSelector:appendZeroElementIDComponentSEL];
|
|
|
|
|
|
|
|
impsPtr->_deleteAllElementIDComponentsIMP =
|
|
|
|
[context methodForSelector:deleteAllElementIDComponentsSEL];
|
|
|
|
|
|
|
|
impsPtr->_deleteLastElementIDComponentIMP =
|
|
|
|
[context methodForSelector:deleteLastElementIDComponentSEL];
|
|
|
|
|
|
|
|
impsPtr->_elementIDIMP =
|
|
|
|
[context methodForSelector:elementIDSEL];
|
|
|
|
|
|
|
|
impsPtr->_componentIMP =
|
|
|
|
[context methodForSelector:componentSEL];
|
|
|
|
|
|
|
|
impsPtr->_senderIDIMP =
|
|
|
|
[context methodForSelector:senderIDSEL];
|
|
|
|
|
2005-04-05 14:49:55 +00:00
|
|
|
impsPtr->_contextAndElementIDIMP =
|
|
|
|
[context methodForSelector:contextAndElementIDSEL];
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
impsPtr->_isParentSenderIDSearchOverIMP =
|
|
|
|
(GSWIMP_BOOL)[context methodForSelector:isParentSenderIDSearchOverSEL];
|
|
|
|
|
|
|
|
impsPtr->_isSenderIDSearchOverIMP =
|
|
|
|
(GSWIMP_BOOL)[context methodForSelector:isSenderIDSearchOverSEL];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
//====================================================================
|
|
|
|
/** functions to accelerate calls of frequently used GSWContext methods **/
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
void GSWContext_incrementLastElementIDComponent(GSWContext* aContext)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
(*(aContext->_selfIMPs._incrementLastElementIDComponentIMP))
|
|
|
|
(aContext,incrementLastElementIDComponentSEL);
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
void GSWContext_appendElementIDComponent(GSWContext* aContext,NSString* component)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
(*(aContext->_selfIMPs._appendElementIDComponentIMP))
|
|
|
|
(aContext,appendElementIDComponentSEL,component);
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
void GSWContext_appendZeroElementIDComponent(GSWContext* aContext)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
(*(aContext->_selfIMPs._appendZeroElementIDComponentIMP))
|
|
|
|
(aContext,appendZeroElementIDComponentSEL);
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
void GSWContext_deleteAllElementIDComponents(GSWContext* aContext)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
(*(aContext->_selfIMPs._deleteAllElementIDComponentsIMP))
|
|
|
|
(aContext,deleteAllElementIDComponentsSEL);
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
void GSWContext_deleteLastElementIDComponent(GSWContext* aContext)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
(*(aContext->_selfIMPs._deleteLastElementIDComponentIMP))
|
|
|
|
(aContext,deleteLastElementIDComponentSEL);
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
NSString* GSWContext_elementID(GSWContext* aContext)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
return (*(aContext->_selfIMPs._elementIDIMP))
|
|
|
|
(aContext,elementIDSEL);
|
|
|
|
else
|
|
|
|
return nil;
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
NSString* GSWContext_senderID(GSWContext* aContext)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
return (*(aContext->_selfIMPs._senderIDIMP))
|
|
|
|
(aContext,senderIDSEL);
|
|
|
|
else
|
|
|
|
return nil;
|
|
|
|
};
|
|
|
|
|
2005-04-05 14:49:55 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
NSString* GSWContext_contextAndElementID(GSWContext* aContext)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
return (*(aContext->_selfIMPs._contextAndElementIDIMP))
|
|
|
|
(aContext,contextAndElementIDSEL);
|
|
|
|
else
|
|
|
|
return nil;
|
|
|
|
};
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
GSWComponent* GSWContext_component(GSWContext* aContext)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
return (GSWComponent*)(*(aContext->_selfIMPs._componentIMP))
|
|
|
|
(aContext,componentSEL);
|
|
|
|
else
|
|
|
|
return nil;
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
GSWEB_EXPORT BOOL GSWContext_isParentSenderIDSearchOver(GSWContext* aContext)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
return (*(aContext->_selfIMPs._isParentSenderIDSearchOverIMP))
|
|
|
|
(aContext,isParentSenderIDSearchOverSEL);
|
|
|
|
else
|
|
|
|
return NO;
|
|
|
|
}
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
GSWEB_EXPORT BOOL GSWContext_isSenderIDSearchOver(GSWContext* aContext)
|
|
|
|
{
|
|
|
|
if (aContext)
|
|
|
|
return (*(aContext->_selfIMPs._isSenderIDSearchOverIMP))
|
|
|
|
(aContext,isSenderIDSearchOverSEL);
|
|
|
|
else
|
|
|
|
return NO;
|
|
|
|
}
|
|
|
|
|
2013-03-03 08:38:45 +00:00
|
|
|
|
|
|
|
@interface NSMutableDictionary (GSWContextAdditions)
|
|
|
|
- (id) sessionID;
|
|
|
|
@end
|
|
|
|
|
2008-08-20 20:32:10 +00:00
|
|
|
@implementation NSMutableDictionary (GSWContextAdditions)
|
|
|
|
|
|
|
|
// sessionIDInQueryDictionary
|
|
|
|
- (id) sessionID
|
|
|
|
{
|
|
|
|
id value = nil;
|
|
|
|
|
|
|
|
value = [self objectForKey:[GSWApp sessionIdKey]];
|
|
|
|
if (!value) {
|
2014-04-13 19:34:39 +00:00
|
|
|
value = [self objectForKey:GSWKey_SessionID[GSWebNamingConv]];
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
|
|
|
return value;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//====================================================================
|
|
|
|
@implementation GSWContext
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
+ (void) initialize
|
|
|
|
{
|
|
|
|
if (self == [GSWContext class])
|
|
|
|
{
|
|
|
|
componentSEL=@selector(component);
|
|
|
|
elementIDSEL=@selector(elementID);
|
|
|
|
senderIDSEL=@selector(senderID);
|
2005-04-05 14:49:55 +00:00
|
|
|
contextAndElementIDSEL=@selector(contextAndElementID);
|
2004-12-31 14:33:16 +00:00
|
|
|
isParentSenderIDSearchOverSEL=@selector(isParentSenderIDSearchOver);
|
|
|
|
isSenderIDSearchOverSEL=@selector(isSenderIDSearchOver);
|
2007-04-13 18:32:02 +00:00
|
|
|
GSWComponentClass = [GSWComponent class];
|
2004-12-31 14:33:16 +00:00
|
|
|
[self setStandardClass:[GSWContext class]];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
+(void)setStandardClass:(Class)aStandardClass
|
|
|
|
{
|
|
|
|
// TODO MultiThread protection
|
|
|
|
standardClass=aStandardClass;
|
|
|
|
|
|
|
|
memset(&standardContextIMPs,0,sizeof(GSWContextIMPs));
|
|
|
|
|
|
|
|
InitializeGSWElementIDSELs();
|
|
|
|
|
|
|
|
standardContextIMPs._incrementLastElementIDComponentIMP =
|
|
|
|
[self instanceMethodForSelector:incrementLastElementIDComponentSEL];
|
|
|
|
|
|
|
|
standardContextIMPs._appendElementIDComponentIMP =
|
|
|
|
[self instanceMethodForSelector:appendElementIDComponentSEL];
|
|
|
|
|
|
|
|
standardContextIMPs._appendZeroElementIDComponentIMP =
|
|
|
|
[self instanceMethodForSelector:appendZeroElementIDComponentSEL];
|
|
|
|
|
|
|
|
standardContextIMPs._deleteAllElementIDComponentsIMP =
|
|
|
|
[self instanceMethodForSelector:deleteAllElementIDComponentsSEL];
|
|
|
|
|
|
|
|
standardContextIMPs._deleteLastElementIDComponentIMP =
|
|
|
|
[self instanceMethodForSelector:deleteLastElementIDComponentSEL];
|
|
|
|
|
|
|
|
standardContextIMPs._elementIDIMP =
|
|
|
|
[self instanceMethodForSelector:elementIDSEL];
|
|
|
|
|
|
|
|
standardContextIMPs._componentIMP =
|
|
|
|
[self instanceMethodForSelector:componentSEL];
|
|
|
|
|
|
|
|
standardContextIMPs._senderIDIMP =
|
|
|
|
[self instanceMethodForSelector:senderIDSEL];
|
|
|
|
|
2005-04-05 14:49:55 +00:00
|
|
|
standardContextIMPs._contextAndElementIDIMP =
|
|
|
|
[self instanceMethodForSelector:contextAndElementIDSEL];
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
standardContextIMPs._componentIMP =
|
|
|
|
[self instanceMethodForSelector:componentSEL];
|
|
|
|
|
|
|
|
standardContextIMPs._isParentSenderIDSearchOverIMP =
|
|
|
|
(GSWIMP_BOOL)[self instanceMethodForSelector:isParentSenderIDSearchOverSEL];
|
|
|
|
|
|
|
|
standardContextIMPs._isSenderIDSearchOverIMP =
|
|
|
|
(GSWIMP_BOOL)[self instanceMethodForSelector:isSenderIDSearchOverSEL];
|
|
|
|
};
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// init
|
|
|
|
|
|
|
|
-(id)init
|
|
|
|
{
|
|
|
|
//OK
|
|
|
|
if ((self=[super init]))
|
2002-07-27 23:48:47 +00:00
|
|
|
{
|
2004-12-31 14:33:16 +00:00
|
|
|
GetGSWContextIMPs(&_selfIMPs,self);
|
2002-07-27 23:48:47 +00:00
|
|
|
[self _initWithContextID:(unsigned int)-1];
|
2007-04-13 18:32:02 +00:00
|
|
|
_tempComponentDefinition = nil;
|
|
|
|
_componentName = nil;
|
|
|
|
_formSubmitted = NO;
|
|
|
|
_inForm = NO;
|
2008-08-20 20:32:10 +00:00
|
|
|
_secureMode = -2;
|
2010-10-25 00:39:36 +00:00
|
|
|
_markupType = WOUndefinedMarkup;
|
2007-04-13 18:32:02 +00:00
|
|
|
|
|
|
|
DESTROY(_resourceManager);
|
|
|
|
_resourceManager = RETAIN([GSWApp resourceManager]);
|
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
};
|
2000-01-22 12:49:49 +00:00
|
|
|
return self;
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(void)dealloc
|
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
DESTROY(_resourceManager);
|
2002-07-27 23:48:47 +00:00
|
|
|
DESTROY(_senderID);
|
|
|
|
DESTROY(_requestSessionID);
|
2003-01-19 15:33:07 +00:00
|
|
|
DESTROY(_requestContextID);
|
2002-07-27 23:48:47 +00:00
|
|
|
DESTROY(_elementID);
|
|
|
|
DESTROY(_session);
|
|
|
|
DESTROY(_request);
|
|
|
|
DESTROY(_response);
|
|
|
|
DESTROY(_pageElement);
|
|
|
|
DESTROY(_pageComponent);
|
|
|
|
DESTROY(_currentComponent);
|
|
|
|
DESTROY(_url);
|
|
|
|
DESTROY(_awakePageComponents);
|
2002-05-16 18:01:40 +00:00
|
|
|
#ifndef NDEBUG
|
|
|
|
DESTROY(_docStructure);
|
|
|
|
DESTROY(_docStructureElements);
|
|
|
|
#endif
|
2003-01-19 15:33:07 +00:00
|
|
|
DESTROY(_userInfo);
|
2003-11-24 12:13:37 +00:00
|
|
|
DESTROY(_languages);
|
2007-04-13 18:32:02 +00:00
|
|
|
DESTROY(_componentName);
|
|
|
|
DESTROY(_tempComponentDefinition);
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
[super dealloc];
|
|
|
|
}
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(id)initWithRequest:(GSWRequest*)aRequest
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
|
|
|
if ((self=[self init]))
|
2002-07-27 23:48:47 +00:00
|
|
|
{
|
|
|
|
[self _setRequest:aRequest];
|
|
|
|
};
|
2000-01-22 12:49:49 +00:00
|
|
|
return self;
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
+(GSWContext*)contextWithRequest:(GSWRequest*)aRequest
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
GSWContext* context=nil;
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2003-06-25 15:23:01 +00:00
|
|
|
context=[[[self alloc]
|
2002-07-27 23:48:47 +00:00
|
|
|
initWithRequest:aRequest]
|
|
|
|
autorelease];
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
return context;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(id)copyWithZone:(NSZone*)zone
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
GSWContext* clone = [[isa allocWithZone:zone] init];
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
if (clone)
|
2002-07-27 23:48:47 +00:00
|
|
|
{
|
|
|
|
clone->_contextID=_contextID;
|
|
|
|
ASSIGNCOPY(clone->_senderID,_senderID);
|
|
|
|
ASSIGNCOPY(clone->_requestSessionID,_requestSessionID);
|
2003-01-19 15:33:07 +00:00
|
|
|
ASSIGNCOPY(clone->_requestContextID,_requestContextID);
|
2007-04-13 18:32:02 +00:00
|
|
|
|
|
|
|
if (_elementID) {
|
2004-12-31 14:33:16 +00:00
|
|
|
ASSIGNCOPY(clone->_elementID,_elementID);
|
|
|
|
NSAssert(clone->_elementID,@"No clone elementID");
|
|
|
|
|
|
|
|
GetGSWElementIDIMPs(&clone->_elementIDIMPs,clone->_elementID);
|
2007-04-13 18:32:02 +00:00
|
|
|
};
|
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
ASSIGN(clone->_session,_session); //TODOV
|
|
|
|
ASSIGN(clone->_request,_request); //TODOV
|
|
|
|
ASSIGN(clone->_response,_response); //TODOV
|
|
|
|
ASSIGN(clone->_pageElement,_pageElement);
|
|
|
|
ASSIGN(clone->_pageComponent,_pageComponent);
|
|
|
|
ASSIGN(clone->_currentComponent,_currentComponent);
|
|
|
|
ASSIGNCOPY(clone->_url,_url);
|
2003-01-19 15:33:07 +00:00
|
|
|
if (_awakePageComponents)
|
|
|
|
clone->_awakePageComponents=[_awakePageComponents mutableCopy];
|
|
|
|
if (_userInfo)
|
|
|
|
clone->_userInfo=[_userInfo mutableCopy];
|
2002-07-27 23:48:47 +00:00
|
|
|
clone->_urlApplicationNumber=_urlApplicationNumber;
|
|
|
|
clone->_isClientComponentRequest=_isClientComponentRequest;
|
|
|
|
clone->_distributionEnabled=_distributionEnabled;
|
|
|
|
clone->_pageChanged=_pageChanged;
|
|
|
|
clone->_pageReplaced=_pageReplaced;
|
|
|
|
clone->_generateCompleteURLs=_generateCompleteURLs;
|
2007-04-13 18:32:02 +00:00
|
|
|
clone->_inForm=_inForm;
|
2002-07-27 23:48:47 +00:00
|
|
|
clone->_actionInvoked=_actionInvoked;
|
|
|
|
clone->_isMultipleSubmitForm=_isMultipleSubmitForm;
|
2005-04-05 14:49:55 +00:00
|
|
|
clone->_isSessionDisabled=_isSessionDisabled;
|
2002-07-27 23:48:47 +00:00
|
|
|
};
|
2000-01-22 12:49:49 +00:00
|
|
|
return clone;
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(NSString*)description
|
|
|
|
{
|
|
|
|
//OK
|
2002-07-27 23:48:47 +00:00
|
|
|
NSString* desc=nil;
|
2000-01-22 12:49:49 +00:00
|
|
|
dontTraceComponentActionURL++;
|
2002-07-27 23:48:47 +00:00
|
|
|
desc= [NSString stringWithFormat:
|
2005-04-05 14:49:55 +00:00
|
|
|
@"%s: %p contextID=%@ senderID=%@ elementID=%@ session=%p request=%p response=%p pageElement=%p pageComponent=%p currentComponent=%p url=%@ urlApplicationNumber=%d isClientComponentRequest=%s distributionEnabled=%s isSessionDisabled=%s pageChanged=%s pageReplaced=%s",
|
2010-04-22 04:28:50 +00:00
|
|
|
object_getClassName(self),
|
2002-07-27 23:48:47 +00:00
|
|
|
(void*)self,
|
|
|
|
[self contextID],
|
|
|
|
[self senderID],
|
|
|
|
[self elementID],
|
|
|
|
(void*)[self existingSession],
|
|
|
|
(void*)[self request],
|
|
|
|
(void*)[self response],
|
|
|
|
(void*)_pageElement,
|
|
|
|
(void*)_pageComponent,
|
|
|
|
(void*)_currentComponent,
|
|
|
|
_url,
|
|
|
|
_urlApplicationNumber,
|
|
|
|
_isClientComponentRequest ? "YES" : "NO",
|
|
|
|
_distributionEnabled ? "YES" : "NO",
|
2005-04-05 14:49:55 +00:00
|
|
|
_isSessionDisabled ? "YES" : "NO",
|
2002-07-27 23:48:47 +00:00
|
|
|
_pageChanged ? "YES" : "NO",
|
|
|
|
_pageReplaced ? "YES" : "NO"];
|
2000-01-22 12:49:49 +00:00
|
|
|
dontTraceComponentActionURL--;
|
2002-07-27 23:48:47 +00:00
|
|
|
return desc;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2008-08-20 20:32:10 +00:00
|
|
|
- (BOOL) _sessionIDInURL
|
|
|
|
{
|
|
|
|
GSWRequest * aReq = [self request];
|
|
|
|
|
|
|
|
return ((aReq != nil) && ([aReq stringFormValueForKey:[GSWApp sessionIdKey]] != nil));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2003-11-24 12:13:37 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)_isRefusingThisRequest
|
|
|
|
{
|
|
|
|
return _isRefusingThisRequest;
|
|
|
|
}
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(void)_setIsRefusingThisRequest:(BOOL)yn
|
|
|
|
{
|
|
|
|
_isRefusingThisRequest = yn;
|
|
|
|
}
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
2007-04-13 18:32:02 +00:00
|
|
|
|
|
|
|
// wo4
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)setInForm:(BOOL)flag
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
_inForm=flag;
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
2000-01-22 12:49:49 +00:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2007-04-13 18:32:02 +00:00
|
|
|
// wo4
|
2000-01-22 12:49:49 +00:00
|
|
|
-(BOOL)isInForm
|
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
return _inForm;
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2004-12-14 12:54:40 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(void)setInEnabledForm:(BOOL)flag
|
|
|
|
{
|
|
|
|
_isInEnabledForm=flag;
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)isInEnabledForm
|
|
|
|
{
|
|
|
|
return _isInEnabledForm;
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
2004-12-14 12:54:40 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
- (GSWDynamicURLString*) _url
|
|
|
|
{
|
2008-08-20 20:32:10 +00:00
|
|
|
if(_url == nil) {
|
|
|
|
_url = [GSWDynamicURLString new];
|
|
|
|
}
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
return _url;
|
|
|
|
}
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// Create the elementID and set IMPs
|
|
|
|
-(void)_createElementID
|
|
|
|
{
|
|
|
|
if (!_elementID)
|
|
|
|
_elementID=[GSWElementID new];
|
|
|
|
|
|
|
|
GetGSWElementIDIMPs(&_elementIDIMPs,_elementID);
|
|
|
|
};
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// elementID
|
2004-12-14 23:48:51 +00:00
|
|
|
-(NSString*)elementID
|
2004-12-31 14:33:16 +00:00
|
|
|
{
|
|
|
|
if (_elementID)
|
|
|
|
{
|
|
|
|
NSAssert(_elementIDIMPs._elementIDStringIMP,
|
|
|
|
@"No _elementIDIMPs._elementIDStringIMP");
|
|
|
|
return (*_elementIDIMPs._elementIDStringIMP)(_elementID,elementIDStringSEL);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
return nil;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2004-03-01 16:47:47 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// returns contextID.ElementID
|
|
|
|
-(NSString*)contextAndElementID
|
|
|
|
{
|
2005-04-05 14:49:55 +00:00
|
|
|
static NSString* preBuiltNumPlusDot[] = {
|
|
|
|
@"0.", @"1.", @"2.", @"3.", @"4.", @"5.", @"6.", @"7.", @"8.", @"9.",
|
|
|
|
@"10.", @"11.", @"12.", @"13.", @"14.", @"15.", @"16.", @"17.", @"18.", @"19.",
|
|
|
|
@"20.", @"21.", @"22.", @"23.", @"24.", @"25.", @"26.", @"27.", @"28.", @"29.",
|
|
|
|
@"30.", @"31.", @"32.", @"33.", @"34.", @"35.", @"36.", @"37.", @"38.", @"39.",
|
|
|
|
@"40.", @"41.", @"42.", @"43.", @"44.", @"45.", @"46.", @"47.", @"48.", @"49.",
|
|
|
|
@"50.", @"51.", @"52.", @"53.", @"54.", @"55.", @"56.", @"57.", @"58.", @"59.",
|
|
|
|
@"60.", @"61.", @"62.", @"63.", @"64.", @"65.", @"66.", @"67.", @"68.", @"69." };
|
|
|
|
static int preBuiltNumPlusDotCount = sizeof(preBuiltNumPlusDot)/sizeof(NSString*);
|
2013-05-30 08:23:52 +00:00
|
|
|
if (_contextID<preBuiltNumPlusDotCount)
|
2005-04-05 14:49:55 +00:00
|
|
|
{
|
|
|
|
if (_elementID)
|
|
|
|
return [preBuiltNumPlusDot[_contextID] stringByAppendingString:
|
|
|
|
(*_elementIDIMPs._elementIDStringIMP)(_elementID,elementIDStringSEL)];
|
|
|
|
else
|
|
|
|
return preBuiltNumPlusDot[_contextID];
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if (_elementID)
|
|
|
|
return [NSString stringWithFormat:@"%u.%@",
|
|
|
|
_contextID,
|
|
|
|
(*_elementIDIMPs._elementIDStringIMP)(_elementID,elementIDStringSEL)];
|
|
|
|
else
|
|
|
|
return [NSString stringWithFormat:@"%u.%@",
|
|
|
|
_contextID,
|
|
|
|
GSWContext_elementID(self)];
|
|
|
|
};
|
2004-03-01 16:47:47 +00:00
|
|
|
};
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWComponent*)component
|
|
|
|
{
|
2003-01-19 15:33:07 +00:00
|
|
|
return _currentComponent;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
// this is used from GSWComponentDefinition, GSWComponent
|
|
|
|
-(NSString*) _componentName
|
|
|
|
{
|
|
|
|
return _componentName;
|
|
|
|
}
|
|
|
|
|
|
|
|
// this is used from GSWComponentDefinition
|
|
|
|
- (void) _setComponentName:(NSString*) newValue
|
|
|
|
{
|
|
|
|
ASSIGN(_componentName, newValue);
|
|
|
|
}
|
|
|
|
|
|
|
|
// this is used from GSWComponentDefinition, GSWComponent
|
|
|
|
- (GSWComponentDefinition*) _tempComponentDefinition
|
|
|
|
{
|
|
|
|
GSWComponentDefinition * componentdefinition = AUTORELEASE(RETAIN(_tempComponentDefinition));
|
|
|
|
[self _setTempComponentDefinition:nil];
|
|
|
|
|
|
|
|
return componentdefinition;
|
|
|
|
}
|
|
|
|
|
|
|
|
// this is used from GSWComponentDefinition
|
|
|
|
- (void) _setTempComponentDefinition:(GSWComponentDefinition*) newValue
|
|
|
|
{
|
|
|
|
ASSIGN(_tempComponentDefinition, newValue);
|
|
|
|
}
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(NSString*)contextID
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
if (_contextID==(unsigned int)-1)
|
|
|
|
return nil;
|
2000-01-22 12:49:49 +00:00
|
|
|
else
|
2005-04-05 14:49:55 +00:00
|
|
|
return GSWIntToNSString((int)_contextID);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWComponent*)page
|
|
|
|
{
|
2003-01-19 15:33:07 +00:00
|
|
|
if ([_pageComponent _isPage])
|
2002-07-27 23:48:47 +00:00
|
|
|
return _pageComponent;
|
2000-01-22 12:49:49 +00:00
|
|
|
else
|
2003-01-19 15:33:07 +00:00
|
|
|
return nil;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWRequest*)request
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _request;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWResponse*)response
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _response;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)hasSession
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return (_session!=nil);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2005-04-05 14:49:55 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
/** return YES is session creation|restoration is disabled **/
|
|
|
|
-(BOOL)isSessionDisabled
|
|
|
|
{
|
|
|
|
return _isSessionDisabled;
|
|
|
|
}
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
/** pass YES as argument to disable session creation|restoration **/
|
|
|
|
-(void)setIsSessionDisabled:(BOOL)yn
|
|
|
|
{
|
|
|
|
_isSessionDisabled=yn;
|
|
|
|
}
|
|
|
|
|
2003-01-19 15:33:07 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWSession*)_session
|
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
return _session;
|
2003-01-19 15:33:07 +00:00
|
|
|
};
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWSession*)session
|
|
|
|
{
|
2005-04-05 14:49:55 +00:00
|
|
|
GSWSession* session=nil;
|
|
|
|
|
|
|
|
if (![self isSessionDisabled])
|
2002-07-27 23:48:47 +00:00
|
|
|
{
|
2005-04-05 14:49:55 +00:00
|
|
|
if (!_session)
|
|
|
|
{
|
|
|
|
NSString* requestSessionID=[self _requestSessionID];
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2005-04-05 14:49:55 +00:00
|
|
|
if (requestSessionID)
|
|
|
|
[GSWApp restoreSessionWithID:requestSessionID
|
|
|
|
inContext:self];//Application call context _setSession
|
|
|
|
};
|
|
|
|
if (!_session)
|
|
|
|
[GSWApp _initializeSessionInContext:self]; //Application call context _setSession
|
2003-01-19 15:33:07 +00:00
|
|
|
|
2005-04-05 14:49:55 +00:00
|
|
|
NSAssert(_session,@"Unable to create new session");
|
|
|
|
|
|
|
|
session=_session;
|
|
|
|
};
|
|
|
|
|
|
|
|
return session;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(NSString*)senderID
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _senderID;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2002-05-16 18:01:40 +00:00
|
|
|
#ifndef NDEBUG
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
2002-05-16 18:01:40 +00:00
|
|
|
-(void)incrementLoopLevel //ForDebugging purpose: each repetition increment and next decrement it
|
|
|
|
{
|
|
|
|
_loopLevel++;
|
|
|
|
};
|
2004-12-31 14:33:16 +00:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-05-16 18:01:40 +00:00
|
|
|
-(void)decrementLoopLevel
|
|
|
|
{
|
|
|
|
_loopLevel--;
|
|
|
|
};
|
2002-07-27 23:48:47 +00:00
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
2002-05-16 18:01:40 +00:00
|
|
|
-(BOOL)isInLoop
|
|
|
|
{
|
|
|
|
return _loopLevel>0;
|
|
|
|
};
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
2002-05-16 18:01:40 +00:00
|
|
|
-(void)addToDocStructureElement:(id)element
|
|
|
|
{
|
|
|
|
if(GSDebugSet(@"GSWDocStructure"))
|
|
|
|
{
|
|
|
|
NSString* string=nil;
|
2004-12-14 23:48:51 +00:00
|
|
|
int elementIDNb=[_elementID elementsCount];
|
2002-05-16 18:01:40 +00:00
|
|
|
NSMutableData* data=[NSMutableData dataWithCapacity:elementIDNb+1];
|
2002-07-04 11:01:56 +00:00
|
|
|
char* ptab=(char*)[data bytes];
|
2002-05-16 18:01:40 +00:00
|
|
|
if (!_docStructure)
|
|
|
|
_docStructure=[NSMutableString new];
|
|
|
|
if (!_docStructureElements)
|
|
|
|
_docStructureElements=[NSMutableSet new];
|
|
|
|
memset(ptab,'\t',elementIDNb);
|
|
|
|
ptab[elementIDNb]='\0';
|
2004-04-06 11:15:53 +00:00
|
|
|
string=[NSString stringWithFormat:@"%s %@ Element %p Class %@ declarationName=%@\n",
|
2002-05-16 18:01:40 +00:00
|
|
|
ptab,
|
|
|
|
[self elementID],
|
|
|
|
element,
|
|
|
|
[element class],
|
2004-04-06 11:15:53 +00:00
|
|
|
[element declarationName]];
|
2002-05-16 18:01:40 +00:00
|
|
|
if (![_docStructureElements containsObject:string])
|
|
|
|
{
|
|
|
|
[_docStructure appendString:string];
|
|
|
|
[_docStructureElements addObject:string];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
2002-05-16 18:01:40 +00:00
|
|
|
-(void)addDocStructureStep:(NSString*)stepLabel
|
|
|
|
{
|
|
|
|
if(GSDebugSet(@"GSWDocStructure"))
|
|
|
|
{
|
|
|
|
if (!_docStructure)
|
|
|
|
_docStructure=[NSMutableString new];
|
|
|
|
[_docStructureElements removeAllObjects];
|
|
|
|
[_docStructure appendFormat:@"===== %@ =====\n",stepLabel];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
2002-05-16 18:01:40 +00:00
|
|
|
-(NSString*)docStructure
|
|
|
|
{
|
|
|
|
if(GSDebugSet(@"GSWDocStructure"))
|
|
|
|
return _docStructure;
|
|
|
|
else
|
|
|
|
return nil;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(GSWDynamicURLString*)directActionURLForActionNamed:(NSString*)actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
urlPrefix:(NSString*)urlPrefix
|
2002-07-27 23:48:47 +00:00
|
|
|
queryDictionary:(NSDictionary*)queryDictionary
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
2004-12-14 12:54:40 +00:00
|
|
|
|
2003-01-19 15:33:07 +00:00
|
|
|
url=[self directActionURLForActionNamed:actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
urlPrefix:urlPrefix
|
2003-01-19 15:33:07 +00:00
|
|
|
queryDictionary:queryDictionary
|
2005-04-05 14:49:55 +00:00
|
|
|
isSecure:[[self request]isSecure]];
|
2004-12-14 12:54:40 +00:00
|
|
|
|
2003-01-19 15:33:07 +00:00
|
|
|
return url;
|
|
|
|
};
|
|
|
|
|
2003-11-24 12:13:37 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)directActionURLForActionNamed:(NSString*)actionName
|
|
|
|
queryDictionary:(NSDictionary*)queryDictionary
|
2004-01-09 11:41:44 +00:00
|
|
|
{
|
2004-12-14 12:54:40 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self directActionURLForActionNamed:actionName
|
|
|
|
urlPrefix:nil
|
|
|
|
queryDictionary:queryDictionary];
|
|
|
|
|
|
|
|
return url;
|
2004-01-09 11:41:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)directActionURLForActionNamed:(NSString*)actionName
|
|
|
|
urlPrefix:(NSString*)urlPrefix
|
|
|
|
queryDictionary:(NSDictionary*)queryDictionary
|
2003-11-24 12:13:37 +00:00
|
|
|
pathQueryDictionary:(NSDictionary*)pathQueryDictionary
|
|
|
|
{
|
|
|
|
GSWDynamicURLString* url=nil;
|
2004-12-14 12:54:40 +00:00
|
|
|
|
2003-11-24 12:13:37 +00:00
|
|
|
url=[self directActionURLForActionNamed:actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
urlPrefix:urlPrefix
|
2003-11-24 12:13:37 +00:00
|
|
|
queryDictionary:queryDictionary
|
2004-12-14 12:54:40 +00:00
|
|
|
pathQueryDictionary:pathQueryDictionary
|
2005-04-05 14:49:55 +00:00
|
|
|
isSecure:[[self request]isSecure]];
|
2004-12-14 12:54:40 +00:00
|
|
|
|
2003-11-24 12:13:37 +00:00
|
|
|
return url;
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2003-01-19 15:33:07 +00:00
|
|
|
-(GSWDynamicURLString*)directActionURLForActionNamed:(NSString*)actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
queryDictionary:(NSDictionary*)queryDictionary
|
|
|
|
pathQueryDictionary:(NSDictionary*)pathQueryDictionary
|
|
|
|
{
|
2004-12-14 12:54:40 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self directActionURLForActionNamed:actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
urlPrefix:nil
|
|
|
|
queryDictionary:queryDictionary
|
|
|
|
pathQueryDictionary:pathQueryDictionary];
|
2004-12-14 12:54:40 +00:00
|
|
|
|
|
|
|
return url;
|
2004-01-09 11:41:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)directActionURLForActionNamed:(NSString*)actionName
|
|
|
|
urlPrefix:(NSString*)urlPrefix
|
2003-01-19 15:33:07 +00:00
|
|
|
queryDictionary:(NSDictionary*)queryDictionary
|
|
|
|
isSecure:(BOOL)isSecure
|
2003-11-24 12:13:37 +00:00
|
|
|
{
|
|
|
|
GSWDynamicURLString* url=nil;
|
2004-12-14 12:54:40 +00:00
|
|
|
|
2003-11-24 12:13:37 +00:00
|
|
|
url=[self directActionURLForActionNamed:actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
urlPrefix:urlPrefix
|
2003-11-24 12:13:37 +00:00
|
|
|
queryDictionary:queryDictionary
|
|
|
|
pathQueryDictionary:nil
|
2004-12-14 12:54:40 +00:00
|
|
|
isSecure:isSecure];
|
|
|
|
|
2003-11-24 12:13:37 +00:00
|
|
|
return url;
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)directActionURLForActionNamed:(NSString*)actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
queryDictionary:(NSDictionary*)queryDictionary
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
{
|
2004-12-14 12:54:40 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self directActionURLForActionNamed:actionName
|
|
|
|
urlPrefix:nil
|
|
|
|
queryDictionary:queryDictionary
|
|
|
|
isSecure:isSecure];
|
|
|
|
|
|
|
|
return url;
|
2004-01-09 11:41:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)directActionURLForActionNamed:(NSString*)actionName
|
|
|
|
urlPrefix:(NSString*)urlPrefix
|
2003-11-24 12:13:37 +00:00
|
|
|
queryDictionary:(NSDictionary*)queryDictionary
|
|
|
|
pathQueryDictionary:(NSDictionary*)pathQueryDictionary
|
|
|
|
isSecure:(BOOL)isSecure
|
2003-01-19 15:33:07 +00:00
|
|
|
{
|
|
|
|
GSWDynamicURLString* url=nil;
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
url=[self _directActionURLForActionNamed:actionName
|
2004-05-14 12:02:12 +00:00
|
|
|
urlPrefix:urlPrefix
|
2002-07-27 23:48:47 +00:00
|
|
|
queryDictionary:queryDictionary
|
2003-11-24 12:13:37 +00:00
|
|
|
pathQueryDictionary:pathQueryDictionary
|
2003-01-19 15:33:07 +00:00
|
|
|
isSecure:isSecure
|
2002-07-27 23:48:47 +00:00
|
|
|
url:url];
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
return url;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2004-01-09 11:41:44 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)directActionURLForActionNamed:(NSString*)actionName
|
|
|
|
queryDictionary:(NSDictionary*)queryDictionary
|
|
|
|
pathQueryDictionary:(NSDictionary*)pathQueryDictionary
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
{
|
|
|
|
return [self directActionURLForActionNamed:actionName
|
|
|
|
urlPrefix:nil
|
|
|
|
queryDictionary:queryDictionary
|
|
|
|
pathQueryDictionary:pathQueryDictionary
|
|
|
|
isSecure:isSecure];
|
|
|
|
}
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)componentActionURL
|
|
|
|
{
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
return [self _componentActionURLIsSecure:[[self request]isSecure]];
|
2003-01-19 15:33:07 +00:00
|
|
|
};
|
2003-11-24 12:13:37 +00:00
|
|
|
|
2004-01-09 11:41:44 +00:00
|
|
|
//--------------------------------------------------------------------
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
-(GSWDynamicURLString*) _componentActionURLIsSecure:(BOOL)isSecure
|
2003-01-19 15:33:07 +00:00
|
|
|
{
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
GSWSession * session = [self session];
|
|
|
|
NSString * contextID = [self contextID];
|
|
|
|
NSString * elementID = [self elementID];
|
|
|
|
NSString * actionURL = nil;
|
2007-04-13 18:32:02 +00:00
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
if ([GSWApp pageCacheSize] == 0)
|
2002-07-27 23:48:47 +00:00
|
|
|
{
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
if ([session storesIDsInURLs])
|
|
|
|
{
|
|
|
|
actionURL=GSWJoinedStrings(7,
|
|
|
|
[[self page] name],
|
|
|
|
@"/",
|
|
|
|
[session sessionID],
|
|
|
|
@"/",
|
|
|
|
contextID,
|
|
|
|
@".",
|
|
|
|
elementID);
|
|
|
|
}
|
2005-04-05 14:49:55 +00:00
|
|
|
else
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
{
|
|
|
|
actionURL=GSWJoinedStrings(5,
|
|
|
|
[[self page] name],
|
|
|
|
@"/",
|
|
|
|
contextID,
|
|
|
|
@".",
|
|
|
|
elementID);
|
|
|
|
}
|
2002-07-27 23:48:47 +00:00
|
|
|
}
|
2000-01-22 12:49:49 +00:00
|
|
|
else
|
2005-04-05 14:49:55 +00:00
|
|
|
{
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
if ([session storesIDsInURLs])
|
|
|
|
{
|
|
|
|
actionURL=GSWJoinedStrings(5,
|
|
|
|
[session sessionID],
|
|
|
|
@"/",
|
|
|
|
contextID,
|
|
|
|
@".",
|
|
|
|
elementID);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
actionURL=GSWJoinedStrings(3,
|
|
|
|
contextID,
|
|
|
|
@".",
|
|
|
|
elementID);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return [self urlWithRequestHandlerKey:[[GSWApp class] componentRequestHandlerKey]
|
|
|
|
path: actionURL
|
|
|
|
queryString: nil
|
|
|
|
isSecure:isSecure];
|
|
|
|
}
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2003-04-09 12:03:17 +00:00
|
|
|
//--------------------------------------------------------------------
|
2004-01-09 11:41:44 +00:00
|
|
|
-(GSWDynamicURLString*)urlWithURLPrefix:(NSString*)urlPrefix
|
|
|
|
requestHandlerKey:(NSString*)requestHandlerKey
|
|
|
|
path:(NSString*)requestHandlerPath
|
|
|
|
queryString:(NSString*)queryString
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
port:(int)port
|
2003-04-09 12:03:17 +00:00
|
|
|
{
|
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
GSWRequest* request=[self request];
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2003-04-09 12:03:17 +00:00
|
|
|
// Try to avoid complete URLs
|
|
|
|
if (_generateCompleteURLs
|
|
|
|
|| (isSecure!=[request isSecure])
|
|
|
|
|| (port!=0 && port!=[request urlPort]))
|
2004-01-09 11:41:44 +00:00
|
|
|
url=[self completeURLWithURLPrefix:urlPrefix
|
|
|
|
requestHandlerKey:requestHandlerKey
|
2003-04-09 12:03:17 +00:00
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString
|
|
|
|
isSecure:isSecure
|
|
|
|
port:port];
|
|
|
|
else
|
2004-01-09 11:41:44 +00:00
|
|
|
url=[request _urlWithURLPrefix:urlPrefix
|
|
|
|
requestHandlerKey:requestHandlerKey
|
2003-04-09 12:03:17 +00:00
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString];
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2003-04-09 12:03:17 +00:00
|
|
|
return url;
|
|
|
|
};
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(GSWDynamicURLString*)urlWithRequestHandlerKey:(NSString*)requestHandlerKey
|
|
|
|
path:(NSString*)requestHandlerPath
|
|
|
|
queryString:(NSString*)queryString
|
2004-01-09 11:41:44 +00:00
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
port:(int)port
|
|
|
|
{
|
|
|
|
return [self urlWithURLPrefix:nil
|
|
|
|
requestHandlerKey:requestHandlerKey
|
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString
|
|
|
|
isSecure:isSecure
|
|
|
|
port:port];
|
|
|
|
}
|
|
|
|
|
2004-12-14 12:54:40 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)urlWithURLPrefix:(NSString*)urlPrefix
|
2004-12-31 14:33:16 +00:00
|
|
|
requestHandlerKey:(NSString*)requestHandlerKey
|
2004-12-14 12:54:40 +00:00
|
|
|
path:(NSString*)requestHandlerPath
|
|
|
|
queryString:(NSString*)queryString
|
|
|
|
{
|
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self urlWithURLPrefix:urlPrefix
|
2004-12-31 14:33:16 +00:00
|
|
|
requestHandlerKey:requestHandlerKey
|
2004-12-14 12:54:40 +00:00
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString
|
2005-04-05 14:49:55 +00:00
|
|
|
isSecure:[[self request]isSecure]];
|
2004-12-14 12:54:40 +00:00
|
|
|
|
|
|
|
return url;
|
|
|
|
};
|
|
|
|
|
2004-01-09 11:41:44 +00:00
|
|
|
//--------------------------------------------------------------------
|
2004-05-14 12:02:12 +00:00
|
|
|
//TODO rewrite to avoid request call
|
2004-01-09 11:41:44 +00:00
|
|
|
-(GSWDynamicURLString*)urlWithURLPrefix:(NSString*)urlPrefix
|
2004-12-31 14:33:16 +00:00
|
|
|
requestHandlerKey:(NSString*)requestHandlerKey
|
2004-01-09 11:41:44 +00:00
|
|
|
path:(NSString*)requestHandlerPath
|
|
|
|
queryString:(NSString*)queryString
|
2004-12-14 12:54:40 +00:00
|
|
|
isSecure:(BOOL)isSecure
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
GSWRequest* request=[self request];
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
if (_generateCompleteURLs)
|
|
|
|
url=[self completeURLWithRequestHandlerKey:requestHandlerKey
|
|
|
|
path:requestHandlerPath
|
2004-12-14 12:54:40 +00:00
|
|
|
queryString:queryString
|
|
|
|
isSecure:isSecure
|
|
|
|
port:0];
|
2000-01-22 12:49:49 +00:00
|
|
|
else
|
2004-05-14 12:02:12 +00:00
|
|
|
{
|
|
|
|
url=[request _urlWithRequestHandlerKey:requestHandlerKey
|
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString];
|
|
|
|
[url setURLApplicationNumber:_urlApplicationNumber];
|
|
|
|
};
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
return url;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2004-01-09 11:41:44 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)urlWithRequestHandlerKey:(NSString*)requestHandlerKey
|
|
|
|
path:(NSString*)requestHandlerPath
|
|
|
|
queryString:(NSString*)queryString
|
|
|
|
{
|
|
|
|
return [self urlWithURLPrefix:nil
|
2004-12-31 14:33:16 +00:00
|
|
|
requestHandlerKey:requestHandlerKey
|
2004-01-09 11:41:44 +00:00
|
|
|
path:requestHandlerPath
|
2004-12-14 12:54:40 +00:00
|
|
|
queryString:queryString
|
2005-04-05 14:49:55 +00:00
|
|
|
isSecure:[[self request]isSecure]];
|
2004-01-09 11:41:44 +00:00
|
|
|
};
|
|
|
|
|
2004-12-14 12:54:40 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)urlWithRequestHandlerKey:(NSString*)requestHandlerKey
|
|
|
|
path:(NSString*)requestHandlerPath
|
|
|
|
queryString:(NSString*)queryString
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
{
|
|
|
|
return [self urlWithURLPrefix:nil
|
2004-12-31 14:33:16 +00:00
|
|
|
requestHandlerKey:requestHandlerKey
|
2004-12-14 12:54:40 +00:00
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString
|
|
|
|
isSecure:isSecure];
|
|
|
|
};
|
2004-01-09 11:41:44 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
//NDFN
|
2004-01-09 11:41:44 +00:00
|
|
|
-(GSWDynamicURLString*)completeURLWithURLPrefix:(NSString*)urlPrefix
|
|
|
|
requestHandlerKey:(NSString*)requestHandlerKey
|
|
|
|
path:(NSString*)requestHandlerPath
|
|
|
|
queryString:(NSString*)queryString
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2004-05-14 12:02:12 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
2002-07-27 23:48:47 +00:00
|
|
|
GSWRequest* request=nil;
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
request=[self request];
|
2004-05-14 12:02:12 +00:00
|
|
|
|
|
|
|
url=[self completeURLWithURLPrefix:urlPrefix
|
|
|
|
requestHandlerKey:requestHandlerKey
|
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString
|
|
|
|
isSecure:[request isSecure]
|
|
|
|
port:[request urlPort]];
|
|
|
|
|
|
|
|
return url;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2004-01-09 11:41:44 +00:00
|
|
|
//NDFN
|
2002-07-27 23:48:47 +00:00
|
|
|
-(GSWDynamicURLString*)completeURLWithRequestHandlerKey:(NSString*)requestHandlerKey
|
|
|
|
path:(NSString*)requestHandlerPath
|
|
|
|
queryString:(NSString*)queryString
|
2004-01-09 11:41:44 +00:00
|
|
|
{
|
2004-05-14 12:02:12 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self completeURLWithURLPrefix:nil
|
|
|
|
requestHandlerKey:requestHandlerKey
|
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString];
|
|
|
|
|
|
|
|
return url;
|
2004-01-09 11:41:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2004-05-14 12:02:12 +00:00
|
|
|
//TODO: rewrite. We have to decide if we use mainly request or _uri
|
2004-01-09 11:41:44 +00:00
|
|
|
-(GSWDynamicURLString*)completeURLWithURLPrefix:(NSString*)urlPrefix
|
|
|
|
requestHandlerKey:(NSString*)requestHandlerKey
|
|
|
|
path:(NSString*)requestHandlerPath
|
|
|
|
queryString:(NSString*)queryString
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
port:(int)port
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWWOCompatibility.h/.m: added
* GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m
* GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names
* GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces
* GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names
* GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings
* GSWeb.framework/GSWSession.m: handle WO/GSWeb names
* GSWeb.framework/GSWRequest.m: handle WO/GSWeb names
* GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names,
added tag counts to help errors hunt
* GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces
* GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names
* GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names
* GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names
* GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names
* GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names
* GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names
* GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names
* GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names
* GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names
* GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names
* GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names
* GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names
* GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names
* GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names
* GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names
* GSWeb.framework/GSWText.m: handle WO/GSWeb names
* GSWeb.framework/GSWTextField.m: handle WO/GSWeb names
* GSWeb.framework/GSWDeployedBundle.m: warnings
* GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h
* GSWeb.framework/GSWAdaptor.m: traces
* GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces
* GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names
* GSWeb.framework/NSNonBlockingFileHandle.m: added traces
* GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names
* GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names
added tag count to help errors hunt
remove "Tag gsweb invalid" message
handle unicode strings in node content traces
remove html and body tags if they are not present in the template
* GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag
* GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead
of deallocating 2 times sessionTimeOuts
* GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html:
tag mismatch, Encode french characters
* GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html:
tag mismatch
* GSWHTMLBareString.m: handle unicode strings in description
* GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html:
Encode french characters, Tag Mismatch
* GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html:
Encode french characters
* GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html:
Encode french characters
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html:
Tag Mismatch
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
added convertHTMLEntities for strings
* GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars
* GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
|
|
|
NSString* host=nil;
|
2002-07-27 23:48:47 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
GSWRequest* request=nil;
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
request=[self request];
|
2004-05-14 12:02:12 +00:00
|
|
|
|
|
|
|
if (urlPrefix)
|
|
|
|
url=[_request _urlWithURLPrefix:urlPrefix
|
|
|
|
requestHandlerKey:requestHandlerKey
|
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString];
|
|
|
|
else
|
|
|
|
url=[_request _urlWithRequestHandlerKey:requestHandlerKey
|
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString];
|
|
|
|
|
|
|
|
[url setURLApplicationNumber:_urlApplicationNumber];
|
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
if (isSecure)
|
|
|
|
[url setURLProtocol:GSWProtocol_HTTPS];
|
2000-01-22 12:49:49 +00:00
|
|
|
else
|
2002-07-27 23:48:47 +00:00
|
|
|
[url setURLProtocol:GSWProtocol_HTTP];
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
if (port)
|
|
|
|
[url setURLPort:port];
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
host=[request urlHost];
|
2003-04-09 12:03:17 +00:00
|
|
|
NSAssert1(host,@"No host in request %@",request);
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
[url setURLHost:host];
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
return url;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2004-01-09 11:41:44 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWDynamicURLString*)completeURLWithRequestHandlerKey:(NSString*)requestHandlerKey
|
|
|
|
path:(NSString*)requestHandlerPath
|
|
|
|
queryString:(NSString*)queryString
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
port:(int)port
|
|
|
|
{
|
2004-05-14 12:02:12 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self completeURLWithURLPrefix:nil
|
|
|
|
requestHandlerKey:requestHandlerKey
|
|
|
|
path:requestHandlerPath
|
|
|
|
queryString:queryString
|
|
|
|
isSecure:isSecure
|
|
|
|
port:port];
|
|
|
|
|
|
|
|
return url;
|
2004-01-09 11:41:44 +00:00
|
|
|
};
|
2000-01-22 12:49:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(id)_initWithContextID:(unsigned int)contextID
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
_contextID=contextID;
|
|
|
|
DESTROY(_url);
|
|
|
|
_url=[GSWDynamicURLString new];
|
|
|
|
DESTROY(_awakePageComponents);
|
|
|
|
_awakePageComponents=[NSMutableArray new];
|
|
|
|
_urlApplicationNumber=-1;
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
return self;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)_isMultipleSubmitForm
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _isMultipleSubmitForm;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setIsMultipleSubmitForm:(BOOL)flag
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
_isMultipleSubmitForm=flag;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)_wasActionInvoked
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _actionInvoked;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setActionInvoked:(BOOL)flag
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
_actionInvoked=flag;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2007-04-13 18:32:02 +00:00
|
|
|
// wo5?
|
2000-01-22 12:49:49 +00:00
|
|
|
-(BOOL)_wasFormSubmitted
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _formSubmitted;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setFormSubmitted:(BOOL)flag
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
_formSubmitted = flag;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(void)_putAwakeComponentsToSleep
|
|
|
|
{
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
[_awakePageComponents makeObjectsPerformSelector:@selector(sleepInContext:)
|
|
|
|
withObject:self];
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2003-01-19 15:33:07 +00:00
|
|
|
-(BOOL)_generateCompleteURLs
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2003-01-19 15:33:07 +00:00
|
|
|
BOOL previousState=_generateCompleteURLs;
|
2002-07-27 23:48:47 +00:00
|
|
|
_generateCompleteURLs=YES;
|
2003-01-19 15:33:07 +00:00
|
|
|
return previousState;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2003-01-19 15:33:07 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)_generateRelativeURLs
|
|
|
|
{
|
|
|
|
BOOL previousState=!_generateCompleteURLs;
|
|
|
|
_generateCompleteURLs=NO;
|
|
|
|
return previousState;
|
|
|
|
};
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)isGeneratingCompleteURLs
|
|
|
|
{
|
|
|
|
return _generateCompleteURLs;
|
|
|
|
};
|
2004-01-09 11:41:44 +00:00
|
|
|
|
2003-01-19 15:33:07 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
//_url is a semi complete one: line /cgi/WebObjects.exe/ObjCTest3.woa
|
2003-11-24 12:13:37 +00:00
|
|
|
-(GSWDynamicURLString*)_directActionURLForActionNamed:(NSString*)actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
urlPrefix:(NSString*)urlPrefix
|
2003-11-24 12:13:37 +00:00
|
|
|
queryDictionary:(NSDictionary*)dict
|
|
|
|
url:(id)anURL
|
|
|
|
{
|
2004-05-14 12:02:12 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self _directActionURLForActionNamed:actionName
|
|
|
|
urlPrefix:urlPrefix
|
|
|
|
queryDictionary:dict
|
|
|
|
pathQueryDictionary:nil
|
|
|
|
url:anURL];
|
|
|
|
|
|
|
|
return url;
|
2003-11-24 12:13:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
//_url is a semi complete one: line /cgi/WebObjects.exe/ObjCTest3.woa
|
|
|
|
-(GSWDynamicURLString*)_directActionURLForActionNamed:(NSString*)actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
queryDictionary:(NSDictionary*)dict
|
|
|
|
url:(id)anURL
|
|
|
|
{
|
2004-05-14 12:02:12 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self _directActionURLForActionNamed:actionName
|
|
|
|
urlPrefix:nil
|
|
|
|
queryDictionary:dict
|
|
|
|
url:anURL];
|
|
|
|
|
|
|
|
return url;
|
2004-01-09 11:41:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
//_url is a semi complete one: line /cgi/WebObjects.exe/ObjCTest3.woa
|
|
|
|
-(GSWDynamicURLString*)_directActionURLForActionNamed:(NSString*)actionName
|
|
|
|
urlPrefix:(NSString*)urlPrefix
|
2003-11-24 12:13:37 +00:00
|
|
|
queryDictionary:(NSDictionary*)dict
|
|
|
|
pathQueryDictionary:(NSDictionary*)pathQueryDictionary
|
|
|
|
url:(id)anURL
|
2003-01-19 15:33:07 +00:00
|
|
|
{
|
2004-05-14 12:02:12 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self _directActionURLForActionNamed:actionName
|
|
|
|
urlPrefix:urlPrefix
|
|
|
|
queryDictionary:dict
|
|
|
|
pathQueryDictionary:pathQueryDictionary
|
2005-04-05 14:49:55 +00:00
|
|
|
isSecure:[[self request]isSecure]
|
2004-05-14 12:02:12 +00:00
|
|
|
url:anURL];
|
|
|
|
|
|
|
|
return url;
|
2003-01-19 15:33:07 +00:00
|
|
|
};
|
2003-11-24 12:13:37 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWWOCompatibility.h/.m: added
* GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m
* GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names
* GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces
* GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names
* GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings
* GSWeb.framework/GSWSession.m: handle WO/GSWeb names
* GSWeb.framework/GSWRequest.m: handle WO/GSWeb names
* GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names,
added tag counts to help errors hunt
* GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces
* GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names
* GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names
* GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names
* GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names
* GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names
* GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names
* GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names
* GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names
* GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names
* GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names
* GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names
* GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names
* GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names
* GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names
* GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names
* GSWeb.framework/GSWText.m: handle WO/GSWeb names
* GSWeb.framework/GSWTextField.m: handle WO/GSWeb names
* GSWeb.framework/GSWDeployedBundle.m: warnings
* GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h
* GSWeb.framework/GSWAdaptor.m: traces
* GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces
* GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names
* GSWeb.framework/NSNonBlockingFileHandle.m: added traces
* GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names
* GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names
added tag count to help errors hunt
remove "Tag gsweb invalid" message
handle unicode strings in node content traces
remove html and body tags if they are not present in the template
* GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag
* GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead
of deallocating 2 times sessionTimeOuts
* GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html:
tag mismatch, Encode french characters
* GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html:
tag mismatch
* GSWHTMLBareString.m: handle unicode strings in description
* GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html:
Encode french characters, Tag Mismatch
* GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html:
Encode french characters
* GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html:
Encode french characters
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html:
Tag Mismatch
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
added convertHTMLEntities for strings
* GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars
* GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
|
|
|
//_url is a semi complete one: line /cgi/WebObjects.exe/ObjCTest3.woa
|
2003-11-24 12:13:37 +00:00
|
|
|
-(GSWDynamicURLString*)_directActionURLForActionNamed:(NSString*)actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
queryDictionary:(NSDictionary*)dict
|
|
|
|
pathQueryDictionary:(NSDictionary*)pathQueryDictionary
|
|
|
|
url:(id)anURL
|
|
|
|
{
|
2004-05-14 12:02:12 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self _directActionURLForActionNamed:actionName
|
|
|
|
urlPrefix:nil
|
|
|
|
queryDictionary:dict
|
|
|
|
pathQueryDictionary:pathQueryDictionary
|
|
|
|
url:anURL];
|
|
|
|
|
|
|
|
return url;
|
2004-01-09 11:41:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
//_url is a semi complete one: line /cgi/WebObjects.exe/ObjCTest3.woa
|
|
|
|
-(GSWDynamicURLString*)_directActionURLForActionNamed:(NSString*)actionName
|
|
|
|
urlPrefix:(NSString*)urlPrefix
|
2003-11-24 12:13:37 +00:00
|
|
|
queryDictionary:(NSDictionary*)dict
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
url:(id)anURL
|
|
|
|
{
|
2004-05-14 12:02:12 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self _directActionURLForActionNamed:actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
urlPrefix:urlPrefix
|
2003-11-24 12:13:37 +00:00
|
|
|
queryDictionary:dict
|
|
|
|
pathQueryDictionary:nil
|
|
|
|
isSecure:isSecure
|
|
|
|
url:anURL];
|
2004-05-14 12:02:12 +00:00
|
|
|
|
|
|
|
return url;
|
2003-11-24 12:13:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
//_url is a semi complete one: line /cgi/WebObjects.exe/ObjCTest3.woa
|
|
|
|
-(GSWDynamicURLString*)_directActionURLForActionNamed:(NSString*)actionName
|
2004-01-09 11:41:44 +00:00
|
|
|
queryDictionary:(NSDictionary*)dict
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
url:(id)anURL
|
|
|
|
{
|
2004-05-14 12:02:12 +00:00
|
|
|
GSWDynamicURLString* url=nil;
|
|
|
|
|
|
|
|
url=[self _directActionURLForActionNamed:actionName
|
|
|
|
urlPrefix:nil
|
|
|
|
queryDictionary:dict
|
|
|
|
isSecure:isSecure
|
|
|
|
url:anURL];
|
|
|
|
|
|
|
|
return url;
|
2004-01-09 11:41:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
//_url is a semi complete one: line /cgi/WebObjects.exe/ObjCTest3.woa
|
|
|
|
-(GSWDynamicURLString*)_directActionURLForActionNamed:(NSString*)actionName
|
|
|
|
urlPrefix:(NSString*)urlPrefix
|
2003-11-24 12:13:37 +00:00
|
|
|
queryDictionary:(NSDictionary*)dict
|
|
|
|
pathQueryDictionary:(NSDictionary*)pathQueryDictionary
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
url:(id)anURL
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2005-04-05 14:49:55 +00:00
|
|
|
NSMutableString* queryString=nil;
|
2002-07-27 23:48:47 +00:00
|
|
|
NSEnumerator* enumerator =nil;
|
|
|
|
id key=nil;
|
2003-11-24 12:13:37 +00:00
|
|
|
NSString* path=nil;
|
2005-04-05 14:49:55 +00:00
|
|
|
IMP queryString_appendStringIMP=NULL;
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
// _url=[[_url copy] autorelease];
|
|
|
|
//TODOV
|
2002-07-27 23:48:47 +00:00
|
|
|
enumerator = [dict keyEnumerator];
|
2005-04-05 14:49:55 +00:00
|
|
|
// Build queryString as key=value[&key=value]..
|
2002-07-27 23:48:47 +00:00
|
|
|
while ((key = [enumerator nextObject]))
|
|
|
|
{
|
|
|
|
if (!queryString)
|
2005-04-05 14:49:55 +00:00
|
|
|
queryString=(NSMutableString*)[NSMutableString string];
|
2002-07-27 23:48:47 +00:00
|
|
|
else
|
2005-04-05 14:49:55 +00:00
|
|
|
{
|
|
|
|
GSWeb_appendStringWithImpPtr(queryString,
|
|
|
|
&queryString_appendStringIMP,
|
|
|
|
@"&");
|
|
|
|
}
|
|
|
|
GSWeb_appendStringWithImpPtr(queryString,
|
|
|
|
&queryString_appendStringIMP,
|
|
|
|
NSStringWithObject(key));
|
|
|
|
GSWeb_appendStringWithImpPtr(queryString,
|
|
|
|
&queryString_appendStringIMP,
|
|
|
|
@"=");
|
|
|
|
GSWeb_appendStringWithImpPtr(queryString,
|
|
|
|
&queryString_appendStringIMP,
|
|
|
|
NSStringWithObject([dict objectForKey:key]));
|
2002-07-27 23:48:47 +00:00
|
|
|
};
|
2000-01-22 12:49:49 +00:00
|
|
|
/*
|
2002-07-27 23:48:47 +00:00
|
|
|
[anURL setURLRequestHandlerKey:GSWDirectActionRequestHandlerKey[GSWebNamingConv]];
|
|
|
|
[anURL setURLRequestHandlerPath:actionName];
|
|
|
|
[anURL setURLQueryString:queryString];
|
2000-01-22 12:49:49 +00:00
|
|
|
*/
|
2003-04-09 12:03:17 +00:00
|
|
|
|
|
|
|
/* anURL=[self completeURLWithRequestHandlerKey:GSWDirectActionRequestHandlerKey[GSWebNamingConv]
|
|
|
|
path:actionName
|
|
|
|
queryString:queryString
|
|
|
|
isSecure:isSecure
|
|
|
|
port:0];
|
|
|
|
*/
|
2003-11-24 12:13:37 +00:00
|
|
|
if ([pathQueryDictionary count]>0)
|
|
|
|
{
|
2005-04-05 14:49:55 +00:00
|
|
|
IMP tmpPath_appendStringIMP=NULL;
|
|
|
|
NSMutableString* tmpPath=(NSMutableString*)[NSMutableString stringWithString:actionName];
|
2003-11-24 12:13:37 +00:00
|
|
|
// We sort keys so URL are always the same for same parameters
|
|
|
|
NSArray* keys=[[pathQueryDictionary allKeys]sortedArrayUsingSelector:@selector(compare:)];
|
|
|
|
int count=[keys count];
|
|
|
|
int i=0;
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
IMP oaiIMP=NULL;
|
2005-04-05 14:49:55 +00:00
|
|
|
|
|
|
|
// append each key/value pair as /key=value
|
2003-11-24 12:13:37 +00:00
|
|
|
for(i=0;i<count;i++)
|
|
|
|
{
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
id key = GSWeb_objectAtIndexWithImpPtr(keys,&oaiIMP,i);
|
2003-11-24 12:13:37 +00:00
|
|
|
id value = [pathQueryDictionary valueForKey:key];
|
|
|
|
if (!value)
|
|
|
|
value=[NSString string];
|
2005-04-05 14:49:55 +00:00
|
|
|
GSWeb_appendStringWithImpPtr(tmpPath,&tmpPath_appendStringIMP,
|
|
|
|
@"/");
|
|
|
|
GSWeb_appendStringWithImpPtr(tmpPath,&tmpPath_appendStringIMP,
|
|
|
|
NSStringWithObject(key));
|
|
|
|
GSWeb_appendStringWithImpPtr(tmpPath,&tmpPath_appendStringIMP,
|
|
|
|
@"=");
|
|
|
|
GSWeb_appendStringWithImpPtr(tmpPath,&tmpPath_appendStringIMP,
|
|
|
|
NSStringWithObject(value));
|
2003-11-24 12:13:37 +00:00
|
|
|
};
|
2005-04-05 14:49:55 +00:00
|
|
|
path=tmpPath;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
path=actionName;
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2004-01-09 11:41:44 +00:00
|
|
|
if (urlPrefix)
|
|
|
|
anURL=[self urlWithURLPrefix:urlPrefix
|
|
|
|
requestHandlerKey:GSWDirectActionRequestHandlerKey[GSWebNamingConv]
|
|
|
|
path:path
|
|
|
|
queryString:queryString
|
|
|
|
isSecure:isSecure
|
|
|
|
port:0];
|
|
|
|
else
|
|
|
|
anURL=[self urlWithRequestHandlerKey:GSWDirectActionRequestHandlerKey[GSWebNamingConv]
|
|
|
|
path:path
|
|
|
|
queryString:queryString
|
|
|
|
isSecure:isSecure
|
|
|
|
port:0];
|
2004-05-14 12:02:12 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
return anURL;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2004-01-09 11:41:44 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
//_url is a semi complete one: line /cgi/WebObjects.exe/ObjCTest3.woa
|
|
|
|
-(GSWDynamicURLString*)_directActionURLForActionNamed:(NSString*)actionName
|
|
|
|
queryDictionary:(NSDictionary*)dict
|
|
|
|
pathQueryDictionary:(NSDictionary*)pathQueryDictionary
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
url:(id)anURL
|
|
|
|
{
|
|
|
|
return [self _directActionURLForActionNamed:actionName
|
|
|
|
urlPrefix:nil
|
|
|
|
queryDictionary:dict
|
|
|
|
pathQueryDictionary:pathQueryDictionary
|
|
|
|
isSecure:isSecure
|
|
|
|
url:anURL];
|
|
|
|
}
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2008-08-20 20:32:10 +00:00
|
|
|
|
|
|
|
// new
|
|
|
|
//_directActionURL in wo 5
|
|
|
|
|
|
|
|
-(GSWDynamicURLString*) _directActionURLForActionNamed:(NSString*) anActionName
|
|
|
|
queryDictionary:(NSDictionary*)queryDictionary
|
|
|
|
isSecure:(BOOL)isSecure
|
|
|
|
port:(int)port
|
|
|
|
escapeQueryDictionary:(BOOL)escapeQueryDict
|
|
|
|
{
|
|
|
|
GSWDynamicURLString * url = nil;
|
|
|
|
NSString * aQueryString = nil;
|
|
|
|
|
|
|
|
BOOL forceLoadBalancing;
|
|
|
|
NSString *savedApplicationNumber;
|
|
|
|
BOOL isInDevelopment = ((_request) && ([_request applicationNumber] < -1));
|
|
|
|
|
|
|
|
forceLoadBalancing = ((_session == nil) && ((_requestSessionID == nil)) && (!isInDevelopment));
|
|
|
|
savedApplicationNumber = [[self _url] applicationNumber];
|
|
|
|
|
|
|
|
if (forceLoadBalancing) {
|
|
|
|
[_url setApplicationNumber:@"-1"];
|
|
|
|
}
|
|
|
|
|
|
|
|
if ((queryDictionary != nil) && ([queryDictionary count] > 0)) {
|
2010-06-22 05:02:29 +00:00
|
|
|
aQueryString = [queryDictionary encodeAsCGIFormValuesEscapeAmpersand:escapeQueryDict];
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
url = [self _urlWithRequestHandlerKey:[[GSWApp class] directActionRequestHandlerKey]
|
|
|
|
requestHandlerPath:anActionName
|
|
|
|
queryString:aQueryString
|
|
|
|
isSecure:isSecure
|
|
|
|
port:port];
|
|
|
|
|
|
|
|
if(forceLoadBalancing) {
|
|
|
|
[_url setApplicationNumber:savedApplicationNumber];
|
|
|
|
}
|
|
|
|
|
|
|
|
return url;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
2003-11-24 12:13:37 +00:00
|
|
|
/** Returns array of languages
|
|
|
|
First try session languages, if none, try self language
|
|
|
|
If none, try request languages
|
|
|
|
**/
|
2000-01-22 12:49:49 +00:00
|
|
|
-(NSArray*)languages
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
NSArray* languages=nil;
|
2003-11-24 12:13:37 +00:00
|
|
|
|
2005-04-05 14:49:55 +00:00
|
|
|
languages=[[self _session] languages];
|
2003-11-24 12:13:37 +00:00
|
|
|
|
|
|
|
if ([languages count]==0)
|
2002-07-27 23:48:47 +00:00
|
|
|
{
|
2003-11-24 12:13:37 +00:00
|
|
|
languages=_languages;
|
|
|
|
|
|
|
|
if ([languages count]==0)
|
2002-07-27 23:48:47 +00:00
|
|
|
{
|
2003-11-24 12:13:37 +00:00
|
|
|
languages=[[self request]browserLanguages];
|
|
|
|
}
|
2002-07-27 23:48:47 +00:00
|
|
|
};
|
2003-11-24 12:13:37 +00:00
|
|
|
|
|
|
|
//GSWeb specific: It enable application languages filtering
|
2002-07-27 23:48:47 +00:00
|
|
|
languages=[GSWApp filterLanguages:languages];
|
2003-11-24 12:13:37 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
return languages;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2003-11-24 12:13:37 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(void)_setLanguages:(NSArray*)languages
|
|
|
|
{
|
|
|
|
|
|
|
|
ASSIGNCOPY(_languages,languages);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWComponent*)_pageComponent
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _pageComponent;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWElement*)_pageElement
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _pageElement;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setPageElement:(GSWElement*)element
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
if (element != _pageElement) {
|
|
|
|
DESTROY(_pageComponent);
|
|
|
|
ASSIGN(_pageElement,element);
|
|
|
|
if (_pageElement != nil) {
|
|
|
|
if ([_pageElement isKindOfClass:[GSWComponent class]]) {
|
|
|
|
[self _setPageComponent:(GSWComponent*) _pageElement];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2003-01-19 15:33:07 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setPageComponent:(GSWComponent*)component
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
ASSIGN(_pageComponent,component);
|
2007-04-13 18:32:02 +00:00
|
|
|
if (_pageComponent)
|
|
|
|
[self _takeAwakeComponent: _pageComponent];
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setResponse:(GSWResponse*)aResponse
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
ASSIGN(_response,aResponse);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setRequest:(GSWRequest*)aRequest
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
NSString* adaptorPrefix=nil;
|
|
|
|
NSString* applicationName=nil;
|
2003-01-19 15:33:07 +00:00
|
|
|
|
|
|
|
if (_request!=aRequest)
|
|
|
|
{
|
|
|
|
ASSIGN(_request,aRequest);
|
|
|
|
|
|
|
|
[_request _setContext:self];
|
|
|
|
|
|
|
|
adaptorPrefix=[aRequest adaptorPrefix];
|
|
|
|
[_url setURLPrefix:adaptorPrefix];
|
|
|
|
|
|
|
|
applicationName=[aRequest applicationName];
|
|
|
|
[_url setURLApplicationName:applicationName];
|
|
|
|
|
|
|
|
[self _synchronizeForDistribution];
|
|
|
|
};
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setSession:(GSWSession*)aSession
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2003-01-19 15:33:07 +00:00
|
|
|
if (_session!=aSession)
|
|
|
|
{
|
|
|
|
ASSIGN(_session,aSession);
|
|
|
|
[self _synchronizeForDistribution];
|
|
|
|
};
|
|
|
|
if (_session)
|
|
|
|
{
|
|
|
|
_contextID=[_session _contextCounter];
|
|
|
|
};
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setSenderID:(NSString*)aSenderID
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
ASSIGNCOPY(_senderID,aSenderID);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(void)_synchronizeForDistribution
|
|
|
|
{
|
2003-04-09 12:03:17 +00:00
|
|
|
int instance=-1;
|
2003-11-24 12:13:37 +00:00
|
|
|
|
2003-04-09 12:03:17 +00:00
|
|
|
if (_request)
|
2002-07-27 23:48:47 +00:00
|
|
|
{
|
2004-05-14 12:02:12 +00:00
|
|
|
BOOL storesIDsInURLs=NO;
|
|
|
|
BOOL isDistributionEnabled=NO;
|
|
|
|
NSString* sessionID=nil;
|
2005-04-05 14:49:55 +00:00
|
|
|
GSWSession* session=nil;
|
|
|
|
|
|
|
|
if (![self isSessionDisabled])
|
|
|
|
{
|
|
|
|
session=[self _session];
|
|
|
|
|
|
|
|
storesIDsInURLs=[session storesIDsInURLs];
|
|
|
|
isDistributionEnabled=[session isDistributionEnabled];
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2005-04-05 14:49:55 +00:00
|
|
|
sessionID=[_request sessionID];
|
|
|
|
};
|
|
|
|
|
2003-04-09 12:03:17 +00:00
|
|
|
instance=[_request applicationNumber];
|
2003-11-24 12:13:37 +00:00
|
|
|
|
2004-05-14 12:02:12 +00:00
|
|
|
// Set instance to -1
|
|
|
|
// if we don't store IDs in URLs and distribution is enabled
|
|
|
|
// or if we don't have session nor session id
|
|
|
|
if ((isDistributionEnabled && !storesIDsInURLs)
|
2005-04-05 14:49:55 +00:00
|
|
|
|| (!session && !sessionID))
|
2003-11-24 12:13:37 +00:00
|
|
|
instance=-1;
|
2003-04-09 12:03:17 +00:00
|
|
|
};
|
2003-11-24 12:13:37 +00:00
|
|
|
|
2003-04-09 12:03:17 +00:00
|
|
|
_urlApplicationNumber = instance;
|
|
|
|
[_url setURLApplicationNumber:instance];
|
2003-11-24 12:13:37 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(void)_incrementContextID
|
|
|
|
{
|
2003-01-19 15:33:07 +00:00
|
|
|
_contextID++;
|
2002-07-27 23:48:47 +00:00
|
|
|
[_session _contextDidIncrementContextID];
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2007-04-13 18:32:02 +00:00
|
|
|
// I am not so sure if that exists here in WO. davew.
|
2000-01-22 12:49:49 +00:00
|
|
|
-(GSWSession*)existingSession
|
|
|
|
{
|
2005-04-05 14:49:55 +00:00
|
|
|
if ([self isSessionDisabled])
|
|
|
|
return nil;
|
|
|
|
else
|
|
|
|
return _session;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setCurrentComponent:(GSWComponent*)component
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
ASSIGN(_currentComponent,component);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setPageReplaced:(BOOL)flag
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
_pageReplaced=flag;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)_pageReplaced
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _pageReplaced;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setPageChanged:(BOOL)flag
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
_pageChanged=flag;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)_pageChanged
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _pageChanged;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2003-01-19 15:33:07 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(void)_setRequestContextID:(NSString*)contextID
|
|
|
|
{
|
|
|
|
ASSIGN(_requestContextID,contextID);
|
|
|
|
}
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(NSString*)_requestContextID
|
|
|
|
{
|
|
|
|
return _requestContextID;
|
|
|
|
}
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_setRequestSessionID:(NSString*)aSessionID
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
ASSIGNCOPY(_requestSessionID,aSessionID);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(NSString*)_requestSessionID
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _requestSessionID;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2003-01-19 15:33:07 +00:00
|
|
|
-(void)_takeAwakeComponentsFromArray:(NSArray*)components
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2003-01-19 15:33:07 +00:00
|
|
|
if ([components count]>0)
|
|
|
|
{
|
|
|
|
NSEnumerator* enumerator = nil;
|
|
|
|
GSWComponent* component = nil;
|
|
|
|
if (!_awakePageComponents)
|
|
|
|
_awakePageComponents=[NSMutableArray new];
|
|
|
|
|
|
|
|
enumerator = [components objectEnumerator];
|
|
|
|
while ((component = [enumerator nextObject]))
|
|
|
|
{
|
|
|
|
if (![_awakePageComponents containsObject:component])
|
|
|
|
[_awakePageComponents addObject:component];
|
|
|
|
};
|
|
|
|
};
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)_takeAwakeComponent:(GSWComponent*)component
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
|
|
|
//OK
|
2002-07-27 23:48:47 +00:00
|
|
|
if (!_awakePageComponents)
|
|
|
|
_awakePageComponents=[NSMutableArray new];
|
2003-01-19 15:33:07 +00:00
|
|
|
if (![_awakePageComponents containsObject:component])
|
|
|
|
[_awakePageComponents addObject:component];
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2003-01-19 15:33:07 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(NSMutableDictionary*)userInfo
|
|
|
|
{
|
|
|
|
return [self _userInfo];
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(NSMutableDictionary*)_userInfo
|
|
|
|
{
|
|
|
|
if (!_userInfo)
|
|
|
|
_userInfo=[NSMutableDictionary new];
|
|
|
|
return _userInfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(void)_setUserInfo:(NSMutableDictionary*)userInfo
|
|
|
|
{
|
|
|
|
NSAssert2(!userInfo || [userInfo isKindOfClass:[NSMutableDictionary class]],
|
|
|
|
@"userInfo is not a NSMutableDictionary but a %@: %@",
|
|
|
|
[userInfo class],
|
|
|
|
userInfo);
|
|
|
|
ASSIGN(_userInfo,userInfo);
|
|
|
|
};
|
2004-12-31 14:33:16 +00:00
|
|
|
|
2008-08-20 20:32:10 +00:00
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
//--------------------------------------------------------------------
|
2008-08-20 20:32:10 +00:00
|
|
|
-(void) _stripSessionIDFromURL
|
|
|
|
{
|
|
|
|
NSString * handlerPath = [[self _url] requestHandlerPath];
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
if ([handlerPath length]>0)
|
|
|
|
{
|
|
|
|
NSRange range = [handlerPath rangeOfString:[GSWApp sessionIdKey]];
|
|
|
|
if (range.location > 0)
|
|
|
|
{
|
|
|
|
NSUInteger handlerPathLength = [handlerPath length];
|
|
|
|
NSRange totalRange = NSMakeRange(range.location,
|
|
|
|
handlerPathLength-range.location);
|
|
|
|
NSRange endRange = [handlerPath rangeOfString:@"&"
|
|
|
|
options:0
|
|
|
|
range:totalRange];
|
|
|
|
|
|
|
|
if(endRange.location == NSNotFound)
|
|
|
|
{
|
|
|
|
[[self _url] setRequestHandlerPath:
|
|
|
|
[handlerPath substringWithRange:NSMakeRange(0,
|
|
|
|
range.location)]];
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
[[self _url] setRequestHandlerPath:
|
|
|
|
[[handlerPath substringWithRange:NSMakeRange(0, range.location)]
|
|
|
|
stringByAppendingString:[handlerPath
|
|
|
|
substringWithRange:NSMakeRange(range.location + 1,
|
|
|
|
handlerPathLength)]]];
|
|
|
|
}
|
|
|
|
}
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// context can add key/values in query dictionary
|
2008-08-20 20:32:10 +00:00
|
|
|
//-(NSDictionary*)computeQueryDictionary:(NSDictionary*)queryDictionary
|
|
|
|
//{
|
|
|
|
// //Do nothing
|
|
|
|
// return queryDictionary;
|
|
|
|
//};
|
|
|
|
|
|
|
|
// computeQueryDictionary
|
|
|
|
-(NSDictionary*) computeQueryDictionaryWithPath:(NSString*) aRequestHandlerPath
|
|
|
|
queryDictionary:(NSDictionary*) queryDictionary
|
|
|
|
otherQueryDictionary:(NSDictionary*) otherQueryDictionary
|
|
|
|
{
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
NSMutableDictionary * newQueryDictionary = nil;
|
2008-08-20 20:32:10 +00:00
|
|
|
NSString * sessionId = nil;
|
|
|
|
GSWSession * sess = nil;
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
|
|
|
|
if (queryDictionary != nil)
|
2008-08-20 20:32:10 +00:00
|
|
|
newQueryDictionary = [[queryDictionary mutableCopy] autorelease];
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
else
|
2008-08-20 20:32:10 +00:00
|
|
|
newQueryDictionary = [NSMutableDictionary dictionary];
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
|
|
|
|
if ([self hasSession])
|
|
|
|
{
|
|
|
|
sess = [self session];
|
|
|
|
if (![sess isTerminating]
|
|
|
|
&& [sess storesIDsInURLs])
|
|
|
|
{
|
|
|
|
sessionId = [sess sessionID];
|
|
|
|
}
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
else if ([self _sessionIDInURL])
|
|
|
|
sessionId = _requestSessionID;
|
2008-08-20 20:32:10 +00:00
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
if (sessionId != nil
|
|
|
|
&& GSWIsBoolNumberYes([newQueryDictionary sessionID]))
|
|
|
|
{
|
|
|
|
[newQueryDictionary setObject:sessionId
|
|
|
|
forKey:[GSWApp sessionIdKey]];
|
|
|
|
}
|
|
|
|
else if ([newQueryDictionary count] > 0)
|
|
|
|
{
|
2008-08-20 20:32:10 +00:00
|
|
|
[newQueryDictionary removeObjectForKey:[GSWApp sessionIdKey]];
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
[newQueryDictionary removeObjectForKey:GSWKey_SessionID[GSWebNamingConv]];
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
|
|
|
|
if (otherQueryDictionary != nil)
|
|
|
|
{
|
|
|
|
NSEnumerator * keyEnumerator = [otherQueryDictionary keyEnumerator];
|
|
|
|
NSString * aKey = nil;
|
2008-08-20 20:32:10 +00:00
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
while ((aKey = [keyEnumerator nextObject]))
|
|
|
|
{
|
|
|
|
id aValue = [otherQueryDictionary objectForKey:aKey];
|
|
|
|
|
|
|
|
if ([aKey isEqual:[GSWApp sessionIdKey]]
|
|
|
|
|| [aKey isEqual:GSWKey_SessionID[GSWebNamingConv]])
|
|
|
|
{
|
|
|
|
if (GSWIsBoolNumberNo(aValue))
|
|
|
|
[newQueryDictionary removeObjectForKey:aKey];
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
[newQueryDictionary setObject:aValue
|
|
|
|
forKey:aKey];
|
|
|
|
}
|
|
|
|
}
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
|
|
|
sessionId = [newQueryDictionary objectForKey:[GSWApp sessionIdKey]];
|
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
if (sessionId)
|
2008-08-20 20:32:10 +00:00
|
|
|
{
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
NSRange range;
|
|
|
|
NSRange range2;
|
|
|
|
|
|
|
|
range = [aRequestHandlerPath rangeOfString:sessionId];
|
|
|
|
range2 = [aRequestHandlerPath rangeOfString:[GSWApp sessionIdKey]];
|
|
|
|
|
|
|
|
if (range.location != NSNotFound
|
|
|
|
|| range2.location != NSNotFound)
|
|
|
|
{
|
|
|
|
[newQueryDictionary removeObjectForKey:[GSWApp sessionIdKey]];
|
|
|
|
[newQueryDictionary removeObjectForKey:@"wosid"];
|
|
|
|
}
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
else
|
2008-08-20 20:32:10 +00:00
|
|
|
[self _stripSessionIDFromURL];
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
|
2008-08-20 20:32:10 +00:00
|
|
|
return newQueryDictionary;
|
|
|
|
}
|
2004-12-31 14:33:16 +00:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// context can add key/values in query dictionary
|
|
|
|
-(NSDictionary*)computePathQueryDictionary:(NSDictionary*)queryDictionary
|
|
|
|
{
|
|
|
|
//Do nothing
|
|
|
|
return queryDictionary;
|
|
|
|
};
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// incrementLastElementIDComponent
|
|
|
|
-(void)incrementLastElementIDComponent
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
if (!_elementID)
|
2004-12-31 14:33:16 +00:00
|
|
|
[self _createElementID];
|
|
|
|
|
|
|
|
NSAssert(_elementIDIMPs._incrementLastElementIDComponentIMP,
|
|
|
|
@"No _elementIDIMPs._incrementLastElementIDComponentIMP");
|
|
|
|
(*_elementIDIMPs._incrementLastElementIDComponentIMP)(_elementID,incrementLastElementIDComponentSEL);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// appendElementIDComponent:
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)appendElementIDComponent:(NSString*)string
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
if (!_elementID)
|
2004-12-31 14:33:16 +00:00
|
|
|
[self _createElementID];
|
|
|
|
|
|
|
|
NSAssert(_elementIDIMPs._appendElementIDComponentIMP,
|
|
|
|
@"No _elementIDIMPs._appendElementIDComponentIMP");
|
|
|
|
|
|
|
|
(*_elementIDIMPs._appendElementIDComponentIMP)(_elementID,appendElementIDComponentSEL,string);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// appendZeroElementIDComponent
|
|
|
|
-(void)appendZeroElementIDComponent
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
if (!_elementID)
|
2004-12-31 14:33:16 +00:00
|
|
|
[self _createElementID];
|
|
|
|
|
|
|
|
NSAssert(_elementIDIMPs._appendZeroElementIDComponentIMP,
|
|
|
|
@"No _elementIDIMPs._appendZeroElementIDComponentIMP");
|
|
|
|
|
|
|
|
(*_elementIDIMPs._appendZeroElementIDComponentIMP)(_elementID,appendZeroElementIDComponentSEL);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// deleteAllElementIDComponents
|
|
|
|
-(void)deleteAllElementIDComponents
|
|
|
|
{
|
2003-01-19 15:33:07 +00:00
|
|
|
if (!_elementID)
|
2004-12-31 14:33:16 +00:00
|
|
|
[self _createElementID];
|
|
|
|
|
|
|
|
NSAssert(_elementIDIMPs._deleteAllElementIDComponentsIMP,
|
|
|
|
@"No _elementIDIMPs._deleteAllElementIDComponentsIMP");
|
|
|
|
|
|
|
|
(*_elementIDIMPs._deleteAllElementIDComponentsIMP)(_elementID,deleteAllElementIDComponentsSEL);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// deleteLastElementIDComponent
|
|
|
|
-(void)deleteLastElementIDComponent
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
if (!_elementID)
|
2004-12-31 14:33:16 +00:00
|
|
|
[self _createElementID];
|
|
|
|
|
|
|
|
NSAssert(_elementIDIMPs._deleteLastElementIDComponentIMP,
|
|
|
|
@"No _elementIDIMPs._deleteLastElementIDComponentIMP");
|
|
|
|
|
|
|
|
(*_elementIDIMPs._deleteLastElementIDComponentIMP)(_elementID,deleteLastElementIDComponentSEL);
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2004-12-14 23:48:51 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)isParentSenderIDSearchOver
|
|
|
|
{
|
2004-12-31 14:33:16 +00:00
|
|
|
if (_elementID)
|
|
|
|
{
|
|
|
|
NSAssert(_elementIDIMPs._isParentSearchOverForSenderIDIMP,
|
|
|
|
@"No _elementIDIMPs._isParentSearchOverForSenderIDIMP");
|
|
|
|
return (*_elementIDIMPs._isParentSearchOverForSenderIDIMP)(_elementID,isParentSearchOverForSenderIDSEL,_senderID);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
return NO;
|
2004-12-14 23:48:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(BOOL)isSenderIDSearchOver
|
|
|
|
{
|
2004-12-31 14:33:16 +00:00
|
|
|
if (_elementID)
|
|
|
|
{
|
|
|
|
NSAssert(_elementIDIMPs._isSearchOverForSenderIDIMP,
|
|
|
|
@"No _elementIDIMPs._isSearchOverForSenderIDIMP");
|
|
|
|
return (*_elementIDIMPs._isSearchOverForSenderIDIMP)(_elementID,isSearchOverForSenderIDSEL,_senderID);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
return NO;
|
2004-12-14 23:48:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(int)elementIDElementsCount
|
|
|
|
{
|
|
|
|
return [_elementID elementsCount];
|
|
|
|
};
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(NSString*)url
|
|
|
|
{
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
return [self componentActionURL];
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// urlSessionPrefix
|
|
|
|
|
|
|
|
// return http://my.host.org/cgi-bin/GSWeb/MyApp.ApplicationSuffix/123456789012334567890123456789
|
|
|
|
-(NSString*)urlSessionPrefix
|
|
|
|
{
|
2010-06-05 21:08:12 +00:00
|
|
|
[self notImplemented: _cmd]; //TODOFN
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
return [NSString stringWithFormat:@"%@%@/%@.%@/%@",
|
2002-07-27 23:48:47 +00:00
|
|
|
[_request urlProtocolHostPort],
|
|
|
|
[_request adaptorPrefix],
|
|
|
|
[_request applicationName],
|
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWWOCompatibility.h/.m: added
* GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m
* GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names
* GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces
* GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names
* GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings
* GSWeb.framework/GSWSession.m: handle WO/GSWeb names
* GSWeb.framework/GSWRequest.m: handle WO/GSWeb names
* GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names,
added tag counts to help errors hunt
* GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces
* GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names
* GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names
* GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names
* GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names
* GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names
* GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names
* GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names
* GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names
* GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names
* GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names
* GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names
* GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names
* GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names
* GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names
* GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names
* GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names
* GSWeb.framework/GSWText.m: handle WO/GSWeb names
* GSWeb.framework/GSWTextField.m: handle WO/GSWeb names
* GSWeb.framework/GSWDeployedBundle.m: warnings
* GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h
* GSWeb.framework/GSWAdaptor.m: traces
* GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces
* GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names
* GSWeb.framework/NSNonBlockingFileHandle.m: added traces
* GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names
* GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names
added tag count to help errors hunt
remove "Tag gsweb invalid" message
handle unicode strings in node content traces
remove html and body tags if they are not present in the template
* GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag
* GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead
of deallocating 2 times sessionTimeOuts
* GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html:
tag mismatch, Encode french characters
* GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html:
tag mismatch
* GSWHTMLBareString.m: handle unicode strings in description
* GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html:
Encode french characters, Tag Mismatch
* GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html:
Encode french characters
* GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html:
Encode french characters
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html:
Tag Mismatch
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
added convertHTMLEntities for strings
* GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars
* GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
|
|
|
GSWApplicationSuffix[GSWebNamingConv],
|
2005-04-05 14:49:55 +00:00
|
|
|
[[self _session] sessionID]];
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2004-05-14 12:02:12 +00:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(int)urlApplicationNumber
|
|
|
|
{
|
|
|
|
return _urlApplicationNumber;
|
|
|
|
};
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
-(GSWApplication*)application
|
|
|
|
{
|
|
|
|
return [GSWApplication application];
|
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// isDistributionEnabled
|
|
|
|
|
|
|
|
-(BOOL)isDistributionEnabled
|
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
return _distributionEnabled;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
// setDistributionEnabled:
|
|
|
|
|
2002-07-27 23:48:47 +00:00
|
|
|
-(void)setDistributionEnabled:(BOOL)isDistributionEnabled
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-07-27 23:48:47 +00:00
|
|
|
_distributionEnabled=isDistributionEnabled;
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
2003-11-24 12:13:37 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
//--------------------------------------------------------------------
|
2007-04-13 18:32:02 +00:00
|
|
|
- (NSString*) _urlForResourceNamed: (NSString*)aName
|
|
|
|
inFramework: (NSString*)frameworkName
|
|
|
|
{
|
|
|
|
return [_resourceManager urlForResourceNamed: aName
|
|
|
|
inFramework: frameworkName
|
|
|
|
languages: _languages
|
|
|
|
request: _request];
|
|
|
|
}
|
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
//--------------------------------------------------------------------
|
2008-08-20 20:32:10 +00:00
|
|
|
- (BOOL) secureRequest
|
|
|
|
{
|
|
|
|
BOOL isSecure = NO;
|
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
if (_request != nil)
|
2008-08-20 20:32:10 +00:00
|
|
|
isSecure = [_request isSecure];
|
|
|
|
|
|
|
|
return isSecure;
|
|
|
|
}
|
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
//--------------------------------------------------------------------
|
2008-08-20 20:32:10 +00:00
|
|
|
- (BOOL) secureMode
|
|
|
|
{
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
if (_secureMode == -2)
|
2008-08-20 20:32:10 +00:00
|
|
|
return [self secureRequest];
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
else
|
|
|
|
return (_secureMode == YES);
|
2008-08-20 20:32:10 +00:00
|
|
|
}
|
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
//--------------------------------------------------------------------
|
2008-08-20 20:32:10 +00:00
|
|
|
- (void) setSecureMode:(BOOL) value
|
|
|
|
{
|
|
|
|
_secureMode = (int) value;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
//--------------------------------------------------------------------
|
2008-08-20 20:32:10 +00:00
|
|
|
- (GSWDynamicURLString*) relativeURLWithRequestHandlerKey:(NSString*) requestHandlerKey
|
|
|
|
path:(NSString*) requestHandlerPath
|
|
|
|
queryString:(NSString*) queryString
|
|
|
|
{
|
|
|
|
GSWDynamicURLString * url = [self _url];
|
|
|
|
|
|
|
|
// CHECKME: rename to setRequestHandlerKey: ?? -- dw
|
|
|
|
[url setURLRequestHandlerKey:requestHandlerKey];
|
|
|
|
[url setRequestHandlerPath:requestHandlerPath];
|
|
|
|
[url setQueryString:queryString];
|
|
|
|
|
|
|
|
return url;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
//--------------------------------------------------------------------
|
2008-08-20 20:32:10 +00:00
|
|
|
- (GSWDynamicURLString*) _urlWithRequestHandlerKey:(NSString*) requestHandlerKey
|
|
|
|
requestHandlerPath:(NSString*) aRequestHandlerPath
|
|
|
|
queryString:(NSString*) aQueryString
|
|
|
|
isSecure:(BOOL) isSecure
|
|
|
|
port:(int) somePort
|
|
|
|
{
|
|
|
|
GSWDynamicURLString * url = nil;
|
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
if (_generateCompleteURLs
|
|
|
|
|| (_request != nil
|
|
|
|
&& isSecure != [_request isSecure]))
|
|
|
|
{
|
|
|
|
url = [self completeURLWithRequestHandlerKey:requestHandlerKey
|
|
|
|
path:aRequestHandlerPath
|
|
|
|
queryString:aQueryString
|
|
|
|
isSecure:isSecure
|
|
|
|
port:somePort];
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
url = [self relativeURLWithRequestHandlerKey:requestHandlerKey
|
|
|
|
path:aRequestHandlerPath
|
|
|
|
queryString:aQueryString];
|
|
|
|
|
|
|
|
}
|
2008-08-20 20:32:10 +00:00
|
|
|
return url;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
//--------------------------------------------------------------------
|
2008-08-20 20:32:10 +00:00
|
|
|
- (GSWDynamicURLString*) _urlWithRequestHandlerKey:(NSString*) requestHandlerKey
|
|
|
|
requestHandlerPath:(NSString*) requestHandlerPath
|
|
|
|
queryString:(NSString*) queryString
|
|
|
|
isSecure:(BOOL) isSecure
|
|
|
|
{
|
|
|
|
return [self _urlWithRequestHandlerKey:requestHandlerKey
|
|
|
|
requestHandlerPath:requestHandlerPath
|
|
|
|
queryString:queryString
|
|
|
|
isSecure:isSecure
|
|
|
|
port:0];
|
|
|
|
}
|
2003-01-19 15:33:07 +00:00
|
|
|
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
//--------------------------------------------------------------------
|
2010-10-25 00:39:36 +00:00
|
|
|
- (WOMarkupType) markupType
|
|
|
|
{
|
2013-03-03 02:02:36 +00:00
|
|
|
if (_markupType == WOUndefinedMarkup)
|
* GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
set framework binding
* GSWeb/GSWApplication.[hm]
add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
remove unneeded declarations
* GSWeb/GSWHiddenField.m
fix
* GSWeb/GSWHiddenField.h
remove unneeded declarations
* GSWeb/GSWString.m
fix appendToResponse:inContext: when formattedValue is nil
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
fix exception error messages
* GSWeb/GSWPopUpButton.m
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWRepetition.m
respect GNUstep coding standard (curly brackets placement, etc.)
reimplement startIndex and stopIndex bindings
clean code
* GSWeb/GSWCheckBoxList.m
fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug in -initWithName (valueAssoc)
Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
remove initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
ensure name is a string in -nameInContext:
fix name escaping in -_appendNameAttributeToResponse:
ensure value is a string in _appendValueAttributeToResponse:
remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion in -_finishInitialization
rename variables to make code understandable
* GSWeb/GSWConditional.m
respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
fix secure stuff
ensure string conversion
* GSWeb/GSWActionURL.m
respect GNUstep coding standard (curly brackets placement, etc.)
ensure string conversion
* GSWeb/GSWBody.h
remove uneeded declarations
* GSWeb/GSWBody.m
remove uneeded stuff
fix initWithName:...
* GSWeb.framework/GSWBrowser.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
rename variables to make code understandable
Fix bugs
* GSWeb.framework/GSWFileUpload.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
remove uneeded declarations
* GSWeb/GSWFrame.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericContainer.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericContainer.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWGenericElement.h
remove uneeded declarations
change inheritence
* GSWeb/GSWGenericElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
clean code
* GSWeb/GSWForm.h
remove uneeded declarations
* GSWeb/GSWForm.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
ensure string conversion
* GSWeb/GSWImage.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWClientSideScript.h
remove uneeded declarations
change inheritence
add -setLanguage
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWSubmitButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
clean code
* GSWeb/GSWImageButton.m
respect GNUstep coding standard (curly brackets placement, etc.)
use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
clean and update code
* GSWeb/GSWJavaScript.m
clean and update code
* GSWeb/GSWContext.m
clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
fix componentActionURL... methods
* GSWeb/GSWHTTPIO.m:
use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
remove uneeded declarations
* GSWeb/GSWPrivate.h
add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
|
|
|
{
|
|
|
|
GSWComponent* thePage = [self page];
|
|
|
|
if (thePage)
|
|
|
|
_markupType = [thePage markupType];
|
2010-10-25 00:39:36 +00:00
|
|
|
}
|
|
|
|
return _markupType;
|
|
|
|
}
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
@end
|
2004-12-14 23:48:51 +00:00
|
|
|
|