* small cleanups
* copy all non-private headers to user
GSWeb.framework/GSWBindingNameAssociation.m
* remove unused code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26443 72102866-910b-0410-8b05-ffd578937521
* make load-balancing work
* add refusing to app status
GSWeb.framework/...
* rewrote GSWComponentRequestHandler to make refusing work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26404 72102866-910b-0410-8b05-ffd578937521
Determine character set for parser by invoking charsetFromEncoding:
on document instead of parser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26254 72102866-910b-0410-8b05-ffd578937521
on [NSString-boolValue] as it handle NO and digits more correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26057 72102866-910b-0410-8b05-ffd578937521
added _isValueSettable
added _setValueNoValidation: inComponent:
* GSWRepetition.m
use private _setValueNoValidation: inComponent: to speed things up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25651 72102866-910b-0410-8b05-ffd578937521
* 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
(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
* GSWAdaptors/Apache2/mod_gsw.c
* GSWSWeb.framework/GSWComponentRequestHandler.m
* GSWeb.framework/GSWDefaultAdaptorThread.m
Added support for POST requests from browsers without content-length header.
(firefox does this without proxy)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25287 72102866-910b-0410-8b05-ffd578937521
Remove dependency on GNUSTEP_SYSTEM_ROOT and search all domains
in precedence for frameworks to load.
* Doc/howto.gsdoc: Replace reference to GNUSTEP_SYSTEM_ROOT with
new installation location. Also remove refernece to obsolete debug extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24641 72102866-910b-0410-8b05-ffd578937521
* config.mak.in: Update to use new GDL2 native library names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@23520 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 support for Direct Actions
removed category
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21931 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
ac_x_includes is set and only add LDFLAGS if ac_x_libraries
set. Refer to variables in consistent form.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21228 72102866-910b-0410-8b05-ffd578937521
gsweb_module for apxs integration.
* INSTALL: Refer to GSWAdaptors/Apache/INSTALL for Apache
specific installation instructions. Move Apache specific
installation instructions to GSWAdaptors/Apache/INSTALL.
* GSWAdaptors/Apache/INSTALL: Update to new ./configure
usage and new install and httpdconfig make targets.
* GSWAdaptors/Apache/GNUmakefile.in: New file to build
the adaptor module with apxs and apr-config.
* GSWAdaptors/Apache/configure[.ac]: New files
* GSWAdaptors/Apache/config.guess: Ditto.
* GSWAdaptors/Apache/config.sub: Ditto.
* GSWAdaptors/Apache/install-sh: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21206 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
Use standard strtod instead of the GNU extension strtof
which is stored in a double anyway.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21184 72102866-910b-0410-8b05-ffd578937521
GSWExtensions.framework/GNUmakefile,
GSWExtensionsGSW.framework/GNUmakefile,
Testing/DynamicElements/GNUmakefile: Do not reset
GNUSTEP_MAKEFILES to an obsolete location.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21179 72102866-910b-0410-8b05-ffd578937521
o avoid message call if not needed.
* GSWeb.framework/GSWHyperlink.m
o utf-8 bug workaround in GSWDynamicURLString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21064 72102866-910b-0410-8b05-ffd578937521
* GSWeb.framework/GSWRequest.m
Use cStringLength in place of length
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21045 72102866-910b-0410-8b05-ffd578937521
(GSWHTTPResponse_GetResponse): Move variable declarations to
top of block for older compilers.
* GSWAdaptors/common/GSWUtil.h (GSWAssert): Ditto. Remove
bogus call to GSWLog().
* GSWAdaptors/common/GSWStats.c (GSWStats_formatStats): Remove
statement from variable declations for older compilers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21020 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
changes to support various encodings in GSMime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20894 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
o Bug fixes on GSWAdaptors
o Time statistics addition on GSWAdaptors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20490 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
o to handle unavailableUntil configuration parameters
o to better handle templates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20317 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
(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
([GSWDisplayGroup init]): Set fetchesOnLoad to YES by default.
Reported by S.J. Chun <chunsj@embian.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19157 72102866-910b-0410-8b05-ffd578937521
* GSWExtensions.framework/Makefile.preamble: Ditto.
* GSWExtensionsGSW.framework/Makefile.preamble: Ditto.
* GSWeb.framework/Makefile.preamble.in: Move AUX_LIBS to the
bottom so that the linker on Darwin can deal with the static
library.
* GSWExtensions.framework/GSWKeyValueConditional.h: Remove
include currently redundant for the include mechanism and
causing warnings to gswnames=wo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19106 72102866-910b-0410-8b05-ffd578937521
([GSWHTMLRawParser _skipQuotedStringWithQuote:index:stopIndex:]):
Use decimal instead of object format specifier. Reformat.
* GSWeb.framework/GSWTemplateParser.m:
([GSWTemplateParser parseDeclarations]): Test
_declarationsFilePath before inserting it into a mutable set.
Reformat.
* GSWeb.framework/GSWDefaultAdaptor.m
([GSWDefaultAdaptor announceNewConnection:]): Fix for
WorkerThreadCount 0.
* GSWeb.framework/GSWResourceManager.m
([GSWResourceManager _applicationGSWBundle]): Use self instead
of NSClassFromString to obtain correct class for WO namespace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19001 72102866-910b-0410-8b05-ffd578937521
Don't call strlen(0) as that may segfault. Reported by
Matt Rice <ratmice@yahoo.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18925 72102866-910b-0410-8b05-ffd578937521
* GSWeb.framework/GSWAction.m/.h:
o added -isActionNamed:
* GSWeb.framework/GSWDirectAction.m
o in -performActionNamed:, raise exception if method
is not found
*
GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html:
2004-03-26 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18922 72102866-910b-0410-8b05-ffd578937521
NeXT_Foundation_LIBRARY as requested by Marcus Mueller
<znek@mulle-kybernetik.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18857 72102866-910b-0410-8b05-ffd578937521
EOACCESS_LIBRARY_NAME and HAVE_NATIVE_FRAMEWORK_SUPPORT.
* GSWeb.framework/Makefile.preamble.in: Added support for
buildings on OS X and improve support for others.
* GSWExtensions.framework/Makefile.preamble: Ditto.
* GSWExtensionsGSW.framework/Makefile.preamble: Ditto.
* GSWeb.framework/GNUmakefile: Remove GNUSTEP_MAKEFILES.
* GSWeb.framework/GSWMultiKeyDictionary.m
([GSWMultiKeyDictionary initWithNodeSize:capacity:]): Replace
usage of GSObjCZone with -zone for OS X compatibility.
([GSWMultiKeyDictionary dealloc]): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18773 72102866-910b-0410-8b05-ffd578937521
([GSWLongResponsePage threadExited:]): Replace NSThreadExiting
with NSThreadWillExitNotification.
([GSWLongResponsePage _perform:]): Ditto.
* GSWeb.framework/GNUmakefile: Depend on GDL2 when applicable.
* GSWeb.framework/Makefile.preamble.in: Add dependency on
GSANTLER and -baseadd when applicable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18698 72102866-910b-0410-8b05-ffd578937521
([GSWDefaultAdaptorThread run:]): Replace NSThreadExiting
with NSThreadWillExitNotification.
([GSWDefaultAdaptorThread threadExited:]): Ditto.
([GSWDefaultAdaptorThread readRequestReturnedRequestLine:
returnedHeaders:returnedData:]): Assign current date to typed
variable to avoid compiler warning on compare:.
* GSWeb.framework/GSWUtils.m
([NSException exceptionWithName:format:]): Adapt variables name
to not clash with instance variable names on Cocoa.
([NSException exceptionByAddingUserInfo:]): Ditto.
([NSException exceptionByAddingToUserInfoKey:format:]): Ditto.
([NSException exceptionByAddingUserInfoKey:format:]): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18681 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
body tag removing for XML (not XMLHTML) parsing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18539 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 quick fixes for NeXT_Foundation from Philip Moetteli <Philip.Moetteli@tele2.ch>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18205 72102866-910b-0410-8b05-ffd578937521