* new GSWHTTPIO and GSWWorkerThread
* dropped GSWDefaultAdaptorThread
* some takeValue:forKey: fixes
* started to remove global inclues
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25611 72102866-910b-0410-8b05-ffd578937521
o added -setContentStreamFileHandle:bufferSize:length:
o added _contentStreamFileHandle
o added _contentStreamBufferSize;
o added _contentStreamBufferLength;
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18151 72102866-910b-0410-8b05-ffd578937521
* GSWeb.framework/GSWRequest.h/.m:
o added ivar _browserAcceptedEncodings
o added -browserAcceptedEncodings
o modified browserLanguages to use quality indicator
* GSWeb.framework/GSWConstants.h/.m:
o added GSWHTTPHeader_AcceptEncoding
* GSWeb.framework/GSWResponse.h/.m:
o added ivar _acceptedEncodings
o added -acceptedEncodings
o added -setAcceptedEncodings:
* GSWeb.framework/GSWComponentRequestHandler.m:
o set request browserAcceptedEncodings to response
* GSWeb.framework/GSWComponent.m:
o set request browserAcceptedEncodings to response
* GSWeb.framework/NSData+Compress.h/.m:
o added
* config.h.in
o added HAVE_ZLIB
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@16718 72102866-910b-0410-8b05-ffd578937521
* 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
* GSWeb.framework/GSWJavaScript.h/.m:
o implementation
* GSWeb.framework/GSWClientSideScript.h/.m:
o implementation
* GSWeb.framework/GSWVBScript.h/.m:
o implementation
* TODO:
o updated
* GSWeb.framework/GSWConstants.h/.m:
o added language__Key
* GSWeb.framework/GSWRadioButton.m:
o logs
o bug fix for checked case
* GSWeb.framework/GSWDirectAction.m:
o added -existingSessionWithSessionID:
* GSWeb.framework/PageDef.g
o Handle function references (@ in values)
* GSWeb.framework/GSWPageDefLexer.h/.m:
o re-generated after PageDef.g change
* GSWeb.framework/GSWPageDefParserTokenTypes.h
o re-generated after PageDef.g change
* GSWeb.framework/GSWPageDefParser.h/.m:
o re-generated after PageDef.g change
* GSWeb.framework/GSWPageDefParserTokenTypes.txt
o re-generated after PageDef.g change
* GSWeb.framework/GSWContext.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWDirectAction.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWResponse.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWCookie.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWNestedList.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWSessionTimeOut.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWSessionStore.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWServerSessionStore.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWTransactionRecord.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWSession.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWRequest.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWToggle.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWHTMLComment.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWHTMLBareString.m/.h:
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWMailDelivery.m/.h:
o ivar names changes to conform to coding standards
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14202 72102866-910b-0410-8b05-ffd578937521
* GSWeb.framework/GSWTextField.m:
o added warning in _isFormattedValueInComponent:equalToFormattedValue:
o added warning in takeValuesFromRequest:inContext:
* GSWeb.framework/GSWPopUpButton.m
o added ElementID debugging methods
o added DocStructure debugging features
* GSWeb.framework/GSWSwitchComponent.m
o added ElementID debugging methods
o added DocStructure debugging features
* GSWeb.framework/GSWRepetition.m
o added ElementID debugging methods
o added DocStructure debugging features
o param names changes to conform to coding standards
* GSWeb.framework/GSWComponentContent.m
o added ElementID debugging methods
o added DocStructure debugging features
* GSWeb.framework/GSWComponentReference.m:
o added ElementID debugging methods
o added DocStructure debugging features
o ivar names changes to conform to coding standards
o logs
* GSWeb.framework/GSWElement.m:
o added ElementID debugging methods
o added DocStructure debugging features
o logs
* GSWeb.framework/GSWElement.h
o added ElementID debugging
* GSWeb.framework/GSWForm.m:
o added ElementID debugging
o added DocStructure debugging features
o logs
* GSWeb.framework/GSWHTMLDynamicElement.m:
o ivar names changes to conform to coding standards
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWConditional.m:
o added ElementID debugging
o added DocStructure debugging features
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWConditional.h.
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWRepetition.h.
o param names changes to conform to coding standards
* GSWeb.framework/GSWReset.m:
o ivar names changes to conform to coding standards
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWReset.h.
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWResponse.h/.m:
o added DocStructure debugging features
* GSWeb.framework/GSWContext.h/.m:
o added DocStructure debugging features
* GSWeb.framework/GSWSession.m:
o added DocStructure debugging features
* GSWeb.framework/GSWTemplateParserXML.m
o logs
* GSWeb.framework/GSWTemplateParser.m
o logs
* GSWeb.framework/GSWDisplayGroup.m:
o corrected insertion bugs
o added -insertAfterLastObject
o added -selectFirst
* GSWeb.framework/GSWDisplayGroup.h:
o added -insertAfterLastObject
o added -selectFirst
* GSWeb.framework/GSWHTMLStaticElement.m
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWCheckBox.m
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWComponent.m
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWHTMLStaticGroup.m
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWTextField.m
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWString.m
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWSubmitButton.m
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWURLValuedElementData.m/.h:
o added ElementID debugging
o added DocStructure debugging features
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWRadioButton.m
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWInput.m
o added ElementID debugging
o added DocStructure debugging features
o logs
* GSWeb.framework/GSWHyperlink.m
o added ElementID debugging
o added DocStructure debugging features
* GSWeb.framework/GSWFileUpload.m
o added ElementID debugging
o added DocStructure debugging features
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
* GSWeb.framework/GSWAdaptor.h/.m:
o added -isMultiThreadEnabled
o method parameters names changes to conform to coding standards
* GSWeb.framework/GSWResponse.h:
o method parameters names changes to conform to coding standards
o added missing method declarations
* GSWeb.framework/GSWTemplateParserXML.m:
o remove some 'error' messages from xml parser
* GSWExtensions.framework/Makefile.preamble:
o various changes (debug flags,...)
* GSWExtensionsGSW.framework/Makefile.preamble:
o various changes (debug flags,...)
* GSWeb.framework/Makefile.preamble:
o various changes (debug flags,libwrap,...)
* GSWeb.framework/GSWDebug.h:
o debug flags changes
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .gif to .mng
* GSWExtensions.framework/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd:
o change .gif to .mng
* GSWExtensions.framework/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd:
o change .gif to .mng
* GSWeb.framework/GSWConfig.h: added GSWOPTVALUE_AdaptorHost
* GSWeb.framework/GSWConstants.h/.m: added GSWOPT_AdaptorHost
* GSWeb.framework/GSWApplication.m: added GSWOPT_AdaptorHost default value
* GSWeb.framework/GSWDefaultAdaptor.h/.m:
o adding connection refuse feature
o added ivar adaptorHost
o added host and port in "Waiting for connections" message
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWDefaultAdaptorThread.m:
o adding connection refuse feature
o ivar names changes to conform to coding standards
* GSWeb.framework/GSWComponent.m:
o logs
* GSWeb.framework/GSWDeployedBundle.m:
o Search WebServer resources in Resources/WebServer/ instead of WebServerResources
* GSWeb.framework/GSWProjectBundle.m
o bug fix for wonames
* GSWExtensions.framework/GSWDictionaryRepetition.h/m:
o ivar names changes to conform to coding standards
* GSWExtensions.framework/GSWCollapsibleComponentContent.h/.m:
o ivar names changes to conform to coding standards
* GSWExtensions.framework/GSWExceptionPage.h/.m:
o ivar names changes to conform to coding standards
* GSWExtensions.framework/GSWIFrame.m:
o ivar names changes to conform to coding standards
* GSWExtensions.framework/GSWMetaRefresh.m:
o ivar names changes to conform to coding standards
* GSWExtensions.framework/GSWPageRestorationErrorPage.h/.m:
o ivar names changes to conform to coding standards
* GSWExtensions.framework/GSWRedirect.h/.m:
o ivar names changes to conform to coding standards
* GSWExtensions.framework/GSWSessionRestorationErrorPage.h/.m:
o ivar names changes to conform to coding standards
* GSWExtensions.framework/GSWSessionCreationErrorPage.h/.m:
o ivar names changes to conform to coding standards
* GSWExtensions.framework/GSWStatsPage.h/.m:
o ivar names changes to conform to coding standards
* GSWExtensionsGSW.framework/GSWFileUploadFormComponent.h/.m:
o ivar names changes to conform to coding standards
* GSWExtensionsGSW.framework/GSWSimpleFormComponent.h/.m:
o ivar names changes to conform to coding standards
* GSWExtensionsGSW.framework/GSWTabComponent.m:
o ivar names changes to conform to coding standards
* GSWExtensionsGSW.framework/GSWValidationFailureComponent.h/.m:
o ivar names changes to conform to coding standards
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13029 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