Commit graph

223 commits

Author SHA1 Message Date
David Ayers
6828d6442f * GSWeb.framework/GSWWOCompatibility.h: Fix typo.
* GSWeb.framework/GSWURLValuedElementData.m
	([GSWURLValuedElementData initWithData:mimeType:key:]): Call
	stringUniqueIdWithLength: with minimal allowed length.


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


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18432 72102866-910b-0410-8b05-ffd578937521
2004-01-18 11:17:38 +00:00
David Ayers
f7995b48a2 * GSWeb.framework/GSWApplication.h
([GSWApplication _handleException:inContext:]): Remove
	obsolete declaration.
	* GSWeb.framework/GSWApplication.m: Added GSWAppClassDummy
	class declarations to avoid compiler warnings genrerated for
	messages sent to 'Class'.
	([NSDistantObject setDebug:]): Added declaration to avoid
	compiler warning.
	([GSWApplication init]): Use GSWAppClassDummy to avoid
	compiler warnings.
	([GSWApplication _argsDictionaryWithUserDefaults:]): Ditto.
	([GSWApplication _monitorApplicationName]): Ditto.
	([GSWApplication _connectionDidDie:]): Translated comment to
	allow ascii encoding.
	([GSWApplication _remoteMonitor]): Test whether
	NSDistantObject
	responds to setDebug: before dispatching the method.  Use
	performSelector: to send undeclared targetForProxy method.
	([GSWApplication monitoringEnabled]): Forward isMonitorEnabled
	to class.


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


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


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

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

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


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


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


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


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


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


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18349 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:37:02 +00:00
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
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
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
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
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
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
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
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
Manuel Guesdon
7a8088abc5 indenting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18185 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:19:29 +00:00
Manuel Guesdon
f2f03ee1b1 tabs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18184 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:17:11 +00:00
Manuel Guesdon
f89a6ddbbb 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


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18183 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:16:22 +00:00
Manuel Guesdon
3346b3f469 o handle isRefusingThisRequest
o handle pathQuery
o fix languages stuff
o fix _synchronizeForDistribution


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18182 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:13:37 +00:00
Manuel Guesdon
ef4f64d56d o logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18181 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:10:21 +00:00
Manuel Guesdon
f2a6286e51 o coder changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18180 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:09:30 +00:00
Manuel Guesdon
c431f30bdf o handle otherPathQueryAssociations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18179 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:07:10 +00:00
Manuel Guesdon
a8e5987654 o added _otherPathQueryAssociations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18178 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:05:48 +00:00
Manuel Guesdon
da415be0c7 o use NSTimeIntervalSleep instead of usleep
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18177 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:04:01 +00:00
Manuel Guesdon
60b14cbd95 o added -tryLockBeforeTimeIntervalSinceNow:
o added -lockBeforeTimeIntervalSinceNow:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18176 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:03:03 +00:00
Manuel Guesdon
cced20ba33 o logs
o exception handlers


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18175 72102866-910b-0410-8b05-ffd578937521
2003-11-24 12:01:52 +00:00
Manuel Guesdon
9b04b0b206 o removed -dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18174 72102866-910b-0410-8b05-ffd578937521
2003-11-24 11:59:14 +00:00
Manuel Guesdon
d7e1be0cf5 o added classes and includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18173 72102866-910b-0410-8b05-ffd578937521
2003-11-24 11:58:20 +00:00
Manuel Guesdon
7486580f90 o added languages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18172 72102866-910b-0410-8b05-ffd578937521
2003-11-24 11:49:34 +00:00
Manuel Guesdon
1ac4649842 o logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18171 72102866-910b-0410-8b05-ffd578937521
2003-11-24 11:48:51 +00:00
Manuel Guesdon
91378541e5 o added _otherPathQueryAssociations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18170 72102866-910b-0410-8b05-ffd578937521
2003-11-24 11:47:45 +00:00
Manuel Guesdon
9fcda82bfc o added GSWLifebeatThread.h/.m
o added GSWStaticResourceRequestHandler.h/.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18169 72102866-910b-0410-8b05-ffd578937521
2003-11-24 11:42:56 +00:00
Manuel Guesdon
1f10cacd21 o fix in takeValuesFromRequest:inContext:
when control was diasbled, previous value was lost.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18167 72102866-910b-0410-8b05-ffd578937521
2003-11-24 10:58:02 +00:00
Manuel Guesdon
e2dc214da0 o appendContentString: instead of appendContentData:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18166 72102866-910b-0410-8b05-ffd578937521
2003-11-24 10:56:43 +00:00
Manuel Guesdon
1f3a7b80d5 o appendContentString: instead of appendContentData:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18165 72102866-910b-0410-8b05-ffd578937521
2003-11-24 10:55:38 +00:00
Manuel Guesdon
1a437a835a o remove response saving (now use recording)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18164 72102866-910b-0410-8b05-ffd578937521
2003-11-24 10:54:11 +00:00