Commit graph

646 commits

Author SHA1 Message Date
Dave Wetzel
39c130d0f5 * GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
* GSWExtensions/GNUmakefile
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
* GSWExtensions/GSWExceptionPage.gswc/GSWExceptionPage.gswd
use exclamation.png. exclamation.svg is not displayed inline in mozilla 
due to a bug in mozilla.
* GSWExtensions/WebServerResources/exclamation.png
* GSWExtensions/WebServerResources/exclamation.svg
new file
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html
* GSWExtensions/GSWExceptionPage.gswc/GSWExceptionPage.html
better web design
* GSWeb/GSWApplication.m
-path
get path from _resourceManager
_resetCache
do not call _clearCache, maybe we should trash the _componentDefinitionCache?
_finishInitializingSession:
make empty, still seems to work
+_applicationClass
don not use _applicationGSWBundle
* GSWeb/GSWResourceManager.h
* GSWeb/GSWResourceManager.m
major redesign with WO 4.5 docs in mind.
* GSWeb/GSWImageButton.m
refactor resourceManager code
* GSWeb/GSWeb.h
remove GSWBundle class
* Testing/DynamicElements
added Image test.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30806 72102866-910b-0410-8b05-ffd578937521
2010-06-22 05:02:29 +00:00
Dave Wetzel
c5b731b3ca use [GSMimeDocument encodingFromCharset:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30783 72102866-910b-0410-8b05-ffd578937521
2010-06-19 05:56:33 +00:00
Dave Wetzel
42c4a4c771 * GSWeb/GSWContext.m
- computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary
use boolValue.
This fixes ?wosid in links where it not has to be.
* GSWeb/GSWMessage.h
remove _contentEncodingIMP, GSWMessage_contentEncoding
* GSWeb/GSWMessage.m
remove contentEncodingSEL, GSWMessage_contentEncoding()
* GSWeb/GSWUtils.h
remove NSStringEncoding
remove + encodingNamed:
* GSWeb/GSWUtils.m
remove encodingsByName
remove + encodingNamed:
* GSWeb/GSWResponse.h
remove GSWResponse_contentEncoding
* GSWeb/GSWBundle.m
use [GSMimeDocument encodingFromCharset:encodingObject]
not + encodingNamed (which we trashed above)



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30782 72102866-910b-0410-8b05-ffd578937521
2010-06-19 05:48:58 +00:00
Dave Wetzel
a4b0f2705b minor cleanups, avoid missing filename message to logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30770 72102866-910b-0410-8b05-ffd578937521
2010-06-17 10:40:57 +00:00
Dave Wetzel
bf698d682f * GSWeb/Resources/languages.plist
add more languages
* GSWeb/GSWHyperlink.m
_appendQueryStringToResponse:inContext:requestHandlerPath:htmlEscapeURL:
use encodeAsCGIFormValuesEscapeAmpersand: not encodeAsCGIFormValues
appendAttributesToResponse:inContext:
use _appendQueryStringToResponse:inContext:requestHandlerPath:htmlEscapeURL: 
not _appendQueryStringToResponse:inContext:
* GSWeb/GSWSession.m
do not dealloc _autoreleasePool in dealloc
This seems to fix 
* GSWeb/NSDictionary+HTML.h
* GSWeb/NSDictionary+HTML.m
fix typo in method name encodeAsCGIFormValuesEscapeAmpersand
* GSWeb/GSWActionURL.m
use _appendQueryStringToResponse:inContext:requestHandlerPath:htmlEscapeURL: 
not _appendQueryStringToResponse:inContext:
* GSWeb/GSWDynamicURLString.m
disable NSLog
* GSWeb/GSWSessionStore.m
_checkInSessionForContext:
enable [session _releaseAutoreleasePool]
add comment



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30764 72102866-910b-0410-8b05-ffd578937521
2010-06-16 09:20:13 +00:00
Dave Wetzel
416e6cad91 * GSWeb/GSWDeployedBundle.m
remove local NSAutoreleasePool
* configure.ac
GSWeb.framework -> GSWeb
* configure
regenerate



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30699 72102866-910b-0410-8b05-ffd578937521
2010-06-14 04:39:51 +00:00
Dave Wetzel
bd96878757 rename all *.framework top level directories to their basename.
* GSWDatabase/WODisplayGroup.m
remove local NSAutoreleasePool
adjust makefiles



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30698 72102866-910b-0410-8b05-ffd578937521
2010-06-14 04:19:25 +00:00
Dave Wetzel
93f2b82324 * Examples/hello/Main.m
add DirectAction to avoid error messages
* GSWeb.framework/GSWEmbeddedObject.m
include NSObject+GNUstepBase.h
* GSWeb.framework/GSWConfig.h
remove GSWOPTVALUE_AcceptedContentEncoding
* GSWeb.framework/GSWResponse.h
remove acceptedEncodings
add + compressableContentTypes
add + setCompressableContentTypes:
remove usesless @interface/@end 
* GSWeb.framework/GSWResponse.m
add compressableContentTypesCache
add + compressableContentTypes
add + setCompressableContentTypes:
remove acceptedEncodings
remove usesless @implementation/@end 
add _browserSupportsCompression:
refactor _finalizeContentEncodingInContext:
* GSWeb.framework/GSWConstants.h
* GSWeb.framework/GSWConstants.m
remove GSWOPT_AcceptedContentEncoding
* GSWeb.framework/GSWComponent.m
do not call setAcceptedEncodings on response.
* GSWeb.framework/GSWApplication.h
* GSWeb.framework/GSWApplication+Defaults.m
remove + acceptedContentEncoding
remove + acceptedContentEncodingArray
remove + setAcceptedContentEncoding:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30697 72102866-910b-0410-8b05-ffd578937521
2010-06-13 21:51:06 +00:00
Dave Wetzel
21d987fbdc * Testing/DynamicElements
Ported to WO names.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30689 72102866-910b-0410-8b05-ffd578937521
2010-06-12 01:18:12 +00:00
Dave Wetzel
514d24d161 * GSWeb.framework/GNUmakefile
* GSWeb.framework/WOKeyValueUnarchiver.m/h
add WOKeyValueUnarchiver
* GSWeb.framework/GSWComponentDefinition.m
add check, reformat
* GSWeb.framework/GSWBundle.m
add WOKeyValueUnarchiver
initializeObject: fromArchive:
use WOKeyValueUnarchiver to create objects
* GSWeb.framework/GSWComponent.m
validateTakeValue:forKeyPath:
fix path problem on multiple "." like foo.bar.test
add unarchiver: objectForReference:
* Examples/WebBookStore1/Main.wo/Main.woo
fix class of authorDG WODisplayGroup



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30647 72102866-910b-0410-8b05-ffd578937521
2010-06-10 09:37:23 +00:00
Dave Wetzel
705f8cb1cf * GSWDatabase/WODisplayGroup.m
compiles without warning
cleanup, removed logs,
added exceptions
* GSWDatabase/WODisplayGroup.h
cleanup includes
* Examples/WebBookStore1/Main.m
removed create and drop tables.
* Examples/WebBookStore1/WebBookStore1_main.m
adapt to WO naming
* Examples/WebBookStore1/Main.gswc -> Main.wo
* Examples/WebBookStore1/GNUmakefile
updated
* Examples/WebBookStore1/Application.h
* Examples/WebBookStore1/DirectAction.h
* Examples/WebBookStore1/DirectAction.m
* Examples/WebBookStore1/Session.h
* Examples/WebBookStore1/Main.h
WO naming
* Examples/WebBookStore1/README
new file
* Examples/WebBookStore1/BookStore.eomodeld/index.eomodeld
added more sample data to connection dictionary
* GNUmakefile
add GSWDatabase to main project makefile



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30643 72102866-910b-0410-8b05-ffd578937521
2010-06-10 03:08:52 +00:00
Dave Wetzel
0a3ed96e5e * Examples/hello/Main.m
GSW* -> WO*
* Examples/hello/HelloPage.h
* Examples/hello/Main.h
wrap headers in #ifdef



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30642 72102866-910b-0410-8b05-ffd578937521
2010-06-09 21:38:01 +00:00
Dave Wetzel
a1c26141d1 validateTakeValue: forKeyPath:
fix for paths where an object in the path is nil



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30607 72102866-910b-0410-8b05-ffd578937521
2010-06-07 18:49:24 +00:00
Dave Wetzel
6b9d6fb20e * GSWeb.framework/GSWApplication.m
fixed typo in include
	* GSWeb.framework/GSWString.m
	removed unused IMP caching



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30585 72102866-910b-0410-8b05-ffd578937521
2010-06-05 21:45:52 +00:00
Dave Wetzel
0c43a77fd2 * GSWExtensionsGSW.framework/GSWFileUploadComponent.m
* GSWExtensionsGSW.framework/GSWLogin.m
	removed logs
	* GSWExtensionsGSW.framework/GNUmakefile
	added ADDITIONAL_OBJCFLAGS = -Werror-implicit-function-declaration
	* GSWExtensionsGSW.framework/GSWCacheElement.m
	removed logs, use object_getClassName
	* GSWExtensionsGSW.framework/GSWValidationFailureComponent.m
	* GSWExtensionsGSW.framework/GSWTabComponent.m
	* GSWExtensionsGSW.framework/GSWFileUploadFormComponent.m
	* GSWExtensionsGSW.framework/GSWSimpleFormComponent.m
	* GSWeb.framework/GSWApplication.m
	removed logs, _validateAPI
	ClassIsKindOfClass -> GSObjCIsKindOf
	* GSWeb.framework/GSWAction.m
	include <GNUstepBase/NSObject+GNUstepBase.h>
	removed logs and unused (commented) code
	* GSWeb.framework/GSWResourceManager.h
	removed _validateAPI
	* GSWeb.framework/GSWImageButton.m
	added #include <GNUstepBase/NSObject+GNUstepBase.h>
	removed logs and unused (commented) code
	* GSWeb.framework/NSString+HTML.h
	changed int to NSUInteger / NSInteger
	* GSWeb.framework/GSWResourceManager.m
	removed logs, _validateAPI
	* GSWeb.framework/GSWContext.m 
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWRequestHandler.m
	include <GNUstepBase/NSObject+GNUstepBase.h>
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/NSString+HTML.m
	include <GNUstepBase/NSString+GNUstepBase.h>
	changed int to NSUInteger
	use memmove in GSWMemMove macro
	disabled testStringByConvertingHTML
	removed logs
	fixed warnings
	* GSWeb.framework/GSWMultiKeyDictionary.m
	removed logs
	* GSWeb.framework/GSWVBScript.m
	removed logs
	* GSWeb.framework/NSNonBlockingFileHandle.m
	removed logs
	* GSWeb.framework/GSWStatisticsStore.h
	removed useless @interface / @end for the same class
	* GSWeb.framework/GSWLifebeatThread.m
	removed include <GNUstepBase/GSCategories.h>
	removed logs
	* GSWeb.framework/GSWStatisticsStore.m
	removed logs
	include <GNUstepBase/NSObject+GNUstepBase.h>
	include <GNUstepBase/NSString+GNUstepBase.h>
	implement _purgePathsStatistics, _updatePathsStatisticsWithPaths
	removed useless @implementation / @end for the same class
	* GSWeb.framework/GSWCookie.m
	removed logs
	* GSWeb.framework/GNUmakefile
	added ADDITIONAL_OBJCFLAGS = -Werror-implicit-function-declaration
	* GSWeb.framework/GSWRecording.m
	removed logs
	* GSWeb.framework/GSWToggle.m
	removed logs
	* GSWeb.framework/GSWMessage.m
	include <GNUstepBase/NSObject+GNUstepBase.h>
	globalDefaultEncoding = [NSString defaultCStringEncoding];
	(see http://wiki.gnustep.org/index.php/GSWebFAQ )
	use NSUInteger for index
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWDefaultAdaptor.m
	include <GNUstepBase/NSObject+GNUstepBase.h>
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWJavaScript.m
	* GSWeb.framework/GSWClientSideScript.m
	removed logs
	* GSWeb.framework/GSWNestedList.m
	removed logs
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWEmbeddedObject.m	
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWRequest.h
	removed _validateAPI
	* GSWeb.framework/GSWRequest.m
	add includes
	removed _validateAPI
	removed logs
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWUtils.h
	unsigned int -> NSUInteger
	* GSWeb.framework/Resources/languages.plist
	added languages
	* GSWeb.framework/GSWUtils.m
	add includes
	unsigned int -> NSUInteger
	removed logs
	* GSWeb.framework/GSWComponentReference.m	
	removed logs
	* GSWeb.framework/GSWGeometricRegion.m
	add includes
	removed logs
	* GSWeb.framework/GSWKeyValueAssociation.m
	add includes
	removed logs
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWHiddenField.m
	removed logs
	* GSWeb.framework/GSWParam.m
	add includes
	removed logs
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/NSString+Trimming.h
	* GSWeb.framework/NSString+Trimming.m
	removed longValue, ulongValue, longLongValue;
	removed logs
	* GSWeb.framework/GSWStaticResourceRequestHandler.m
	removed logs
	* GSWeb.framework/GSWURLValuedElementData.m
	removed logs
	* GSWeb.framework/GSWDirectAction.m
	takeValue -> setValue
	removed logs
	int -> NSUInteger
	* GSWeb.framework/GSWComponentDefinition.m
	add includes
	removed logs
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWAssociation.m
	add includes
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	removed logs
	* GSWeb.framework/GSWSession.h
	* GSWeb.framework/GSWSession.m
	unsigned int-> NSUInteger
	add includes
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	removed logs
	David Ayers: pls check sleepInContext!
	removed _validateAPI, __setContextCounterIncrementingEnabled, __counterIncrementingEnabledFlag
	* GSWeb.framework/GSWFileUpload.m
	removed logs
	* GSWeb.framework/GSWApplet.m
	add includes
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWGenericElement.m
	removed logs
	GSWeb.framework/GSWTemplateParser.m
	add includes
	* GSWeb.framework/GSWTemporaryElement.m		
	removed logs
	* GSWeb.framework/GSWResponse.m
	add include
	removed docStructure checks
	removed logs
	* GSWeb.framework/GSWProjectBundle.m
	add include
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	removed logs
	* GSWeb.framework/GSWWorkerThread.m
	added - drain
	removed NSLog
	* GSWeb.framework/GSWApplication+Defaults.m
	add include			
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	removed logs
	* GSWeb.framework/GSWActiveImage.m
	* GSWeb.framework/GSWDirectActionRequestHandler.m
	* GSWeb.framework/GSWConstantValueAssociation.m
	* GSWeb.framework/NSData+Compress.m
	removed logs
	* GSWeb.framework/GSWHTMLStaticElement.m	
	add includes
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	removed logs
	* GSWeb.framework/GSWServerSessionStore.m
	removed logs
	* GSWeb.framework/GSWAdaptor.m
	add includes
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWDeployedBundle.m
	removed logs
	add includes
	* GSWeb.framework/GSWSubmitButton.m
	removed logs
	* GSWeb.framework/GSWDeclarationParser.m
	add includes
	removed logs
	* GSWeb.framework/GSWBundle.m
	add includes
	removed logs
	clearCache
	* GSWeb.framework/GSWWOCompatibility.h
	fixed typo in WOMessage
	* GSWeb.framework/GSWSessionTimeOut.m
	removed logs
	* GSWeb.framework/GSWPopUpButton.m	
	add includes
	* GSWeb.framework/GSWComponent.m
	add includes
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWHTTPIO.m
	add include
	* GSWeb.framework/GSWBindingNameAssociation.m
	takeValue -> setValue
	* GSWeb.framework/GSWHTMLTemplateParser.m
	removed logs
	* GSWeb.framework/GSWResetButton.m
	removed logs
	* GSWeb.framework/GSWDebug.h/m
	disabled log funtions
	* GSWeb.framework/GSWActionRequestHandler.m
	add includes
	removed logs
	* GSWeb.framework/GSWSwitchComponent.m
	* GSWeb.framework/GSWSessionTimeOutManager.m
	removed logs
	* GSWeb.framework/GSWMailDelivery.m
	add includes
	removed logs
	* GSWeb.framework/GSWDynamicURLString.h
	* GSWeb.framework/GSWDynamicURLString.m
	unsigned int -> NSUInteger
	removed checkURL
	add includes
	* GSWeb.framework/GSWProcFS.m		
	removed logs
	* GSWeb.framework/GSWApplication.h
	removed _validateAPI
	* GSWeb.framework/GSWResourceRequestHandler.m
	add include
	removed logs
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	* GSWeb.framework/GSWSessionStore.h
	removed _validateAPI
	* GSWeb.framework/GSWSessionStore.m
	add include
	removed _validateAPI
	removed logs
	* GSWExtensions.framework/GSWLongResponsePage.m
	* GSWExtensions.framework/GSWExceptionPage.m
	* GSWExtensions.framework/GSWMetaRefresh.m
	* GSWExtensions.framework/GSWCollapsibleComponentContent.m
	removed logs
	* GSWExtensions.framework/GNUmakefile
	added ADDITIONAL_OBJCFLAGS = -Werror-implicit-function-declaration
	* GSWExtensions.framework/GSWStatsPage.m
	removed logs
	unsigned int -> NSUInteger
	* Examples/hello/HelloPage.wo/HelloPage.html
	* Examples/hello/Main.wo/Main.html
	* Examples/hello/Hello.m
	convert to UTF8
	
	The change of
	LOGObjectFnNotImplemented(); -> [self notImplemented: _cmd];
	will show where we need to implement functionality.
	Please send bug reports! -- dw



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30584 72102866-910b-0410-8b05-ffd578937521
2010-06-05 21:08:12 +00:00
Dave Wetzel
23f0c27f9c * Examples/hello/GNUmakefile
check for platform and use frameworks or libs



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30571 72102866-910b-0410-8b05-ffd578937521
2010-06-04 07:23:59 +00:00
Dave Wetzel
0e6ded4a5b * config.h.in
changed RCS_ID to avoid warnings

* GSWeb.framework/WebObjects/WebObjects.h
* GSWeb.framework/WebObjects/WebObjects.h
  check if GSWEB_WONAMES was defined before

* GSWeb.framework/GSWResponse.m
  fix typo

* GSWeb.framework/GSWDeclarationParser.m
  remove non-existing header file



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30570 72102866-910b-0410-8b05-ffd578937521
2010-06-04 06:50:12 +00:00
Dave Wetzel
a31cede1f7 * GSWSessionStore.m/h: cleanup locking
* GSWComponentContent.m: fix bug #28910, reported by Sergey Golovin
* GSWServerSessionStore.m: remove logs



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30265 72102866-910b-0410-8b05-ffd578937521
2010-04-30 17:59:49 +00:00
David Ayers
411bedc4a6 * GSWeb.framework/GSWMultiKeyDictionary.h/m:
Adapt API to current NSDictionary API.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30231 72102866-910b-0410-8b05-ffd578937521
2010-04-24 12:26:59 +00:00
Dave Wetzel
186f386a23 updated to flags really needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30225 72102866-910b-0410-8b05-ffd578937521
2010-04-23 16:52:20 +00:00
Dave Wetzel
9ef5289600 fixed description
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30220 72102866-910b-0410-8b05-ffd578937521
2010-04-22 17:39:55 +00:00
Dave Wetzel
32433df47e fix (
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30217 72102866-910b-0410-8b05-ffd578937521
2010-04-22 08:00:44 +00:00
Dave Wetzel
629389a62b GSWApplication.*:
* use [[NSThread currentThread] threadDictionary]
GSWMultiKeyDictionary.m
* fix format
GSWRequest.m
* fix potential double release
GSWComponentRequestHandler.*
* add comments for rejectFavicon
GSWSessionTimeOutManager.m
* fix index
NSString+HTML.m, GSWBaseParser.m, GSWDeclarationParser.m, GSWHTMLRawParser.m
* use NSZoneMalloc()



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30216 72102866-910b-0410-8b05-ffd578937521
2010-04-22 07:57:58 +00:00
Dave Wetzel
950b719bf5 * fixed memory leak
* ported to OS X (beta)
* depricated GSW naming



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30215 72102866-910b-0410-8b05-ffd578937521
2010-04-22 04:28:50 +00:00
Dave Wetzel
c7f57a1ad3 * Many warnings fixed.
* Removed GDL dependency.
* NSKeyValueCoding is now MacOS X compatible.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30172 72102866-910b-0410-8b05-ffd578937521
2010-04-16 00:18:46 +00:00
Dave Wetzel
4165f5c49e added NSObject+XML for monitor support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30166 72102866-910b-0410-8b05-ffd578937521
2010-04-15 06:35:53 +00:00
Dave Wetzel
2e97279e10 removed GSWRedirect.gswc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30165 72102866-910b-0410-8b05-ffd578937521
2010-04-15 06:32:08 +00:00
Dave Wetzel
5cbad51d63 new GSWDatabase Framework
Monitoring additions



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30164 72102866-910b-0410-8b05-ffd578937521
2010-04-15 06:12:00 +00:00
Dave Wetzel
89e2a50334 2010-04-15 David Wetzel <dave@turbocat.de>
new GSWDatabase Framework for EOF/GDL based applications
    not tested yet!
    GSWeb.framework:
    * Moved WODisplayGroup.? to GSWDatabase
    * GSWApplication: removed EOF
    * small cleanups   



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30163 72102866-910b-0410-8b05-ffd578937521
2010-04-15 05:58:08 +00:00
Dave Wetzel
694de1fe8e use isSubclassOfClass
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30158 72102866-910b-0410-8b05-ffd578937521
2010-04-14 13:20:16 +00:00
Dave Wetzel
68dc6d9e5d changed flags, clean now
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30146 72102866-910b-0410-8b05-ffd578937521
2010-04-14 09:07:49 +00:00
Dave Wetzel
39fae33fc7 GSWeb.framework/GSWApplication.m
* added _setHostAddress:, hostAddress 

GSWeb.framework/GSWRequest.h
* added _originatingAddress, _originatingPort

GSWeb.framework/GSWDisplayGroup.h
* changed undoManager to be id as compile fix for TCSDB.

GSWeb.framework/GSWApplication+Defaults.m
* added hostAddress

GSWeb.framework/GSWHTTPIO.h
* added _setAlwaysAppendContentLength

GSWeb.framework/GSWHTTPIO.m
* added _alwaysAppendContentLength
* added + (void) _getConnectionInfoFromHandle:remoteAddress:remotePort:
* set originatingAddress and port to request now.

GSWeb.framework/GSWApplication.h
* added _hostAddress, hostAddress, _setHostAddress
* removed lots of @interface lines.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@29321 72102866-910b-0410-8b05-ffd578937521
2010-01-20 07:52:01 +00:00
Dave Wetzel
17d66ecc41 fixed hopefully ;)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28354 72102866-910b-0410-8b05-ffd578937521
2009-06-15 14:21:09 +00:00
Dave Wetzel
6a11d18b06 added -g to include debug info as default
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28353 72102866-910b-0410-8b05-ffd578937521
2009-06-15 14:07:31 +00:00
Dave Wetzel
c27ac43dda GSWAdaptors/Apache2/mod_gsw.c:
* removed unused read_sock()
    * reformated read_sock_line()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28347 72102866-910b-0410-8b05-ffd578937521
2009-06-12 13:48:10 +00:00
David Ayers
91e429d37f * configure.ac: Warn if GDL2 isn't found.
* configure: Regenerate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28213 72102866-910b-0410-8b05-ffd578937521
2009-04-14 14:15:39 +00:00
David Ayers
0bb2a9f983 * configure.ac: Add check for zlib and libpng. Do not clobber LIBS
and AUX_LIBS for libwrap check.
	* configure: Regenerate.
	* config.h.in (HAVE_LIBZ,HAVE_ZLIB): Update autoconf test to canonical
	name.
	(HAVE_LIBPNG): Add new test for libpng.
	* GSWeb.framework/GSWPngImageInfo.h/m: New files.
	* GSWeb.framework/GSWeb.h (GSWPngImageInfo): Add declaration and include.
	* GSWeb.framework/GNUmakefile (GSWPngImageInfo.h/m): Add files.
	* GSWeb.framework/GSWImageInfo.m (GSWPngImageInfo): Remove reference to
	class.
	* GSWeb.framework/GSWResponse.m (HAVE_LIBZ,HAVE_ZLIB): Update references.
	* GSWeb.framework/NSData+Compress.h/m (HAVE_LIBZ,HAVE_ZLIB): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28183 72102866-910b-0410-8b05-ffd578937521
2009-04-07 09:17:57 +00:00
David Ayers
b6bbd5b0cb * GSWeb.framework/GSWeb.h (GSWImageInfo): Foward declare.
* GSWeb.framework/GSWHTMLDynamicElement.h/m
	(-/+[_frameworkNameForAssociation:inComponent:]): Convert to class
	method.  Cleanup implementation.
	* GSWeb.framework/GSWImage.m
	(+[_appendFilenameToResponse:inContext:framework:filename:width:height:]):
	Add handling for image url and cleanup implementation.
	(-[_appendFilenameToResponse:inContext:]): Delegate to class method.
	* GSWeb.framework/GSWResourceManager.h/m
	(-[_imageInfoForUrl:fileName:framework:languages:]): New method.
	(-[errorMessageUrlForResourceNamed:inFramework:]): Reformat.
	(-[_cacheData:]): Ditto.

	* Examples/WebBookStore1/BookStore.eomodeld/index.eomodeld:
	Update adaptor name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28182 72102866-910b-0410-8b05-ffd578937521
2009-04-06 22:22:14 +00:00
David Ayers
8248a705a0 * GSWeb.framework/GSWeb.h: Include new header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28180 72102866-910b-0410-8b05-ffd578937521
2009-04-05 12:50:53 +00:00
David Ayers
e77389e825 * GSWeb.framework/GSWImageInfo.h/m: New files.
* GSWeb.framework/GNUmakefile: Include new files.
	* GSWeb.framework/GSWWOCompatibility.h: Include new files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28179 72102866-910b-0410-8b05-ffd578937521
2009-04-05 12:11:55 +00:00
David Ayers
d55743ee2a * GSWeb.framework/GSWDisplayGroup.h (HAVE_GDL2):
Remove fallback to obsolete gnustep-db and default
	to GDL2 headers.
	([GSWDisplayGroup-undoManager]): Expect GDL2 class.
	
	* GSWeb.framework/GSWUtils.m (GSWInitializeAllMisc)
	(NSStringWithObject): Remove special NSNull handling as
	EONull must always map to NSNull anyway.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26958 72102866-910b-0410-8b05-ffd578937521
2008-10-24 07:26:20 +00:00
David Ayers
97b4f55d66 Fix some some formatting of ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26957 72102866-910b-0410-8b05-ffd578937521
2008-10-24 07:18:26 +00:00
Dave Wetzel
51c55c7647 announce close connections for now. bug #24006
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26822 72102866-910b-0410-8b05-ffd578937521
2008-08-28 06:42:53 +00:00
Dave Wetzel
14fdcc1b2c fixed many warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26815 72102866-910b-0410-8b05-ffd578937521
2008-08-20 20:32:10 +00:00
Dave Wetzel
461254c7d3 GSWDirectActionRequestHandler.m set status code in generateNullResponse reformat, remove some logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26782 72102866-910b-0410-8b05-ffd578937521
2008-07-13 22:37:52 +00:00
Dave Wetzel
f37cecd0f5 set status code in generateNullResponse, reformat, remove some logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26781 72102866-910b-0410-8b05-ffd578937521
2008-07-13 22:01:34 +00:00
Dave Wetzel
c31d6814f2 remove NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26729 72102866-910b-0410-8b05-ffd578937521
2008-06-29 13:01:24 +00:00
Dave Wetzel
21f222af84 removed logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26669 72102866-910b-0410-8b05-ffd578937521
2008-06-16 12:51:27 +00:00
Dave Wetzel
c0324a5cf6 * fixed session (re)creation bug
* code cleanups


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26625 72102866-910b-0410-8b05-ffd578937521
2008-06-11 14:50:27 +00:00
David Ayers
b44780f031 * GSWeb.framework/stacktrace.m (PLATFORM_UNIX): Define
PLATFORM_UNIX for OpenBSD.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26573 72102866-910b-0410-8b05-ffd578937521
2008-05-25 21:41:06 +00:00