Commit graph

346 commits

Author SHA1 Message Date
mguesdon
307e06de6c * GSWeb.framework/GSWTemplateParserXML.m:
o renamed defintions* to declarations*
  o replaced GSWPageDefElement by GSWDeclaration


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18908 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:36:23 +00:00
mguesdon
3f2a015c2e * GSWeb.framework/GSWTemplateParserANTLR.h:
o removed GSWPageDef* includes
* GSWeb.framework/GSWTemplateParserANTLR.m:
  o renamed defintions* to declarations*
  o replaced GSWPageDefElement by GSWDeclaration


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18907 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:36:00 +00:00
mguesdon
a6cc8c4626 * GSWeb.framework/GSWTemplateParser.h/.m:
o multiple changes to support RawHTML parser and new
  declarations parser


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18906 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:35:25 +00:00
mguesdon
b33b81dd49 * GSWeb.framework/GSWHTMLStaticGroup.m/.h:
o added +elementWithContentElements:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18905 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:35:00 +00:00
mguesdon
0329406ce3 * GSWeb.framework/GSWHTMLDynamicElement.m:
o fixed bug in -initWithName:attributeAssociations:contentElements:
  for associationValue quoting


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18904 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:34:34 +00:00
mguesdon
542dc64005 * GSWeb.framework/GSWHTMLBareString.h/.m:
o cleaned
  o remove _data and _encoding


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18903 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:34:10 +00:00
mguesdon
e8ae4eaa6b * GSWeb.framework/GSWElement.h/.m:
o renamed definitionName to declarationName


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18902 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:33:43 +00:00
mguesdon
1664296447 * 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
mguesdon
8be6efb757 * GSWExtensionsGSW.framework/GSWLogin.gswc/GSWLogin.gswd:
o added IsTryCountEqualToXX,...


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18899 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:32:28 +00:00
mguesdon
e4259775cc * GSWExtensionsGSW.framework/GSWLogin.m/.h:
o added _tryCount


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18898 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:31:52 +00:00
mguesdon
ce35f08650 * 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
mguesdon
29961465cf * 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
mguesdon
d7727ae400 * 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
mguesdon
9a501c4e07 * 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
mguesdon
11d3c854bf * 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
mguesdon
32ed97413d * 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
mguesdon
6ccff85df6 * 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
ayers
4f27cd9279 * 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
ayers
d45cf9ccd4 * 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
ayers
90e6c6ec1b * GSWExtensions.framework/Makefile.postamble: Fix Typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18827 72102866-910b-0410-8b05-ffd578937521
2004-03-10 13:17:32 +00:00
ayers
fb7a54673f * GSWExtensions.framework/Makefile.postamble: Replace spaces with tabs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18826 72102866-910b-0410-8b05-ffd578937521
2004-03-10 13:11:45 +00:00
ayers
af2f3bd544 * 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
ayers
94ce542eb8 * 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
mguesdon
07e5688a84 * 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
mguesdon
ad6a708330 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
mguesdon
df4523ceb9 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
mguesdon
168b42c0f7 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
mguesdon
21fce3a675 Added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18747 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:52:50 +00:00
mguesdon
7e78f3a33d Added GSWCacheElement.m/.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18746 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:52:09 +00:00
mguesdon
1f317dfaec Fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18745 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:51:15 +00:00
mguesdon
25bcd3f280 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
mguesdon
807a7719d2 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
mguesdon
349690d407 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
mguesdon
bb6258aaad 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
mguesdon
3f89316d12 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
mguesdon
52a196ac17 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
mguesdon
0779873da3 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
mguesdon
5b3510e409 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
mguesdon
f628ba895a 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
mguesdon
e6e8b13005 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
mguesdon
ff0d017de1 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
mguesdon
fb6488ac82 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
mguesdon
a0095e0b04 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
mguesdon
6450b64759 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
ayers
40227f2436 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
ayers
831280fef5 * 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
ayers
3ee371e7f5 * 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
ayers
54bc7abdd4 * 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
ayers
85d09b936c * 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
ayers
8c0a3efa9f * 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