Commit graph

297 commits

Author SHA1 Message Date
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
9acaa0f2cc * config/pathxml.m4: Whitespace fixes for coding standards.
* configure.ac: Ditto.
        * configure: Regenerate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18407 72102866-910b-0410-8b05-ffd578937521
2004-01-13 12:27:51 +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
0d89b713ab 2004-01-09 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18357 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:44:06 +00:00
Manuel Guesdon
1b04d28eee o removed date stuff
o cleaned


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18356 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:43:21 +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
Manuel Guesdon
16d0636f03 o added -_appendContentStringToResponse:inContext:
o added -_appendChildrenToResponse:inContext:
o change in -appendToResponse:inContext: to call
		  _appendChildrenToResponse:inContext:
o added _urlPrefix


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18348 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:36:22 +00:00
Manuel Guesdon
7e2a465412 o fix in -_wildcardedResponse:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18347 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:35:15 +00:00
Manuel Guesdon
2ec3d94253 o added -_urlWithURLPrefix:requestHandlerKey:path:queryString:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18346 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:34:39 +00:00
David Ayers
87ecde1a46 * GSWExtensions.framework/Makefile.preamble: Correct
ADDITIONAL_INCLUDE_DIRS and ADDITIONAL_LIB_DIRS.
        * Testing/DynamicElements/Makefile.preamble: Ditto.
        * GSWExtensionsGSW.framework/Makefile.preamble: Ditto. Also
        remove comments.
        * GSWeb.framework/Makefile.preamble.in:  Ditto. Also correct
        ADDITIONAL_CPPFLAGS

        * Testing/DynamicElements/GNUmakefile: Remove unused
	variables.
        * GSWeb.framework/GNUmakefile: Ditto.

        * GSWExtensions.framework/Makefile.postamble: Removed unused
        targets 'regenerate' and 'copy-dist'.
        * GSWExtensionsGSW.framework/Makefile.postamble: Ditto.
        * Testing/DynamicElements/Makefile.postamble: Ditto.
        * GSWeb.framework/Makefile.postamble: Ditto.  Add rule for
        GNUSTEP_TARGET_DIR dependent 'config.h'.

        * Testing/DynamicElements/Resources/Info-DynamicElements.plist:
        Correct spelling.

        * Testing/DynamicElements/DynamicElements.m: Replace #import
        with #include.
        * Testing/DynamicElements/DynamicElements_main.m: Ditto.
        * Testing/DynamicElements/Main.h: Ditto.
        * Testing/DynamicElements/Main.m: Ditto.
        * Examples/hello/Hello.m: Ditto.
        * Examples/hello/HelloPage.h: Ditto.
        * Examples/hello/HelloPage.m: Ditto.
        * Examples/hello/Hello_main.m: Ditto.
        * Examples/hello/Main.h: Ditto.
        * Examples/hello/Main.m: Ditto.
        * Examples/hello/Resources/Info-Hello.plist: Reformatted.

        * GSWeb.framework/GSWDebug.h/m (GSWLogAssertGoodFn): Adjust
        prototype to use id instead of NSObject * and dereference via
        class_pointer instead of isa.
        ([NSObject isa]): Remove obsolete category.

        * GSWeb.framework/GSWPageDefLexer.h: Use "GSWeb.h" instead of
        <GSWeb/GSWeb.h> for include.
        * GSWeb.framework/GSWPageDefLexer.m: Ditto.
        * GSWeb.framework/GSWPageDefParser.h: Ditto.
        * GSWeb.framework/GSWPageDefParser.m: Ditto.
        * GSWeb.framework/GSWPageDefParserTokenTypes.h: Ditto.
        * GSWeb.framework/PageDef.g: Ditto.
        * GSWeb.framework/html.g: Ditto.
        * GSWeb.framework/htmltag.g: Ditto.

        * GSWeb.framework/GSWWOCompatibility.m: Remove file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18338 72102866-910b-0410-8b05-ffd578937521
2004-01-08 16:23:47 +00:00
Dave Wetzel
a9efd13f5d added backslash in _filterSoftReturnsFromString:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18318 72102866-910b-0410-8b05-ffd578937521
2004-01-05 15:37:51 +00:00
Dave Wetzel
f3adcee5b0 do a stringValue on numbers to avoid an exception later.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18303 72102866-910b-0410-8b05-ffd578937521
2004-01-02 17:43:28 +00:00
Dave Wetzel
0b87e14964 GSWExceptionPageName is currently only GSWExceptionPage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18294 72102866-910b-0410-8b05-ffd578937521
2003-12-30 22:32:30 +00:00
Dave Wetzel
3476a98aeb if _actionClassClass is nil find it with NSClassFromString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18293 72102866-910b-0410-8b05-ffd578937521
2003-12-30 18:22:23 +00:00
Dave Wetzel
b7f5c82f4b fix for wo names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18275 72102866-910b-0410-8b05-ffd578937521
2003-12-26 00:39:51 +00:00
Dave Wetzel
4b1b8cedd3 2003-12-25 dave@turbocat.de
GSWeb.framework: GSWApplication.m GSWConstants.h GSWConstants.m
		Added GSWClassName_ResourceManager, GSWClassName_StatisticsStore,
		GSWClassName_ServerSessionStore
		Joined broken lines with string constants in GSWApplication.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18274 72102866-910b-0410-8b05-ffd578937521
2003-12-26 00:36:38 +00:00
Manuel Guesdon
392baf201c Bug fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18211 72102866-910b-0410-8b05-ffd578937521
2003-11-26 13:38:26 +00:00
Manuel Guesdon
e0d87f521a o fix in -_wildcardedResponse:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18210 72102866-910b-0410-8b05-ffd578937521
2003-11-26 13:37:29 +00:00
Manuel Guesdon
5ecdc9d9db o implement our own function for strndup if not compiled with
__USE_GNU. In other parts, we must use gsw_strndup instead of strndup.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18209 72102866-910b-0410-8b05-ffd578937521
2003-11-26 13:36:59 +00:00
Manuel Guesdon
44922ef123 o fixed GSWHeaderTranslationTableItemsNb value to exclude null end
items. (bug reported by Philip Moetteli <Philip.Moetteli@tele2.ch>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18208 72102866-910b-0410-8b05-ffd578937521
2003-11-26 13:36:16 +00:00
Manuel Guesdon
3686ea42a9 o use gsw_strndup instead of strndup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18207 72102866-910b-0410-8b05-ffd578937521
2003-11-26 13:35:43 +00:00
Manuel Guesdon
310dff1850 * GSWeb.framework/GSWUtils.h:
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
2003-11-25 17:32:54 +00:00
Manuel Guesdon
42b0970365 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@18204 72102866-910b-0410-8b05-ffd578937521
2003-11-25 17:32:29 +00:00
Manuel Guesdon
c9bc883f0d Fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18202 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:22:44 +00:00
Manuel Guesdon
b98252f1df o added GSWKeyValueConditional.*
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18201 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:21:27 +00:00
Manuel Guesdon
d2d4c8751a o set to notImplemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18199 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:17:42 +00:00
Manuel Guesdon
2b6f43e20d added GSWActionURL.h and GSWActionURL.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18198 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:17:07 +00:00
Manuel Guesdon
d660f88c7f o fix for debug/non debug libraries
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18197 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:16:27 +00:00
Manuel Guesdon
c4c619464c o added (come from Dave Lopper)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18196 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:11:38 +00:00
Manuel Guesdon
21fb9bc5e0 o included GSWActionURL.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18195 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:10:35 +00:00
Manuel Guesdon
6985e08ad9 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18191 72102866-910b-0410-8b05-ffd578937521
2003-11-25 09:11:51 +00:00
Manuel Guesdon
6ea2eef0fc o added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18190 72102866-910b-0410-8b05-ffd578937521
2003-11-25 09:10:14 +00:00
Manuel Guesdon
7230e305ef 2003-11-24 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWResourceManager.m/.h:
		o added -cachedBundleForFrameworkNamed:
		o fix in -lockedCachedBundleForFrameworkNamed: to return AppBundle if none is found
		o changes in -lockedCachedURLForResourceNamed:inFramework:languages:
			to call DeployedBundle -urlForResourceNamed:forLanguages:
		o changes in -lockedPathForResourceNamed:inFramework:languages:
			to call DeployedBundle -absolutePathResourceNamed:forLanguages:
	* GSWeb.framework/GSWDeployedBundle.m/.h:
		o added -urlForResourceNamed:forLanguages:
		o added ivars: _wrapperName,_projectName, _urlsCache,_absolutePathesCache;
		o build _wrapperName in init (will avoid recreation each call of -wrapperName)
		o build _projectName in init (will avoid recreation each call of -projectName)
		o rename methis ...forLangue.. to ...language to be coherent
	* GSWeb.framework/GSWProjectBundle.m/.h:
		o removed projectName (now inherit from GSWDeployedBundle)
	* GSWeb.framework/GSWTemplateParserXML.m:
		o in -createElementsFromNode: don't remove name property for non gsweb tags
	* GSWeb.framework/GSWTextField.h/.m:
		o fix in -takeValuesFromRequest:inContext: to avoid ecxception where
			value is empty and formatter is date formatter
	* GSWeb.framework/GSWRequest.h/.m:
		o added -stringFormValueForKey
		o added -numberFormValueForKey:withFormatter:
		o added -dateFormValueForKey:withFormatter:
		o inherit from GSWMessage.
	* GSWeb.framework/GSWMessage.h/.m:
		o added
	* GSWeb.framework/GSWRadioButtonList.h/.m:
		o handle isDisplayStringBefore binding
	* GSWeb.framework/GSWCheckBoxList.h/.m:
		o handle isDisplayStringBefore binding
	* GSWeb.framework/GSWBundle.m:
		o replaced GDL2 #if by HAVE_GDL2 #if
	* GSWeb.framework/GSWComponent.m:
		o replaced GDL2 #if by HAVE_GDL2 #if
		o improved some traces
	* GSWeb.framework/NSObject+IVarAccess+PerformSel.m:
		o replaced GDL2 #if by HAVE_GDL2 #if
	* GSWeb.framework/NSString+Trimming.m:
		o replaced GDL2 #if by HAVE_GDL2 #if
	* GSWAdaptors/common/GSWApp.h
		o added fSwitchToKnownInstance in GSWApp
	* GSWAdaptors/common/GSWConfig.c:
		o handle switchToKnownInstance parameter
	* GSWAdaptors/common/GSWLoadBalancing.c:
		o switch to known app instance when requesting unknown instance
	* GSWeb.framework/GSWProcFS.m:
		o better format byte size data
		o ivar names changes to conform to coding standards
	* GSWeb.framework/GSWUtils.[hm]:
		o fixes in NSLog category
		o added NSMutableData -replaceOccurrencesOfData:withData:range:
		o added NSData -rangeOfData:range:
		o added NSData -base64Representation
		o added NSData -initWithBase64Representation:
	* GSWeb.framework/GSWSession.h:
		o added -validateStatisticsLogin:withPassword:
		o added -_allowedToViewEvents
		o added -_allowToViewEvents
		o added -_setAllowedToViewEvents:
		o added -validateEventsLogin:withPassword:
		o added -_setBirthDate:
		o added -addLanguage:
		o added -firstLanguage
	* GSWeb.framework/GSWSession.m:
		o replaced GDL2 #if by HAVE_GDL2 #if
		o modified -setTimeOut: to handle null timeOut (no time out)
		o added -_setAllowedToViewStatistics:
		o modified setDistributionEnabled: to call GSWContext
			-_synchronizeForDistribution
		o modified setStoresIDsInCookies: to call GSWContext
			-_synchronizeForDistribution
		o call -takeValuesFromRequest:inContext: on pageElement
			instead of pageComponent in -takeValuesFromRequest:inContext:
		o call -invokeActionForRequest:inContext: on pageElement
			instead of pageComponent in -invokeActionForRequest:inContext:
		o call -appendToResponse:inContext: on pageElement
			instead of pageComponent in -appendToResponse:inContext:
		o finalized -appendToResponse:inContext: implementation
		o implemented -statistics
		o implemented -_formattedStatistics
		o lock editing context in -awakeInContext:
		o unlock editing context in -sleepInContext:
		o in set undo limit and lock editingContext in  -defaultEditingContext
		o lock editing context and disallow setting context when one
			already exists in -setDefaultEditingContext:
		o added -validateStatisticsLogin:withPassword:
		o added -_allowedToViewEvents
		o added -_allowToViewEvents
		o added -_setAllowedToViewEvents:
		o added -validateEventsLogin:withPassword:
		o added -addLanguage:
		o added -firstLanguage
	* GSWeb/GSWApplication.h:
		o added +defaultRequestHandlerClassName
		o added +defaultRequestHandlerClass
		o added _lastAccessDate
	* GSWeb/GSWApplication.m:
		o replaced GDL2 #if by HAVE_GDL2 #if
		o implemented -number
		o implemented -_directConnectURL
		o implemented -_webserverConnectURL
		o improved -_initializeSessionInContext:
		o finalized -_discountTerminatedSession implementation
		o added new handlers in -registerRequestHandlers
		o added +workerThreadCountMin;
		o added +setWorkerThreadCountMin:
		o added +workerThreadCountMax
		o added +setWorkerThreadCountMax:
		o added +isLifebeatEnabled
		o added +setLifebeatEnabled:flag
		o added +lifebeatDestinationPort;
		o added +setLifebeatDestinationPort:
		o added +lifebeatInterval
		o added +setLifebeatInterval:
		o added +streamActionRequestHandlerKey;
		o added +setStreamActionRequestHandlerKey:
		o added +sessionStoreClassName
		o added +setSessionStoreClassName:
		o added +setDefaultUndoStackLimit:
		o added +defaultUndoStackLimit;
		o added +_lockDefaultEditingContext;
		o added +_setLockDefaultEditingContext:
		o added +outputPath
		o added +setOutputPath:
		o implemented -monitoringEnabled
		o implemented -isTerminating
		o implemented -terminate
		o modified -setTimeOut: to handle null timeOut (no time out)
			and call -_scheduleApplicationTimerForTimeInterval:
		o implemented -_scheduleApplicationTimerForTimeInterval:
		o finalized -appendToResponse:inContext: implementation
		o implemented -_terminateFromMonitor
		o implemented _newLocationForRequest:
		o removed -_handleException:inContext:
		o added -_handleErrorWithPageNamed:exception:inContext:
		o added +recordingClassName
		o added +setRecordingClassName:
		o +saveResponsesPath is obsolete; use +recordingPath
		o +setSaveResponsesPath is obsolete; use +setRecordingPath
		o added +defaultRequestHandlerClassName
		o added +defaultRequestHandlerClass
		o added _lastAccessDate
	* GSWStaticResourceRequestHandler.h/.m:
		o added
	* GSWeb/GSWResponse.h/.m:
		o added @interface GSWResponse (Stream)
		o added -setContentStreamFileHandle:bufferSize:length:
		o added _contentStreamFileHandle
		o added _contentStreamBufferSize;
		o added _contentStreamBufferLength;
	* GSWeb/GSWDefaultAdaptor.h/.m:
		o added -workerThreadCountMin;
		o added -setWorkerThreadCountMin:
		o added -workerThreadCountMax
		o added -setWorkerThreadCountMax:
	* GSWeb/GSWStatisticsStore.h/.m:
		o changed definition of +formatDescription:forResponse:inContext:
		o implemented +formatDescription:forResponse:inContext:
		o change types from double to NSTimeInterval
		o implemented missing methods
	* GSWeb/GSWConstants.h/.m:
		o added GSWHTTPHeader_RecordingSessionID,
			GSWHTTPHeader_RecordingIDsURL,
			GSWHTTPHeader_RecordingIDsCookie,
			GSWHTTPHeader_RecordingApplicationNumber
		o added GSWOPT_WorkerThreadCountMin,
			GSWOPT_WorkerThreadCountMax
		o added GSWOPT_OutputPath
		o added GSWOPT_LifebeatEnabled
		o added GSWOPT_LifebeatDestinationPort
		o added GSWOPT_LifebeatInterval
		o added GSWOPT_DefaultUndoStackLimit
		o added GSWOPT_LockDefaultEditingContext
		o added isDisplayStringBefore__Key
	* GSWeb/GSWLifebeatThread.h/.m:
		o added
	* GSWeb/GSWActionRequestHandler.h/.m:
		o added
	* GSWeb/GSWDirectAction.h/.m
		o added GSWAction as superclass of GSWDirectAction
	* GSWeb/GSWAction.h/.m:
		o added
	* GSWeb/GSWDirectActionRequestHandler.h/.m
		o added +handlerWithDefaultActionClassName:defaultActionName:displayExceptionPages:
		o adedd _displayExceptionPages
		o added GSWActionRequestHandler as superclass of GSWDirectActionRequestHandler
		o moved some code in GSWActionRequestHandler
	* GSWeb/GSWDisplayGroup.m:
		o replaced GDL2 #if by HAVE_GDL2 #if
		o fix in -objectsAtIndexes:
		o added _auxiliaryQueryQualifier
			used when qualifying dataSource (added to query qualifiers)
		o added _queryNotMatch to enable not clause
	* GSWeb/GSWPageDefLexer.h:
		o regenerated
	* GSWeb/GSWPageDefParserTokenTypes.txt:
		o regenerated
	* GSWeb/GSWPageDefParserTokenTypes.h:
		o regenerated
	* GSWeb/GSWPageDefParser.m:
		o regenerated
	* GSWeb/GSWPageDefParser.h:
		o regenerated
	* GSWeb/GSWPageDefLexer.m:
		o regenerated
	* GSWeb/PageDef.g:
		o modified to handle quotes in binding names (for GSWGenericContainer)
	* GSWeb.framework/GSWRecording.m/.h:
		o added
	* GSWeb.framework/GSWDefaultAdaptorThread.h/.m:
		o remove response saving (now use recording)
	* GSWeb.framework/GSWHTMLStaticElement.m:
		o appendContentString: instead of appendContentData:
	* GSWeb.framework/GSWHTMLStaticGroup.m:
		o appendContentString: instead of appendContentData:
	* GSWeb.framework/GSWText.m:
		o fix in takeValuesFromRequest:inContext:
			when control was diasbled, previous value was lost.
	* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.html:
		o added Anchor
	* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
		o added Anchor
	* GSWExtensions.framework/GSWCollapsibleComponentContent.m:
		o added Anchor
	* GSWeb.framework/GNUmakefile:
		o added GSWLifebeatThread.h/.m
		o added GSWStaticResourceRequestHandler.h/.m
	* GSWeb.framework/GSWForm.h/.m:
		o added _otherPathQueryAssociations
	* GSWeb.framework/GSWHyperlink.h/.m:
		o added _otherPathQueryAssociations
	* GSWeb.framework/GSWPopUpButton.m:
		o logs
	* GSWeb.framework/Resources/languages.plist:
		o added languages
	* GSWeb.framework/GSWeb.h:
		o added classes and includes
	* GSWeb.framework/GSWText.h:
		o removed -dealloc
	* GSWeb.framework/GSWSessionTimeOutManager.m:
		o logs
		o exception handlers
	* GSWeb.framework/GSWSessionTimeOutManager.h:
		o added -tryLockBeforeTimeIntervalSinceNow:
		o added -lockBeforeTimeIntervalSinceNow:
	* GSWeb.framework/GSWSessionStore.m
		o use NSTimeIntervalSleep instead of usleep
	* GSWeb.framework/GSWResourceRequestHandler.m
		o logs
	* GSWeb.framework/GSWHTMLURLValuedElement.m/.h:
		o added _otherPathQueryAssociations
	* GSWeb.framework/GSWHTMLDynamicElement.m/.h:
		o handle otherPathQueryAssociations
	* GSWeb.framework/GSWElement.m:
		o logs
	* GSWeb.framework/GSWDynamicURLString.m:
		o coder changes
	* GSWeb.framework/GSWDebug.h:
		o logs
	* GSWeb.framework/GSWContext.h/.m:
		o handle isRefusingThisRequest
		o handle pathQuery
		o fix languages stuff
		o fix _synchronizeForDistribution
	* GSWeb.framework/GSWConfig.h:
		o removed GSWOPTVALUE_SaveResponsesPath
		o added GSWOPTVALUE_LifebeatEnabled
		o added GSWOPTVALUE_LifebeatDestinationHost
		o added GSWOPTVALUE_LifebeatDestinationPort
		o added GSWOPTVALUE_LifebeatInterval
		o added GSWOPTVALUE_DefaultUndoStackLimit
		o added GSWOPTVALUE_LockDefaultEditingContext
		o added GSWOPTVALUE_WorkerThreadCountMin
		o added GSWOPTVALUE_WorkerThreadCountMax
		o added GSWOPTVALUE_AcceptedContentEncoding
	* GSWeb.framework/GSWComponentReference.m:
		o logs
	* GSWeb.framework/GSWBrowser.m:
		o logs
	* GSWeb.framework/GSWAssociation.m:
		o logs
	* GSWExtensions.framework/GSWExceptionPage.m:
		o logs
	* GSWExtensionsGSW.framework/GSWLogin.m:
		o removed date stuff
	* GSWExtensionsGSW.framework/GSWLogin.gswc/GSWLogin.html:
		o removed date stuff
	* GSWExtensionsGSW.framework/GSWLogin.gswc/GSWLogin.gswd:
		o removed date stuff
	* config.mak.in:
		o added GSWDEBUG=no


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18189 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:31:16 +00:00
Manuel Guesdon
8314ffd3c3 o added GSWDEBUG=no
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18188 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:27:34 +00:00
Manuel Guesdon
99f54fcad2 o removed date stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18187 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:25:05 +00:00
Manuel Guesdon
7096ad93e9 logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18186 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:22:56 +00:00