From e41eedc9aeba3eb36cdba4fcdf1e57bea976cab4 Mon Sep 17 00:00:00 2001
From: mingchen
Date: Wed, 27 Jun 2007 16:39:11 +0000
Subject: *Some more restructuring/fixing -- should compile, but high chance I
forgot to add/remove something
---
OpenSim/Region/Application/Application.cs | 3 +-
OpenSim/Region/Application/OpenSim.csproj | 79 ++++----
OpenSim/Region/Application/OpenSimMain.cs | 28 +--
OpenSim/Region/Caches/AssetCache.cs | 2 +-
OpenSim/Region/Caches/Properties/AssemblyInfo.cs | 4 +-
.../Region/ClientStack/Assets/InventoryCache.cs | 1 +
.../ClientStack/ClientStackNetworkHandler.cs | 2 +-
OpenSim/Region/ClientStack/ClientView.API.cs | 2 +-
.../ClientStack/ClientView.AgentAssetUpload.cs | 4 +-
.../ClientStack/ClientView.PacketHandlers.cs | 2 +-
.../ClientStack/ClientView.ProcessPackets.cs | 2 +-
OpenSim/Region/ClientStack/ClientView.cs | 4 +-
OpenSim/Region/ClientStack/ClientViewBase.cs | 2 +-
OpenSim/Region/ClientStack/PacketServer.cs | 4 +-
.../Region/ClientStack/RegionApplicationBase.cs | 5 +-
OpenSim/Region/ClientStack/UDPServer.cs | 7 +-
OpenSim/Region/ClientStack/VersionInfo.cs | 2 +-
OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 16 +-
OpenSim/Region/Examples/SimpleApp/Program.cs | 9 +-
OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj | 71 +++----
.../LocalCommunications/CommunicationsLocal.cs | 61 ------
.../LocalCommunications/LocalBackEndServices.cs | 209 --------------------
.../LocalCommunications/LocalUserServices.cs | 118 -----------
.../OpenSim.Region.LocalCommunications.csproj | 121 ------------
.../OpenSim.Region.LocalCommunications.csproj.user | 12 --
.../LocalCommunications/Properties/AssemblyInfo.cs | 35 ----
OpenSim/Region/Simulation/Caps.cs | 6 +-
OpenSim/Region/Simulation/EstateManager.cs | 8 +-
.../Simulation/OpenSim.Region.Environment.csproj | 218 +++++++++++++++++++++
.../Simulation/OpenSim.Region.Simulation.csproj | 211 --------------------
.../OpenSim.Region.Simulation.csproj.user | 12 --
OpenSim/Region/Simulation/ParcelManager.cs | 8 +-
OpenSim/Region/Simulation/RegionManager.cs | 6 +-
OpenSim/Region/Simulation/Scenes/Entity.cs | 4 +-
.../Region/Simulation/Scenes/IScenePresenceBody.cs | 2 +-
OpenSim/Region/Simulation/Scenes/Primitive.cs | 6 +-
.../Simulation/Scenes/Scene.PacketHandlers.cs | 6 +-
.../Region/Simulation/Scenes/Scene.Scripting.cs | 2 +-
OpenSim/Region/Simulation/Scenes/Scene.cs | 14 +-
OpenSim/Region/Simulation/Scenes/SceneBase.cs | 6 +-
OpenSim/Region/Simulation/Scenes/SceneEvents.cs | 2 +-
OpenSim/Region/Simulation/Scenes/SceneObject.cs | 2 +-
.../Simulation/Scenes/ScenePresence.Animations.cs | 4 +-
.../Region/Simulation/Scenes/ScenePresence.Body.cs | 2 +-
OpenSim/Region/Simulation/Scenes/ScenePresence.cs | 2 +-
.../Simulation/Scenes/scripting/IScriptContext.cs | 2 +-
.../Simulation/Scenes/scripting/IScriptEntity.cs | 2 +-
.../Simulation/Scenes/scripting/IScriptHandler.cs | 10 +-
.../Region/Simulation/Scenes/scripting/Script.cs | 2 +-
.../Simulation/Scenes/scripting/ScriptFactory.cs | 2 +-
.../Scenes/scripting/Scripts/FollowRandomAvatar.cs | 2 +-
.../LocalStorageBerkeleyDB/BDBLocalStorage.cs | 2 +-
.../Storage/LocalStorageDb4o/Db4LocalStorage.cs | 2 +-
.../Region/Storage/LocalStorageDb4o/MapStorage.cs | 2 +-
.../Storage/LocalStorageDb4o/UUIDParcelQuery.cs | 2 +-
.../Storage/LocalStorageDb4o/UUIDPrimQuery.cs | 2 +-
.../LocalStorageSQLite/Properties/AssemblyInfo.cs | 4 +-
.../LocalStorageSQLite/SQLiteLocalStorage.cs | 2 +-
58 files changed, 406 insertions(+), 956 deletions(-)
delete mode 100644 OpenSim/Region/LocalCommunications/CommunicationsLocal.cs
delete mode 100644 OpenSim/Region/LocalCommunications/LocalBackEndServices.cs
delete mode 100644 OpenSim/Region/LocalCommunications/LocalUserServices.cs
delete mode 100644 OpenSim/Region/LocalCommunications/OpenSim.Region.LocalCommunications.csproj
delete mode 100644 OpenSim/Region/LocalCommunications/OpenSim.Region.LocalCommunications.csproj.user
delete mode 100644 OpenSim/Region/LocalCommunications/Properties/AssemblyInfo.cs
create mode 100644 OpenSim/Region/Simulation/OpenSim.Region.Environment.csproj
delete mode 100644 OpenSim/Region/Simulation/OpenSim.Region.Simulation.csproj
delete mode 100644 OpenSim/Region/Simulation/OpenSim.Region.Simulation.csproj.user
(limited to 'OpenSim/Region')
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index 40701b0..1dcd99b 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -29,6 +29,7 @@ using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Framework.Console;
+using OpenSim.Region.ClientStack;
namespace OpenSim
{
@@ -108,7 +109,7 @@ namespace OpenSim
sim.m_sandbox = sandBoxMode;
sim.user_accounts = userAccounts;
sim.gridLocalAsset = gridLocalAsset;
- OpenSim.Region.Scenes.ScenePresence.PhysicsEngineFlying = allowFlying;
+ OpenSim.Region.Environment.Scenes.ScenePresence.PhysicsEngineFlying = allowFlying;
sim.StartUp();
diff --git a/OpenSim/Region/Application/OpenSim.csproj b/OpenSim/Region/Application/OpenSim.csproj
index 214f2cf..fcde555 100644
--- a/OpenSim/Region/Application/OpenSim.csproj
+++ b/OpenSim/Region/Application/OpenSim.csproj
@@ -1,4 +1,4 @@
-
+
Local
8.0.50727
@@ -6,7 +6,8 @@
{438A9556-0000-0000-0000-000000000000}
Debug
AnyCPU
-
+
+
OpenSim
@@ -15,9 +16,11 @@
IE50
false
Exe
-
+
+
OpenSim
-
+
+
@@ -28,7 +31,8 @@
TRACE;DEBUG
-
+
+
True
4096
False
@@ -37,7 +41,8 @@
False
False
4
-
+
+
False
@@ -46,7 +51,8 @@
TRACE
-
+
+
False
4096
True
@@ -55,30 +61,31 @@
False
False
4
-
+
+
-
+
..\..\..\bin\Axiom.MathLib.dll
False
-
+
..\..\..\bin\Db4objects.Db4o.dll
False
-
+
..\..\..\bin\libsecondlife.dll
False
-
+
System.dll
False
-
+
System.Xml.dll
False
-
+
..\..\..\bin\XMLRPC.dll
False
@@ -88,79 +95,75 @@
OpenSim.Framework
{8ACA2445-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Framework.Communications
{CB52B7E7-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Framework.Communications.OGS1
- {6109024D-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Framework.Console
{A7CD0630-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Framework.GenericConfig.Xml
{C74E4A30-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Framework.Servers
{2CC71860-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Framework.UserManagement
{586E2916-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Region.Caches
{61FCCDB3-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Region.ClientStack
{DC3698B2-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
-
- OpenSim.Region.LocalCommunications
+
{EB3A1BA8-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ OpenSim.Region.Communications.Local
+
+
+ {6109024D-0000-0000-0000-000000000000}
+ OpenSim.Region.Communications.OGS1
OpenSim.Region.Physics.Manager
{F4FF31EB-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
-
- OpenSim.Region.Simulation
+
+ OpenSim.Region.Environment
{C0DAB338-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Region.Terrain.BasicTerrain
{C9E0F891-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
@@ -178,4 +181,4 @@
-
+
\ No newline at end of file
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 7da2263..db4185c 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -38,22 +38,24 @@ using System.Collections;
using System.Collections.Generic;
using libsecondlife;
using libsecondlife.Packets;
-using OpenSim.Region;
-using OpenSim.Region.Scenes;
+using OpenSim.Region.Environment;
+using OpenSim.Region.Environment.Scenes;
using OpenSim.Terrain;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using OpenSim.Framework;
using OpenSim.Assets;
-using OpenSim.Caches;
+using OpenSim.Region.Caches;
using OpenSim.Framework.Console;
using OpenSim.Physics.Manager;
using Nwc.XmlRpc;
-using OpenSim.Servers;
+using OpenSim.Framework.Servers;
using OpenSim.GenericConfig;
-using OpenGrid.Framework.Communications;
-using OpenSim.LocalCommunications;
-using OpenGrid.Framework.Communications.OGS1;
+using OpenSim.Framework.Communications;
+using OpenSim.Region.Communications.OGS1;
+using OpenSim.Region.Communications.Local;
+
+using OpenSim.Region.ClientStack;
namespace OpenSim
{
@@ -241,7 +243,7 @@ namespace OpenSim
udpServer.LocalWorld = LocalWorld;
- LocalWorld.LoadStorageDLL("OpenSim.Storage.LocalStorageDb4o.dll"); //all these dll names shouldn't be hard coded.
+ LocalWorld.LoadStorageDLL("OpenSim.Region.Storage.LocalStorageDb4o.dll"); //all these dll names shouldn't be hard coded.
LocalWorld.LoadWorldMap();
m_log.Verbose( "Main.cs:Startup() - Starting up messaging system");
@@ -358,23 +360,23 @@ namespace OpenSim
case "":
this.m_physicsEngine = "basicphysics";
configData.SetAttribute("PhysicsEngine", "basicphysics");
- OpenSim.Region.Scenes.ScenePresence.PhysicsEngineFlying = false;
+ OpenSim.Region.Environment.Scenes.ScenePresence.PhysicsEngineFlying = false;
break;
case "basicphysics":
this.m_physicsEngine = "basicphysics";
configData.SetAttribute("PhysicsEngine", "basicphysics");
- OpenSim.Region.Scenes.ScenePresence.PhysicsEngineFlying = false;
+ OpenSim.Region.Environment.Scenes.ScenePresence.PhysicsEngineFlying = false;
break;
case "RealPhysX":
this.m_physicsEngine = "RealPhysX";
- OpenSim.Region.Scenes.ScenePresence.PhysicsEngineFlying = true;
+ OpenSim.Region.Environment.Scenes.ScenePresence.PhysicsEngineFlying = true;
break;
case "OpenDynamicsEngine":
this.m_physicsEngine = "OpenDynamicsEngine";
- OpenSim.Region.Scenes.ScenePresence.PhysicsEngineFlying = true;
+ OpenSim.Region.Environment.Scenes.ScenePresence.PhysicsEngineFlying = true;
break;
}
@@ -456,7 +458,7 @@ namespace OpenSim
m_log.Error( "That is " + (DateTime.Now - startuptime).ToString());
break;
case "users":
- OpenSim.Region.Scenes.ScenePresence TempAv;
+ OpenSim.Region.Environment.Scenes.ScenePresence TempAv;
m_log.Error( String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16}{5,-16}", "Firstname", "Lastname", "Agent ID", "Session ID", "Circuit", "IP"));
/* foreach (libsecondlife.LLUUID UUID in LocalWorld.Entities.Keys)
{
diff --git a/OpenSim/Region/Caches/AssetCache.cs b/OpenSim/Region/Caches/AssetCache.cs
index d0cc370..6cf921b 100644
--- a/OpenSim/Region/Caches/AssetCache.cs
+++ b/OpenSim/Region/Caches/AssetCache.cs
@@ -36,7 +36,7 @@ using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using OpenSim.Framework.Utilities;
-namespace OpenSim.Caches
+namespace OpenSim.Region.Caches
{
public delegate void DownloadComplete(AssetCache.TextureSender sender);
diff --git a/OpenSim/Region/Caches/Properties/AssemblyInfo.cs b/OpenSim/Region/Caches/Properties/AssemblyInfo.cs
index 00f5dfe..5e6ecbb 100644
--- a/OpenSim/Region/Caches/Properties/AssemblyInfo.cs
+++ b/OpenSim/Region/Caches/Properties/AssemblyInfo.cs
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("OpenSim.Caches")]
+[assembly: AssemblyTitle("OpenSim.Region.Caches")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("OpenSim.Caches")]
+[assembly: AssemblyProduct("OpenSim.Region.Caches")]
[assembly: AssemblyCopyright("Copyright © 2007")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
diff --git a/OpenSim/Region/ClientStack/Assets/InventoryCache.cs b/OpenSim/Region/ClientStack/Assets/InventoryCache.cs
index 5d5021c..da74f85 100644
--- a/OpenSim/Region/ClientStack/Assets/InventoryCache.cs
+++ b/OpenSim/Region/ClientStack/Assets/InventoryCache.cs
@@ -35,6 +35,7 @@ using libsecondlife.Packets;
using OpenSim.Framework.Inventory;
using OpenSim.Framework.Types;
using OpenSim.Framework.Interfaces;
+using OpenSim.Region.ClientStack;
namespace OpenSim.Assets
{
diff --git a/OpenSim/Region/ClientStack/ClientStackNetworkHandler.cs b/OpenSim/Region/ClientStack/ClientStackNetworkHandler.cs
index 7552195..f99cf79 100644
--- a/OpenSim/Region/ClientStack/ClientStackNetworkHandler.cs
+++ b/OpenSim/Region/ClientStack/ClientStackNetworkHandler.cs
@@ -33,7 +33,7 @@ using System.Net.Sockets;
using libsecondlife;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
public interface ClientStackNetworkHandler
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs
index 902f3c7..5e346fb 100644
--- a/OpenSim/Region/ClientStack/ClientView.API.cs
+++ b/OpenSim/Region/ClientStack/ClientView.API.cs
@@ -35,7 +35,7 @@ using OpenSim.Framework.Types;
using libsecondlife;
using libsecondlife.Packets;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
partial class ClientView
{
diff --git a/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs b/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs
index 914c38a..bc6cc21 100644
--- a/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs
+++ b/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs
@@ -32,11 +32,11 @@ using OpenSim.Assets;
using OpenSim.Framework.Types;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Utilities;
-using OpenSim.Caches;
+using OpenSim.Region.Caches;
using libsecondlife;
using libsecondlife.Packets;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
partial class ClientView
{
diff --git a/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs
index 32aed02..cbd10dc 100644
--- a/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs
+++ b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs
@@ -42,7 +42,7 @@ using OpenSim.Framework.Inventory;
using OpenSim.Framework.Utilities;
using OpenSim.Assets;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
public partial class ClientView
{
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index 191ef21..51981b8 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -42,7 +42,7 @@ using OpenSim.Framework.Inventory;
using OpenSim.Framework.Utilities;
using OpenSim.Assets;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
public partial class ClientView
{
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 312da9d..9c4462d 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -42,9 +42,9 @@ using OpenSim.Framework.Types;
using OpenSim.Framework.Inventory;
using OpenSim.Framework.Utilities;
using OpenSim.Assets;
-using OpenSim.Caches;
+using OpenSim.Region.Caches;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
public delegate bool PacketMethod(ClientView simClient, Packet packet);
diff --git a/OpenSim/Region/ClientStack/ClientViewBase.cs b/OpenSim/Region/ClientStack/ClientViewBase.cs
index 8b503f0..7d39405 100644
--- a/OpenSim/Region/ClientStack/ClientViewBase.cs
+++ b/OpenSim/Region/ClientStack/ClientViewBase.cs
@@ -39,7 +39,7 @@ using System.Timers;
using OpenSim.Framework.Utilities;
using OpenSim.Framework.Interfaces;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
public class ClientViewBase
{
diff --git a/OpenSim/Region/ClientStack/PacketServer.cs b/OpenSim/Region/ClientStack/PacketServer.cs
index 229570c..ffd254e 100644
--- a/OpenSim/Region/ClientStack/PacketServer.cs
+++ b/OpenSim/Region/ClientStack/PacketServer.cs
@@ -34,9 +34,9 @@ using OpenSim.Framework;
using System.Net;
using System.Net.Sockets;
using OpenSim.Assets;
-using OpenSim.Caches;
+using OpenSim.Region.Caches;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
public class PacketServer
{
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
index b421fbd..d39adb5 100644
--- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs
+++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
@@ -42,14 +42,13 @@ using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using OpenSim.Framework;
using OpenSim.Assets;
-using OpenSim.Caches;
+using OpenSim.Region.Caches;
using OpenSim.Framework.Console;
using OpenSim.Physics.Manager;
using Nwc.XmlRpc;
using OpenSim.Framework.Servers;
-using OpenSim.Framework.GenericConfig;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
public class RegionApplicationBase
{
diff --git a/OpenSim/Region/ClientStack/UDPServer.cs b/OpenSim/Region/ClientStack/UDPServer.cs
index f2a02d9..33097ed 100644
--- a/OpenSim/Region/ClientStack/UDPServer.cs
+++ b/OpenSim/Region/ClientStack/UDPServer.cs
@@ -41,14 +41,13 @@ using OpenSim.Terrain;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using OpenSim.Assets;
-using OpenSim.Caches;
+using OpenSim.Region.Caches;
using OpenSim.Framework.Console;
using OpenSim.Framework;
using Nwc.XmlRpc;
-using OpenSim.Servers;
-using OpenSim.GenericConfig;
+using OpenSim.Framework.Servers;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
public class UDPServer : ClientStackNetworkHandler
diff --git a/OpenSim/Region/ClientStack/VersionInfo.cs b/OpenSim/Region/ClientStack/VersionInfo.cs
index 5d1354e..249ca94 100644
--- a/OpenSim/Region/ClientStack/VersionInfo.cs
+++ b/OpenSim/Region/ClientStack/VersionInfo.cs
@@ -27,7 +27,7 @@
*/
using System;
-namespace OpenSim
+namespace OpenSim.Region.ClientStack
{
///
///
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
index 01e0c59..89f39d3 100644
--- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
+++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
@@ -5,20 +5,20 @@ using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using OpenSim.Framework.Console;
using libsecondlife;
-using OpenSim.Region;
-using Avatar=OpenSim.Region.Scenes.ScenePresence;
-using OpenSim.Region.Scenes;
+using OpenSim.Region.Environment;
+using Avatar=OpenSim.Region.Environment.Scenes.ScenePresence;
+using OpenSim.Region.Environment.Scenes;
using OpenSim.Framework;
-using OpenSim.Caches;
-using OpenGrid.Framework.Communications;
-using OpenSim.Servers;
+using OpenSim.Region.Caches;
+using OpenSim.Framework.Communications;
+using OpenSim.Framework.Servers;
namespace SimpleApp
{
public class MyWorld : Scene
{
private RegionInfo m_regionInfo;
- private List m_avatars;
+ private List m_avatars;
public MyWorld(Dictionary clientThreads, RegionInfo regionInfo, AuthenticateSessionsBase authen, CommunicationsManager commsMan, AssetCache assetCach, BaseHttpServer httpServer)
: base(clientThreads, regionInfo, authen, commsMan, assetCach, httpServer)
@@ -76,7 +76,7 @@ namespace SimpleApp
client.SendRegionHandshake(m_regionInfo);
- OpenSim.Region.Scenes.ScenePresence avatar = new Avatar( client, this, m_regionInfo );
+ OpenSim.Region.Environment.Scenes.ScenePresence avatar = new Avatar( client, this, m_regionInfo );
}
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index e1465d1..8c1e965 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -6,13 +6,14 @@ using OpenSim.GridInterfaces.Local;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using OpenSim.Framework.Console;
+using OpenSim.Framework.Servers;
using OpenSim.Assets;
using libsecondlife;
-using OpenSim.Servers;
using OpenSim.Framework;
-using OpenSim.Caches;
-using OpenGrid.Framework.Communications;
-using OpenSim.LocalCommunications;
+using OpenSim.Region.Caches;
+using OpenSim.Framework.Communications;
+using OpenSim.Region.Communications.Local;
+using OpenSim.Region.ClientStack;
namespace SimpleApp
{
diff --git a/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj b/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj
index 5129be2..8a62af4 100644
--- a/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj
+++ b/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj
@@ -1,4 +1,4 @@
-
+
Local
8.0.50727
@@ -6,7 +6,8 @@
{24B12448-0000-0000-0000-000000000000}
Debug
AnyCPU
-
+
+
SimpleApp
@@ -15,9 +16,11 @@
IE50
false
Exe
-
+
+
SimpleApp
-
+
+
@@ -28,7 +31,8 @@
TRACE;DEBUG
-
+
+
True
4096
False
@@ -37,7 +41,8 @@
False
False
4
-
+
+
False
@@ -46,7 +51,8 @@
TRACE
-
+
+
False
4096
True
@@ -55,30 +61,27 @@
False
False
4
-
+
+
-
+
..\..\..\..\bin\libsecondlife.dll
False
-
- OpenSim.Servers.dll
- False
-
-
+
System.dll
False
-
+
..\..\..\..\bin\System.Data.dll
False
-
+
System.Xml.dll
False
-
+
..\..\..\..\bin\XMLRPC.dll
False
@@ -88,49 +91,51 @@
OpenSim.Framework
{8ACA2445-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Framework.Communications
{CB52B7E7-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Framework.Console
{A7CD0630-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
+
+
+ {2CC71860-0000-0000-0000-000000000000}
+ OpenSim.Framework.Servers
OpenSim.Region.Caches
{61FCCDB3-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
OpenSim.Region.ClientStack
{DC3698B2-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
+
+
+ {EB3A1BA8-0000-0000-0000-000000000000}
+ OpenSim.Region.Communications.Local
OpenSim.Region.GridInterfaces.Local
{241A8CDD-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Region.LocalCommunications
- {EB3A1BA8-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
-
- OpenSim.Region.Simulation
+
+ OpenSim.Region.Environment
{C0DAB338-0000-0000-0000-000000000000}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
+ False
@@ -151,4 +156,4 @@
-
+
\ No newline at end of file
diff --git a/OpenSim/Region/LocalCommunications/CommunicationsLocal.cs b/OpenSim/Region/LocalCommunications/CommunicationsLocal.cs
deleted file mode 100644
index 743b9b4..0000000
--- a/OpenSim/Region/LocalCommunications/CommunicationsLocal.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
-* Copyright (c) Contributors, http://www.openmetaverse.org/
-* See CONTRIBUTORS.TXT for a full list of copyright holders.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-* * Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* * Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* * Neither the name of the OpenSim Project nor the
-* names of its contributors may be used to endorse or promote products
-* derived from this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY
-* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
-* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Text;
-using libsecondlife;
-using OpenSim.Framework;
-using OpenSim.Framework.Interfaces;
-using OpenSim.Framework.Types;
-using OpenGrid.Framework.Communications;
-
-
-namespace OpenSim.LocalCommunications
-{
- public class CommunicationsLocal : CommunicationsManager
- {
- public LocalBackEndServices SandBoxServices = new LocalBackEndServices();
- public LocalUserServices UserServices;
-
- public CommunicationsLocal(NetworkServersInfo serversInfo)
- : base(serversInfo)
- {
- UserServices = new LocalUserServices(this , serversInfo.DefaultHomeLocX, serversInfo.DefaultHomeLocY);
- UserServices.AddPlugin("OpenGrid.Framework.Data.DB4o.dll");
- UserServer = UserServices;
- GridServer = SandBoxServices;
- InterRegion = SandBoxServices;
- }
-
- internal void InformRegionOfLogin(ulong regionHandle, Login login)
- {
- this.SandBoxServices.AddNewSession(regionHandle, login);
- }
- }
-}
diff --git a/OpenSim/Region/LocalCommunications/LocalBackEndServices.cs b/OpenSim/Region/LocalCommunications/LocalBackEndServices.cs
deleted file mode 100644
index ce48c6e..0000000
--- a/OpenSim/Region/LocalCommunications/LocalBackEndServices.cs
+++ /dev/null
@@ -1,209 +0,0 @@
-/*
-* Copyright (c) Contributors, http://www.openmetaverse.org/
-* See CONTRIBUTORS.TXT for a full list of copyright holders.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-* * Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* * Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* * Neither the name of the OpenSim Project nor the
-* names of its contributors may be used to endorse or promote products
-* derived from this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY
-* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
-* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
-using System;
-using System.Collections.Generic;
-using System.Text;
-using OpenGrid.Framework.Communications;
-using libsecondlife;
-using OpenSim.Framework.Types;
-using OpenSim.Framework;
-
-namespace OpenSim.LocalCommunications
-{
-
- public class LocalBackEndServices : IGridServices, IInterRegionCommunications
- {
- protected Dictionary regions = new Dictionary();
- protected Dictionary regionHosts = new Dictionary();
-
- public LocalBackEndServices()
- {
-
- }
-
- ///
- /// Register a region method with the BackEnd Services.
- ///
- ///
- ///
- public RegionCommsListener RegisterRegion(RegionInfo regionInfo, GridInfo gridInfo)
- {
- //Console.WriteLine("CommsManager - Region " + regionInfo.RegionHandle + " , " + regionInfo.RegionLocX + " , "+ regionInfo.RegionLocY +" is registering");
- if (!this.regions.ContainsKey((uint)regionInfo.RegionHandle))
- {
- //Console.WriteLine("CommsManager - Adding Region " + regionInfo.RegionHandle );
- this.regions.Add(regionInfo.RegionHandle, regionInfo);
- RegionCommsListener regionHost = new RegionCommsListener();
- this.regionHosts.Add(regionInfo.RegionHandle, regionHost);
-
- return regionHost;
- }
-
- //already in our list of regions so for now lets return null
- return null;
- }
-
- ///
- ///
- ///
- ///
- public List RequestNeighbours(RegionInfo regionInfo)
- {
- // Console.WriteLine("Finding Neighbours to " + regionInfo.RegionHandle);
- List neighbours = new List();
-
- foreach (RegionInfo reg in this.regions.Values)
- {
- // Console.WriteLine("CommsManager- RequestNeighbours() checking region " + reg.RegionLocX + " , "+ reg.RegionLocY);
- if (reg.RegionHandle != regionInfo.RegionHandle)
- {
- //Console.WriteLine("CommsManager- RequestNeighbours() - found a different region in list, checking location");
- if ((reg.RegionLocX > (regionInfo.RegionLocX - 2)) && (reg.RegionLocX < (regionInfo.RegionLocX + 2)))
- {
- if ((reg.RegionLocY > (regionInfo.RegionLocY - 2)) && (reg.RegionLocY < (regionInfo.RegionLocY + 2)))
- {
- neighbours.Add(reg);
- }
- }
- }
- }
- return neighbours;
- }
-
- ///
- ///
- ///
- ///
- ///
- public RegionInfo RequestNeighbourInfo(ulong regionHandle)
- {
- if (this.regions.ContainsKey(regionHandle))
- {
- return this.regions[regionHandle];
- }
- return null;
- }
-
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- public List RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY)
- {
- List mapBlocks = new List();
- foreach(RegionInfo regInfo in this.regions.Values)
- {
- if (((regInfo.RegionLocX >= minX) && (regInfo.RegionLocX <= maxX)) && ((regInfo.RegionLocY >= minY) && (regInfo.RegionLocY <= maxY)))
- {
- MapBlockData map = new MapBlockData();
- map.Name = regInfo.RegionName;
- map.X = (ushort)regInfo.RegionLocX;
- map.Y = (ushort)regInfo.RegionLocY;
- map.WaterHeight =(byte) regInfo.estateSettings.waterHeight;
- map.MapImageId = regInfo.estateSettings.terrainImageID; //new LLUUID("00000000-0000-0000-9999-000000000007");
- map.Agents = 1;
- map.RegionFlags = 72458694;
- map.Access = 13;
- mapBlocks.Add(map);
- }
- }
- return mapBlocks;
- }
-
- ///
- ///
- ///
- ///
- ///
- public bool InformRegionOfChildAgent(ulong regionHandle, AgentCircuitData agentData) //should change from agentCircuitData
- {
- //Console.WriteLine("CommsManager- Trying to Inform a region to expect child agent");
- if (this.regionHosts.ContainsKey(regionHandle))
- {
- // Console.WriteLine("CommsManager- Informing a region to expect child agent");
- this.regionHosts[regionHandle].TriggerExpectUser(regionHandle, agentData);
- return true;
- }
- return false;
- }
-
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- public bool ExpectAvatarCrossing(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position)
- {
- if (this.regionHosts.ContainsKey(regionHandle))
- {
- // Console.WriteLine("CommsManager- Informing a region to expect avatar crossing");
- this.regionHosts[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position);
- return true;
- }
- return false;
- }
-
- ///
- /// Is a Sandbox mode method, used by the local Login server to inform a region of a connection user/session
- ///
- ///
- ///
- ///
- public bool AddNewSession(ulong regionHandle, Login loginData)
- {
- //Console.WriteLine(" comms manager been told to expect new user");
- AgentCircuitData agent = new AgentCircuitData();
- agent.AgentID = loginData.Agent;
- agent.firstname = loginData.First;
- agent.lastname = loginData.Last;
- agent.SessionID = loginData.Session;
- agent.SecureSessionID = loginData.SecureSession;
- agent.circuitcode = loginData.CircuitCode;
- agent.BaseFolder = loginData.BaseFolder;
- agent.InventoryFolder = loginData.InventoryFolder;
- agent.startpos = new LLVector3(128, 128, 70);
- agent.CapsPath = loginData.CapsPath;
-
- if (this.regionHosts.ContainsKey(regionHandle))
- {
- this.regionHosts[regionHandle].TriggerExpectUser(regionHandle, agent);
- return true;
- }
-
- // region not found
- return false;
- }
- }
-}
-
diff --git a/OpenSim/Region/LocalCommunications/LocalUserServices.cs b/OpenSim/Region/LocalCommunications/LocalUserServices.cs
deleted file mode 100644
index a7f7aa4..0000000
--- a/OpenSim/Region/LocalCommunications/LocalUserServices.cs
+++ /dev/null
@@ -1,118 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Text;
-
-using OpenGrid.Framework.Communications;
-//using OpenSim.Framework.User;
-using OpenGrid.Framework.UserManagement;
-using OpenGrid.Framework.Data;
-using OpenSim.Framework.Types;
-using OpenSim.Framework.Utilities;
-
-using libsecondlife;
-
-namespace OpenSim.LocalCommunications
-{
- public class LocalUserServices : UserManagerBase, IUserServices
- {
- private CommunicationsLocal m_Parent;
-
- private uint defaultHomeX ;
- private uint defaultHomeY;
- public LocalUserServices(CommunicationsLocal parent, uint defHomeX, uint defHomeY)
- {
- m_Parent = parent;
- defaultHomeX = defHomeX;
- defaultHomeY = defHomeY;
- }
-
- public UserProfileData GetUserProfile(string firstName, string lastName)
- {
- return GetUserProfile(firstName + " " + lastName);
- }
-
- public UserProfileData GetUserProfile(string name)
- {
- return this.getUserProfile(name);
- }
- public UserProfileData GetUserProfile(LLUUID avatarID)
- {
- return this.getUserProfile(avatarID);
- }
-
- ///
- ///
- ///
- ///
- public override string GetMessage()
- {
- return "Welcome to OpenSim";
- }
-
- public override UserProfileData GetTheUser(string firstname, string lastname)
- {
- UserProfileData profile = getUserProfile(firstname, lastname);
- if (profile != null)
- {
-
- return profile;
- }
-
- //no current user account so make one
- Console.WriteLine("No User account found so creating a new one ");
- this.AddUserProfile(firstname, lastname, "test", defaultHomeX, defaultHomeY);
-
- profile = getUserProfile(firstname, lastname);
-
- return profile;
- }
-
- public override bool AuthenticateUser(ref UserProfileData profile, string password)
- {
- //for now we will accept any password in sandbox mode
- Console.WriteLine("authorising user");
- return true;
- }
-
- public override void CustomiseResponse(ref LoginResponse response, ref UserProfileData theUser)
- {
- ulong currentRegion = theUser.currentAgent.currentHandle;
- RegionInfo reg = m_Parent.GridServer.RequestNeighbourInfo(currentRegion);
-
-
- if (reg != null)
- {
- response.Home = "{'region_handle':[r" + (reg.RegionLocX * 256).ToString() + ",r" + (reg.RegionLocY * 256).ToString() + "], " +
- "'position':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "], " +
- "'look_at':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}";
- string capsPath = Util.GetRandomCapsPath();
- response.SimAddress = reg.CommsIPListenAddr;
- response.SimPort = (Int32)reg.CommsIPListenPort;
- response.RegionX = reg.RegionLocX ;
- response.RegionY = reg.RegionLocY ;
- response.SeedCapability = "http://" + reg.CommsIPListenAddr + ":" + "9000" + "/CAPS/" + capsPath + "0000/";
- theUser.currentAgent.currentRegion = reg.SimUUID;
- theUser.currentAgent.currentHandle = reg.RegionHandle;
-
- Login _login = new Login();
- //copy data to login object
- _login.First = response.Firstname;
- _login.Last = response.Lastname;
- _login.Agent = response.AgentID;
- _login.Session = response.SessionID;
- _login.SecureSession = response.SecureSessionID;
- _login.CircuitCode = (uint)response.CircuitCode;
- _login.CapsPath = capsPath;
-
- m_Parent.InformRegionOfLogin(currentRegion, _login);
- }
- else
- {
- Console.WriteLine("not found region " + currentRegion);
- }
-
- }
-
- }
-}
diff --git a/OpenSim/Region/LocalCommunications/OpenSim.Region.LocalCommunications.csproj b/OpenSim/Region/LocalCommunications/OpenSim.Region.LocalCommunications.csproj
deleted file mode 100644
index 6b2b78c..0000000
--- a/OpenSim/Region/LocalCommunications/OpenSim.Region.LocalCommunications.csproj
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
- Local
- 8.0.50727
- 2.0
- {EB3A1BA8-0000-0000-0000-000000000000}
- Debug
- AnyCPU
-
-
-
- OpenSim.Region.LocalCommunications
- JScript
- Grid
- IE50
- false
- Library
-
- OpenSim.Region.LocalCommunications
-
-
-
-
-
- False
- 285212672
- False
-
-
- TRACE;DEBUG
-
- True
- 4096
- False
- ..\..\..\bin\
- False
- False
- False
- 4
-
-
-
- False
- 285212672
- False
-
-
- TRACE
-
- False
- 4096
- True
- ..\..\..\bin\
- False
- False
- False
- 4
-
-
-
-
- ..\..\..\bin\libsecondlife.dll
- False
-
-
- System.dll
- False
-
-
- System.Xml.dll
- False
-
-
-
-
- OpenSim.Framework
- {8ACA2445-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Framework.Communications
- {CB52B7E7-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Framework.Data
- {36B72A9B-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Framework.UserManagement
- {586E2916-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
-
-
-
-
-
-
-
-
diff --git a/OpenSim/Region/LocalCommunications/OpenSim.Region.LocalCommunications.csproj.user b/OpenSim/Region/LocalCommunications/OpenSim.Region.LocalCommunications.csproj.user
deleted file mode 100644
index 6841907..0000000
--- a/OpenSim/Region/LocalCommunications/OpenSim.Region.LocalCommunications.csproj.user
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- Debug
- AnyCPU
- C:\New Folder\second-life-viewer\opensim-dailys2\opensim15-06\NameSpaceChanges\bin\
- 8.0.50727
- ProjectFiles
- 0
-
-
-
-
diff --git a/OpenSim/Region/LocalCommunications/Properties/AssemblyInfo.cs b/OpenSim/Region/LocalCommunications/Properties/AssemblyInfo.cs
deleted file mode 100644
index 8e6e711..0000000
--- a/OpenSim/Region/LocalCommunications/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("OpenSim.LocalCommunications")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("OpenSim.LocalCommunications")]
-[assembly: AssemblyCopyright("Copyright © 2007")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("fb173926-bd0a-4cd0-bb45-185b2f72ddfb")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/OpenSim/Region/Simulation/Caps.cs b/OpenSim/Region/Simulation/Caps.cs
index 13a351d..9edbd54 100644
--- a/OpenSim/Region/Simulation/Caps.cs
+++ b/OpenSim/Region/Simulation/Caps.cs
@@ -4,14 +4,14 @@ using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Xml;
-using OpenSim.Servers;
+using OpenSim.Framework.Servers;
using OpenSim.Framework;
using OpenSim.Framework.Utilities;
using OpenSim.Framework.Types;
-using OpenSim.Caches;
+using OpenSim.Region.Caches;
using libsecondlife;
-namespace OpenSim.Region
+namespace OpenSim.Region.Environment
{
public delegate void UpLoadedTexture(LLUUID assetID, LLUUID inventoryItem, byte[] data);
diff --git a/OpenSim/Region/Simulation/EstateManager.cs b/OpenSim/Region/Simulation/EstateManager.cs
index dcb5564..c2c1ecf 100644
--- a/OpenSim/Region/Simulation/EstateManager.cs
+++ b/OpenSim/Region/Simulation/EstateManager.cs
@@ -30,15 +30,15 @@ using System.Collections.Generic;
using System.Text;
using OpenSim.Framework.Types;
using OpenSim.Framework.Interfaces;
-using OpenSim.Region;
-using OpenSim.Region.Scenes;
+using OpenSim.Region.Environment;
+using OpenSim.Region.Environment.Scenes;
using OpenSim;
using libsecondlife;
using libsecondlife.Packets;
-using Avatar = OpenSim.Region.Scenes.ScenePresence;
+using Avatar = OpenSim.Region.Environment.Scenes.ScenePresence;
-namespace OpenSim.Region
+namespace OpenSim.Region.Environment
{
///
diff --git a/OpenSim/Region/Simulation/OpenSim.Region.Environment.csproj b/OpenSim/Region/Simulation/OpenSim.Region.Environment.csproj
new file mode 100644
index 0000000..0597857
--- /dev/null
+++ b/OpenSim/Region/Simulation/OpenSim.Region.Environment.csproj
@@ -0,0 +1,218 @@
+
+
+ Local
+ 8.0.50727
+ 2.0
+ {C0DAB338-0000-0000-0000-000000000000}
+ Debug
+ AnyCPU
+
+
+
+
+ OpenSim.Region.Environment
+ JScript
+ Grid
+ IE50
+ false
+ Library
+
+
+ OpenSim.Region.Environment
+
+
+
+
+
+
+ False
+ 285212672
+ False
+
+
+ TRACE;DEBUG
+
+
+ True
+ 4096
+ False
+ ..\..\..\bin\
+ False
+ False
+ False
+ 4
+
+
+
+
+ False
+ 285212672
+ False
+
+
+ TRACE
+
+
+ False
+ 4096
+ True
+ ..\..\..\bin\
+ False
+ False
+ False
+ 4
+
+
+
+
+
+ ..\..\..\bin\Axiom.MathLib.dll
+ False
+
+
+ ..\..\..\bin\Db4objects.Db4o.dll
+ False
+
+
+ ..\..\..\bin\libsecondlife.dll
+ False
+
+
+ System.dll
+ False
+
+
+ System.Xml.dll
+ False
+
+
+ ..\..\..\bin\XMLRPC.dll
+ False
+
+
+
+
+ OpenSim.Framework
+ {8ACA2445-0000-0000-0000-000000000000}
+ {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ False
+
+
+ OpenSim.Framework.Communications
+ {CB52B7E7-0000-0000-0000-000000000000}
+ {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ False
+
+
+ OpenSim.Framework.Console
+ {A7CD0630-0000-0000-0000-000000000000}
+ {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ False
+
+
+ OpenSim.Framework.GenericConfig.Xml
+ {C74E4A30-0000-0000-0000-000000000000}
+ {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ False
+
+
+ OpenSim.Framework.Servers
+ {2CC71860-0000-0000-0000-000000000000}
+ {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ False
+
+
+ OpenSim.Region.Caches
+ {61FCCDB3-0000-0000-0000-000000000000}
+ {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ False
+
+
+ OpenSim.Region.Physics.Manager
+ {F4FF31EB-0000-0000-0000-000000000000}
+ {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ False
+
+
+ OpenSim.Region.Terrain.BasicTerrain
+ {C9E0F891-0000-0000-0000-000000000000}
+ {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ False
+
+
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OpenSim/Region/Simulation/OpenSim.Region.Simulation.csproj b/OpenSim/Region/Simulation/OpenSim.Region.Simulation.csproj
deleted file mode 100644
index 7811a55..0000000
--- a/OpenSim/Region/Simulation/OpenSim.Region.Simulation.csproj
+++ /dev/null
@@ -1,211 +0,0 @@
-
-
- Local
- 8.0.50727
- 2.0
- {C0DAB338-0000-0000-0000-000000000000}
- Debug
- AnyCPU
-
-
-
- OpenSim.Region.Simulation
- JScript
- Grid
- IE50
- false
- Library
-
- OpenSim.Region.Simulation
-
-
-
-
-
- False
- 285212672
- False
-
-
- TRACE;DEBUG
-
- True
- 4096
- False
- ..\..\..\bin\
- False
- False
- False
- 4
-
-
-
- False
- 285212672
- False
-
-
- TRACE
-
- False
- 4096
- True
- ..\..\..\bin\
- False
- False
- False
- 4
-
-
-
-
- ..\..\..\bin\Axiom.MathLib.dll
- False
-
-
- ..\..\..\bin\Db4objects.Db4o.dll
- False
-
-
- ..\..\..\bin\libsecondlife.dll
- False
-
-
- System.dll
- False
-
-
- System.Xml.dll
- False
-
-
- ..\..\..\bin\XMLRPC.dll
- False
-
-
-
-
- OpenSim.Framework
- {8ACA2445-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Framework.Communications
- {CB52B7E7-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Framework.Console
- {A7CD0630-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Framework.GenericConfig.Xml
- {C74E4A30-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Framework.Servers
- {2CC71860-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Region.Caches
- {61FCCDB3-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Region.Physics.Manager
- {F4FF31EB-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
- OpenSim.Region.Terrain.BasicTerrain
- {C9E0F891-0000-0000-0000-000000000000}
- {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- False
-
-
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
-
-
-
-
-
-
-
-
diff --git a/OpenSim/Region/Simulation/OpenSim.Region.Simulation.csproj.user b/OpenSim/Region/Simulation/OpenSim.Region.Simulation.csproj.user
deleted file mode 100644
index 6841907..0000000
--- a/OpenSim/Region/Simulation/OpenSim.Region.Simulation.csproj.user
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- Debug
- AnyCPU
- C:\New Folder\second-life-viewer\opensim-dailys2\opensim15-06\NameSpaceChanges\bin\
- 8.0.50727
- ProjectFiles
- 0
-
-
-
-
diff --git a/OpenSim/Region/Simulation/ParcelManager.cs b/OpenSim/Region/Simulation/ParcelManager.cs
index d15d77d..1cab4ab 100644
--- a/OpenSim/Region/Simulation/ParcelManager.cs
+++ b/OpenSim/Region/Simulation/ParcelManager.cs
@@ -32,10 +32,10 @@ using libsecondlife;
using libsecondlife.Packets;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
-using OpenSim.Region.Scenes;
-using Avatar = OpenSim.Region.Scenes.ScenePresence;
+using OpenSim.Region.Environment.Scenes;
+using Avatar = OpenSim.Region.Environment.Scenes.ScenePresence;
-namespace OpenSim.Region
+namespace OpenSim.Region.Environment
{
@@ -420,7 +420,7 @@ namespace OpenSim.Region
{
for (y = 0; y < inc_y; y++)
{
- OpenSim.Region.Parcel currentParcel = getParcel(start_x + x, start_y + y);
+ OpenSim.Region.Environment.Parcel currentParcel = getParcel(start_x + x, start_y + y);
if (!temp.Contains(currentParcel))
{
currentParcel.forceUpdateParcelInfo();
diff --git a/OpenSim/Region/Simulation/RegionManager.cs b/OpenSim/Region/Simulation/RegionManager.cs
index a317f0f..17d9aad 100644
--- a/OpenSim/Region/Simulation/RegionManager.cs
+++ b/OpenSim/Region/Simulation/RegionManager.cs
@@ -1,12 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
-using OpenGrid.Framework.Communications;
+using OpenSim.Framework.Communications;
using OpenSim.Framework;
using OpenSim.Framework.Types;
-using OpenSim.Servers;
+using OpenSim.Framework.Servers;
-namespace OpenSim.Region
+namespace OpenSim.Region.Environment
{
public class RegionManager //needs renaming , but first we need to rename the namespace
{
diff --git a/OpenSim/Region/Simulation/Scenes/Entity.cs b/OpenSim/Region/Simulation/Scenes/Entity.cs
index f8754f5..bbba34d 100644
--- a/OpenSim/Region/Simulation/Scenes/Entity.cs
+++ b/OpenSim/Region/Simulation/Scenes/Entity.cs
@@ -31,9 +31,9 @@ using System.Text;
using Axiom.MathLib;
using OpenSim.Physics.Manager;
using libsecondlife;
-using OpenSim.Region.Scripting;
+using OpenSim.Region.Environment.Scripting;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
public abstract class Entity : IScriptReadonlyEntity
{
diff --git a/OpenSim/Region/Simulation/Scenes/IScenePresenceBody.cs b/OpenSim/Region/Simulation/Scenes/IScenePresenceBody.cs
index 65077e6..36023d0 100644
--- a/OpenSim/Region/Simulation/Scenes/IScenePresenceBody.cs
+++ b/OpenSim/Region/Simulation/Scenes/IScenePresenceBody.cs
@@ -7,7 +7,7 @@ using OpenSim.Physics.Manager;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
public interface IScenePresenceBody
{
diff --git a/OpenSim/Region/Simulation/Scenes/Primitive.cs b/OpenSim/Region/Simulation/Scenes/Primitive.cs
index e04c711..0f649b2 100644
--- a/OpenSim/Region/Simulation/Scenes/Primitive.cs
+++ b/OpenSim/Region/Simulation/Scenes/Primitive.cs
@@ -36,7 +36,7 @@ using OpenSim.Physics.Manager;
using OpenSim.Framework.Types;
using OpenSim.Framework.Inventory;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
public class Primitive : Entity
{
@@ -174,9 +174,9 @@ namespace OpenSim.Region.Scenes
dataArrays.Add(primData.ToBytes());
foreach (Entity child in children)
{
- if (child is OpenSim.Region.Scenes.Primitive)
+ if (child is OpenSim.Region.Environment.Scenes.Primitive)
{
- dataArrays.Add(((OpenSim.Region.Scenes.Primitive)child).GetByteArray());
+ dataArrays.Add(((OpenSim.Region.Environment.Scenes.Primitive)child).GetByteArray());
}
}
byte[] primstart = Helpers.StringToField("");
diff --git a/OpenSim/Region/Simulation/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Simulation/Scenes/Scene.PacketHandlers.cs
index d1a2717..1d55c4d 100644
--- a/OpenSim/Region/Simulation/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Simulation/Scenes/Scene.PacketHandlers.cs
@@ -36,7 +36,7 @@ using OpenSim.Framework.Types;
using OpenSim.Framework.Inventory;
using OpenSim.Framework.Utilities;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
public partial class Scene
{
@@ -218,7 +218,7 @@ namespace OpenSim.Region.Scenes
{
if (ent.LocalId == primLocalID)
{
- ((OpenSim.Region.Scenes.Primitive)ent).GetProperites(remoteClient);
+ ((OpenSim.Region.Environment.Scenes.Primitive)ent).GetProperites(remoteClient);
break;
}
}
@@ -266,7 +266,7 @@ namespace OpenSim.Region.Scenes
{
if (ent.LocalId == localID)
{
- ((OpenSim.Region.Scenes.Primitive)ent).UpdatePosition(pos);
+ ((OpenSim.Region.Environment.Scenes.Primitive)ent).UpdatePosition(pos);
break;
}
}
diff --git a/OpenSim/Region/Simulation/Scenes/Scene.Scripting.cs b/OpenSim/Region/Simulation/Scenes/Scene.Scripting.cs
index 7b53388..2249c3d 100644
--- a/OpenSim/Region/Simulation/Scenes/Scene.Scripting.cs
+++ b/OpenSim/Region/Simulation/Scenes/Scene.Scripting.cs
@@ -35,7 +35,7 @@ using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using libsecondlife;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
public partial class Scene
{
diff --git a/OpenSim/Region/Simulation/Scenes/Scene.cs b/OpenSim/Region/Simulation/Scenes/Scene.cs
index bf2244e..7e56296 100644
--- a/OpenSim/Region/Simulation/Scenes/Scene.cs
+++ b/OpenSim/Region/Simulation/Scenes/Scene.cs
@@ -39,14 +39,14 @@ using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using OpenSim.Framework.Inventory;
using OpenSim.Framework;
-using OpenSim.Region.Scripting;
+using OpenSim.Region.Environment.Scripting;
using OpenSim.Terrain;
-using OpenGrid.Framework.Communications;
-using OpenSim.Caches;
-using OpenSim.Region;
-using OpenSim.Servers;
+using OpenSim.Framework.Communications;
+using OpenSim.Region.Caches;
+using OpenSim.Region.Environment;
+using OpenSim.Framework.Servers;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
public delegate bool FilterAvatarList(ScenePresence avatar);
@@ -256,7 +256,7 @@ namespace OpenSim.Region.Scenes
//Parcel backup routines
ParcelData[] parcels = new ParcelData[parcelManager.parcelList.Count];
int i = 0;
- foreach (OpenSim.Region.Parcel parcel in parcelManager.parcelList.Values)
+ foreach (OpenSim.Region.Environment.Parcel parcel in parcelManager.parcelList.Values)
{
parcels[i] = parcel.parcelData;
i++;
diff --git a/OpenSim/Region/Simulation/Scenes/SceneBase.cs b/OpenSim/Region/Simulation/Scenes/SceneBase.cs
index 4dbd374..ecd14de 100644
--- a/OpenSim/Region/Simulation/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Simulation/Scenes/SceneBase.cs
@@ -37,11 +37,11 @@ using OpenSim.Physics.Manager;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using OpenSim.Framework.Inventory;
-using OpenSim.Region.Scripting;
+using OpenSim.Region.Environment.Scripting;
using OpenSim.Terrain;
-using OpenSim.Caches;
+using OpenSim.Region.Caches;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
public abstract class SceneBase : IWorld
{
diff --git a/OpenSim/Region/Simulation/Scenes/SceneEvents.cs b/OpenSim/Region/Simulation/Scenes/SceneEvents.cs
index 2898578..fa1bacb 100644
--- a/OpenSim/Region/Simulation/Scenes/SceneEvents.cs
+++ b/OpenSim/Region/Simulation/Scenes/SceneEvents.cs
@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.Text;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
///
/// A class for triggering remote scene events.
diff --git a/OpenSim/Region/Simulation/Scenes/SceneObject.cs b/OpenSim/Region/Simulation/Scenes/SceneObject.cs
index 5df87bf..88fb160 100644
--- a/OpenSim/Region/Simulation/Scenes/SceneObject.cs
+++ b/OpenSim/Region/Simulation/Scenes/SceneObject.cs
@@ -35,7 +35,7 @@ using OpenSim.Physics.Manager;
using OpenSim.Framework.Types;
using OpenSim.Framework.Inventory;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
public class SceneObject : Entity
{
diff --git a/OpenSim/Region/Simulation/Scenes/ScenePresence.Animations.cs b/OpenSim/Region/Simulation/Scenes/ScenePresence.Animations.cs
index f0a8721..2caabc2 100644
--- a/OpenSim/Region/Simulation/Scenes/ScenePresence.Animations.cs
+++ b/OpenSim/Region/Simulation/Scenes/ScenePresence.Animations.cs
@@ -31,7 +31,7 @@ using System.Text;
using libsecondlife;
using System.Xml;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
partial class ScenePresence
{
@@ -66,7 +66,7 @@ namespace OpenSim.Region.Scenes
// OpenSim.Framework.Console.MainLog.Instance.Verbose("Loaded " + AnimsLLUUID.Count.ToString() + " animation(s)");
- foreach (KeyValuePair kp in OpenSim.Region.Scenes.ScenePresence.Animations.AnimsLLUUID)
+ foreach (KeyValuePair kp in OpenSim.Region.Environment.Scenes.ScenePresence.Animations.AnimsLLUUID)
{
AnimsNames.Add(kp.Value, kp.Key);
}
diff --git a/OpenSim/Region/Simulation/Scenes/ScenePresence.Body.cs b/OpenSim/Region/Simulation/Scenes/ScenePresence.Body.cs
index d21b11f..2c81d2a 100644
--- a/OpenSim/Region/Simulation/Scenes/ScenePresence.Body.cs
+++ b/OpenSim/Region/Simulation/Scenes/ScenePresence.Body.cs
@@ -34,7 +34,7 @@ using OpenSim.Physics.Manager;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
partial class ScenePresence
{
diff --git a/OpenSim/Region/Simulation/Scenes/ScenePresence.cs b/OpenSim/Region/Simulation/Scenes/ScenePresence.cs
index 45d3fed..96e5c94 100644
--- a/OpenSim/Region/Simulation/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Simulation/Scenes/ScenePresence.cs
@@ -37,7 +37,7 @@ using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using Axiom.MathLib;
-namespace OpenSim.Region.Scenes
+namespace OpenSim.Region.Environment.Scenes
{
public partial class ScenePresence : Entity
{
diff --git a/OpenSim/Region/Simulation/Scenes/scripting/IScriptContext.cs b/OpenSim/Region/Simulation/Scenes/scripting/IScriptContext.cs
index daa1b92..eb8a117 100644
--- a/OpenSim/Region/Simulation/Scenes/scripting/IScriptContext.cs
+++ b/OpenSim/Region/Simulation/Scenes/scripting/IScriptContext.cs
@@ -30,7 +30,7 @@ using System.Collections.Generic;
using System.Text;
using libsecondlife;
-namespace OpenSim.Region.Scripting
+namespace OpenSim.Region.Environment.Scripting
{
public interface IScriptContext
{
diff --git a/OpenSim/Region/Simulation/Scenes/scripting/IScriptEntity.cs b/OpenSim/Region/Simulation/Scenes/scripting/IScriptEntity.cs
index 44b886f..e813626 100644
--- a/OpenSim/Region/Simulation/Scenes/scripting/IScriptEntity.cs
+++ b/OpenSim/Region/Simulation/Scenes/scripting/IScriptEntity.cs
@@ -30,7 +30,7 @@ using System.Collections.Generic;
using System.Text;
using libsecondlife;
-namespace OpenSim.Region.Scripting
+namespace OpenSim.Region.Environment.Scripting
{
public interface IScriptReadonlyEntity
{
diff --git a/OpenSim/Region/Simulation/Scenes/scripting/IScriptHandler.cs b/OpenSim/Region/Simulation/Scenes/scripting/IScriptHandler.cs
index 797998d..115b4f4 100644
--- a/OpenSim/Region/Simulation/Scenes/scripting/IScriptHandler.cs
+++ b/OpenSim/Region/Simulation/Scenes/scripting/IScriptHandler.cs
@@ -30,12 +30,12 @@ using System.Collections.Generic;
using System.Text;
using libsecondlife;
using OpenSim.Physics.Manager;
-using OpenSim.Region;
-using OpenSim.Region.Scenes;
-using Avatar=OpenSim.Region.Scenes.ScenePresence;
-using Primitive = OpenSim.Region.Scenes.Primitive;
+using OpenSim.Region.Environment;
+using OpenSim.Region.Environment.Scenes;
+using Avatar=OpenSim.Region.Environment.Scenes.ScenePresence;
+using Primitive = OpenSim.Region.Environment.Scenes.Primitive;
-namespace OpenSim.Region.Scripting
+namespace OpenSim.Region.Environment.Scripting
{
public delegate void ScriptEventHandler(IScriptContext context);
diff --git a/OpenSim/Region/Simulation/Scenes/scripting/Script.cs b/OpenSim/Region/Simulation/Scenes/scripting/Script.cs
index 1d01f3c..5d398b0 100644
--- a/OpenSim/Region/Simulation/Scenes/scripting/Script.cs
+++ b/OpenSim/Region/Simulation/Scenes/scripting/Script.cs
@@ -30,7 +30,7 @@ using System.Collections.Generic;
using System.Text;
using libsecondlife;
-namespace OpenSim.Region.Scripting
+namespace OpenSim.Region.Environment.Scripting
{
public class Script
{
diff --git a/OpenSim/Region/Simulation/Scenes/scripting/ScriptFactory.cs b/OpenSim/Region/Simulation/Scenes/scripting/ScriptFactory.cs
index 32ef046..0ce65ea 100644
--- a/OpenSim/Region/Simulation/Scenes/scripting/ScriptFactory.cs
+++ b/OpenSim/Region/Simulation/Scenes/scripting/ScriptFactory.cs
@@ -29,7 +29,7 @@ using System;
using System.Collections.Generic;
using System.Text;
-namespace OpenSim.Region.Scripting
+namespace OpenSim.Region.Environment.Scripting
{
public delegate Script ScriptFactory();
}
diff --git a/OpenSim/Region/Simulation/Scenes/scripting/Scripts/FollowRandomAvatar.cs b/OpenSim/Region/Simulation/Scenes/scripting/Scripts/FollowRandomAvatar.cs
index 21f07a8..90c79e3 100644
--- a/OpenSim/Region/Simulation/Scenes/scripting/Scripts/FollowRandomAvatar.cs
+++ b/OpenSim/Region/Simulation/Scenes/scripting/Scripts/FollowRandomAvatar.cs
@@ -30,7 +30,7 @@ using System.Collections.Generic;
using System.Text;
using libsecondlife;
-namespace OpenSim.Region.Scripting
+namespace OpenSim.Region.Environment.Scripting
{
public class FollowRandomAvatar : Script
{
diff --git a/OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs
index ab3c34c..3bc6f25 100644
--- a/OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs
+++ b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs
@@ -39,7 +39,7 @@ using BerkeleyDb;
using Kds.Serialization;
using Kds.Serialization.Buffer;
-namespace OpenSim.Storage.LocalStorageBDB
+namespace OpenSim.Region.Storage.LocalStorageBDB
{
public class BDBLocalStorage : ILocalStorage
{
diff --git a/OpenSim/Region/Storage/LocalStorageDb4o/Db4LocalStorage.cs b/OpenSim/Region/Storage/LocalStorageDb4o/Db4LocalStorage.cs
index 8e6b04d..5cb4861 100644
--- a/OpenSim/Region/Storage/LocalStorageDb4o/Db4LocalStorage.cs
+++ b/OpenSim/Region/Storage/LocalStorageDb4o/Db4LocalStorage.cs
@@ -36,7 +36,7 @@ using OpenSim.Framework.Types;
using OpenSim.Framework.Console;
-namespace OpenSim.Storage.LocalStorageDb4o
+namespace OpenSim.Region.Storage.LocalStorageDb4o
{
///
///
diff --git a/OpenSim/Region/Storage/LocalStorageDb4o/MapStorage.cs b/OpenSim/Region/Storage/LocalStorageDb4o/MapStorage.cs
index 56387ac..22f3392 100644
--- a/OpenSim/Region/Storage/LocalStorageDb4o/MapStorage.cs
+++ b/OpenSim/Region/Storage/LocalStorageDb4o/MapStorage.cs
@@ -29,7 +29,7 @@ using System;
using System.Collections.Generic;
using System.Text;
-namespace OpenSim.Storage.LocalStorageDb4o
+namespace OpenSim.Region.Storage.LocalStorageDb4o
{
public class MapStorage
{
diff --git a/OpenSim/Region/Storage/LocalStorageDb4o/UUIDParcelQuery.cs b/OpenSim/Region/Storage/LocalStorageDb4o/UUIDParcelQuery.cs
index d24fb5f..dcbe639 100644
--- a/OpenSim/Region/Storage/LocalStorageDb4o/UUIDParcelQuery.cs
+++ b/OpenSim/Region/Storage/LocalStorageDb4o/UUIDParcelQuery.cs
@@ -34,7 +34,7 @@ using libsecondlife;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
-namespace OpenSim.Storage.LocalStorageDb4o
+namespace OpenSim.Region.Storage.LocalStorageDb4o
{
public class UUIDParcelQuery : Predicate
{
diff --git a/OpenSim/Region/Storage/LocalStorageDb4o/UUIDPrimQuery.cs b/OpenSim/Region/Storage/LocalStorageDb4o/UUIDPrimQuery.cs
index b2e8a91..23de6dd 100644
--- a/OpenSim/Region/Storage/LocalStorageDb4o/UUIDPrimQuery.cs
+++ b/OpenSim/Region/Storage/LocalStorageDb4o/UUIDPrimQuery.cs
@@ -34,7 +34,7 @@ using libsecondlife;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
-namespace OpenSim.Storage.LocalStorageDb4o
+namespace OpenSim.Region.Storage.LocalStorageDb4o
{
public class UUIDPrimQuery : Predicate
{
diff --git a/OpenSim/Region/Storage/LocalStorageSQLite/Properties/AssemblyInfo.cs b/OpenSim/Region/Storage/LocalStorageSQLite/Properties/AssemblyInfo.cs
index b45debf..80158d5 100644
--- a/OpenSim/Region/Storage/LocalStorageSQLite/Properties/AssemblyInfo.cs
+++ b/OpenSim/Region/Storage/LocalStorageSQLite/Properties/AssemblyInfo.cs
@@ -32,11 +32,11 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("OpenSim.Storage.LocalStorageSQLite")]
+[assembly: AssemblyTitle("OpenSim.Region.Storage.LocalStorageSQLite")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("OpenSim.Storage.LocalStorageSQLite")]
+[assembly: AssemblyProduct("OpenSim.Region.Storage.LocalStorageSQLite")]
[assembly: AssemblyCopyright("Copyright © 2007")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
diff --git a/OpenSim/Region/Storage/LocalStorageSQLite/SQLiteLocalStorage.cs b/OpenSim/Region/Storage/LocalStorageSQLite/SQLiteLocalStorage.cs
index 8a7893e..b407be4 100644
--- a/OpenSim/Region/Storage/LocalStorageSQLite/SQLiteLocalStorage.cs
+++ b/OpenSim/Region/Storage/LocalStorageSQLite/SQLiteLocalStorage.cs
@@ -37,7 +37,7 @@ using libsecondlife;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
-namespace OpenSim.Storage.LocalStorageSQLite
+namespace OpenSim.Region.Storage.LocalStorageSQLite
{
public class SQLiteLocalStorage : ILocalStorage
{
--
cgit v1.1