* 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
This commit is contained in:
David Ayers 2007-11-24 10:13:22 +00:00
parent 542867ab45
commit be15a70bff
4 changed files with 89 additions and 78 deletions

View file

@ -1,28 +1,45 @@
2007-06-22 David Wetzel <dave@turbocat.de>
* GSWAdaptors/Apache2/mod_gsw.c
* GSWSWeb.framework/GSWComponentRequestHandler.m
* GSWeb.framework/GSWDefaultAdaptorThread.m
2007-11-24 David Ayers <ayers@fsfe.org>
Added support for POST requests from browsers without content-length header.
(firefox does this without proxy)
* 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.
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)
2007-05-15 David Wetzel <dave@turbocat.de>
* GSWAdaptors/Apache2
made Application name clickable on status page
* GSWAdaptors/Apache2
made Application name clickable on status page
2007-05-10 David Wetzel <dave@turbocat.de>
* GSWeb.framework/GSWPopUpButton.m
fixed "if" statement
* GSWeb.framework/GSWPopUpButton.m
fixed "if" statement
2007-04-13 David Wetzel <dave@turbocat.de>
* Merged files from my branch to head. Changes include:
* Nearly all Dynamic Elements rewritten
* More use of inheritance there
* Less logging
* Direct connect enables developers to access applications without web servers.
* Merged files from my branch to head. Changes include:
* Nearly all Dynamic Elements rewritten
* More use of inheritance there
* Less logging
* Direct connect enables developers to access applications
without web servers.
* Hello demo application:
fix double text field, update documentation, allow compilation with TCSDB
* Hello demo application:
fix double text field, update documentation,
allow compilation with TCSDB
2006-12-12 David Ayers <ayers@fsfe.org>

View file

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<gswdefinitions>
<gsw class="GSWKeyValueConditional" gswcomponentcontent="YES">
<binding name="key"/>
<binding name="negate" defaults="Boolean"/>
<binding name="value"/>
<validation message="&apos;key&apos; is a required binding">
<unbound name="key"/>
</validation>
</gsw>
</gswdefinitions>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<gswdefinitions>
<gsw class="GSWKeyValueConditional" gswcomponentcontent="YES">
<binding name="key"/>
<binding name="negate" defaults="Boolean"/>
<binding name="value"/>
<validation message="&apos;key&apos; is a required binding">
<unbound name="key"/>
</validation>
</gsw>
</gswdefinitions>

View file

@ -1,43 +1,43 @@
/** GSWKeyValueConditional.h - <title>GSWeb: Class GSWKeyValueConditional</title>
Copyright (C) 2003 Free Software Foundation, Inc.
Written by: Dave Lopper
Date: Mar 2003
$Revision$
$Date$
<abstract></abstract>
This file is part of the GNUstep Web Library.
<license>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
</license>
**/
#ifndef _GSWKeyValueConditional_h__
#define _GSWKeyValueConditional_h__
//==============================================================================
@interface GSWKeyValueConditional : GSWComponent
{
}
@end
#endif //_GSWKeyValueConditional_h__
/** GSWKeyValueConditional.h - <title>GSWeb: Class GSWKeyValueConditional</title>
Copyright (C) 2003 Free Software Foundation, Inc.
Written by: Dave Lopper
Date: Mar 2003
$Revision$
$Date$
<abstract></abstract>
This file is part of the GNUstep Web Library.
<license>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
</license>
**/
#ifndef _GSWKeyValueConditional_h__
#define _GSWKeyValueConditional_h__
//==============================================================================
@interface GSWKeyValueConditional : GSWComponent
{
}
@end
#endif //_GSWKeyValueConditional_h__

View file

@ -523,13 +523,7 @@ GSWeb_DestroyGlobalAppDefaultOptions(void)
(_userDefaults ? _userDefaults \
: (_userDefaults = [NSUserDefaults standardUserDefaults]))
/* FIXME: Once setValue:forKey: is implemented in -base we should use
use it unconditionally. */
#ifdef GNUSTEP
#define TAKEVALUEFORKEY [self takeValue: val forKey: key]
#else
#define TAKEVALUEFORKEY [self setValue: val forKey: key]
#endif
/* These two macros are seperate for experimental reasons.
They may be merged later. */