Commit graph

690 commits

Author SHA1 Message Date
Sebastian Reitenbach
b510389dd7 * GSWeb/GSWApplication+Defaults.m
* GSWeb/GSWApplication.h
          make the defaultUndoStackLimit NSUInteger



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36716 72102866-910b-0410-8b05-ffd578937521
2013-06-09 14:15:29 +00:00
Sebastian Reitenbach
d0f16b2b59 * GSWeb/GSWUtils.m
do not use deprecated method, replace as suggested by warning


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36715 72102866-910b-0410-8b05-ffd578937521
2013-06-09 13:53:39 +00:00
Sebastian Reitenbach
2744d5d2a9 remove remaining stuff in common directory
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36714 72102866-910b-0410-8b05-ffd578937521
2013-06-09 08:44:29 +00:00
Sebastian Reitenbach
f4583f34b8 * GSWAdaptors/Apache/GNUmakefile.in
* GSWAdaptors/Apache/mod_gsweb.c
          do not reference the common directory anymore
        * move files needed by the Apache adaptor from
          common into the Apache directory


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36713 72102866-910b-0410-8b05-ffd578937521
2013-06-09 08:42:09 +00:00
Sebastian Reitenbach
fe3b9ce17c * GSWAdaptors/Apache/mod_gsweb.c
* GSWAdaptors/common/GNUmakefile
        * GSWAdaptors/common/GSWConfig.[h|c]
        * GSWAdaptors/common/GSWLock.h
        * GSWAdaptors/common/GSWStats.c
        * GSWAdaptors/common/GSWUtil.[h|c]
        * GSWAdaptors/common/config.h
          remove #ifdefs of Netscape, Apache and Apache2, only
          leave parts of Apache


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36712 72102866-910b-0410-8b05-ffd578937521
2013-06-09 08:14:21 +00:00
Sebastian Reitenbach
ae7a86c834 * GSWAdaptors/README.txt
note about Apache adaptor to work with OpenBSD Apache
          delete GSWAdaptors/netscape


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36706 72102866-910b-0410-8b05-ffd578937521
2013-06-06 15:06:46 +00:00
Sebastian Reitenbach
37f0c6a624 * GSWAdaptors/common/GSWAppConnectSocket.c
* GSWAdaptors/common/GSWUtil.c
          make the old Apache Adaptor work on OpenBSD
        * GSWAdaptors/Apache/mod_gsweb.c
        * GSWAdaptors/Apache/GNUmakefile-Apache[1|2]x
          remove all #ifdef Apache2, and remove old GNUmakefiles



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36705 72102866-910b-0410-8b05-ffd578937521
2013-06-06 15:01:40 +00:00
Dave Wetzel
720585fe82 * GSWeb/GSWMessage.m
Remove warning
* README
  Change maintainer



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36693 72102866-910b-0410-8b05-ffd578937521
2013-06-03 00:21:09 +00:00
Sebastian Reitenbach
25cd649e64 * GSWAdaptors/Apache/INSTALL
add a missing semicolon, and remove deprecated documentation
        * GSWAdaptors/Apache/mod_gsweb.c
          make it compile with OpenBSD Apache 1.X
        * GSWAdaptors/common/GSWConfig.c
          fix output



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36691 72102866-910b-0410-8b05-ffd578937521
2013-05-31 16:54:17 +00:00
Sebastian Reitenbach
ac2b24d8fb * GSWDatabase/WODisplayGroup.m
uncomment the right method, and use an NSIndexSet
          where needed instead of NSArray


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36690 72102866-910b-0410-8b05-ffd578937521
2013-05-31 14:31:36 +00:00
Sebastian Reitenbach
01a919e50e Fix a format string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36689 72102866-910b-0410-8b05-ffd578937521
2013-05-31 11:44:12 +00:00
Sebastian Reitenbach
96f2f7b252 Fix changelog comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36685 72102866-910b-0410-8b05-ffd578937521
2013-05-31 08:34:21 +00:00
Sebastian Reitenbach
6526169e13 * GSWeb/GSWApplication.[h|m]
* GSWeb/GSWComponentRequestHandler.m
        * GSWeb/GSWMultiKeyDictionary.m
          make _globalLock a NSRecursiveLock to fix problem
          I introduced with SVN rev 36250, fixes bug 39092


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36684 72102866-910b-0410-8b05-ffd578937521
2013-05-31 08:30:52 +00:00
Sebastian Reitenbach
07ed53b16d * GSWeb/GSWHTTPIO.m
use the file handle in non-blocking mode in GNUstep
          environment, uses a private GSFileHandle class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36683 72102866-910b-0410-8b05-ffd578937521
2013-05-31 08:28:05 +00:00
Sebastian Reitenbach
e0ca8e7c7e * GSWeb/GSWMessage.[h|]
get rid of bogus #ifndef NO_GNUSTEP

Also tested by Graham Lee on Mac, thanks



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36682 72102866-910b-0410-8b05-ffd578937521
2013-05-31 08:22:17 +00:00
Sebastian Reitenbach
220246339d * GSWeb/GSWElement.h
@class not needed after including full header of that class



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36681 72102866-910b-0410-8b05-ffd578937521
2013-05-30 14:24:38 +00:00
Sebastian Reitenbach
0077c8591e * GSWeb/GSWContext.m
remove useless comparison
        * GSWeb/GSWDeclarationParser.m
          fix some format strings and variables used in there
        * Add method to interface and remove a cast
          from bug report 39088



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36680 72102866-910b-0410-8b05-ffd578937521
2013-05-30 08:23:52 +00:00
Sebastian Reitenbach
65807fb6e8 * GSWeb/GNUmakefile
* GSWeb/GSWProcFS.m
        * GSWeb/GSWUtils.m
        * GSWeb/GSWHTMLStaticElement.m
        * GSWeb/GSWRecording.m
        * GSWeb/NSString+HTML.m
        * GSWeb/GSWMessage.m
        * GSWeb/GSWRequest.m
        * GSWeb/WOKeyValueUnarchiver.m
        * GSWeb/GSWMultiKeyDictionary.m
        * GSWeb/GSWTemporaryElement.m
          fix some format strings, patch based on submission from
          Graham Lee to bug report 39087


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36679 72102866-910b-0410-8b05-ffd578937521
2013-05-29 17:08:16 +00:00
Sebastian Reitenbach
af07675e30 * GSWeb/NSString+HTML.m
* GSWeb/GSWDeclarationParser.m
          make inline functions static to please clang


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36665 72102866-910b-0410-8b05-ffd578937521
2013-05-27 14:40:51 +00:00
Dave Wetzel
2b86cd2dca * GSWExtensions/GSWLongResponsePage.m
* GSWDatabase/WODisplayGroup.m
* GSWeb/GSWHTMLStaticElement.m
* GSWeb/GSWDynamicURLString.m
fix some warnings



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36269 72102866-910b-0410-8b05-ffd578937521
2013-03-05 04:31:52 +00:00
Sebastian Reitenbach
83854b342e * GSWDatabase/WODisplayGroup.h
* GSWDatabase/WODisplayGroup.m
        * GSWExtensions/GSWCollapsibleComponentContent.h
        * GSWExtensions/GSWCollapsibleComponentContent.m
        * GSWExtensions/GSWDictionaryRepetition.m
        * GSWeb/GSWRequest.m
          make the methods in the interface match the 
          methods in the implementation


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36252 72102866-910b-0410-8b05-ffd578937521
2013-03-03 18:11:52 +00:00
Sebastian Reitenbach
52b1c12260 * GSWeb/GSWPngImageInfo.m
remove useless #warning
        * GSWeb/GSWApplication.m
          _globalLock is NSLock, not NSRecursiveLock


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36250 72102866-910b-0410-8b05-ffd578937521
2013-03-03 09:56:49 +00:00
Sebastian Reitenbach
a2021d67ea * GSWDatabase/WODisplayGroup.[h|m]
* GSWeb/GSWUtils.[h|m]
          no need for categories to reimplement things
          already defined in their primary class



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36249 72102866-910b-0410-8b05-ffd578937521
2013-03-03 09:08:50 +00:00
Sebastian Reitenbach
ba2bc5df95 * GSWeb/GSWContext.m
move @interface before @implementation



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36248 72102866-910b-0410-8b05-ffd578937521
2013-03-03 08:38:45 +00:00
Sebastian Reitenbach
bf98c56b9b * GSWeb/GSWResourceManager.m
* GSWeb/GSWHTMLStaticElement.m
          do not use redundant stringWithString:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36247 72102866-910b-0410-8b05-ffd578937521
2013-03-03 08:23:26 +00:00
Sebastian Reitenbach
9248fe8856 * GSWeb/GSWUtils.m
NS(U)Integer conversions


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36246 72102866-910b-0410-8b05-ffd578937521
2013-03-03 02:24:45 +00:00
Sebastian Reitenbach
ec3794334c * GSWeb/GSWComponentDefinition.m
* GSWeb/GSWComponentReference.m
        * GSWeb/GSWContext.m
        * GSWeb/GSWHTMLDynamicElement.m
        * GSWeb/GSWHyperlink.m
        * GSWeb/GSWResourceManager.m
        * GSWeb/GSWResourceRequestHandler.m
          get rid of extaneous parentheses on equality tests


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36245 72102866-910b-0410-8b05-ffd578937521
2013-03-03 02:02:36 +00:00
Sebastian Reitenbach
1fb5357fd3 GSWSessionTimeOutManager conforms to NSLocking protocol
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36244 72102866-910b-0410-8b05-ffd578937521
2013-03-03 01:46:15 +00:00
Sebastian Reitenbach
19c4052089 * regenerate configure from configure.ac
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36237 72102866-910b-0410-8b05-ffd578937521
2013-03-02 18:00:54 +00:00
Dave Wetzel
60f0853e03 add GSWDatabase/Makefile.preamble patch from Sebastian Reitenbach
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36236 72102866-910b-0410-8b05-ffd578937521
2013-03-02 17:39:47 +00:00
Dave Wetzel
6049e5892a * configure.ac
* GSWeb/GSWUtils.m
* GSWeb/GSWApplication+Defaults.m
* GSWeb/GSWHTTPIO.m

Fixed for non-Apple platforms, patch from Sebastian Reitenbach.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36230 72102866-910b-0410-8b05-ffd578937521
2013-03-01 23:56:56 +00:00
Dave Wetzel
2658ffe6b6 * added GSWeb/GSWApplication+Defaults.h
* GSWeb/GNUmakefile: use -Werror
* GSWeb/GSWFileUpload.* added multiple file support
* Testing/DynamicElements/FileUpload1Page.wo added multiple file support
* GSWeb/* fixed warnings on Mountain Lion



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36200 72102866-910b-0410-8b05-ffd578937521
2013-02-27 04:27:07 +00:00
Dave Wetzel
041da71850 * GSWAdaptors/Apache2/mod_gsw.c
modified find_app_by_name() wen dealing with single instances
        include image
        include some css



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@33034 72102866-910b-0410-8b05-ffd578937521
2011-05-14 02:19:04 +00:00
Dave Wetzel
37a13f0222 * GSWeb/GSWContext.h
add @class GSWResourceManager
add WOMarkupType
add _markupType;
reformat
* GSWeb/GSWContext.m
add - (WOMarkupType) markupType
* GSWeb/GSWComponent.h
add - (WOMarkupType) markupType
* GSWeb/GSWComponent.m
add - (WOMarkupType) markupType



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@31558 72102866-910b-0410-8b05-ffd578937521
2010-10-25 00:39:36 +00:00
Richard Frith-MacDonald
b375b9899e warn if gnustep-make not found
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@31304 72102866-910b-0410-8b05-ffd578937521
2010-09-10 13:57:59 +00:00
Dave Wetzel
ea3fe3f1e4 * GSWeb/GSWResourceManager.m
+ GSLanguageFromISOLanguage:
use 2 steps to find language, first supplied one 'ja-jp'
if that fails, use 'ja'



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30859 72102866-910b-0410-8b05-ffd578937521
2010-06-26 02:52:00 +00:00
Dave Wetzel
029c4d499e * GSWeb/GSWResourceManager.m
reformat statics, add TheStringsTableLock
add _cachedStringsTable()
add _cachedStringForKey()
rewrote -stringForKey:inTableNamed:withDefaultValue:inFramework:languages:
use NONESTR, not @"NONE"
* Testing/DynamicElements/ImagePage.h
* Testing/DynamicElements/Resources/Chinese.lproj/Localizable.strings
* Testing/DynamicElements/Resources/Russian.lproj/Localizable.strings
* Testing/DynamicElements/Resources/French.lproj/Localizable.strings
* Testing/DynamicElements/Resources/English.lproj/Localizable.strings
* Testing/DynamicElements/Resources/German.lproj/Localizable.strings
* Testing/DynamicElements/ImagePage.m
* Testing/DynamicElements/ImagePage.wo
add test for GSWResourceManager's -stringForKey:inTableNamed:withDefaultValue:inFramework:languages:
* Testing/DynamicElements/DynamicElements.m
set UTF8 encoding
* Testing/DynamicElements/GNUmakefile
add new files



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30841 72102866-910b-0410-8b05-ffd578937521
2010-06-24 02:10:11 +00:00
Dave Wetzel
3fb75c4004 * GSWeb/GSWResponse.m
* GSWeb/GSWHTTPIO.m
do not add ETag
* GSWeb/GSWResourceRequestHandler.h
add request: argument to _responseForDataAtPath:
* GSWeb/GSWResourceRequestHandler.m
add request: argument to _responseForDataAtPath:
_responseForDataAtPath:request:
generate Last-Modified header
generate ETag header
use hash of modification date and size
(faster than over a large NSData object)
check for if-none-match header



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30832 72102866-910b-0410-8b05-ffd578937521
2010-06-23 01:11:05 +00:00
Dave Wetzel
b8b1e1318e * GSWeb/GSWResourceManager.m
make url prefix dynamic based on [request _applicationURLPrefix]



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30827 72102866-910b-0410-8b05-ffd578937521
2010-06-22 21:56:48 +00:00
Dave Wetzel
4a964c44e5 * GSWExtensions/Resources/Info-gnustep.plist
delete
* GSWExtensions/GNUmakefile
let makefiles generate Info-gnustep.plist



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30825 72102866-910b-0410-8b05-ffd578937521
2010-06-22 18:10:25 +00:00
Dave Wetzel
57f1d3c12c * GSWExtensions/Resources/Info-gnustep.plist
* GSWExtensions/GNUmakefile
fix framework name to be able to load files from the right bundle



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30823 72102866-910b-0410-8b05-ffd578937521
2010-06-22 17:39:11 +00:00
Dave Wetzel
c40c3de8c4 use resourceName, not path :-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30821 72102866-910b-0410-8b05-ffd578937521
2010-06-22 16:39:34 +00:00
Dave Wetzel
5ce84bfb63 * GSWeb/GSWResourceManager.m
split names into pathExtension and name before feeding it into NSBundle.
This is not needed on OSX, but on current -base



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30820 72102866-910b-0410-8b05-ffd578937521
2010-06-22 16:34:38 +00:00
Dave Wetzel
1150369626 * GSWeb/GSWResourceManager.h
* GSWeb/GSWComponent.h
disable GS_ATTRIB_DEPRECATED until a solution is found



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30813 72102866-910b-0410-8b05-ffd578937521
2010-06-22 10:27:16 +00:00
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