Commit graph

260 commits

Author SHA1 Message Date
Manuel Guesdon
23b3bc23ca * GSWeb.framework/GSWBundle.m:
o renamed GSWComponentDefinition* to GSWComponentDeclarations*


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18901 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:33:12 +00:00
Manuel Guesdon
27b2cc5562 * GSWeb.framework/GSWConfig.h:
o added GSWOPTVALUE_DisplayExceptionPages
  o changed default template parser to RawHTML


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18897 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:31:16 +00:00
Manuel Guesdon
c0040d24f6 * GSWeb.framework/GSWConstants.h/.m:
o added GSWOPT_DisplayExceptionPages
  o renamed GSWComponentDefinition* into GSWComponentDeclarations*
  o added GSWOPTValue_DefaultTemplateParser_RawHTML


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18896 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:30:51 +00:00
Manuel Guesdon
cf7d8e18db * GSWeb.framework/GSWDirectActionRequestHandler.h/.m:
o added -generateRequestRefusalResponseForRequest:
  o added -generateErrorResponseWithException:inContext:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18895 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:30:18 +00:00
Manuel Guesdon
166ae05241 * GSWeb.framework/GSWApplication.h/.m:
o added -handleActionRequestErrorWithRequest:exception:reason:
    requestHanlder:actionClassName:actionName:actionClass:
    actionObject:
  o added +defaultDisplayExceptionPages
  o added +setDefaultDisplayExceptionPages:
  o handle GSWDefaultDisplayExceptionPages


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18894 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:29:41 +00:00
Manuel Guesdon
164d631158 * GSWeb.framework/GSWHTMLURLValuedElement.m:
o fix in -appendURLToResponse:inContext: when we have key and
    filename binding (Stephane Corthesy <stephane@sente.ch>
    and Philip Motteli <Philip.Moetteli@tele2.ch>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18893 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:29:00 +00:00
Manuel Guesdon
4d3f7c238a * GSWeb.framework/GSWActionRequestHandler.m:
o -_handleRequest: partially rewritten for exception handling


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18892 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:27:29 +00:00
Manuel Guesdon
406688af21 * GSWeb.framework/GSWHTMLTemplateParser.m/.h:
o added (New HTML Template Parser)
* GSWeb.framework/GSWHTMLRawParser.m/.h:
  o aded (New HTML Parser)
* GSWeb.framework/GSWDeclaration.h/.m:
  o added (Handle a declaration i.e. an entry from .gswd)
* GSWeb.framework/GSWDeclarationParser.h/.m:
  o added (.gswd parser)
* GSWeb.framework/GSWBaseParser.h/.m:
  o added (base class for parsers)
* GSWeb.framework/GSWTemporaryElement.h/.m:
  o added (Temporary element to handle dynamic tags)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18891 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:25:48 +00:00
David Ayers
8f3731267e * GSWeb.framework/GSWUtils.m: Use GNUSTEP in favor of
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
2004-03-19 16:51:59 +00:00
David Ayers
c932c73bfd * GSWeb.framework/GNUmakefile: Make WO_HEADER_FILES real
public headers.
        * GSWExtensions.framework/GNUmakefile: Ditto.
        * GSWeb.framework/Makefile.postamble: Simplify rules for
        installing WO_HEADER_FILES.
        * GSWExtensions.framework/Makefile.postamble: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18825 72102866-910b-0410-8b05-ffd578937521
2004-03-10 13:05:27 +00:00
David Ayers
e59b95fcfc * config.mak.in: Added EOCONTROL_LIBRARY_NAME,
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
2004-03-04 18:36:50 +00:00
Manuel Guesdon
cb17620a27 * GSWeb.framework/GSWDefaultAdaptorThread.m:
o fix for autoreleasing runDate inr -run: (from
	  S.J.Chun <chunsj@embian.com>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18755 72102866-910b-0410-8b05-ffd578937521
2004-03-03 08:52:13 +00:00
Manuel Guesdon
6faeecdfc1 typo fix in _resetCache
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18749 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:56:42 +00:00
Manuel Guesdon
b43719c330 o added methods for element/component caching
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18748 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:55:09 +00:00
Manuel Guesdon
abf625dd84 removed GSCache stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18744 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:50:44 +00:00
Manuel Guesdon
1ef48966db removed GSCache.*
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18743 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:50:24 +00:00
Manuel Guesdon
3681f6ebb3 Prepare implementing -validateValue:forKey:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18742 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:49:56 +00:00
Manuel Guesdon
0bf3b16593 logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18741 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:49:11 +00:00
Manuel Guesdon
a9f609f8e3 o fix in -incrementLastElementIDComponent when incrementing elementID
whose last part is a componentID (i.e. not a number)
o cache nonNumericSet object
o rewritten -isSearchOverForSenderID: to handle number appending to
string element


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18740 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:48:32 +00:00
Manuel Guesdon
8b994263fc added -contextAndElementID;
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18739 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:47:47 +00:00
Manuel Guesdon
8e82a98b17 added fragment handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18738 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:47:04 +00:00
Manuel Guesdon
625e698695 o handle cidStore and cidKey
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18737 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:46:26 +00:00
Manuel Guesdon
c1c15729f0 o moved cid part to GSWHTMLDynamicElement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18736 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:45:58 +00:00
Manuel Guesdon
c43dc7ed36 o improved exception description in -_realComponentWithName:inContext:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18735 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:44:42 +00:00
Manuel Guesdon
99e7686cd7 o fixes
o logs


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18734 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:44:15 +00:00
Manuel Guesdon
2991b728d1 o added pathQueryDictionary__Key
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18733 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:43:48 +00:00
Manuel Guesdon
40cf3678c0 o added _pathQueryDictionary and _pathQueryDictionary handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18732 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:43:20 +00:00
Manuel Guesdon
d1700d90a6 o added -computeActionStringWithActionClassAssociation:
directActionNameAssociation:pathQueryDictionaryAssociation:
        otherPathQueryAssociations:inContext:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18731 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:42:41 +00:00
David Ayers
19d18a8d45 Also add dependancy on GDL2.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18699 72102866-910b-0410-8b05-ffd578937521
2004-02-27 18:27:24 +00:00
David Ayers
13dd609d5e * GSWExtensions.framework/GSWLongResponsePage.m
([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
2004-02-27 17:56:39 +00:00
David Ayers
4381de6b49 * GSWeb.framework/GSWUtils.h (NSTimeIntervalSleep): Declare.
* GSWeb.framework/GSWGenericContainer.m
        ([GSWGenericContainer takeValuesFromRequest:inContext:]): Don't
        try to return value in method returning void.
        * GSWeb.framework/GSWHyperlink.m
        ([GSWHyperlink invokeActionForRequest:inContext:]): Add cast
        to silence compiler on OS X.
        * GSWeb.framework/GSWResourceManager.m
        ([GSWResourceManager _applicationGSWBundle]): Remove obsolete
        logging.
        * GSWeb.framework/NSData+Compress.m ([NSData deflate]):
        Remove dependancy on GNUstep extenstions.
        * GSWeb.framework/stacktrace.m: Add test for __MACH__.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18696 72102866-910b-0410-8b05-ffd578937521
2004-02-27 17:01:02 +00:00
David Ayers
93a018eb12 * GSWeb.framework/GSWDefaultAdaptorThread.m
([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
2004-02-26 16:26:31 +00:00
David Ayers
a59610f0be * GSWeb.framework/GSWApplication.h
* 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
2004-02-25 14:53:21 +00:00
David Ayers
f4eeb18a26 * GSWeb.framework/GSWApplication.m
(GSWApplicationMainReal): Reformat.  Use GSCurrentThread
        instead of objc_thread_id. Remove \n in NSLog type logs.
        (GSWApplicationMain): Ditto.
        ([GSWApplication init], [GSWApplication lockRequestHandling],
        [GSWApplication unlockRequestHandling], [GSWApplication lock],
        [GSWApplication unlock], [GSWApplication _sessionClass],
        [GSWApplication run],
        [GSWApplication addDynCreateClassName:superClassName:],
        [GSWApplication pageWithName:],
        [GSWApplication dynamicElementWithName:associations:template:]):
        Ditto.
        * GSWeb.framework/GSWComponent.m
        ([GSWComponent appendToResponse:inContext:], [GSWComponent
        templateWithHTMLString:declarationString:languages:]): Ditto.
        * GSWeb.framework/GSWContext.m
        ([GSWContext dealloc], [GSWContext setValidate:]): Ditto.
        * GSWeb.framework/GSWDebug.m
        (GSWLogC_, GSWLogDumpObjectFn): Ditto.
        * GSWeb.framework/GSWDefaultAdaptor.m
        ([GSWDefaultAdaptor registerForEvents],
        [GSWDefaultAdaptor announceNewConnection:],
        [GSWDefaultAdaptor adaptorThreadExited:],
        [GSWDefaultAdaptor tryLock]): Ditto.
        * GSWeb.framework/GSWDefaultAdaptorThread.m
        ([GSWDefaultAdaptorThread setPool:destroyLast:],
        [GSWDefaultAdaptorThread run:],
        [GSWDefaultAdaptorThread threadExited],
        [GSWDefaultAdaptorThread isExpired],
        [GSWDefaultAdaptorThread sendRetryLasterResponseToStream:],
        [GSWDefaultAdaptorThread
        sendConnectionRefusedResponseToStream:withMessage:]): Ditto.
        * GSWeb.framework/GSWDeployedBundle.m
        ([GSWDeployedBundle initWithPath:], [GSWDeployedBundle dealloc],
        [GSWDeployedBundle lock], [GSWDeployedBundle unlock]): Ditto.
        * GSWeb.framework/GSWLifebeatThread.m
        ([GSWLifebeatThread setPool:destroyLast:],
        [GSWLifebeatThread threadExited]): Ditto.
        * GSWeb.framework/GSWSession.m
        ([GSWSession initWithCoder:],
        [GSWSession _releaseAutoreleasePool]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18611 72102866-910b-0410-8b05-ffd578937521
2004-02-17 16:53:36 +00:00
David Ayers
048a35991b * GSWeb.framework/GSWUtils.h/m
(IsStyle,IsNumberStyle, ExceptionRaise, ExceptionRaise0,
	ValidationExceptionRaise, ValidationExceptionRaise0,
	ExceptionByAddingUserInfoObjectFrameInfo,
	ExceptionByAddingUserInfoObjectFrameInfo0,
	ExceptionByAddingUserInfoFunctionFrameInfo,
	ExceptionByAddingUserInfoFunctionFrameInfo0, ): Reformat
	defines.
	(GSW_LOCK_LIMIT): New define.
	(ExceptionRaiseFn, ExceptionRaiseFn0,
	ValidationExceptionRaiseFn,
	ValidationExceptionRaiseFn0): Reformat declaration.
	(TmpLock, TmpTryLockBeforeDate, TmpLockBeforeDate, TmpUnlock):
	Remove.
	([NSLock isLocked]): Remove.
	([NSLock tmplock]): Ditto.
	([NSLock tmplockFromFunction:file:line:]): Ditto.
	([NSLock tmptryLock]): Ditto.
	([NSLock tmptryLockFromFunction:file:line:]): Ditto.
	([NSLock tmptryLockBeforeDate:]): Ditto.
	([NSLock tmptryLockBeforeDate:fromFunction:file:line:]):
	Ditto.
	([NSLock tmpunlock]): Ditto.
	([NSLock tmpunlockFromFunction:file:line:]): Ditto.
	([NSLock description]): Ditto.
	([NSRecursiveLock isLocked]): Ditto.
	([NSRecursiveLock tmplock]): Ditto.
	([NSRecursiveLock tmplockFromFunction:file:line:]): Ditto.
	([NSRecursiveLock tmptryLock]): Ditto.
	([NSRecursiveLock tmptryLockFromFunction:file:line:]): Ditto.
	([NSRecursiveLock tmptryLockBeforeDate:]): Ditto.
	([NSRecursiveLock
	tmptryLockBeforeDate:fromFunction:file:line:]):
	Ditto.
	([NSRecursiveLock tmpunlock]): Ditto.
	([NSRecursiveLock tmpunlockFromFunction:file:line:]): Ditto.
	(NSLockException, MessageForMutexLockError)
	(LoggedLock, LoggedLockBeforeDate, LoggedTryLock,
	LoggedTryLockBeforeDate, LoggedUnlock): New macros.
	(loggedLockBeforeDateFromFunctionInFileInLine,
	loggedUnlockFromFunctionInFileInLine): New logging lock
	functions.
	([NSThread description]): New Category.
	(volatileInternalDescription): New static function.
	(GSW_LOCK_LIMIT): New marco.
	* GSWeb.framework/GSWApplication.m
	([GSWApplication isRequestHandlingLocked]): Test lock instead
	of relying on obsolete lock categories.
	([GSWApplication lockRequestHandling]): Use new locking
	macros.
	([GSWApplication unlockRequestHandling]): Ditto.
	([GSWApplication lock]): Ditto.
	([GSWApplication unlock]): Ditto.
	* GSWeb.framework/GSWAssociation.m
	([GSWAssociation setClasse:forHandler:]): Ditto
	([GSWAssociation addLogHandlerClasse:]): Ditto.
	([GSWAssociation removeLogHandlerClasse:]): Ditto.
	([GSWAssociation logValue:forSet:]): Ditto.
	([GSWAssociation
	logSynchronizeForValue:inComponent:componentToParent:]):
	Ditto.
	* GSWeb.framework/GSWBundle.m
	([GSWBundle unlock]): Ditto.
	([GSWBundle lock]): Ditto.
	* GSWeb.framework/GSWDefaultAdaptor.m
	([GSWDefaultAdaptor tryLock]): Ditto.
	([GSWDefaultAdaptor unlock]): Ditto.
	* GSWeb.framework/GSWDeployedBundle.m
	([GSWDeployedBundle lock]): Ditto.
	([GSWDeployedBundle unlock]): Ditto.
	* GSWeb.framework/GSWResourceManager.m
	([GSWResourceManager unlock]): Ditto.
	([GSWResourceManager lock]): Ditto.
	* GSWeb.framework/GSWSessionStore.m
	([GSWSessionStore unlock]): Ditto.
	([GSWSessionStore tryLock]): Ditto.
	([GSWSessionStore lock]): Ditto.
	* GSWeb.framework/GSWSessionTimeOutManager.m
	([GSWSessionTimeOutManager
	tryLockBeforeTimeIntervalSinceNow:]):
	Ditto.
	([GSWSessionTimeOutManager lockBeforeTimeIntervalSinceNow]):
	Ditto.
	([GSWSessionTimeOutManager unlock]): Ditto.
	* GSWeb.framework/GSWStaticResourceRequestHandler.m
	([GSWStaticResourceRequestHandler handleRequest:]): Ditto.
	* GSWeb.framework/GSWStatisticsStore.m
	([GSWStatisticsStore unlock]): Ditto.
	([GSWStatisticsStore lock]): Ditto.
	* GSWeb.framework/NSObject+IVarAccess+PerformSel.m:
	([NSObject getIVarNamed]): Use GSW_LOCK_LIMIT macro.
	Reformat.
	([NSObject setIVarNamed:withValue:]): Ditto.

	* Makefile.postamble: Remove autom4te.cache on distclean.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18605 72102866-910b-0410-8b05-ffd578937521
2004-02-16 14:37:46 +00:00
Manuel Guesdon
508e0c5514 * GSWeb.framework/GSWTemplateParserXML.m: fix to avoid html and
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
2004-02-04 13:19:19 +00:00
David Ayers
e20282661f Update ChangeLog for previous premature commit of uncleaned changes
and minor cleanups thereof. :-/

	* GSWeb.framework/GSWResourceManager.m
	([GSWResourceManager setURLValuedElementData:]): Test contents
	of data before setting it.

	* GSWeb.framework/GSWApplication.m
	([GSWApplication
	lockedComponentDefinitionWithName:languages:]):
	Add handling for components without wrappers.

	* GSWeb.framework/GSWGenericElement.h: Corrected names of
	instance
	variable and method.
	* GSWeb.framework/GSWGenericElement.m:
	([GSWGenericElement initWithName:associations:template:]):
	Implemented.
	([GSWGenericElement dealloc]): Ditto.
	([GSWGenericElement description]): Ditto.
	([GSWGenericElement appendToResponse:inContext:]): Ditto.
	([GSWGenericElement invokeActionForRequest:inContext:]):
	Ditto.
	([GSWGenericElement takeValuesFromRequest:inContext:]): Ditto.
	([GSWGenericElement _elementNameAppendToResponse:inContext:]):
	Ditto.
	([GSWGenericElement
	_appendTagWithName:toResponse:inContext:]):
	Ditto.
	([GSWGenericElement
	_appendOtherAttributesToResponse:inContext:]):
	Ditto.
	([GSWGenericElement _elementNameInContext:]): Ditto.
	* GSWeb.framework/GSWConstants.h/m: Added Tags for
	GSWGenericElement.

	* GSWeb.framework/GSWTemplateParser.m ([GSWTemplateParser
	templateWithHTMLString:declarationString:languages:]): Added
	preliminary implementation and commented correct implement.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18435 72102866-910b-0410-8b05-ffd578937521
2004-01-18 17:30:58 +00:00
David Ayers
6828d6442f * GSWeb.framework/GSWWOCompatibility.h: Fix typo.
* GSWeb.framework/GSWURLValuedElementData.m
	([GSWURLValuedElementData initWithData:mimeType:key:]): Call
	stringUniqueIdWithLength: with minimal allowed length.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18434 72102866-910b-0410-8b05-ffd578937521
2004-01-18 13:06:12 +00:00
David Ayers
96fe2fa296 * GSWeb.framework/GSWConfig.h: Turn GSW/WOLifebeatEnabled off
by default.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18432 72102866-910b-0410-8b05-ffd578937521
2004-01-18 11:17:38 +00:00
David Ayers
f7995b48a2 * GSWeb.framework/GSWApplication.h
([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
2004-01-18 10:36:04 +00:00
David Ayers
6d07617232 * GSWeb.framework/GSWApplication.h/m
(-/+[GSWApplication isDirectConnectEnabled])
        (-/+[GSWApplication setDirectConnectEnabled:]): Make class
        methods.
        ([GSWApplication registerRequestHandlers]): Call class method.
        ([GSWApplication refuseNewSessions:]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18410 72102866-910b-0410-8b05-ffd578937521
2004-01-13 15:00:55 +00:00
David Ayers
0e5fd50138 * GSWeb.framework/.cvsignore: New file.
* GSWExtensions.framework/.cvsignore: Ditto.
        * GSWExtensions.framework/French.lproj/.cvsignore: Ditto.
        * GSWExtensionsGSW.framework/.cvsignore: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18409 72102866-910b-0410-8b05-ffd578937521
2004-01-13 12:46:48 +00:00
David Ayers
a4f3157e1d * gsweb.make.in: Change 'WO' framework names to WobObjects,
WOExtensions and WOExtensionsGSW.
	* GSWeb.framework/GNUmakefile: Ditto.
	* GSWeb.framework/Makefile.postamble. Ditto.
	* GSWExtensions.framework/Makefile.preamble: Ditto.
	* GSWExtensionsGSW.framework/Makefile.preamble: Ditto.
	* GSWExtensionsGSW.framework/GNUmakefile: Ditto.
	* GSWExtensions.framework/GNUmakefile: Ditto.  Move top level
	GSWSessionRestorationErrorPage.gswd into
	GSWSessionRestorationErrorPage.gswc.
	* GSWExtensions.framework/GSWSessionRestorationErrorPage.gswd
	* GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/
	  GSWSessionRestorationErrorPage.gswd
	  Moved contents into component.
	* GSWExtensions.framework/Makefile.postamble: Install
	components for 'WO' names correctly.
	* GSWExtensionsGSW.framework/Makefile.postamble: Ditto.

	* GSWExtensions.framework/French.lproj/
	  GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd:
	Use correct #include syntax.

	* GSWeb.framework/GSWWOCompatibility.h: Add WOExceptionPage.
	* GSWeb.framework/GSWApplication.m
	([GSWApplication handleException:inContext:]): Remove
	temporary hack to load 'GSW' exception page for 'WO' names.
	* GSWExtensions.framework/GSWExceptionPage.m
	([GSWExceptionPage setException:]): Remove excess exception
	log.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18388 72102866-910b-0410-8b05-ffd578937521
2004-01-12 15:32:39 +00:00
Manuel Guesdon
310f5500a7 o rewritten to avoid creation of temporary arrays,...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18355 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:42:42 +00:00
Manuel Guesdon
c50448b302 o added urlPrefix__Key
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18354 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:42:19 +00:00
Manuel Guesdon
dc57f5fe2a manage urlPrefix
o added -urlWithURLPrefix:requestHandlerKey:
	path:queryString:isSecure:port:
o added -urlWithURLPrefix:RequestHandlerKey:
	path:queryString:
o added -completeURLWithURLPrefix:requestHandlerKey:
	path:queryString:isSecure:port:
o added -directActionURLForActionNamed:urlPrefix:
	queryDictionary:
o added -directActionURLForActionNamed:urlPrefix:
	queryDictionary:pathQueryDictionary:
o added -directActionURLForActionNamed:urlPrefix:
	queryDictionary:isSecure:
o added -directActionURLForActionNamed:urlPrefix:
	queryDictionary:pathQueryDictionary:isSecure:
o added -_directActionURLForActionNamed:urlPrefix:
	queryDictionary:url:
o added -_directActionURLForActionNamed:urlPrefix:
	queryDictionary:pathQueryDictionary:url:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18353 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:41:44 +00:00
Manuel Guesdon
f6ace52bd3 o fix in batchCount to use _displayedObjects instead of
_allObjects


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18352 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:38:55 +00:00
Manuel Guesdon
f81fdb7934 o modified use of GSWMultiKeyDictionary to avoid creation of
temporary arrays


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18351 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:38:34 +00:00
Manuel Guesdon
ca1199374a o inherit from NSMutableString
o added primitives


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18350 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:37:47 +00:00
Manuel Guesdon
739fc9e707 o added primitive -setString
o changes for MOSX compatibility


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18349 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:37:02 +00:00