Commit graph

369 commits

Author SHA1 Message Date
Dave Wetzel
f5f8385ad4 make WOSessionCreationError work with WO names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26449 72102866-910b-0410-8b05-ffd578937521
2008-04-15 21:20:18 +00:00
Dave Wetzel
3b0180a3da GSWAdaptors/Apache2/mod_gsw.c
* small cleanups
* copy all non-private headers to user

GSWeb.framework/GSWBindingNameAssociation.m
* remove unused code


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26443 72102866-910b-0410-8b05-ffd578937521
2008-04-09 21:04:56 +00:00
Dave Wetzel
a24b60e6f4 GSWAdaptors/Apache2/mod_gsw.c
* make load-balancing work
* add refusing to app status

GSWeb.framework/...
* rewrote GSWComponentRequestHandler to make refusing work



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26404 72102866-910b-0410-8b05-ffd578937521
2008-03-30 22:10:20 +00:00
Dave Wetzel
fe4f1484fc various fixes. shared mem should work now :)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26335 72102866-910b-0410-8b05-ffd578937521
2008-03-17 22:52:18 +00:00
Dave Wetzel
3816157075 GSWAssociation.h/m
+ bindingInComponent

GSWPrivate.h
+ _setValueNoValidation: inComponent: 

GSWBindingNameAssociation.m
* re-wrote initWithKeyPath:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26330 72102866-910b-0410-8b05-ffd578937521
2008-03-17 11:48:57 +00:00
Dave Wetzel
aeab0d5b58 * fixed http status bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26272 72102866-910b-0410-8b05-ffd578937521
2008-03-11 14:46:33 +00:00
Dave Wetzel
d80d6efd36 * use shared memory to share application statistics across httpd processes
* first version of load balancing


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26261 72102866-910b-0410-8b05-ffd578937521
2008-03-10 17:15:30 +00:00
David Ayers
75f204c1e5 * GSWeb.framework/GSWApplication+Defaults.m ([+host]): Set default
host to localhost.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26257 72102866-910b-0410-8b05-ffd578937521
2008-03-10 06:50:48 +00:00
David Ayers
28f8e99d9c * GSWeb.framework/GSWRequest.m (_getFormValuesFromMultipartFormData):
Determine character set for parser by invoking charsetFromEncoding:
	on document instead of parser.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26254 72102866-910b-0410-8b05-ffd578937521
2008-03-09 17:02:01 +00:00
Dave Wetzel
cd528b0f77 * removed unused code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26194 72102866-910b-0410-8b05-ffd578937521
2008-03-04 20:51:01 +00:00
Dave Wetzel
f49ba45b33 * deleted all references to ANTLR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26173 72102866-910b-0410-8b05-ffd578937521
2008-03-02 14:27:05 +00:00
Dave Wetzel
97cf898619 * optimized readDataLine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26172 72102866-910b-0410-8b05-ffd578937521
2008-03-02 13:58:11 +00:00
Dave Wetzel
bb368b6be9 * read POST data before contacting the app
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26165 72102866-910b-0410-8b05-ffd578937521
2008-03-01 19:47:30 +00:00
Dave Wetzel
a3a6cc33b4 pass more info to the application
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26094 72102866-910b-0410-8b05-ffd578937521
2008-02-18 21:42:13 +00:00
David Ayers
157908c52c * GSWeb.framework/GSWUtils.m (boolValueFor,boolValueWithDefaultFor): Rely
on [NSString-boolValue] as it handle NO and digits more correctly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26057 72102866-910b-0410-8b05-ffd578937521
2008-02-13 00:50:10 +00:00
Dave Wetzel
ed063f9ccb * GSWKeyValueAssociation
added _isValueSettable
added _setValueNoValidation: inComponent:
* GSWRepetition.m
use private _setValueNoValidation: inComponent: to speed things up


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25651 72102866-910b-0410-8b05-ffd578937521
2007-11-30 21:24:24 +00:00
Dave Wetzel
1ade9620ce add _setValueNoValidation:inComponent:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25647 72102866-910b-0410-8b05-ffd578937521
2007-11-30 13:30:33 +00:00
Dave Wetzel
e8b2f11ba2 * rewrote large parts of GSWDefaultAdaptor
* new GSWHTTPIO and GSWWorkerThread
* dropped GSWDefaultAdaptorThread
* some takeValue:forKey: fixes
* started to remove global inclues


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25611 72102866-910b-0410-8b05-ffd578937521
2007-11-25 16:49:37 +00:00
Dave Wetzel
250ed2c524 * strip \r off on line end before \n
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25606 72102866-910b-0410-8b05-ffd578937521
2007-11-25 10:03:55 +00:00
David Ayers
be15a70bff * GSWeb.framework/GSWApplication+Defaults.m
(TAKEVALUEFORKEY): Rely on setValue:forKey: to handle
	nil values.

	* GSWExtensions.framework/GSWKeyValueConditional.h
	* GSWExtensions.framework/GSWKeyValueConditional.api
	Convert from DOS to UNIX line feeds.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25604 72102866-910b-0410-8b05-ffd578937521
2007-11-24 10:13:22 +00:00
Dave Wetzel
1e6833238c 2007-06-22 David Wetzel <dave@turbocat.de>
* GSWAdaptors/Apache2/mod_gsw.c
    * GSWSWeb.framework/GSWComponentRequestHandler.m
    * GSWeb.framework/GSWDefaultAdaptorThread.m

    Added support for POST requests from browsers without content-length header.
    (firefox does this without proxy)



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25287 72102866-910b-0410-8b05-ffd578937521
2007-06-22 16:12:16 +00:00
Dave Wetzel
65765a9412 made Application name clickable on status page
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25162 72102866-910b-0410-8b05-ffd578937521
2007-05-15 11:49:06 +00:00
Dave Wetzel
a187fb6a58 fixed "if" statement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25132 72102866-910b-0410-8b05-ffd578937521
2007-05-10 12:01:46 +00:00
Dave Wetzel
fd940ebd03 see log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25035 72102866-910b-0410-8b05-ffd578937521
2007-04-13 20:42:37 +00:00
Dave Wetzel
d66a2e892c see ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25029 72102866-910b-0410-8b05-ffd578937521
2007-04-13 18:40:33 +00:00
David Ayers
c751ea3e90 * GSWeb.framework/GSWApplication.m (GSWApplicationMainReal):
Remove dependency on GNUSTEP_SYSTEM_ROOT and search all domains
	in precedence for frameworks to load.

	* Doc/howto.gsdoc: Replace reference to GNUSTEP_SYSTEM_ROOT with
	new installation location.  Also remove refernece to obsolete debug extension.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24641 72102866-910b-0410-8b05-ffd578937521
2007-02-18 11:19:58 +00:00
Nicola Pero
1d83fd7875 Updated configure for gnustep-make v2, plus added handy auto-config rule to makefile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24625 72102866-910b-0410-8b05-ffd578937521
2007-02-18 02:13:27 +00:00
Dave Wetzel
5585d73061 Changed logging to include the file name and line number.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24220 72102866-910b-0410-8b05-ffd578937521
2006-12-19 22:43:49 +00:00
Dave Wetzel
a2467f5864 GSWAdaptors/common/GSWLoadBalancing.c: small cosmetic changes in spacing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24215 72102866-910b-0410-8b05-ffd578937521
2006-12-19 12:19:09 +00:00
David Ayers
2f2a13fc47 * GSWAdaptors/Apache/mod_gsweb.c: Add defines to support Apache 2.2.
* GSWAdaptors/common/GSWLoadBalancing.c
	(GSWLoadBalancing_FindInstance): Remove unsused variable.
	* GSWAdaptors/common/GSWStats.c (GSWStats_formatStats): Ditto.
	* GSWAdaptors/common/GSWURLUtil.c (GSWParseURL): Ditto.
	* GSWAdaptors/common/GSWHTTPResponse.c: Include netdb.h.
	* GSWAdaptors/common/GSWApp.c: Include time.h.
	(GSWAppInfo_MakeDictKeyName): Add parentheses to avoid compiler
	warning.
	* GSWAdaptors/common/GSWAppRequest.c
	(GSWAppRequest_SendAppRequestToApp): Add missing CONST declaration.
	* GSWAdaptors/common/GSWAppConnectSocket.c: Include unistd.h
	* GSWAdaptors/common/GSWConfig.c: Ditto.
	* GSWAdaptors/common/GSWConfig.h (g_pAppDict, config_mtime):
	Remove unused declarations.
	(GSWConfig_LoadConfiguration): Add missing declaration.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24201 72102866-910b-0410-8b05-ffd578937521
2006-12-12 13:52:36 +00:00
Nicola Pero
da3ada8346 Use GNUSTEP_INSTALLATION_DOMAIN and DESTDIR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24097 72102866-910b-0410-8b05-ffd578937521
2006-11-15 17:19:55 +00:00
David Ayers
64434f87cc * GSWeb.framework/GSWDefaultAdaptorThread.m
(readRequestReturnedRequestLine:returnedHeaders:returnedData:):
	Remove superflous sleep.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@23762 72102866-910b-0410-8b05-ffd578937521
2006-10-04 21:49:02 +00:00
David Ayers
d8734dfc21 * Testing/DynamicElements/FileUpload1Page.gswc/FileUpload1Page.gswd
* Testing/DynamicElements/FileUpload1Page.gswc/FileUpload1Page.html
	* Testing/DynamicElements/FileUpload1Page.h
	* Testing/DynamicElements/FileUpload1Page.m: New tests.
	
	* Testing/DynamicElements/Resources/Info-DynamicElements.plist
	* Testing/DynamicElements/GNUmakefile:
	Add FileUpload tests.  Do not install tests in GNUSTEP_SYSTEM_ROOT.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@23761 72102866-910b-0410-8b05-ffd578937521
2006-10-04 21:07:40 +00:00
David Ayers
e318270cb4 * Version: Update to 1.3.0
* config.mak.in: Update to use new GDL2 native library names.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@23520 72102866-910b-0410-8b05-ffd578937521
2006-09-15 10:54:16 +00:00
David Ayers
e3f1372d29 * GSWeb.framework/GSWAction.m (-[initWithRequest:]): Retain
context.
	* GSWeb.framework/GSWActionRequestHandler.m
	(-[getActionInstanceOfClass:withRequest:): Autorelease action.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22368 72102866-910b-0410-8b05-ffd578937521
2006-01-26 20:42:20 +00:00
Dave Wetzel
16857d52e5 see log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22295 72102866-910b-0410-8b05-ffd578937521
2006-01-11 11:36:04 +00:00
David Ayers
4573d13b24 * GSWAdaptors/Apache/mod_gsweb.c (GSWeb_Handler): Avoid endless
loop when users abort transmission with temporary hack.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22186 72102866-910b-0410-8b05-ffd578937521
2005-12-19 11:05:35 +00:00
David Ayers
8ee1195d11 * GSWeb.framework/GSWApplication+Defaults.m
(GSWeb_InitializeGlobalAppDefaultOptions): Add handling for
	GSW/WOStatusLoggingEndabled-GSWOPT_StatusLoggingEnabled.
	Fix handling of user defaults.
	((UserDefaults/GSWUserDefaults)): Split category in handling
	WO45 defaults and GSWeb specific defaults.
	(+is/setStatusLoggingEnabled): New methods and default to
	control status logging.
	(-set/defaultRequestHandlerClassName): Move to GSWApplication
	class implementation as this is not handled via user defaults.
	* GSWeb.framework/GSWApplication.(h/m)
	((UserDefaults/GSWUserDefaults)): Split category in handling
	WO45 defaults and GSWeb specific defaults.
	(+is/setStatusLoggingEnabled): New methods and default to
	control status logging.
	(+set/defaultRequestHandlerClassName): Move to GSWApplication
	class implementation as this is not handled via user defaults.
	(GSWFPutSL): New local macro to consistently log NSString's to
	a stream.  Updated callers to fputs.
	(+statusDebug...): Guard all calls with +isStatusDebuggingEnabled.
	(+statusLog...): Guard all calls with +isStatusLoggingEnabled.
	* GSWeb.framework/GSWConfig.h: Add GSWOPTVALUE_StatusLoggingEnabled.
	* GSWeb.framework/GSWConstants.h/m: Add GSWOPT_StatusLoggingEnabled.

	* GSWeb.framework/GSWHTMLRawParser.m (dealloc): Implement fixing
	a potentially major memory leak.
	* GSWeb.framework/GSWDefaultAdaptorThread.m (dealloc): Destroy
	pool (which should have been destroyed before, in normal operation).
	(run:) Destroy pool in case the threads is rerun.

	* GSWeb.framework/GSWApplication.(h/m) (-debugAdaptorThreadExited):
	New debug utility extension.
	* GSWeb.framework/GSWDefaultAdaptorThread.m (threadExited): Call new
	debug convenience method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22174 72102866-910b-0410-8b05-ffd578937521
2005-12-17 16:44:58 +00:00
Dave Wetzel
85ca5d92fd * GSWeb.framework/GSWSubmitButton.m
added support for Direct Actions
          removed category


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21931 72102866-910b-0410-8b05-ffd578937521
2005-10-31 14:33:46 +00:00
David Ayers
b38c59f884 * GSWeb.framework/GSWRequest.m
([_getFormValuesFromMultipartFormData]): Always set the default
	character set of the mime parser but be efficient for latin-1
	and utf-8.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21769 72102866-910b-0410-8b05-ffd578937521
2005-10-04 10:24:42 +00:00
David Ayers
0b03330415 * GSWeb.framework/GSWRequest.m:
(-[initWithMethod:uri:httpVersion:headers:content:userInfo:]):
	Leave _formValueEncoding undefined.
	(-[formValueEncoding]): Return defaultFormValueEncoding if
	formValueEncoding is undefined.
	(-[_formValueEncodingFromFormData:): Use formValueEncoding until
	we have encoding detection mechanisms.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21768 72102866-910b-0410-8b05-ffd578937521
2005-10-02 20:34:57 +00:00
David Ayers
a3a00031a9 * GSWeb.framework/GSWDeclarationParser.m
(parseQuotedString): Handle escaped quotes.
	(parseDictionaryWithValuesAsAssociations:): Handle key path as key.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21765 72102866-910b-0410-8b05-ffd578937521
2005-10-02 13:04:23 +00:00
David Ayers
8e5df9662a * GSWeb.framework/GSWBaseParser.m
(-[lineAndColumnIndexesFromIndex:returnsLineIndex:columnIndex:])
	Treat '\r' as a regualar character when counting lines as '\n'
	is the actual line break.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21764 72102866-910b-0410-8b05-ffd578937521
2005-10-02 12:22:36 +00:00
Dave Wetzel
46daf448b6 2005-09-30 David Wetzel <dave@turbocat.de>
* GSWeb.framework/GSWDynamicURLString.m
        added dataUsingEncoding: allowLossyConversion:
        * GSWeb.framework/GSWRequest.m
        avoid cString (hint from David Ayers)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21762 72102866-910b-0410-8b05-ffd578937521
2005-09-30 15:33:25 +00:00
David Ayers
003294dcf7 * GSWAdaptors/common/GSWApp.h (GSWApp_New, GSWAppInfo_Init):
Correct prototype.
        * GSWAdaptors/common/GSWConfig.h (GSWConfig_GetConfig)
        (GSWConfig_CanDumpStatus, GSWConfig_AddTimeHeaders)
        (GSWConfig_IsDebug, GSWConfig_IsReaden)
        (GSWConfig_GetConfigFilePath, GSWConfig_AdaptorBuilt)
        (GSWConfig_ServerStringInfo, g_szGSWeb_AdaptorStringInfo)
        (GSWConfig_ServerURL, g_szGSWeb_AdaptorURL): Ditto.
        * GSWAdaptors/common/GSWString.h (GSWString_New): Ditto.
        * GSWAdaptors/common/GSWUtil.h (GSWTime_now)
        (GSWUtil_ClearHostCache): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21229 72102866-910b-0410-8b05-ffd578937521
2005-05-16 11:36:38 +00:00
David Ayers
81efc31c12 * GSWAdaptors/Apache/configure.ac: Only add to CPPFLAGS if
ac_x_includes is set and only add LDFLAGS if ac_x_libraries
        set.  Refer to variables in consistent form.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21228 72102866-910b-0410-8b05-ffd578937521
2005-05-16 11:21:27 +00:00
David Ayers
400fe30d41 * GSWAdaptors/Apache/mod_gsweb.c: Rename GSWeb_Module to
gsweb_module for apxs integration.
        * INSTALL: Refer to GSWAdaptors/Apache/INSTALL for Apache
        specific installation instructions.  Move Apache specific
        installation instructions to GSWAdaptors/Apache/INSTALL.
        * GSWAdaptors/Apache/INSTALL: Update to new ./configure
        usage and new install and httpdconfig make targets.
        * GSWAdaptors/Apache/GNUmakefile.in: New file to build
        the adaptor module with apxs and apr-config.
        * GSWAdaptors/Apache/configure[.ac]: New files
        * GSWAdaptors/Apache/config.guess: Ditto.
        * GSWAdaptors/Apache/config.sub: Ditto.
        * GSWAdaptors/Apache/install-sh: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21206 72102866-910b-0410-8b05-ffd578937521
2005-05-09 12:20:18 +00:00
David Ayers
79e34a14c4 * GSWeb.framework/GSWUtils.h/m (GetTmpName): Remove unused
function which generates warnings about tempnam usage.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21187 72102866-910b-0410-8b05-ffd578937521
2005-05-04 10:16:51 +00:00
David Ayers
807d776789 * GSWAdaptors/common/GSWStats.c (GSWStats_formatStats):
Use standard strtod instead of the GNU extension strtof
        which is stored in a double anyway.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21184 72102866-910b-0410-8b05-ffd578937521
2005-05-03 20:20:42 +00:00
David Ayers
4d46d6855e * GNUmakefile, Examples/hello/GNUmakefile,
GSWExtensions.framework/GNUmakefile,
        GSWExtensionsGSW.framework/GNUmakefile,
        Testing/DynamicElements/GNUmakefile: Do not reset
        GNUSTEP_MAKEFILES to an obsolete location.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21179 72102866-910b-0410-8b05-ffd578937521
2005-05-02 18:13:17 +00:00
Manuel Guesdon
c1c4332dc8 Small fixes and optimizations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21155 72102866-910b-0410-8b05-ffd578937521
2005-04-24 12:12:16 +00:00
Manuel Guesdon
7fa7771df6 Removed GSWHyperlink hrefInContext: and fixed enabled binding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21154 72102866-910b-0410-8b05-ffd578937521
2005-04-24 11:56:46 +00:00
Dave Wetzel
6747c0bd70 removed some logs in GSWApplication.m GSWDefaultAdaptor.m GSWDefaultAdaptorThread.m GSWElementID.m GSWMessage.m GSWSessionTimeOutManager.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21138 72102866-910b-0410-8b05-ffd578937521
2005-04-21 12:49:00 +00:00
Dave Wetzel
01f1f6b352 * GSWeb.framework/GSWDynamicURLString.m
o avoid message call if not needed.
* GSWeb.framework/GSWHyperlink.m
        o utf-8 bug workaround in GSWDynamicURLString


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21064 72102866-910b-0410-8b05-ffd578937521
2005-04-06 20:04:03 +00:00
Manuel Guesdon
c923bad765 Fixes and optimzations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21054 72102866-910b-0410-8b05-ffd578937521
2005-04-05 15:54:24 +00:00
Manuel Guesdon
f2d2a684ab Optimizations, fixes and disabling sesson creation/restoration feature
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21051 72102866-910b-0410-8b05-ffd578937521
2005-04-05 14:49:55 +00:00
Manuel Guesdon
a70d649ad1 Small fixes and optimizations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21050 72102866-910b-0410-8b05-ffd578937521
2005-04-05 11:54:36 +00:00
Dave Wetzel
7d083127b0 * GSWeb.framework/GSWApplication.m
* GSWeb.framework/GSWRequest.m
Use cStringLength in place of length


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21045 72102866-910b-0410-8b05-ffd578937521
2005-04-04 15:51:35 +00:00
Manuel Guesdon
bd0b6fe391 Fixes in GSWUtil.c and GSWAppRequest.c
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21022 72102866-910b-0410-8b05-ffd578937521
2005-03-31 18:31:22 +00:00
David Ayers
fd776a6c94 * GSWAdaptors/common/GSWHTTPResponse.c
(GSWHTTPResponse_GetResponse): Move variable declarations to
        top of block for older compilers.
        * GSWAdaptors/common/GSWUtil.h (GSWAssert): Ditto.  Remove
        bogus call to GSWLog().
        * GSWAdaptors/common/GSWStats.c (GSWStats_formatStats): Remove
        statement from variable declations for older compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21020 72102866-910b-0410-8b05-ffd578937521
2005-03-31 05:36:27 +00:00
David Ayers
1d13e0c715 * GSWeb.framework/GSWApplication+Defaults.m (GSWAppClassDummy):
Added method declarations to help various compiler versions
        identify the correct signaure to use.
        (+[GSWApplication setSessionTimeOutValue:]): Use it.
        (+[GSWApplication sessionTimeOutValue]); Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20969 72102866-910b-0410-8b05-ffd578937521
2005-03-25 16:01:55 +00:00
Manuel Guesdon
a55b140ff5 * GSWeb.framework/GSWBrowser.m
o fixed double HTML escaping bug (reported by David Ayers)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20960 72102866-910b-0410-8b05-ffd578937521
2005-03-22 09:04:46 +00:00
Richard Frith-Macdonald
848c80d39c Tidy to work with current base library and avoid minor overheads.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20940 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:17:18 +00:00
Manuel Guesdon
31b00db975 * GSWeb.framework/NSString+HTML.m
o fixes in GSWMemMove and testStringByConvertingHTML


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20924 72102866-910b-0410-8b05-ffd578937521
2005-03-18 12:56:33 +00:00
Dave Wetzel
60f889601a GSWeb.framework/GSWRequest.m
changes to support various encodings in GSMime


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20894 72102866-910b-0410-8b05-ffd578937521
2005-03-11 10:30:54 +00:00
Dave Wetzel
c80c54ef29 * GSWeb.framework/GSWRequest.m
* GSWeb.framework/NSString+HTML.?
   o replaced dictionaryQueryString by dictionaryQueryStringWithEncoding:
   o replaced decodeURL by decodeURLEncoding:
     debugging and coding together with David Ayers


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20890 72102866-910b-0410-8b05-ffd578937521
2005-03-10 16:10:03 +00:00
Dave Wetzel
eeb2371136 see ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20582 72102866-910b-0410-8b05-ffd578937521
2005-01-19 10:09:52 +00:00
Manuel Guesdon
95931983d3 optimizations and small fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20507 72102866-910b-0410-8b05-ffd578937521
2004-12-31 14:33:16 +00:00
Dave Wetzel
00d627716b * GSWeb.framework/GSWElementID.m
o fixed use of static SEL


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20505 72102866-910b-0410-8b05-ffd578937521
2004-12-31 11:33:12 +00:00
Manuel Guesdon
a72cb63dc4 2004-12-27 Manuel Guesdon <mguesdon@orange-concept.com>
o Bug fixes on GSWAdaptors
o Time statistics addition on GSWAdaptors


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20490 72102866-910b-0410-8b05-ffd578937521
2004-12-27 16:35:17 +00:00
Manuel Guesdon
bb75fb1eae Replaced GSWElementIDString by GSWElementID, minor optimizations and
code cleaning


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20455 72102866-910b-0410-8b05-ffd578937521
2004-12-15 00:01:25 +00:00
Manuel Guesdon
087b9ed45d Bug fixes, minor improvments and optimizations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20452 72102866-910b-0410-8b05-ffd578937521
2004-12-14 12:54:40 +00:00
Dave Wetzel
298e88df3c -
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20417 72102866-910b-0410-8b05-ffd578937521
2004-12-04 22:10:01 +00:00
Dave Wetzel
4c730768ae -
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20408 72102866-910b-0410-8b05-ffd578937521
2004-12-01 15:03:02 +00:00
Dave Wetzel
500611d4d2 GSWBrowser:replaced +NSNumber numberWithXXX with GSWIntToNSString()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20405 72102866-910b-0410-8b05-ffd578937521
2004-12-01 09:28:02 +00:00
Dave Wetzel
a93e06e35e * GSWeb.framework/GSWPopUpButton.m
replaced +NSNumber numberWithXXX with GSWIntToNSString()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20400 72102866-910b-0410-8b05-ffd578937521
2004-11-30 19:49:15 +00:00
Dave Wetzel
2e4d5a0126 2004-11-29 David Wetzel <dave@turbocat.de>
* GSWeb.framework/GSWMessage.h
        * GSWeb.framework/GSWMessage.m
        uses NSMutableData now. 3.74 % faster than previous version


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20394 72102866-910b-0410-8b05-ffd578937521
2004-11-29 09:27:17 +00:00
David Ayers
1f4ca4f38f * GSWeb.framework/GSWDisplayGroup.m
(-displayBatchContainingSelectedObject): Test
        _numberOfObjectsPerBatch to be non-zero before dividing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20383 72102866-910b-0410-8b05-ffd578937521
2004-11-26 14:01:40 +00:00
Dave Wetzel
e6a13dd02d added some speed enhancements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20382 72102866-910b-0410-8b05-ffd578937521
2004-11-26 11:08:06 +00:00
David Ayers
3fdb17626a * GSWeb.framework/GSWApplication+Defaults.m (TAKEVALUEFORKEY):
New macro to use new setValue:forKey: instead of takeValue:forKey:
        on Cocoa systems until it is implemented for GNUstep.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20369 72102866-910b-0410-8b05-ffd578937521
2004-11-22 16:54:54 +00:00
David Ayers
c5ee2bd0bf * GSWeb.framework/GSWApplication.m (GSWApplicationMainReal):
Remove assertion for defined GNUSTEP_STRING_ENCODING.
        * GSWeb.framework/GSWDefaultAdaptorThread.m
        ([+sendResponse:toStream:
        withNamingConv:withAdditionalHeaderLines:withRemoteAddress:]):
        Use contentEncoding of response instead of
        NSISOLatin1StringEncoding.
        * GSWeb.framework/GSWHTMLComment.m ([-init]): Use
        +[GSWMessage defaultEncoding] instead of
        NSISOLatin1StringEncoding.
        * GSWeb.framework/GSWHTMLDynamicElement.m
        ([-addURL:forCIDKeyAssociation:CIDStoreAssociation:inContext:]):
        Use NSUnicodeStringEncoding instead NSISOLatin1StringEncoding
        for hash value.
        * GSWeb.framework/GSWMessage.m ([+initialize]): Set
        globalDefaultEncoding to NSISOLatin1StringEncoding only if
        WOStrictFlag default flag is set.  Otherwise default to
        GetDefEncoding().
        * GSWeb.framework/GSWRequest.m
        ([-_formValueEncodingFromFormData:]): Use +[GSWMessage
        defaultEncoding] instead of NSISOLatin1StringEncoding.
        ([-_formData], [-_getFormValuesFromMultipartFormDataOld]):
        Ditto.
        ([-_getFormValuesFromMultipartFormData]): Ditto.
        ([-_decodeMultipartBody:boundary:], -[_parseData:]): Ditto.
        * GSWeb.framework/GSWTemplateParserXML.m
        ([-templateElements]): Ditto.
        * GSWeb.framework/NSString+HTML.m (-[decodeURL]): Ditto.

        * INSTALL: Remove reference to GNUSTEP_STRING_ENCODING.
        * Examples/hello/HelloPage.gswc/HelloPage.gswi,
        * GSWExtensions.framework/French.lproj/
        GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswi,
        GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswi
        * GSWExtensions.framework/
        GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswi
        GSWDictionaryRepetition.gswc/GSWDictionaryRepetition.gswi,
        GSWIFrame.gswc/GSWIFrame.gswi,
        GSWMetaRefresh.gswc/GSWMetaRefresh.gswi,
        GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswi,
        GSWRedirect.gswc/GSWRedirect.gswi,
        GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswi,
        GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswi
        GSWStatsPage.gswc/GSWStatsPage.gswi,
        GSWTable.gswc/GSWTable.gswi,
        GSWTableString.gswc/GSWTableString.gswi,
        Correct encoding declaration.

        * GSWExtensions.framework/
        GSWKeyValueConditional.gswc/GSWKeyValueConditional.gswd,
        GSWKeyValueConditional.gswc/GSWKeyValueConditional.gswi,
        GSWKeyValueConditional.gswc/GSWKeyValueConditional.html:
        Correct encoding declaration and line terminators.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20347 72102866-910b-0410-8b05-ffd578937521
2004-11-12 13:47:05 +00:00
Manuel Guesdon
ba53f7538a Changes in GSWAdaptor:
o to handle unavailableUntil configuration parameters
o to better handle templates


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20317 72102866-910b-0410-8b05-ffd578937521
2004-11-08 14:15:59 +00:00
David Ayers
24f81b918b * Examples/WebBookStore1: New example.
* Examples/WebBookStore1/Application.h,
        * Examples/WebBookStore1/Application.m,
        * Examples/WebBookStore1/DirectAction.h,
        * Examples/WebBookStore1/DirectAction.m,
        * Examples/WebBookStore1/GNUmakefile,
        * Examples/WebBookStore1/Main.h,
        * Examples/WebBookStore1/Main.m,
        * Examples/WebBookStore1/Session.h,
        * Examples/WebBookStore1/Session.m,
        * Examples/WebBookStore1/WebBookStore1_main.m,
        * Examples/WebBookStore1/BookStore.eomodeld/Author.plist,
        * Examples/WebBookStore1/BookStore.eomodeld/Book.plist,
        * Examples/WebBookStore1/BookStore.eomodeld/Customer.plist,
        * Examples/WebBookStore1/BookStore.eomodeld/Order.plist,
        * Examples/WebBookStore1/BookStore.eomodeld/OrderPos.plist,
        * Examples/WebBookStore1/BookStore.eomodeld/index.eomodeld,
        * Examples/WebBookStore1/Main.gswc/Main.gswd,
        * Examples/WebBookStore1/Main.gswc/Main.gswi,
        * Examples/WebBookStore1/Main.gswc/Main.html,
        * Examples/WebBookStore1/WebServerResources/Insert.png,
        * Examples/WebBookStore1/WebServerResources/Save.png,
        * Examples/WebBookStore1/WebServerResources/Delete.png,
        * Examples/WebBookStore1/WebServerResources/CreateTables.png,
        * Examples/WebBookStore1/WebServerResources/DropTables.png:
        New files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20316 72102866-910b-0410-8b05-ffd578937521
2004-11-08 13:14:12 +00:00
David Ayers
63ad988273 * GSWeb.framework/GSWRepetition.h: Only use ASCII characters
in source files.
        * GSWeb.framework/NSString+HTML.m (initHtmlChars): Ditto


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20286 72102866-910b-0410-8b05-ffd578937521
2004-11-03 13:19:21 +00:00
David Ayers
0c4677e23a * Doc/GNUmakefile: New file.
* Doc/gsweb.gsdoc: Update DTD reference.  Minor reformatting.
        Add references to subprojects.  Add myself as coauthor.
        * GSWeb.framework/GNUmakefile: Remove duplicate definition of
        GSWeb_AGSDOC_FLAGS.

        * GSWeb.framework/GSWDebug.h (LOGDEEPClassFnStart)
        (LOGDEEPError0, LOGLOCKException0): Insert missing backslash.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20284 72102866-910b-0410-8b05-ffd578937521
2004-11-03 09:25:59 +00:00
David Ayers
5c7de0b8e0 * GSWeb.framework/GSWApplication+Defaults.m
(cgiAdaptorURL, setCGIAdaptorURL): Fix naming to conform to
        key value coding methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19972 72102866-910b-0410-8b05-ffd578937521
2004-09-02 12:38:45 +00:00
David Ayers
f09ed521ce * GSWeb.framework/GSWApplication+Defaults.m
(_lockDefaultEditingContext, _setLockDefaultEditingContext)
	(_allowsCacheControlHeader, _setAllowsCacheControlHeader)
	Fix naming to conform to key value coding methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19967 72102866-910b-0410-8b05-ffd578937521
2004-09-01 21:31:35 +00:00
David Ayers
8c78b8b4df * GSWeb.framework/GSWDeclarationParser.m:
(parseDeclarationString:named:inFrameworkNamed:): Use -base's
        version of md5 methods instead of adding gscrypt dependency.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19966 72102866-910b-0410-8b05-ffd578937521
2004-09-01 17:12:33 +00:00
Manuel Guesdon
6d40d6eefb 2004-09-01 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19961 72102866-910b-0410-8b05-ffd578937521
2004-09-01 15:12:56 +00:00
David Ayers
e6482533ee * GSWeb.framework/GSWApplication+Defaults.m
(GSWeb_InitializeGlobalAppDefaultOptions): Shorten and make
	more readable via local LOGOPT and LOGOPT_NC macro.
	(NSUSERDEFAULTS, INIT_DFLT_OBJ, INIT_DFLT_BOOL, INIT_DFLT_INT)
	(INIT_DFLT_FLT): New macros.
	(globalAppDefaultOptions): Make static.
	(_userDefaults): New static local.
	(GSWeb_ApplicationDebugSetChange): Remove NDEBUG conditional
	compile.
	(_dflt_*, _dflt_init_*): New static variables to cache default
	values.
	(set/getDefaultValues): Use new macros and static variables.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19937 72102866-910b-0410-8b05-ffd578937521
2004-08-29 16:37:21 +00:00
David Ayers
8569f10e6c * GSWeb.framework/GNUmakefile: Add GSWApplication+Defaults.m.
* GSWeb.framework/GSWApplication.m:
        (globalAppDefaultOptions, WOStrictFlag)
        (GSWeb_ApplicationDebugSetChange,
        * GSWApplicationSetDebugSetOption)
        (GSWeb_AdjustVolatileNSArgumentDomain)
        (GSWeb_InitializeGlobalAppDefaultOptions)
        (GSWeb_InitializeDebugOptions)
        (GSWeb_DestroyGlobalAppDefaultOptions)
        ((GSWApplicationDefaults), (UserDefaults)): Move from here to...
        * GSWeb.framework/GSWApplication+Defaults.m: ... here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19931 72102866-910b-0410-8b05-ffd578937521
2004-08-28 12:00:03 +00:00
David Ayers
24679f8730 * GSWeb.framework/GSWApplication.h
* GSWeb.framework/GSWApplication.m: Prepare split off of
        GSWApplication+Defaults.m.
        (_initAdaptorsWithUserDefaults:, _argsDictionaryWithUserDefaults:)
        (_initRegistrationDomainDefaults, _initUserDefaultsKeys)
        Move from main method list to GSWApplicationDefaults category.
        (setContextClassName:, contextClassName, setResponseClassName:)
        (responseClassName, setRequestClassName:, requestClassName)
        Move from GSWApplicationE to GSWApplicationDefaults category.
        (GSWApplicationSetDebugSetOption): Move to bottom.
        (GSWeb_ApplicationDebugSetChange): Rename from
        GSWebApplicationDebugSetChange and move to bottom.
        (GSWeb_AdjustVolatileNSArgumentDomain)
        (GSWeb_InitializeGlobalAppDefaultOptions)
        (GSWeb_InitializeDebugOptions)
        (GSWeb_DestroyGlobalAppDefaultOptions): New private functiions
        by extracting old code.
        (GSWApplicationMainReal): Use new extracted functions.  Minor
        reformatting.
        ([+dealloc]): Use new extracted functions.
        ([-createRequestWithMethod:uri:httpVersion:]) Use new name for
        GSWeb_ApplicationDebugSetChange.
        ((UserDefaults)): Move entire Category to the bottom.

        ([-lockedInitComponentBearingFrameworksFromBundleArray]):
	Comment unused variable to avoid warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19930 72102866-910b-0410-8b05-ffd578937521
2004-08-28 11:17:33 +00:00
David Ayers
7023f5b87c Correct ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19663 72102866-910b-0410-8b05-ffd578937521
2004-07-01 11:48:20 +00:00
Dave Wetzel
2f922e88fc *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19538 72102866-910b-0410-8b05-ffd578937521
2004-06-16 22:02:51 +00:00
David Ayers
c5a9ab74ec * GSWeb.framework/GSWDeclarationParser.m (-[tryParseBoolean]):
Make more robust and allow upper and lower case variants and
        single letter variants of both YES/NO and true/false.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19525 72102866-910b-0410-8b05-ffd578937521
2004-06-15 12:01:33 +00:00
David Ayers
b17ca76bb5 Fix last ChangeLog cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19524 72102866-910b-0410-8b05-ffd578937521
2004-06-15 11:07:49 +00:00
David Ayers
c7b9ac28c3 * GSWeb.framework/GSUtils.m (boolValueWithDefaultFor): Do not
reimplement defaults bool evaluation semantics differently
        from -base / Foundation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19520 72102866-910b-0410-8b05-ffd578937521
2004-06-15 10:06:41 +00:00
Dave Wetzel
7b69f0d37f mac fixes see file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19513 72102866-910b-0410-8b05-ffd578937521
2004-06-14 00:06:03 +00:00
Dave Wetzel
2b20453249 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19439 72102866-910b-0410-8b05-ffd578937521
2004-06-01 22:56:05 +00:00
David Ayers
c9da1ff0de * GSWeb.framework/GSWStatisticsStore.m
([GSWStatisticsStore _memoryUsage]): Remove usage of pidstat
        and pidstatm.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19368 72102866-910b-0410-8b05-ffd578937521
2004-05-18 09:48:42 +00:00
David Ayers
3b1ee04d74 * GSWeb.framework/GSWUtils.h/m: (struct proc_s, proc_t): Removed.
(pidstat, pidstatm, pidproccontent): Removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19367 72102866-910b-0410-8b05-ffd578937521
2004-05-18 09:45:21 +00:00
David Ayers
41c36413c4 * GSWeb.framework/GSWProcFS.h/m: Make class more portable.
Replace all system dependent types with standard types.
        Replace usage of NSDebugFLog with NSDebugMLog in methods.
        ([GSWProcFSProcInfo filledProcInfo]): Use -processIdentifier
        instead of getpid.
        ([GSWProcFSProcInfo filledProcInfoWithPID:]): Update
        types. Use standard GC macro.
        ([GSWProcFSProcInfo initFilledWithPID:]): Update types.
        ([GSWProcFSProcInfo description]): Use NSPageSize instead of
        getpagesize.  Remove obsolete casts.
        ([GSWProcFSProcInfo contentOfProcFile:]): Use standard
        NSString API to read the file.
        ([GSWProcFSProcInfo contentOfPIDFile:]): Adapt to new types
        and reformat.
        ([GSWProcFSProcInfo residentMemory]),
        ([GSWProcFSProcInfo sharedMemory]): Adapt to new types.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19366 72102866-910b-0410-8b05-ffd578937521
2004-05-18 09:11:13 +00:00
David Ayers
862767b693 Add missing ChangeLog entry of hasGSWComponents deactivation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19365 72102866-910b-0410-8b05-ffd578937521
2004-05-18 08:43:07 +00:00
David Ayers
f5a95398d3 Give proper credit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19359 72102866-910b-0410-8b05-ffd578937521
2004-05-17 06:39:30 +00:00
David Ayers
c22184bb50 * config.mak.in: Replace LIBWRAP with AUX_LIBS so that they
will be included in gsweb.make makefile fragment.
	* configure.ac: Fine tune check to test whether we need
	libnsl.
	* GSWeb.framework/gsweb.gsdoc: Remove obsolete documentation
	of libwrap realted build option.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19355 72102866-910b-0410-8b05-ffd578937521
2004-05-16 19:24:27 +00:00
David Ayers
477c429eca * GSWeb.framework/GSWAction.m,
* GSWeb.framework/GSWApplication.m,
	* GSWeb.framework/GSWDirectAction.m,
	* GSWeb.framework/GSWSession.m,
	* GSWeb.framework/GSWTemplateParser.m: Do not initialize
	va_list	with NULL.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19352 72102866-910b-0410-8b05-ffd578937521
2004-05-16 15:57:09 +00:00
David Ayers
5966661c93 * GSWeb.framework/GNUmakefile: Make GSWDefines.h a public
header.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19345 72102866-910b-0410-8b05-ffd578937521
2004-05-16 08:24:56 +00:00
Manuel Guesdon
c7e611146f 2004-05-14 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19322 72102866-910b-0410-8b05-ffd578937521
2004-05-14 12:14:28 +00:00
David Ayers
c2b2b88402 * GSWeb.framework/NSString+HTML.m: Include limits.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19248 72102866-910b-0410-8b05-ffd578937521
2004-05-06 14:03:34 +00:00
David Ayers
fa6af67346 * GSWeb.framework/GSWDefines.h: New file.
* GSWeb.framework/GSWeb.h: Include GSWDefines.h.

        * GSWeb.framework/GSWApplication.h: Use GSW_EXPORT instead of
        export.  Fixed some whitespace issues.
        * GSWeb.framework/GSWBaseParser.h: Ditto.
        * GSWeb.framework/GSWConstants.h: Ditto.
        * GSWeb.framework/GSWDebug.h: Ditto.
        * GSWeb.framework/GSWDefaultAdaptor.h: Ditto.
        * GSWeb.framework/GSWElement.h: Ditto.
        * GSWeb.framework/GSWHTMLAttrLexer.h: Ditto.
        * GSWeb.framework/GSWHTMLAttrParser.h: Ditto.
        * GSWeb.framework/GSWHTMLLexer.h: Ditto.
        * GSWeb.framework/GSWHTMLParser.h: Ditto.
        * GSWeb.framework/GSWPageDefLexer.h: Ditto.
        * GSWeb.framework/GSWPageDefParser.h: Ditto.
        * GSWeb.framework/GSWResourceManager.h: Ditto.
        * GSWeb.framework/GSWUtils.h: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19247 72102866-910b-0410-8b05-ffd578937521
2004-05-06 13:57:00 +00:00
David Ayers
a15ae8caa7 * GSWeb.framework/GSWSession.h/m
([GSWSession permanentPageCacheSize], [GSWSession pageCacheSize]):
        Replace uint with unsigned int.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19246 72102866-910b-0410-8b05-ffd578937521
2004-05-06 13:55:49 +00:00
David Ayers
1fe33a8239 * GSWeb.framework/GSWDefaultAdaptor.m: Whitespace update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19245 72102866-910b-0410-8b05-ffd578937521
2004-05-06 12:53:22 +00:00
David Ayers
01582f161b * GSWAdaptors/common/common.make: Whitespace update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19244 72102866-910b-0410-8b05-ffd578937521
2004-05-06 12:42:19 +00:00
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