(GSWeb_InitializeGlobalAppDefaultOptions): Add handling for
GSW/WOStatusLoggingEndabled-GSWOPT_StatusLoggingEnabled.
Fix handling of user defaults.
((UserDefaults/GSWUserDefaults)): Split category in handling
WO45 defaults and GSWeb specific defaults.
(+is/setStatusLoggingEnabled): New methods and default to
control status logging.
(-set/defaultRequestHandlerClassName): Move to GSWApplication
class implementation as this is not handled via user defaults.
* GSWeb.framework/GSWApplication.(h/m)
((UserDefaults/GSWUserDefaults)): Split category in handling
WO45 defaults and GSWeb specific defaults.
(+is/setStatusLoggingEnabled): New methods and default to
control status logging.
(+set/defaultRequestHandlerClassName): Move to GSWApplication
class implementation as this is not handled via user defaults.
(GSWFPutSL): New local macro to consistently log NSString's to
a stream. Updated callers to fputs.
(+statusDebug...): Guard all calls with +isStatusDebuggingEnabled.
(+statusLog...): Guard all calls with +isStatusLoggingEnabled.
* GSWeb.framework/GSWConfig.h: Add GSWOPTVALUE_StatusLoggingEnabled.
* GSWeb.framework/GSWConstants.h/m: Add GSWOPT_StatusLoggingEnabled.
* GSWeb.framework/GSWHTMLRawParser.m (dealloc): Implement fixing
a potentially major memory leak.
* GSWeb.framework/GSWDefaultAdaptorThread.m (dealloc): Destroy
pool (which should have been destroyed before, in normal operation).
(run:) Destroy pool in case the threads is rerun.
* GSWeb.framework/GSWApplication.(h/m) (-debugAdaptorThreadExited):
New debug utility extension.
* GSWeb.framework/GSWDefaultAdaptorThread.m (threadExited): Call new
debug convenience method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22174 72102866-910b-0410-8b05-ffd578937521
([_getFormValuesFromMultipartFormData]): Always set the default
character set of the mime parser but be efficient for latin-1
and utf-8.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21769 72102866-910b-0410-8b05-ffd578937521
(-[initWithMethod:uri:httpVersion:headers:content:userInfo:]):
Leave _formValueEncoding undefined.
(-[formValueEncoding]): Return defaultFormValueEncoding if
formValueEncoding is undefined.
(-[_formValueEncodingFromFormData:): Use formValueEncoding until
we have encoding detection mechanisms.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21768 72102866-910b-0410-8b05-ffd578937521
(-[lineAndColumnIndexesFromIndex:returnsLineIndex:columnIndex:])
Treat '\r' as a regualar character when counting lines as '\n'
is the actual line break.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21764 72102866-910b-0410-8b05-ffd578937521
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
Added method declarations to help various compiler versions
identify the correct signaure to use.
(+[GSWApplication setSessionTimeOutValue:]): Use it.
(+[GSWApplication sessionTimeOutValue]); Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20969 72102866-910b-0410-8b05-ffd578937521
o fixed double HTML escaping bug (reported by David Ayers)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20960 72102866-910b-0410-8b05-ffd578937521
o fixes in GSWMemMove and testStringByConvertingHTML
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20924 72102866-910b-0410-8b05-ffd578937521
* GSWeb.framework/NSString+HTML.?
o replaced dictionaryQueryString by dictionaryQueryStringWithEncoding:
o replaced decodeURL by decodeURLEncoding:
debugging and coding together with David Ayers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20890 72102866-910b-0410-8b05-ffd578937521
(-displayBatchContainingSelectedObject): Test
_numberOfObjectsPerBatch to be non-zero before dividing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20383 72102866-910b-0410-8b05-ffd578937521
New macro to use new setValue:forKey: instead of takeValue:forKey:
on Cocoa systems until it is implemented for GNUstep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20369 72102866-910b-0410-8b05-ffd578937521
(cgiAdaptorURL, setCGIAdaptorURL): Fix naming to conform to
key value coding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19972 72102866-910b-0410-8b05-ffd578937521
(_lockDefaultEditingContext, _setLockDefaultEditingContext)
(_allowsCacheControlHeader, _setAllowsCacheControlHeader)
Fix naming to conform to key value coding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19967 72102866-910b-0410-8b05-ffd578937521
(parseDeclarationString:named:inFrameworkNamed:): Use -base's
version of md5 methods instead of adding gscrypt dependency.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19966 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
-incrementLastElementIDComponent for speed
and memory usage improvement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19953 72102866-910b-0410-8b05-ffd578937521
o added GSWDeclarationFormatException
o added declaration caching (work in progress)
o use GSWDeclarationFormatException instead of NSException
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19948 72102866-910b-0410-8b05-ffd578937521
(GSWeb_InitializeGlobalAppDefaultOptions): Shorten and make
more readable via local LOGOPT and LOGOPT_NC macro.
(NSUSERDEFAULTS, INIT_DFLT_OBJ, INIT_DFLT_BOOL, INIT_DFLT_INT)
(INIT_DFLT_FLT): New macros.
(globalAppDefaultOptions): Make static.
(_userDefaults): New static local.
(GSWeb_ApplicationDebugSetChange): Remove NDEBUG conditional
compile.
(_dflt_*, _dflt_init_*): New static variables to cache default
values.
(set/getDefaultValues): Use new macros and static variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19937 72102866-910b-0410-8b05-ffd578937521
* 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
Make more robust and allow upper and lower case variants and
single letter variants of both YES/NO and true/false.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19525 72102866-910b-0410-8b05-ffd578937521
Replace all system dependent types with standard types.
Replace usage of NSDebugFLog with NSDebugMLog in methods.
([GSWProcFSProcInfo filledProcInfo]): Use -processIdentifier
instead of getpid.
([GSWProcFSProcInfo filledProcInfoWithPID:]): Update
types. Use standard GC macro.
([GSWProcFSProcInfo initFilledWithPID:]): Update types.
([GSWProcFSProcInfo description]): Use NSPageSize instead of
getpagesize. Remove obsolete casts.
([GSWProcFSProcInfo contentOfProcFile:]): Use standard
NSString API to read the file.
([GSWProcFSProcInfo contentOfPIDFile:]): Adapt to new types
and reformat.
([GSWProcFSProcInfo residentMemory]),
([GSWProcFSProcInfo sharedMemory]): Adapt to new types.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19366 72102866-910b-0410-8b05-ffd578937521
will be included in gsweb.make makefile fragment.
* configure.ac: Fine tune check to test whether we need
libnsl.
* GSWeb.framework/gsweb.gsdoc: Remove obsolete documentation
of libwrap realted build option.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19355 72102866-910b-0410-8b05-ffd578937521
o urlPrefix fix
o application instance fix for distribution
o fix in -_synchronizeForDistribution
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19316 72102866-910b-0410-8b05-ffd578937521
o fixes in -invokeActionForRequest:inContext:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19315 72102866-910b-0410-8b05-ffd578937521