@end /* NGCalendarDateRange */
+
@implementation NSArray(NGCalendarDateRanges)
- (NSArray *)arrayByCreatingDateRangesFromObjectsWithStartDateKey:(NSString *)s
+2005-07-26 Helge Hess <helge.hess@opengroupware.org>
+
+ * NGImap4: fixed a compatibility issue with Cocoa (v4.5.230)
+
2005-07-20 Helge Hess <helge.hess@opengroupware.org>
* NGMime, NGMail: added some convinience methods to access the header
+2005-07-26 Helge Hess <helge.hess@opengroupware.org>
+
+ * NGImap4Connection.m: fixed a Cocoa compatibility issue with
+ -doesMailboxExistAtURL
+
2005-07-15 Helge Hess <helge.hess@opengroupware.org>
* NGImap4ResponseParser.m: fixed a bug in parsing mailbox names in ACL
- (BOOL)doesMailboxExistAtURL:(NSURL *)_url {
NSString *folderName;
id result;
-
+
/* check in hierarchy cache */
if ((result = [self cachedHierarchyResults]) != nil) {
+ NSString *p;
+
result = [result objectForKey:@"list"];
- return ([result objectForKey:[_url path]] != nil) ? YES : NO;
+ p = [_url path];
+#if __APPLE__
+ /* normalized results already have the / in front on libFoundation?! */
+ if ([p hasPrefix:@"/"])
+ p = [p substringFromIndex:1];
+#endif
+ return ([result objectForKey:p] != nil) ? YES : NO;
}
/* check using IMAP4 select */
MAJOR_VERSION:=4
MINOR_VERSION:=5
-SUBMINOR_VERSION:=229
+SUBMINOR_VERSION:=230
# v4.5.214 requires libNGExtensions v4.5.146
# v4.2.149 requires libNGStreams v4.2.34