Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
commit
b1e7e03390
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi)
|
NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi)
|
||||||
|
|
||||||
all: prebuild
|
all: prebuild
|
||||||
# @export PATH=/usr/local/bin:$(PATH)
|
# @export PATH=/usr/local/bin:$(PATH)
|
||||||
|
|
|
@ -38,8 +38,7 @@ namespace OpenSim.Framework
|
||||||
{
|
{
|
||||||
public class AvatarAppearance
|
public class AvatarAppearance
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log
|
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
|
||||||
|
|
||||||
// these are guessed at by the list here -
|
// these are guessed at by the list here -
|
||||||
// http://wiki.secondlife.com/wiki/Avatar_Appearance. We'll
|
// http://wiki.secondlife.com/wiki/Avatar_Appearance. We'll
|
||||||
|
|
|
@ -90,8 +90,8 @@ namespace OpenSim.Framework.Communications.Tests
|
||||||
TestHelper.InMethod();
|
TestHelper.InMethod();
|
||||||
// We want to use our own LoginService for this test, one that
|
// We want to use our own LoginService for this test, one that
|
||||||
// doesn't require authentication.
|
// doesn't require authentication.
|
||||||
LoginService loginService = new LLStandaloneLoginService((UserManagerBase)m_commsManager.UserService, "Hello folks", new TestInventoryService(),
|
new LLStandaloneLoginService((UserManagerBase)m_commsManager.UserService, "Hello folks", new TestInventoryService(),
|
||||||
m_commsManager.NetworkServersInfo, false, new LibraryRootFolder(String.Empty), m_regionConnector);
|
m_commsManager.NetworkServersInfo, false, new LibraryRootFolder(String.Empty), m_regionConnector);
|
||||||
|
|
||||||
Hashtable loginParams = new Hashtable();
|
Hashtable loginParams = new Hashtable();
|
||||||
loginParams["first"] = m_firstName;
|
loginParams["first"] = m_firstName;
|
||||||
|
|
|
@ -592,11 +592,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
Thread.Sleep(2000);
|
Thread.Sleep(2000);
|
||||||
|
|
||||||
// Shut down timers
|
// Shut down timers
|
||||||
m_clientPingTimer.Stop();
|
if (m_clientPingTimer.Enabled) m_clientPingTimer.Stop();
|
||||||
m_avatarTerseUpdateTimer.Stop();
|
if (m_avatarTerseUpdateTimer.Enabled) m_avatarTerseUpdateTimer.Stop();
|
||||||
m_primTerseUpdateTimer.Stop();
|
if (m_primTerseUpdateTimer.Enabled) m_primTerseUpdateTimer.Stop();
|
||||||
m_primFullUpdateTimer.Stop();
|
if (m_primFullUpdateTimer.Enabled) m_primFullUpdateTimer.Stop();
|
||||||
m_textureRequestTimer.Stop();
|
if (m_textureRequestTimer.Enabled) m_textureRequestTimer.Stop();
|
||||||
|
|
||||||
// This is just to give the client a reasonable chance of
|
// This is just to give the client a reasonable chance of
|
||||||
// flushing out all it's packets. There should probably
|
// flushing out all it's packets. There should probably
|
||||||
|
@ -676,11 +676,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
public void Stop()
|
public void Stop()
|
||||||
{
|
{
|
||||||
// Shut down timers
|
// Shut down timers
|
||||||
m_clientPingTimer.Stop();
|
if (m_clientPingTimer.Enabled) m_clientPingTimer.Stop();
|
||||||
m_avatarTerseUpdateTimer.Stop();
|
if (m_avatarTerseUpdateTimer.Enabled) m_avatarTerseUpdateTimer.Stop();
|
||||||
m_primTerseUpdateTimer.Stop();
|
if (m_primTerseUpdateTimer.Enabled) m_primTerseUpdateTimer.Stop();
|
||||||
m_primFullUpdateTimer.Stop();
|
if (m_primFullUpdateTimer.Enabled) m_primFullUpdateTimer.Stop();
|
||||||
m_textureRequestTimer.Stop();
|
if (m_textureRequestTimer.Enabled) m_textureRequestTimer.Stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Restart()
|
public void Restart()
|
||||||
|
@ -3111,7 +3111,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
{
|
{
|
||||||
lock (m_primFullUpdates)
|
lock (m_primFullUpdates)
|
||||||
{
|
{
|
||||||
if (m_primFullUpdates.Count == 0)
|
if (m_primFullUpdates.Count == 0 && m_primFullUpdateTimer.Enabled)
|
||||||
{
|
{
|
||||||
m_primFullUpdateTimer.Stop();
|
m_primFullUpdateTimer.Stop();
|
||||||
|
|
||||||
|
@ -3159,7 +3159,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
outPacket.Header.Zerocoded = true;
|
outPacket.Header.Zerocoded = true;
|
||||||
OutPacket(outPacket, ThrottleOutPacketType.Task | ThrottleOutPacketType.LowPriority);
|
OutPacket(outPacket, ThrottleOutPacketType.Task | ThrottleOutPacketType.LowPriority);
|
||||||
|
|
||||||
if (m_primFullUpdates.Count == 0)
|
if (m_primFullUpdates.Count == 0 && m_primFullUpdateTimer.Enabled)
|
||||||
m_primFullUpdateTimer.Stop();
|
m_primFullUpdateTimer.Stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -827,9 +827,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
sendbuffer.Length, SocketFlags.None, m_Client.CircuitCode);
|
sendbuffer.Length, SocketFlags.None, m_Client.CircuitCode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (NullReferenceException n)
|
catch (NullReferenceException)
|
||||||
{
|
{
|
||||||
m_log.Debug("[PACKET] Detected reuse of a returned packet");
|
m_log.Error("[PACKET]: Detected reuse of a returned packet");
|
||||||
m_PacketQueue.Cancel(item.Sequence);
|
m_PacketQueue.Cancel(item.Sequence);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,8 +45,7 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class UserTextureDownloadService
|
public class UserTextureDownloadService
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log
|
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// True if the service has been closed, probably because a user with texture requests still queued
|
/// 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
|
||||||
/// currently handle properly as far as I know). However, this situation should be handled in a more
|
/// currently handle properly as far as I know). However, this situation should be handled in a more
|
||||||
/// sophisticated way.
|
/// sophisticated way.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private static readonly int MAX_ALLOWED_TEXTURE_REQUESTS = 5;
|
// private static readonly int MAX_ALLOWED_TEXTURE_REQUESTS = 5;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// XXX Also going to limit requests for found textures.
|
/// XXX Also going to limit requests for found textures.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly IRequestLimitStrategy<UUID> foundTextureLimitStrategy
|
// private readonly IRequestLimitStrategy<UUID> foundTextureLimitStrategy
|
||||||
= new RepeatLimitStrategy<UUID>(MAX_ALLOWED_TEXTURE_REQUESTS);
|
// = new RepeatLimitStrategy<UUID>(MAX_ALLOWED_TEXTURE_REQUESTS);
|
||||||
|
|
||||||
private readonly IClientAPI m_client;
|
// private readonly IClientAPI m_client;
|
||||||
private readonly Scene m_scene;
|
private readonly Scene m_scene;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Texture Senders are placed in this queue once they have received their texture from the asset
|
/// Texture Senders are placed in this queue once they have received their texture from the asset
|
||||||
/// cache. Another module actually invokes the send.
|
/// cache. Another module actually invokes the send.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly OpenSim.Framework.BlockingQueue<ITextureSender> m_sharedSendersQueue;
|
// private readonly OpenSim.Framework.BlockingQueue<ITextureSender> m_sharedSendersQueue;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Holds texture senders before they have received the appropriate texture from the asset cache.
|
/// Holds texture senders before they have received the appropriate texture from the asset cache.
|
||||||
|
@ -88,15 +87,15 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload
|
||||||
/// XXX This is really a temporary solution to deal with the situation where a client continually requests
|
/// XXX This is really a temporary solution to deal with the situation where a client continually requests
|
||||||
/// the same missing textures
|
/// the same missing textures
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly IRequestLimitStrategy<UUID> missingTextureLimitStrategy
|
// private readonly IRequestLimitStrategy<UUID> missingTextureLimitStrategy
|
||||||
= new RepeatLimitStrategy<UUID>(MAX_ALLOWED_TEXTURE_REQUESTS);
|
// = new RepeatLimitStrategy<UUID>(MAX_ALLOWED_TEXTURE_REQUESTS);
|
||||||
|
|
||||||
public UserTextureDownloadService(
|
public UserTextureDownloadService(
|
||||||
IClientAPI client, Scene scene, OpenSim.Framework.BlockingQueue<ITextureSender> sharedQueue)
|
IClientAPI client, Scene scene, OpenSim.Framework.BlockingQueue<ITextureSender> sharedQueue)
|
||||||
{
|
{
|
||||||
m_client = client;
|
// m_client = client;
|
||||||
m_scene = scene;
|
m_scene = scene;
|
||||||
m_sharedSendersQueue = sharedQueue;
|
// m_sharedSendersQueue = sharedQueue;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -231,16 +230,16 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload
|
||||||
/// Place a ready texture sender on the processing queue.
|
/// Place a ready texture sender on the processing queue.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="textureSender"></param>
|
/// <param name="textureSender"></param>
|
||||||
private void EnqueueTextureSender(ITextureSender textureSender)
|
// private void EnqueueTextureSender(ITextureSender textureSender)
|
||||||
{
|
// {
|
||||||
textureSender.Cancel = false;
|
// textureSender.Cancel = false;
|
||||||
textureSender.Sending = true;
|
// textureSender.Sending = true;
|
||||||
|
//
|
||||||
if (!m_sharedSendersQueue.Contains(textureSender))
|
// if (!m_sharedSendersQueue.Contains(textureSender))
|
||||||
{
|
// {
|
||||||
m_sharedSendersQueue.Enqueue(textureSender);
|
// m_sharedSendersQueue.Enqueue(textureSender);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Close this module.
|
/// Close this module.
|
||||||
|
|
|
@ -66,7 +66,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test saving a V0.1 OpenSim Inventory Archive (subject to change since there is no fixed format yet).
|
/// Test saving a V0.1 OpenSim Inventory Archive (subject to change since there is no fixed format yet).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
//[Test]
|
[Test]
|
||||||
public void TestSaveIarV0_1()
|
public void TestSaveIarV0_1()
|
||||||
{
|
{
|
||||||
TestHelper.InMethod();
|
TestHelper.InMethod();
|
||||||
|
@ -264,17 +264,22 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
|
||||||
}
|
}
|
||||||
Assert.That(userInfo.HasReceivedInventory, Is.True, "FetchInventory timed out (10 seconds)");
|
Assert.That(userInfo.HasReceivedInventory, Is.True, "FetchInventory timed out (10 seconds)");
|
||||||
InventoryItemBase foundItem = userInfo.RootFolder.FindItemByPath(itemName);
|
InventoryItemBase foundItem = userInfo.RootFolder.FindItemByPath(itemName);
|
||||||
Assert.That(foundItem, Is.Not.Null);
|
Assert.That(foundItem, Is.Not.Null, "Didn't find loaded item");
|
||||||
Assert.That(foundItem.CreatorId, Is.EqualTo(item1.CreatorId));
|
Assert.That(
|
||||||
Assert.That(foundItem.CreatorIdAsUuid, Is.EqualTo(user2Uuid));
|
foundItem.CreatorId, Is.EqualTo(item1.CreatorId),
|
||||||
Assert.That(foundItem.Owner, Is.EqualTo(userUuid));
|
"Loaded item non-uuid creator doesn't match original");
|
||||||
|
Assert.That(
|
||||||
|
foundItem.CreatorIdAsUuid, Is.EqualTo(user2Uuid),
|
||||||
|
"Loaded item uuid creator doesn't match original");
|
||||||
|
Assert.That(foundItem.Owner, Is.EqualTo(userUuid),
|
||||||
|
"Loaded item owner doesn't match inventory reciever");
|
||||||
|
|
||||||
Console.WriteLine("Successfully completed {0}", MethodBase.GetCurrentMethod());
|
Console.WriteLine("Successfully completed {0}", MethodBase.GetCurrentMethod());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test loading a V0.1 OpenSim Inventory Archive (subject to change since there is no fixed format yet) where
|
/// Test loading a V0.1 OpenSim Inventory Archive (subject to change since there is no fixed format yet) where
|
||||||
/// no account exists with the creator name
|
/// no account exists with the creator name
|
||||||
/// </summary>
|
/// </summary>
|
||||||
//[Test]
|
//[Test]
|
||||||
public void TestLoadIarV0_1TempProfiles()
|
public void TestLoadIarV0_1TempProfiles()
|
||||||
|
@ -353,7 +358,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test replication of an archive path to the user's inventory.
|
/// Test replication of an archive path to the user's inventory.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
//[Test]
|
[Test]
|
||||||
public void TestReplicateArchivePathToUserInventory()
|
public void TestReplicateArchivePathToUserInventory()
|
||||||
{
|
{
|
||||||
TestHelper.InMethod();
|
TestHelper.InMethod();
|
||||||
|
@ -362,6 +367,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
|
||||||
|
|
||||||
CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
|
CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
|
||||||
userInfo.FetchInventory();
|
userInfo.FetchInventory();
|
||||||
|
/*
|
||||||
for (int i = 0 ; i < 50 ; i++)
|
for (int i = 0 ; i < 50 ; i++)
|
||||||
{
|
{
|
||||||
if (userInfo.HasReceivedInventory == true)
|
if (userInfo.HasReceivedInventory == true)
|
||||||
|
@ -369,6 +375,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
|
||||||
Thread.Sleep(200);
|
Thread.Sleep(200);
|
||||||
}
|
}
|
||||||
Assert.That(userInfo.HasReceivedInventory, Is.True, "FetchInventory timed out (10 seconds)");
|
Assert.That(userInfo.HasReceivedInventory, Is.True, "FetchInventory timed out (10 seconds)");
|
||||||
|
*/
|
||||||
|
|
||||||
|
Console.WriteLine("userInfo.RootFolder 1: {0}", userInfo.RootFolder);
|
||||||
|
|
||||||
Dictionary <string, InventoryFolderImpl> foldersCreated = new Dictionary<string, InventoryFolderImpl>();
|
Dictionary <string, InventoryFolderImpl> foldersCreated = new Dictionary<string, InventoryFolderImpl>();
|
||||||
List<InventoryNodeBase> nodesLoaded = new List<InventoryNodeBase>();
|
List<InventoryNodeBase> nodesLoaded = new List<InventoryNodeBase>();
|
||||||
|
|
||||||
|
@ -386,10 +396,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
|
||||||
= string.Format(
|
= string.Format(
|
||||||
"{0}{1}/{2}/{3}",
|
"{0}{1}/{2}/{3}",
|
||||||
ArchiveConstants.INVENTORY_PATH, folder1ArchiveName, folder2ArchiveName, itemName);
|
ArchiveConstants.INVENTORY_PATH, folder1ArchiveName, folder2ArchiveName, itemName);
|
||||||
|
|
||||||
|
Console.WriteLine("userInfo.RootFolder 2: {0}", userInfo.RootFolder);
|
||||||
|
|
||||||
new InventoryArchiveReadRequest(userInfo, null, (Stream)null, null, null)
|
new InventoryArchiveReadRequest(userInfo, null, (Stream)null, null, null)
|
||||||
.ReplicateArchivePathToUserInventory(itemArchivePath, false, userInfo.RootFolder, foldersCreated, nodesLoaded);
|
.ReplicateArchivePathToUserInventory(itemArchivePath, false, userInfo.RootFolder, foldersCreated, nodesLoaded);
|
||||||
|
|
||||||
|
Console.WriteLine("userInfo.RootFolder 3: {0}", userInfo.RootFolder);
|
||||||
InventoryFolderImpl folder1 = userInfo.RootFolder.FindFolderByPath("a");
|
InventoryFolderImpl folder1 = userInfo.RootFolder.FindFolderByPath("a");
|
||||||
Assert.That(folder1, Is.Not.Null, "Could not find folder a");
|
Assert.That(folder1, Is.Not.Null, "Could not find folder a");
|
||||||
InventoryFolderImpl folder2 = folder1.FindFolderByPath("b");
|
InventoryFolderImpl folder2 = folder1.FindFolderByPath("b");
|
||||||
|
|
|
@ -60,9 +60,9 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
|
||||||
|
|
||||||
public class UrlModule : ISharedRegionModule, IUrlModule
|
public class UrlModule : ISharedRegionModule, IUrlModule
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log =
|
// private static readonly ILog m_log =
|
||||||
LogManager.GetLogger(
|
// LogManager.GetLogger(
|
||||||
MethodBase.GetCurrentMethod().DeclaringType);
|
// MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
private Dictionary<UUID, UrlData> m_RequestMap =
|
private Dictionary<UUID, UrlData> m_RequestMap =
|
||||||
new Dictionary<UUID, UrlData>();
|
new Dictionary<UUID, UrlData>();
|
||||||
|
|
|
@ -39,7 +39,6 @@ using OpenSim.Region.Framework.Scenes;
|
||||||
using OpenSim.Services.Interfaces;
|
using OpenSim.Services.Interfaces;
|
||||||
using OpenMetaverse;
|
using OpenMetaverse;
|
||||||
|
|
||||||
|
|
||||||
namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
|
namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
|
||||||
{
|
{
|
||||||
public class LocalInventoryServicesConnector : ISharedRegionModule, IInventoryService
|
public class LocalInventoryServicesConnector : ISharedRegionModule, IInventoryService
|
||||||
|
|
|
@ -184,6 +184,8 @@ namespace OpenSim.Region.Framework
|
||||||
|
|
||||||
public IRegionModule[] LoadModules(string dllName)
|
public IRegionModule[] LoadModules(string dllName)
|
||||||
{
|
{
|
||||||
|
//m_log.DebugFormat("[MODULES]: Looking for modules in {0}", dllName);
|
||||||
|
|
||||||
List<IRegionModule> modules = new List<IRegionModule>();
|
List<IRegionModule> modules = new List<IRegionModule>();
|
||||||
|
|
||||||
Assembly pluginAssembly;
|
Assembly pluginAssembly;
|
||||||
|
|
|
@ -2863,7 +2863,8 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
//if ((framecount % m_randomizeWater) == 0)
|
//if ((framecount % m_randomizeWater) == 0)
|
||||||
// randomizeWater(waterlevel);
|
// randomizeWater(waterlevel);
|
||||||
|
|
||||||
int RayCastTimeMS = m_rayCastManager.ProcessQueuedRequests();
|
//int RayCastTimeMS = m_rayCastManager.ProcessQueuedRequests();
|
||||||
|
m_rayCastManager.ProcessQueuedRequests();
|
||||||
|
|
||||||
collision_optimized(timeStep);
|
collision_optimized(timeStep);
|
||||||
|
|
||||||
|
|
|
@ -9032,8 +9032,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
Match m = r.Match(url);
|
Match m = r.Match(url);
|
||||||
if (m.Success) {
|
if (m.Success) {
|
||||||
for (int i = 1; i < gnums.Length; i++) {
|
for (int i = 1; i < gnums.Length; i++) {
|
||||||
System.Text.RegularExpressions.Group g = m.Groups[gnums[i]];
|
//System.Text.RegularExpressions.Group g = m.Groups[gnums[i]];
|
||||||
CaptureCollection cc = g.Captures;
|
//CaptureCollection cc = g.Captures;
|
||||||
}
|
}
|
||||||
if (m.Groups.Count == 5) {
|
if (m.Groups.Count == 5) {
|
||||||
httpHeaders["Authorization"] = String.Format("Basic {0}", Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetBytes(m.Groups[2].ToString() + ":" + m.Groups[3].ToString())));
|
httpHeaders["Authorization"] = String.Format("Basic {0}", Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetBytes(m.Groups[2].ToString() + ":" + m.Groups[3].ToString())));
|
||||||
|
|
|
@ -46,12 +46,12 @@ namespace OpenSim.Server.Handlers.Freeswitch
|
||||||
{
|
{
|
||||||
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
private IFreeswitchService m_FreeswitchService;
|
//private IFreeswitchService m_FreeswitchService;
|
||||||
|
|
||||||
public FreeswitchServerGetHandler(IFreeswitchService service) :
|
public FreeswitchServerGetHandler(IFreeswitchService service) :
|
||||||
base("GET", "/api")
|
base("GET", "/api")
|
||||||
{
|
{
|
||||||
m_FreeswitchService = service;
|
//m_FreeswitchService = service;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override byte[] Handle(string path, Stream request,
|
public override byte[] Handle(string path, Stream request,
|
||||||
|
|
|
@ -38,9 +38,7 @@ namespace OpenSim.Services.FreeswitchService
|
||||||
{
|
{
|
||||||
public class FreeswitchService : FreeswitchServiceBase, IFreeswitchService
|
public class FreeswitchService : FreeswitchServiceBase, IFreeswitchService
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log =
|
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
LogManager.GetLogger(
|
|
||||||
MethodBase.GetCurrentMethod().DeclaringType);
|
|
||||||
|
|
||||||
public FreeswitchService(IConfigSource config) : base(config)
|
public FreeswitchService(IConfigSource config) : base(config)
|
||||||
{
|
{
|
||||||
|
|
Binary file not shown.
|
@ -4,28 +4,6 @@
|
||||||
<name>OpenMetaverse.Http</name>
|
<name>OpenMetaverse.Http</name>
|
||||||
</assembly>
|
</assembly>
|
||||||
<members>
|
<members>
|
||||||
<member name="T:OpenMetaverse.Http.Logger">
|
|
||||||
<summary>
|
|
||||||
Singleton logging class for the entire library
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:OpenMetaverse.Http.Logger.Log">
|
|
||||||
<summary>log4net logging engine</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:OpenMetaverse.Http.log4netLogWriter.Instance">
|
|
||||||
<summary>
|
|
||||||
Singleton instance of this class
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:OpenMetaverse.Http.EventQueueClient.REQUEST_TIMEOUT">
|
|
||||||
<summary>=</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:OpenMetaverse.Http.EventQueueClient._errorCount">
|
|
||||||
<summary>Number of times we've received an unknown CAPS exception in series.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:OpenMetaverse.Http.EventQueueClient._random">
|
|
||||||
<summary>For exponential backoff on error.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:OpenMetaverse.Http.EventQueueServer.CONNECTION_TIMEOUT">
|
<member name="F:OpenMetaverse.Http.EventQueueServer.CONNECTION_TIMEOUT">
|
||||||
<summary>The number of milliseconds to wait before the connection times out
|
<summary>The number of milliseconds to wait before the connection times out
|
||||||
and an empty response is sent to the client. This value should be higher
|
and an empty response is sent to the client. This value should be higher
|
||||||
|
@ -44,6 +22,19 @@
|
||||||
events and never sending a response if there is a constant stream of new
|
events and never sending a response if there is a constant stream of new
|
||||||
events</summary>
|
events</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:OpenMetaverse.Http.Logger">
|
||||||
|
<summary>
|
||||||
|
Singleton logging class for the entire library
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:OpenMetaverse.Http.Logger.Log">
|
||||||
|
<summary>log4net logging engine</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:OpenMetaverse.Http.log4netLogWriter.Instance">
|
||||||
|
<summary>
|
||||||
|
Singleton instance of this class
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:OpenMetaverse.Http.CapsRequestCallback">
|
<member name="T:OpenMetaverse.Http.CapsRequestCallback">
|
||||||
<summary>
|
<summary>
|
||||||
Delegate for handling incoming HTTP requests through a capability
|
Delegate for handling incoming HTTP requests through a capability
|
||||||
|
@ -53,5 +44,14 @@
|
||||||
<param name="response">HTTP response</param>
|
<param name="response">HTTP response</param>
|
||||||
<param name="state">User-defined state object</param>
|
<param name="state">User-defined state object</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="F:OpenMetaverse.Http.EventQueueClient.REQUEST_TIMEOUT">
|
||||||
|
<summary>=</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:OpenMetaverse.Http.EventQueueClient._errorCount">
|
||||||
|
<summary>Number of times we've received an unknown CAPS exception in series.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:OpenMetaverse.Http.EventQueueClient._random">
|
||||||
|
<summary>For exponential backoff on error.</summary>
|
||||||
|
</member>
|
||||||
</members>
|
</members>
|
||||||
</doc>
|
</doc>
|
||||||
|
|
Binary file not shown.
|
@ -15,63 +15,6 @@
|
||||||
|
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:OpenMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.Byte[])">
|
|
||||||
<summary>
|
|
||||||
|
|
||||||
</summary>
|
|
||||||
<param name="xmlData"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:OpenMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.String)">
|
|
||||||
<summary>
|
|
||||||
|
|
||||||
</summary>
|
|
||||||
<param name="xmlData"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:OpenMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.Xml.XmlTextReader)">
|
|
||||||
<summary>
|
|
||||||
|
|
||||||
</summary>
|
|
||||||
<param name="xmlData"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:OpenMetaverse.StructuredData.OSDParser.SerializeLLSDXmlBytes(OpenMetaverse.StructuredData.OSD)">
|
|
||||||
<summary>
|
|
||||||
|
|
||||||
</summary>
|
|
||||||
<param name="data"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:OpenMetaverse.StructuredData.OSDParser.SerializeLLSDXmlString(OpenMetaverse.StructuredData.OSD)">
|
|
||||||
<summary>
|
|
||||||
|
|
||||||
</summary>
|
|
||||||
<param name="data"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:OpenMetaverse.StructuredData.OSDParser.SerializeLLSDXmlElement(System.Xml.XmlTextWriter,OpenMetaverse.StructuredData.OSD)">
|
|
||||||
<summary>
|
|
||||||
|
|
||||||
</summary>
|
|
||||||
<param name="writer"></param>
|
|
||||||
<param name="data"></param>
|
|
||||||
</member>
|
|
||||||
<member name="M:OpenMetaverse.StructuredData.OSDParser.TryValidateLLSDXml(System.Xml.XmlTextReader,System.String@)">
|
|
||||||
<summary>
|
|
||||||
|
|
||||||
</summary>
|
|
||||||
<param name="xmlData"></param>
|
|
||||||
<param name="error"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:OpenMetaverse.StructuredData.OSDParser.ParseLLSDXmlElement(System.Xml.XmlTextReader)">
|
|
||||||
<summary>
|
|
||||||
|
|
||||||
</summary>
|
|
||||||
<param name="reader"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:OpenMetaverse.StructuredData.OSDParser.DeserializeLLSDBinary(System.Byte[])">
|
<member name="M:OpenMetaverse.StructuredData.OSDParser.DeserializeLLSDBinary(System.Byte[])">
|
||||||
<summary>
|
<summary>
|
||||||
|
|
||||||
|
@ -151,6 +94,63 @@
|
||||||
<param name="intHostEnd"></param>
|
<param name="intHostEnd"></param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:OpenMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.Byte[])">
|
||||||
|
<summary>
|
||||||
|
|
||||||
|
</summary>
|
||||||
|
<param name="xmlData"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:OpenMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.String)">
|
||||||
|
<summary>
|
||||||
|
|
||||||
|
</summary>
|
||||||
|
<param name="xmlData"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:OpenMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.Xml.XmlTextReader)">
|
||||||
|
<summary>
|
||||||
|
|
||||||
|
</summary>
|
||||||
|
<param name="xmlData"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:OpenMetaverse.StructuredData.OSDParser.SerializeLLSDXmlBytes(OpenMetaverse.StructuredData.OSD)">
|
||||||
|
<summary>
|
||||||
|
|
||||||
|
</summary>
|
||||||
|
<param name="data"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:OpenMetaverse.StructuredData.OSDParser.SerializeLLSDXmlString(OpenMetaverse.StructuredData.OSD)">
|
||||||
|
<summary>
|
||||||
|
|
||||||
|
</summary>
|
||||||
|
<param name="data"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:OpenMetaverse.StructuredData.OSDParser.SerializeLLSDXmlElement(System.Xml.XmlTextWriter,OpenMetaverse.StructuredData.OSD)">
|
||||||
|
<summary>
|
||||||
|
|
||||||
|
</summary>
|
||||||
|
<param name="writer"></param>
|
||||||
|
<param name="data"></param>
|
||||||
|
</member>
|
||||||
|
<member name="M:OpenMetaverse.StructuredData.OSDParser.TryValidateLLSDXml(System.Xml.XmlTextReader,System.String@)">
|
||||||
|
<summary>
|
||||||
|
|
||||||
|
</summary>
|
||||||
|
<param name="xmlData"></param>
|
||||||
|
<param name="error"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:OpenMetaverse.StructuredData.OSDParser.ParseLLSDXmlElement(System.Xml.XmlTextReader)">
|
||||||
|
<summary>
|
||||||
|
|
||||||
|
</summary>
|
||||||
|
<param name="reader"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
<member name="M:OpenMetaverse.StructuredData.OSDParser.DeserializeLLSDNotationElement(System.IO.StringReader)">
|
<member name="M:OpenMetaverse.StructuredData.OSDParser.DeserializeLLSDNotationElement(System.IO.StringReader)">
|
||||||
<summary>
|
<summary>
|
||||||
|
|
||||||
|
|
Binary file not shown.
30412
bin/OpenMetaverse.XML
30412
bin/OpenMetaverse.XML
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<dllmap os="osx" dll="openjpeg-dotnet.dll" target="libopenjpeg-dotnet-2.1.3.0-dotnet-1.dylib" />
|
<dllmap os="osx" dll="openjpeg-dotnet.dll" target="libopenjpeg-dotnet-2.1.3.0-dotnet-1.dylib" />
|
||||||
<dllmap os="!windows,osx" cpu="x86-64,ia64" dll="openjpeg-dotnet.dll" target="libopenjpeg-dotnet-2.1.3.0-dotnet-1-x86_64" />
|
<dllmap os="!windows,osx" cpu="x86-64,ia64" dll="openjpeg-dotnet.dll" target="libopenjpeg-dotnet-2.1.3.0-dotnet-1-x86_64" />
|
||||||
<dllmap os="!windows,osx" cpu="x86" dll="openjpeg-dotnet.dll" target="libopenjpeg-dotnet-2.1.3.0-dotnet-1-i686" />
|
<dllmap os="!windows,osx" cpu="x86" dll="openjpeg-dotnet.dll" target="libopenjpeg-dotnet-2.1.3.0-dotnet-1" />
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
Reference in New Issue