Commit graph

12 commits

Author SHA1 Message Date
David Wetzel
2bb828acb7 * GSWeb/GSWAjaxRequestHandler.*
new files
    * GSWeb/GNUmakefile
      add GSWAjaxRequestHandler.*, WOAjaxRequestHandler.h
    * GSWeb/GSWApplication+Defaults.*
      add AjaxRequestHanderKey
    * GSWeb/GSWApplication.h
      add +ajaxRequestHandlerKey
      add +setAjaxRequestHandlerKey:
    * GSWeb/GSWApplication.m
      create ajax request handler in registerRequestHandlers
    * GSWeb/GSWComponentRequestHandler.m
      return current class instance in +handler (works in subclasses too..)
    * GSWConstants.*
      added ajax
    * GSWContext.*
      added +shouldNotStorePageInBacktrackCache
    * GSWeb/GSWMessage.*
      added storePageInBacktrackCache
    * GSWeb/GSWRequest.*
      added -isAjaxSubmit, ajaxFormSubmitKey
    * GSWeb/GSWSession.m
    * GSWeb/GSWeb.h
    * GSWeb/GSWWOCompatibility.h
      ajax adjustments
2017-11-19 13:45:05 -05:00
Sebastian Reitenbach
d4cc39b551 * 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
Manuel Guesdon
97e527ebed * 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
Manuel Guesdon
8f1f977388 * 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
Manuel Guesdon
334e5aaed3 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
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
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
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
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
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
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
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
Renamed from GSWeb.framework/GSWContext.m (Browse further)