libs-gsweb/GSWeb.framework/GSWSessionTimeOutManager.m

763 lines
27 KiB
Mathematica
Raw Normal View History

* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
/** GSWSessionTimeOutManager.m - <title>GSWeb: Class GSWSessionTimeOutManager</title>
Copyright (C) 1999-2003 Free Software Foundation, Inc.
2002-08-04 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWEmbeddedObject.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWGenericContainer.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWDirectActionRequestHandler.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWDynamicURLString.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWBindingNameAssociation.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWComponentDefinition.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWComponentRequestHandler.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWConstantValueAssociation.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWDisplayGroup.h/.m o ivar names changes to conform to coding standards o include for TCSimpleDB/ * GSWeb.framework/GSWKeyValueAssociation.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWRequestHandler.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWResourceRequestHandler.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/NSString+Trimming.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWStats.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/NSNonBlockingFileHandle.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/NSString+HTML.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWStatisticsStore.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWHTMLURLValuedElement.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplication.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWBundle.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWTemplateParserXML.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWHTMLParserExt.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWMultiKeyDictionary.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWProjectBundle.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWTemplateParser.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWPageDefElement.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWUtils.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWeb.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWWOCompatibility.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWQuickTime.h o ivar names changes to conform to coding standards * GSWeb.framework/GSWTemplateParserANTLR.h/.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWDebug.m o ivar names changes to conform to coding standards * GSWeb.framework/GSWComponent.m o NSAsserts git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14234 72102866-910b-0410-8b05-ffd578937521
2002-08-04 18:00:11 +00:00
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
Date: Mar 1999
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
$Revision$
$Date$
$Id$
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
This file is part of the GNUstep Web Library.
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
<license>
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.
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
</license>
**/
2003-03-21 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWGNUmakefile: o removed NSObject+IVarAccess+PerformSel.* * GSWeb.framework/GSWConstants.m: o fix GSWHTTPHeader_Response_HeaderLineEnd: remove space at the begining o use RCS_ID * GSWeb.framework/Adaptors/common/GSWHTTPResponse.c: o fix status in GSWHTTPResponse_New() * GSWAdaptors/Apache/mod_gsweb.c: o fixes bad returned status o traces * GSWeb.framework/GSWTemplateParserANTLR.m: o removed logs o fixes for warnings o use RCS_ID * GSWeb.framework/GSWApplication.m: o use RCS_ID o added logs o new method to begin rewrite exception handling * GSWeb.framework/GSWRequest.m: o logs o fix in -_getFormValuesFromMultipartFormData to handle more than one value per name o use RCS_ID o -fix bad types in uriElementForKey: * GSWeb.framework/GSWConditional.m: o added asserts o use RCS_ID * GSWeb.framework/GSWHTMLStaticElement.m: o added asserts o clean warnings o use RCS_ID * GSWeb.framework/GSWComponentReference.m: o added asserts o use RCS_ID * GSWeb.framework/GSWActiveImage.m: o added asserts * GSWeb.framework/GSWComponentContent.m: o added asserts o use RCS_ID * GSWeb.framework/GSWForm.m: o added asserts o use RCS_ID * GSWeb.framework/GSWHTMLDynamicElement.m: o added asserts o use RCS_ID * GSWeb.framework/GSWHTMLURLValuedElement.m: o use RCS_ID o added asserts * GSWeb.framework/GSWRepetition.m: o added asserts o use RCS_ID * GSWeb.framework/GSWExtensions.framework/GNUmakefile: o added GSWPageRestorationErrorPage.gswc * GSWeb.framework/GSWFileUploadComponent.m: o use RCS_ID * GSWeb.framework/GSWImage.m: o Don't output nil height/width o fix: get component before using ! o use RCS_ID * GSWeb.framework/GSWElementIDString.m: o in -initWithCoder: retain _string o use RCS_ID * GSWeb.framework/GSWElementIDString.h: o cleaned * config.h.in: o define RCS_ID like in GDL2 * GSWeb.framework/GSWDirectActionRequestHandler.[hm]: o added +additionalRequestPathArrayFromRequest: o enable directAction with additional path components o use RCS_ID * GSWeb.framework/GSWDirectAction.[hm]: o added -additionalRequestPathArray o use RCS_ID * GSWeb.framework/GSWeb.h: o include GSCategories.h * GSWeb.framework/GSWDebug.m: o use RCS_ID * GSWeb.framework/GSWPageDefParserExt.m: o use RCS_ID * GSWeb.framework/GSWPageDefElement.m: o use RCS_ID * GSWeb.framework/GSWDeployedBundle.m: o use RCS_ID * GSWeb.framework/GSWProjectBundle.m: o use RCS_ID * GSWeb.framework/GSWStats.m: o use RCS_ID * GSWeb.framework/GSWBundle.m: o clean warnings o use RCS_ID * GSWeb.framework/GSWTemplateParser.m:: o clean warnings o use RCS_ID * GSWeb.framework/GSWTemplateParserXML.m: o clean warnings o use RCS_ID * GSWeb.framework/GSWComponent.m: o clean warnings o use RCS_ID * GSWeb.framework/GSWDisplayGroup.m: o clean warnings o fix -validateValue:forKey: call o use RCS_ID * GSWeb.framework/GSWHTMLParserExt.m: o use RCS_ID * GSWeb.framework/GSWAssociation.m: o clean warnings o use RCS_ID * GSWeb.framework/GSWResourceManager.m: o clean warnings o use RCS_ID * GSWeb.framework/GSWSession.m: o clean warnings o use RCS_ID * GSWeb.framework/GSWMultiKeyDictionary.m: o use RCS_ID * GSWeb.framework/GSWResponse.m: o clean warnings o use RCS_ID * GSWeb.framework/GSWStatisticsStore.m: o clean warnings * GSWeb.framework/GSWAdaptor.m: o use RCS_ID * GSWeb.framework/GSWGeometricRegion.[hm]: o types change o use RCS_ID * GSWeb.framework/GSWActiveImage.m: o clean warnings o use RCS_ID * GSWeb.framework/GSWBody.m: o use RCS_ID * GSWeb.framework/GSWTextField.m: o use RCS_ID * GSWeb.framework/GSWSubmitButton.m: o clean warnings o use RCS_ID * GSWeb.framework/GSWHTMLBareString.m: o use RCS_ID * GSWeb.framework/GSWHTMLComment.m: o use RCS_ID * GSWeb.framework/GSWApplet.m: o use RCS_ID * GSWeb.framework/GSWBrowser.m: o use RCS_ID * GSWeb.framework/GSWCheckBoxList.m: o use RCS_ID * GSWeb.framework/GSWEmbeddedObject.m: o use RCS_ID * GSWeb.framework/GSWFrame.m: o use RCS_ID * GSWeb.framework/GSWGenericContainer.m: o use RCS_ID * GSWeb.framework/GSWGenericElement.m: o use RCS_ID * GSWeb.framework/GSWHyperlink.m: o use RCS_ID o clean warnings * GSWeb.framework/GSWImageButton.m: o use RCS_ID o clean warnings * GSWeb.framework/GSWJavaScript.m: o use RCS_ID * GSWeb.framework/GSWNestedList.m: o use RCS_ID * GSWeb.framework/GSWParam.m: o use RCS_ID * GSWeb.framework/GSWPasswordField.m: o use RCS_ID * GSWeb.framework/GSWPopUpButton.m: o use RCS_ID * GSWeb.framework/GSWRadioButtonList.m: o use RCS_ID * GSWeb.framework/GSWResetButton.m: o use RCS_ID * GSWeb.framework/GSWSwitchComponent.m: o use RCS_ID * GSWeb.framework/GSWVBScript.m: o use RCS_ID * GSWeb.framework/GSWString.m: o use RCS_ID * GSWeb.framework/GSWText.m: o use RCS_ID * GSWeb.framework/GSWCookie.m: o use RCS_ID * GSWeb.framework/GSWRequestHandler.m: o use RCS_ID * GSWeb.framework/GSWMailDelivery.m: o use RCS_ID * GSWeb.framework/GSWComponentRequestHandler.m: o use RCS_ID o clean warnings * GSWeb.framework/GSWKeyValueAssociation.m: o use RCS_ID * GSWeb.framework/GSWHTMLStaticGroup.m: o use RCS_ID * GSWeb.framework/GSWConstantValueAssociation.m: o use RCS_ID * GSWeb.framework/GSWDynamicURLString.m: o use RCS_ID * GSWeb.framework/GSWBindingNameAssociation.m: o use RCS_ID * GSWeb.framework/GSWBindingNameAssociation.[hm] o clean warnings o use RCS_ID * GSWeb.framework/GSWURLValuedElementData.m: o clean warnings o use RCS_ID * GSWeb.framework/GSWToggle.m: o use RCS_ID * GSWeb.framework/GSWFileUpload.m: o use RCS_ID * GSWeb.framework/GSWResourceURL.m: o use RCS_ID * GSWeb.framework/GSWProcFS.m: o use RCS_ID * GSWeb.framework/GSWActionURL.m: o use RCS_ID * GSWeb.framework/GSWContext.m: o use RCS_ID * GSWeb.framework/GSWDefaultAdaptorThread.m: o use RCS_ID * GSWeb.framework/GSWDynamicElement.m: o use RCS_ID * GSWeb.framework/GSWeb.m: o use RCS_ID * GSWeb.framework/GSWElement.m: o use RCS_ID * GSWeb.framework/GSWResourceRequestHandler.m: o use RCS_ID * GSWeb.framework/GSWServerSessionStore.m: o use RCS_ID * GSWeb.framework/GSWSessionStore.m: o use RCS_ID * GSWeb.framework/GSWSessionTimeOut.m: o use RCS_ID * GSWeb.framework/GSWSessionTimeOutManager.m: o use RCS_ID * GSWeb.framework/GSWTransactionRecord.m: o use RCS_ID * GSWeb.framework/GSWUtils.m: o use RCS_ID * GSWeb.framework/GSWWOCompatibility.m: o use RCS_ID * GSWeb.framework/NSString+HTML.m: o use RCS_ID * GSWeb.framework/NSString+Trimming.m: o use RCS_ID git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@16216 72102866-910b-0410-8b05-ffd578937521
2003-03-21 14:32:57 +00:00
#include "config.h"
RCS_ID("$Id$")
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"
#include "GSWSessionTimeOut.h"
//====================================================================
@implementation GSWSessionTimeOutManager
-(id)init
{
//OK
if ((self=[super init]))
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
{
_sessionOrderedTimeOuts=[NSMutableArray new];
NSDebugMLLog(@"sessions",@"INIT self=%p",self);
NSDebugMLLog(@"sessions",@"self=%p _sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
_sessionTimeOuts=[NSMutableDictionary new];
// selfLock=[NSRecursiveLock new];
_selfLock=[NSLock new];
};
return self;
};
//--------------------------------------------------------------------
-(void)dealloc
{
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
DESTROY(_sessionOrderedTimeOuts);
DESTROY(_sessionTimeOuts);
//Do Not Retain ! DESTROY(target);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
DESTROY(_timer);
DESTROY(_selfLock);
[super dealloc];
};
// Must be locked
-(GSWSessionTimeOut*)_sessionTimeOutForSessionID:(NSString*)sessionID
{
GSWSessionTimeOut* sessionTimeOut=nil;
LOGObjectFnStart();
sessionTimeOut=[_sessionTimeOuts objectForKey:sessionID];
if (sessionTimeOut)
{
// Retain/autorelease it so it won't be destroyed too soon
RETAIN(sessionTimeOut);
AUTORELEASE(sessionTimeOut);
}
else
{
sessionTimeOut=[GSWSessionTimeOut timeOutWithSessionID:sessionID
lastAccessTime:[NSDate timeIntervalSinceReferenceDate]
sessionTimeOut:[GSWApplication sessionTimeOutValue]];
[_sessionTimeOuts setObject:sessionTimeOut
forKey:sessionID];
[_sessionOrderedTimeOuts addObject:sessionTimeOut];
};
LOGObjectFnStop();
return sessionTimeOut;
};
// Must not be locked
-(GSWSessionTimeOut*)sessionTimeOutForSessionID:(NSString*)sessionID
{
GSWSessionTimeOut* sessionTimeOut=nil;
LOGObjectFnStart();
[self lock];
NS_DURING
{
sessionTimeOut=[self _sessionTimeOutForSessionID:sessionID];
}
NS_HANDLER
{
NSLog(@"### exception ... %@", [localException reason]);
LOGException(@"%@ (%@)",localException,[localException reason]);
[self unlock];
[localException raise];
}
NS_ENDHANDLER;
[self unlock];
LOGObjectFnStop();
return sessionTimeOut;
};
//--------------------------------------------------------------------
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
-(void)updateTimeOutForSessionWithID:(NSString*)sessionID
timeOut:(NSTimeInterval)timeOut
{
//OK
BOOL selfLocked=NO;
BOOL targetLocked=NO;
LOGObjectFnStart();
[self lock];
selfLocked=YES;
NS_DURING
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
{
NSTimer* timer=nil;
GSWSessionTimeOut* sessionTimeOut=nil;
NSDebugMLLog(@"sessions",@"timeOut=%ld",(long)timeOut);
sessionTimeOut=[self _sessionTimeOutForSessionID:sessionID];
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSDebugMLLog(@"sessions",@"sessionTimeOut=%@",sessionTimeOut);
NSDebugMLLog(@"sessions",@"self=%p _sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
NSAssert(sessionTimeOut,@"No sessionTimeOut");
[_sessionOrderedTimeOuts removeObject:sessionTimeOut];
[sessionTimeOut setLastAccessTime:[NSDate timeIntervalSinceReferenceDate]];
if (timeOut!=[sessionTimeOut sessionTimeOut])
[sessionTimeOut setSessionTimeOut:timeOut];
[_sessionOrderedTimeOuts addObject:sessionTimeOut];
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSDebugMLLog(@"sessions",@"sessionTimeOut=%@",sessionTimeOut);
timer=[self resetTimer];
NSDebugMLLog(@"sessions",@"timer=%@",timer);
NSDebugMLLog(@"sessions",@"timer fireDate=%@",[timer fireDate]);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
if (timer)
{
[GSWApplication logWithFormat:@"lock Target..."];
[_target lock];
targetLocked=YES;
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NS_DURING
{
[self addTimer:timer];
}
NS_HANDLER
{
NSLog(@"### exception from ... addTimer... %@", [localException reason]);
LOGException(@"%@ (%@)",localException,[localException reason]);
NSLog(@"### exception ... %@", [localException reason]);
//TODO
if (targetLocked)
{
[GSWApplication logWithFormat:@"unlock Target..."];
[_target unlock];
targetLocked=NO;
};
if (selfLocked)
{
NSDebugMLLog(@"sessions",@"Unlock self");
[self unlock];
selfLocked=NO;
};
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[localException raise];
}
NS_ENDHANDLER;
[GSWApplication logWithFormat:@"unlock Target..."];
if (targetLocked)
{
[_target unlock];
targetLocked=NO;
};
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
};
}
NS_HANDLER
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
{
NSLog(@"### exception ... %@", [localException reason]);
LOGException(@"%@ (%@)",localException,[localException reason]);
//TODO
if (selfLocked)
{
NSDebugMLLog(@"sessions",@"Unlock self");
[self unlock];
selfLocked=NO;
};
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[localException raise];
}
NS_ENDHANDLER;
if (selfLocked)
{
NSDebugMLLog(@"sessions",@"Unlock self");
[self unlock];
selfLocked=NO;
};
LOGObjectFnStop();
};
//--------------------------------------------------------------------
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
-(void)handleTimer:(id)aTimer
{
//OK
BOOL requestHandlingLocked=NO;
BOOL selfLocked=NO;
BOOL targetLocked=NO;
2000-03-20 Manuel Guesdon <mguesdon@sbuilders.com> * GSWDebug.h: remove unused functions * GSWApplication.h/.m:Added: GSWDebuggingStatus category +isStatusDebuggingEnabled +setStatusDebuggingEnabled: +debugSetConfigFilePath +setDebugSetConfigFilePath: * GSWApplication.h/.m: replaced GSWDebugStdLog by [GSWApp statusDebug...] replaced executeWithClasses: with executeWithClassArray: corrections for different warnings change in GSWApplicationDebugSetChange() to use GSWDebugSetConfigFi lePath option * GSWConfig.h: added GSWOPTVALUE_StatusDebuggingEnabled * GSWConstants.h/.m: added GSWOPT_StatusDebuggingEnabled added GSWOPT_DebugSetConfigFilePath * INSTALL: reflect changes of adaptors,... * GSWUtil.h/.m: corrections for different warnings removed MD5HexDigest() * GSWCheckBoxListm: replaced LOGAssertGood by GSWLogAssertGood * GSWRadioButtonList.m: replaced LOGAssertGood by GSWLogAssertGood * GSWDefaultAdaptorThread.m: replaced GSWLogCStdOut by +statusLogWithFormat : corrections for different warnings * GSWDefaultAdaptor.m: replaced GSWLogCStdOut by +statusLogWithFormat: * GSWSessionTimeOutManager.m: replaced GSWLogCStdOut by +statusLogWithForma t: * GSWKeyValueAssociation.m: replaced LOGAssertGood by GSWLogAssertGood * GSWHTMLStaticElement.m: corrections for different warnings * GSWConstantValueAssociation.m: replaced LOGAssertGood by GSWLogAssertGood * GSWHTMLDynamicElement.m: corrections for different warnings * GSWStatsPage.m: corrections for different warnings * GSWExceptionPage.m: removed GSWLogCStdOut calls * GSWSession.m: replaced GSWLogCStdOut by +statusLogWithFormat: replaced LOGAssertGood by GSWLogAssertGood * GSWAssociation.m: replaced LOGAssertGood by GSWLogAssertGood * GSWComponent.m: replaced LOGAssertGood by GSWLogAssertGood * GSWContext.m: replaced LOGAssertGood by GSWLogAssertGood * GSWRequest.m: replaced LOGAssertGood by GSWLogAssertGood * GSWResponse.m: replaced LOGAssertGood by GSWLogAssertGood * GSWSessionStore.m: replaced LOGAssertGood by GSWLogAssertGood * Adator GSWAppRequest.c: test on instance in GSWAppRequest_SendAppRequestT oApp * Adator GSWLoadBalancing.c: added debug messages * Adaptor GSWHTTPRequest.c: corrected bug in GSWHTTPRequest_SendRequest * Adaptor: GSWAppConnectSocket.c: added debug messages * GSWeb.framework/Makefile.preamble: removed -lNGReflection git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@6345 72102866-910b-0410-8b05-ffd578937521
2000-03-20 15:50:51 +00:00
[GSWApplication statusLogWithFormat:@"Start HandleTimer"];
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
NSDebugMLog(@"Start HandleTimer");
NSDebugMLLog(@"sessions",@"timer=%@",aTimer);
NSDebugMLLog(@"sessions",@"timer fireDate=%@",[aTimer fireDate]);
NSDebugMLLog(@"sessions",@"timer tisn=%f",[[aTimer fireDate]timeIntervalSinceNow]);
// LOGObjectFnStart();
[GSWApp lockRequestHandling];
requestHandlingLocked=YES;
NS_DURING
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
{
[self lock];
selfLocked=YES;
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NS_DURING
{
NSEnumerator *sessionTimeOutEnum = nil;
GSWSessionTimeOut* sessionTimeOut=nil;
NSTimeInterval now=[NSDate timeIntervalSinceReferenceDate];
NSTimer* timer=nil;
int removedNb=0;
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
/*
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
if ([sessionOrderedTimeOuts count]>0)
_sessionTimeOut=[sessionOrderedTimeOuts objectAtIndex:0];
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
*/
NSDebugMLLog(@"sessions",@"self=%p aTimer=%p",self,aTimer);
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
NSDebugMLLog(@"sessions",@"now=%f",now);
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
sessionTimeOutEnum = [_sessionOrderedTimeOuts objectEnumerator];
while (/*_removedNb<20 && *//*sessionTimeOut && [sessionTimeOut timeOutTime]<_now*/
(sessionTimeOut = [sessionTimeOutEnum nextObject]))
{
if ([sessionTimeOut timeOutTime]<now)
{
id session=nil;
[_target lock];
targetLocked=YES;
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NS_DURING
{
NSDebugMLLog(@"sessions",@"[sessionTimeOut sessionID]=%@",[sessionTimeOut sessionID]);
NSDebugMLLog(@"sessions",@"target [%@]=%@",[_target class],_target);
NSDebugMLLog(@"sessions",@"_callback=%@",NSStringFromSelector(_callback));
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
session=[_target performSelector:_callback
withObject:[sessionTimeOut sessionID]];
NSDebugMLLog(@"sessions",@"session=%@",session);
}
NS_HANDLER
{
NSLog(@"### exception ... %@", [localException reason]);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
LOGException(@"%@ (%@)",localException,[localException reason]);
//TODO
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[_target unlock];
targetLocked=NO;
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
timer=[self resetTimer];
NSDebugMLLog(@"sessions",@"timer=%@",timer);
NSDebugMLLog(@"sessions",@"timer fireDate=%@",[timer fireDate]);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
if (timer)
[self addTimer:timer];
[self unlock];
selfLocked=NO;
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[GSWApp unlockRequestHandling];
requestHandlingLocked=NO;
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[localException raise];
}
NS_ENDHANDLER;
[_target unlock];
targetLocked=NO;
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSDebugMLLog(@"sessions",@"session=%p",session);
NSLog(@"%s %d GSWSessionTimeOutMananger : before removeObject sessionID=%@ session = %p",
__FILE__,__LINE__,[sessionTimeOut sessionID],session);
if (sessionTimeOut)
{
// Remove sessionTimeOut anyway
[_sessionTimeOuts removeObjectForKey:[sessionTimeOut sessionID]];
//NSLog(@"%d %d removed from _sessionTimeOuts",__FILE__,__LINE__);
[_sessionOrderedTimeOuts removeObject:sessionTimeOut];
//NSLog(@"%s %d removed from _sessionOrderedTimeOuts",__FILE__,__LINE__);
};
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
removedNb++;
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
if (session)
{
//NSLog(@"%s %d will terminate session",__FILE__,__LINE__);
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
[session _terminateByTimeout];
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
//NSLog(@"%s %d session terminated",__FILE__,__LINE__);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
/*
if ([sessionOrderedTimeOuts count]>0)
_sessionTimeOut=[sessionOrderedTimeOuts objectAtIndex:0];
else
_sessionTimeOut=nil;
*/
}
else
sessionTimeOut=nil;
};
};
timer=[self resetTimer];
NSDebugMLLog(@"sessions",@"timer=%@",timer);
NSDebugMLLog(@"sessions",@"timer fireDate=%@",[timer fireDate]);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
if (timer)
[self addTimer:timer];
}
NS_HANDLER
{
LOGException(@"%@ (%@)",localException,[localException reason]);
//TODO
if (selfLocked)
{
[self unlock];
selfLocked=NO;
};
if (requestHandlingLocked)
{
[GSWApp unlockRequestHandling];
requestHandlingLocked=NO;
};
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[localException raise];
};
NS_ENDHANDLER;
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
if (selfLocked)
{
[self unlock];
selfLocked=NO;
};
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
}
NS_HANDLER
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
{
LOGException(@"%@ (%@)",localException,[localException reason]);
//TODO
if (requestHandlingLocked)
{
[GSWApp unlockRequestHandling];
requestHandlingLocked=NO;
};
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[localException raise];
};
NS_ENDHANDLER;
if (requestHandlingLocked)
{
[GSWApp unlockRequestHandling];
requestHandlingLocked=NO;
};
// LOGObjectFnStop();
2000-03-20 Manuel Guesdon <mguesdon@sbuilders.com> * GSWDebug.h: remove unused functions * GSWApplication.h/.m:Added: GSWDebuggingStatus category +isStatusDebuggingEnabled +setStatusDebuggingEnabled: +debugSetConfigFilePath +setDebugSetConfigFilePath: * GSWApplication.h/.m: replaced GSWDebugStdLog by [GSWApp statusDebug...] replaced executeWithClasses: with executeWithClassArray: corrections for different warnings change in GSWApplicationDebugSetChange() to use GSWDebugSetConfigFi lePath option * GSWConfig.h: added GSWOPTVALUE_StatusDebuggingEnabled * GSWConstants.h/.m: added GSWOPT_StatusDebuggingEnabled added GSWOPT_DebugSetConfigFilePath * INSTALL: reflect changes of adaptors,... * GSWUtil.h/.m: corrections for different warnings removed MD5HexDigest() * GSWCheckBoxListm: replaced LOGAssertGood by GSWLogAssertGood * GSWRadioButtonList.m: replaced LOGAssertGood by GSWLogAssertGood * GSWDefaultAdaptorThread.m: replaced GSWLogCStdOut by +statusLogWithFormat : corrections for different warnings * GSWDefaultAdaptor.m: replaced GSWLogCStdOut by +statusLogWithFormat: * GSWSessionTimeOutManager.m: replaced GSWLogCStdOut by +statusLogWithForma t: * GSWKeyValueAssociation.m: replaced LOGAssertGood by GSWLogAssertGood * GSWHTMLStaticElement.m: corrections for different warnings * GSWConstantValueAssociation.m: replaced LOGAssertGood by GSWLogAssertGood * GSWHTMLDynamicElement.m: corrections for different warnings * GSWStatsPage.m: corrections for different warnings * GSWExceptionPage.m: removed GSWLogCStdOut calls * GSWSession.m: replaced GSWLogCStdOut by +statusLogWithFormat: replaced LOGAssertGood by GSWLogAssertGood * GSWAssociation.m: replaced LOGAssertGood by GSWLogAssertGood * GSWComponent.m: replaced LOGAssertGood by GSWLogAssertGood * GSWContext.m: replaced LOGAssertGood by GSWLogAssertGood * GSWRequest.m: replaced LOGAssertGood by GSWLogAssertGood * GSWResponse.m: replaced LOGAssertGood by GSWLogAssertGood * GSWSessionStore.m: replaced LOGAssertGood by GSWLogAssertGood * Adator GSWAppRequest.c: test on instance in GSWAppRequest_SendAppRequestT oApp * Adator GSWLoadBalancing.c: added debug messages * Adaptor GSWHTTPRequest.c: corrected bug in GSWHTTPRequest_SendRequest * Adaptor: GSWAppConnectSocket.c: added debug messages * GSWeb.framework/Makefile.preamble: removed -lNGReflection git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@6345 72102866-910b-0410-8b05-ffd578937521
2000-03-20 15:50:51 +00:00
[GSWApplication statusLogWithFormat:@"Stop HandleTimer"];
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
NSDebugMLog(@"Stop HandleTimer");
};
//--------------------------------------------------------------------
-(NSTimer*)resetTimer
{
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSTimer* newTimer=nil;
GSWSessionTimeOut* sessionTimeOut=nil;
LOGObjectFnStart();
// [self lock];
NS_DURING
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
{
NSTimeInterval now=[NSDate timeIntervalSinceReferenceDate];
NSTimeInterval timerFireTimeInterval=[[_timer fireDate]timeIntervalSinceReferenceDate];
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
//NSLog(@"%s %d [_sessionOrderedTimeOuts count]=%d",__FILE__,__LINE__,[_sessionOrderedTimeOuts count]);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
if ([_sessionOrderedTimeOuts count]>0)
{
NSEnumerator* sessionOrderedTimeOutsEnum = [_sessionOrderedTimeOuts objectEnumerator];
GSWSessionTimeOut* sessionTimeOutObject=nil;
NSTimeInterval minTimeOut;
sessionTimeOut = [_sessionOrderedTimeOuts objectAtIndex:0];
minTimeOut = [sessionTimeOut timeOutTime];
while ((sessionTimeOutObject = [sessionOrderedTimeOutsEnum nextObject]))
{
if ([sessionTimeOutObject timeOutTime]<minTimeOut)
{
sessionTimeOut = sessionTimeOutObject;
minTimeOut = [sessionTimeOut timeOutTime];
}
}
//sessionTimeOut=[_sessionOrderedTimeOuts objectAtIndex:0];
// search for minimum timeouts
NSDebugMLLog(@"sessions",@"sessionTimeOut=%@",sessionTimeOut);
NSDebugMLLog(@"sessions",@"[_timer fireDate]=%@",[_timer fireDate]);
NSDebugMLLog(@"sessions",@"[old timer isValide]=%s",
[_timer isValid] ? "YES" : "NO");
/*
NSLog(@"%s %d sessionTimeOut=%@ [_timer fireDate]=%@ [old timer isValid]=%s timerFireTimeInterval=%d now=%d",
__FILE__,__LINE__,
sessionTimeOut,[_timer fireDate],
([_timer isValid] ? "YES" : "NO"),
(int)timerFireTimeInterval,
(int)now);
*/
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
if (sessionTimeOut
&& (![_timer isValid]
|| [sessionTimeOut timeOutTime]<timerFireTimeInterval
|| timerFireTimeInterval<now))
{
NSTimeInterval timerTimeInterval=[sessionTimeOut timeOutTime]-now;
NSDebugMLLog(@"sessions",@"timerTimeInterval=%ld",(long)timerTimeInterval);
timerTimeInterval=max(timerTimeInterval,5);//5s minimum
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSDebugMLLog(@"sessions",@"timerTimeInterval=%ld",(long)timerTimeInterval);
/*
NSLog(@"%s %d new timerTimeInterval=%ld for sessionTimeOut: %@",
__FILE__,__LINE__,
(long)timerTimeInterval,sessionTimeOut);
*/
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
newTimer=[NSTimer timerWithTimeInterval:timerTimeInterval
target:self
selector:@selector(handleTimer:)
userInfo:nil
repeats:NO];
NSDebugMLLog(@"sessions",@"old timer=%@",_timer);
NSDebugMLLog(@"sessions",@"new timer=%@",newTimer);
//If timer is a repeat one (anormal) or will be fired in the future
NSDebugMLLog(@"sessions",@"[old timer fireDate]=%@",
[_timer fireDate]);
NSDebugMLLog(@"sessions",@"[old timer isValide]=%s",
[_timer isValid] ? "YES" : "NO");
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
/*
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
if (timer && [[timer fireDate]compare:[NSDate date]]==NSOrderedDescending)
[timer invalidate];
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
*/
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
ASSIGN(_timer,newTimer);
NSDebugMLLog(@"sessions",@"old timer=%@",_timer);
NSDebugMLLog(@"sessions",@"new timer=%@",newTimer);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
};
}
else
ASSIGN(_timer,newTimer);
}
NS_HANDLER
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
{
NSLog(@"%@ (%@)",localException,[localException reason]);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
LOGException(@"%@ (%@)",localException,[localException reason]);
//TODO
// [self unlock];
[localException raise];
}
NS_ENDHANDLER;
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
// [self unlock];
NSDebugMLLog(@"sessions",@"newTimer=%@",newTimer);
NSDebugMLLog(@"sessions",@"newTimer fireDate=%@",[newTimer fireDate]);
LOGObjectFnStop();
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
return newTimer;
};
//--------------------------------------------------------------------
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
-(void)addTimer:(NSTimer*)timer
{
LOGObjectFnStart();
NSDebugMLLog(@"sessions",@"timer=%@",timer);
NSDebugMLLog(@"sessions",@"timer fireDate=%@",[timer fireDate]);
NSDebugMLLog(@"sessions",@"timer tisn=%f",[[timer fireDate]timeIntervalSinceNow]);
[GSWApp addTimer:timer];
LOGObjectFnStop();
};
//--------------------------------------------------------------------
-(void)removeCallBack
{
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
_target=nil;
_callback=NULL;
};
//--------------------------------------------------------------------
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
-(void)setCallBack:(SEL)callback
target:(id)target
{
//OK
LOGObjectFnStart();
NSDebugMLLog(@"sessions",@"target [%@]=%@",[target class],target);
NSDebugMLLog(@"sessions",@"callback=%@",NSStringFromSelector(callback));
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
_target=target; //Do not retain !
_callback=callback;
LOGObjectFnStop();
};
//--------------------------------------------------------------------
-(BOOL)tryLockBeforeTimeIntervalSinceNow:(NSTimeInterval)ti
{
BOOL locked=NO;
LOGObjectFnStart();
NSDebugMLLog(@"sessions",@"selfLockn=%d lock before %f s (%@)",
_selfLockn,ti,[NSDate dateWithTimeIntervalSinceNow:ti]);
locked=TmpTryLockBeforeDate(_selfLock,[NSDate dateWithTimeIntervalSinceNow:ti]);
#ifndef NDEBUG
if (locked)
_selfLockn++;
#endif
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSDebugMLLog(@"sessions",@"selfLockn=%d",_selfLockn);
LOGObjectFnStop();
return locked;
};
//--------------------------------------------------------------------
-(void)lockBeforeTimeIntervalSinceNow:(NSTimeInterval)ti
{
LOGObjectFnStart();
NSDebugMLLog(@"sessions",@"selfLockn=%d lock before %f s (%@)",
_selfLockn,ti,[NSDate dateWithTimeIntervalSinceNow:ti]);
TmpLockBeforeDate(_selfLock,[NSDate dateWithTimeIntervalSinceNow:ti]);
#ifndef NDEBUG
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
_selfLockn++;
#endif
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSDebugMLLog(@"sessions",@"selfLockn=%d",_selfLockn);
LOGObjectFnStop();
};
//--------------------------------------------------------------------
-(void)lock
{
LOGObjectFnStart();
[self lockBeforeTimeIntervalSinceNow:GSLOCK_DELAY_S];
LOGObjectFnStop();
};
//--------------------------------------------------------------------
-(void)unlock
{
LOGObjectFnStart();
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSDebugMLLog(@"sessions",@"selfLockn=%d",_selfLockn);
TmpUnlock(_selfLock);
#ifndef NDEBUG
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
_selfLockn--;
#endif
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSDebugMLLog(@"sessions",@"selfLockn=%d",_selfLockn);
LOGObjectFnStop();
};
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
@end
//====================================================================
@implementation GSWSessionTimeOutManager (GSWSessionRefused)
//--------------------------------------------------------------------
-(void)startHandleTimerRefusingSessions
{
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSTimer* newTimer = nil;
NSDebugMLLog(@"sessions",@"Start startHandleTimerRefusingSessions");
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
//NSLog(@"---Start startHandleTimerRefusingSessions");
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
//[GSWApplication statusLogWithFormat:@"Start startHandleTimerRefusingSessions"];
//LOGObjectFnStart();
[self lock];
/*
newTimer=[NSTimer timerWithTimeInterval:5 // first time after 5 seconds
target:self
selector:@selector(handleTimerRefusingSessions:)
userInfo:nil
repeats:NO];
if (newTimer)
[GSWApp addTimer:newTimer];
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
*/
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
newTimer = [NSTimer scheduledTimerWithTimeInterval:5
target:self
selector:@selector(handleTimerRefusingSessions:)
userInfo:nil
repeats:NO];
NSDebugMLLog(@"sessions",@"newTimer=%@",newTimer);
NSDebugMLLog(@"sessions",@"newTimer fireDate=%@",[newTimer fireDate]);
NSDebugMLLog(@"sessions",@"newTimer tisn=%f",[[newTimer fireDate]timeIntervalSinceNow]);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[self unlock];
//LOGObjectFnStop();
//[GSWApplication statusLogWithFormat:@"Stop startHandleTimerRefusingSessions"];
//NSLog(@"---Stop startHandleTimerRefusingSessions");
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
}
//--------------------------------------------------------------------
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
-(void)handleTimerKillingApplication:(id)timer
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
{
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NSLog(@"application is shutting down...");
[GSWApp lock];
[GSWApp lockRequestHandling];
[self lock];
[GSWApp dealloc];
[GSWApplication dealloc]; // call class method , not instance method
exit(0);
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
}
//--------------------------------------------------------------------
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
-(void)handleTimerRefusingSessions:(id)aTimer
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
{
NSDebugMLLog(@"sessions",@"timer=%@",aTimer);
NSDebugMLLog(@"sessions",@"timer fireDate=%@",[aTimer fireDate]);
NSDebugMLLog(@"sessions",@"timer tisn=%f",[[aTimer fireDate]timeIntervalSinceNow]);
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
//OK
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
//NSLog(@"-Start HandleTimerRefusingSessions");
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
//[GSWApplication statusLogWithFormat:@"-Start HandleTimerRefusingSessions"];
//[GSWApp lockRequestHandling];
if ([self tryLockBeforeTimeIntervalSinceNow:1])//Try locking before 1s
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
{
NSDebugMLLog(@"sessions",@"locked");
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
NS_DURING
{
GSWApplication* ourApp = [GSWApplication application];
NSTimer *timer=nil;
NSDebugMLLog(@"sessions",@"aTimer=%p",aTimer);
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
if (ourApp && [ourApp isRefusingNewSessions] && ([_sessionOrderedTimeOuts count] <= [ourApp minimumActiveSessionsCount]))
{
// okay , soft-shutdown for all avtive sessions
GSWSessionTimeOut* sessionTimeOut=nil;
while ([_sessionOrderedTimeOuts count] > 0)
{
sessionTimeOut = [_sessionOrderedTimeOuts lastObject];
if (sessionTimeOut)
{
id session=nil;
[_target lock];
NS_DURING
{
NSDebugMLLog(@"sessions",@"[sessionTimeOut sessionID]=%@",[sessionTimeOut sessionID]);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
session=[_target performSelector:_callback
withObject:[sessionTimeOut sessionID]];
NSDebugMLLog(@"sessions",@"session=%@",session);
}
NS_HANDLER
{
NSLog(@"### exception ... %@", [localException reason]);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
LOGException(@"%@ (%@)",localException,[localException reason]);
//TODO
[_target unlock];
timer = [NSTimer scheduledTimerWithTimeInterval:5
target:self
selector:@selector(handleTimerRefusingSessions:)
userInfo:nil
repeats:NO];
[self unlock];
//[GSWApp unlockRequestHandling];
[localException raise];
}
NS_ENDHANDLER;
[_target unlock];
if (session)
{
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[session terminate]; // ???
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
//NSLog(@"GSWSessionTimeOutMananger : removeObject = %@", sessionTimeOut);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[_sessionOrderedTimeOuts removeObject:sessionTimeOut];
[_sessionTimeOuts removeObjectForKey:[session sessionID]];
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
}
}
}
// app terminate
NSLog(@"application is preparing to shut down in 10 sec...");
timer = [NSTimer scheduledTimerWithTimeInterval:10
target:self
selector:@selector(handleTimerKillingApplication:)
userInfo:nil
repeats:NO];
}
else
{
// new timer, app does not terminate
timer = [NSTimer scheduledTimerWithTimeInterval:5
target:self
selector:@selector(handleTimerRefusingSessions:)
userInfo:nil
repeats:NO];
}
}
NS_HANDLER
{
NSDebugMLLog(@"sessions",@"EXCEPTION");
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
LOGException(@"%@ (%@)",localException,[localException reason]);
//TODO
[self unlock];
//[GSWApp unlockRequestHandling];
[localException raise];
};
NS_ENDHANDLER;
NSDebugMLLog(@"sessions",@"self=%p sessionOrderedTimeOuts %p=%@",
self,_sessionOrderedTimeOuts,_sessionOrderedTimeOuts);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
[self unlock];
NSDebugMLLog(@"sessions",@"unlocked");
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
}
else
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
{
NSTimer* newTimer = nil;
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
//TODO
//[GSWApp unlockRequestHandling];
//[localException raise];
// Can't lock, reschedule
NSLog(@"Can't lock, reschedule....");
NSDebugMLLog(@"sessions",@"selfLockn=%d",_selfLockn);
newTimer = [NSTimer scheduledTimerWithTimeInterval:5
target:self
selector:@selector(handleTimerRefusingSessions:)
userInfo:nil
repeats:NO];
NSDebugMLLog(@"sessions",@"newTimer=%@",newTimer);
NSDebugMLLog(@"sessions",@"newTimer fireDate=%@",[newTimer fireDate]);
NSDebugMLLog(@"sessions",@"newTimer tisn=%f",[[newTimer fireDate]timeIntervalSinceNow]);
NSDebugMLLog(@"sessions",@"selfLockn=%d",_selfLockn);
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
};
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
//[GSWApp unlockRequestHandling];
//[GSWApplication statusLogWithFormat:@"-Stop HandleTimerRefusingSessions"];
* GSWeb.framework/GSWDefaultAdaptorThread.m o trace request uri * GSWeb.framework/GSWTemplateParserXML.m o Changed NSDebugMLog to NSDebugMLLog o changes to conform to GSXML modifications * GSWeb.framework/GSWTemplateParser.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWBundle.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWComponent.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWHTMLStaticElement.m o Changed NSDebugMLog to NSDebugMLLog * GSWeb.framework/GSWAssociations.m o fixes in !GDL2 variables names (reported by Piter Punk <piterpk@terra.com.br>) * GSWeb.framework/GSWRadioButtonList.m o fix _name/name in appendToResponse:inContext: * GSWeb.framework/GSWSwitchComponent.m: o fix ExceptionRaise call * GSWeb.framework/GSWDebug.m/.h: o fix ifdef and functions defs * GSWeb.framework/GSWSessionTimeOutManager.m/.h: o add parentheses around assignment used as truth value o ivar names changes to conform to coding standards * GSWeb.framework/GSWDeployedBundle.m: o cast to avoid compiler warning * GSWeb.framework/GSWJavaScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWEmbeddedObject.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWClientSideScript.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWApplet.h/.m: o ivar names changes to conform to coding standards * GSWeb.framework/GSWParam.h/.m: o ivar names changes to conform to coding standards git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14026 72102866-910b-0410-8b05-ffd578937521
2002-07-04 11:01:56 +00:00
//NSLog(@"-Stop HandleTimerRefusingSessions");
2001-10-25 Manuel Guesdon <mguesdon@orange-concept.com> Applied patch from Turbocat (www.turbocat.de): GSWPatch_04-JUL_2001.diff except GSWeb.framework/GSWInput.m/.h one (have to verify coherence of it) * GSWAdaptors/common/GSWApp.c/.h: Added GSWAppInfo * GSWAdaptors/common/GSWAppConnectNSSocket.c: Changes on includes * GSWAdaptors/common/GSWLoadBalancing.h: Added parameter to GSWLoadBalancing_Find* * GSWAdaptors/common/GSWLoadBalancing.c: added p_pURLComponents parameter, o management of AppInfo * GSWAdaptors/common/GSWAppRequest.c: managing refused connections * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.gswd: misspelling correction * GSWExtensions.framework/GSWStatsPage.gswc/GSWStatsPage.html: Various Changes * GSWExtensions.framework/GSWStatsPage.m: changes in login/password validation o -awake added * GSWeb.framework/GSWApplication.m/.h: Manage refusing new sessions * GSWeb.framework/GSWBundle.m: debug traces commented * GSWeb.framework/GSWComponent.m: implementation of ensureAwakeInContext: * GSWeb.framework/GSWAssociation.m: special case for returned value of type GSMutableArray (Why ?) * GSWeb.framework/GSWComponentRequestHandler.m: comments added * GSWeb.framework/GSWDefaultAdaptorThread.m: added debug traces * GSWeb.framework/GSWDirectActionRequestHandler.m: replaced GSWDirectAction by DirectAction * GSWeb.framework/GSWDisplayGroup.m: initialize _baseIndex, o correct misspelled names, o added -description, o use delegate in _changedInEditingContext:, _invalidatedAllObjectsInStore:, o changes in -deleteObjectAtIndex:, * GSWeb.framework/GSWFileUpload.m: different handling of _fileDatasCount, handle bug in omniweb-browser * GSWeb.framework/GSWHyperlink.m: added ensureAwakeInContext: call * GSWeb.framework/GSWImageButton.m: added ensureAwakeInContext: call * GSWeb.framework/GSWPopUpButton.m: o use [response_ appendContentString:_noSelectionStringValue] instead of [response_ appendContentHTMLString:_noSelectionStringValue] o handle no displayString case o use [response_ appendContentString:_displayStringValue] instead of [response_ appendContentHTMLString:_displayStringValue] * GSWeb.framework/GSWConfig.h: set GSWOPTVALUE_AutoOpenInBrowser to NO * GSWeb.framework/GSWElementIDString.m: comment some debug traces * GSWeb.framework/GSWHTMLStaticGroup.m/.h: added support of documentType * GSWeb.framework/GSWHTMLURLValuedElement.m: addeded debug trace * GSWeb.framework/GSWKeyValueAssociation.m: use NSStringFromClass([retValue class]) instead of [retValue class] for log * GSWeb.framework/GSWRequest.m/.h: added -(NSDictionary*)headers; o added test on _contentType in _contentType o autorelease _dict in -uriElements * GSWeb.framework/GSWResponse.m/.h: added -setHeaders: and -headers o Added GSWResponse (GSWResponseRefused) o return self in -generateResponse * GSWeb.framework/GSWServerSessionStore.m/.h: added @interface GSWServerSessionStore (GSWServerSessionStoreInfo) o added refusing session management * GSWeb.framework/GSWSession.m: o in -terminate forces to call removeSessionWithID in GSWServerSessionStore to dealloc it * GSWeb.framework/GSWSessionTimeOutManager.m/.h: replace NSMutableOrderedArray* sessionOrderedTimeOuts; by NSMutableArray* sessionOrderedTimeOuts; o added traces o added GSWSessionTimeOutManager (GSWSessionRefused) * GSWeb.framework/GSWSubmitButton.m: raise exception if no element is returned * GSWeb.framework/GSWTemplateParser.m: added doctype management * GSWeb.framework/GSWUtils.h: added if defined for __NetBSD__ * GSWeb.framework/GSWWOCompatibility.m/.h: added WOGenericContainer, WOImageButton, WOHyperlink * GSWeb.framework/attach.m: added if defined for __NetBSD__ * GSWeb.framework/stacktrace.m: added if defined for __NetBSD__ * GSWeb.framework/GSWTemplateParserXML.m: traces commented o test XML node content before adding it * GSWeb.framework/NSObject+IVarAccess+PerformSel.m o changes in -getIVarNamed: and in setIVarNamed:withValue: (use of sel+imp, tests on parameters) * GSWAdaptors/common/GSWHTTPResponse.c: change in GSWHTTPResponse_GetResponse() o debug traces removed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11251 72102866-910b-0410-8b05-ffd578937521
2001-10-26 08:50:52 +00:00
};
@end