* GSWeb.framework/GSWApplication.m: Prepare split off of
GSWApplication+Defaults.m.
(_initAdaptorsWithUserDefaults:, _argsDictionaryWithUserDefaults:)
(_initRegistrationDomainDefaults, _initUserDefaultsKeys)
Move from main method list to GSWApplicationDefaults category.
(setContextClassName:, contextClassName, setResponseClassName:)
(responseClassName, setRequestClassName:, requestClassName)
Move from GSWApplicationE to GSWApplicationDefaults category.
(GSWApplicationSetDebugSetOption): Move to bottom.
(GSWeb_ApplicationDebugSetChange): Rename from
GSWebApplicationDebugSetChange and move to bottom.
(GSWeb_AdjustVolatileNSArgumentDomain)
(GSWeb_InitializeGlobalAppDefaultOptions)
(GSWeb_InitializeDebugOptions)
(GSWeb_DestroyGlobalAppDefaultOptions): New private functiions
by extracting old code.
(GSWApplicationMainReal): Use new extracted functions. Minor
reformatting.
([+dealloc]): Use new extracted functions.
([-createRequestWithMethod:uri:httpVersion:]) Use new name for
GSWeb_ApplicationDebugSetChange.
((UserDefaults)): Move entire Category to the bottom.
([-lockedInitComponentBearingFrameworksFromBundleArray]):
Comment unused variable to avoid warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19930 72102866-910b-0410-8b05-ffd578937521
o added +_setAllowsCacheControlHeader:
o added +_allowsCacheControlHeader
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19043 72102866-910b-0410-8b05-ffd578937521
o added -handleActionRequestErrorWithRequest:exception:reason:
requestHanlder:actionClassName:actionName:actionClass:
actionObject:
o added +defaultDisplayExceptionPages
o added +setDefaultDisplayExceptionPages:
o handle GSWDefaultDisplayExceptionPages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18894 72102866-910b-0410-8b05-ffd578937521
* GSWeb.framework/GSWDeployedBundle.h: Replace objc_thread_t
with NSThread * for caching the thread in the instance variable.
* GSWeb.framework/Makefile.postamble: Remove config.h during
make distclean.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18666 72102866-910b-0410-8b05-ffd578937521
([GSWApplication _handleException:inContext:]): Remove
obsolete declaration.
* GSWeb.framework/GSWApplication.m: Added GSWAppClassDummy
class declarations to avoid compiler warnings genrerated for
messages sent to 'Class'.
([NSDistantObject setDebug:]): Added declaration to avoid
compiler warning.
([GSWApplication init]): Use GSWAppClassDummy to avoid
compiler warnings.
([GSWApplication _argsDictionaryWithUserDefaults:]): Ditto.
([GSWApplication _monitorApplicationName]): Ditto.
([GSWApplication _connectionDidDie:]): Translated comment to
allow ascii encoding.
([GSWApplication _remoteMonitor]): Test whether
NSDistantObject
responds to setDebug: before dispatching the method. Use
performSelector: to send undeclared targetForProxy method.
([GSWApplication monitoringEnabled]): Forward isMonitorEnabled
to class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18431 72102866-910b-0410-8b05-ffd578937521
o added +defaultRequestHandlerClass
o added _lastAccessDate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18146 72102866-910b-0410-8b05-ffd578937521
o added -setContextClassName:
o added -contextClassName;
o added -createContextForRequest:
o information on component search duration in debug mode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17019 72102866-910b-0410-8b05-ffd578937521
* GSWeb/NSString+Trimming.m:
o Replaced DataToHexString with -[NSData
hexadecimalRepresentation]. (David Ayers <d.ayers@inode.at>)
* GSWeb/GSWHTMLURLValuesElement.m:
o Replaced GSMD5 class with md5Digest of NSData category.
(David Ayers <d.ayers@inode.at>)
o Replaced DataToHexString with -[NSData
hexadecimalRepresentation]. (David Ayers <d.ayers@inode.at>)
* Examples/hello/GNUmakefile:
o Use gsweb.make.
* gsweb.make.in:
o Change AUXILIARY_INCLUDE_LIBS to AUXILIARY_TOOL_LIB.
(David Ayers <d.ayers@inode.at>)
o Handle GDL2 with ADDITIONAL_OBJCFLAGS.
(David Ayers <d.ayers@inode.at>)
* configure.ac:
o Check for GDL2 to set config.h correctly.
* configure:
o Regenerated. (David Ayers <d.ayers@inode.at>)
* config.mak.in:
o Set GDL2 as determined by configure. (David Ayers <d.ayers@inode.at>)
* GSWeb.framework/GSWComponent.m:
o use GSWApp -createResponseInContext: instead of creating
GSWResponse instance directly
o added -_appendPageToResponse:inContext:
* GSWeb.framework/GSWApplication.[hm]:
o added -createResponseInContext:
o added -createRequestWithMethod:uri:httpVersion:headers:content:userInfo:
o added -createResourceManager
o used createResourceManager instead of creating it directly
o added NSAutoreleasePool debug traces
o exception log changed
* GSWeb.framework/GSWDefaultAdaptorThread.m:
o use application -createRequestWithMethod:uri:httpVersion:headers:content:userInfo:
instead of directly creating GSWRequest instance directly
o added NSAutoreleasePool debug traces
o add thread_id trace in log
* GSWeb.framework/GSWDefaultAdaptor.m:
o added NSAutoreleasePool debug traces
* GSWeb.framework/GSWComponentRequestHandler.m:
o use GSWApp -createResponseInContext: instead of creating
GSWResponse instance directly
* GSWeb.framework/GSWResourceRequestHandler.m:
o use GSWApp -createResponseInContext: instead of creating
GSWResponse instance directly
* GSWeb.framework/GSWDirectActionRequestHandler.m:
o use GSWApp -createResponseInContext: instead of creating
GSWResponse instance directly
* GSWeb.framework/GSWResponse.m:
o use GSWApp -createResponseInContext: instead of creating
GSWResponse instance directly
* GSWeb.framework/GSWTemplateParserXML.m:
o added exception handling
o added NSAutoreleasePool debug traces
* GSWeb.framework/GSWTemplateParser.m:
o added NSAutoreleasePool debug traces
* GSWeb.framework/GSWSession.m
o added NSAutoreleasePool debug traces
o Fix in rand() use
o NSString+Trimming
o Fix in rand() use
o add thread_id trace in log
o Replaced GSMD5 class with md5Digest of NSData category.
(David Ayers <d.ayers@inode.at>)
o Replaced DataToHexString with -[NSData
hexadecimalRepresentation]. (David Ayers <d.ayers@inode.at>)
* GSWeb.framework/GSWContext.m
o add thread_id trace in log
* GSWeb/GSWUtils.[hm]:
o Removed DataToHexString() and HexStringToData().
(David Ayers <d.ayers@inode.at>)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15846 72102866-910b-0410-8b05-ffd578937521
o handle new options GSWApplicationMainReal()
o added +defaultTemplateParser
o added +setDefaultTemplateParser:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14741 72102866-910b-0410-8b05-ffd578937521
* 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
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
* GSWeb.framework/GSWSubmitButton.m:
o corrected setActionInvoked into _setActionInvoked
* GSWeb.framework/GSWGeometricRegion.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWAssociation.h:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWAssociation.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o logs
* GSWForm.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWContext.h:
o Changed return type of -elementID and -senderID
* GSWContext.m:
o Changed return type of -elementID and -senderID
* GSWDisplayGroup.m:
o logs
* GSWeb.framework/GSWPopUpButton.h,.m:
o added count & index parameters (like GSWRepetition)
* GSWTextField.m:
o handling exception in takeValue
* GSWText.m:
o handling exception in takeValue
* GSWInput.m:
o corrected bug in akeValuesFromRequest:inContext:
* GSWExtensionsGSW.framework:
o added GSWFileUploadComponent
* GSWExtensionsGSW.framework/GNUmakefile
o added GSWFileUploadComponent
* GSWComponent.h:
o added -definitionName
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWComponent.m:
o added -definitionName
o added exception handling for debugging purpose
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWKeyValueAssociation.m:
o logs
* GSWConstantValueAssociation.m:
o logs
* GSWApplication.h:
o added -saveResponsesPath
* GSWApplication.m:
o added -saveResponsesPath
o added GSWOPT_SaveResponsesPath
o added exception handling for debugging purpose
* GSWConstants.h/.m:
o added GSWOPT_SaveResponsesPath
* GSWConfig.h:
o added GSWOPTVALUE_SaveResponsesPath
* GSWDefaultAdaptorThread.h:
o add response saving
* GSWDefaultAdaptorThread.m:
o add response saving
* GSWeb.framework/GSWResponse.m
o added -appendDebugCommentContentString:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
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
* GSWeb.framework/GSWApplication.m: added "exit" in terminate
generate simple response in -handleException:inContext:
be sure to have a context in -_handleException:inContext:
generate simple response in -_handleException:inContext:
generate simple response in -handlePageRestorationErrorInContext:
be sure to have a context in -_handlePageRestorationErrorInContext:
generate simple response in -_handlePageRestorationErrorInContext:
generate simple response in -handleSessionCreationErrorInContext:
generate simple response in -handleSessionRestorationErrorInContext:
be sure to have a context in -_handleSessionRestorationErrorInContext:
generate simple response in -_handleSessionRestorationErrorInContext:
* GSWeb.framework/GSWComponentRequestHandler.m: added default response when we catch exceptions,...
handle more exceptions
* GSWeb.framework/GSWConstants.h/.m: added GSWHTTPHeader_UserAgent
* GSWeb.framework/GSWDefaultAdaptor.m: terminate application if it is locked
* GSWeb.framework/GSWDefaultAdaptorThread.m: Added default response to handle exceptions and various errors
Correct bug in request data reading (request datas were sometimes not complely readen)
* GSWeb.framework/GSWFileUpload.m: Added Exception handling
* GSWeb.framework/GSWRequest.m: add exception handling
* GSWeb.framework/GSWResponse.h/.m: added GSWResponse (GSWResponseError)
* GSWAdaptor/Apache/GNUmakefile: added -DEAPI
* GSWAdaptor/Apache/mod_gsweb.c: added debug traces
* GSWAdaptor/common/GSWConfig.c/.h: added debug traces, added init parameter
* Makefile.postamble: added docs generation
* Doc/GNUstepWeb-HOWTO moved to howto.gsdoc
* Doc/gsweb.gsdoc: new file
* GSWeb.framework/Makefile.postamble: added docs generation
* GSWExtensions.framework/Makefile.postamble: added docs generation
* GSWExtensionsGSW.framework/Makefile.postamble: added docs generation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@7244 72102866-910b-0410-8b05-ffd578937521