function which generates warnings about tempnam usage.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21187 72102866-910b-0410-8b05-ffd578937521
o use GSWIntToNSString instead of string formatting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19958 72102866-910b-0410-8b05-ffd578937521
o added NSMutableData -replaceOccurrencesOfData:withData:range:
o added NSData -rangeOfData:range:
o added NSData -base64Representation
o added NSData -initWithBase64Representation:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18142 72102866-910b-0410-8b05-ffd578937521
float.h in favor of deprecated values.h to be more
portable.
* GSWeb.framework/GSWDefaultAdaptor.m: Do not include
GNUstepBase/GSFileHandle.h unnecessarily.
* GSWeb.framework/GSWDirectAction.h: Remove duplicate
declaration of -existingSession.
* GSWeb.framework/GSWProcFS.h: Remove commented
NSTimeIntervalFromTimeVal declaration.
* GSWeb.framework/GSWStatisticsStore.m: Do not include
sys/time.h unnecessarily.
* GSWeb.framework/GSWUtils.h: Include sys/time.h
unconditionally.
* GSWeb.framework/GSWeb.h: Do not include private
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17953 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
* 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/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
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
* GSWExtensions.framework/*.(h|m): changed gsweb include dir from
gsweb/GSWeb.framework/ to GSWeb/
* GSWeb.framework/GNUmakefile: rewrite using framework.make
* GSWeb.framework/*.(h|m): changed gsweb include dir from
gsweb/GSWeb.framework/ to GSWeb/
* GSWeb.framework/GSWConstants.m: removed the frameworkd suffix.
* GSWeb.framework/GSWUtils.m ([NSBundle +tmpAllFrameworks]): removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@7931 72102866-910b-0410-8b05-ffd578937521