diff options
Diffstat (limited to 'OpenSim')
13 files changed, 70 insertions, 59 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index 0b9ea42..6a07bc9 100644 --- a/OpenSim/Framework/AvatarAppearance.cs +++ b/OpenSim/Framework/AvatarAppearance.cs | |||
@@ -38,8 +38,7 @@ namespace OpenSim.Framework | |||
38 | { | 38 | { |
39 | public class AvatarAppearance | 39 | public class AvatarAppearance |
40 | { | 40 | { |
41 | private static readonly ILog m_log | 41 | //private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
42 | = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
43 | 42 | ||
44 | // these are guessed at by the list here - | 43 | // these are guessed at by the list here - |
45 | // http://wiki.secondlife.com/wiki/Avatar_Appearance. We'll | 44 | // http://wiki.secondlife.com/wiki/Avatar_Appearance. We'll |
diff --git a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs index 4070b49..47e0293 100644 --- a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | |||
@@ -90,8 +90,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
90 | TestHelper.InMethod(); | 90 | TestHelper.InMethod(); |
91 | // We want to use our own LoginService for this test, one that | 91 | // We want to use our own LoginService for this test, one that |
92 | // doesn't require authentication. | 92 | // doesn't require authentication. |
93 | LoginService loginService = new LLStandaloneLoginService((UserManagerBase)m_commsManager.UserService, "Hello folks", new TestInventoryService(), | 93 | new LLStandaloneLoginService((UserManagerBase)m_commsManager.UserService, "Hello folks", new TestInventoryService(), |
94 | m_commsManager.NetworkServersInfo, false, new LibraryRootFolder(String.Empty), m_regionConnector); | 94 | m_commsManager.NetworkServersInfo, false, new LibraryRootFolder(String.Empty), m_regionConnector); |
95 | 95 | ||
96 | Hashtable loginParams = new Hashtable(); | 96 | Hashtable loginParams = new Hashtable(); |
97 | loginParams["first"] = m_firstName; | 97 | loginParams["first"] = m_firstName; |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index e532939..9142b36 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -592,11 +592,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
592 | Thread.Sleep(2000); | 592 | Thread.Sleep(2000); |
593 | 593 | ||
594 | // Shut down timers | 594 | // Shut down timers |
595 | m_clientPingTimer.Stop(); | 595 | if (m_clientPingTimer.Enabled) m_clientPingTimer.Stop(); |
596 | m_avatarTerseUpdateTimer.Stop(); | 596 | if (m_avatarTerseUpdateTimer.Enabled) m_avatarTerseUpdateTimer.Stop(); |
597 | m_primTerseUpdateTimer.Stop(); | 597 | if (m_primTerseUpdateTimer.Enabled) m_primTerseUpdateTimer.Stop(); |
598 | m_primFullUpdateTimer.Stop(); | 598 | if (m_primFullUpdateTimer.Enabled) m_primFullUpdateTimer.Stop(); |
599 | m_textureRequestTimer.Stop(); | 599 | if (m_textureRequestTimer.Enabled) m_textureRequestTimer.Stop(); |
600 | 600 | ||
601 | // This is just to give the client a reasonable chance of | 601 | // This is just to give the client a reasonable chance of |
602 | // flushing out all it's packets. There should probably | 602 | // flushing out all it's packets. There should probably |
@@ -676,11 +676,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
676 | public void Stop() | 676 | public void Stop() |
677 | { | 677 | { |
678 | // Shut down timers | 678 | // Shut down timers |
679 | m_clientPingTimer.Stop(); | 679 | if (m_clientPingTimer.Enabled) m_clientPingTimer.Stop(); |
680 | m_avatarTerseUpdateTimer.Stop(); | 680 | if (m_avatarTerseUpdateTimer.Enabled) m_avatarTerseUpdateTimer.Stop(); |
681 | m_primTerseUpdateTimer.Stop(); | 681 | if (m_primTerseUpdateTimer.Enabled) m_primTerseUpdateTimer.Stop(); |
682 | m_primFullUpdateTimer.Stop(); | 682 | if (m_primFullUpdateTimer.Enabled) m_primFullUpdateTimer.Stop(); |
683 | m_textureRequestTimer.Stop(); | 683 | if (m_textureRequestTimer.Enabled) m_textureRequestTimer.Stop(); |
684 | } | 684 | } |
685 | 685 | ||
686 | public void Restart() | 686 | public void Restart() |
@@ -3111,7 +3111,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3111 | { | 3111 | { |
3112 | lock (m_primFullUpdates) | 3112 | lock (m_primFullUpdates) |
3113 | { | 3113 | { |
3114 | if (m_primFullUpdates.Count == 0) | 3114 | if (m_primFullUpdates.Count == 0 && m_primFullUpdateTimer.Enabled) |
3115 | { | 3115 | { |
3116 | m_primFullUpdateTimer.Stop(); | 3116 | m_primFullUpdateTimer.Stop(); |
3117 | 3117 | ||
@@ -3159,7 +3159,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3159 | outPacket.Header.Zerocoded = true; | 3159 | outPacket.Header.Zerocoded = true; |
3160 | OutPacket(outPacket, ThrottleOutPacketType.Task | ThrottleOutPacketType.LowPriority); | 3160 | OutPacket(outPacket, ThrottleOutPacketType.Task | ThrottleOutPacketType.LowPriority); |
3161 | 3161 | ||
3162 | if (m_primFullUpdates.Count == 0) | 3162 | if (m_primFullUpdates.Count == 0 && m_primFullUpdateTimer.Enabled) |
3163 | m_primFullUpdateTimer.Stop(); | 3163 | m_primFullUpdateTimer.Stop(); |
3164 | } | 3164 | } |
3165 | } | 3165 | } |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index fad9218..eaf8f60 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | |||
@@ -827,9 +827,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
827 | sendbuffer.Length, SocketFlags.None, m_Client.CircuitCode); | 827 | sendbuffer.Length, SocketFlags.None, m_Client.CircuitCode); |
828 | } | 828 | } |
829 | } | 829 | } |
830 | catch (NullReferenceException n) | 830 | catch (NullReferenceException) |
831 | { | 831 | { |
832 | m_log.Debug("[PACKET] Detected reuse of a returned packet"); | 832 | m_log.Error("[PACKET]: Detected reuse of a returned packet"); |
833 | m_PacketQueue.Cancel(item.Sequence); | 833 | m_PacketQueue.Cancel(item.Sequence); |
834 | return; | 834 | return; |
835 | } | 835 | } |
diff --git a/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs b/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs index 5be2a65..19f0f90 100644 --- a/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs +++ b/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs | |||
@@ -45,8 +45,7 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload | |||
45 | /// </summary> | 45 | /// </summary> |
46 | public class UserTextureDownloadService | 46 | public class UserTextureDownloadService |
47 | { | 47 | { |
48 | private static readonly ILog m_log | 48 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
49 | = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
50 | 49 | ||
51 | /// <summary> | 50 | /// <summary> |
52 | /// True if the service has been closed, probably because a user with texture requests still queued | 51 | /// True if the service has been closed, probably because a user with texture requests still queued |
@@ -61,22 +60,22 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload | |||
61 | /// currently handle properly as far as I know). However, this situation should be handled in a more | 60 | /// currently handle properly as far as I know). However, this situation should be handled in a more |
62 | /// sophisticated way. | 61 | /// sophisticated way. |
63 | /// </summary> | 62 | /// </summary> |
64 | private static readonly int MAX_ALLOWED_TEXTURE_REQUESTS = 5; | 63 | // private static readonly int MAX_ALLOWED_TEXTURE_REQUESTS = 5; |
65 | 64 | ||
66 | /// <summary> | 65 | /// <summary> |
67 | /// XXX Also going to limit requests for found textures. | 66 | /// XXX Also going to limit requests for found textures. |
68 | /// </summary> | 67 | /// </summary> |
69 | private readonly IRequestLimitStrategy<UUID> foundTextureLimitStrategy | 68 | // private readonly IRequestLimitStrategy<UUID> foundTextureLimitStrategy |
70 | = new RepeatLimitStrategy<UUID>(MAX_ALLOWED_TEXTURE_REQUESTS); | 69 | // = new RepeatLimitStrategy<UUID>(MAX_ALLOWED_TEXTURE_REQUESTS); |
71 | 70 | ||
72 | private readonly IClientAPI m_client; | 71 | // private readonly IClientAPI m_client; |
73 | private readonly Scene m_scene; | 72 | private readonly Scene m_scene; |
74 | 73 | ||
75 | /// <summary> | 74 | /// <summary> |
76 | /// Texture Senders are placed in this queue once they have received their texture from the asset | 75 | /// Texture Senders are placed in this queue once they have received their texture from the asset |
77 | /// cache. Another module actually invokes the send. | 76 | /// cache. Another module actually invokes the send. |
78 | /// </summary> | 77 | /// </summary> |
79 | private readonly OpenSim.Framework.BlockingQueue<ITextureSender> m_sharedSendersQueue; | 78 | // private readonly OpenSim.Framework.BlockingQueue<ITextureSender> m_sharedSendersQueue; |
80 | 79 | ||
81 | /// <summary> | 80 | /// <summary> |
82 | /// Holds texture senders before they have received the appropriate texture from the asset cache. | 81 | /// Holds texture senders before they have received the appropriate texture from the asset cache. |
@@ -88,15 +87,15 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload | |||
88 | /// XXX This is really a temporary solution to deal with the situation where a client continually requests | 87 | /// XXX This is really a temporary solution to deal with the situation where a client continually requests |
89 | /// the same missing textures | 88 | /// the same missing textures |
90 | /// </summary> | 89 | /// </summary> |
91 | private readonly IRequestLimitStrategy<UUID> missingTextureLimitStrategy | 90 | // private readonly IRequestLimitStrategy<UUID> missingTextureLimitStrategy |
92 | = new RepeatLimitStrategy<UUID>(MAX_ALLOWED_TEXTURE_REQUESTS); | 91 | // = new RepeatLimitStrategy<UUID>(MAX_ALLOWED_TEXTURE_REQUESTS); |
93 | 92 | ||
94 | public UserTextureDownloadService( | 93 | public UserTextureDownloadService( |
95 | IClientAPI client, Scene scene, OpenSim.Framework.BlockingQueue<ITextureSender> sharedQueue) | 94 | IClientAPI client, Scene scene, OpenSim.Framework.BlockingQueue<ITextureSender> sharedQueue) |
96 | { | 95 | { |
97 | m_client = client; | 96 | // m_client = client; |
98 | m_scene = scene; | 97 | m_scene = scene; |
99 | m_sharedSendersQueue = sharedQueue; | 98 | // m_sharedSendersQueue = sharedQueue; |
100 | } | 99 | } |
101 | 100 | ||
102 | /// <summary> | 101 | /// <summary> |
@@ -231,16 +230,16 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload | |||
231 | /// Place a ready texture sender on the processing queue. | 230 | /// Place a ready texture sender on the processing queue. |
232 | /// </summary> | 231 | /// </summary> |
233 | /// <param name="textureSender"></param> | 232 | /// <param name="textureSender"></param> |
234 | private void EnqueueTextureSender(ITextureSender textureSender) | 233 | // private void EnqueueTextureSender(ITextureSender textureSender) |
235 | { | 234 | // { |
236 | textureSender.Cancel = false; | 235 | // textureSender.Cancel = false; |
237 | textureSender.Sending = true; | 236 | // textureSender.Sending = true; |
238 | 237 | // | |
239 | if (!m_sharedSendersQueue.Contains(textureSender)) | 238 | // if (!m_sharedSendersQueue.Contains(textureSender)) |
240 | { | 239 | // { |
241 | m_sharedSendersQueue.Enqueue(textureSender); | 240 | // m_sharedSendersQueue.Enqueue(textureSender); |
242 | } | 241 | // } |
243 | } | 242 | // } |
244 | 243 | ||
245 | /// <summary> | 244 | /// <summary> |
246 | /// Close this module. | 245 | /// Close this module. |
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs index dd524f5..cd14340 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
66 | /// <summary> | 66 | /// <summary> |
67 | /// Test saving a V0.1 OpenSim Inventory Archive (subject to change since there is no fixed format yet). | 67 | /// Test saving a V0.1 OpenSim Inventory Archive (subject to change since there is no fixed format yet). |
68 | /// </summary> | 68 | /// </summary> |
69 | //[Test] | 69 | [Test] |
70 | public void TestSaveIarV0_1() | 70 | public void TestSaveIarV0_1() |
71 | { | 71 | { |
72 | TestHelper.InMethod(); | 72 | TestHelper.InMethod(); |
@@ -264,17 +264,22 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
264 | } | 264 | } |
265 | Assert.That(userInfo.HasReceivedInventory, Is.True, "FetchInventory timed out (10 seconds)"); | 265 | Assert.That(userInfo.HasReceivedInventory, Is.True, "FetchInventory timed out (10 seconds)"); |
266 | InventoryItemBase foundItem = userInfo.RootFolder.FindItemByPath(itemName); | 266 | InventoryItemBase foundItem = userInfo.RootFolder.FindItemByPath(itemName); |
267 | Assert.That(foundItem, Is.Not.Null); | 267 | Assert.That(foundItem, Is.Not.Null, "Didn't find loaded item"); |
268 | Assert.That(foundItem.CreatorId, Is.EqualTo(item1.CreatorId)); | 268 | Assert.That( |
269 | Assert.That(foundItem.CreatorIdAsUuid, Is.EqualTo(user2Uuid)); | 269 | foundItem.CreatorId, Is.EqualTo(item1.CreatorId), |
270 | Assert.That(foundItem.Owner, Is.EqualTo(userUuid)); | 270 | "Loaded item non-uuid creator doesn't match original"); |
271 | Assert.That( | ||
272 | foundItem.CreatorIdAsUuid, Is.EqualTo(user2Uuid), | ||
273 | "Loaded item uuid creator doesn't match original"); | ||
274 | Assert.That(foundItem.Owner, Is.EqualTo(userUuid), | ||
275 | "Loaded item owner doesn't match inventory reciever"); | ||
271 | 276 | ||
272 | Console.WriteLine("Successfully completed {0}", MethodBase.GetCurrentMethod()); | 277 | Console.WriteLine("Successfully completed {0}", MethodBase.GetCurrentMethod()); |
273 | } | 278 | } |
274 | 279 | ||
275 | /// <summary> | 280 | /// <summary> |
276 | /// Test loading a V0.1 OpenSim Inventory Archive (subject to change since there is no fixed format yet) where | 281 | /// Test loading a V0.1 OpenSim Inventory Archive (subject to change since there is no fixed format yet) where |
277 | /// no account exists with the creator name | 282 | /// no account exists with the creator name |
278 | /// </summary> | 283 | /// </summary> |
279 | //[Test] | 284 | //[Test] |
280 | public void TestLoadIarV0_1TempProfiles() | 285 | public void TestLoadIarV0_1TempProfiles() |
@@ -353,7 +358,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
353 | /// <summary> | 358 | /// <summary> |
354 | /// Test replication of an archive path to the user's inventory. | 359 | /// Test replication of an archive path to the user's inventory. |
355 | /// </summary> | 360 | /// </summary> |
356 | //[Test] | 361 | [Test] |
357 | public void TestReplicateArchivePathToUserInventory() | 362 | public void TestReplicateArchivePathToUserInventory() |
358 | { | 363 | { |
359 | TestHelper.InMethod(); | 364 | TestHelper.InMethod(); |
@@ -362,6 +367,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
362 | 367 | ||
363 | CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); | 368 | CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); |
364 | userInfo.FetchInventory(); | 369 | userInfo.FetchInventory(); |
370 | /* | ||
365 | for (int i = 0 ; i < 50 ; i++) | 371 | for (int i = 0 ; i < 50 ; i++) |
366 | { | 372 | { |
367 | if (userInfo.HasReceivedInventory == true) | 373 | if (userInfo.HasReceivedInventory == true) |
@@ -369,6 +375,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
369 | Thread.Sleep(200); | 375 | Thread.Sleep(200); |
370 | } | 376 | } |
371 | Assert.That(userInfo.HasReceivedInventory, Is.True, "FetchInventory timed out (10 seconds)"); | 377 | Assert.That(userInfo.HasReceivedInventory, Is.True, "FetchInventory timed out (10 seconds)"); |
378 | */ | ||
379 | |||
380 | Console.WriteLine("userInfo.RootFolder 1: {0}", userInfo.RootFolder); | ||
381 | |||
372 | Dictionary <string, InventoryFolderImpl> foldersCreated = new Dictionary<string, InventoryFolderImpl>(); | 382 | Dictionary <string, InventoryFolderImpl> foldersCreated = new Dictionary<string, InventoryFolderImpl>(); |
373 | List<InventoryNodeBase> nodesLoaded = new List<InventoryNodeBase>(); | 383 | List<InventoryNodeBase> nodesLoaded = new List<InventoryNodeBase>(); |
374 | 384 | ||
@@ -386,10 +396,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
386 | = string.Format( | 396 | = string.Format( |
387 | "{0}{1}/{2}/{3}", | 397 | "{0}{1}/{2}/{3}", |
388 | ArchiveConstants.INVENTORY_PATH, folder1ArchiveName, folder2ArchiveName, itemName); | 398 | ArchiveConstants.INVENTORY_PATH, folder1ArchiveName, folder2ArchiveName, itemName); |
399 | |||
400 | Console.WriteLine("userInfo.RootFolder 2: {0}", userInfo.RootFolder); | ||
389 | 401 | ||
390 | new InventoryArchiveReadRequest(userInfo, null, (Stream)null, null, null) | 402 | new InventoryArchiveReadRequest(userInfo, null, (Stream)null, null, null) |
391 | .ReplicateArchivePathToUserInventory(itemArchivePath, false, userInfo.RootFolder, foldersCreated, nodesLoaded); | 403 | .ReplicateArchivePathToUserInventory(itemArchivePath, false, userInfo.RootFolder, foldersCreated, nodesLoaded); |
392 | 404 | ||
405 | Console.WriteLine("userInfo.RootFolder 3: {0}", userInfo.RootFolder); | ||
393 | InventoryFolderImpl folder1 = userInfo.RootFolder.FindFolderByPath("a"); | 406 | InventoryFolderImpl folder1 = userInfo.RootFolder.FindFolderByPath("a"); |
394 | Assert.That(folder1, Is.Not.Null, "Could not find folder a"); | 407 | Assert.That(folder1, Is.Not.Null, "Could not find folder a"); |
395 | InventoryFolderImpl folder2 = folder1.FindFolderByPath("b"); | 408 | InventoryFolderImpl folder2 = folder1.FindFolderByPath("b"); |
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs index 7082e85..ad42523 100644 --- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | |||
@@ -60,9 +60,9 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp | |||
60 | 60 | ||
61 | public class UrlModule : ISharedRegionModule, IUrlModule | 61 | public class UrlModule : ISharedRegionModule, IUrlModule |
62 | { | 62 | { |
63 | private static readonly ILog m_log = | 63 | // private static readonly ILog m_log = |
64 | LogManager.GetLogger( | 64 | // LogManager.GetLogger( |
65 | MethodBase.GetCurrentMethod().DeclaringType); | 65 | // MethodBase.GetCurrentMethod().DeclaringType); |
66 | 66 | ||
67 | private Dictionary<UUID, UrlData> m_RequestMap = | 67 | private Dictionary<UUID, UrlData> m_RequestMap = |
68 | new Dictionary<UUID, UrlData>(); | 68 | new Dictionary<UUID, UrlData>(); |
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs index a304357..e70d985 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs | |||
@@ -39,7 +39,6 @@ using OpenSim.Region.Framework.Scenes; | |||
39 | using OpenSim.Services.Interfaces; | 39 | using OpenSim.Services.Interfaces; |
40 | using OpenMetaverse; | 40 | using OpenMetaverse; |
41 | 41 | ||
42 | |||
43 | namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | 42 | namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory |
44 | { | 43 | { |
45 | public class LocalInventoryServicesConnector : ISharedRegionModule, IInventoryService | 44 | public class LocalInventoryServicesConnector : ISharedRegionModule, IInventoryService |
diff --git a/OpenSim/Region/Framework/ModuleLoader.cs b/OpenSim/Region/Framework/ModuleLoader.cs index 0242afd..23be9c2 100644 --- a/OpenSim/Region/Framework/ModuleLoader.cs +++ b/OpenSim/Region/Framework/ModuleLoader.cs | |||
@@ -184,6 +184,8 @@ namespace OpenSim.Region.Framework | |||
184 | 184 | ||
185 | public IRegionModule[] LoadModules(string dllName) | 185 | public IRegionModule[] LoadModules(string dllName) |
186 | { | 186 | { |
187 | //m_log.DebugFormat("[MODULES]: Looking for modules in {0}", dllName); | ||
188 | |||
187 | List<IRegionModule> modules = new List<IRegionModule>(); | 189 | List<IRegionModule> modules = new List<IRegionModule>(); |
188 | 190 | ||
189 | Assembly pluginAssembly; | 191 | Assembly pluginAssembly; |
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 83db396..9805ff5 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -2863,7 +2863,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2863 | //if ((framecount % m_randomizeWater) == 0) | 2863 | //if ((framecount % m_randomizeWater) == 0) |
2864 | // randomizeWater(waterlevel); | 2864 | // randomizeWater(waterlevel); |
2865 | 2865 | ||
2866 | int RayCastTimeMS = m_rayCastManager.ProcessQueuedRequests(); | 2866 | //int RayCastTimeMS = m_rayCastManager.ProcessQueuedRequests(); |
2867 | m_rayCastManager.ProcessQueuedRequests(); | ||
2867 | 2868 | ||
2868 | collision_optimized(timeStep); | 2869 | collision_optimized(timeStep); |
2869 | 2870 | ||
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index acab734..bc36fda 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -9032,8 +9032,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9032 | Match m = r.Match(url); | 9032 | Match m = r.Match(url); |
9033 | if (m.Success) { | 9033 | if (m.Success) { |
9034 | for (int i = 1; i < gnums.Length; i++) { | 9034 | for (int i = 1; i < gnums.Length; i++) { |
9035 | System.Text.RegularExpressions.Group g = m.Groups[gnums[i]]; | 9035 | //System.Text.RegularExpressions.Group g = m.Groups[gnums[i]]; |
9036 | CaptureCollection cc = g.Captures; | 9036 | //CaptureCollection cc = g.Captures; |
9037 | } | 9037 | } |
9038 | if (m.Groups.Count == 5) { | 9038 | if (m.Groups.Count == 5) { |
9039 | httpHeaders["Authorization"] = String.Format("Basic {0}", Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetBytes(m.Groups[2].ToString() + ":" + m.Groups[3].ToString()))); | 9039 | httpHeaders["Authorization"] = String.Format("Basic {0}", Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetBytes(m.Groups[2].ToString() + ":" + m.Groups[3].ToString()))); |
diff --git a/OpenSim/Server/Handlers/Freeswitch/FreeswitchServerGetHandler.cs b/OpenSim/Server/Handlers/Freeswitch/FreeswitchServerGetHandler.cs index c2a64b8..8b41742 100644 --- a/OpenSim/Server/Handlers/Freeswitch/FreeswitchServerGetHandler.cs +++ b/OpenSim/Server/Handlers/Freeswitch/FreeswitchServerGetHandler.cs | |||
@@ -46,12 +46,12 @@ namespace OpenSim.Server.Handlers.Freeswitch | |||
46 | { | 46 | { |
47 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 47 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
48 | 48 | ||
49 | private IFreeswitchService m_FreeswitchService; | 49 | //private IFreeswitchService m_FreeswitchService; |
50 | 50 | ||
51 | public FreeswitchServerGetHandler(IFreeswitchService service) : | 51 | public FreeswitchServerGetHandler(IFreeswitchService service) : |
52 | base("GET", "/api") | 52 | base("GET", "/api") |
53 | { | 53 | { |
54 | m_FreeswitchService = service; | 54 | //m_FreeswitchService = service; |
55 | } | 55 | } |
56 | 56 | ||
57 | public override byte[] Handle(string path, Stream request, | 57 | public override byte[] Handle(string path, Stream request, |
diff --git a/OpenSim/Services/FreeswitchService/FreeswitchService.cs b/OpenSim/Services/FreeswitchService/FreeswitchService.cs index 84674ec..0a38300 100644 --- a/OpenSim/Services/FreeswitchService/FreeswitchService.cs +++ b/OpenSim/Services/FreeswitchService/FreeswitchService.cs | |||
@@ -38,9 +38,7 @@ namespace OpenSim.Services.FreeswitchService | |||
38 | { | 38 | { |
39 | public class FreeswitchService : FreeswitchServiceBase, IFreeswitchService | 39 | public class FreeswitchService : FreeswitchServiceBase, IFreeswitchService |
40 | { | 40 | { |
41 | private static readonly ILog m_log = | 41 | //private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
42 | LogManager.GetLogger( | ||
43 | MethodBase.GetCurrentMethod().DeclaringType); | ||
44 | 42 | ||
45 | public FreeswitchService(IConfigSource config) : base(config) | 43 | public FreeswitchService(IConfigSource config) : base(config) |
46 | { | 44 | { |