+2005-08-04 Helge Hess <helge.hess@opengroupware.org>
+
+ * minor code cleanups (v4.5.182)
+
2005-08-03 Helge Hess <helge.hess@opengroupware.org>
* WODisplayGroup.m: detect whether an EOEditingContext is available at
# version file
-SUBMINOR_VERSION:=181
+SUBMINOR_VERSION:=182
# v4.5.122 requires libNGExtensions v4.5.153
# v4.5.91 requires libNGExtensions v4.5.134
- (id)unarchiver:(EOKeyValueUnarchiver *)_archiver
objectForReference:(id)_keyPath
{
+ /*
+ This is used when a .woo file is unarchived. Eg datasources contain
+ bindings in the archive:
+
+ editingContext = session.defaultEditingContext;
+
+ The binding will evaluate against the component during loading.
+ */
return [self valueForKeyPath:_keyPath];
}
[unarchiver setDelegate:_component];
keys = [_vars keyEnumerator];
- while ((key = [keys nextObject])) {
+ while ((key = [keys nextObject]) != nil) {
id object;
object = [unarchiver decodeObjectForKey:key];
for (cnt = 0, count = [timedOut count]; cnt < count; cnt++) {
NSString *sid;
- info = [timedOut objectAtIndex:cnt];
- sid = [[info sessionID] copy];
+ info = [timedOut objectAtIndex:cnt];
+ sid = [[info sessionID] copy];
- NSMapRemove(self->activeSessions, sid);
- NSMapRemove(self->idToSession, sid);
+ NSMapRemove(self->activeSessions, sid);
+ NSMapRemove(self->idToSession, sid);
- [nc postNotificationName:WOSessionDidTimeOutNotification
- object:sid];
-
- [sid release];
+ [nc postNotificationName:WOSessionDidTimeOutNotification
+ object:sid];
+
+ [sid release];
}
}
-framework CoreServices
ADDITIONAL_TOOL_LIBS += \
- -lEOControl \
+ -lEOCoreData \
+ -lEOControl \
-lDOM -lXmlRpc -lSaxObjC
ADDITIONAL_LIB_DIRS += -L/usr/local/lib -L/usr/lib