Commit graph

156 commits

Author SHA1 Message Date
David Ayers
961b0ac2e3 * INSTALL: Update prerequisites.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19243 72102866-910b-0410-8b05-ffd578937521
2004-05-06 12:37:45 +00:00
David Ayers
1262062463 * GSWExtensions.framework/GSWKeyValueConditional.m
([GSWKeyValueConditional condition]): Declare all variables at
        top of block to be able to compile with gcc 2.95.
        * GSWeb.framework/GSWBaseParser.m
        (_ParserDebugLogBuffer):Ditto.
        * GSWeb.framework/GSWDisplayGroup.m
        ([GSWDisplayGroup _deleteObjects]),
        ([GSWDisplayGroup displayBatchContainingSelectedObject]),
        ([GSWDisplayGroup setDefaultStringMatchFormat:]),
        ([GSWDisplayGroup _setUpForNewDataSource]): Ditto.
        * GSWeb.framework/GSWHTMLDynamicElement.m
        ([GSWHTMLDynamicElement
        computeActionStringWithActionClassAssociation:
        directActionNameAssociation:pathQueryDictionaryAssociation:
        otherPathQueryAssociations:inContext:]): Ditto.
        * GSWeb.framework/GSWHTMLRawParser.m
        ([GSWHTMLRawParser
        tagPropertiesForType:betweenIndex:andIndex:]),
        ([GSWHTMLRawParser parseHTML]): Ditto.
        * GSWeb.framework/GSWRequest.m
        ([GSWRequest valuesFromHeaderString:], [GSWRequest initWithString:]),
        ([GSWRequest cookies]): Ditto.
        * GSWeb.framework/GSWStatisticsStore.m
        ([GSWStatisticsStore _sessionTerminating:]): Ditto.
        * GSWeb.framework/GSWTemporaryElement.m
        ([GSWTemporaryElement _elementWithDeclaration:name:properties:
        template:languages:]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19171 72102866-910b-0410-8b05-ffd578937521
2004-04-22 12:08:29 +00:00
David Ayers
49f65e75a7 * GSWeb.framework/GSWDisplayGroup.m:
([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
2004-04-20 10:29:08 +00:00
David Ayers
6094776767 * gsweb.make.in: Remove GSANTLR dependency.
* 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
2004-04-14 17:11:56 +00:00
Manuel Guesdon
8706ef4cdd 2004-04-06 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19054 72102866-910b-0410-8b05-ffd578937521
2004-04-06 11:19:30 +00:00
David Ayers
1168aa1c1e * GSWeb.framework/GSWHTMLRawParser.m
([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
2004-04-02 11:06:46 +00:00
David Ayers
c1de12d63b * GSWAdaptors/common/GSWTemplates.c (GSWTemplate_GetTemplate):
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
2004-03-26 15:05:03 +00:00
Manuel Guesdon
988d241ad3 2004-03-26 Manuel Guesdon <mguesdon@orange-concept.com>
* 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
2004-03-26 10:30:26 +00:00
Manuel Guesdon
85a10d3bf6 2004-03-25 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18911 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:43:05 +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
ad3e059c30 * hello/Hello.m, hello/HelloPage.m, hello/Hello_main.m,
hello/Hello_main.m, hello/Main.m:  Correct include directive.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18830 72102866-910b-0410-8b05-ffd578937521
2004-03-10 16:38:36 +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
a73b7c0c0d 2004-03-01 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18750 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:57:59 +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
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
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
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
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
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
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
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
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
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
David Ayers
eb5c091a7b * GSWeb.framework/GNUmakefile
* GSWExtensions.framework/GNUmakefile
	* GSWExtensionsGSW.framework/GNUmakefile: Update for
	GNUSTEP_BUILD_DIR changes in -make.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18069 72102866-910b-0410-8b05-ffd578937521
2003-11-09 18:10:39 +00:00
David Ayers
f4d9587f9d * GSWeb.framework/GSWAssociation.m: Include limits.h and
float.h in favor of deprecated values.h to be more
	portable.
        * GSWeb.framework/GSWDefaultAdaptor.m: Do not include
        GNUstepBase/GSFileHandle.h unnecessarily.
        * GSWeb.framework/GSWDirectAction.h: Remove duplicate
	declaration of -existingSession.
        * GSWeb.framework/GSWProcFS.h: Remove commented
        NSTimeIntervalFromTimeVal declaration.
        * GSWeb.framework/GSWStatisticsStore.m: Do not include
	sys/time.h unnecessarily.
        * GSWeb.framework/GSWUtils.h: Include sys/time.h
	unconditionally.
        * GSWeb.framework/GSWeb.h: Do not include private


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17953 72102866-910b-0410-8b05-ffd578937521
2003-10-22 16:22:51 +00:00
Dave Wetzel
32afcf5152 Include changes for OS X as suggested by Philip Moetteli
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17947 72102866-910b-0410-8b05-ffd578937521
2003-10-21 11:15:56 +00:00
David Ayers
534cbda786 * *.h/m: Updated to new header layout.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17543 72102866-910b-0410-8b05-ffd578937521
2003-08-25 20:15:32 +00:00
David Ayers
cad7077d49 * INSTALL: Update prerequisits and installation guidelines.
* GSWeb.framework/GSWApplication.m: Fix compile with debug=no.
        * GSWeb.framework/GSWeb.h: Include GNUstep.h if GNUSTEP is not
        defined for OS X.
        * GSWExtensions.framework/GSWExtWOCompatibility.h: Ditto.
        * GSWExtensionsGSW.framework/GSWExtGSWWOCompatibility.h:
        * Ditto.
        * Examples/hello/*.m: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17192 72102866-910b-0410-8b05-ffd578937521
2003-07-11 19:16:37 +00:00
Manuel Guesdon
7eafb442eb 2003-06-26 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWDisplayGroup.h:
		o include EODeprecated.h instead of EOUndoManager.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17038 72102866-910b-0410-8b05-ffd578937521
2003-06-26 15:15:22 +00:00
Manuel Guesdon
4f0682bab0 2003-06-25 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWAdaptors/common/GSWHTTPHeaders.h/.m:
		o added g_szHeader_GSWeb_ApplicationName
	* GSWAdaptors/Apache/mod_gsweb.c:
		o added application name header
	* GSWeb.framework/GSWUtils.m:
		o log every 10 lock tries
	* GSWeb.framework/GSWDefaultAdaptorThread.m:
		o log remote address
	* GSWeb.framework/GSWConstants.h/.m:
		o added GSWClassName_DefaultContext
		o added GSWOPT_Context
		o added GSWHTTPHeader_ApplicationName
	* GSWeb.framework/GSWApplication.h/.m:
		o added -setContextClassName:
		o added -contextClassName;
		o added -createContextForRequest:
		o information on component search duration in debug mode
	* GSWeb.framework/GSWComponentRequestHandler.m:
		o call application -createContextForRequest: instead of directGSWContext creation
		o use session -_contextIDMatchingIDsInContext
		o use matchingContextID to restore already generated page
		o fix in -lockedHandleRequest: to pur requestContextID in context
	* GSWeb.framework/GSWDirectAction.m:
		o call application -createContextForRequest: instead of directGSWContext creation
	* GSWeb.framework/GSWContext.m:
		o fix in +contextWithRequest: to use [self alloc]
	* GSWeb.framework/GSWDeployedBundle.m:
		o fix in lockedCachedRelativePathForResourceNamed:inDirectory:forLanguage:
			to really use cache
	* GSWeb.framework/GSWDisplayGroup.h:
		o added flag isCustomDataSourceClass
		o added flag isInitialized
	* GSWeb.framework/GSWDynamicElement.h:
		o removed -definitionName and -setDefinitionName:
	* GSWeb.framework/GSWDisplayGroup.m:
		o added queryKeyValueQualifierClassName (to specify a specific key value qualifier for a key)
		o finished -finishInitialization implementation
		o finished -_setUpForNewDataSource implementation
		o added -_isCustomDataSourceClass:
		o rewritten part of -updateDisplayedObjects
		o rewritten part of -setObjectArray:
		o rewriten -setSelectedObjects:
		o rewritten -setSelectionIndexes:
		o rewritten -selectObject:
		o rewritten -selectNext
		o rewritten -selectPrevious
		o rewritten -insertObject:atIndex:
		o rewritten -deleteSelection
		o rewritten -deleteObjectAtIndex:
		o rewritten -_deleteObjectsAtIndexes:
		o rewritten -displayedObjects
		o rewritten -fetch
		o rewritten -displayNextBatch
		o rewritten -displayPreviousBatch;
		o fixed -setNumberOfObjectsPerBatch:
		o implemented -objectsChangedInEditingContext:
		o replaced -_changedInEditingContext: by -objectsChangedInEditingContext:
		o replaced -_changedInEditingContext: by -objectsInvalidatedInEditingContext:
		o implemented -_notifySelectionChanged
		o implemented -_notifyRowChanged:
		o implemented -_lastObserverNotified:
		o implemented -_beginObserverNotification:
		o implemented -_selectionIndex
		o implemented -_deleteObject:
	* GSWeb.framework/GSWSession.m:
		o implemented -_contextIDMatchingIDsInContext:
		o implemented _rearrangeContextArrayStackForContextID:
		o rewritten -_contextArrayForContextID:stackIndex:contextArrayIndex:
		o rewritten parts of -_savePage:forChange:
	* GSWeb.framework/GSWSessionStore.m/.h:
		o partial rewriting of checkin/checkout code
	* GSWeb.framework/GSWSessionServerStore.m/.h:
		o changes for checkin/checkout code rewriting
	* GSWeb.framework/GSWSessionTimeOutManager.m/.h:
		o changes for checkin/checkout code rewriting
		o set timer interval minimum to 5s instead of 1s
	* GSWeb.framework/GSWSessionTimeOut.m/.h:
		o changes for checkin/checkout code rewriting
	* GSWeb.framework/GSWTransactionRecord.h/.m:
		o added +transactionRecordWithResponsePage:context:
		o replace signature by contextID,senderID and formValues
	* GSWeb.framework/GSWClientSideScript.m:
		o removed warning


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17032 72102866-910b-0410-8b05-ffd578937521
2003-06-25 16:07:22 +00:00
David Ayers
5232fe00f6 * gsweb.make.in
* Examples/hello/GNUmakefile
	* Examples/hello/Makefile.preamble
	* Testing/DynamicElements/GNUmakefile
	* Testing/DynamicElements/Makefile.preamble: Rely on
	Auxiliary/gdl2.make and Auxiliary/gsweb.make to set compiler and
	linker flags.
	* Examples/hello/config.mak: Removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@16852 72102866-910b-0410-8b05-ffd578937521
2003-06-01 22:00:18 +00:00
David Ayers
a536c0ab84 * GSWeb.framework/GSWUtils.m ([NSUserDefaults -description]):
Remove reference to instance variable, that has been removed from
	-base.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@16833 72102866-910b-0410-8b05-ffd578937521
2003-05-29 12:09:51 +00:00
Manuel Guesdon
1e88f582b9 2003-05-14 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWRequest.h/.m:
		o added ivar _browserAcceptedEncodings
		o added -browserAcceptedEncodings
		o modified browserLanguages to use quality indicator
	* GSWeb.framework/GSWConstants.h/.m:
		o added GSWHTTPHeader_AcceptEncoding
	* GSWeb.framework/GSWResponse.h/.m:
		o added ivar _acceptedEncodings
		o added -acceptedEncodings
		o added -setAcceptedEncodings:
	* GSWeb.framework/GSWComponentRequestHandler.m:
		o set request  browserAcceptedEncodings to response
	* GSWeb.framework/GSWComponent.m:
		o set request  browserAcceptedEncodings to response
	* GSWeb.framework/NSData+Compress.h/.m:
		o added
	* config.h.in
		o added HAVE_ZLIB


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@16718 72102866-910b-0410-8b05-ffd578937521
2003-05-14 08:30:22 +00:00
Manuel Guesdon
7654257195 2003-05-14 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWResourceManager.m:
		o added warning in ISOLanguagesFromGSLanguages
		o asserts
	* GSWeb.framework/GSWApplication.m:
		o assert adaptor name length>0 in
		   -adaptorWithName:arguments: and in -_initAdaptorsWithUserDefaults:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@16717 72102866-910b-0410-8b05-ffd578937521
2003-05-14 08:08:57 +00:00