+2007-03-13 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * WORepetition.m: Reverted 'list' binding extensions as this had side
+ effects with existing code. I advise using 'asArray' trampolines in
+ situations where the 'list extension' was helpful. (v4.7.4)
+
2007-03-06 Helge Hess <helge.hess@opengroupware.org>
* Templates/WOWrapperTemplateBuilder.m: allow component classes in
@implementation WORepetition
-static Class NSArrayClass = Nil;
-
+ (int)version {
return [super version] + 1 /* v3 */;
}
@"invalid superclass (%@) version %i !",
NSStringFromClass([self superclass]), [super version]);
- NSArrayClass = [NSArray class];
-
if (debugTakeValues == -1) {
debugTakeValues =
[[NSUserDefaults standardUserDefaults] boolForKey:@"WODebugTakeValues"]
#endif
array = [self->list valueInComponent:sComponent];
- if ((array != nil) && ![array isKindOfClass:NSArrayClass])
- array = [NSArray arrayWithObject:array];
count = [array count];
if (count > 0) {
NSArray *array;
array = [self->list valueInComponent:sComponent];
- if ((array != nil) && ![array isKindOfClass:NSArrayClass])
- array = [NSArray arrayWithObject:array];
if (self->index)
[self->index setUnsignedIntValue:_idx inComponent:sComponent];
#endif
sComponent = [_ctx component];
- array = [self->list valueInContext:_ctx];
- if ((array != nil) && ![array isKindOfClass:NSArrayClass])
- array = [NSArray arrayWithObject:array];
- aCount = [array count];
+ array = [self->list valueInContext:_ctx];
+ aCount = [array count];
- goCount = self->count
+ goCount = self->count
? [self->count unsignedIntValueInComponent:sComponent]
: aCount;
sComponent = [_ctx component];
array = [self->list valueInContext:_ctx];
- if ((array != nil) && ![array isKindOfClass:NSArrayClass])
- array = [NSArray arrayWithObject:array];
-
aCount = [array count];
startIdx = [self->startIndex unsignedIntValueInComponent:sComponent];
-
- goCount = self->count
+
+ goCount = self->count
? [self->count unsignedIntValueInComponent:sComponent]
: aCount;
sComponent = [_ctx component];
array = [self->list valueInContext:_ctx];
- if ((array != nil) && ![array isKindOfClass:NSArrayClass])
- array = [NSArray arrayWithObject:array];
aCount = [array count];
if (aCount > 0) {
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = NO;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.7.255;
+ DYLIB_COMPATIBILITY_VERSION = 4.7.0;
+ DYLIB_CURRENT_VERSION = 4.7.4;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
OTHER_CFLAGS = (
"-DSOPE_MAJOR_VERSION=4",
"-DSOPE_MINOR_VERSION=7",
- "-DSOPE_SUBMINOR_VERSION=255",
+ "-DSOPE_SUBMINOR_VERSION=4",
);
OTHER_LDFLAGS = (
"-seg1addr",