(TAKEVALUEFORKEY): Rely on setValue:forKey: to handle
nil values.
* GSWExtensions.framework/GSWKeyValueConditional.h
* GSWExtensions.framework/GSWKeyValueConditional.api
Convert from DOS to UNIX line feeds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25604 72102866-910b-0410-8b05-ffd578937521
(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
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
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
(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