]> err.no Git - sope/commitdiff
deprecated some API in resource manager
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 14 Sep 2004 10:42:40 +0000 (10:42 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 14 Sep 2004 10:42:40 +0000 (10:42 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@134 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-appserver/NGObjWeb/ChangeLog
sope-appserver/NGObjWeb/OWResourceManager.m
sope-appserver/NGObjWeb/Version

index 919bea0e3c8326ea98b5c462953dc467d756d987..4e060512017056b8df6adba04946a4a7911534bf 100644 (file)
@@ -1,5 +1,8 @@
 2004-09-13  Helge Hess  <helge.hess@opengroupware.org>
 
+       * OWResourceManager.m: deprecated -pathToComponentNamed:inFramework:
+         in favor of -pathToComponentNamed:inFramework:languages (v4.3.38)
+
        * v4.3.37
 
        * Templates/WOWrapperTemplateBuilder.m: added ability to load wod
index 90a9260b5eca2b5e7192ce7ed419b6db7866392f..ed8b35abe08d6ddfae99df691fe8e9e5ae2bd792 100644 (file)
@@ -601,6 +601,7 @@ _pathExists(OWResourceManager *self, NSFileManager *fm, NSString *path)
 
 - (NSString *)pathToComponentNamed:(NSString *)_name
   inFramework:(NSString *)_framework
+  languages:(NSArray *)_langs
 {
   /* search for component wrapper .. */
   // TODO: shouldn't we used that for WOx as well?
@@ -628,17 +629,17 @@ _pathExists(OWResourceManager *self, NSFileManager *fm, NSString *path)
     
     path = [self pathForResourceNamed:specName
                  inFramework:_framework
-                 languages:nil];
+                 languages:_langs];
     if (path != nil) return path;
   }
   return nil;
 }
 
 - (NSString *)pathToComponentNamed:(NSString *)_name
-  inFramework:(NSString *)_framework
-  languages:(NSArray *)_langs
+  inFramework:(NSString *)_fw
 {
-  return [self pathToComponentNamed:_name inFramework:_framework];
+  // TODO: is this still used somewhere?
+  return [self pathToComponentNamed:_name inFramework:_fw languages:nil];
 }
 
 - (WOComponentDefinition *)_definitionForPathlessComponent:(NSString *)_name
index 89f877e1f55a44b11d3670ee6acc00d08ae313bb..3c3f9fab7c62b0b3afa067ca371a9a39416d2df7 100644 (file)
@@ -1,6 +1,6 @@
 # version file
 
-SUBMINOR_VERSION:=37
+SUBMINOR_VERSION:=38
 
 # v4.2.413 requires libSaxObjC      v4.2.33
 # v4.2.341 requires libNGExtensions v4.2.77