+2004-11-24 Helge Hess <helge.hess@opengroupware.org>
+
+ * DynamicElements/WOForm.m: minor code cleanups (v4.5.100)
+
2004-11-23 Helge Hess <helge.hess@opengroupware.org>
* WORequestHandler.m: properly check whether logger is available
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __NGObjWeb_WOComponentReference_H__
#define __NGObjWeb_WOComponentReference_H__
WOComponent *sComponent = [_ctx component];
NSString *s;
NSDictionary *d;
-
+
s = [self->href stringValueInComponent:sComponent];
d = [self->queryDictionary valueInComponent:sComponent];
NSString *uri;
sComponent = [_c component];
- daClass = [self->actionClass stringValueInComponent:sComponent];
+ daClass = [self->actionClass stringValueInComponent:sComponent];
daName = [self->directActionName stringValueInComponent:sComponent];
- if (daClass) {
- if (daName) {
+ if (daClass != nil) {
+ if (daName != nil) {
if (![daClass isEqualToString:@"DirectAction"])
daName = [NSString stringWithFormat:@"%@/%@", daClass, daName];
}
sComponent = [_ctx component];
WOResponse_AddCString(_response, "<form action=\"");
-
- if (self->href)
+
+ if (self->href != nil)
queryString = [self _addHrefToResponse:_response inContext:_ctx];
else if (self->directActionName != nil || self->actionClass != nil)
[self _addDirectActionToResponse:_response inContext:_ctx];
# version file
-SUBMINOR_VERSION:=99
+SUBMINOR_VERSION:=100
# v4.5.91 requires libNGExtensions v4.5.134
# v4.5.84 requires libNGExtensions v4.5.127
+2004-11-24 Helge Hess <helge.hess@opengroupware.org>
+
+ * NGBundleManager.m: subminor code cleanups (v4.5.137)
+
2004-11-19 Marcus Mueller <znek@mulle-kybernetik.com>
* NGLogging: updated - API considered stable now.
/* scan all bundle search paths */
e = [self->bundleSearchPaths objectEnumerator];
- while ((path = [e nextObject])) {
+ while ((path = [e nextObject]) != nil) {
NSEnumerator *dir;
BOOL isDir = NO;
NSString *tmp;
if (!isDir) continue;
/* check whether an appropriate bundle is contained in 'path' */
-
+
+ // TODO: move to own method
dir = [[fm directoryContentsAtPath:path] objectEnumerator];
- while ((tmp = [dir nextObject])) {
+ while ((tmp = [dir nextObject]) != nil) {
NSDictionary *bundleInfo = nil;
NSArray *providedResources = nil;
NSString *infoPath;
# version
-SUBMINOR_VERSION:=136
+SUBMINOR_VERSION:=137
# v4.3.115 requires libFoundation v1.0.59
# v4.2.72 requires libEOControl v4.2.39