+2005-03-17 Helge Hess <helge.hess@opengroupware.org>
+
+ * v4.5.156
+
+ * NGBundleManager.m: implemented -classesProvidedByBundle:
+
+ * NGRuleEngine.subproj/NGRuleParser.m: fixed parsing of array and
+ dictionary plist rule values
+
2005-03-07 Helge Hess <helge.hess@opengroupware.org>
* NGExtensions/NGObjectMacros.h: fixed ASSIGN, ASSIGNCOPY macros to
}
- (NSArray *)classesProvidedByBundle:(NSBundle *)_bundle {
- [self doesNotRecognizeSelector:_cmd];
- return nil;
+ return [[_bundle providedResourcesOfType:@"classes"] valueForKey:@"name"];
}
- (NSArray *)classesRequiredByBundle:(NSBundle *)_bundle {
[self doesNotRecognizeSelector:_cmd];
A rule model is a specialized sequence of rules.
*/
+// TODO: need some method to join two models (two allow one model being
+// configured as a default but still have fallback rules in another)
+
@class NSArray, NSMutableArray;
@class NGRule;
AssignmentClass = [NGRuleAssignment class];
value = [NSNull null];
}
+ else if (c1 == '{' || c1 == '(') {
+ AssignmentClass = [NGRuleAssignment class];
+ value = [valstr propertyList];
+ }
}
return [AssignmentClass assignmentWithKeyPath:key value:value];
# version
-SUBMINOR_VERSION:=155
+SUBMINOR_VERSION:=156
# v4.3.115 requires libFoundation v1.0.59
# v4.2.72 requires libEOControl v4.2.39