Commit graph

54 commits

Author SHA1 Message Date
mguesdon
75bce63bf1 downcase Header keys contants
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@38401 72102866-910b-0410-8b05-ffd578937521
2015-03-11 17:32:56 +00:00
mguesdon
a20748c795 force header keys to lowercase
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@38399 72102866-910b-0410-8b05-ffd578937521
2015-03-11 16:57:56 +00:00
mguesdon
a89a2845ea * GSWeb/GSWBody.m
fix initWithName:...


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37983 72102866-910b-0410-8b05-ffd578937521
2014-07-04 20:10:38 +00:00
mguesdon
48095e5f8b * GSWeb/GSWHyperlink.m
fix -appendAttribute:... for nil href value


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37974 72102866-910b-0410-8b05-ffd578937521
2014-07-01 14:11:26 +00:00
mguesdon
e21810bf90 * GSWeb/GSWAssociation.m
fix EOValidatedObjectUserInfoKey value


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37945 72102866-910b-0410-8b05-ffd578937521
2014-06-11 18:21:08 +00:00
buzzdee
49f8fa1d8d * nearly every file
get rid of RCS_ID

as shortly discussed with David and Manuel



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37929 72102866-910b-0410-8b05-ffd578937521
2014-05-30 18:28:04 +00:00
mguesdon
3f00229ae2 * GSWeb/GSWRadioButtonList.m
Remove escapeHTML association assign (done in GSWInput)
* GSWeb/GSWCheckBoxList.m
  Remove escapeHTML association assign (done in GSWInput)
* GSWeb.framework/GSWInput.m
  Fix -init...


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37923 72102866-910b-0410-8b05-ffd578937521
2014-05-30 10:14:10 +00:00
mguesdon
982a50be25 * GSWDatabase/GSWHTMLDynamicElement.[hm]
add -hasNonURLAttributes
  add -hasURLAttributes
  add -hasConstantAttributes
* GSWeb/GSWRadioButtonList.m
  handle disabled association
  handle other associations (like id, onChange, etc)
* GSWeb/GSWCheckBoxList.m
  handle disabled association
  handle other associations (like id, onChange, etc)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37922 72102866-910b-0410-8b05-ffd578937521
2014-05-29 18:41:21 +00:00
mguesdon
0a37d5bcd6 * GSWeb/GSWConstants.[hm]
add GSWClassName_Component
* GSWeb/GSWComponentDefinition.m
  fix -componentClass to use GSWClassName_Component


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37919 72102866-910b-0410-8b05-ffd578937521
2014-05-29 12:05:16 +00:00
mguesdon
6970f4cd3e * GSWeb/GSWAssociation.h
replace logTakeValue: by _logPullValue:inComponent:
  replace logSetValue: by logPushValue:inComponent:
* GSWeb/GSWAssociation.m
  replace logTakeValue: by _logPullValue:inComponent:
  replace logSetValue: by logPushValue:inComponent:
  respect GNUstep coding standard (curly brackets placement, etc.)
  implement -debugDescription
* GSWeb/GSWConstantValueAssociation.m
  replace logTakeValue: by _logPullValue:inComponent:
  replace logSetValue: by logPushValue:inComponent:
  fix -debugDescription
* GSWeb/GSWKeyValueAssociation.m
  replace logTakeValue: by _logPullValue:inComponent:
  replace logSetValue: by logPushValue:inComponent:
  simplify -description
* GSWeb/GSWKeyValueAssociation.h
  remove unneedded declarations
* GSWeb/GSWConstantValueAssociation.m
  remove unneedded declarations



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37903 72102866-910b-0410-8b05-ffd578937521
2014-05-22 16:49:59 +00:00
mguesdon
80a0b6d349 * GSWeb/GSWUtils.m
fix rangeOfData:range:
* GSWExtensions/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd
  set framework binding
* GSWExtensions/GSWCollapsibleComponentContent.[hm]
  handle framework binding
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
  set framework binding
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd
  set framework binding
* GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd
  set framework binding
* GSWeb/GSWApplication.[hm]
  add -frameworkNameGSWExtensions
* GSWeb/GSWPasswordField.m
  respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWPasswordField.h
  remove unneeded declarations
* GSWeb/GSWHiddenField.m
  fix
* GSWeb/GSWHiddenField.h
  remove unneeded declarations
* GSWeb/GSWString.m
  fix appendToResponse:inContext: when formattedValue is nil
  respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWTemplateParser.m:
  fix exception error messages
* GSWeb/GSWPopUpButton.m	
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  clean code
* GSWeb/GSWRepetition.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  reimplement startIndex and stopIndex bindings
  clean code
* GSWeb/GSWCheckBoxList.m
  fix -initWithName:...: prefix__Key duplicate, _value
* GSWeb.framework/GSWRadioButtonList.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  Fix bug in -initWithName (valueAssoc)
  Fix bug in _slowTakeValuesFromRequest: (call NSStringWithObject())
* GSWeb/GSWTextField.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  Fix bug (call NSStringWithObject())
* GSWeb/GSWText.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  clean code
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  Fix bug (call NSStringWithObject())
* GSWeb/GSWCheckBox.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  clean code
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWRadioButton.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  clean code
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb.framework/GSWInput.h
  remove  initWithName:associations:contentElements:
* GSWeb.framework/GSWInput.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  ensure name is a string in -nameInContext:
  fix name escaping in -_appendNameAttributeToResponse:
  ensure value is a string in _appendValueAttributeToResponse:
  remove initWithName:associations:contentElements:
* GSWeb/GSWHTMLDynamicElement.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  ensure string conversion in -_finishInitialization
  rename variables to make code understandable
* GSWeb/GSWConditional.m
  respect GNUstep coding standard (curly brackets placement, etc.)
* GSWeb/GSWActionImage.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  fix secure stuff
  ensure string conversion
* GSWeb/GSWActionURL.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  ensure string conversion
* GSWeb/GSWBody.h
  remove uneeded declarations
* GSWeb/GSWBody.m
  remove uneeded stuff
  fix initWithName:...
* GSWeb.framework/GSWBrowser.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  clean code
  rename variables to make code understandable
  Fix bugs
* GSWeb.framework/GSWFileUpload.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWFrame.h
  remove uneeded declarations
* GSWeb/GSWFrame.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  clean code
* GSWeb/GSWGenericContainer.h
  remove uneeded declarations
  change inheritence
* GSWeb/GSWGenericContainer.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  clean code
* GSWeb/GSWGenericElement.h
  remove uneeded declarations
  change inheritence
* GSWeb/GSWGenericElement.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  clean code
* GSWeb/GSWForm.h
  remove uneeded declarations
* GSWeb/GSWForm.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  clean code
  ensure string conversion
* GSWeb/GSWHTMLURLValuedElement.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  clean code
  ensure string conversion
  finish appendAttributesToResponse:inContext implementation
* GSWeb/GSWHyperlink.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  clean code
  ensure string conversion
* GSWeb/GSWImage.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  clean code
* GSWeb/GSWClientSideScript.h
  remove uneeded declarations
  change inheritence
  add -setLanguage	  
* GSWeb/GSWJavaScript.m
  clean and update code
* GSWeb/GSWSubmitButton.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
  clean code
* GSWeb/GSWImageButton.m
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWSwitchComponent.m
  clean and update code
* GSWeb/GSWJavaScript.m
  clean and update code
* GSWeb/GSWContext.m
  clean & fix -computeQueryDictionaryWithPath:queryDictionary:otherQueryDictionary:
  fix componentActionURL... methods	  
* GSWeb/GSWHTTPIO.m:	
  use GSWeb_appendStringWithImpPtr()
* GSWeb/GSWActionURL.h
  remove uneeded declarations
* GSWeb/GSWPrivate.h
  add GSWeb_objectAtIndexWithImpPtr
* GSWDatabase/WODisplayGroup.m
  Don't raise validation exceptions in _qualifierForKey:value:operatorSelector:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37899 72102866-910b-0410-8b05-ffd578937521
2014-05-22 11:09:50 +00:00
mguesdon
364a19a6f1 * GSWeb/GSWCheckBoxList.m
fix appendToResponse:inContext:
  respect GNUstep coding standard (curly brackets placement, etc.)
  use GSWAssignAndRemoveAssociation() in initWithName:associations:template:
* GSWeb/GSWElement.[hm]
  add GSWAssignAndRemoveAssociation() to make controls code simplier



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37850 72102866-910b-0410-8b05-ffd578937521
2014-05-06 16:28:44 +00:00
mguesdon
f833d3981c * GSWeb/GSWApplication.m:
fix -baseURL
* GSWeb/GSWResourceManager.m:
  fix urlForResourceNamed:... when using web server


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37820 72102866-910b-0410-8b05-ffd578937521
2014-04-29 13:27:49 +00:00
mguesdon
1920a273fd * GSWeb/GSWPopUpButton.m
fix _slowTakeValuesFromRequest:inContext: 
    (convert valueValue before isEqual:)
  replace while loop by a simplier for loop
  respect GNUstep coding standard (curly brackets placement)
  rename variable to make code more understandable
* GSWeb/GSWComponent.m
  respect GNUstep coding standard (curly brackets placement)
  fix validateTakeValue:forKeyPath: (set value if only if different)
  remove non standard and unused methods validation stuff:
    -setValidationFailureMessage:forElement:
    -validationFailureMessageForElement:
    -handleValidationExceptionDefault
    -isValidationFailure
    -validationFailureMessages
    -allValidationFailureMessages
  fix -path 
  remove context -setIsValidate: calls
  remove _uniqueID
  clean code
* GSWeb/GSWComponent.h
  remove _validationFailureMessages
  remove non standard and unused methods validation stuff
  remove _uniqueID
* GSWeb/GSWUtils.[hm]
  remove non standard -isValidationException
  remove -ValidationExceptionRaise*
* GSWeb/GSWContext.[hm]
  remove -setValidate
  remove -isValidate
* GSWeb/GSWApplication.m
  remove context -setIsValidate: calls	



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37800 72102866-910b-0410-8b05-ffd578937521
2014-04-17 18:13:47 +00:00
mguesdon
66e07118fb * GSWeb/GSWHyperlink.m
fix generateRelativeURLs/generateRelativeURLs
  rename variables to make code easier to understand
  respect GNUstep coding standard (curly brackets placement)
* GSWeb/GSWApplication.m
  set _isMultiThreaded when adaptor dispatchesRequestsConcurrently
  remove -lockRequestHandling
  remove -lockedDecrementActiveSessionCount
  remove -lockedIncrementActiveSessionCount
* GSWeb/GSWApplication.h
  remove -lockRequestHandling
  remove _globalLockn
  remove _globalLock_thread_id
  remove -dealloc
  remove -init
  remove duplicate declarations
  remove -lockedDecrementActiveSessionCount
  remove -lockedIncrementActiveSessionCount
* GSWeb/GSWActionRequestHandler.m
  copy lock code from GSWComponentRequestHandler
* GSWeb/GSWSessionTimeOutManager.m
  use -requestHandlingLock instead of -lockRequestHandling



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37796 72102866-910b-0410-8b05-ffd578937521
2014-04-14 16:12:24 +00:00
mguesdon
3ad7066815 Bug fixes. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37795 72102866-910b-0410-8b05-ffd578937521
2014-04-13 19:34:39 +00:00
buzzdee
0c5ba4561a * GSWeb/GSWSession.m
do not include linux/sys.h
          patch by Graham Lee


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37488 72102866-910b-0410-8b05-ffd578937521
2013-12-21 07:09:12 +00:00
buzzdee
0e263dd5a5 * GSWeb/GSWComponentRequestHandler.m
* GSWeb/GSWComponent.m
        * GSWeb/GSWConstants.[h|m]
        * GSWeb/GSWFileUpload.m
        * GSWeb/GSWRequest.m
        * GSWeb/GSWResourceRequestHandler.m
        * GSWeb/GSWResponse.m
        introduce some new string constants to GSWConstants
        and use them more consistently


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36743 72102866-910b-0410-8b05-ffd578937521
2013-06-22 16:00:13 +00:00
buzzdee
1bb3e95985 * 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
buzzdee
4d9b27e690 * 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
dwetzel
8c3e7bc778 * 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
buzzdee
d961ca7dcb 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
buzzdee
e9d2eb5c78 * 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
buzzdee
a1c8f6fc64 * 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
buzzdee
ad54bce275 * 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
buzzdee
d6886dc683 * 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
buzzdee
1b8467ac8f * 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
buzzdee
e2562c7312 * 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
buzzdee
d1974d883e * 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
dwetzel
ec96fba78a * 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
buzzdee
63335271a6 * 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
buzzdee
3c4e7d11d7 * 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
buzzdee
eca1d3bcc2 * 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
buzzdee
9b43ca74a3 * 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
buzzdee
cb089e006a * 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
buzzdee
3e396f3280 * 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
buzzdee
a114557d31 * 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
buzzdee
7dae4fe605 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
dwetzel
2e3ab05400 * 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
dwetzel
d26615691d * 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
dwetzel
4daf887e60 * 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
dwetzel
b7fabf08ef * 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
dwetzel
083d044e10 * 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
dwetzel
e2a9fdf385 * 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
dwetzel
26a0599eb3 * 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
dwetzel
9ca40ddedc 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
dwetzel
770550c600 * 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
dwetzel
bf51836d1f * 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
dwetzel
5e0475ee6c * 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
dwetzel
6353f57141 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