]> err.no Git - sope/commitdiff
Added some WebDAV mappings for Novell NetDrive.
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 1 May 2006 11:34:35 +0000 (11:34 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 1 May 2006 11:34:35 +0000 (11:34 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1257 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-appserver/NGObjWeb/ChangeLog
sope-appserver/NGObjWeb/DAVPropMap.plist
sope-appserver/NGObjWeb/Version
sope-appserver/NGObjWeb/WebDAV/SoObjectDataSource.m
sope-appserver/NGObjWeb/WebDAV/SoObjectWebDAVDispatcher.m

index 07f98f3c609a10078cd0344f4f24d6c656e1cf33..d945385aa02ac70032b90e14252947bc7cfe593c 100644 (file)
@@ -1,3 +1,11 @@
+2006-05-01  Helge Hess  <helge.hess@opengroupware.org>
+
+       * v4.5.229
+
+       * DAVPropMap.plist: added some WebDAV mappings for Novell NetDrive
+
+       * WebDAV: fixed some gcc 4.1 warnings
+
 2006-04-23  Helge Hess  <helge.hess@opengroupware.org>
 
        * SoObjects/SoObjectMethodDispatcher.m: added support for
index bdd7453357e4daa35e587c96ea6739c1f3ec27da..aad544206e18b219b9454756d43826718de7ccf0 100644 (file)
   "{http://apache.org/dav/props/}executable" = "davIsExecutable";
 
   /* used with Apple WebDAV */
-  "{DAV:}quota"       = davQuota;
-  "{DAV:}quotaused"   = davQuotaUsed;
-  "{http://www.apple.com/webdav_fs/props/}appledoubleheader" = appleDoubleHeader;
+  "{DAV:}quota"                = davQuota;
+  "{DAV:}quotaused"            = davQuotaUsed;
+  "{http://www.apple.com/webdav_fs/props/}appledoubleheader"=appleDoubleHeader;
+
+  /* Novell NetDrive */
+  "{DAV:}owner"                = davOwner;
+  "{DAV:}locktoken"            = davLockToken;
+  "{DAV:}activelock"           = davActiveLock;
+  "{DAV:}collection"           = davNetDriveCollection; // TODO: non-standard?
 
   /* new in current WebFolders */
   "{DAV:}defaultdocument"    = davDefaultDocument;
index ba6f797d8e8d1eb8810974a9321d10d33ae9da7b..dc86cd939fbc09afe533d86ee5ffed57467ae167 100644 (file)
@@ -1,6 +1,6 @@
 # version file
 
-SUBMINOR_VERSION:=228
+SUBMINOR_VERSION:=229
 
 # v4.5.214 requires libNGExtensions v4.5.179
 # v4.5.122 requires libNGExtensions v4.5.153
index 6824f7665d4a18ccfaac813bf5b3e18935e71baa..3938c6d072a8d435a0829552c67bcaa6664fe694 100644 (file)
@@ -188,7 +188,7 @@ static BOOL debugOn = NO;
       // TODO: child can be SoHTTPException ?
       rec = (queriedAttrNames == nil)
        ? child
-       : [child valuesForKeys:queriedAttrNames];
+       : (id)[child valuesForKeys:queriedAttrNames];
 #if 0
       [self logWithFormat:@"got values: %@ for keys: %@ from object: %@",
            rec, queriedAttrNames, child];
index 82f813d35ab3e41d64698622ef18e2c7cef78fa4..53f5eb738a992550289682d89f591b355d4586e7 100644 (file)
@@ -158,7 +158,7 @@ static NSTimeZone                *gmt      = nil;
     [methodObject takeValuesFromRequest:[_ctx request] inContext:_ctx];
   
   result = [methodObject callOnObject:self->object inContext:_ctx];
-  return (result != nil) ? result : [NSNull null];
+  return (result != nil) ? result : (id)[NSNull null];
 }
 
 - (id)doGET:(WOContext *)_ctx {
@@ -477,7 +477,7 @@ static NSTimeZone                *gmt      = nil;
     if ([s hasPrefix:@"_"]) s = [s substringFromIndex:1];
     
     ids = ([s length] == 0)
-      ? [NSArray array]
+      ? (NSArray *)[NSArray array]
       : [s componentsSeparatedByString:@"_"];
     
     // TODO: should use -stringByUnescapingURL on IDs (not required for ints)