diff options
Switched in NameSpaceChanges
Diffstat (limited to '')
-rw-r--r-- | Common/OpenGrid.Framework.Communications.OGS1/GridCommsManager.cs | 18 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.Communications.OGS1/OGSUserServices.cs | 25 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj | 111 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.r858 | 111 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.r921 | 111 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.mine | 113 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.r858 | 110 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.r921 | 113 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.csproj.user | 12 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.dll.build | 50 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.csproj | 122 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.csproj.user | 12 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.dll.build | 49 | ||||
-rw-r--r-- | Common/OpenSim.Servers/OpenSim.Servers.csproj | 125 | ||||
-rw-r--r-- | Common/OpenSim.Servers/OpenSim.Servers.dll.build | 51 | ||||
-rw-r--r-- | Common/XmlRpcCS/Logger.cs | 46 | ||||
-rw-r--r-- | Common/XmlRpcCS/SimpleHttpRequest.cs | 204 | ||||
-rw-r--r-- | Common/XmlRpcCS/XMLRPC.csproj | 138 | ||||
-rw-r--r-- | Common/XmlRpcCS/XMLRPC.dll.build | 58 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcBoxcarRequest.cs | 51 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcClientProxy.cs | 61 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcDeserializer.cs | 195 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcErrorCodes.cs | 51 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcException.cs | 39 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcExposedAttribute.cs | 60 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcRequest.cs | 150 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcRequestDeserializer.cs | 64 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcRequestSerializer.cs | 51 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcResponder.cs | 98 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcResponse.cs | 85 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcResponseDeserializer.cs | 65 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcResponseSerializer.cs | 57 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcSerializer.cs | 109 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcServer.cs | 239 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcSystemObject.cs | 252 | ||||
-rw-r--r-- | Common/XmlRpcCS/XmlRpcXmlTokens.cs | 76 | ||||
-rw-r--r-- | OpenGridServices.build | 72 | ||||
-rw-r--r-- | OpenGridServices.sln | 137 | ||||
-rw-r--r-- | OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj | 117 | ||||
-rw-r--r-- | OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.r858 | 114 | ||||
-rw-r--r-- | OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.r921 | 117 | ||||
-rw-r--r-- | OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj | 108 | ||||
-rw-r--r-- | OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.mine | 108 | ||||
-rw-r--r-- | OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.r858 | 108 | ||||
-rw-r--r-- | OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build | 44 | ||||
-rw-r--r-- | OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.mine | 122 | ||||
-rw-r--r-- | OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.r858 | 122 | ||||
-rw-r--r-- | OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.r921 | 122 | ||||
-rw-r--r-- | OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.GridServer.csproj | 126 | ||||
-rw-r--r-- | OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.GridServer.exe.build | 49 | ||||
-rw-r--r-- | OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.csproj | 125 | ||||
-rw-r--r-- | OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.exe.build | 50 | ||||
-rw-r--r-- | OpenGridServices/OpenGridServices.UserServer/OGS-UserServer.csproj | 63 | ||||
-rw-r--r-- | OpenSim.build | 156 | ||||
-rw-r--r-- | OpenSim.sln | 358 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/CommunicationsManager.cs (renamed from Common/OpenGrid.Framework.Communications/CommunicationsManager.cs) | 21 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/IGridServices.cs (renamed from Common/OpenGrid.Framework.Communications/IGridServices.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/IInterRegionCommunications.cs (renamed from Common/OpenGrid.Framework.Communications/IInterRegionCommunications.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/IUserServices.cs (renamed from Common/OpenGrid.Framework.Communications/IUserServices.cs) | 9 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/OpenSim.Framework.Communications.csproj (renamed from Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj) | 24 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build (renamed from Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.dll.build) | 16 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/Properties/AssemblyInfo.cs (renamed from Common/OpenGrid.Framework.Communications/Properties/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/Console/AssemblyInfo.cs (renamed from Common/OpenSim.Framework.Console/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/Console/ConsoleCallbacksBase.cs (renamed from Common/OpenSim.Framework.Console/ConsoleCallbacksBase.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/Console/LogBase.cs (renamed from Common/OpenSim.Framework.Console/LogBase.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/Console/MainLog.cs (renamed from Common/OpenSim.Framework.Console/MainLog.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/Console/OpenSim.Framework.Console.csproj (renamed from Common/OpenSim.Framework.Console/OpenSim.Framework.Console.csproj) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build (renamed from Common/OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build) | 6 | ||||
-rw-r--r-- | OpenSim/Framework/Data.DB4o/DB4oGridData.cs (renamed from Common/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.DB4o/DB4oManager.cs (renamed from Common/OpenGrid.Framework.Data.DB4o/DB4oManager.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.DB4o/DB4oUserData.cs (renamed from Common/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.csproj (renamed from Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.mine) | 36 | ||||
-rw-r--r-- | OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build (renamed from OpenSim/OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build) | 14 | ||||
-rw-r--r-- | OpenSim/Framework/Data.DB4o/Properties/AssemblyInfo.cs (renamed from Common/OpenGrid.Framework.Data.DB4o/Properties/AssemblyInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.MSSQL/MSSQLGridData.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MSSQL/MSSQLManager.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MSSQL/OpenSim.Framework.Data.MSSQL.csproj (renamed from OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.csproj) | 18 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MSSQL/OpenSim.Framework.Data.MSSQL.dll.build (renamed from OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.dll.build) | 14 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MSSQL/Properties/AssemblyInfo.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.MSSQL/Properties/AssemblyInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLGridData.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLInventoryData.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLInventoryData.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLLogData.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLLogData.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLManager.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLManager.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLUserData.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.csproj (renamed from OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.mine) | 36 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.dll.build (renamed from OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.dll.build) | 16 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MySQL/Properties/AssemblyInfo.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.MySQL/Properties/AssemblyInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.csproj (renamed from OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.r921) | 34 | ||||
-rw-r--r-- | OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.dll.build (renamed from OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.dll.build) | 16 | ||||
-rw-r--r-- | OpenSim/Framework/Data.SQLite/Properties/AssemblyInfo.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.SQLite/Properties/AssemblyInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteGridData.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.SQLite/SQLiteGridData.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteManager.cs (renamed from OpenGridServices/OpenGrid.Framework.Data.SQLite/SQLiteManager.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data/GridData.cs (renamed from Common/OpenGrid.Framework.Data/GridData.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data/ILogData.cs (renamed from Common/OpenGrid.Framework.Data/ILogData.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data/IniConfig.cs (renamed from Common/OpenGrid.Framework.Data/IniConfig.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data/InventoryData.cs (renamed from Common/OpenGrid.Framework.Data/InventoryData.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data/OpenSim.Framework.Data.csproj (renamed from Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj) | 12 | ||||
-rw-r--r-- | OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build (renamed from Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build) | 12 | ||||
-rw-r--r-- | OpenSim/Framework/Data/Properties/AssemblyInfo.cs (renamed from Common/OpenGrid.Framework.Data/Properties/AssemblyInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data/ReservationData.cs (renamed from Common/OpenGrid.Framework.Data/ReservationData.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data/SimProfileData.cs (renamed from Common/OpenGrid.Framework.Data/SimProfileData.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data/UserData.cs (renamed from Common/OpenGrid.Framework.Data/UserData.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data/UserProfileData.cs (renamed from Common/OpenGrid.Framework.Data/UserProfileData.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/General/AgentInventory.cs (renamed from Common/OpenSim.Framework/AgentInventory.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/AuthenticateSessionBase.cs (renamed from Common/OpenSim.Framework/AuthenticateSessionBase.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/BlockingQueue.cs (renamed from Common/OpenSim.Framework/BlockingQueue.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/IRegionCommsListener.cs (renamed from Common/OpenSim.Framework/IRegionCommsListener.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Interfaces/AuthenticateResponse.cs (renamed from Common/OpenSim.Framework/Interfaces/AuthenticateResponse.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Interfaces/Config/IGenericConfig.cs (renamed from Common/OpenSim.Framework/Interfaces/Config/IGenericConfig.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Interfaces/Config/IGridConfig.cs (renamed from Common/OpenSim.Framework/Interfaces/Config/IGridConfig.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Interfaces/Config/IUserConfig.cs (renamed from Common/OpenSim.Framework/Interfaces/Config/IUserConfig.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Interfaces/IAssetServer.cs (renamed from Common/OpenSim.Framework/Interfaces/IAssetServer.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Interfaces/IClientAPI.cs (renamed from Common/OpenSim.Framework/Interfaces/IClientAPI.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/General/Interfaces/ILocalStorage.cs (renamed from Common/OpenSim.Framework/Interfaces/ILocalStorage.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Interfaces/IUserServer.cs (renamed from Common/OpenSim.Framework/Interfaces/IUserServer.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Interfaces/IWorld.cs (renamed from Common/OpenSim.Framework/Interfaces/IWorld.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Logger.cs (renamed from Common/OpenSim.Framework/Logger.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/LoginService.cs (renamed from Common/OpenSim.Framework/LoginService.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/OpenSim.Framework.csproj (renamed from Common/OpenSim.Framework/OpenSim.Framework.csproj) | 64 | ||||
-rw-r--r-- | OpenSim/Framework/General/OpenSim.Framework.dll.build (renamed from Common/OpenSim.Framework/OpenSim.Framework.dll.build) | 19 | ||||
-rw-r--r-- | OpenSim/Framework/General/Properties/AssemblyInfo.cs (renamed from Common/OpenSim.Framework/Properties/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/RegionCommsListener.cs (renamed from Common/OpenSim.Framework/RegionCommsListener.cs) | 1 | ||||
-rw-r--r-- | OpenSim/Framework/General/Remoting.cs (renamed from Common/OpenSim.Framework/Remoting.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/SimProfile.cs (renamed from Common/OpenSim.Framework/SimProfile.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/AgentCiruitData.cs (renamed from Common/OpenSim.Framework/Types/AgentCiruitData.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/AgentWearable.cs (renamed from Common/OpenSim.Framework/Types/AgentWearable.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/AssetBase.cs (renamed from Common/OpenSim.Framework/Types/AssetBase.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/AssetLandmark.cs (renamed from Common/OpenSim.Framework/Types/AssetLandmark.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/AssetStorage.cs (renamed from Common/OpenSim.Framework/Types/AssetStorage.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/EstateSettings.cs (renamed from Common/OpenSim.Framework/Types/EstateSettings.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/Login.cs (renamed from Common/OpenSim.Framework/Types/Login.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/MapBlockData.cs (renamed from Common/OpenSim.Framework/Types/MapBlockData.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/NeighbourInfo.cs (renamed from Common/OpenSim.Framework/Types/NeighbourInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/NetworkServersInfo.cs (renamed from Common/OpenSim.Framework/Types/NetworkServersInfo.cs) | 39 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/ParcelData.cs (renamed from Common/OpenSim.Framework/Types/ParcelData.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/PrimData.cs (renamed from Common/OpenSim.Framework/Types/PrimData.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/RegionHandle.cs (renamed from Common/OpenSim.Framework/Types/RegionHandle.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/General/Types/RegionInfo.cs (renamed from Common/OpenSim.Framework/Types/RegionInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Framework/General/UserProfile.cs (renamed from Common/OpenSim.Framework/UserProfile.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/General/Util.cs (renamed from Common/OpenSim.Framework/Util.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.csproj (renamed from Common/OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.csproj) | 12 | ||||
-rw-r--r-- | OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.dll.build (renamed from OpenSim/OpenSim.Caches/OpenSim.Caches.dll.build) | 15 | ||||
-rw-r--r-- | OpenSim/Framework/GenericConfig/Xml/Properties/AssemblyInfo.cs (renamed from Common/OpenSim.GenericConfig/Xml/Properties/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/GenericConfig/Xml/XmlConfig.cs (renamed from Common/OpenSim.GenericConfig/Xml/XmlConfig.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs (renamed from Common/OpenSim.Servers/BaseHttpServer.cs) | 9 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/CheckSumServer.cs (renamed from Common/OpenSim.Servers/CheckSumServer.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/IRestHandler.cs (renamed from Common/OpenSim.Servers/IRestHandler.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj | 116 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build (renamed from OpenSim/OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build) | 11 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/UDPServerBase.cs (renamed from Common/OpenSim.Servers/UDPServerBase.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/XmlRpcMethod.cs (renamed from Common/OpenSim.Servers/XmlRpcMethod.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Framework/UserManager/LoginResponse.cs (renamed from Common/OpenGrid.Framework.UserManager/LoginResponse.cs) | 5 | ||||
-rw-r--r-- | OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.csproj (renamed from Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.csproj) | 32 | ||||
-rw-r--r-- | OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build | 50 | ||||
-rw-r--r-- | OpenSim/Framework/UserManager/UserManagerBase.cs (renamed from Common/OpenGrid.Framework.UserManager/UserManagerBase.cs) | 135 | ||||
-rw-r--r-- | OpenSim/Grid/AssetServer/AssetHttpServer.cs (renamed from OpenGridServices/OpenGridServices.AssetServer/AssetHttpServer.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Grid/AssetServer/Main.cs (renamed from OpenGridServices/OpenGridServices.AssetServer/Main.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.csproj (renamed from OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj) | 22 | ||||
-rw-r--r-- | OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.exe.build (renamed from OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.exe.build) | 22 | ||||
-rw-r--r-- | OpenSim/Grid/AssetServer/Properties/AssemblyInfo.cs (renamed from OpenGridServices/OpenGridServices.AssetServer/Properties/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Framework.Manager/GridManagementAgent.cs (renamed from OpenGridServices/OpenGrid.Framework.Manager/GridManagementAgent.cs) | 6 | ||||
-rw-r--r-- | OpenSim/Grid/Framework.Manager/GridServerManager.cs (renamed from OpenGridServices/OpenGrid.Framework.Manager/GridServerManager.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Grid/Framework.Manager/OpenSim.Grid.Framework.Manager.csproj (renamed from OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.csproj) | 20 | ||||
-rw-r--r-- | OpenSim/Grid/Framework.Manager/OpenSim.Grid.Framework.Manager.dll.build | 44 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer.Config/AssemblyInfo.cs (renamed from OpenGridServices/OpenGrid.Config/GridConfigDb4o/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer.Config/DbGridConfig.cs (renamed from OpenGridServices/OpenGrid.Config/GridConfigDb4o/DbGridConfig.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer.Config/OpenSim.Grid.GridServer.Config.csproj (renamed from OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.csproj) | 6 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer.Config/OpenSim.Grid.GridServer.Config.dll.build (renamed from OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build) | 8 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer/GridManager.cs (renamed from OpenGridServices/OpenGridServices.GridServer/GridManager.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer/Main.cs (renamed from OpenGridServices/OpenGridServices.GridServer/Main.cs) | 12 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer/OpenSim.Grid.GridServer.csproj (renamed from OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.csproj) | 38 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer/OpenSim.Grid.GridServer.exe.build (renamed from OpenSim/Examples/SimpleApp/SimpleApp.exe.build) | 26 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer/Properties/AssemblyInfo.cs (renamed from OpenGridServices/OpenGridServices.GridServer/Properties/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/InventoryServer/InventoryManager.cs (renamed from OpenGridServices/OpenGridServices.InventoryServer/InventoryManager.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/InventoryServer/Main.cs (renamed from OpenGridServices/OpenGridServices.InventoryServer/Main.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager.mds (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager.mds) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager.userprefs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager.userprefs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager.usertasks (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager.usertasks) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/AssemblyInfo.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/BlockingQueue.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/BlockingQueue.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/Connect to grid server.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/Connect to grid server.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/GridServerConnectionManager.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/Main.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/MainWindow.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/MainWindow.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/OpenGridServices.Manager.mdp (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.mdp) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/OpenGridServices.Manager.pidb (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.pidb) | bin | 12308 -> 12308 bytes | |||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/RegionBlock.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/RegionBlock.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/Util.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/Util.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.ConnectToGridServerDialog.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.ConnectToGridServerDialog.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/generated.cs (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/generated.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/gui.stetic (renamed from OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/gui.stetic) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer.Config/AssemblyInfo.cs (renamed from OpenGridServices/OpenUser.Config/UserConfigDb4o/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer.Config/DbUserConfig.cs (renamed from OpenGridServices/OpenUser.Config/UserConfigDb4o/DbUserConfig.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer.Config/OpenSim.Grid.UserServer.Config.csproj (renamed from OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.csproj) | 6 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer.Config/OpenSim.Grid.UserServer.Config.dll.build (renamed from OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build) | 8 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs (renamed from OpenGridServices/OpenGridServices.UserServer/Main.cs) | 16 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer/OpenSim.Grid.UserServer.csproj (renamed from OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.csproj) | 42 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer/OpenSim.Grid.UserServer.exe.build (renamed from OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build) | 28 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer/Properties/AssemblyInfo.cs (renamed from OpenGridServices/OpenGridServices.UserServer/Properties/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer/UserManager.cs (renamed from OpenGridServices/OpenGridServices.UserServer/UserManager.cs) | 7 | ||||
-rw-r--r-- | OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs | 184 | ||||
-rw-r--r-- | OpenSim/OpenSim.Region/Scenes/SceneEvents.cs | 79 | ||||
-rw-r--r-- | OpenSim/OpenSim.Region/Scenes/scripting/Engines/JSharpScriptEngine.cs | 104 | ||||
-rw-r--r-- | OpenSim/OpenSim/OpenSim.exe.build | 58 | ||||
-rw-r--r-- | OpenSim/Region/Application/Application.cs (renamed from OpenSim/OpenSim/Application.cs) | 3 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSim.csproj (renamed from OpenSim/OpenSim/OpenSim.csproj) | 101 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSim.exe.build | 60 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs (renamed from OpenSim/OpenSim/OpenSimMain.cs) | 62 | ||||
-rw-r--r-- | OpenSim/Region/Application/VersionInfo.cs (renamed from OpenSim/OpenSim.RegionServer/VersionInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Caches/AssetCache.cs (renamed from OpenSim/OpenSim.Caches/AssetCache.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Caches/OpenSim.Region.Caches.csproj (renamed from OpenSim/OpenSim.Caches/OpenSim.Caches.csproj) | 14 | ||||
-rw-r--r-- | OpenSim/Region/Caches/OpenSim.Region.Caches.dll.build (renamed from Common/OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.dll.build) | 7 | ||||
-rw-r--r-- | OpenSim/Region/Caches/Properties/AssemblyInfo.cs (renamed from OpenSim/OpenSim.Caches/Properties/AssemblyInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/Caps.cs (renamed from OpenSim/OpenSim.Region/Caps.cs) | 41 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDArray.cs | 45 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDCapEvent.cs (renamed from Common/OpenSim.Framework/Interfaces/Scripting/IScriptEngine.cs) | 16 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDCapsDetails.cs | 19 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDEmpty.cs | 42 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDHelpers.cs (renamed from Common/OpenSim.Framework/LLSDHelpers.cs) | 169 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDMapLayer.cs | 50 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDMapLayerResponse.cs | 45 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDMapRequest.cs | 17 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDTest.cs | 45 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDType.cs | 53 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/LLSDUploadReply.cs (renamed from Common/OpenSim.Framework/Interfaces/Scripting/IScriptAPI.cs) | 17 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj | 143 | ||||
-rw-r--r-- | OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build | 56 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Assets/InventoryCache.cs (renamed from OpenSim/OpenSim.RegionServer/Assets/InventoryCache.cs) | 1 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientStackNetworkHandler.cs (renamed from OpenSim/OpenSim.RegionServer/ClientStackNetworkHandler.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs (renamed from OpenSim/OpenSim.RegionServer/ClientView.API.cs) | 5 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs (renamed from OpenSim/OpenSim.RegionServer/ClientView.AgentAssetUpload.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs (renamed from OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs (renamed from OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs) | 10 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs (renamed from OpenSim/OpenSim.RegionServer/ClientView.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientViewBase.cs (renamed from OpenSim/OpenSim.RegionServer/ClientViewBase.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj (renamed from OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj) | 69 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build (renamed from OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build) | 33 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/PacketServer.cs (renamed from OpenSim/OpenSim.RegionServer/PacketServer.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/RegionApplicationBase.cs (renamed from OpenSim/OpenSim.RegionServer/RegionApplicationBase.cs) | 9 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/UDPServer.cs (renamed from OpenSim/OpenSim.RegionServer/UDPServer.cs) | 9 | ||||
-rw-r--r-- | OpenSim/Region/Communications/Local/CommunicationsLocal.cs (renamed from OpenSim/OpenSim.LocalCommunications/CommunicationsLocal.cs) | 9 | ||||
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalBackEndServices.cs (renamed from OpenSim/OpenSim.LocalCommunications/LocalBackEndServices.cs) | 5 | ||||
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalUserServices.cs (renamed from OpenSim/OpenSim.LocalCommunications/LocalUserServices.cs) | 37 | ||||
-rw-r--r-- | OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj (renamed from OpenSim/OpenSim.LocalCommunications/OpenSim.LocalCommunications.csproj) | 36 | ||||
-rw-r--r-- | OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build (renamed from OpenSim/OpenSim.LocalCommunications/OpenSim.LocalCommunications.dll.build) | 20 | ||||
-rw-r--r-- | OpenSim/Region/Communications/Local/Properties/AssemblyInfo.cs (renamed from OpenSim/OpenSim.LocalCommunications/Properties/AssemblyInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs | 18 | ||||
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs (renamed from Common/OpenGrid.Framework.Communications.OGS1/OGS1GridServices.cs) | 6 | ||||
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1InterSimComms.cs (renamed from Common/OpenGrid.Framework.Communications.OGS1/OGSInterSimComms.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | 109 | ||||
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj (renamed from Common/OpenGrid.Framework.Communications.OGS1/OpenGrid.Framework.Communications.OGS1.csproj) | 54 | ||||
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build | 53 | ||||
-rw-r--r-- | OpenSim/Region/Communications/OGS1/Properties/AssemblyInfo.cs (renamed from Common/OpenGrid.Framework.Communications.OGS1/Properties/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Environment/EstateManager.cs (renamed from OpenSim/OpenSim.Region/EstateManager.cs) | 8 | ||||
-rw-r--r-- | OpenSim/Region/Environment/OpenSim.Region.Environment.csproj (renamed from OpenSim/OpenSim.Region/OpenSim.Region.csproj) | 83 | ||||
-rw-r--r-- | OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build (renamed from OpenSim/OpenSim.Region/OpenSim.Region.dll.build) | 39 | ||||
-rw-r--r-- | OpenSim/Region/Environment/ParcelManager.cs (renamed from OpenSim/OpenSim.Region/ParcelManager.cs) | 8 | ||||
-rw-r--r-- | OpenSim/Region/Environment/RegionManager.cs (renamed from OpenSim/OpenSim.Region/RegionManager.cs) | 7 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Entity.cs (renamed from OpenSim/OpenSim.Region/Scenes/Entity.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/IScenePresenceBody.cs (renamed from OpenSim/OpenSim.Region/Scenes/IScenePresenceBody.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Primitive.cs (renamed from OpenSim/OpenSim.Region/Scenes/Primitive.cs) | 6 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs (renamed from OpenSim/OpenSim.Region/Scenes/Scene.PacketHandlers.cs) | 6 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs (renamed from OpenSim/OpenSim.Region/Scenes/Scene.cs) | 25 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneBase.cs (renamed from OpenSim/OpenSim.Region/Scenes/SceneBase.cs) | 6 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneEvents.cs | 52 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObject.cs (renamed from OpenSim/OpenSim.Region/Scenes/SceneObject.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs (renamed from OpenSim/OpenSim.Region/Scenes/ScenePresence.Animations.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.Body.cs (renamed from OpenSim/OpenSim.Region/Scenes/ScenePresence.Body.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs (renamed from OpenSim/OpenSim.Region/Scenes/ScenePresence.cs) | 82 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpScriptEngine.cs (renamed from OpenSim/OpenSim.Region/Scenes/scripting/Engines/CSharpScriptEngine.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/scripting/Engines/JScriptEngine.cs (renamed from OpenSim/OpenSim.Region/Scenes/scripting/Engines/JScriptEngine.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/scripting/Script.cs (renamed from OpenSim/OpenSim.Region/Scenes/scripting/Script.cs) | 8 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs (renamed from OpenSim/OpenSim.Region/Scenes/scripting/ScriptInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/scripting/ScriptManager.cs (renamed from OpenSim/OpenSim.Region/Scenes/scripting/ScriptManager.cs) | 9 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/MyWorld.cs (renamed from OpenSim/Examples/SimpleApp/MyWorld.cs) | 16 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs (renamed from OpenSim/Examples/SimpleApp/Program.cs) | 11 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Properties/AssemblyInfo.cs (renamed from OpenSim/Examples/SimpleApp/Properties/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj (renamed from OpenSim/Examples/SimpleApp/SimpleApp.csproj) | 68 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build (renamed from OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build) | 36 | ||||
-rw-r--r-- | OpenSim/Region/GridInterfaces/Local/AssemblyInfo.cs (renamed from OpenSim/OpenSim.GridInterfaces/Local/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs (renamed from OpenSim/OpenSim.GridInterfaces/Local/LocalAssetServer.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.csproj (renamed from OpenSim/OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.csproj) | 18 | ||||
-rw-r--r-- | OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.dll.build | 45 | ||||
-rw-r--r-- | OpenSim/Region/GridInterfaces/Remote/AssemblyInfo.cs (renamed from OpenSim/OpenSim.GridInterfaces/Remote/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.csproj (renamed from OpenSim/OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.csproj) | 26 | ||||
-rw-r--r-- | OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.dll.build | 45 | ||||
-rw-r--r-- | OpenSim/Region/GridInterfaces/Remote/RemoteAssetServer.cs (renamed from OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/AssemblyInfo.cs (renamed from OpenSim/OpenSim.Physics/BasicPhysicsPlugin/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs (renamed from OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.csproj (renamed from OpenSim/OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.csproj) | 18 | ||||
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll.build (renamed from OpenSim/OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build) | 14 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/AssemblyInfo.cs (renamed from OpenSim/OpenSim.Physics/Manager/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.csproj (renamed from OpenSim/OpenSim.Physics/Manager/OpenSim.Physics.Manager.csproj) | 16 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.dll.build (renamed from OpenSim/OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build) | 16 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs (renamed from OpenSim/OpenSim.Physics/Manager/PhysicsActor.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsManager.cs (renamed from OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsScene.cs (renamed from OpenSim/OpenSim.Physics/Manager/PhysicsScene.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsVector.cs (renamed from OpenSim/OpenSim.Physics/Manager/PhysicsVector.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/AssemblyInfo.cs (renamed from OpenSim/OpenSim.Physics/OdePlugin/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs (renamed from OpenSim/OpenSim.Physics/OdePlugin/OdePlugin.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.csproj (renamed from OpenSim/OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.csproj) | 20 | ||||
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.dll.build (renamed from OpenSim/OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build) | 16 | ||||
-rw-r--r-- | OpenSim/Region/Physics/PhysXPlugin/AssemblyInfo.cs (renamed from OpenSim/OpenSim.Physics/PhysXPlugin/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.csproj (renamed from OpenSim/OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.csproj) | 20 | ||||
-rw-r--r-- | OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.dll.build (renamed from OpenSim/OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build) | 16 | ||||
-rw-r--r-- | OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs (renamed from OpenSim/OpenSim.Physics/PhysXPlugin/PhysXPlugin.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Scripting/Properties/AssemblyInfo.cs (renamed from libraries/libLSL/Properties/AssemblyInfo.cs) | 6 | ||||
-rw-r--r-- | OpenSim/Region/Scripting/Script.cs | 32 | ||||
-rw-r--r-- | OpenSim/Region/Scripting/ScriptAccess.cs | 31 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs (renamed from OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.csproj (renamed from OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.csproj) | 20 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.dll.build | 46 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.dll.build (renamed from OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.dll.build) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageDb4o/AssemblyInfo.cs (renamed from OpenSim/OpenSim.Storage/LocalStorageDb4o/AssemblyInfo.cs) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageDb4o/Db4LocalStorage.cs (renamed from OpenSim/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageDb4o/MapStorage.cs (renamed from OpenSim/OpenSim.Storage/LocalStorageDb4o/MapStorage.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj (renamed from OpenSim/OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.csproj) | 18 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build (renamed from OpenSim/OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build) | 18 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageDb4o/UUIDParcelQuery.cs (renamed from OpenSim/OpenSim.Storage/LocalStorageDb4o/UUIDParcelQuery.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageDb4o/UUIDPrimQuery.cs (renamed from OpenSim/OpenSim.Storage/LocalStorageDb4o/UUIDPrimQuery.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.csproj (renamed from OpenSim/OpenSim.Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.csproj) | 18 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.dll.build (renamed from Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build) | 21 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.dll.build (renamed from OpenSim/OpenSim.Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.dll.build) | 0 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageSQLite/Properties/AssemblyInfo.cs (renamed from OpenSim/OpenSim.Storage/LocalStorageSQLite/Properties/AssemblyInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageSQLite/SQLiteLocalStorage.cs (renamed from OpenSim/OpenSim.Storage/LocalStorageSQLite/SQLiteLocalStorage.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.csproj (renamed from OpenSim/OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.csproj) | 14 | ||||
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.dll.build (renamed from OpenSim/OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.dll.build) | 14 | ||||
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/Properties/AssemblyInfo.cs (renamed from OpenSim/OpenSim.Terrain.BasicTerrain/Properties/AssemblyInfo.cs) | 4 | ||||
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs (renamed from OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainFilter.cs (renamed from OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs) | 2 | ||||
-rw-r--r-- | bin/DotSets.dll | bin | 0 -> 24576 bytes | |||
-rw-r--r-- | bin/Mono.PEToolkit.dll | bin | 0 -> 131072 bytes | |||
-rw-r--r-- | bin/XMLRPC.dll | bin | 0 -> 36864 bytes | |||
-rw-r--r-- | bin/libsecondlife.dll | bin | 2150400 -> 2256896 bytes | |||
-rw-r--r-- | libraries/libLSL/libLSL.csproj | 49 | ||||
-rw-r--r-- | libraries/libLSL/lsl.cs | 329 | ||||
-rw-r--r-- | libraries/libLSL/lslByteCode.cs | 133 | ||||
-rw-r--r-- | libraries/libLSL/lslscript.cs | 10 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain.sln | 26 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Bitmap/Bitmap.cs | 77 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Channel.cs | 66 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Common.cs | 228 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Editing/Flatten.cs | 102 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Editing/Raise.cs | 117 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/File.cs | 75 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Generators/Cellular.cs | 1 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Generators/Fracture.cs | 113 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Generators/Gradient.cs | 67 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Generators/HillPlanter.cs | 278 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Generators/Midpoint.cs | 1 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Generators/Mountain.cs | 1 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Generators/Noise.cs | 57 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Generators/Spiral.cs | 152 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Generators/Voronoi.cs | 212 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Generators/Worms.cs | 75 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Grid.cs | 264 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Manipulators/AerobicErosion.cs | 170 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Manipulators/HydraulicErosion.cs | 1 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Manipulators/ThermalWeathering.cs | 113 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Neighbours.cs | 144 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Channel/Operators.cs | 221 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Properties/AssemblyInfo.cs | 35 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/TODO.txt | 42 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Test/SimpleTerrain.cs | 47 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Tools/Point2D.cs | 49 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/Tools/Tools.cs | 60 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrain/libTerrain-BSD.csproj | 75 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrainTests/Program.cs | 299 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrainTests/Properties/AssemblyInfo.cs | 33 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrainTests/libTerrain.csproj | 75 | ||||
-rw-r--r-- | libraries/libTerrain/libTerrainTests/libTerrainTests.csproj | 56 | ||||
-rw-r--r-- | prebuild.xml | 489 | ||||
-rw-r--r-- | tools/mass test client/Arguments.cs | 111 | ||||
-rw-r--r-- | tools/mass test client/ClientManager.cs | 323 | ||||
-rw-r--r-- | tools/mass test client/Command.cs | 29 | ||||
-rw-r--r-- | tools/mass test client/Commands/CloneProfileCommand.cs | 131 | ||||
-rw-r--r-- | tools/mass test client/Commands/Communication/EchoMasterCommand.cs | 42 | ||||
-rw-r--r-- | tools/mass test client/Commands/Communication/IMCommand.cs | 71 | ||||
-rw-r--r-- | tools/mass test client/Commands/Communication/SayCommand.cs | 44 | ||||
-rw-r--r-- | tools/mass test client/Commands/Communication/ShoutCommand.cs | 49 | ||||
-rw-r--r-- | tools/mass test client/Commands/Communication/TtsCommand.cs | 51 | ||||
-rw-r--r-- | tools/mass test client/Commands/Communication/WhisperCommand.cs | 49 | ||||
-rw-r--r-- | tools/mass test client/Commands/GoHome.cs | 26 | ||||
-rw-r--r-- | tools/mass test client/Commands/GotoLandmark.cs | 32 | ||||
-rw-r--r-- | tools/mass test client/Commands/Inventory/AppearanceCommand.cs | 29 | ||||
-rw-r--r-- | tools/mass test client/Commands/Inventory/BalanceCommand.cs | 21 | ||||
-rw-r--r-- | tools/mass test client/Commands/Inventory/DeleteFolderCommand.cs | 43 | ||||
-rw-r--r-- | tools/mass test client/Commands/Inventory/DumpOutfitCommand.cs | 98 | ||||
-rw-r--r-- | tools/mass test client/Commands/Inventory/ExportOutfitCommand.cs | 66 | ||||
-rw-r--r-- | tools/mass test client/Commands/Inventory/GiveAllCommand.cs | 27 | ||||
-rw-r--r-- | tools/mass test client/Commands/Inventory/ImportOutfitCommand.cs | 66 | ||||
-rw-r--r-- | tools/mass test client/Commands/Inventory/InventoryCommand.cs | 62 | ||||
-rw-r--r-- | tools/mass test client/Commands/Inventory/WearCommand.cs | 43 | ||||
-rw-r--r-- | tools/mass test client/Commands/Land/FindSimCommand.cs | 43 | ||||
-rw-r--r-- | tools/mass test client/Commands/Land/ParcelInfoCommand.cs | 62 | ||||
-rw-r--r-- | tools/mass test client/Commands/Movement/FollowCommand.cs | 90 | ||||
-rw-r--r-- | tools/mass test client/Commands/Movement/GotoCommand.cs | 53 | ||||
-rw-r--r-- | tools/mass test client/Commands/Movement/JumpCommand.cs | 34 | ||||
-rw-r--r-- | tools/mass test client/Commands/Movement/LocationCommand.cs | 23 | ||||
-rw-r--r-- | tools/mass test client/Commands/Movement/MoveToCommand.cs | 24 | ||||
-rw-r--r-- | tools/mass test client/Commands/Movement/SetHome.cs | 23 | ||||
-rw-r--r-- | tools/mass test client/Commands/Movement/SitCommand.cs | 52 | ||||
-rw-r--r-- | tools/mass test client/Commands/Movement/SitOnCommand.cs | 54 | ||||
-rw-r--r-- | tools/mass test client/Commands/Movement/StandCommand.cs | 47 | ||||
-rw-r--r-- | tools/mass test client/Commands/Prims/ExportCommand.cs | 209 | ||||
-rw-r--r-- | tools/mass test client/Commands/Prims/ExportParticlesCommand.cs | 119 | ||||
-rw-r--r-- | tools/mass test client/Commands/Prims/ImportCommand.cs | 246 | ||||
-rw-r--r-- | tools/mass test client/Commands/Prims/PrimCountCommand.cs | 32 | ||||
-rw-r--r-- | tools/mass test client/Commands/Stats/DilationCommand.cs | 22 | ||||
-rw-r--r-- | tools/mass test client/Commands/Stats/RegionInfoCommand.cs | 45 | ||||
-rw-r--r-- | tools/mass test client/Commands/Stats/StatsCommand.cs | 44 | ||||
-rw-r--r-- | tools/mass test client/Commands/Stats/UptimeCommand.cs | 25 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/DebugCommand.cs | 37 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/HelpCommand.cs | 29 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/LoadCommand.cs | 28 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/LoginCommand.cs | 34 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/LogoutCommand.cs | 24 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/MD5Command.cs | 22 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/PacketLogCommand.cs | 84 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/QuitCommand.cs | 24 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/SetMasterCommand.cs | 73 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/SetMasterKeyCommand.cs | 35 | ||||
-rw-r--r-- | tools/mass test client/Commands/System/ShowEffectsCommand.cs | 76 | ||||
-rw-r--r-- | tools/mass test client/Commands/TouchCommand.cs | 55 | ||||
-rw-r--r-- | tools/mass test client/Commands/TreeCommand.cs | 51 | ||||
-rw-r--r-- | tools/mass test client/Commands/WhoCommand.cs | 29 | ||||
-rw-r--r-- | tools/mass test client/MassTestClient.csproj | 121 | ||||
-rw-r--r-- | tools/mass test client/MassTestClient.csproj.user | 10 | ||||
-rw-r--r-- | tools/mass test client/MassTestClient.sln | 20 | ||||
-rw-r--r-- | tools/mass test client/MassTestClient.suo | bin | 32256 -> 0 bytes | |||
-rw-r--r-- | tools/mass test client/Parsing.cs | 61 | ||||
-rw-r--r-- | tools/mass test client/Program.cs | 225 | ||||
-rw-r--r-- | tools/mass test client/Properties/AssemblyInfo.cs | 33 | ||||
-rw-r--r-- | tools/mass test client/TestClient.build | 125 | ||||
-rw-r--r-- | tools/mass test client/TestClient.cs | 324 | ||||
-rw-r--r-- | tools/mass test client/bin/libsecondlife.Utilities.dll | bin | 65536 -> 0 bytes | |||
-rw-r--r-- | tools/mass test client/bin/libsecondlife.dll | bin | 2256896 -> 0 bytes | |||
-rw-r--r-- | tools/mass test client/bin/openjpegnet.dll | bin | 32768 -> 0 bytes |
440 files changed, 3152 insertions, 15072 deletions
diff --git a/Common/OpenGrid.Framework.Communications.OGS1/GridCommsManager.cs b/Common/OpenGrid.Framework.Communications.OGS1/GridCommsManager.cs deleted file mode 100644 index 563eaf7..0000000 --- a/Common/OpenGrid.Framework.Communications.OGS1/GridCommsManager.cs +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenSim.Framework.Types; | ||
5 | using OpenGrid.Framework.Communications; | ||
6 | namespace OpenGrid.Framework.Communications.OGS1 | ||
7 | { | ||
8 | public class GridCommsManager : CommunicationsManager | ||
9 | { | ||
10 | private OGS1GridServices gridInterComms = new OGS1GridServices(); | ||
11 | public GridCommsManager(NetworkServersInfo serversInfo) :base(serversInfo) | ||
12 | { | ||
13 | GridServer = gridInterComms; | ||
14 | InterRegion = gridInterComms; | ||
15 | UserServer = new OGSUserServices(); | ||
16 | } | ||
17 | } | ||
18 | } | ||
diff --git a/Common/OpenGrid.Framework.Communications.OGS1/OGSUserServices.cs b/Common/OpenGrid.Framework.Communications.OGS1/OGSUserServices.cs deleted file mode 100644 index 1667e6b..0000000 --- a/Common/OpenGrid.Framework.Communications.OGS1/OGSUserServices.cs +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenGrid.Framework.Communications; | ||
5 | using OpenGrid.Framework.Data; | ||
6 | using libsecondlife; | ||
7 | |||
8 | namespace OpenGrid.Framework.Communications.OGS1 | ||
9 | { | ||
10 | public class OGSUserServices :IUserServices | ||
11 | { | ||
12 | public UserProfileData GetUserProfile(string firstName, string lastName) | ||
13 | { | ||
14 | return null; | ||
15 | } | ||
16 | public UserProfileData GetUserProfile(string name) | ||
17 | { | ||
18 | return null; | ||
19 | } | ||
20 | public UserProfileData GetUserProfile(LLUUID avatarID) | ||
21 | { | ||
22 | return null; | ||
23 | } | ||
24 | } | ||
25 | } | ||
diff --git a/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj b/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj deleted file mode 100644 index d2d6140..0000000 --- a/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj +++ /dev/null | |||
@@ -1,111 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{39BD9497-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data.DB4o</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data.DB4o</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="Db4objects.Db4o.dll" > | ||
62 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="libsecondlife.dll" > | ||
66 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System" > | ||
70 | <HintPath>System.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="System.Data" > | ||
74 | <HintPath>System.Data.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="System.Xml" > | ||
78 | <HintPath>System.Xml.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | </ItemGroup> | ||
82 | <ItemGroup> | ||
83 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | ||
84 | <Name>OpenGrid.Framework.Data</Name> | ||
85 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | </ItemGroup> | ||
90 | <ItemGroup> | ||
91 | <Compile Include="DB4oGridData.cs"> | ||
92 | <SubType>Code</SubType> | ||
93 | </Compile> | ||
94 | <Compile Include="DB4oManager.cs"> | ||
95 | <SubType>Code</SubType> | ||
96 | </Compile> | ||
97 | <Compile Include="DB4oUserData.cs"> | ||
98 | <SubType>Code</SubType> | ||
99 | </Compile> | ||
100 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
101 | <SubType>Code</SubType> | ||
102 | </Compile> | ||
103 | </ItemGroup> | ||
104 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
105 | <PropertyGroup> | ||
106 | <PreBuildEvent> | ||
107 | </PreBuildEvent> | ||
108 | <PostBuildEvent> | ||
109 | </PostBuildEvent> | ||
110 | </PropertyGroup> | ||
111 | </Project> | ||
diff --git a/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.r858 b/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.r858 deleted file mode 100644 index d6dd03d..0000000 --- a/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.r858 +++ /dev/null | |||
@@ -1,111 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{BC0F052F-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data.DB4o</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data.DB4o</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>False</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>True</Optimize> | ||
35 | <OutputPath>../../bin/</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>True</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>False</Optimize> | ||
53 | <OutputPath>../../bin/</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Xml" > | ||
66 | <HintPath>System.Xml.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Data" > | ||
70 | <HintPath>System.Data.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="libsecondlife.dll" > | ||
74 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="Db4objects.Db4o.dll" > | ||
78 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | </ItemGroup> | ||
82 | <ItemGroup> | ||
83 | <ProjectReference Include="../OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj"> | ||
84 | <Name>OpenGrid.Framework.Data</Name> | ||
85 | <Project>{12DD8EB8-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | </ItemGroup> | ||
90 | <ItemGroup> | ||
91 | <Compile Include="DB4oGridData.cs"> | ||
92 | <SubType>Code</SubType> | ||
93 | </Compile> | ||
94 | <Compile Include="DB4oManager.cs"> | ||
95 | <SubType>Code</SubType> | ||
96 | </Compile> | ||
97 | <Compile Include="DB4oUserData.cs"> | ||
98 | <SubType>Code</SubType> | ||
99 | </Compile> | ||
100 | <Compile Include="Properties/AssemblyInfo.cs"> | ||
101 | <SubType>Code</SubType> | ||
102 | </Compile> | ||
103 | </ItemGroup> | ||
104 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
105 | <PropertyGroup> | ||
106 | <PreBuildEvent> | ||
107 | </PreBuildEvent> | ||
108 | <PostBuildEvent> | ||
109 | </PostBuildEvent> | ||
110 | </PropertyGroup> | ||
111 | </Project> | ||
diff --git a/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.r921 b/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.r921 deleted file mode 100644 index 3b783ca..0000000 --- a/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.r921 +++ /dev/null | |||
@@ -1,111 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{39BD9497-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data.DB4o</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data.DB4o</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Xml" > | ||
66 | <HintPath>System.Xml.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Data" > | ||
70 | <HintPath>System.Data.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="libsecondlife.dll" > | ||
74 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="Db4objects.Db4o.dll" > | ||
78 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | </ItemGroup> | ||
82 | <ItemGroup> | ||
83 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | ||
84 | <Name>OpenGrid.Framework.Data</Name> | ||
85 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | </ItemGroup> | ||
90 | <ItemGroup> | ||
91 | <Compile Include="DB4oUserData.cs"> | ||
92 | <SubType>Code</SubType> | ||
93 | </Compile> | ||
94 | <Compile Include="DB4oManager.cs"> | ||
95 | <SubType>Code</SubType> | ||
96 | </Compile> | ||
97 | <Compile Include="DB4oGridData.cs"> | ||
98 | <SubType>Code</SubType> | ||
99 | </Compile> | ||
100 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
101 | <SubType>Code</SubType> | ||
102 | </Compile> | ||
103 | </ItemGroup> | ||
104 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
105 | <PropertyGroup> | ||
106 | <PreBuildEvent> | ||
107 | </PreBuildEvent> | ||
108 | <PostBuildEvent> | ||
109 | </PostBuildEvent> | ||
110 | </PropertyGroup> | ||
111 | </Project> | ||
diff --git a/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.mine b/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.mine deleted file mode 100644 index a572204..0000000 --- a/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.mine +++ /dev/null | |||
@@ -1,113 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{62CDF671-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Xml" > | ||
66 | <HintPath>System.Xml.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Data" > | ||
70 | <HintPath>System.Data.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="libsecondlife.dll" > | ||
74 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | </ItemGroup> | ||
78 | <ItemGroup> | ||
79 | </ItemGroup> | ||
80 | <ItemGroup> | ||
81 | <Compile Include="GridData.cs"> | ||
82 | <SubType>Code</SubType> | ||
83 | </Compile> | ||
84 | <Compile Include="ILogData.cs"> | ||
85 | <SubType>Code</SubType> | ||
86 | </Compile> | ||
87 | <Compile Include="IniConfig.cs"> | ||
88 | <SubType>Code</SubType> | ||
89 | </Compile> | ||
90 | <Compile Include="InventoryData.cs"> | ||
91 | <SubType>Code</SubType> | ||
92 | </Compile> | ||
93 | <Compile Include="SimProfileData.cs"> | ||
94 | <SubType>Code</SubType> | ||
95 | </Compile> | ||
96 | <Compile Include="UserData.cs"> | ||
97 | <SubType>Code</SubType> | ||
98 | </Compile> | ||
99 | <Compile Include="UserProfileData.cs"> | ||
100 | <SubType>Code</SubType> | ||
101 | </Compile> | ||
102 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
103 | <SubType>Code</SubType> | ||
104 | </Compile> | ||
105 | </ItemGroup> | ||
106 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
107 | <PropertyGroup> | ||
108 | <PreBuildEvent> | ||
109 | </PreBuildEvent> | ||
110 | <PostBuildEvent> | ||
111 | </PostBuildEvent> | ||
112 | </PropertyGroup> | ||
113 | </Project> | ||
diff --git a/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.r858 b/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.r858 deleted file mode 100644 index 3b6d24d..0000000 --- a/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.r858 +++ /dev/null | |||
@@ -1,110 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{12DD8EB8-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>False</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>True</Optimize> | ||
35 | <OutputPath>../../bin/</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>True</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>False</Optimize> | ||
53 | <OutputPath>../../bin/</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Xml" > | ||
66 | <HintPath>System.Xml.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Data" > | ||
70 | <HintPath>System.Data.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="libsecondlife.dll" > | ||
74 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | </ItemGroup> | ||
78 | <ItemGroup> | ||
79 | </ItemGroup> | ||
80 | <ItemGroup> | ||
81 | <Compile Include="GridData.cs"> | ||
82 | <SubType>Code</SubType> | ||
83 | </Compile> | ||
84 | <Compile Include="ILogData.cs"> | ||
85 | <SubType>Code</SubType> | ||
86 | </Compile> | ||
87 | <Compile Include="IniConfig.cs"> | ||
88 | <SubType>Code</SubType> | ||
89 | </Compile> | ||
90 | <Compile Include="SimProfileData.cs"> | ||
91 | <SubType>Code</SubType> | ||
92 | </Compile> | ||
93 | <Compile Include="UserData.cs"> | ||
94 | <SubType>Code</SubType> | ||
95 | </Compile> | ||
96 | <Compile Include="UserProfileData.cs"> | ||
97 | <SubType>Code</SubType> | ||
98 | </Compile> | ||
99 | <Compile Include="Properties/AssemblyInfo.cs"> | ||
100 | <SubType>Code</SubType> | ||
101 | </Compile> | ||
102 | </ItemGroup> | ||
103 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
104 | <PropertyGroup> | ||
105 | <PreBuildEvent> | ||
106 | </PreBuildEvent> | ||
107 | <PostBuildEvent> | ||
108 | </PostBuildEvent> | ||
109 | </PropertyGroup> | ||
110 | </Project> | ||
diff --git a/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.r921 b/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.r921 deleted file mode 100644 index 990cd16..0000000 --- a/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj.r921 +++ /dev/null | |||
@@ -1,113 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{62CDF671-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Xml" > | ||
66 | <HintPath>System.Xml.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Data" > | ||
70 | <HintPath>System.Data.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="libsecondlife.dll" > | ||
74 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | </ItemGroup> | ||
78 | <ItemGroup> | ||
79 | </ItemGroup> | ||
80 | <ItemGroup> | ||
81 | <Compile Include="GridData.cs"> | ||
82 | <SubType>Code</SubType> | ||
83 | </Compile> | ||
84 | <Compile Include="SimProfileData.cs"> | ||
85 | <SubType>Code</SubType> | ||
86 | </Compile> | ||
87 | <Compile Include="ILogData.cs"> | ||
88 | <SubType>Code</SubType> | ||
89 | </Compile> | ||
90 | <Compile Include="IniConfig.cs"> | ||
91 | <SubType>Code</SubType> | ||
92 | </Compile> | ||
93 | <Compile Include="InventoryData.cs"> | ||
94 | <SubType>Code</SubType> | ||
95 | </Compile> | ||
96 | <Compile Include="UserData.cs"> | ||
97 | <SubType>Code</SubType> | ||
98 | </Compile> | ||
99 | <Compile Include="UserProfileData.cs"> | ||
100 | <SubType>Code</SubType> | ||
101 | </Compile> | ||
102 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
103 | <SubType>Code</SubType> | ||
104 | </Compile> | ||
105 | </ItemGroup> | ||
106 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
107 | <PropertyGroup> | ||
108 | <PreBuildEvent> | ||
109 | </PreBuildEvent> | ||
110 | <PostBuildEvent> | ||
111 | </PostBuildEvent> | ||
112 | </PropertyGroup> | ||
113 | </Project> | ||
diff --git a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.csproj.user b/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.csproj.user deleted file mode 100644 index ae8a33c..0000000 --- a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.csproj.user +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
4 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
5 | <ReferencePath>E:\work\oslauth\sim\branches\Sugilite\bin\</ReferencePath> | ||
6 | <LastOpenVersion>8.0.50727</LastOpenVersion> | ||
7 | <ProjectView>ProjectFiles</ProjectView> | ||
8 | <ProjectTrust>0</ProjectTrust> | ||
9 | </PropertyGroup> | ||
10 | <PropertyGroup Condition = " '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " /> | ||
11 | <PropertyGroup Condition = " '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " /> | ||
12 | </Project> | ||
diff --git a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.dll.build b/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.dll.build deleted file mode 100644 index 9dc2383..0000000 --- a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.dll.build +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenGrid.Framework.UserManagement" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenGrid.Framework.UserManagement" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="LoginResponse.cs" /> | ||
15 | <include name="UserManagerBase.cs" /> | ||
16 | </sources> | ||
17 | <references basedir="${project::get-base-directory()}"> | ||
18 | <lib> | ||
19 | <include name="${project::get-base-directory()}" /> | ||
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
21 | </lib> | ||
22 | <include name="../../bin/Db4objects.Db4o.dll" /> | ||
23 | <include name="../../bin/libsecondlife.dll" /> | ||
24 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | ||
25 | <include name="../../bin/OpenSim.Framework.dll" /> | ||
26 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | ||
27 | <include name="../../bin/OpenSim.GenericConfig.Xml.dll" /> | ||
28 | <include name="../../bin/OpenSim.Servers.dll" /> | ||
29 | <include name="System.dll" /> | ||
30 | <include name="System.Data.dll" /> | ||
31 | <include name="System.Xml.dll" /> | ||
32 | <include name="../../bin/XMLRPC.dll" /> | ||
33 | </references> | ||
34 | </csc> | ||
35 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | ||
36 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | ||
37 | <copy todir="${project::get-base-directory()}/../../bin/"> | ||
38 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
39 | <include name="*.dll"/> | ||
40 | <include name="*.exe"/> | ||
41 | </fileset> | ||
42 | </copy> | ||
43 | </target> | ||
44 | <target name="clean"> | ||
45 | <delete dir="${bin.dir}" failonerror="false" /> | ||
46 | <delete dir="${obj.dir}" failonerror="false" /> | ||
47 | </target> | ||
48 | <target name="doc" description="Creates documentation."> | ||
49 | </target> | ||
50 | </project> | ||
diff --git a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.csproj b/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.csproj deleted file mode 100644 index 43f56a4..0000000 --- a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.csproj +++ /dev/null | |||
@@ -1,122 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{D1D78B8D-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.UserManager</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.UserManager</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="Db4objects.Db4o.dll" > | ||
62 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="libsecondlife.dll" > | ||
66 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="OpenSim.Framework" > | ||
70 | <HintPath>OpenSim.Framework.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="OpenSim.Framework.Console" > | ||
74 | <HintPath>OpenSim.Framework.Console.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="OpenSim.GenericConfig.Xml" > | ||
78 | <HintPath>OpenSim.GenericConfig.Xml.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | <Reference Include="OpenSim.Servers" > | ||
82 | <HintPath>OpenSim.Servers.dll</HintPath> | ||
83 | <Private>False</Private> | ||
84 | </Reference> | ||
85 | <Reference Include="System" > | ||
86 | <HintPath>System.dll</HintPath> | ||
87 | <Private>False</Private> | ||
88 | </Reference> | ||
89 | <Reference Include="System.Data" > | ||
90 | <HintPath>System.Data.dll</HintPath> | ||
91 | <Private>False</Private> | ||
92 | </Reference> | ||
93 | <Reference Include="System.Xml" > | ||
94 | <HintPath>System.Xml.dll</HintPath> | ||
95 | <Private>False</Private> | ||
96 | </Reference> | ||
97 | <Reference Include="XMLRPC" > | ||
98 | <HintPath>XMLRPC.dll</HintPath> | ||
99 | <Private>False</Private> | ||
100 | </Reference> | ||
101 | </ItemGroup> | ||
102 | <ItemGroup> | ||
103 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | ||
104 | <Name>OpenGrid.Framework.Data</Name> | ||
105 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | ||
106 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
107 | <Private>False</Private> | ||
108 | </ProjectReference> | ||
109 | </ItemGroup> | ||
110 | <ItemGroup> | ||
111 | <Compile Include="UserManagerBase.cs"> | ||
112 | <SubType>Code</SubType> | ||
113 | </Compile> | ||
114 | </ItemGroup> | ||
115 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
116 | <PropertyGroup> | ||
117 | <PreBuildEvent> | ||
118 | </PreBuildEvent> | ||
119 | <PostBuildEvent> | ||
120 | </PostBuildEvent> | ||
121 | </PropertyGroup> | ||
122 | </Project> | ||
diff --git a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.csproj.user b/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.csproj.user deleted file mode 100644 index 5941547..0000000 --- a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.csproj.user +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
4 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
5 | <ReferencePath>C:\New Folder\second-life-viewer\opensim-dailys2\opensim15-06\Sugilite\bin\</ReferencePath> | ||
6 | <LastOpenVersion>8.0.50727</LastOpenVersion> | ||
7 | <ProjectView>ProjectFiles</ProjectView> | ||
8 | <ProjectTrust>0</ProjectTrust> | ||
9 | </PropertyGroup> | ||
10 | <PropertyGroup Condition = " '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " /> | ||
11 | <PropertyGroup Condition = " '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " /> | ||
12 | </Project> | ||
diff --git a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.dll.build b/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.dll.build deleted file mode 100644 index 81a87f5..0000000 --- a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManager.dll.build +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenGrid.Framework.UserManager" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenGrid.Framework.UserManager" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="UserManagerBase.cs" /> | ||
15 | </sources> | ||
16 | <references basedir="${project::get-base-directory()}"> | ||
17 | <lib> | ||
18 | <include name="${project::get-base-directory()}" /> | ||
19 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
20 | </lib> | ||
21 | <include name="../../bin/Db4objects.Db4o.dll" /> | ||
22 | <include name="../../bin/libsecondlife.dll" /> | ||
23 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | ||
24 | <include name="../../bin/OpenSim.Framework.dll" /> | ||
25 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | ||
26 | <include name="../../bin/OpenSim.GenericConfig.Xml.dll" /> | ||
27 | <include name="../../bin/OpenSim.Servers.dll" /> | ||
28 | <include name="System.dll" /> | ||
29 | <include name="System.Data.dll" /> | ||
30 | <include name="System.Xml.dll" /> | ||
31 | <include name="../../bin/XMLRPC.dll" /> | ||
32 | </references> | ||
33 | </csc> | ||
34 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | ||
35 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | ||
36 | <copy todir="${project::get-base-directory()}/../../bin/"> | ||
37 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
38 | <include name="*.dll"/> | ||
39 | <include name="*.exe"/> | ||
40 | </fileset> | ||
41 | </copy> | ||
42 | </target> | ||
43 | <target name="clean"> | ||
44 | <delete dir="${bin.dir}" failonerror="false" /> | ||
45 | <delete dir="${obj.dir}" failonerror="false" /> | ||
46 | </target> | ||
47 | <target name="doc" description="Creates documentation."> | ||
48 | </target> | ||
49 | </project> | ||
diff --git a/Common/OpenSim.Servers/OpenSim.Servers.csproj b/Common/OpenSim.Servers/OpenSim.Servers.csproj deleted file mode 100644 index 6e8eba7..0000000 --- a/Common/OpenSim.Servers/OpenSim.Servers.csproj +++ /dev/null | |||
@@ -1,125 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{8BB20F0A-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon> | ||
10 | </ApplicationIcon> | ||
11 | <AssemblyKeyContainerName> | ||
12 | </AssemblyKeyContainerName> | ||
13 | <AssemblyName>OpenSim.Servers</AssemblyName> | ||
14 | <DefaultClientScript>JScript</DefaultClientScript> | ||
15 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
16 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
17 | <DelaySign>false</DelaySign> | ||
18 | <OutputType>Library</OutputType> | ||
19 | <AppDesignerFolder> | ||
20 | </AppDesignerFolder> | ||
21 | <RootNamespace>OpenSim.Servers</RootNamespace> | ||
22 | <StartupObject> | ||
23 | </StartupObject> | ||
24 | <FileUpgradeFlags> | ||
25 | </FileUpgradeFlags> | ||
26 | </PropertyGroup> | ||
27 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
28 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
29 | <BaseAddress>285212672</BaseAddress> | ||
30 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
31 | <ConfigurationOverrideFile> | ||
32 | </ConfigurationOverrideFile> | ||
33 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
34 | <DocumentationFile> | ||
35 | </DocumentationFile> | ||
36 | <DebugSymbols>True</DebugSymbols> | ||
37 | <FileAlignment>4096</FileAlignment> | ||
38 | <Optimize>False</Optimize> | ||
39 | <OutputPath>..\..\bin\</OutputPath> | ||
40 | <RegisterForComInterop>False</RegisterForComInterop> | ||
41 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
42 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
43 | <WarningLevel>4</WarningLevel> | ||
44 | <NoWarn> | ||
45 | </NoWarn> | ||
46 | </PropertyGroup> | ||
47 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
48 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
49 | <BaseAddress>285212672</BaseAddress> | ||
50 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
51 | <ConfigurationOverrideFile> | ||
52 | </ConfigurationOverrideFile> | ||
53 | <DefineConstants>TRACE</DefineConstants> | ||
54 | <DocumentationFile> | ||
55 | </DocumentationFile> | ||
56 | <DebugSymbols>False</DebugSymbols> | ||
57 | <FileAlignment>4096</FileAlignment> | ||
58 | <Optimize>True</Optimize> | ||
59 | <OutputPath>..\..\bin\</OutputPath> | ||
60 | <RegisterForComInterop>False</RegisterForComInterop> | ||
61 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
62 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
63 | <WarningLevel>4</WarningLevel> | ||
64 | <NoWarn> | ||
65 | </NoWarn> | ||
66 | </PropertyGroup> | ||
67 | <ItemGroup> | ||
68 | <Reference Include="libsecondlife.dll"> | ||
69 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
70 | <Private>False</Private> | ||
71 | </Reference> | ||
72 | <Reference Include="System"> | ||
73 | <HintPath>System.dll</HintPath> | ||
74 | <Private>False</Private> | ||
75 | </Reference> | ||
76 | <Reference Include="System.Xml"> | ||
77 | <HintPath>System.Xml.dll</HintPath> | ||
78 | <Private>False</Private> | ||
79 | </Reference> | ||
80 | </ItemGroup> | ||
81 | <ItemGroup> | ||
82 | <ProjectReference Include="..\OpenSim.Framework\OpenSim.Framework.csproj"> | ||
83 | <Name>OpenSim.Framework</Name> | ||
84 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | ||
85 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
86 | <Private>False</Private> | ||
87 | </ProjectReference> | ||
88 | <ProjectReference Include="..\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | ||
89 | <Name>OpenSim.Framework.Console</Name> | ||
90 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | ||
91 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
92 | <Private>False</Private> | ||
93 | </ProjectReference> | ||
94 | <ProjectReference Include="..\XmlRpcCS\XMLRPC.csproj"> | ||
95 | <Name>XMLRPC</Name> | ||
96 | <Project>{8E81D43C-0000-0000-0000-000000000000}</Project> | ||
97 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
98 | <Private>False</Private> | ||
99 | </ProjectReference> | ||
100 | </ItemGroup> | ||
101 | <ItemGroup> | ||
102 | <Compile Include="BaseHttpServer.cs"> | ||
103 | <SubType>Code</SubType> | ||
104 | </Compile> | ||
105 | <Compile Include="CheckSumServer.cs"> | ||
106 | <SubType>Code</SubType> | ||
107 | </Compile> | ||
108 | <Compile Include="IRestHandler.cs"> | ||
109 | <SubType>Code</SubType> | ||
110 | </Compile> | ||
111 | <Compile Include="UDPServerBase.cs"> | ||
112 | <SubType>Code</SubType> | ||
113 | </Compile> | ||
114 | <Compile Include="XmlRpcMethod.cs"> | ||
115 | <SubType>Code</SubType> | ||
116 | </Compile> | ||
117 | </ItemGroup> | ||
118 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
119 | <PropertyGroup> | ||
120 | <PreBuildEvent> | ||
121 | </PreBuildEvent> | ||
122 | <PostBuildEvent> | ||
123 | </PostBuildEvent> | ||
124 | </PropertyGroup> | ||
125 | </Project> \ No newline at end of file | ||
diff --git a/Common/OpenSim.Servers/OpenSim.Servers.dll.build b/Common/OpenSim.Servers/OpenSim.Servers.dll.build deleted file mode 100644 index 4103e73..0000000 --- a/Common/OpenSim.Servers/OpenSim.Servers.dll.build +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim.Servers" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenSim.Servers" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="BaseHttpServer.cs" /> | ||
15 | <include name="CheckSumServer.cs" /> | ||
16 | <include name="IRestHandler.cs" /> | ||
17 | <include name="LocalUserProfileManager.cs" /> | ||
18 | <include name="LoginResponse.cs" /> | ||
19 | <include name="LoginServer.cs" /> | ||
20 | <include name="UDPServerBase.cs" /> | ||
21 | <include name="XmlRpcMethod.cs" /> | ||
22 | </sources> | ||
23 | <references basedir="${project::get-base-directory()}"> | ||
24 | <lib> | ||
25 | <include name="${project::get-base-directory()}" /> | ||
26 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
27 | </lib> | ||
28 | <include name="../../bin/libsecondlife.dll" /> | ||
29 | <include name="../../bin/OpenSim.Framework.dll" /> | ||
30 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | ||
31 | <include name="System.dll" /> | ||
32 | <include name="System.Xml.dll" /> | ||
33 | <include name="../../bin/XMLRPC.dll" /> | ||
34 | </references> | ||
35 | </csc> | ||
36 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | ||
37 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | ||
38 | <copy todir="${project::get-base-directory()}/../../bin/"> | ||
39 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
40 | <include name="*.dll"/> | ||
41 | <include name="*.exe"/> | ||
42 | </fileset> | ||
43 | </copy> | ||
44 | </target> | ||
45 | <target name="clean"> | ||
46 | <delete dir="${bin.dir}" failonerror="false" /> | ||
47 | <delete dir="${obj.dir}" failonerror="false" /> | ||
48 | </target> | ||
49 | <target name="doc" description="Creates documentation."> | ||
50 | </target> | ||
51 | </project> | ||
diff --git a/Common/XmlRpcCS/Logger.cs b/Common/XmlRpcCS/Logger.cs deleted file mode 100644 index ebf804b..0000000 --- a/Common/XmlRpcCS/Logger.cs +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | |||
5 | /// <summary>Define levels of logging.</summary><remarks> This duplicates | ||
6 | /// similar enumerations in System.Diagnostics.EventLogEntryType. The | ||
7 | /// duplication was merited because .NET Compact Framework lacked the EventLogEntryType enum.</remarks> | ||
8 | public enum LogLevel | ||
9 | { | ||
10 | /// <summary>Information level, log entry for informational reasons only.</summary> | ||
11 | Information, | ||
12 | /// <summary>Warning level, indicates a possible problem.</summary> | ||
13 | Warning, | ||
14 | /// <summary>Error level, implies a significant problem.</summary> | ||
15 | Error | ||
16 | } | ||
17 | |||
18 | ///<summary> | ||
19 | ///Logging singleton with swappable output delegate. | ||
20 | ///</summary> | ||
21 | ///<remarks> | ||
22 | ///This singleton provides a centralized log. The actual WriteEntry calls are passed | ||
23 | ///off to a delegate however. Having a delegate do the actual logginh allows you to | ||
24 | ///implement different logging mechanism and have them take effect throughout the system. | ||
25 | ///</remarks> | ||
26 | public class Logger | ||
27 | { | ||
28 | ///<summary>Delegate definition for logging.</summary> | ||
29 | ///<param name="message">The message <c>String</c> to log.</param> | ||
30 | ///<param name="level">The <c>LogLevel</c> of your message.</param> | ||
31 | public delegate void LoggerDelegate(String message, LogLevel level); | ||
32 | ///<summary>The LoggerDelegate that will recieve WriteEntry requests.</summary> | ||
33 | static public LoggerDelegate Delegate = null; | ||
34 | |||
35 | ///<summary> | ||
36 | ///Method logging events are sent to. | ||
37 | ///</summary> | ||
38 | ///<param name="message">The message <c>String</c> to log.</param> | ||
39 | ///<param name="level">The <c>LogLevel</c> of your message.</param> | ||
40 | static public void WriteEntry(String message, LogLevel level) | ||
41 | { | ||
42 | if (Delegate != null) | ||
43 | Delegate(message, level); | ||
44 | } | ||
45 | } | ||
46 | } | ||
diff --git a/Common/XmlRpcCS/SimpleHttpRequest.cs b/Common/XmlRpcCS/SimpleHttpRequest.cs deleted file mode 100644 index e5326c3..0000000 --- a/Common/XmlRpcCS/SimpleHttpRequest.cs +++ /dev/null | |||
@@ -1,204 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.IO; | ||
5 | using System.Net.Sockets; | ||
6 | using System.Collections; | ||
7 | |||
8 | ///<summary>Very basic HTTP request handler.</summary> | ||
9 | ///<remarks>This class is designed to accept a TcpClient and treat it as an HTTP request. | ||
10 | /// It will do some basic header parsing and manage the input and output streams associated | ||
11 | /// with the request.</remarks> | ||
12 | public class SimpleHttpRequest | ||
13 | { | ||
14 | private String _httpMethod = null; | ||
15 | private String _protocol; | ||
16 | private String _filePathFile = null; | ||
17 | private String _filePathDir = null; | ||
18 | private String __filePath; | ||
19 | private TcpClient _client; | ||
20 | private StreamReader _input; | ||
21 | private StreamWriter _output; | ||
22 | private Hashtable _headers; | ||
23 | |||
24 | /// <summary>A constructor which accepts the TcpClient.</summary> | ||
25 | /// <remarks>It creates the associated input and output streams, determines the request type, | ||
26 | /// and parses the remaining HTTP header.</remarks> | ||
27 | /// <param name="client">The <c>TcpClient</c> associated with the HTTP connection.</param> | ||
28 | public SimpleHttpRequest(TcpClient client) | ||
29 | { | ||
30 | _client = client; | ||
31 | _output = new StreamWriter(client.GetStream()); | ||
32 | _input = new StreamReader(client.GetStream()); | ||
33 | GetRequestMethod(); | ||
34 | GetRequestHeaders(); | ||
35 | } | ||
36 | |||
37 | /// <summary>The output <c>StreamWriter</c> associated with the request.</summary> | ||
38 | public StreamWriter Output | ||
39 | { | ||
40 | get { return _output; } | ||
41 | } | ||
42 | |||
43 | /// <summary>The input <c>StreamReader</c> associated with the request.</summary> | ||
44 | public StreamReader Input | ||
45 | { | ||
46 | get { return _input; } | ||
47 | } | ||
48 | |||
49 | /// <summary>The <c>TcpClient</c> with the request.</summary> | ||
50 | public TcpClient Client | ||
51 | { | ||
52 | get { return _client; } | ||
53 | } | ||
54 | |||
55 | private String _filePath | ||
56 | { | ||
57 | get { return __filePath; } | ||
58 | set | ||
59 | { | ||
60 | __filePath = value; | ||
61 | _filePathDir = null; | ||
62 | _filePathFile = null; | ||
63 | } | ||
64 | } | ||
65 | |||
66 | /// <summary>The type of HTTP request (i.e. PUT, GET, etc.).</summary> | ||
67 | public String HttpMethod | ||
68 | { | ||
69 | get { return _httpMethod; } | ||
70 | } | ||
71 | |||
72 | /// <summary>The level of the HTTP protocol.</summary> | ||
73 | public String Protocol | ||
74 | { | ||
75 | get { return _protocol; } | ||
76 | } | ||
77 | |||
78 | /// <summary>The "path" which is part of any HTTP request.</summary> | ||
79 | public String FilePath | ||
80 | { | ||
81 | get { return _filePath; } | ||
82 | } | ||
83 | |||
84 | /// <summary>The file portion of the "path" which is part of any HTTP request.</summary> | ||
85 | public String FilePathFile | ||
86 | { | ||
87 | get | ||
88 | { | ||
89 | if (_filePathFile != null) | ||
90 | return _filePathFile; | ||
91 | |||
92 | int i = FilePath.LastIndexOf("/"); | ||
93 | |||
94 | if (i == -1) | ||
95 | return ""; | ||
96 | |||
97 | i++; | ||
98 | _filePathFile = FilePath.Substring(i, FilePath.Length - i); | ||
99 | return _filePathFile; | ||
100 | } | ||
101 | } | ||
102 | |||
103 | /// <summary>The directory portion of the "path" which is part of any HTTP request.</summary> | ||
104 | public String FilePathDir | ||
105 | { | ||
106 | get | ||
107 | { | ||
108 | if (_filePathDir != null) | ||
109 | return _filePathDir; | ||
110 | |||
111 | int i = FilePath.LastIndexOf("/"); | ||
112 | |||
113 | if (i == -1) | ||
114 | return ""; | ||
115 | |||
116 | i++; | ||
117 | _filePathDir = FilePath.Substring(0, i); | ||
118 | return _filePathDir; | ||
119 | } | ||
120 | } | ||
121 | |||
122 | private void GetRequestMethod() | ||
123 | { | ||
124 | string req = _input.ReadLine(); | ||
125 | if (req == null) | ||
126 | throw new ApplicationException("Void request."); | ||
127 | |||
128 | if (0 == String.Compare("GET ", req.Substring(0, 4), true)) | ||
129 | _httpMethod = "GET"; | ||
130 | else if (0 == String.Compare("POST ", req.Substring(0, 5), true)) | ||
131 | _httpMethod = "POST"; | ||
132 | else | ||
133 | throw new InvalidOperationException("Unrecognized method in query: " + req); | ||
134 | |||
135 | req = req.TrimEnd(); | ||
136 | int idx = req.IndexOf(' ') + 1; | ||
137 | if (idx >= req.Length) | ||
138 | throw new ApplicationException("What do you want?"); | ||
139 | |||
140 | string page_protocol = req.Substring(idx); | ||
141 | int idx2 = page_protocol.IndexOf(' '); | ||
142 | if (idx2 == -1) | ||
143 | idx2 = page_protocol.Length; | ||
144 | |||
145 | _filePath = page_protocol.Substring(0, idx2).Trim(); | ||
146 | _protocol = page_protocol.Substring(idx2).Trim(); | ||
147 | } | ||
148 | |||
149 | private void GetRequestHeaders() | ||
150 | { | ||
151 | String line; | ||
152 | int idx; | ||
153 | |||
154 | _headers = new Hashtable(); | ||
155 | |||
156 | while ((line = _input.ReadLine()) != "") | ||
157 | { | ||
158 | if (line == null) | ||
159 | { | ||
160 | break; | ||
161 | } | ||
162 | |||
163 | idx = line.IndexOf(':'); | ||
164 | if (idx == -1 || idx == line.Length - 1) | ||
165 | { | ||
166 | Logger.WriteEntry("Malformed header line: " + line, LogLevel.Information); | ||
167 | continue; | ||
168 | } | ||
169 | |||
170 | String key = line.Substring(0, idx); | ||
171 | String value = line.Substring(idx + 1); | ||
172 | |||
173 | try | ||
174 | { | ||
175 | _headers.Add(key, value); | ||
176 | } | ||
177 | catch (Exception) | ||
178 | { | ||
179 | Logger.WriteEntry("Duplicate header key in line: " + line, LogLevel.Information); | ||
180 | } | ||
181 | } | ||
182 | } | ||
183 | |||
184 | /// <summary> | ||
185 | /// Format the object contents into a useful string representation. | ||
186 | /// </summary> | ||
187 | ///<returns><c>String</c> representation of the <c>SimpleHttpRequest</c> as the <i>HttpMethod FilePath Protocol</i>.</returns> | ||
188 | override public String ToString() | ||
189 | { | ||
190 | return HttpMethod + " " + FilePath + " " + Protocol; | ||
191 | } | ||
192 | |||
193 | /// <summary> | ||
194 | /// Close the <c>SimpleHttpRequest</c>. This flushes and closes all associated io streams. | ||
195 | /// </summary> | ||
196 | public void Close() | ||
197 | { | ||
198 | _output.Flush(); | ||
199 | _output.Close(); | ||
200 | _input.Close(); | ||
201 | _client.Close(); | ||
202 | } | ||
203 | } | ||
204 | } | ||
diff --git a/Common/XmlRpcCS/XMLRPC.csproj b/Common/XmlRpcCS/XMLRPC.csproj deleted file mode 100644 index 61f8be0..0000000 --- a/Common/XmlRpcCS/XMLRPC.csproj +++ /dev/null | |||
@@ -1,138 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{8E81D43C-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>XMLRPC</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>XMLRPC</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Xml" > | ||
66 | <HintPath>System.Xml.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | </ItemGroup> | ||
70 | <ItemGroup> | ||
71 | </ItemGroup> | ||
72 | <ItemGroup> | ||
73 | <Compile Include="Logger.cs"> | ||
74 | <SubType>Code</SubType> | ||
75 | </Compile> | ||
76 | <Compile Include="SimpleHttpRequest.cs"> | ||
77 | <SubType>Code</SubType> | ||
78 | </Compile> | ||
79 | <Compile Include="XmlRpcBoxcarRequest.cs"> | ||
80 | <SubType>Code</SubType> | ||
81 | </Compile> | ||
82 | <Compile Include="XmlRpcClientProxy.cs"> | ||
83 | <SubType>Code</SubType> | ||
84 | </Compile> | ||
85 | <Compile Include="XmlRpcDeserializer.cs"> | ||
86 | <SubType>Code</SubType> | ||
87 | </Compile> | ||
88 | <Compile Include="XmlRpcErrorCodes.cs"> | ||
89 | <SubType>Code</SubType> | ||
90 | </Compile> | ||
91 | <Compile Include="XmlRpcException.cs"> | ||
92 | <SubType>Code</SubType> | ||
93 | </Compile> | ||
94 | <Compile Include="XmlRpcExposedAttribute.cs"> | ||
95 | <SubType>Code</SubType> | ||
96 | </Compile> | ||
97 | <Compile Include="XmlRpcRequest.cs"> | ||
98 | <SubType>Code</SubType> | ||
99 | </Compile> | ||
100 | <Compile Include="XmlRpcRequestDeserializer.cs"> | ||
101 | <SubType>Code</SubType> | ||
102 | </Compile> | ||
103 | <Compile Include="XmlRpcRequestSerializer.cs"> | ||
104 | <SubType>Code</SubType> | ||
105 | </Compile> | ||
106 | <Compile Include="XmlRpcResponder.cs"> | ||
107 | <SubType>Code</SubType> | ||
108 | </Compile> | ||
109 | <Compile Include="XmlRpcResponse.cs"> | ||
110 | <SubType>Code</SubType> | ||
111 | </Compile> | ||
112 | <Compile Include="XmlRpcResponseDeserializer.cs"> | ||
113 | <SubType>Code</SubType> | ||
114 | </Compile> | ||
115 | <Compile Include="XmlRpcResponseSerializer.cs"> | ||
116 | <SubType>Code</SubType> | ||
117 | </Compile> | ||
118 | <Compile Include="XmlRpcSerializer.cs"> | ||
119 | <SubType>Code</SubType> | ||
120 | </Compile> | ||
121 | <Compile Include="XmlRpcServer.cs"> | ||
122 | <SubType>Code</SubType> | ||
123 | </Compile> | ||
124 | <Compile Include="XmlRpcSystemObject.cs"> | ||
125 | <SubType>Code</SubType> | ||
126 | </Compile> | ||
127 | <Compile Include="XmlRpcXmlTokens.cs"> | ||
128 | <SubType>Code</SubType> | ||
129 | </Compile> | ||
130 | </ItemGroup> | ||
131 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
132 | <PropertyGroup> | ||
133 | <PreBuildEvent> | ||
134 | </PreBuildEvent> | ||
135 | <PostBuildEvent> | ||
136 | </PostBuildEvent> | ||
137 | </PropertyGroup> | ||
138 | </Project> | ||
diff --git a/Common/XmlRpcCS/XMLRPC.dll.build b/Common/XmlRpcCS/XMLRPC.dll.build deleted file mode 100644 index 2eabfcd..0000000 --- a/Common/XmlRpcCS/XMLRPC.dll.build +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="XMLRPC" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="XMLRPC" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="Logger.cs" /> | ||
15 | <include name="SimpleHttpRequest.cs" /> | ||
16 | <include name="XmlRpcBoxcarRequest.cs" /> | ||
17 | <include name="XmlRpcClientProxy.cs" /> | ||
18 | <include name="XmlRpcDeserializer.cs" /> | ||
19 | <include name="XmlRpcErrorCodes.cs" /> | ||
20 | <include name="XmlRpcException.cs" /> | ||
21 | <include name="XmlRpcExposedAttribute.cs" /> | ||
22 | <include name="XmlRpcRequest.cs" /> | ||
23 | <include name="XmlRpcRequestDeserializer.cs" /> | ||
24 | <include name="XmlRpcRequestSerializer.cs" /> | ||
25 | <include name="XmlRpcResponder.cs" /> | ||
26 | <include name="XmlRpcResponse.cs" /> | ||
27 | <include name="XmlRpcResponseDeserializer.cs" /> | ||
28 | <include name="XmlRpcResponseSerializer.cs" /> | ||
29 | <include name="XmlRpcSerializer.cs" /> | ||
30 | <include name="XmlRpcServer.cs" /> | ||
31 | <include name="XmlRpcSystemObject.cs" /> | ||
32 | <include name="XmlRpcXmlTokens.cs" /> | ||
33 | </sources> | ||
34 | <references basedir="${project::get-base-directory()}"> | ||
35 | <lib> | ||
36 | <include name="${project::get-base-directory()}" /> | ||
37 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
38 | </lib> | ||
39 | <include name="System.dll" /> | ||
40 | <include name="System.Xml.dll" /> | ||
41 | </references> | ||
42 | </csc> | ||
43 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | ||
44 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | ||
45 | <copy todir="${project::get-base-directory()}/../../bin/"> | ||
46 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
47 | <include name="*.dll"/> | ||
48 | <include name="*.exe"/> | ||
49 | </fileset> | ||
50 | </copy> | ||
51 | </target> | ||
52 | <target name="clean"> | ||
53 | <delete dir="${bin.dir}" failonerror="false" /> | ||
54 | <delete dir="${obj.dir}" failonerror="false" /> | ||
55 | </target> | ||
56 | <target name="doc" description="Creates documentation."> | ||
57 | </target> | ||
58 | </project> | ||
diff --git a/Common/XmlRpcCS/XmlRpcBoxcarRequest.cs b/Common/XmlRpcCS/XmlRpcBoxcarRequest.cs deleted file mode 100644 index f87f7a5..0000000 --- a/Common/XmlRpcCS/XmlRpcBoxcarRequest.cs +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.IO; | ||
6 | using System.Xml; | ||
7 | using System.Net; | ||
8 | using System.Text; | ||
9 | using System.Reflection; | ||
10 | |||
11 | /// <summary>Class that collects individual <c>XmlRpcRequest</c> objects and submits them as a <i>boxcarred</i> request.</summary> | ||
12 | /// <remarks>A boxcared request is when a number of request are collected before being sent via XML-RPC, and then are sent via | ||
13 | /// a single HTTP connection. This results in a speed up from reduced connection time. The results are then retuned collectively | ||
14 | /// as well. | ||
15 | ///</remarks> | ||
16 | /// <seealso cref="XmlRpcRequest"/> | ||
17 | public class XmlRpcBoxcarRequest : XmlRpcRequest | ||
18 | { | ||
19 | /// <summary>ArrayList to collect the requests to boxcar.</summary> | ||
20 | public IList Requests = new ArrayList(); | ||
21 | |||
22 | /// <summary>Basic constructor.</summary> | ||
23 | public XmlRpcBoxcarRequest() | ||
24 | { | ||
25 | } | ||
26 | |||
27 | /// <summary>Returns the <c>String</c> "system.multiCall" which is the server method that handles boxcars.</summary> | ||
28 | public override String MethodName | ||
29 | { | ||
30 | get { return "system.multiCall"; } | ||
31 | } | ||
32 | |||
33 | /// <summary>The <c>ArrayList</c> of boxcarred <paramref>Requests</paramref> as properly formed parameters.</summary> | ||
34 | public override IList Params | ||
35 | { | ||
36 | get { | ||
37 | _params.Clear(); | ||
38 | ArrayList reqArray = new ArrayList(); | ||
39 | foreach (XmlRpcRequest request in Requests) | ||
40 | { | ||
41 | Hashtable requestEntry = new Hashtable(); | ||
42 | requestEntry.Add(XmlRpcXmlTokens.METHOD_NAME, request.MethodName); | ||
43 | requestEntry.Add(XmlRpcXmlTokens.PARAMS, request.Params); | ||
44 | reqArray.Add(requestEntry); | ||
45 | } | ||
46 | _params.Add(reqArray); | ||
47 | return _params; | ||
48 | } | ||
49 | } | ||
50 | } | ||
51 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcClientProxy.cs b/Common/XmlRpcCS/XmlRpcClientProxy.cs deleted file mode 100644 index f52273a..0000000 --- a/Common/XmlRpcCS/XmlRpcClientProxy.cs +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Runtime.Remoting.Proxies; | ||
5 | using System.Runtime.Remoting.Messaging; | ||
6 | |||
7 | /// <summary>This class provides support for creating local proxies of XML-RPC remote objects</summary> | ||
8 | /// <remarks> | ||
9 | /// To create a local proxy you need to create a local C# interface and then, via <i>createProxy</i> | ||
10 | /// associate that interface with a remote object at a given URL. | ||
11 | /// </remarks> | ||
12 | public class XmlRpcClientProxy : RealProxy | ||
13 | { | ||
14 | private String _remoteObjectName; | ||
15 | private String _url; | ||
16 | private XmlRpcRequest _client = new XmlRpcRequest(); | ||
17 | |||
18 | /// <summary>Factory method to create proxies.</summary> | ||
19 | /// <remarks> | ||
20 | /// To create a local proxy you need to create a local C# interface with methods that mirror those of the server object. | ||
21 | /// Next, pass that interface into <c>createProxy</c> along with the object name and URL of the remote object and | ||
22 | /// cast the resulting object to the specifice interface. | ||
23 | /// </remarks> | ||
24 | /// <param name="remoteObjectName"><c>String</c> The name of the remote object.</param> | ||
25 | /// <param name="url"><c>String</c> The URL of the remote object.</param> | ||
26 | /// <param name="anInterface"><c>Type</c> The typeof() of a C# interface.</param> | ||
27 | /// <returns><c>Object</c> A proxy for your specified interface. Cast to appropriate type.</returns> | ||
28 | public static Object createProxy(String remoteObjectName, String url, Type anInterface) | ||
29 | { | ||
30 | return new XmlRpcClientProxy(remoteObjectName, url, anInterface).GetTransparentProxy(); | ||
31 | } | ||
32 | |||
33 | private XmlRpcClientProxy(String remoteObjectName, String url, Type t) : base(t) | ||
34 | { | ||
35 | _remoteObjectName = remoteObjectName; | ||
36 | _url = url; | ||
37 | } | ||
38 | |||
39 | /// <summary>The local method dispatcher - do not invoke.</summary> | ||
40 | override public IMessage Invoke(IMessage msg) | ||
41 | { | ||
42 | IMethodCallMessage methodMessage = (IMethodCallMessage)msg; | ||
43 | |||
44 | _client.MethodName = _remoteObjectName + "." + methodMessage.MethodName; | ||
45 | _client.Params.Clear(); | ||
46 | foreach (Object o in methodMessage.Args) | ||
47 | _client.Params.Add(o); | ||
48 | |||
49 | try | ||
50 | { | ||
51 | Object ret = _client.Invoke(_url); | ||
52 | return new ReturnMessage(ret,null,0, | ||
53 | methodMessage.LogicalCallContext, methodMessage); | ||
54 | } | ||
55 | catch (Exception e) | ||
56 | { | ||
57 | return new ReturnMessage(e, methodMessage); | ||
58 | } | ||
59 | } | ||
60 | } | ||
61 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcDeserializer.cs b/Common/XmlRpcCS/XmlRpcDeserializer.cs deleted file mode 100644 index bd736c0..0000000 --- a/Common/XmlRpcCS/XmlRpcDeserializer.cs +++ /dev/null | |||
@@ -1,195 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.IO; | ||
6 | using System.Xml; | ||
7 | using System.Globalization; | ||
8 | |||
9 | /// <summary>Parser context, we maintain contexts in a stack to avoiding recursion. </summary> | ||
10 | struct Context | ||
11 | { | ||
12 | public String Name; | ||
13 | public Object Container; | ||
14 | } | ||
15 | |||
16 | /// <summary>Basic XML-RPC data deserializer.</summary> | ||
17 | /// <remarks>Uses <c>XmlTextReader</c> to parse the XML data. This level of the class | ||
18 | /// only handles the tokens common to both Requests and Responses. This class is not useful in and of itself | ||
19 | /// but is designed to be subclassed.</remarks> | ||
20 | public class XmlRpcDeserializer : XmlRpcXmlTokens | ||
21 | { | ||
22 | private static DateTimeFormatInfo _dateFormat = new DateTimeFormatInfo(); | ||
23 | |||
24 | private Object _container; | ||
25 | private Stack _containerStack; | ||
26 | |||
27 | /// <summary>Protected reference to last text.</summary> | ||
28 | protected String _text; | ||
29 | /// <summary>Protected reference to last deserialized value.</summary> | ||
30 | protected Object _value; | ||
31 | /// <summary>Protected reference to last name field.</summary> | ||
32 | protected String _name; | ||
33 | |||
34 | |||
35 | /// <summary>Basic constructor.</summary> | ||
36 | public XmlRpcDeserializer() | ||
37 | { | ||
38 | Reset(); | ||
39 | _dateFormat.FullDateTimePattern = ISO_DATETIME; | ||
40 | } | ||
41 | |||
42 | /// <summary>Static method that parses XML data into a response using the Singleton.</summary> | ||
43 | /// <param name="xmlData"><c>StreamReader</c> containing an XML-RPC response.</param> | ||
44 | /// <returns><c>Object</c> object resulting from the deserialization.</returns> | ||
45 | virtual public Object Deserialize(TextReader xmlData) | ||
46 | { | ||
47 | return null; | ||
48 | } | ||
49 | |||
50 | /// <summary>Protected method to parse a node in an XML-RPC XML stream.</summary> | ||
51 | /// <remarks>Method deals with elements common to all XML-RPC data, subclasses of | ||
52 | /// this object deal with request/response spefic elements.</remarks> | ||
53 | /// <param name="reader"><c>XmlTextReader</c> of the in progress parsing data stream.</param> | ||
54 | protected void DeserializeNode(XmlTextReader reader) | ||
55 | { | ||
56 | switch (reader.NodeType) | ||
57 | { | ||
58 | case XmlNodeType.Element: | ||
59 | if (Logger.Delegate != null) | ||
60 | Logger.WriteEntry("START " + reader.Name, LogLevel.Information); | ||
61 | switch (reader.Name) | ||
62 | { | ||
63 | case VALUE: | ||
64 | _value = null; | ||
65 | _text = null; | ||
66 | break; | ||
67 | case STRUCT: | ||
68 | PushContext(); | ||
69 | _container = new Hashtable(); | ||
70 | break; | ||
71 | case ARRAY: | ||
72 | PushContext(); | ||
73 | _container = new ArrayList(); | ||
74 | break; | ||
75 | } | ||
76 | break; | ||
77 | case XmlNodeType.EndElement: | ||
78 | if (Logger.Delegate != null) | ||
79 | Logger.WriteEntry("END " + reader.Name, LogLevel.Information); | ||
80 | switch (reader.Name) | ||
81 | { | ||
82 | case BASE64: | ||
83 | _value = Convert.FromBase64String(_text); | ||
84 | break; | ||
85 | case BOOLEAN: | ||
86 | int val = Int16.Parse(_text); | ||
87 | if (val == 0) | ||
88 | _value = false; | ||
89 | else if (val == 1) | ||
90 | _value = true; | ||
91 | break; | ||
92 | case STRING: | ||
93 | _value = _text; | ||
94 | break; | ||
95 | case DOUBLE: | ||
96 | _value = Double.Parse(_text); | ||
97 | break; | ||
98 | case INT: | ||
99 | case ALT_INT: | ||
100 | _value = Int32.Parse(_text); | ||
101 | break; | ||
102 | case DATETIME: | ||
103 | #if __MONO__ | ||
104 | _value = DateParse(_text); | ||
105 | #else | ||
106 | _value = DateTime.ParseExact(_text, "F", _dateFormat); | ||
107 | #endif | ||
108 | break; | ||
109 | case NAME: | ||
110 | _name = _text; | ||
111 | break; | ||
112 | case VALUE: | ||
113 | if (_value == null) | ||
114 | _value = _text; // some kits don't use <string> tag, they just do <value> | ||
115 | |||
116 | if ((_container != null) && (_container is IList)) // in an array? If so add value to it. | ||
117 | ((IList)_container).Add(_value); | ||
118 | break; | ||
119 | case MEMBER: | ||
120 | if ((_container != null) && (_container is IDictionary)) // in an struct? If so add value to it. | ||
121 | ((IDictionary)_container).Add(_name, _value); | ||
122 | break; | ||
123 | case ARRAY: | ||
124 | case STRUCT: | ||
125 | _value = _container; | ||
126 | PopContext(); | ||
127 | break; | ||
128 | } | ||
129 | break; | ||
130 | case XmlNodeType.Text: | ||
131 | if (Logger.Delegate != null) | ||
132 | Logger.WriteEntry("Text " + reader.Value, LogLevel.Information); | ||
133 | _text = reader.Value; | ||
134 | break; | ||
135 | default: | ||
136 | break; | ||
137 | } | ||
138 | } | ||
139 | |||
140 | /// <summary>Static method that parses XML in a <c>String</c> into a | ||
141 | /// request using the Singleton.</summary> | ||
142 | /// <param name="xmlData"><c>String</c> containing an XML-RPC request.</param> | ||
143 | /// <returns><c>XmlRpcRequest</c> object resulting from the parse.</returns> | ||
144 | public Object Deserialize(String xmlData) | ||
145 | { | ||
146 | StringReader sr = new StringReader(xmlData); | ||
147 | return Deserialize(sr); | ||
148 | } | ||
149 | |||
150 | /// <summary>Pop a Context of the stack, an Array or Struct has closed.</summary> | ||
151 | private void PopContext() | ||
152 | { | ||
153 | Context c = (Context)_containerStack.Pop(); | ||
154 | _container = c.Container; | ||
155 | _name = c.Name; | ||
156 | } | ||
157 | |||
158 | /// <summary>Push a Context on the stack, an Array or Struct has opened.</summary> | ||
159 | private void PushContext() | ||
160 | { | ||
161 | Context context; | ||
162 | |||
163 | context.Container = _container; | ||
164 | context.Name = _name; | ||
165 | |||
166 | _containerStack.Push(context); | ||
167 | } | ||
168 | |||
169 | /// <summary>Reset the internal state of the deserializer.</summary> | ||
170 | protected void Reset() | ||
171 | { | ||
172 | _text = null; | ||
173 | _value = null; | ||
174 | _name = null; | ||
175 | _container = null; | ||
176 | _containerStack = new Stack(); | ||
177 | } | ||
178 | |||
179 | #if __MONO__ | ||
180 | private DateTime DateParse(String str) | ||
181 | { | ||
182 | int year = Int32.Parse(str.Substring(0,4)); | ||
183 | int month = Int32.Parse(str.Substring(4,2)); | ||
184 | int day = Int32.Parse(str.Substring(6,2)); | ||
185 | int hour = Int32.Parse(str.Substring(9,2)); | ||
186 | int min = Int32.Parse(str.Substring(12,2)); | ||
187 | int sec = Int32.Parse(str.Substring(15,2)); | ||
188 | return new DateTime(year,month,day,hour,min,sec); | ||
189 | } | ||
190 | #endif | ||
191 | |||
192 | } | ||
193 | } | ||
194 | |||
195 | |||
diff --git a/Common/XmlRpcCS/XmlRpcErrorCodes.cs b/Common/XmlRpcCS/XmlRpcErrorCodes.cs deleted file mode 100644 index 6dec57d..0000000 --- a/Common/XmlRpcCS/XmlRpcErrorCodes.cs +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | |||
5 | /// <summary>Standard XML-RPC error codes.</summary> | ||
6 | public class XmlRpcErrorCodes | ||
7 | { | ||
8 | /// <summary></summary> | ||
9 | public const int PARSE_ERROR_MALFORMED = -32700; | ||
10 | /// <summary></summary> | ||
11 | public const String PARSE_ERROR_MALFORMED_MSG = "Parse Error, not well formed"; | ||
12 | |||
13 | /// <summary></summary> | ||
14 | public const int PARSE_ERROR_ENCODING = -32701; | ||
15 | /// <summary></summary> | ||
16 | public const String PARSE_ERROR_ENCODING_MSG = "Parse Error, unsupported encoding"; | ||
17 | |||
18 | // | ||
19 | // -32702 ---> parse error. invalid character for encoding | ||
20 | // -32600 ---> server error. invalid xml-rpc. not conforming to spec. | ||
21 | // | ||
22 | |||
23 | /// <summary></summary> | ||
24 | public const int SERVER_ERROR_METHOD = -32601; | ||
25 | /// <summary></summary> | ||
26 | public const String SERVER_ERROR_METHOD_MSG = "Server Error, requested method not found"; | ||
27 | |||
28 | /// <summary></summary> | ||
29 | public const int SERVER_ERROR_PARAMS = -32602; | ||
30 | /// <summary></summary> | ||
31 | public const String SERVER_ERROR_PARAMS_MSG = "Server Error, invalid method parameters"; | ||
32 | |||
33 | // | ||
34 | // -32603 ---> server error. internal xml-rpc error | ||
35 | // | ||
36 | |||
37 | /// <summary></summary> | ||
38 | public const int APPLICATION_ERROR = -32500; | ||
39 | /// <summary></summary> | ||
40 | public const String APPLICATION_ERROR_MSG = "Application Error"; | ||
41 | |||
42 | // | ||
43 | // -32400 ---> system error | ||
44 | // | ||
45 | |||
46 | /// <summary></summary> | ||
47 | public const int TRANSPORT_ERROR = -32300; | ||
48 | /// <summary></summary> | ||
49 | public const String TRANSPORT_ERROR_MSG = "Transport Layer Error"; | ||
50 | } | ||
51 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcException.cs b/Common/XmlRpcCS/XmlRpcException.cs deleted file mode 100644 index fd1f4ae..0000000 --- a/Common/XmlRpcCS/XmlRpcException.cs +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | |||
5 | /// <summary>An XML-RPC Exception.</summary> | ||
6 | /// <remarks>Maps a C# exception to an XML-RPC fault. Normal exceptions | ||
7 | /// include a message so this adds the code needed by XML-RPC.</remarks> | ||
8 | public class XmlRpcException : Exception | ||
9 | { | ||
10 | private int _code; | ||
11 | |||
12 | /// <summary>Instantiate an <c>XmlRpcException</c> with a code and message.</summary> | ||
13 | /// <param name="code"><c>Int</c> faultCode associated with this exception.</param> | ||
14 | /// <param name="message"><c>String</c> faultMessage associated with this exception.</param> | ||
15 | public XmlRpcException(int code, String message) | ||
16 | : base(message) | ||
17 | { | ||
18 | _code = code; | ||
19 | } | ||
20 | |||
21 | /// <summary>The value of the faults message, i.e. the faultString.</summary> | ||
22 | public String FaultString | ||
23 | { | ||
24 | get { return Message; } | ||
25 | } | ||
26 | |||
27 | /// <summary>The value of the faults code, i.e. the faultCode.</summary> | ||
28 | public int FaultCode | ||
29 | { | ||
30 | get { return _code; } | ||
31 | } | ||
32 | |||
33 | /// <summary>Format the message to include the code.</summary> | ||
34 | override public String ToString() | ||
35 | { | ||
36 | return "Code: " + FaultCode + " Message: " + base.ToString(); | ||
37 | } | ||
38 | } | ||
39 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcExposedAttribute.cs b/Common/XmlRpcCS/XmlRpcExposedAttribute.cs deleted file mode 100644 index 67b27ae..0000000 --- a/Common/XmlRpcCS/XmlRpcExposedAttribute.cs +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Reflection; | ||
5 | |||
6 | /// <summary> | ||
7 | /// Simple tagging attribute to indicate participation is XML-RPC exposure. | ||
8 | /// </summary> | ||
9 | /// <remarks> | ||
10 | /// If present at the class level it indicates that this class does explicitly | ||
11 | /// expose methods. If present at the method level it denotes that the method | ||
12 | /// is exposed. | ||
13 | /// </remarks> | ||
14 | [AttributeUsage( | ||
15 | AttributeTargets.Class | AttributeTargets.Method, | ||
16 | AllowMultiple = false, | ||
17 | Inherited = true | ||
18 | )] | ||
19 | public class XmlRpcExposedAttribute : Attribute | ||
20 | { | ||
21 | /// <summary>Check if <paramref>obj</paramref> is an object utilizing the XML-RPC exposed Attribute.</summary> | ||
22 | /// <param name="obj"><c>Object</c> of a class or method to check for attribute.</param> | ||
23 | /// <returns><c>Boolean</c> true if attribute present.</returns> | ||
24 | public static Boolean ExposedObject(Object obj) | ||
25 | { | ||
26 | return IsExposed(obj.GetType()); | ||
27 | } | ||
28 | |||
29 | /// <summary>Check if <paramref>obj</paramref>.<paramref>methodName</paramref> is an XML-RPC exposed method.</summary> | ||
30 | /// <remarks>A method is considered to be exposed if it exists and, either, the object does not use the XmlRpcExposed attribute, | ||
31 | /// or the object does use the XmlRpcExposed attribute and the method has the XmlRpcExposed attribute as well.</remarks> | ||
32 | /// <returns><c>Boolean</c> true if the method is exposed.</returns> | ||
33 | public static Boolean ExposedMethod(Object obj, String methodName) | ||
34 | { | ||
35 | Type type = obj.GetType(); | ||
36 | MethodInfo method = type.GetMethod(methodName); | ||
37 | |||
38 | if (method == null) | ||
39 | throw new MissingMethodException("Method " + methodName + " not found."); | ||
40 | |||
41 | if (!IsExposed(type)) | ||
42 | return true; | ||
43 | |||
44 | return IsExposed(method); | ||
45 | } | ||
46 | |||
47 | /// <summary>Check if <paramref>mi</paramref> is XML-RPC exposed.</summary> | ||
48 | /// <param name="mi"><c>MemberInfo</c> of a class or method to check for attribute.</param> | ||
49 | /// <returns><c>Boolean</c> true if attribute present.</returns> | ||
50 | public static Boolean IsExposed(MemberInfo mi) | ||
51 | { | ||
52 | foreach (Attribute attr in mi.GetCustomAttributes(true)) | ||
53 | { | ||
54 | if (attr is XmlRpcExposedAttribute) | ||
55 | return true; | ||
56 | } | ||
57 | return false; | ||
58 | } | ||
59 | } | ||
60 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcRequest.cs b/Common/XmlRpcCS/XmlRpcRequest.cs deleted file mode 100644 index 18d2182..0000000 --- a/Common/XmlRpcCS/XmlRpcRequest.cs +++ /dev/null | |||
@@ -1,150 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.IO; | ||
6 | using System.Xml; | ||
7 | using System.Net; | ||
8 | using System.Text; | ||
9 | using System.Reflection; | ||
10 | using System.Net.Security; | ||
11 | using System.Security.Cryptography.X509Certificates; | ||
12 | |||
13 | internal class AcceptAllCertificatePolicy : ICertificatePolicy | ||
14 | { | ||
15 | public AcceptAllCertificatePolicy() | ||
16 | { | ||
17 | } | ||
18 | |||
19 | public bool CheckValidationResult(ServicePoint sPoint, | ||
20 | System.Security.Cryptography.X509Certificates.X509Certificate cert, | ||
21 | WebRequest wRequest, int certProb) | ||
22 | { | ||
23 | // Always accept | ||
24 | return true; | ||
25 | } | ||
26 | } | ||
27 | |||
28 | /// <summary>Class supporting the request side of an XML-RPC transaction.</summary> | ||
29 | public class XmlRpcRequest | ||
30 | { | ||
31 | private String _methodName = null; | ||
32 | private Encoding _encoding = new ASCIIEncoding(); | ||
33 | private XmlRpcRequestSerializer _serializer = new XmlRpcRequestSerializer(); | ||
34 | private XmlRpcResponseDeserializer _deserializer = new XmlRpcResponseDeserializer(); | ||
35 | |||
36 | /// <summary><c>ArrayList</c> containing the parameters.</summary> | ||
37 | protected IList _params = null; | ||
38 | |||
39 | /// <summary>Instantiate an <c>XmlRpcRequest</c></summary> | ||
40 | public XmlRpcRequest() | ||
41 | { | ||
42 | _params = new ArrayList(); | ||
43 | } | ||
44 | |||
45 | /// <summary>Instantiate an <c>XmlRpcRequest</c> for a specified method and parameters.</summary> | ||
46 | /// <param name="methodName"><c>String</c> designating the <i>object.method</i> on the server the request | ||
47 | /// should be directed to.</param> | ||
48 | /// <param name="parameters"><c>ArrayList</c> of XML-RPC type parameters to invoke the request with.</param> | ||
49 | public XmlRpcRequest(String methodName, IList parameters) | ||
50 | { | ||
51 | MethodName = methodName; | ||
52 | _params = parameters; | ||
53 | } | ||
54 | |||
55 | /// <summary><c>ArrayList</c> conntaining the parameters for the request.</summary> | ||
56 | public virtual IList Params | ||
57 | { | ||
58 | get { return _params; } | ||
59 | } | ||
60 | |||
61 | /// <summary><c>String</c> conntaining the method name, both object and method, that the request will be sent to.</summary> | ||
62 | public virtual String MethodName | ||
63 | { | ||
64 | get { return _methodName; } | ||
65 | set { _methodName = value; } | ||
66 | } | ||
67 | |||
68 | /// <summary><c>String</c> object name portion of the method name.</summary> | ||
69 | public String MethodNameObject | ||
70 | { | ||
71 | get | ||
72 | { | ||
73 | int index = MethodName.IndexOf("."); | ||
74 | |||
75 | if (index == -1) | ||
76 | return MethodName; | ||
77 | |||
78 | return MethodName.Substring(0, index); | ||
79 | } | ||
80 | } | ||
81 | |||
82 | /// <summary><c>String</c> method name portion of the object.method name.</summary> | ||
83 | public String MethodNameMethod | ||
84 | { | ||
85 | get | ||
86 | { | ||
87 | int index = MethodName.IndexOf("."); | ||
88 | |||
89 | if (index == -1) | ||
90 | return MethodName; | ||
91 | |||
92 | return MethodName.Substring(index + 1, MethodName.Length - index - 1); | ||
93 | } | ||
94 | } | ||
95 | |||
96 | /// <summary>Invoke this request on the server.</summary> | ||
97 | /// <param name="url"><c>String</c> The url of the XML-RPC server.</param> | ||
98 | /// <returns><c>Object</c> The value returned from the method invocation on the server.</returns> | ||
99 | /// <exception cref="XmlRpcException">If an exception generated on the server side.</exception> | ||
100 | public Object Invoke(String url) | ||
101 | { | ||
102 | XmlRpcResponse res = Send(url, 10000); | ||
103 | |||
104 | if (res.IsFault) | ||
105 | throw new XmlRpcException(res.FaultCode, res.FaultString); | ||
106 | |||
107 | return res.Value; | ||
108 | } | ||
109 | |||
110 | /// <summary>Send the request to the server.</summary> | ||
111 | /// <param name="url"><c>String</c> The url of the XML-RPC server.</param> | ||
112 | /// <param name="timeout">Milliseconds before the connection times out.</param> | ||
113 | /// <returns><c>XmlRpcResponse</c> The response generated.</returns> | ||
114 | public XmlRpcResponse Send(String url, int timeout) | ||
115 | { | ||
116 | // Override SSL authentication mechanisms | ||
117 | ServicePointManager.CertificatePolicy = new AcceptAllCertificatePolicy(); | ||
118 | |||
119 | HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); | ||
120 | if (request == null) | ||
121 | throw new XmlRpcException(XmlRpcErrorCodes.TRANSPORT_ERROR, | ||
122 | XmlRpcErrorCodes.TRANSPORT_ERROR_MSG + ": Could not create request with " + url); | ||
123 | request.Method = "POST"; | ||
124 | request.ContentType = "text/xml"; | ||
125 | request.AllowWriteStreamBuffering = true; | ||
126 | request.Timeout = timeout; | ||
127 | |||
128 | Stream stream = request.GetRequestStream(); | ||
129 | XmlTextWriter xml = new XmlTextWriter(stream, _encoding); | ||
130 | _serializer.Serialize(xml, this); | ||
131 | xml.Flush(); | ||
132 | xml.Close(); | ||
133 | |||
134 | HttpWebResponse response = (HttpWebResponse)request.GetResponse(); | ||
135 | StreamReader input = new StreamReader(response.GetResponseStream()); | ||
136 | |||
137 | XmlRpcResponse resp = (XmlRpcResponse)_deserializer.Deserialize(input); | ||
138 | input.Close(); | ||
139 | response.Close(); | ||
140 | return resp; | ||
141 | } | ||
142 | |||
143 | /// <summary>Produce <c>String</c> representation of the object.</summary> | ||
144 | /// <returns><c>String</c> representation of the object.</returns> | ||
145 | override public String ToString() | ||
146 | { | ||
147 | return _serializer.Serialize(this); | ||
148 | } | ||
149 | } | ||
150 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcRequestDeserializer.cs b/Common/XmlRpcCS/XmlRpcRequestDeserializer.cs deleted file mode 100644 index 0770b7e..0000000 --- a/Common/XmlRpcCS/XmlRpcRequestDeserializer.cs +++ /dev/null | |||
@@ -1,64 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.Diagnostics; | ||
6 | using System.IO; | ||
7 | using System.Xml; | ||
8 | |||
9 | /// <summary>Class to deserialize XML data representing a request.</summary> | ||
10 | public class XmlRpcRequestDeserializer : XmlRpcDeserializer | ||
11 | { | ||
12 | static private XmlRpcRequestDeserializer _singleton; | ||
13 | /// <summary>A static singleton instance of this deserializer.</summary> | ||
14 | [Obsolete("This object is now thread safe, just use an instance.", false)] | ||
15 | static public XmlRpcRequestDeserializer Singleton | ||
16 | { | ||
17 | get | ||
18 | { | ||
19 | if (_singleton == null) | ||
20 | _singleton = new XmlRpcRequestDeserializer(); | ||
21 | |||
22 | return _singleton; | ||
23 | } | ||
24 | } | ||
25 | |||
26 | /// <summary>Static method that parses XML data into a request using the Singleton.</summary> | ||
27 | /// <param name="xmlData"><c>StreamReader</c> containing an XML-RPC request.</param> | ||
28 | /// <returns><c>XmlRpcRequest</c> object resulting from the parse.</returns> | ||
29 | override public Object Deserialize(TextReader xmlData) | ||
30 | { | ||
31 | XmlTextReader reader = new XmlTextReader(xmlData); | ||
32 | XmlRpcRequest request = new XmlRpcRequest(); | ||
33 | bool done = false; | ||
34 | |||
35 | lock (this) | ||
36 | { | ||
37 | Reset(); | ||
38 | while (!done && reader.Read()) | ||
39 | { | ||
40 | DeserializeNode(reader); // Parent parse... | ||
41 | switch (reader.NodeType) | ||
42 | { | ||
43 | case XmlNodeType.EndElement: | ||
44 | switch (reader.Name) | ||
45 | { | ||
46 | case METHOD_NAME: | ||
47 | request.MethodName = _text; | ||
48 | break; | ||
49 | case METHOD_CALL: | ||
50 | done = true; | ||
51 | break; | ||
52 | case PARAM: | ||
53 | request.Params.Add(_value); | ||
54 | _text = null; | ||
55 | break; | ||
56 | } | ||
57 | break; | ||
58 | } | ||
59 | } | ||
60 | } | ||
61 | return request; | ||
62 | } | ||
63 | } | ||
64 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcRequestSerializer.cs b/Common/XmlRpcCS/XmlRpcRequestSerializer.cs deleted file mode 100644 index 8099bdb..0000000 --- a/Common/XmlRpcCS/XmlRpcRequestSerializer.cs +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.Xml; | ||
6 | using System.IO; | ||
7 | |||
8 | /// <summary>Class responsible for serializing an XML-RPC request.</summary> | ||
9 | /// <remarks>This class handles the request envelope, depending on <c>XmlRpcSerializer</c> | ||
10 | /// to serialize the payload.</remarks> | ||
11 | /// <seealso cref="XmlRpcSerializer"/> | ||
12 | public class XmlRpcRequestSerializer : XmlRpcSerializer | ||
13 | { | ||
14 | static private XmlRpcRequestSerializer _singleton; | ||
15 | /// <summary>A static singleton instance of this deserializer.</summary> | ||
16 | static public XmlRpcRequestSerializer Singleton | ||
17 | { | ||
18 | get | ||
19 | { | ||
20 | if (_singleton == null) | ||
21 | _singleton = new XmlRpcRequestSerializer(); | ||
22 | |||
23 | return _singleton; | ||
24 | } | ||
25 | } | ||
26 | |||
27 | /// <summary>Serialize the <c>XmlRpcRequest</c> to the output stream.</summary> | ||
28 | /// <param name="output">An <c>XmlTextWriter</c> stream to write data to.</param> | ||
29 | /// <param name="obj">An <c>XmlRpcRequest</c> to serialize.</param> | ||
30 | /// <seealso cref="XmlRpcRequest"/> | ||
31 | override public void Serialize(XmlTextWriter output, Object obj) | ||
32 | { | ||
33 | XmlRpcRequest request = (XmlRpcRequest)obj; | ||
34 | output.WriteStartDocument(); | ||
35 | output.WriteStartElement(METHOD_CALL); | ||
36 | output.WriteElementString(METHOD_NAME, request.MethodName); | ||
37 | output.WriteStartElement(PARAMS); | ||
38 | foreach (Object param in request.Params) | ||
39 | { | ||
40 | output.WriteStartElement(PARAM); | ||
41 | output.WriteStartElement(VALUE); | ||
42 | SerializeObject(output, param); | ||
43 | output.WriteEndElement(); | ||
44 | output.WriteEndElement(); | ||
45 | } | ||
46 | |||
47 | output.WriteEndElement(); | ||
48 | output.WriteEndElement(); | ||
49 | } | ||
50 | } | ||
51 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcResponder.cs b/Common/XmlRpcCS/XmlRpcResponder.cs deleted file mode 100644 index 0412568..0000000 --- a/Common/XmlRpcCS/XmlRpcResponder.cs +++ /dev/null | |||
@@ -1,98 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Xml; | ||
5 | using System.Net.Sockets; | ||
6 | |||
7 | /// <summary>The class is a container of the context of an XML-RPC dialog on the server side.</summary> | ||
8 | /// <remarks>Instances of this class maintain the context for an individual XML-RPC server | ||
9 | /// side dialog. Namely they manage an inbound deserializer and an outbound serializer. </remarks> | ||
10 | public class XmlRpcResponder | ||
11 | { | ||
12 | private XmlRpcRequestDeserializer _deserializer = new XmlRpcRequestDeserializer(); | ||
13 | private XmlRpcResponseSerializer _serializer = new XmlRpcResponseSerializer(); | ||
14 | private XmlRpcServer _server; | ||
15 | private TcpClient _client; | ||
16 | private SimpleHttpRequest _httpReq; | ||
17 | |||
18 | /// <summary>The SimpleHttpRequest based on the TcpClient.</summary> | ||
19 | public SimpleHttpRequest HttpReq | ||
20 | { | ||
21 | get { return _httpReq; } | ||
22 | } | ||
23 | |||
24 | /// <summary>Basic constructor.</summary> | ||
25 | /// <param name="server">XmlRpcServer that this XmlRpcResponder services.</param> | ||
26 | /// <param name="client">TcpClient with the connection.</param> | ||
27 | public XmlRpcResponder(XmlRpcServer server, TcpClient client) | ||
28 | { | ||
29 | _server = server; | ||
30 | _client = client; | ||
31 | _httpReq = new SimpleHttpRequest(_client); | ||
32 | } | ||
33 | |||
34 | /// <summary>Call close to insure proper shutdown.</summary> | ||
35 | ~XmlRpcResponder() | ||
36 | { | ||
37 | Close(); | ||
38 | } | ||
39 | |||
40 | ///<summary>Respond using this responders HttpReq.</summary> | ||
41 | public void Respond() | ||
42 | { | ||
43 | Respond(HttpReq); | ||
44 | } | ||
45 | |||
46 | /// <summary>Handle an HTTP request containing an XML-RPC request.</summary> | ||
47 | /// <remarks>This method deserializes the XML-RPC request, invokes the | ||
48 | /// described method, serializes the response (or fault) and sends the XML-RPC response | ||
49 | /// back as a valid HTTP page. | ||
50 | /// </remarks> | ||
51 | /// <param name="httpReq"><c>SimpleHttpRequest</c> containing the request.</param> | ||
52 | public void Respond(SimpleHttpRequest httpReq) | ||
53 | { | ||
54 | XmlRpcRequest xmlRpcReq = (XmlRpcRequest)_deserializer.Deserialize(httpReq.Input); | ||
55 | XmlRpcResponse xmlRpcResp = new XmlRpcResponse(); | ||
56 | |||
57 | try | ||
58 | { | ||
59 | xmlRpcResp.Value = _server.Invoke(xmlRpcReq); | ||
60 | } | ||
61 | catch (XmlRpcException e) | ||
62 | { | ||
63 | xmlRpcResp.SetFault(e.FaultCode, e.FaultString); | ||
64 | } | ||
65 | catch (Exception e2) | ||
66 | { | ||
67 | xmlRpcResp.SetFault(XmlRpcErrorCodes.APPLICATION_ERROR, | ||
68 | XmlRpcErrorCodes.APPLICATION_ERROR_MSG + ": " + e2.Message); | ||
69 | } | ||
70 | |||
71 | if (Logger.Delegate != null) | ||
72 | Logger.WriteEntry(xmlRpcResp.ToString(), LogLevel.Information); | ||
73 | |||
74 | XmlRpcServer.HttpHeader(httpReq.Protocol, "text/xml", 0, " 200 OK", httpReq.Output); | ||
75 | httpReq.Output.Flush(); | ||
76 | XmlTextWriter xml = new XmlTextWriter(httpReq.Output); | ||
77 | _serializer.Serialize(xml, xmlRpcResp); | ||
78 | xml.Flush(); | ||
79 | httpReq.Output.Flush(); | ||
80 | } | ||
81 | |||
82 | ///<summary>Close all contained resources, both the HttpReq and client.</summary> | ||
83 | public void Close() | ||
84 | { | ||
85 | if (_httpReq != null) | ||
86 | { | ||
87 | _httpReq.Close(); | ||
88 | _httpReq = null; | ||
89 | } | ||
90 | |||
91 | if (_client != null) | ||
92 | { | ||
93 | _client.Close(); | ||
94 | _client = null; | ||
95 | } | ||
96 | } | ||
97 | } | ||
98 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcResponse.cs b/Common/XmlRpcCS/XmlRpcResponse.cs deleted file mode 100644 index 8ff8354..0000000 --- a/Common/XmlRpcCS/XmlRpcResponse.cs +++ /dev/null | |||
@@ -1,85 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.IO; | ||
6 | using System.Xml; | ||
7 | |||
8 | /// <summary>Class designed to represent an XML-RPC response.</summary> | ||
9 | public class XmlRpcResponse | ||
10 | { | ||
11 | private Object _value; | ||
12 | /// <summary><c>bool</c> indicating if this response represents a fault.</summary> | ||
13 | public bool IsFault; | ||
14 | |||
15 | /// <summary>Basic constructor</summary> | ||
16 | public XmlRpcResponse() | ||
17 | { | ||
18 | Value = null; | ||
19 | IsFault = false; | ||
20 | } | ||
21 | |||
22 | /// <summary>Constructor for a fault.</summary> | ||
23 | /// <param name="code"><c>int</c> the numeric faultCode value.</param> | ||
24 | /// <param name="message"><c>String</c> the faultString value.</param> | ||
25 | public XmlRpcResponse(int code, String message) | ||
26 | : this() | ||
27 | { | ||
28 | SetFault(code, message); | ||
29 | } | ||
30 | |||
31 | /// <summary>The data value of the response, may be fault data.</summary> | ||
32 | public Object Value | ||
33 | { | ||
34 | get { return _value; } | ||
35 | set | ||
36 | { | ||
37 | IsFault = false; | ||
38 | _value = value; | ||
39 | } | ||
40 | } | ||
41 | |||
42 | /// <summary>The faultCode if this is a fault.</summary> | ||
43 | public int FaultCode | ||
44 | { | ||
45 | get | ||
46 | { | ||
47 | if (!IsFault) | ||
48 | return 0; | ||
49 | else | ||
50 | return (int)((Hashtable)_value)[XmlRpcXmlTokens.FAULT_CODE]; | ||
51 | } | ||
52 | } | ||
53 | |||
54 | /// <summary>The faultString if this is a fault.</summary> | ||
55 | public String FaultString | ||
56 | { | ||
57 | get | ||
58 | { | ||
59 | if (!IsFault) | ||
60 | return ""; | ||
61 | else | ||
62 | return (String)((Hashtable)_value)[XmlRpcXmlTokens.FAULT_STRING]; | ||
63 | } | ||
64 | } | ||
65 | |||
66 | /// <summary>Set this response to be a fault.</summary> | ||
67 | /// <param name="code"><c>int</c> the numeric faultCode value.</param> | ||
68 | /// <param name="message"><c>String</c> the faultString value.</param> | ||
69 | public void SetFault(int code, String message) | ||
70 | { | ||
71 | Hashtable fault = new Hashtable(); | ||
72 | fault.Add("faultCode", code); | ||
73 | fault.Add("faultString", message); | ||
74 | Value = fault; | ||
75 | IsFault = true; | ||
76 | } | ||
77 | |||
78 | /// <summary>Form a useful string representation of the object, in this case the XML response.</summary> | ||
79 | /// <returns><c>String</c> The XML serialized XML-RPC response.</returns> | ||
80 | override public String ToString() | ||
81 | { | ||
82 | return XmlRpcResponseSerializer.Singleton.Serialize(this); | ||
83 | } | ||
84 | } | ||
85 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcResponseDeserializer.cs b/Common/XmlRpcCS/XmlRpcResponseDeserializer.cs deleted file mode 100644 index 032d8a3..0000000 --- a/Common/XmlRpcCS/XmlRpcResponseDeserializer.cs +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.IO; | ||
6 | using System.Xml; | ||
7 | |||
8 | /// <summary>Class to deserialize XML data representing a response.</summary> | ||
9 | public class XmlRpcResponseDeserializer : XmlRpcDeserializer | ||
10 | { | ||
11 | static private XmlRpcResponseDeserializer _singleton; | ||
12 | /// <summary>A static singleton instance of this deserializer.</summary> | ||
13 | [Obsolete("This object is now thread safe, just use an instance.", false)] | ||
14 | static public XmlRpcResponseDeserializer Singleton | ||
15 | { | ||
16 | get | ||
17 | { | ||
18 | if (_singleton == null) | ||
19 | _singleton = new XmlRpcResponseDeserializer(); | ||
20 | |||
21 | return _singleton; | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /// <summary>Static method that parses XML data into a response using the Singleton.</summary> | ||
26 | /// <param name="xmlData"><c>StreamReader</c> containing an XML-RPC response.</param> | ||
27 | /// <returns><c>XmlRpcResponse</c> object resulting from the parse.</returns> | ||
28 | override public Object Deserialize(TextReader xmlData) | ||
29 | { | ||
30 | XmlTextReader reader = new XmlTextReader(xmlData); | ||
31 | XmlRpcResponse response = new XmlRpcResponse(); | ||
32 | bool done = false; | ||
33 | |||
34 | lock (this) | ||
35 | { | ||
36 | Reset(); | ||
37 | |||
38 | while (!done && reader.Read()) | ||
39 | { | ||
40 | DeserializeNode(reader); // Parent parse... | ||
41 | switch (reader.NodeType) | ||
42 | { | ||
43 | case XmlNodeType.EndElement: | ||
44 | switch (reader.Name) | ||
45 | { | ||
46 | case FAULT: | ||
47 | response.Value = _value; | ||
48 | response.IsFault = true; | ||
49 | break; | ||
50 | case PARAM: | ||
51 | response.Value = _value; | ||
52 | _value = null; | ||
53 | _text = null; | ||
54 | break; | ||
55 | } | ||
56 | break; | ||
57 | default: | ||
58 | break; | ||
59 | } | ||
60 | } | ||
61 | } | ||
62 | return response; | ||
63 | } | ||
64 | } | ||
65 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcResponseSerializer.cs b/Common/XmlRpcCS/XmlRpcResponseSerializer.cs deleted file mode 100644 index 72ca568..0000000 --- a/Common/XmlRpcCS/XmlRpcResponseSerializer.cs +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.Xml; | ||
6 | |||
7 | /// <summary>Class responsible for serializing an XML-RPC response.</summary> | ||
8 | /// <remarks>This class handles the response envelope, depending on XmlRpcSerializer | ||
9 | /// to serialize the payload.</remarks> | ||
10 | /// <seealso cref="XmlRpcSerializer"/> | ||
11 | public class XmlRpcResponseSerializer : XmlRpcSerializer | ||
12 | { | ||
13 | static private XmlRpcResponseSerializer _singleton; | ||
14 | /// <summary>A static singleton instance of this deserializer.</summary> | ||
15 | static public XmlRpcResponseSerializer Singleton | ||
16 | { | ||
17 | get | ||
18 | { | ||
19 | if (_singleton == null) | ||
20 | _singleton = new XmlRpcResponseSerializer(); | ||
21 | |||
22 | return _singleton; | ||
23 | } | ||
24 | } | ||
25 | |||
26 | /// <summary>Serialize the <c>XmlRpcResponse</c> to the output stream.</summary> | ||
27 | /// <param name="output">An <c>XmlTextWriter</c> stream to write data to.</param> | ||
28 | /// <param name="obj">An <c>Object</c> to serialize.</param> | ||
29 | /// <seealso cref="XmlRpcResponse"/> | ||
30 | override public void Serialize(XmlTextWriter output, Object obj) | ||
31 | { | ||
32 | XmlRpcResponse response = (XmlRpcResponse)obj; | ||
33 | |||
34 | output.WriteStartDocument(); | ||
35 | output.WriteStartElement(METHOD_RESPONSE); | ||
36 | |||
37 | if (response.IsFault) | ||
38 | output.WriteStartElement(FAULT); | ||
39 | else | ||
40 | { | ||
41 | output.WriteStartElement(PARAMS); | ||
42 | output.WriteStartElement(PARAM); | ||
43 | } | ||
44 | |||
45 | output.WriteStartElement(VALUE); | ||
46 | |||
47 | SerializeObject(output, response.Value); | ||
48 | |||
49 | output.WriteEndElement(); | ||
50 | |||
51 | output.WriteEndElement(); | ||
52 | if (!response.IsFault) | ||
53 | output.WriteEndElement(); | ||
54 | output.WriteEndElement(); | ||
55 | } | ||
56 | } | ||
57 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcSerializer.cs b/Common/XmlRpcCS/XmlRpcSerializer.cs deleted file mode 100644 index 0643d38..0000000 --- a/Common/XmlRpcCS/XmlRpcSerializer.cs +++ /dev/null | |||
@@ -1,109 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.IO; | ||
6 | using System.Xml; | ||
7 | |||
8 | /// <summary>Base class of classes serializing data to XML-RPC's XML format.</summary> | ||
9 | /// <remarks>This class handles the basic type conversions like Integer to <i4>. </remarks> | ||
10 | /// <seealso cref="XmlRpcXmlTokens"/> | ||
11 | public class XmlRpcSerializer : XmlRpcXmlTokens | ||
12 | { | ||
13 | |||
14 | /// <summary>Serialize the <c>XmlRpcRequest</c> to the output stream.</summary> | ||
15 | /// <param name="output">An <c>XmlTextWriter</c> stream to write data to.</param> | ||
16 | /// <param name="obj">An <c>Object</c> to serialize.</param> | ||
17 | /// <seealso cref="XmlRpcRequest"/> | ||
18 | virtual public void Serialize(XmlTextWriter output, Object obj) | ||
19 | { | ||
20 | } | ||
21 | |||
22 | /// <summary>Serialize the <c>XmlRpcRequest</c> to a String.</summary> | ||
23 | /// <remarks>Note this may represent a real memory hog for a large request.</remarks> | ||
24 | /// <param name="obj">An <c>Object</c> to serialize.</param> | ||
25 | /// <returns><c>String</c> containing XML-RPC representation of the request.</returns> | ||
26 | /// <seealso cref="XmlRpcRequest"/> | ||
27 | public String Serialize(Object obj) | ||
28 | { | ||
29 | StringWriter strBuf = new StringWriter(); | ||
30 | XmlTextWriter xml = new XmlTextWriter(strBuf); | ||
31 | xml.Formatting = Formatting.Indented; | ||
32 | xml.Indentation = 4; | ||
33 | Serialize(xml, obj); | ||
34 | xml.Flush(); | ||
35 | String returns = strBuf.ToString(); | ||
36 | xml.Close(); | ||
37 | return returns; | ||
38 | } | ||
39 | |||
40 | /// <remarks>Serialize the object to the output stream.</remarks> | ||
41 | /// <param name="output">An <c>XmlTextWriter</c> stream to write data to.</param> | ||
42 | /// <param name="obj">An <c>Object</c> to serialize.</param> | ||
43 | public void SerializeObject(XmlTextWriter output, Object obj) | ||
44 | { | ||
45 | if (obj == null) | ||
46 | return; | ||
47 | |||
48 | if (obj is byte[]) | ||
49 | { | ||
50 | byte[] ba = (byte[])obj; | ||
51 | output.WriteStartElement(BASE64); | ||
52 | output.WriteBase64(ba, 0, ba.Length); | ||
53 | output.WriteEndElement(); | ||
54 | } | ||
55 | else if (obj is String) | ||
56 | { | ||
57 | output.WriteElementString(STRING, obj.ToString()); | ||
58 | } | ||
59 | else if (obj is Int32) | ||
60 | { | ||
61 | output.WriteElementString(INT, obj.ToString()); | ||
62 | } | ||
63 | else if (obj is DateTime) | ||
64 | { | ||
65 | output.WriteElementString(DATETIME, ((DateTime)obj).ToString(ISO_DATETIME)); | ||
66 | } | ||
67 | else if (obj is Double) | ||
68 | { | ||
69 | output.WriteElementString(DOUBLE, obj.ToString()); | ||
70 | } | ||
71 | else if (obj is Boolean) | ||
72 | { | ||
73 | output.WriteElementString(BOOLEAN, ((((Boolean)obj) == true) ? "1" : "0")); | ||
74 | } | ||
75 | else if (obj is IList) | ||
76 | { | ||
77 | output.WriteStartElement(ARRAY); | ||
78 | output.WriteStartElement(DATA); | ||
79 | if (((ArrayList)obj).Count > 0) | ||
80 | { | ||
81 | foreach (Object member in ((IList)obj)) | ||
82 | { | ||
83 | output.WriteStartElement(VALUE); | ||
84 | SerializeObject(output, member); | ||
85 | output.WriteEndElement(); | ||
86 | } | ||
87 | } | ||
88 | output.WriteEndElement(); | ||
89 | output.WriteEndElement(); | ||
90 | } | ||
91 | else if (obj is IDictionary) | ||
92 | { | ||
93 | IDictionary h = (IDictionary)obj; | ||
94 | output.WriteStartElement(STRUCT); | ||
95 | foreach (String key in h.Keys) | ||
96 | { | ||
97 | output.WriteStartElement(MEMBER); | ||
98 | output.WriteElementString(NAME, key); | ||
99 | output.WriteStartElement(VALUE); | ||
100 | SerializeObject(output, h[key]); | ||
101 | output.WriteEndElement(); | ||
102 | output.WriteEndElement(); | ||
103 | } | ||
104 | output.WriteEndElement(); | ||
105 | } | ||
106 | |||
107 | } | ||
108 | } | ||
109 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcServer.cs b/Common/XmlRpcCS/XmlRpcServer.cs deleted file mode 100644 index 1c226c1..0000000 --- a/Common/XmlRpcCS/XmlRpcServer.cs +++ /dev/null | |||
@@ -1,239 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.IO; | ||
6 | using System.Net; | ||
7 | using System.Net.Sockets; | ||
8 | using System.Text; | ||
9 | using System.Threading; | ||
10 | using System.Xml; | ||
11 | |||
12 | /// <summary>A restricted HTTP server for use with XML-RPC.</summary> | ||
13 | /// <remarks>It only handles POST requests, and only POSTs representing XML-RPC calls. | ||
14 | /// In addition to dispatching requests it also provides a registry for request handlers. | ||
15 | /// </remarks> | ||
16 | public class XmlRpcServer : IEnumerable | ||
17 | { | ||
18 | #pragma warning disable 0414 // disable "private field assigned but not used" | ||
19 | const int RESPONDER_COUNT = 10; | ||
20 | private TcpListener _myListener; | ||
21 | private int _port; | ||
22 | private IPAddress _address; | ||
23 | private IDictionary _handlers; | ||
24 | private XmlRpcSystemObject _system; | ||
25 | private WaitCallback _wc; | ||
26 | #pragma warning restore 0414 | ||
27 | |||
28 | ///<summary>Constructor with port and address.</summary> | ||
29 | ///<remarks>This constructor sets up a TcpListener listening on the | ||
30 | ///given port and address. It also calls a Thread on the method StartListen().</remarks> | ||
31 | ///<param name="address"><c>IPAddress</c> value of the address to listen on.</param> | ||
32 | ///<param name="port"><c>Int</c> value of the port to listen on.</param> | ||
33 | public XmlRpcServer(IPAddress address, int port) | ||
34 | { | ||
35 | _port = port; | ||
36 | _address = address; | ||
37 | _handlers = new Hashtable(); | ||
38 | _system = new XmlRpcSystemObject(this); | ||
39 | _wc = new WaitCallback(WaitCallback); | ||
40 | } | ||
41 | |||
42 | ///<summary>Basic constructor.</summary> | ||
43 | ///<remarks>This constructor sets up a TcpListener listening on the | ||
44 | ///given port. It also calls a Thread on the method StartListen(). IPAddress.Any | ||
45 | ///is assumed as the address here.</remarks> | ||
46 | ///<param name="port"><c>Int</c> value of the port to listen on.</param> | ||
47 | public XmlRpcServer(int port) : this(IPAddress.Any, port) { } | ||
48 | |||
49 | /// <summary>Start the server.</summary> | ||
50 | public void Start() | ||
51 | { | ||
52 | try | ||
53 | { | ||
54 | Stop(); | ||
55 | //start listing on the given port | ||
56 | // IPAddress addr = IPAddress.Parse("127.0.0.1"); | ||
57 | lock (this) | ||
58 | { | ||
59 | _myListener = new TcpListener(IPAddress.Any, _port); | ||
60 | _myListener.Start(); | ||
61 | //start the thread which calls the method 'StartListen' | ||
62 | Thread th = new Thread(new ThreadStart(StartListen)); | ||
63 | th.Start(); | ||
64 | } | ||
65 | } | ||
66 | catch (Exception e) | ||
67 | { | ||
68 | Logger.WriteEntry("An Exception Occurred while Listening :" + e.ToString(), LogLevel.Error); | ||
69 | } | ||
70 | } | ||
71 | |||
72 | /// <summary>Stop the server.</summary> | ||
73 | public void Stop() | ||
74 | { | ||
75 | try | ||
76 | { | ||
77 | if (_myListener != null) | ||
78 | { | ||
79 | lock (this) | ||
80 | { | ||
81 | _myListener.Stop(); | ||
82 | _myListener = null; | ||
83 | } | ||
84 | } | ||
85 | } | ||
86 | catch (Exception e) | ||
87 | { | ||
88 | Logger.WriteEntry("An Exception Occurred while stopping :" + | ||
89 | e.ToString(), LogLevel.Error); | ||
90 | } | ||
91 | } | ||
92 | |||
93 | /// <summary>Get an enumeration of my XML-RPC handlers.</summary> | ||
94 | /// <returns><c>IEnumerable</c> the handler enumeration.</returns> | ||
95 | public IEnumerator GetEnumerator() | ||
96 | { | ||
97 | return _handlers.GetEnumerator(); | ||
98 | } | ||
99 | |||
100 | /// <summary>Retrieve a handler by name.</summary> | ||
101 | /// <param name="name"><c>String</c> naming a handler</param> | ||
102 | /// <returns><c>Object</c> that is the handler.</returns> | ||
103 | public Object this[String name] | ||
104 | { | ||
105 | get { return _handlers[name]; } | ||
106 | } | ||
107 | |||
108 | ///<summary> | ||
109 | ///This method Accepts new connections and dispatches them when appropriate. | ||
110 | ///</summary> | ||
111 | public void StartListen() | ||
112 | { | ||
113 | while (true && _myListener != null) | ||
114 | { | ||
115 | //Accept a new connection | ||
116 | XmlRpcResponder responder = new XmlRpcResponder(this, _myListener.AcceptTcpClient()); | ||
117 | ThreadPool.QueueUserWorkItem(_wc, responder); | ||
118 | } | ||
119 | } | ||
120 | |||
121 | |||
122 | ///<summary> | ||
123 | ///Add an XML-RPC handler object by name. | ||
124 | ///</summary> | ||
125 | ///<param name="name"><c>String</c> XML-RPC dispatch name of this object.</param> | ||
126 | ///<param name="obj"><c>Object</c> The object that is the XML-RPC handler.</param> | ||
127 | public void Add(String name, Object obj) | ||
128 | { | ||
129 | _handlers.Add(name, obj); | ||
130 | } | ||
131 | |||
132 | ///<summary>Return a C# object.method name for and XML-RPC object.method name pair.</summary> | ||
133 | ///<param name="methodName">The XML-RPC object.method.</param> | ||
134 | ///<returns><c>String</c> of form object.method for the underlying C# method.</returns> | ||
135 | public String MethodName(String methodName) | ||
136 | { | ||
137 | int dotAt = methodName.LastIndexOf('.'); | ||
138 | |||
139 | if (dotAt == -1) | ||
140 | { | ||
141 | throw new XmlRpcException(XmlRpcErrorCodes.SERVER_ERROR_METHOD, | ||
142 | XmlRpcErrorCodes.SERVER_ERROR_METHOD_MSG + ": Bad method name " + methodName); | ||
143 | } | ||
144 | |||
145 | String objectName = methodName.Substring(0, dotAt); | ||
146 | Object target = _handlers[objectName]; | ||
147 | |||
148 | if (target == null) | ||
149 | { | ||
150 | throw new XmlRpcException(XmlRpcErrorCodes.SERVER_ERROR_METHOD, | ||
151 | XmlRpcErrorCodes.SERVER_ERROR_METHOD_MSG + ": Object " + objectName + " not found"); | ||
152 | } | ||
153 | |||
154 | return target.GetType().FullName + "." + methodName.Substring(dotAt + 1); | ||
155 | } | ||
156 | |||
157 | ///<summary>Invoke a method described in a request.</summary> | ||
158 | ///<param name="req"><c>XmlRpcRequest</c> containing a method descriptions.</param> | ||
159 | /// <seealso cref="XmlRpcSystemObject.Invoke"/> | ||
160 | /// <seealso cref="XmlRpcServer.Invoke(String,String,IList)"/> | ||
161 | public Object Invoke(XmlRpcRequest req) | ||
162 | { | ||
163 | return Invoke(req.MethodNameObject, req.MethodNameMethod, req.Params); | ||
164 | } | ||
165 | |||
166 | ///<summary>Invoke a method on a named handler.</summary> | ||
167 | ///<param name="objectName"><c>String</c> The name of the handler.</param> | ||
168 | ///<param name="methodName"><c>String</c> The name of the method to invoke on the handler.</param> | ||
169 | ///<param name="parameters"><c>IList</c> The parameters to invoke the method with.</param> | ||
170 | /// <seealso cref="XmlRpcSystemObject.Invoke"/> | ||
171 | public Object Invoke(String objectName, String methodName, IList parameters) | ||
172 | { | ||
173 | Object target = _handlers[objectName]; | ||
174 | |||
175 | if (target == null) | ||
176 | { | ||
177 | throw new XmlRpcException(XmlRpcErrorCodes.SERVER_ERROR_METHOD, | ||
178 | XmlRpcErrorCodes.SERVER_ERROR_METHOD_MSG + ": Object " + objectName + " not found"); | ||
179 | } | ||
180 | |||
181 | return XmlRpcSystemObject.Invoke(target, methodName, parameters); | ||
182 | } | ||
183 | |||
184 | /// <summary>The method the thread pool invokes when a thread is available to handle an HTTP request.</summary> | ||
185 | /// <param name="responder">TcpClient from the socket accept.</param> | ||
186 | public void WaitCallback(object responder) | ||
187 | { | ||
188 | XmlRpcResponder resp = (XmlRpcResponder)responder; | ||
189 | |||
190 | if (resp.HttpReq.HttpMethod == "POST") | ||
191 | { | ||
192 | try | ||
193 | { | ||
194 | resp.Respond(); | ||
195 | } | ||
196 | catch (Exception e) | ||
197 | { | ||
198 | Logger.WriteEntry("Failed on post: " + e, LogLevel.Error); | ||
199 | } | ||
200 | } | ||
201 | else | ||
202 | { | ||
203 | Logger.WriteEntry("Only POST methods are supported: " + resp.HttpReq.HttpMethod + | ||
204 | " ignored", LogLevel.Error); | ||
205 | } | ||
206 | |||
207 | resp.Close(); | ||
208 | } | ||
209 | |||
210 | /// <summary> | ||
211 | /// This function send the Header Information to the client (Browser) | ||
212 | /// </summary> | ||
213 | /// <param name="sHttpVersion">HTTP Version</param> | ||
214 | /// <param name="sMIMEHeader">Mime Type</param> | ||
215 | /// <param name="iTotBytes">Total Bytes to be sent in the body</param> | ||
216 | /// <param name="sStatusCode"></param> | ||
217 | /// <param name="output">Socket reference</param> | ||
218 | static public void HttpHeader(string sHttpVersion, string sMIMEHeader, long iTotBytes, string sStatusCode, TextWriter output) | ||
219 | { | ||
220 | String sBuffer = ""; | ||
221 | |||
222 | // if Mime type is not provided set default to text/html | ||
223 | if (sMIMEHeader.Length == 0) | ||
224 | { | ||
225 | sMIMEHeader = "text/html"; // Default Mime Type is text/html | ||
226 | } | ||
227 | |||
228 | sBuffer += sHttpVersion + sStatusCode + "\r\n"; | ||
229 | sBuffer += "Connection: close\r\n"; | ||
230 | if (iTotBytes > 0) | ||
231 | sBuffer += "Content-Length: " + iTotBytes + "\r\n"; | ||
232 | sBuffer += "Server: XmlRpcServer \r\n"; | ||
233 | sBuffer += "Content-Type: " + sMIMEHeader + "\r\n"; | ||
234 | sBuffer += "\r\n"; | ||
235 | |||
236 | output.Write(sBuffer); | ||
237 | } | ||
238 | } | ||
239 | } | ||
diff --git a/Common/XmlRpcCS/XmlRpcSystemObject.cs b/Common/XmlRpcCS/XmlRpcSystemObject.cs deleted file mode 100644 index 5f79951..0000000 --- a/Common/XmlRpcCS/XmlRpcSystemObject.cs +++ /dev/null | |||
@@ -1,252 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | using System.Collections; | ||
5 | using System.Reflection; | ||
6 | |||
7 | /// <summary> XML-RPC System object implementation of extended specifications.</summary> | ||
8 | [XmlRpcExposed] | ||
9 | public class XmlRpcSystemObject | ||
10 | { | ||
11 | private XmlRpcServer _server; | ||
12 | static private IDictionary _methodHelp = new Hashtable(); | ||
13 | |||
14 | /// <summary>Static <c>IDictionary</c> to hold mappings of method name to associated documentation String</summary> | ||
15 | static public IDictionary MethodHelp | ||
16 | { | ||
17 | get { return _methodHelp; } | ||
18 | } | ||
19 | |||
20 | /// <summary>Constructor.</summary> | ||
21 | /// <param name="server"><c>XmlRpcServer</c> server to be the system object for.</param> | ||
22 | public XmlRpcSystemObject(XmlRpcServer server) | ||
23 | { | ||
24 | _server = server; | ||
25 | server.Add("system", this); | ||
26 | _methodHelp.Add(this.GetType().FullName + ".methodHelp", "Return a string description."); | ||
27 | } | ||
28 | |||
29 | /// <summary>Invoke a method on a given object.</summary> | ||
30 | /// <remarks>Using reflection, and respecting the <c>XmlRpcExposed</c> attribute, | ||
31 | /// invoke the <paramref>methodName</paramref> method on the <paramref>target</paramref> | ||
32 | /// instance with the <paramref>parameters</paramref> provided. All this packages other <c>Invoke</c> methods | ||
33 | /// end up calling this.</remarks> | ||
34 | /// <returns><c>Object</c> the value the invoked method returns.</returns> | ||
35 | /// <exception cref="XmlRpcException">If method does not exist, is not exposed, parameters invalid, or invocation | ||
36 | /// results in an exception. Note, the <c>XmlRpcException.Code</c> will indicate cause.</exception> | ||
37 | static public Object Invoke(Object target, String methodName, IList parameters) | ||
38 | { | ||
39 | if (target == null) | ||
40 | throw new XmlRpcException(XmlRpcErrorCodes.SERVER_ERROR_METHOD, | ||
41 | XmlRpcErrorCodes.SERVER_ERROR_METHOD_MSG + ": Invalid target object."); | ||
42 | |||
43 | Type type = target.GetType(); | ||
44 | MethodInfo method = type.GetMethod(methodName); | ||
45 | |||
46 | try | ||
47 | { | ||
48 | if (!XmlRpcExposedAttribute.ExposedMethod(target, methodName)) | ||
49 | throw new XmlRpcException(XmlRpcErrorCodes.SERVER_ERROR_METHOD, | ||
50 | XmlRpcErrorCodes.SERVER_ERROR_METHOD_MSG + ": Method " + methodName + " is not exposed."); | ||
51 | } | ||
52 | catch (MissingMethodException me) | ||
53 | { | ||
54 | throw new XmlRpcException(XmlRpcErrorCodes.SERVER_ERROR_METHOD, | ||
55 | XmlRpcErrorCodes.SERVER_ERROR_METHOD_MSG + ": " + me.Message); | ||
56 | } | ||
57 | |||
58 | Object[] args = new Object[parameters.Count]; | ||
59 | |||
60 | int index = 0; | ||
61 | foreach (Object arg in parameters) | ||
62 | { | ||
63 | args[index] = arg; | ||
64 | index++; | ||
65 | } | ||
66 | |||
67 | try | ||
68 | { | ||
69 | Object retValue = method.Invoke(target, args); | ||
70 | if (retValue == null) | ||
71 | throw new XmlRpcException(XmlRpcErrorCodes.APPLICATION_ERROR, | ||
72 | XmlRpcErrorCodes.APPLICATION_ERROR_MSG + ": Method returned NULL."); | ||
73 | return retValue; | ||
74 | } | ||
75 | catch (XmlRpcException e) | ||
76 | { | ||
77 | throw e; | ||
78 | } | ||
79 | catch (ArgumentException ae) | ||
80 | { | ||
81 | Logger.WriteEntry(XmlRpcErrorCodes.SERVER_ERROR_PARAMS_MSG + ": " + ae.Message, | ||
82 | LogLevel.Information); | ||
83 | String call = methodName + "( "; | ||
84 | foreach (Object o in args) | ||
85 | { | ||
86 | call += o.GetType().Name; | ||
87 | call += " "; | ||
88 | } | ||
89 | call += ")"; | ||
90 | throw new XmlRpcException(XmlRpcErrorCodes.SERVER_ERROR_PARAMS, | ||
91 | XmlRpcErrorCodes.SERVER_ERROR_PARAMS_MSG + ": Arguement type mismatch invoking " + call); | ||
92 | } | ||
93 | catch (TargetParameterCountException tpce) | ||
94 | { | ||
95 | Logger.WriteEntry(XmlRpcErrorCodes.SERVER_ERROR_PARAMS_MSG + ": " + tpce.Message, | ||
96 | LogLevel.Information); | ||
97 | throw new XmlRpcException(XmlRpcErrorCodes.SERVER_ERROR_PARAMS, | ||
98 | XmlRpcErrorCodes.SERVER_ERROR_PARAMS_MSG + ": Arguement count mismatch invoking " + methodName); | ||
99 | } | ||
100 | catch (TargetInvocationException tie) | ||
101 | { | ||
102 | throw new XmlRpcException(XmlRpcErrorCodes.APPLICATION_ERROR, | ||
103 | XmlRpcErrorCodes.APPLICATION_ERROR_MSG + " Invoked method " + methodName + ": " + tie.Message); | ||
104 | } | ||
105 | } | ||
106 | |||
107 | /// <summary>List methods available on all handlers of this server.</summary> | ||
108 | /// <returns><c>IList</c> An array of <c>Strings</c>, each <c>String</c> will have form "object.method".</returns> | ||
109 | [XmlRpcExposed] | ||
110 | public IList listMethods() | ||
111 | { | ||
112 | IList methods = new ArrayList(); | ||
113 | Boolean considerExposure; | ||
114 | |||
115 | foreach (DictionaryEntry handlerEntry in _server) | ||
116 | { | ||
117 | considerExposure = XmlRpcExposedAttribute.IsExposed(handlerEntry.Value.GetType()); | ||
118 | |||
119 | foreach (MemberInfo mi in handlerEntry.Value.GetType().GetMembers()) | ||
120 | { | ||
121 | if (mi.MemberType != MemberTypes.Method) | ||
122 | continue; | ||
123 | |||
124 | if (!((MethodInfo)mi).IsPublic) | ||
125 | continue; | ||
126 | |||
127 | if (considerExposure && !XmlRpcExposedAttribute.IsExposed(mi)) | ||
128 | continue; | ||
129 | |||
130 | methods.Add(handlerEntry.Key + "." + mi.Name); | ||
131 | } | ||
132 | } | ||
133 | |||
134 | return methods; | ||
135 | } | ||
136 | |||
137 | /// <summary>Given a method name return the possible signatures for it.</summary> | ||
138 | /// <param name="name"><c>String</c> The object.method name to look up.</param> | ||
139 | /// <returns><c>IList</c> Of arrays of signatures.</returns> | ||
140 | [XmlRpcExposed] | ||
141 | public IList methodSignature(String name) | ||
142 | { | ||
143 | IList signatures = new ArrayList(); | ||
144 | int index = name.IndexOf('.'); | ||
145 | |||
146 | if (index < 0) | ||
147 | return signatures; | ||
148 | |||
149 | String oName = name.Substring(0, index); | ||
150 | Object obj = _server[oName]; | ||
151 | |||
152 | if (obj == null) | ||
153 | return signatures; | ||
154 | |||
155 | MemberInfo[] mi = obj.GetType().GetMember(name.Substring(index + 1)); | ||
156 | |||
157 | if (mi == null || mi.Length != 1) // for now we want a single signature | ||
158 | return signatures; | ||
159 | |||
160 | MethodInfo method; | ||
161 | |||
162 | try | ||
163 | { | ||
164 | method = (MethodInfo)mi[0]; | ||
165 | } | ||
166 | catch (Exception e) | ||
167 | { | ||
168 | Logger.WriteEntry("Attempted methodSignature call on " + mi[0] + " caused: " + e, | ||
169 | LogLevel.Information); | ||
170 | return signatures; | ||
171 | } | ||
172 | |||
173 | if (!method.IsPublic) | ||
174 | return signatures; | ||
175 | |||
176 | IList signature = new ArrayList(); | ||
177 | signature.Add(method.ReturnType.Name); | ||
178 | |||
179 | foreach (ParameterInfo param in method.GetParameters()) | ||
180 | { | ||
181 | signature.Add(param.ParameterType.Name); | ||
182 | } | ||
183 | |||
184 | |||
185 | signatures.Add(signature); | ||
186 | |||
187 | return signatures; | ||
188 | } | ||
189 | |||
190 | /// <summary>Help for given method signature. Not implemented yet.</summary> | ||
191 | /// <param name="name"><c>String</c> The object.method name to look up.</param> | ||
192 | /// <returns><c>String</c> help text. Rich HTML text.</returns> | ||
193 | [XmlRpcExposed] | ||
194 | public String methodHelp(String name) | ||
195 | { | ||
196 | String help = null; | ||
197 | |||
198 | try | ||
199 | { | ||
200 | help = (String)_methodHelp[_server.MethodName(name)]; | ||
201 | } | ||
202 | catch (XmlRpcException e) | ||
203 | { | ||
204 | throw e; | ||
205 | } | ||
206 | catch (Exception) { /* ignored */ }; | ||
207 | |||
208 | if (help == null) | ||
209 | help = "No help available for: " + name; | ||
210 | |||
211 | return help; | ||
212 | } | ||
213 | |||
214 | /// <summary>Boxcarring support method.</summary> | ||
215 | /// <param name="calls"><c>IList</c> of calls</param> | ||
216 | /// <returns><c>ArrayList</c> of results/faults.</returns> | ||
217 | [XmlRpcExposed] | ||
218 | public IList multiCall(IList calls) | ||
219 | { | ||
220 | IList responses = new ArrayList(); | ||
221 | XmlRpcResponse fault = new XmlRpcResponse(); | ||
222 | |||
223 | foreach (IDictionary call in calls) | ||
224 | { | ||
225 | try | ||
226 | { | ||
227 | XmlRpcRequest req = new XmlRpcRequest((String)call[XmlRpcXmlTokens.METHOD_NAME], | ||
228 | (ArrayList)call[XmlRpcXmlTokens.PARAMS]); | ||
229 | Object results = _server.Invoke(req); | ||
230 | IList response = new ArrayList(); | ||
231 | response.Add(results); | ||
232 | responses.Add(response); | ||
233 | } | ||
234 | catch (XmlRpcException e) | ||
235 | { | ||
236 | fault.SetFault(e.FaultCode, e.FaultString); | ||
237 | responses.Add(fault.Value); | ||
238 | } | ||
239 | catch (Exception e2) | ||
240 | { | ||
241 | fault.SetFault(XmlRpcErrorCodes.APPLICATION_ERROR, | ||
242 | XmlRpcErrorCodes.APPLICATION_ERROR_MSG + ": " + e2.Message); | ||
243 | responses.Add(fault.Value); | ||
244 | } | ||
245 | } | ||
246 | |||
247 | return responses; | ||
248 | } | ||
249 | |||
250 | } | ||
251 | } | ||
252 | |||
diff --git a/Common/XmlRpcCS/XmlRpcXmlTokens.cs b/Common/XmlRpcCS/XmlRpcXmlTokens.cs deleted file mode 100644 index 50788bd..0000000 --- a/Common/XmlRpcCS/XmlRpcXmlTokens.cs +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | |||
5 | /// <summary>Class collecting <c>String</c> tokens that are part of XML-RPC files.</summary> | ||
6 | public class XmlRpcXmlTokens | ||
7 | { | ||
8 | /// <summary>C# formatting string to describe an ISO 8601 date.</summary> | ||
9 | public const String ISO_DATETIME = "yyyyMMdd\\THH\\:mm\\:ss"; | ||
10 | /// <summary>Base64 field indicator.</summary> | ||
11 | /// <remarks>Corresponds to the <base64> tag.</remarks> | ||
12 | public const String BASE64 = "base64"; | ||
13 | /// <summary>String field indicator.</summary> | ||
14 | /// <remarks>Corresponds to the <string> tag.</remarks> | ||
15 | public const String STRING = "string"; | ||
16 | /// <summary>Integer field integer.</summary> | ||
17 | /// <remarks>Corresponds to the <i4> tag.</remarks> | ||
18 | public const String INT = "i4"; | ||
19 | /// <summary>Alternate integer field indicator.</summary> | ||
20 | /// <remarks>Corresponds to the <int> tag.</remarks> | ||
21 | public const String ALT_INT = "int"; | ||
22 | /// <summary>Date field indicator.</summary> | ||
23 | /// <remarks>Corresponds to the <dateTime.iso8601> tag.</remarks> | ||
24 | public const String DATETIME = "dateTime.iso8601"; | ||
25 | /// <summary>Boolean field indicator.</summary> | ||
26 | /// <remarks>Corresponds to the <boolean> tag.</remarks> | ||
27 | public const String BOOLEAN = "boolean"; | ||
28 | /// <summary>Value token.</summary> | ||
29 | /// <remarks>Corresponds to the <value> tag.</remarks> | ||
30 | public const String VALUE = "value"; | ||
31 | /// <summary>Name token.</summary> | ||
32 | /// <remarks>Corresponds to the <name> tag.</remarks> | ||
33 | public const String NAME = "name"; | ||
34 | /// <summary>Array field indicator..</summary> | ||
35 | /// <remarks>Corresponds to the <array> tag.</remarks> | ||
36 | public const String ARRAY = "array"; | ||
37 | /// <summary>Data token.</summary> | ||
38 | /// <remarks>Corresponds to the <data> tag.</remarks> | ||
39 | public const String DATA = "data"; | ||
40 | /// <summary>Member token.</summary> | ||
41 | /// <remarks>Corresponds to the <member> tag.</remarks> | ||
42 | public const String MEMBER = "member"; | ||
43 | /// <summary>Stuct field indicator.</summary> | ||
44 | /// <remarks>Corresponds to the <struct> tag.</remarks> | ||
45 | public const String STRUCT = "struct"; | ||
46 | /// <summary>Double field indicator.</summary> | ||
47 | /// <remarks>Corresponds to the <double> tag.</remarks> | ||
48 | public const String DOUBLE = "double"; | ||
49 | /// <summary>Param token.</summary> | ||
50 | /// <remarks>Corresponds to the <param> tag.</remarks> | ||
51 | public const String PARAM = "param"; | ||
52 | /// <summary>Params token.</summary> | ||
53 | /// <remarks>Corresponds to the <params> tag.</remarks> | ||
54 | public const String PARAMS = "params"; | ||
55 | /// <summary>MethodCall token.</summary> | ||
56 | /// <remarks>Corresponds to the <methodCall> tag.</remarks> | ||
57 | public const String METHOD_CALL = "methodCall"; | ||
58 | /// <summary>MethodName token.</summary> | ||
59 | /// <remarks>Corresponds to the <methodName> tag.</remarks> | ||
60 | public const String METHOD_NAME = "methodName"; | ||
61 | /// <summary>MethodResponse token</summary> | ||
62 | /// <remarks>Corresponds to the <methodResponse> tag.</remarks> | ||
63 | public const String METHOD_RESPONSE = "methodResponse"; | ||
64 | /// <summary>Fault response token.</summary> | ||
65 | /// <remarks>Corresponds to the <fault> tag.</remarks> | ||
66 | public const String FAULT = "fault"; | ||
67 | /// <summary>FaultCode token.</summary> | ||
68 | /// <remarks>Corresponds to the <faultCode> tag.</remarks> | ||
69 | public const String FAULT_CODE = "faultCode"; | ||
70 | /// <summary>FaultString token.</summary> | ||
71 | /// <remarks>Corresponds to the <faultString> tag.</remarks> | ||
72 | public const String FAULT_STRING = "faultString"; | ||
73 | } | ||
74 | } | ||
75 | |||
76 | |||
diff --git a/OpenGridServices.build b/OpenGridServices.build index 7cfe21e..2efeac9 100644 --- a/OpenGridServices.build +++ b/OpenGridServices.build | |||
@@ -46,33 +46,33 @@ | |||
46 | <echo message="Deleting all builds from all configurations" /> | 46 | <echo message="Deleting all builds from all configurations" /> |
47 | <delete dir="${bin.dir}" failonerror="false" /> | 47 | <delete dir="${bin.dir}" failonerror="false" /> |
48 | <delete dir="${obj.dir}" failonerror="false" /> | 48 | <delete dir="${obj.dir}" failonerror="false" /> |
49 | <nant buildfile="OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build" target="clean" /> | 49 | <nant buildfile="OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build" target="clean" /> |
50 | <nant buildfile="Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build" target="clean" /> | 50 | <nant buildfile="OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build" target="clean" /> |
51 | <nant buildfile="Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build" target="clean" /> | 51 | <nant buildfile="OpenSim/Framework/Data.MSSQL/OpenSim.Framework.Data.MSSQL.dll.build" target="clean" /> |
52 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.dll.build" target="clean" /> | 52 | <nant buildfile="OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.dll.build" target="clean" /> |
53 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.dll.build" target="clean" /> | 53 | <nant buildfile="OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.dll.build" target="clean" /> |
54 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.dll.build" target="clean" /> | 54 | <nant buildfile="OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build" target="clean" /> |
55 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build" target="clean" /> | 55 | <nant buildfile="OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.exe.build" target="clean" /> |
56 | <nant buildfile="Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.dll.build" target="clean" /> | 56 | <nant buildfile="OpenSim/Grid/Framework.Manager/OpenSim.Grid.Framework.Manager.dll.build" target="clean" /> |
57 | <nant buildfile="OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.exe.build" target="clean" /> | 57 | <nant buildfile="OpenSim/Grid/GridServer/OpenSim.Grid.GridServer.exe.build" target="clean" /> |
58 | <nant buildfile="OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="clean" /> | 58 | <nant buildfile="OpenSim/Grid/GridServer.Config/OpenSim.Grid.GridServer.Config.dll.build" target="clean" /> |
59 | <nant buildfile="OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="clean" /> | 59 | <nant buildfile="OpenSim/Grid/UserServer/OpenSim.Grid.UserServer.exe.build" target="clean" /> |
60 | <nant buildfile="OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build" target="clean" /> | 60 | <nant buildfile="OpenSim/Grid/UserServer.Config/OpenSim.Grid.UserServer.Config.dll.build" target="clean" /> |
61 | </target> | 61 | </target> |
62 | 62 | ||
63 | <target name="build" depends="init" description=""> | 63 | <target name="build" depends="init" description=""> |
64 | <nant buildfile="Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build" target="build" /> | 64 | <nant buildfile="OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build" target="build" /> |
65 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.dll.build" target="build" /> | 65 | <nant buildfile="OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.dll.build" target="build" /> |
66 | <nant buildfile="Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build" target="build" /> | 66 | <nant buildfile="OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build" target="build" /> |
67 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.dll.build" target="build" /> | 67 | <nant buildfile="OpenSim/Framework/Data.MSSQL/OpenSim.Framework.Data.MSSQL.dll.build" target="build" /> |
68 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.dll.build" target="build" /> | 68 | <nant buildfile="OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.dll.build" target="build" /> |
69 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build" target="build" /> | 69 | <nant buildfile="OpenSim/Grid/Framework.Manager/OpenSim.Grid.Framework.Manager.dll.build" target="build" /> |
70 | <nant buildfile="OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="build" /> | 70 | <nant buildfile="OpenSim/Grid/GridServer/OpenSim.Grid.GridServer.exe.build" target="build" /> |
71 | <nant buildfile="OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.exe.build" target="build" /> | 71 | <nant buildfile="OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.exe.build" target="build" /> |
72 | <nant buildfile="Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.dll.build" target="build" /> | 72 | <nant buildfile="OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build" target="build" /> |
73 | <nant buildfile="OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="build" /> | 73 | <nant buildfile="OpenSim/Grid/UserServer/OpenSim.Grid.UserServer.exe.build" target="build" /> |
74 | <nant buildfile="OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build" target="build" /> | 74 | <nant buildfile="OpenSim/Grid/GridServer.Config/OpenSim.Grid.GridServer.Config.dll.build" target="build" /> |
75 | <nant buildfile="OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build" target="build" /> | 75 | <nant buildfile="OpenSim/Grid/UserServer.Config/OpenSim.Grid.UserServer.Config.dll.build" target="build" /> |
76 | </target> | 76 | </target> |
77 | 77 | ||
78 | <target name="build-release" depends="Release, init, build" description="Builds in Release mode" /> | 78 | <target name="build-release" depends="Release, init, build" description="Builds in Release mode" /> |
@@ -83,18 +83,18 @@ | |||
83 | 83 | ||
84 | <target name="doc" depends="build-release"> | 84 | <target name="doc" depends="build-release"> |
85 | <echo message="Generating all documentation from all builds" /> | 85 | <echo message="Generating all documentation from all builds" /> |
86 | <nant buildfile="OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build" target="doc" /> | 86 | <nant buildfile="OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build" target="doc" /> |
87 | <nant buildfile="Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build" target="doc" /> | 87 | <nant buildfile="OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build" target="doc" /> |
88 | <nant buildfile="Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build" target="doc" /> | 88 | <nant buildfile="OpenSim/Framework/Data.MSSQL/OpenSim.Framework.Data.MSSQL.dll.build" target="doc" /> |
89 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.dll.build" target="doc" /> | 89 | <nant buildfile="OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.dll.build" target="doc" /> |
90 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.dll.build" target="doc" /> | 90 | <nant buildfile="OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.dll.build" target="doc" /> |
91 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.dll.build" target="doc" /> | 91 | <nant buildfile="OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build" target="doc" /> |
92 | <nant buildfile="OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build" target="doc" /> | 92 | <nant buildfile="OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.exe.build" target="doc" /> |
93 | <nant buildfile="Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.dll.build" target="doc" /> | 93 | <nant buildfile="OpenSim/Grid/Framework.Manager/OpenSim.Grid.Framework.Manager.dll.build" target="doc" /> |
94 | <nant buildfile="OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.exe.build" target="doc" /> | 94 | <nant buildfile="OpenSim/Grid/GridServer/OpenSim.Grid.GridServer.exe.build" target="doc" /> |
95 | <nant buildfile="OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="doc" /> | 95 | <nant buildfile="OpenSim/Grid/GridServer.Config/OpenSim.Grid.GridServer.Config.dll.build" target="doc" /> |
96 | <nant buildfile="OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="doc" /> | 96 | <nant buildfile="OpenSim/Grid/UserServer/OpenSim.Grid.UserServer.exe.build" target="doc" /> |
97 | <nant buildfile="OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build" target="doc" /> | 97 | <nant buildfile="OpenSim/Grid/UserServer.Config/OpenSim.Grid.UserServer.Config.dll.build" target="doc" /> |
98 | </target> | 98 | </target> |
99 | 99 | ||
100 | </project> | 100 | </project> |
diff --git a/OpenGridServices.sln b/OpenGridServices.sln index e492872..2343bc0 100644 --- a/OpenGridServices.sln +++ b/OpenGridServices.sln | |||
@@ -1,28 +1,28 @@ | |||
1 | Microsoft Visual Studio Solution File, Format Version 9.00 | 1 | Microsoft Visual Studio Solution File, Format Version 9.00 |
2 | # Visual Studio 2005 | 2 | # Visual Studio 2005 |
3 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Config.GridConfigDb4o", "OpenGridServices\OpenGrid.Config\GridConfigDb4o\OpenGrid.Config.GridConfigDb4o.csproj", "{B0027747-0000-0000-0000-000000000000}" | 3 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Data", "OpenSim\Framework\Data\OpenSim.Framework.Data.csproj", "{36B72A9B-0000-0000-0000-000000000000}" |
4 | EndProject | 4 | EndProject |
5 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.Data", "Common\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj", "{62CDF671-0000-0000-0000-000000000000}" | 5 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Data.DB4o", "OpenSim\Framework\Data.DB4o\OpenSim.Framework.Data.DB4o.csproj", "{FD2D303D-0000-0000-0000-000000000000}" |
6 | EndProject | 6 | EndProject |
7 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.Data.DB4o", "Common\OpenGrid.Framework.Data.DB4o\OpenGrid.Framework.Data.DB4o.csproj", "{39BD9497-0000-0000-0000-000000000000}" | 7 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Data.MSSQL", "OpenSim\Framework\Data.MSSQL\OpenSim.Framework.Data.MSSQL.csproj", "{17F7F694-0000-0000-0000-000000000000}" |
8 | EndProject | 8 | EndProject |
9 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.Data.MSSQL", "OpenGridServices\OpenGrid.Framework.Data.MSSQL\OpenGrid.Framework.Data.MSSQL.csproj", "{0A563AC1-0000-0000-0000-000000000000}" | 9 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Data.MySQL", "OpenSim\Framework\Data.MySQL\OpenSim.Framework.Data.MySQL.csproj", "{17F7F6BE-0000-0000-0000-000000000000}" |
10 | EndProject | 10 | EndProject |
11 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.Data.MySQL", "OpenGridServices\OpenGrid.Framework.Data.MySQL\OpenGrid.Framework.Data.MySQL.csproj", "{0F3C3AC1-0000-0000-0000-000000000000}" | 11 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Data.SQLite", "OpenSim\Framework\Data.SQLite\OpenSim.Framework.Data.SQLite.csproj", "{6ECC56A9-0000-0000-0000-000000000000}" |
12 | EndProject | 12 | EndProject |
13 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.Data.SQLite", "OpenGridServices\OpenGrid.Framework.Data.SQLite\OpenGrid.Framework.Data.SQLite.csproj", "{1E3F341A-0000-0000-0000-000000000000}" | 13 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.UserManagement", "OpenSim\Framework\UserManager\OpenSim.Framework.UserManagement.csproj", "{586E2916-0000-0000-0000-000000000000}" |
14 | EndProject | 14 | EndProject |
15 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.Manager", "OpenGridServices\OpenGrid.Framework.Manager\OpenGrid.Framework.Manager.csproj", "{7924FD35-0000-0000-0000-000000000000}" | 15 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Grid.AssetServer", "OpenSim\Grid\AssetServer\OpenSim.Grid.AssetServer.csproj", "{E5F1A03B-0000-0000-0000-000000000000}" |
16 | EndProject | 16 | EndProject |
17 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.UserManagement", "Common\OpenGrid.Framework.UserManager\OpenGrid.Framework.UserManagement.csproj", "{DA9A7391-0000-0000-0000-000000000000}" | 17 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Grid.Framework.Manager", "OpenSim\Grid\Framework.Manager\OpenSim.Grid.Framework.Manager.csproj", "{4B7BFD1C-0000-0000-0000-000000000000}" |
18 | EndProject | 18 | EndProject |
19 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGridServices.AssetServer", "OpenGridServices\OpenGridServices.AssetServer\OpenGridServices.AssetServer.csproj", "{0021261B-0000-0000-0000-000000000000}" | 19 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Grid.GridServer", "OpenSim\Grid\GridServer\OpenSim.Grid.GridServer.csproj", "{60FCC3A6-0000-0000-0000-000000000000}" |
20 | EndProject | 20 | EndProject |
21 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGridServices.GridServer", "OpenGridServices\OpenGridServices.GridServer\OpenGridServices.GridServer.csproj", "{21BFC8E2-0000-0000-0000-000000000000}" | 21 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Grid.GridServer.Config", "OpenSim\Grid\GridServer.Config\OpenSim.Grid.GridServer.Config.csproj", "{1442B635-0000-0000-0000-000000000000}" |
22 | EndProject | 22 | EndProject |
23 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGridServices.UserServer", "OpenGridServices\OpenGridServices.UserServer\OpenGridServices.UserServer.csproj", "{66591469-0000-0000-0000-000000000000}" | 23 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Grid.UserServer", "OpenSim\Grid\UserServer\OpenSim.Grid.UserServer.csproj", "{2FC96F92-0000-0000-0000-000000000000}" |
24 | EndProject | 24 | EndProject |
25 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenUser.Config.UserConfigDb4o", "OpenGridServices\OpenUser.Config\UserConfigDb4o\OpenUser.Config.UserConfigDb4o.csproj", "{7E494328-0000-0000-0000-000000000000}" | 25 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Grid.UserServer.Config", "OpenSim\Grid\UserServer.Config\OpenSim.Grid.UserServer.Config.csproj", "{08F87229-0000-0000-0000-000000000000}" |
26 | EndProject | 26 | EndProject |
27 | Global | 27 | Global |
28 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | 28 | GlobalSection(SolutionConfigurationPlatforms) = preSolution |
@@ -30,64 +30,65 @@ Global | |||
30 | Release|Any CPU = Release|Any CPU | 30 | Release|Any CPU = Release|Any CPU |
31 | EndGlobalSection | 31 | EndGlobalSection |
32 | GlobalSection(ProjectDependencies) = postSolution | 32 | GlobalSection(ProjectDependencies) = postSolution |
33 | ({39BD9497-0000-0000-0000-000000000000}).2 = ({62CDF671-0000-0000-0000-000000000000}) | 33 | ({FD2D303D-0000-0000-0000-000000000000}).2 = ({36B72A9B-0000-0000-0000-000000000000}) |
34 | ({0A563AC1-0000-0000-0000-000000000000}).1 = ({62CDF671-0000-0000-0000-000000000000}) | 34 | ({17F7F694-0000-0000-0000-000000000000}).1 = ({36B72A9B-0000-0000-0000-000000000000}) |
35 | ({0F3C3AC1-0000-0000-0000-000000000000}).2 = ({62CDF671-0000-0000-0000-000000000000}) | 35 | ({17F7F6BE-0000-0000-0000-000000000000}).2 = ({36B72A9B-0000-0000-0000-000000000000}) |
36 | ({1E3F341A-0000-0000-0000-000000000000}).1 = ({62CDF671-0000-0000-0000-000000000000}) | 36 | ({6ECC56A9-0000-0000-0000-000000000000}).1 = ({36B72A9B-0000-0000-0000-000000000000}) |
37 | ({DA9A7391-0000-0000-0000-000000000000}).2 = ({62CDF671-0000-0000-0000-000000000000}) | 37 | ({586E2916-0000-0000-0000-000000000000}).4 = ({36B72A9B-0000-0000-0000-000000000000}) |
38 | ({21BFC8E2-0000-0000-0000-000000000000}).2 = ({62CDF671-0000-0000-0000-000000000000}) | 38 | ({60FCC3A6-0000-0000-0000-000000000000}).4 = ({36B72A9B-0000-0000-0000-000000000000}) |
39 | ({21BFC8E2-0000-0000-0000-000000000000}).3 = ({7924FD35-0000-0000-0000-000000000000}) | 39 | ({60FCC3A6-0000-0000-0000-000000000000}).7 = ({4B7BFD1C-0000-0000-0000-000000000000}) |
40 | ({66591469-0000-0000-0000-000000000000}).2 = ({62CDF671-0000-0000-0000-000000000000}) | 40 | ({2FC96F92-0000-0000-0000-000000000000}).4 = ({36B72A9B-0000-0000-0000-000000000000}) |
41 | ({2FC96F92-0000-0000-0000-000000000000}).7 = ({586E2916-0000-0000-0000-000000000000}) | ||
41 | EndGlobalSection | 42 | EndGlobalSection |
42 | GlobalSection(ProjectConfigurationPlatforms) = postSolution | 43 | GlobalSection(ProjectConfigurationPlatforms) = postSolution |
43 | {B0027747-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 44 | {36B72A9B-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
44 | {B0027747-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 45 | {36B72A9B-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
45 | {B0027747-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 46 | {36B72A9B-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
46 | {B0027747-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 47 | {36B72A9B-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
47 | {62CDF671-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 48 | {FD2D303D-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
48 | {62CDF671-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 49 | {FD2D303D-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
49 | {62CDF671-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 50 | {FD2D303D-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
50 | {62CDF671-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 51 | {FD2D303D-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
51 | {39BD9497-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 52 | {17F7F694-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
52 | {39BD9497-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 53 | {17F7F694-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
53 | {39BD9497-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 54 | {17F7F694-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
54 | {39BD9497-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 55 | {17F7F694-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
55 | {0A563AC1-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 56 | {17F7F6BE-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
56 | {0A563AC1-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 57 | {17F7F6BE-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
57 | {0A563AC1-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 58 | {17F7F6BE-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
58 | {0A563AC1-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 59 | {17F7F6BE-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
59 | {0F3C3AC1-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 60 | {6ECC56A9-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
60 | {0F3C3AC1-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 61 | {6ECC56A9-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
61 | {0F3C3AC1-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 62 | {6ECC56A9-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
62 | {0F3C3AC1-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 63 | {6ECC56A9-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
63 | {1E3F341A-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 64 | {586E2916-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
64 | {1E3F341A-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 65 | {586E2916-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
65 | {1E3F341A-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 66 | {586E2916-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
66 | {1E3F341A-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 67 | {586E2916-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
67 | {7924FD35-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 68 | {E5F1A03B-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
68 | {7924FD35-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 69 | {E5F1A03B-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
69 | {7924FD35-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 70 | {E5F1A03B-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
70 | {7924FD35-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 71 | {E5F1A03B-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
71 | {DA9A7391-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 72 | {4B7BFD1C-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
72 | {DA9A7391-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 73 | {4B7BFD1C-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
73 | {DA9A7391-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 74 | {4B7BFD1C-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
74 | {DA9A7391-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 75 | {4B7BFD1C-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
75 | {0021261B-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 76 | {60FCC3A6-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
76 | {0021261B-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 77 | {60FCC3A6-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
77 | {0021261B-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 78 | {60FCC3A6-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
78 | {0021261B-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 79 | {60FCC3A6-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
79 | {21BFC8E2-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 80 | {1442B635-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
80 | {21BFC8E2-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 81 | {1442B635-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
81 | {21BFC8E2-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 82 | {1442B635-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
82 | {21BFC8E2-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 83 | {1442B635-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
83 | {66591469-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 84 | {2FC96F92-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
84 | {66591469-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 85 | {2FC96F92-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
85 | {66591469-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 86 | {2FC96F92-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
86 | {66591469-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 87 | {2FC96F92-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
87 | {7E494328-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 88 | {08F87229-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
88 | {7E494328-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 89 | {08F87229-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
89 | {7E494328-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 90 | {08F87229-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
90 | {7E494328-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 91 | {08F87229-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
91 | EndGlobalSection | 92 | EndGlobalSection |
92 | GlobalSection(SolutionProperties) = preSolution | 93 | GlobalSection(SolutionProperties) = preSolution |
93 | HideSolutionNode = FALSE | 94 | HideSolutionNode = FALSE |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj b/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj deleted file mode 100644 index c1fc2da..0000000 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj +++ /dev/null | |||
@@ -1,117 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{0F3C3AC1-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data.MySQL</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data.MySQL</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="libsecondlife.dll" > | ||
62 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="MySql.Data.dll" > | ||
66 | <HintPath>..\..\bin\MySql.Data.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System" > | ||
70 | <HintPath>System.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="System.Data" > | ||
74 | <HintPath>System.Data.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="System.Xml" > | ||
78 | <HintPath>System.Xml.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | </ItemGroup> | ||
82 | <ItemGroup> | ||
83 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | ||
84 | <Name>OpenGrid.Framework.Data</Name> | ||
85 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | </ItemGroup> | ||
90 | <ItemGroup> | ||
91 | <Compile Include="MySQLGridData.cs"> | ||
92 | <SubType>Code</SubType> | ||
93 | </Compile> | ||
94 | <Compile Include="MySQLInventoryData.cs"> | ||
95 | <SubType>Code</SubType> | ||
96 | </Compile> | ||
97 | <Compile Include="MySQLLogData.cs"> | ||
98 | <SubType>Code</SubType> | ||
99 | </Compile> | ||
100 | <Compile Include="MySQLManager.cs"> | ||
101 | <SubType>Code</SubType> | ||
102 | </Compile> | ||
103 | <Compile Include="MySQLUserData.cs"> | ||
104 | <SubType>Code</SubType> | ||
105 | </Compile> | ||
106 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
107 | <SubType>Code</SubType> | ||
108 | </Compile> | ||
109 | </ItemGroup> | ||
110 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
111 | <PropertyGroup> | ||
112 | <PreBuildEvent> | ||
113 | </PreBuildEvent> | ||
114 | <PostBuildEvent> | ||
115 | </PostBuildEvent> | ||
116 | </PropertyGroup> | ||
117 | </Project> | ||
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.r858 b/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.r858 deleted file mode 100644 index 7a36be2..0000000 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.r858 +++ /dev/null | |||
@@ -1,114 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{C669E5AC-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data.MySQL</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data.MySQL</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>False</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>True</Optimize> | ||
35 | <OutputPath>../../bin/</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>True</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>False</Optimize> | ||
53 | <OutputPath>../../bin/</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Xml" > | ||
66 | <HintPath>System.Xml.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Data" > | ||
70 | <HintPath>System.Data.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="libsecondlife.dll" > | ||
74 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="MySql.Data.dll" > | ||
78 | <HintPath>..\..\bin\MySql.Data.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | </ItemGroup> | ||
82 | <ItemGroup> | ||
83 | <ProjectReference Include="../OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj"> | ||
84 | <Name>OpenGrid.Framework.Data</Name> | ||
85 | <Project>{12DD8EB8-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | </ItemGroup> | ||
90 | <ItemGroup> | ||
91 | <Compile Include="MySQLGridData.cs"> | ||
92 | <SubType>Code</SubType> | ||
93 | </Compile> | ||
94 | <Compile Include="MySQLLogData.cs"> | ||
95 | <SubType>Code</SubType> | ||
96 | </Compile> | ||
97 | <Compile Include="MySQLManager.cs"> | ||
98 | <SubType>Code</SubType> | ||
99 | </Compile> | ||
100 | <Compile Include="MySQLUserData.cs"> | ||
101 | <SubType>Code</SubType> | ||
102 | </Compile> | ||
103 | <Compile Include="Properties/AssemblyInfo.cs"> | ||
104 | <SubType>Code</SubType> | ||
105 | </Compile> | ||
106 | </ItemGroup> | ||
107 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
108 | <PropertyGroup> | ||
109 | <PreBuildEvent> | ||
110 | </PreBuildEvent> | ||
111 | <PostBuildEvent> | ||
112 | </PostBuildEvent> | ||
113 | </PropertyGroup> | ||
114 | </Project> | ||
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.r921 b/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.r921 deleted file mode 100644 index 5fe0cf7..0000000 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.r921 +++ /dev/null | |||
@@ -1,117 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{0F3C3AC1-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data.MySQL</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data.MySQL</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Xml" > | ||
66 | <HintPath>System.Xml.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Data" > | ||
70 | <HintPath>System.Data.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="libsecondlife.dll" > | ||
74 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="MySql.Data.dll" > | ||
78 | <HintPath>..\..\bin\MySql.Data.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | </ItemGroup> | ||
82 | <ItemGroup> | ||
83 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | ||
84 | <Name>OpenGrid.Framework.Data</Name> | ||
85 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | </ItemGroup> | ||
90 | <ItemGroup> | ||
91 | <Compile Include="MySQLInventoryData.cs"> | ||
92 | <SubType>Code</SubType> | ||
93 | </Compile> | ||
94 | <Compile Include="MySQLUserData.cs"> | ||
95 | <SubType>Code</SubType> | ||
96 | </Compile> | ||
97 | <Compile Include="MySQLManager.cs"> | ||
98 | <SubType>Code</SubType> | ||
99 | </Compile> | ||
100 | <Compile Include="MySQLLogData.cs"> | ||
101 | <SubType>Code</SubType> | ||
102 | </Compile> | ||
103 | <Compile Include="MySQLGridData.cs"> | ||
104 | <SubType>Code</SubType> | ||
105 | </Compile> | ||
106 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
107 | <SubType>Code</SubType> | ||
108 | </Compile> | ||
109 | </ItemGroup> | ||
110 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
111 | <PropertyGroup> | ||
112 | <PreBuildEvent> | ||
113 | </PreBuildEvent> | ||
114 | <PostBuildEvent> | ||
115 | </PostBuildEvent> | ||
116 | </PropertyGroup> | ||
117 | </Project> | ||
diff --git a/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj b/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj deleted file mode 100644 index da42e05..0000000 --- a/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj +++ /dev/null | |||
@@ -1,108 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{1E3F341A-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data.SQLite</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data.SQLite</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="libsecondlife.dll" > | ||
62 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System" > | ||
66 | <HintPath>System.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Data" > | ||
70 | <HintPath>System.Data.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="System.Data.SQLite.dll" > | ||
74 | <HintPath>..\..\bin\System.Data.SQLite.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="System.Xml" > | ||
78 | <HintPath>System.Xml.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | </ItemGroup> | ||
82 | <ItemGroup> | ||
83 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | ||
84 | <Name>OpenGrid.Framework.Data</Name> | ||
85 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | </ItemGroup> | ||
90 | <ItemGroup> | ||
91 | <Compile Include="SQLiteGridData.cs"> | ||
92 | <SubType>Code</SubType> | ||
93 | </Compile> | ||
94 | <Compile Include="SQLiteManager.cs"> | ||
95 | <SubType>Code</SubType> | ||
96 | </Compile> | ||
97 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
98 | <SubType>Code</SubType> | ||
99 | </Compile> | ||
100 | </ItemGroup> | ||
101 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
102 | <PropertyGroup> | ||
103 | <PreBuildEvent> | ||
104 | </PreBuildEvent> | ||
105 | <PostBuildEvent> | ||
106 | </PostBuildEvent> | ||
107 | </PropertyGroup> | ||
108 | </Project> | ||
diff --git a/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.mine b/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.mine deleted file mode 100644 index 463cf86..0000000 --- a/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.mine +++ /dev/null | |||
@@ -1,108 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{1E3F341A-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data.SQLite</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data.SQLite</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Xml" > | ||
66 | <HintPath>System.Xml.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Data" > | ||
70 | <HintPath>System.Data.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="System.Data.SQLite.dll" > | ||
74 | <HintPath>..\..\bin\System.Data.SQLite.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="libsecondlife.dll" > | ||
78 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | </ItemGroup> | ||
82 | <ItemGroup> | ||
83 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | ||
84 | <Name>OpenGrid.Framework.Data</Name> | ||
85 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | </ItemGroup> | ||
90 | <ItemGroup> | ||
91 | <Compile Include="SQLiteGridData.cs"> | ||
92 | <SubType>Code</SubType> | ||
93 | </Compile> | ||
94 | <Compile Include="SQLiteManager.cs"> | ||
95 | <SubType>Code</SubType> | ||
96 | </Compile> | ||
97 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
98 | <SubType>Code</SubType> | ||
99 | </Compile> | ||
100 | </ItemGroup> | ||
101 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
102 | <PropertyGroup> | ||
103 | <PreBuildEvent> | ||
104 | </PreBuildEvent> | ||
105 | <PostBuildEvent> | ||
106 | </PostBuildEvent> | ||
107 | </PropertyGroup> | ||
108 | </Project> | ||
diff --git a/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.r858 b/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.r858 deleted file mode 100644 index a8d0541..0000000 --- a/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.r858 +++ /dev/null | |||
@@ -1,108 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{0ED96822-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGrid.Framework.Data.SQLite</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data.SQLite</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>False</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>True</Optimize> | ||
35 | <OutputPath>../../bin/</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>True</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>False</Optimize> | ||
53 | <OutputPath>../../bin/</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Xml" > | ||
66 | <HintPath>System.Xml.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Data" > | ||
70 | <HintPath>System.Data.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="System.Data.SQLite.dll" > | ||
74 | <HintPath>..\..\bin\System.Data.SQLite.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="libsecondlife.dll" > | ||
78 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | </ItemGroup> | ||
82 | <ItemGroup> | ||
83 | <ProjectReference Include="../OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj"> | ||
84 | <Name>OpenGrid.Framework.Data</Name> | ||
85 | <Project>{12DD8EB8-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | </ItemGroup> | ||
90 | <ItemGroup> | ||
91 | <Compile Include="SQLiteGridData.cs"> | ||
92 | <SubType>Code</SubType> | ||
93 | </Compile> | ||
94 | <Compile Include="SQLiteManager.cs"> | ||
95 | <SubType>Code</SubType> | ||
96 | </Compile> | ||
97 | <Compile Include="Properties/AssemblyInfo.cs"> | ||
98 | <SubType>Code</SubType> | ||
99 | </Compile> | ||
100 | </ItemGroup> | ||
101 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
102 | <PropertyGroup> | ||
103 | <PreBuildEvent> | ||
104 | </PreBuildEvent> | ||
105 | <PostBuildEvent> | ||
106 | </PostBuildEvent> | ||
107 | </PropertyGroup> | ||
108 | </Project> | ||
diff --git a/OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build b/OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build deleted file mode 100644 index 9430ab9..0000000 --- a/OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenGrid.Framework.Manager" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenGrid.Framework.Manager" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="GridManagementAgent.cs" /> | ||
15 | <include name="GridServerManager.cs" /> | ||
16 | </sources> | ||
17 | <references basedir="${project::get-base-directory()}"> | ||
18 | <lib> | ||
19 | <include name="${project::get-base-directory()}" /> | ||
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
21 | </lib> | ||
22 | <include name="../../bin/libsecondlife.dll" /> | ||
23 | <include name="../../bin/OpenSim.Framework.dll" /> | ||
24 | <include name="../../bin/OpenSim.Servers.dll" /> | ||
25 | <include name="System.dll" /> | ||
26 | <include name="../../bin/XMLRPC.dll" /> | ||
27 | </references> | ||
28 | </csc> | ||
29 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | ||
30 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | ||
31 | <copy todir="${project::get-base-directory()}/../../bin/"> | ||
32 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
33 | <include name="*.dll"/> | ||
34 | <include name="*.exe"/> | ||
35 | </fileset> | ||
36 | </copy> | ||
37 | </target> | ||
38 | <target name="clean"> | ||
39 | <delete dir="${bin.dir}" failonerror="false" /> | ||
40 | <delete dir="${obj.dir}" failonerror="false" /> | ||
41 | </target> | ||
42 | <target name="doc" description="Creates documentation."> | ||
43 | </target> | ||
44 | </project> | ||
diff --git a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.mine b/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.mine deleted file mode 100644 index 257f6e1..0000000 --- a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.mine +++ /dev/null | |||
@@ -1,122 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{0021261B-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGridServices.AssetServer</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Exe</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGridServices.AssetServer</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Data" > | ||
66 | <HintPath>System.Data.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Xml" > | ||
70 | <HintPath>System.Xml.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="OpenSim.Framework" > | ||
74 | <HintPath>OpenSim.Framework.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="OpenSim.Framework.Console" > | ||
78 | <HintPath>OpenSim.Framework.Console.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | <Reference Include="OpenSim.GridInterfaces.Local" > | ||
82 | <HintPath>OpenSim.GridInterfaces.Local.dll</HintPath> | ||
83 | <Private>False</Private> | ||
84 | </Reference> | ||
85 | <Reference Include="OpenSim.Servers" > | ||
86 | <HintPath>OpenSim.Servers.dll</HintPath> | ||
87 | <Private>False</Private> | ||
88 | </Reference> | ||
89 | <Reference Include="libsecondlife.dll" > | ||
90 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
91 | <Private>False</Private> | ||
92 | </Reference> | ||
93 | <Reference Include="Db4objects.Db4o.dll" > | ||
94 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | ||
95 | <Private>False</Private> | ||
96 | </Reference> | ||
97 | <Reference Include="XMLRPC" > | ||
98 | <HintPath>XMLRPC.dll</HintPath> | ||
99 | <Private>False</Private> | ||
100 | </Reference> | ||
101 | </ItemGroup> | ||
102 | <ItemGroup> | ||
103 | </ItemGroup> | ||
104 | <ItemGroup> | ||
105 | <Compile Include="AssetHttpServer.cs"> | ||
106 | <SubType>Code</SubType> | ||
107 | </Compile> | ||
108 | <Compile Include="Main.cs"> | ||
109 | <SubType>Code</SubType> | ||
110 | </Compile> | ||
111 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
112 | <SubType>Code</SubType> | ||
113 | </Compile> | ||
114 | </ItemGroup> | ||
115 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
116 | <PropertyGroup> | ||
117 | <PreBuildEvent> | ||
118 | </PreBuildEvent> | ||
119 | <PostBuildEvent> | ||
120 | </PostBuildEvent> | ||
121 | </PropertyGroup> | ||
122 | </Project> | ||
diff --git a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.r858 b/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.r858 deleted file mode 100644 index 2b382c4..0000000 --- a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.r858 +++ /dev/null | |||
@@ -1,122 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{7CDDE593-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGridServices.AssetServer</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Exe</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGridServices.AssetServer</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>False</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>True</Optimize> | ||
35 | <OutputPath>../../bin/</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>True</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>False</Optimize> | ||
53 | <OutputPath>../../bin/</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Data" > | ||
66 | <HintPath>System.Data.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Xml" > | ||
70 | <HintPath>System.Xml.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="OpenSim.Framework" > | ||
74 | <HintPath>OpenSim.Framework.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="OpenSim.Framework.Console" > | ||
78 | <HintPath>OpenSim.Framework.Console.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | <Reference Include="OpenSim.GridInterfaces.Local" > | ||
82 | <HintPath>OpenSim.GridInterfaces.Local.dll</HintPath> | ||
83 | <Private>False</Private> | ||
84 | </Reference> | ||
85 | <Reference Include="OpenSim.Servers" > | ||
86 | <HintPath>OpenSim.Servers.dll</HintPath> | ||
87 | <Private>False</Private> | ||
88 | </Reference> | ||
89 | <Reference Include="libsecondlife.dll" > | ||
90 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
91 | <Private>False</Private> | ||
92 | </Reference> | ||
93 | <Reference Include="Db4objects.Db4o.dll" > | ||
94 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | ||
95 | <Private>False</Private> | ||
96 | </Reference> | ||
97 | <Reference Include="XMLRPC" > | ||
98 | <HintPath>XMLRPC.dll</HintPath> | ||
99 | <Private>False</Private> | ||
100 | </Reference> | ||
101 | </ItemGroup> | ||
102 | <ItemGroup> | ||
103 | </ItemGroup> | ||
104 | <ItemGroup> | ||
105 | <Compile Include="AssetHttpServer.cs"> | ||
106 | <SubType>Code</SubType> | ||
107 | </Compile> | ||
108 | <Compile Include="Main.cs"> | ||
109 | <SubType>Code</SubType> | ||
110 | </Compile> | ||
111 | <Compile Include="Properties/AssemblyInfo.cs"> | ||
112 | <SubType>Code</SubType> | ||
113 | </Compile> | ||
114 | </ItemGroup> | ||
115 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
116 | <PropertyGroup> | ||
117 | <PreBuildEvent> | ||
118 | </PreBuildEvent> | ||
119 | <PostBuildEvent> | ||
120 | </PostBuildEvent> | ||
121 | </PropertyGroup> | ||
122 | </Project> | ||
diff --git a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.r921 b/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.r921 deleted file mode 100644 index 031e405..0000000 --- a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj.r921 +++ /dev/null | |||
@@ -1,122 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{0021261B-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGridServices.AssetServer</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Exe</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGridServices.AssetServer</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Data" > | ||
66 | <HintPath>System.Data.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Xml" > | ||
70 | <HintPath>System.Xml.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="OpenSim.Framework" > | ||
74 | <HintPath>OpenSim.Framework.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="OpenSim.Framework.Console" > | ||
78 | <HintPath>OpenSim.Framework.Console.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | <Reference Include="OpenSim.GridInterfaces.Local" > | ||
82 | <HintPath>OpenSim.GridInterfaces.Local.dll</HintPath> | ||
83 | <Private>False</Private> | ||
84 | </Reference> | ||
85 | <Reference Include="OpenSim.Servers" > | ||
86 | <HintPath>OpenSim.Servers.dll</HintPath> | ||
87 | <Private>False</Private> | ||
88 | </Reference> | ||
89 | <Reference Include="libsecondlife.dll" > | ||
90 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
91 | <Private>False</Private> | ||
92 | </Reference> | ||
93 | <Reference Include="Db4objects.Db4o.dll" > | ||
94 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | ||
95 | <Private>False</Private> | ||
96 | </Reference> | ||
97 | <Reference Include="XMLRPC" > | ||
98 | <HintPath>XMLRPC.dll</HintPath> | ||
99 | <Private>False</Private> | ||
100 | </Reference> | ||
101 | </ItemGroup> | ||
102 | <ItemGroup> | ||
103 | </ItemGroup> | ||
104 | <ItemGroup> | ||
105 | <Compile Include="Main.cs"> | ||
106 | <SubType>Code</SubType> | ||
107 | </Compile> | ||
108 | <Compile Include="AssetHttpServer.cs"> | ||
109 | <SubType>Code</SubType> | ||
110 | </Compile> | ||
111 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
112 | <SubType>Code</SubType> | ||
113 | </Compile> | ||
114 | </ItemGroup> | ||
115 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
116 | <PropertyGroup> | ||
117 | <PreBuildEvent> | ||
118 | </PreBuildEvent> | ||
119 | <PostBuildEvent> | ||
120 | </PostBuildEvent> | ||
121 | </PropertyGroup> | ||
122 | </Project> | ||
diff --git a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.GridServer.csproj b/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.GridServer.csproj deleted file mode 100644 index 9b8cc87..0000000 --- a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.GridServer.csproj +++ /dev/null | |||
@@ -1,126 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{21BFC8E2-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGridServices.GridServer</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Exe</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGridServices.GridServer</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Data" > | ||
66 | <HintPath>System.Data.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Xml" > | ||
70 | <HintPath>System.Xml.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="libsecondlife.dll" > | ||
74 | <HintPath>..\bin\libsecondlife.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="Db4objects.Db4o.dll" > | ||
78 | <HintPath>..\bin\Db4objects.Db4o.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | </ItemGroup> | ||
82 | <ItemGroup> | ||
83 | <ProjectReference Include="..\OpenSim.Framework\OpenSim.Framework.csproj"> | ||
84 | <Name>OpenSim.Framework</Name> | ||
85 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | <ProjectReference Include="..\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | ||
90 | <Name>OpenSim.Framework.Console</Name> | ||
91 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | ||
92 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
93 | <Private>False</Private> | ||
94 | </ProjectReference> | ||
95 | <ProjectReference Include="..\OpenSim.Servers\OpenSim.Servers.csproj"> | ||
96 | <Name>OpenSim.Servers</Name> | ||
97 | <Project>{8BB20F0A-0000-0000-0000-000000000000}</Project> | ||
98 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
99 | <Private>False</Private> | ||
100 | </ProjectReference> | ||
101 | <ProjectReference Include="..\XmlRpcCS\XMLRPC.csproj"> | ||
102 | <Name>XMLRPC</Name> | ||
103 | <Project>{8E81D43C-0000-0000-0000-000000000000}</Project> | ||
104 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
105 | <Private>False</Private> | ||
106 | </ProjectReference> | ||
107 | </ItemGroup> | ||
108 | <ItemGroup> | ||
109 | <Compile Include="Main.cs"> | ||
110 | <SubType>Code</SubType> | ||
111 | </Compile> | ||
112 | <Compile Include="SimProfiles.cs"> | ||
113 | <SubType>Code</SubType> | ||
114 | </Compile> | ||
115 | <Compile Include="Properties\AssemblyInfo.cs"> | ||
116 | <SubType>Code</SubType> | ||
117 | </Compile> | ||
118 | </ItemGroup> | ||
119 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
120 | <PropertyGroup> | ||
121 | <PreBuildEvent> | ||
122 | </PreBuildEvent> | ||
123 | <PostBuildEvent> | ||
124 | </PostBuildEvent> | ||
125 | </PropertyGroup> | ||
126 | </Project> | ||
diff --git a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.GridServer.exe.build b/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.GridServer.exe.build deleted file mode 100644 index 6bef534..0000000 --- a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.GridServer.exe.build +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenGridServices.GridServer" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> | ||
11 | <resources prefix="OpenGridServices.GridServer" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="Main.cs" /> | ||
15 | <include name="SimProfiles.cs" /> | ||
16 | <include name="Properties/AssemblyInfo.cs" /> | ||
17 | </sources> | ||
18 | <references basedir="${project::get-base-directory()}"> | ||
19 | <lib> | ||
20 | <include name="${project::get-base-directory()}" /> | ||
21 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
22 | </lib> | ||
23 | <include name="System.dll" /> | ||
24 | <include name="System.Data.dll" /> | ||
25 | <include name="System.Xml.dll" /> | ||
26 | <include name="../bin/OpenSim.Framework.dll" /> | ||
27 | <include name="../bin/OpenSim.Framework.Console.dll" /> | ||
28 | <include name="../bin/OpenSim.Servers.dll" /> | ||
29 | <include name="../bin/libsecondlife.dll" /> | ||
30 | <include name="../bin/Db4objects.Db4o.dll" /> | ||
31 | <include name="../bin/XMLRPC.dll" /> | ||
32 | </references> | ||
33 | </csc> | ||
34 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> | ||
35 | <mkdir dir="${project::get-base-directory()}/../bin/"/> | ||
36 | <copy todir="${project::get-base-directory()}/../bin/"> | ||
37 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
38 | <include name="*.dll"/> | ||
39 | <include name="*.exe"/> | ||
40 | </fileset> | ||
41 | </copy> | ||
42 | </target> | ||
43 | <target name="clean"> | ||
44 | <delete dir="${bin.dir}" failonerror="false" /> | ||
45 | <delete dir="${obj.dir}" failonerror="false" /> | ||
46 | </target> | ||
47 | <target name="doc" description="Creates documentation."> | ||
48 | </target> | ||
49 | </project> | ||
diff --git a/OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.csproj b/OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.csproj deleted file mode 100644 index 6aec357..0000000 --- a/OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.csproj +++ /dev/null | |||
@@ -1,125 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{338FA00B-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenGridServices.InventoryServer</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Exe</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenGridServices.InventoryServer</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="System" > | ||
62 | <HintPath>System.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System.Data" > | ||
66 | <HintPath>System.Data.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Xml" > | ||
70 | <HintPath>System.Xml.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="OpenSim.Framework" > | ||
74 | <HintPath>OpenSim.Framework.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | <Reference Include="OpenSim.Framework.Console" > | ||
78 | <HintPath>OpenSim.Framework.Console.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
81 | <Reference Include="OpenSim.GridInterfaces.Local" > | ||
82 | <HintPath>OpenSim.GridInterfaces.Local.dll</HintPath> | ||
83 | <Private>False</Private> | ||
84 | </Reference> | ||
85 | <Reference Include="OpenSim.Servers" > | ||
86 | <HintPath>OpenSim.Servers.dll</HintPath> | ||
87 | <Private>False</Private> | ||
88 | </Reference> | ||
89 | <Reference Include="libsecondlife.dll" > | ||
90 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
91 | <Private>False</Private> | ||
92 | </Reference> | ||
93 | <Reference Include="Db4objects.Db4o.dll" > | ||
94 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | ||
95 | <Private>False</Private> | ||
96 | </Reference> | ||
97 | <Reference Include="XMLRPC" > | ||
98 | <HintPath>XMLRPC.dll</HintPath> | ||
99 | <Private>False</Private> | ||
100 | </Reference> | ||
101 | </ItemGroup> | ||
102 | <ItemGroup> | ||
103 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | ||
104 | <Name>OpenGrid.Framework.Data</Name> | ||
105 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | ||
106 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
107 | <Private>False</Private> | ||
108 | </ProjectReference> | ||
109 | </ItemGroup> | ||
110 | <ItemGroup> | ||
111 | <Compile Include="Main.cs"> | ||
112 | <SubType>Code</SubType> | ||
113 | </Compile> | ||
114 | <Compile Include="InventoryManager.cs"> | ||
115 | <SubType>Code</SubType> | ||
116 | </Compile> | ||
117 | </ItemGroup> | ||
118 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
119 | <PropertyGroup> | ||
120 | <PreBuildEvent> | ||
121 | </PreBuildEvent> | ||
122 | <PostBuildEvent> | ||
123 | </PostBuildEvent> | ||
124 | </PropertyGroup> | ||
125 | </Project> | ||
diff --git a/OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.exe.build b/OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.exe.build deleted file mode 100644 index c23a862..0000000 --- a/OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.exe.build +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenGridServices.InventoryServer" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> | ||
11 | <resources prefix="OpenGridServices.InventoryServer" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="Main.cs" /> | ||
15 | <include name="InventoryManager.cs" /> | ||
16 | </sources> | ||
17 | <references basedir="${project::get-base-directory()}"> | ||
18 | <lib> | ||
19 | <include name="${project::get-base-directory()}" /> | ||
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
21 | </lib> | ||
22 | <include name="System.dll" /> | ||
23 | <include name="System.Data.dll" /> | ||
24 | <include name="System.Xml.dll" /> | ||
25 | <include name="../../bin/OpenSim.Framework.dll" /> | ||
26 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | ||
27 | <include name="../../bin/OpenSim.GridInterfaces.Local.dll" /> | ||
28 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | ||
29 | <include name="../../bin/OpenSim.Servers.dll" /> | ||
30 | <include name="../../bin/libsecondlife.dll" /> | ||
31 | <include name="../../bin/Db4objects.Db4o.dll" /> | ||
32 | <include name="../../bin/XMLRPC.dll" /> | ||
33 | </references> | ||
34 | </csc> | ||
35 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | ||
36 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | ||
37 | <copy todir="${project::get-base-directory()}/../../bin/"> | ||
38 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
39 | <include name="*.dll"/> | ||
40 | <include name="*.exe"/> | ||
41 | </fileset> | ||
42 | </copy> | ||
43 | </target> | ||
44 | <target name="clean"> | ||
45 | <delete dir="${bin.dir}" failonerror="false" /> | ||
46 | <delete dir="${obj.dir}" failonerror="false" /> | ||
47 | </target> | ||
48 | <target name="doc" description="Creates documentation."> | ||
49 | </target> | ||
50 | </project> | ||
diff --git a/OpenGridServices/OpenGridServices.UserServer/OGS-UserServer.csproj b/OpenGridServices/OpenGridServices.UserServer/OGS-UserServer.csproj deleted file mode 100644 index f4fa8b6..0000000 --- a/OpenGridServices/OpenGridServices.UserServer/OGS-UserServer.csproj +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
4 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
5 | <ProductVersion>8.0.50727</ProductVersion> | ||
6 | <SchemaVersion>2.0</SchemaVersion> | ||
7 | <ProjectGuid>{D45B6E48-5668-478D-B9CB-6D46E665FACF}</ProjectGuid> | ||
8 | <OutputType>Exe</OutputType> | ||
9 | <AppDesignerFolder>Properties</AppDesignerFolder> | ||
10 | <RootNamespace>OGS_UserServer</RootNamespace> | ||
11 | <AssemblyName>OGS-UserServer</AssemblyName> | ||
12 | <StartupObject>OpenGridServices.OpenUser_Main</StartupObject> | ||
13 | </PropertyGroup> | ||
14 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
15 | <DebugSymbols>true</DebugSymbols> | ||
16 | <DebugType>full</DebugType> | ||
17 | <Optimize>false</Optimize> | ||
18 | <OutputPath>bin\Debug\</OutputPath> | ||
19 | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||
20 | <ErrorReport>prompt</ErrorReport> | ||
21 | <WarningLevel>4</WarningLevel> | ||
22 | </PropertyGroup> | ||
23 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
24 | <DebugType>pdbonly</DebugType> | ||
25 | <Optimize>true</Optimize> | ||
26 | <OutputPath>bin\Release\</OutputPath> | ||
27 | <DefineConstants>TRACE</DefineConstants> | ||
28 | <ErrorReport>prompt</ErrorReport> | ||
29 | <WarningLevel>4</WarningLevel> | ||
30 | </PropertyGroup> | ||
31 | <ItemGroup> | ||
32 | <Reference Include="libsecondlife, Version=0.9.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
33 | <SpecificVersion>False</SpecificVersion> | ||
34 | <HintPath>..\..\common\bin\libsecondlife.dll</HintPath> | ||
35 | </Reference> | ||
36 | <Reference Include="System" /> | ||
37 | <Reference Include="System.Data" /> | ||
38 | <Reference Include="System.Xml" /> | ||
39 | </ItemGroup> | ||
40 | <ItemGroup> | ||
41 | <Compile Include="..\..\common\src\OGS-Console.cs"> | ||
42 | <Link>OGS-Console.cs</Link> | ||
43 | </Compile> | ||
44 | <Compile Include="..\..\common\VersionInfo\VersionInfo.cs"> | ||
45 | <Link>VersionInfo.cs</Link> | ||
46 | </Compile> | ||
47 | <Compile Include="ConsoleCmds.cs" /> | ||
48 | <Compile Include="Main.cs" /> | ||
49 | <Compile Include="Properties\AssemblyInfo.cs" /> | ||
50 | <Compile Include="UserHttp.cs" /> | ||
51 | </ItemGroup> | ||
52 | <ItemGroup> | ||
53 | <ProjectReference Include="..\..\..\OpenSim.FrameWork\OpenSim.Framework.csproj"> | ||
54 | <Project>{2E46A825-3168-492F-93BC-637126B5B72B}</Project> | ||
55 | <Name>OpenSim.Framework</Name> | ||
56 | </ProjectReference> | ||
57 | <ProjectReference Include="..\..\ServerConsole\ServerConsole.csproj"> | ||
58 | <Project>{7667E6E2-F227-41A2-B1B2-315613E1BAFC}</Project> | ||
59 | <Name>ServerConsole</Name> | ||
60 | </ProjectReference> | ||
61 | </ItemGroup> | ||
62 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
63 | </Project> \ No newline at end of file | ||
diff --git a/OpenSim.build b/OpenSim.build index d84663a..5803b42 100644 --- a/OpenSim.build +++ b/OpenSim.build | |||
@@ -46,61 +46,61 @@ | |||
46 | <echo message="Deleting all builds from all configurations" /> | 46 | <echo message="Deleting all builds from all configurations" /> |
47 | <delete dir="${bin.dir}" failonerror="false" /> | 47 | <delete dir="${bin.dir}" failonerror="false" /> |
48 | <delete dir="${obj.dir}" failonerror="false" /> | 48 | <delete dir="${obj.dir}" failonerror="false" /> |
49 | <nant buildfile="Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.dll.build" target="clean" /> | 49 | <nant buildfile="OpenSim/Region/Application/OpenSim.exe.build" target="clean" /> |
50 | <nant buildfile="Common/OpenGrid.Framework.Communications.OGS1/OpenGrid.Framework.Communications.OGS1.dll.build" target="clean" /> | 50 | <nant buildfile="OpenSim/Framework/General/OpenSim.Framework.dll.build" target="clean" /> |
51 | <nant buildfile="Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build" target="clean" /> | 51 | <nant buildfile="OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build" target="clean" /> |
52 | <nant buildfile="Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build" target="clean" /> | 52 | <nant buildfile="OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build" target="clean" /> |
53 | <nant buildfile="Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.dll.build" target="clean" /> | 53 | <nant buildfile="OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build" target="clean" /> |
54 | <nant buildfile="OpenSim/OpenSim/OpenSim.exe.build" target="clean" /> | 54 | <nant buildfile="OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build" target="clean" /> |
55 | <nant buildfile="OpenSim/OpenSim.Caches/OpenSim.Caches.dll.build" target="clean" /> | 55 | <nant buildfile="OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.dll.build" target="clean" /> |
56 | <nant buildfile="Common/OpenSim.Framework/OpenSim.Framework.dll.build" target="clean" /> | 56 | <nant buildfile="OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build" target="clean" /> |
57 | <nant buildfile="Common/OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="clean" /> | 57 | <nant buildfile="OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build" target="clean" /> |
58 | <nant buildfile="Common/OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.dll.build" target="clean" /> | 58 | <nant buildfile="OpenSim/Region/Caches/OpenSim.Region.Caches.dll.build" target="clean" /> |
59 | <nant buildfile="OpenSim/OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="clean" /> | 59 | <nant buildfile="OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build" target="clean" /> |
60 | <nant buildfile="OpenSim/OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="clean" /> | 60 | <nant buildfile="OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build" target="clean" /> |
61 | <nant buildfile="OpenSim/OpenSim.LocalCommunications/OpenSim.LocalCommunications.dll.build" target="clean" /> | 61 | <nant buildfile="OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build" target="clean" /> |
62 | <nant buildfile="OpenSim/OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="clean" /> | 62 | <nant buildfile="OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build" target="clean" /> |
63 | <nant buildfile="OpenSim/OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="clean" /> | 63 | <nant buildfile="OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build" target="clean" /> |
64 | <nant buildfile="OpenSim/OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="clean" /> | 64 | <nant buildfile="OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.dll.build" target="clean" /> |
65 | <nant buildfile="OpenSim/OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="clean" /> | 65 | <nant buildfile="OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.dll.build" target="clean" /> |
66 | <nant buildfile="OpenSim/OpenSim.Region/OpenSim.Region.dll.build" target="clean" /> | 66 | <nant buildfile="OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll.build" target="clean" /> |
67 | <nant buildfile="OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="clean" /> | 67 | <nant buildfile="OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.dll.build" target="clean" /> |
68 | <nant buildfile="Common/OpenSim.Servers/OpenSim.Servers.dll.build" target="clean" /> | 68 | <nant buildfile="OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.dll.build" target="clean" /> |
69 | <nant buildfile="OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.dll.build" target="clean" /> | 69 | <nant buildfile="OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.dll.build" target="clean" /> |
70 | <nant buildfile="OpenSim/OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="clean" /> | 70 | <nant buildfile="OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.dll.build" target="clean" /> |
71 | <nant buildfile="OpenSim/OpenSim.Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.dll.build" target="clean" /> | 71 | <nant buildfile="OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build" target="clean" /> |
72 | <nant buildfile="OpenSim/OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.dll.build" target="clean" /> | 72 | <nant buildfile="OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.dll.build" target="clean" /> |
73 | <nant buildfile="OpenSim/Examples/SimpleApp/SimpleApp.exe.build" target="clean" /> | 73 | <nant buildfile="OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.dll.build" target="clean" /> |
74 | <nant buildfile="Common/XmlRpcCS/XMLRPC.dll.build" target="clean" /> | 74 | <nant buildfile="OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build" target="clean" /> |
75 | </target> | 75 | </target> |
76 | 76 | ||
77 | <target name="build" depends="init" description=""> | 77 | <target name="build" depends="init" description=""> |
78 | <nant buildfile="Common/XmlRpcCS/XMLRPC.dll.build" target="build" /> | 78 | <nant buildfile="OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build" target="build" /> |
79 | <nant buildfile="Common/OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="build" /> | 79 | <nant buildfile="OpenSim/Framework/General/OpenSim.Framework.dll.build" target="build" /> |
80 | <nant buildfile="Common/OpenSim.Framework/OpenSim.Framework.dll.build" target="build" /> | 80 | <nant buildfile="OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build" target="build" /> |
81 | <nant buildfile="Common/OpenSim.Servers/OpenSim.Servers.dll.build" target="build" /> | 81 | <nant buildfile="OpenSim/Region/Caches/OpenSim.Region.Caches.dll.build" target="build" /> |
82 | <nant buildfile="OpenSim/OpenSim.Caches/OpenSim.Caches.dll.build" target="build" /> | 82 | <nant buildfile="OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build" target="build" /> |
83 | <nant buildfile="OpenSim/OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="build" /> | 83 | <nant buildfile="OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build" target="build" /> |
84 | <nant buildfile="OpenSim/OpenSim.Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.dll.build" target="build" /> | 84 | <nant buildfile="OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.dll.build" target="build" /> |
85 | <nant buildfile="OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.dll.build" target="build" /> | 85 | <nant buildfile="OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.dll.build" target="build" /> |
86 | <nant buildfile="OpenSim/OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="build" /> | 86 | <nant buildfile="OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.dll.build" target="build" /> |
87 | <nant buildfile="OpenSim/OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="build" /> | 87 | <nant buildfile="OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.dll.build" target="build" /> |
88 | <nant buildfile="OpenSim/OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="build" /> | 88 | <nant buildfile="OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.dll.build" target="build" /> |
89 | <nant buildfile="OpenSim/OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="build" /> | 89 | <nant buildfile="OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll.build" target="build" /> |
90 | <nant buildfile="OpenSim/OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="build" /> | 90 | <nant buildfile="OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.dll.build" target="build" /> |
91 | <nant buildfile="OpenSim/OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="build" /> | 91 | <nant buildfile="OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.dll.build" target="build" /> |
92 | <nant buildfile="Common/OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.dll.build" target="build" /> | 92 | <nant buildfile="OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.dll.build" target="build" /> |
93 | <nant buildfile="OpenSim/OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.dll.build" target="build" /> | 93 | <nant buildfile="OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.dll.build" target="build" /> |
94 | <nant buildfile="Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build" target="build" /> | 94 | <nant buildfile="OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build" target="build" /> |
95 | <nant buildfile="Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build" target="build" /> | 95 | <nant buildfile="OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build" target="build" /> |
96 | <nant buildfile="Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.dll.build" target="build" /> | 96 | <nant buildfile="OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build" target="build" /> |
97 | <nant buildfile="Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.dll.build" target="build" /> | 97 | <nant buildfile="OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build" target="build" /> |
98 | <nant buildfile="Common/OpenGrid.Framework.Communications.OGS1/OpenGrid.Framework.Communications.OGS1.dll.build" target="build" /> | 98 | <nant buildfile="OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build" target="build" /> |
99 | <nant buildfile="OpenSim/OpenSim.LocalCommunications/OpenSim.LocalCommunications.dll.build" target="build" /> | 99 | <nant buildfile="OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build" target="build" /> |
100 | <nant buildfile="OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="build" /> | 100 | <nant buildfile="OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build" target="build" /> |
101 | <nant buildfile="OpenSim/OpenSim.Region/OpenSim.Region.dll.build" target="build" /> | 101 | <nant buildfile="OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build" target="build" /> |
102 | <nant buildfile="OpenSim/OpenSim/OpenSim.exe.build" target="build" /> | 102 | <nant buildfile="OpenSim/Region/Application/OpenSim.exe.build" target="build" /> |
103 | <nant buildfile="OpenSim/Examples/SimpleApp/SimpleApp.exe.build" target="build" /> | 103 | <nant buildfile="OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build" target="build" /> |
104 | </target> | 104 | </target> |
105 | 105 | ||
106 | <target name="build-release" depends="Release, init, build" description="Builds in Release mode" /> | 106 | <target name="build-release" depends="Release, init, build" description="Builds in Release mode" /> |
@@ -111,32 +111,32 @@ | |||
111 | 111 | ||
112 | <target name="doc" depends="build-release"> | 112 | <target name="doc" depends="build-release"> |
113 | <echo message="Generating all documentation from all builds" /> | 113 | <echo message="Generating all documentation from all builds" /> |
114 | <nant buildfile="Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.dll.build" target="doc" /> | 114 | <nant buildfile="OpenSim/Region/Application/OpenSim.exe.build" target="doc" /> |
115 | <nant buildfile="Common/OpenGrid.Framework.Communications.OGS1/OpenGrid.Framework.Communications.OGS1.dll.build" target="doc" /> | 115 | <nant buildfile="OpenSim/Framework/General/OpenSim.Framework.dll.build" target="doc" /> |
116 | <nant buildfile="Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build" target="doc" /> | 116 | <nant buildfile="OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build" target="doc" /> |
117 | <nant buildfile="Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build" target="doc" /> | 117 | <nant buildfile="OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build" target="doc" /> |
118 | <nant buildfile="Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.dll.build" target="doc" /> | 118 | <nant buildfile="OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build" target="doc" /> |
119 | <nant buildfile="OpenSim/OpenSim/OpenSim.exe.build" target="doc" /> | 119 | <nant buildfile="OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build" target="doc" /> |
120 | <nant buildfile="OpenSim/OpenSim.Caches/OpenSim.Caches.dll.build" target="doc" /> | 120 | <nant buildfile="OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.dll.build" target="doc" /> |
121 | <nant buildfile="Common/OpenSim.Framework/OpenSim.Framework.dll.build" target="doc" /> | 121 | <nant buildfile="OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build" target="doc" /> |
122 | <nant buildfile="Common/OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="doc" /> | 122 | <nant buildfile="OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build" target="doc" /> |
123 | <nant buildfile="Common/OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.dll.build" target="doc" /> | 123 | <nant buildfile="OpenSim/Region/Caches/OpenSim.Region.Caches.dll.build" target="doc" /> |
124 | <nant buildfile="OpenSim/OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="doc" /> | 124 | <nant buildfile="OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build" target="doc" /> |
125 | <nant buildfile="OpenSim/OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="doc" /> | 125 | <nant buildfile="OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build" target="doc" /> |
126 | <nant buildfile="OpenSim/OpenSim.LocalCommunications/OpenSim.LocalCommunications.dll.build" target="doc" /> | 126 | <nant buildfile="OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build" target="doc" /> |
127 | <nant buildfile="OpenSim/OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="doc" /> | 127 | <nant buildfile="OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build" target="doc" /> |
128 | <nant buildfile="OpenSim/OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="doc" /> | 128 | <nant buildfile="OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build" target="doc" /> |
129 | <nant buildfile="OpenSim/OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="doc" /> | 129 | <nant buildfile="OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.dll.build" target="doc" /> |
130 | <nant buildfile="OpenSim/OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="doc" /> | 130 | <nant buildfile="OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.dll.build" target="doc" /> |
131 | <nant buildfile="OpenSim/OpenSim.Region/OpenSim.Region.dll.build" target="doc" /> | 131 | <nant buildfile="OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll.build" target="doc" /> |
132 | <nant buildfile="OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="doc" /> | 132 | <nant buildfile="OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.dll.build" target="doc" /> |
133 | <nant buildfile="Common/OpenSim.Servers/OpenSim.Servers.dll.build" target="doc" /> | 133 | <nant buildfile="OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.dll.build" target="doc" /> |
134 | <nant buildfile="OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.dll.build" target="doc" /> | 134 | <nant buildfile="OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.dll.build" target="doc" /> |
135 | <nant buildfile="OpenSim/OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="doc" /> | 135 | <nant buildfile="OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.dll.build" target="doc" /> |
136 | <nant buildfile="OpenSim/OpenSim.Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.dll.build" target="doc" /> | 136 | <nant buildfile="OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build" target="doc" /> |
137 | <nant buildfile="OpenSim/OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.dll.build" target="doc" /> | 137 | <nant buildfile="OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.dll.build" target="doc" /> |
138 | <nant buildfile="OpenSim/Examples/SimpleApp/SimpleApp.exe.build" target="doc" /> | 138 | <nant buildfile="OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.dll.build" target="doc" /> |
139 | <nant buildfile="Common/XmlRpcCS/XMLRPC.dll.build" target="doc" /> | 139 | <nant buildfile="OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build" target="doc" /> |
140 | </target> | 140 | </target> |
141 | 141 | ||
142 | </project> | 142 | </project> |
diff --git a/OpenSim.sln b/OpenSim.sln index 6ae3992..93a022d 100644 --- a/OpenSim.sln +++ b/OpenSim.sln | |||
@@ -1,169 +1,249 @@ | |||
1 | Microsoft Visual Studio Solution File, Format Version 9.00 | 1 | Microsoft Visual Studio Solution File, Format Version 9.00 |
2 | # Visual Studio 2005 | 2 | # Visual Studio 2005 |
3 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.Communications", "Common\OpenGrid.Framework.Communications\OpenGrid.Framework.Communications.csproj", "{683344D5-0000-0000-0000-000000000000}" | 3 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim", "OpenSim\Region\Application\OpenSim.csproj", "{438A9556-0000-0000-0000-000000000000}" |
4 | EndProject | 4 | EndProject |
5 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.Communications.OGS1", "Common\OpenGrid.Framework.Communications.OGS1\OpenGrid.Framework.Communications.OGS1.csproj", "{17442AF1-0000-0000-0000-000000000000}" | 5 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework", "OpenSim\Framework\General\OpenSim.Framework.csproj", "{8ACA2445-0000-0000-0000-000000000000}" |
6 | EndProject | 6 | EndProject |
7 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.Data", "Common\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj", "{62CDF671-0000-0000-0000-000000000000}" | 7 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Communications", "OpenSim\Framework\Communications\OpenSim.Framework.Communications.csproj", "{CB52B7E7-0000-0000-0000-000000000000}" |
8 | EndProject | 8 | EndProject |
9 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.Data.DB4o", "Common\OpenGrid.Framework.Data.DB4o\OpenGrid.Framework.Data.DB4o.csproj", "{39BD9497-0000-0000-0000-000000000000}" | 9 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Console", "OpenSim\Framework\Console\OpenSim.Framework.Console.csproj", "{A7CD0630-0000-0000-0000-000000000000}" |
10 | EndProject | 10 | EndProject |
11 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenGrid.Framework.UserManagement", "Common\OpenGrid.Framework.UserManager\OpenGrid.Framework.UserManagement.csproj", "{DA9A7391-0000-0000-0000-000000000000}" | 11 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Data", "OpenSim\Framework\Data\OpenSim.Framework.Data.csproj", "{36B72A9B-0000-0000-0000-000000000000}" |
12 | EndProject | 12 | EndProject |
13 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim", "OpenSim\OpenSim\OpenSim.csproj", "{438A9556-0000-0000-0000-000000000000}" | 13 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Data.DB4o", "OpenSim\Framework\Data.DB4o\OpenSim.Framework.Data.DB4o.csproj", "{FD2D303D-0000-0000-0000-000000000000}" |
14 | EndProject | 14 | EndProject |
15 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Caches", "OpenSim\OpenSim.Caches\OpenSim.Caches.csproj", "{1938EB12-0000-0000-0000-000000000000}" | 15 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.GenericConfig.Xml", "OpenSim\Framework\GenericConfig\Xml\OpenSim.Framework.GenericConfig.Xml.csproj", "{C74E4A30-0000-0000-0000-000000000000}" |
16 | EndProject | 16 | EndProject |
17 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework", "Common\OpenSim.Framework\OpenSim.Framework.csproj", "{8ACA2445-0000-0000-0000-000000000000}" | 17 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Servers", "OpenSim\Framework\Servers\OpenSim.Framework.Servers.csproj", "{2CC71860-0000-0000-0000-000000000000}" |
18 | EndProject | 18 | EndProject |
19 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.Console", "Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj", "{A7CD0630-0000-0000-0000-000000000000}" | 19 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Framework.UserManagement", "OpenSim\Framework\UserManager\OpenSim.Framework.UserManagement.csproj", "{586E2916-0000-0000-0000-000000000000}" |
20 | EndProject | 20 | EndProject |
21 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.GenericConfig.Xml", "Common\OpenSim.GenericConfig\Xml\OpenSim.GenericConfig.Xml.csproj", "{E88EF749-0000-0000-0000-000000000000}" | 21 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Caches", "OpenSim\Region\Caches\OpenSim.Region.Caches.csproj", "{61FCCDB3-0000-0000-0000-000000000000}" |
22 | EndProject | 22 | EndProject |
23 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.GridInterfaces.Local", "OpenSim\OpenSim.GridInterfaces\Local\OpenSim.GridInterfaces.Local.csproj", "{546099CD-0000-0000-0000-000000000000}" | 23 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Capabilities", "OpenSim\Region\Capabilities\OpenSim.Region.Capabilities.csproj", "{39038E85-0000-0000-0000-000000000000}" |
24 | EndProject | 24 | EndProject |
25 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.GridInterfaces.Remote", "OpenSim\OpenSim.GridInterfaces\Remote\OpenSim.GridInterfaces.Remote.csproj", "{B55C0B5D-0000-0000-0000-000000000000}" | 25 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.ClientStack", "OpenSim\Region\ClientStack\OpenSim.Region.ClientStack.csproj", "{DC3698B2-0000-0000-0000-000000000000}" |
26 | EndProject | 26 | EndProject |
27 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.LocalCommunications", "OpenSim\OpenSim.LocalCommunications\OpenSim.LocalCommunications.csproj", "{79CED992-0000-0000-0000-000000000000}" | 27 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Communications.Local", "OpenSim\Region\Communications\Local\OpenSim.Region.Communications.Local.csproj", "{BFB5D807-0000-0000-0000-000000000000}" |
28 | EndProject | 28 | EndProject |
29 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Physics.BasicPhysicsPlugin", "OpenSim\OpenSim.Physics\BasicPhysicsPlugin\OpenSim.Physics.BasicPhysicsPlugin.csproj", "{4F874463-0000-0000-0000-000000000000}" | 29 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Communications.OGS1", "OpenSim\Region\Communications\OGS1\OpenSim.Region.Communications.OGS1.csproj", "{4806E378-0000-0000-0000-000000000000}" |
30 | EndProject | 30 | EndProject |
31 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Physics.Manager", "OpenSim\OpenSim.Physics\Manager\OpenSim.Physics.Manager.csproj", "{8BE16150-0000-0000-0000-000000000000}" | 31 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Environment", "OpenSim\Region\Environment\OpenSim.Region.Environment.csproj", "{DCBA491C-0000-0000-0000-000000000000}" |
32 | EndProject | 32 | EndProject |
33 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Physics.OdePlugin", "OpenSim\OpenSim.Physics\OdePlugin\OpenSim.Physics.OdePlugin.csproj", "{63A05FE9-0000-0000-0000-000000000000}" | 33 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.GridInterfaces.Local", "OpenSim\Region\GridInterfaces\Local\OpenSim.Region.GridInterfaces.Local.csproj", "{241A8CDD-0000-0000-0000-000000000000}" |
34 | EndProject | 34 | EndProject |
35 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Physics.PhysXPlugin", "OpenSim\OpenSim.Physics\PhysXPlugin\OpenSim.Physics.PhysXPlugin.csproj", "{988F0AC4-0000-0000-0000-000000000000}" | 35 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.GridInterfaces.Remote", "OpenSim\Region\GridInterfaces\Remote\OpenSim.Region.GridInterfaces.Remote.csproj", "{98C7B681-0000-0000-0000-000000000000}" |
36 | EndProject | 36 | EndProject |
37 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region", "OpenSim\OpenSim.Region\OpenSim.Region.csproj", "{196916AF-0000-0000-0000-000000000000}" | 37 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Physics.BasicPhysicsPlugin", "OpenSim\Region\Physics\BasicPhysicsPlugin\OpenSim.Region.Physics.BasicPhysicsPlugin.csproj", "{15B4FEF3-0000-0000-0000-000000000000}" |
38 | EndProject | 38 | EndProject |
39 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.RegionServer", "OpenSim\OpenSim.RegionServer\OpenSim.RegionServer.csproj", "{632E1BFD-0000-0000-0000-000000000000}" | 39 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Physics.Manager", "OpenSim\Region\Physics\Manager\OpenSim.Region.Physics.Manager.csproj", "{F4FF31EB-0000-0000-0000-000000000000}" |
40 | EndProject | 40 | EndProject |
41 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Servers", "Common\OpenSim.Servers\OpenSim.Servers.csproj", "{8BB20F0A-0000-0000-0000-000000000000}" | 41 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Physics.OdePlugin", "OpenSim\Region\Physics\OdePlugin\OpenSim.Region.Physics.OdePlugin.csproj", "{90620634-0000-0000-0000-000000000000}" |
42 | EndProject | 42 | EndProject |
43 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Storage.LocalStorageBerkeleyDB", "OpenSim\OpenSim.Storage\LocalStorageBerkeleyDB\OpenSim.Storage.LocalStorageBerkeleyDB.csproj", "{EE9E5D96-0000-0000-0000-000000000000}" | 43 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Physics.PhysXPlugin", "OpenSim\Region\Physics\PhysXPlugin\OpenSim.Region.Physics.PhysXPlugin.csproj", "{A6D191D8-0000-0000-0000-000000000000}" |
44 | EndProject | 44 | EndProject |
45 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Storage.LocalStorageDb4o", "OpenSim\OpenSim.Storage\LocalStorageDb4o\OpenSim.Storage.LocalStorageDb4o.csproj", "{E1B79ECF-0000-0000-0000-000000000000}" | 45 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Storage.LocalStorageBerkeleyDB", "OpenSim\Region\Storage\LocalStorageBerkeleyDB\OpenSim.Region.Storage.LocalStorageBerkeleyDB.csproj", "{A4691E59-0000-0000-0000-000000000000}" |
46 | EndProject | 46 | EndProject |
47 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Storage.LocalStorageSQLite", "OpenSim\OpenSim.Storage\LocalStorageSQLite\OpenSim.Storage.LocalStorageSQLite.csproj", "{6B20B603-0000-0000-0000-000000000000}" | 47 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Storage.LocalStorageDb4o", "OpenSim\Region\Storage\LocalStorageDb4o\OpenSim.Region.Storage.LocalStorageDb4o.csproj", "{43DB702D-0000-0000-0000-000000000000}" |
48 | EndProject | 48 | EndProject |
49 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Terrain.BasicTerrain", "OpenSim\OpenSim.Terrain.BasicTerrain\OpenSim.Terrain.BasicTerrain.csproj", "{2270B8FE-0000-0000-0000-000000000000}" | 49 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Storage.LocalStorageSQLite", "OpenSim\Region\Storage\LocalStorageSQLite\OpenSim.Region.Storage.LocalStorageSQLite.csproj", "{477B9270-0000-0000-0000-000000000000}" |
50 | EndProject | 50 | EndProject |
51 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleApp", "OpenSim\Examples\SimpleApp\SimpleApp.csproj", "{24B12448-0000-0000-0000-000000000000}" | 51 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.Region.Terrain.BasicTerrain", "OpenSim\Region\Terrain.BasicTerrain\OpenSim.Region.Terrain.BasicTerrain.csproj", "{C9E0F891-0000-0000-0000-000000000000}" |
52 | EndProject | 52 | EndProject |
53 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XMLRPC", "Common\XmlRpcCS\XMLRPC.csproj", "{8E81D43C-0000-0000-0000-000000000000}" | 53 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleApp", "OpenSim\Region\Examples\SimpleApp\SimpleApp.csproj", "{24B12448-0000-0000-0000-000000000000}" |
54 | EndProject | 54 | EndProject |
55 | Global | 55 | Global |
56 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | 56 | GlobalSection(SolutionConfigurationPlatforms) = preSolution |
57 | Debug|Any CPU = Debug|Any CPU | 57 | Debug|Any CPU = Debug|Any CPU |
58 | Release|Any CPU = Release|Any CPU | 58 | Release|Any CPU = Release|Any CPU |
59 | EndGlobalSection | 59 | EndGlobalSection |
60 | GlobalSection(ProjectConfigurationPlatforms) = postSolution | 60 | GlobalSection(ProjectDependencies) = postSolution |
61 | {683344D5-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 61 | ({438A9556-0000-0000-0000-000000000000}).3 = ({8ACA2445-0000-0000-0000-000000000000}) |
62 | {683344D5-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 62 | ({438A9556-0000-0000-0000-000000000000}).4 = ({CB52B7E7-0000-0000-0000-000000000000}) |
63 | {683344D5-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 63 | ({438A9556-0000-0000-0000-000000000000}).5 = ({A7CD0630-0000-0000-0000-000000000000}) |
64 | {683344D5-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 64 | ({438A9556-0000-0000-0000-000000000000}).6 = ({36B72A9B-0000-0000-0000-000000000000}) |
65 | {17442AF1-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 65 | ({438A9556-0000-0000-0000-000000000000}).7 = ({C74E4A30-0000-0000-0000-000000000000}) |
66 | {17442AF1-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 66 | ({438A9556-0000-0000-0000-000000000000}).8 = ({2CC71860-0000-0000-0000-000000000000}) |
67 | {17442AF1-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 67 | ({438A9556-0000-0000-0000-000000000000}).9 = ({586E2916-0000-0000-0000-000000000000}) |
68 | {17442AF1-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 68 | ({438A9556-0000-0000-0000-000000000000}).10 = ({61FCCDB3-0000-0000-0000-000000000000}) |
69 | {62CDF671-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 69 | ({438A9556-0000-0000-0000-000000000000}).11 = ({DC3698B2-0000-0000-0000-000000000000}) |
70 | {62CDF671-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 70 | ({438A9556-0000-0000-0000-000000000000}).12 = ({BFB5D807-0000-0000-0000-000000000000}) |
71 | {62CDF671-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 71 | ({438A9556-0000-0000-0000-000000000000}).13 = ({4806E378-0000-0000-0000-000000000000}) |
72 | {62CDF671-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 72 | ({438A9556-0000-0000-0000-000000000000}).14 = ({DCBA491C-0000-0000-0000-000000000000}) |
73 | {39BD9497-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 73 | ({438A9556-0000-0000-0000-000000000000}).15 = ({F4FF31EB-0000-0000-0000-000000000000}) |
74 | {39BD9497-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 74 | ({438A9556-0000-0000-0000-000000000000}).16 = ({C9E0F891-0000-0000-0000-000000000000}) |
75 | {39BD9497-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 75 | ({8ACA2445-0000-0000-0000-000000000000}).2 = ({A7CD0630-0000-0000-0000-000000000000}) |
76 | {39BD9497-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 76 | ({CB52B7E7-0000-0000-0000-000000000000}).1 = ({8ACA2445-0000-0000-0000-000000000000}) |
77 | {DA9A7391-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 77 | ({CB52B7E7-0000-0000-0000-000000000000}).2 = ({36B72A9B-0000-0000-0000-000000000000}) |
78 | {DA9A7391-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 78 | ({FD2D303D-0000-0000-0000-000000000000}).2 = ({36B72A9B-0000-0000-0000-000000000000}) |
79 | {DA9A7391-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 79 | ({C74E4A30-0000-0000-0000-000000000000}).0 = ({8ACA2445-0000-0000-0000-000000000000}) |
80 | {DA9A7391-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 80 | ({2CC71860-0000-0000-0000-000000000000}).1 = ({8ACA2445-0000-0000-0000-000000000000}) |
81 | {438A9556-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 81 | ({2CC71860-0000-0000-0000-000000000000}).2 = ({A7CD0630-0000-0000-0000-000000000000}) |
82 | {438A9556-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 82 | ({586E2916-0000-0000-0000-000000000000}).2 = ({8ACA2445-0000-0000-0000-000000000000}) |
83 | {438A9556-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 83 | ({586E2916-0000-0000-0000-000000000000}).3 = ({A7CD0630-0000-0000-0000-000000000000}) |
84 | {438A9556-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 84 | ({586E2916-0000-0000-0000-000000000000}).4 = ({36B72A9B-0000-0000-0000-000000000000}) |
85 | {1938EB12-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 85 | ({586E2916-0000-0000-0000-000000000000}).5 = ({C74E4A30-0000-0000-0000-000000000000}) |
86 | {1938EB12-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 86 | ({586E2916-0000-0000-0000-000000000000}).6 = ({2CC71860-0000-0000-0000-000000000000}) |
87 | {1938EB12-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 87 | ({61FCCDB3-0000-0000-0000-000000000000}).1 = ({8ACA2445-0000-0000-0000-000000000000}) |
88 | {1938EB12-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 88 | ({39038E85-0000-0000-0000-000000000000}).1 = ({8ACA2445-0000-0000-0000-000000000000}) |
89 | {8ACA2445-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 89 | ({39038E85-0000-0000-0000-000000000000}).2 = ({2CC71860-0000-0000-0000-000000000000}) |
90 | {8ACA2445-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 90 | ({39038E85-0000-0000-0000-000000000000}).3 = ({61FCCDB3-0000-0000-0000-000000000000}) |
91 | {8ACA2445-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 91 | ({DC3698B2-0000-0000-0000-000000000000}).3 = ({8ACA2445-0000-0000-0000-000000000000}) |
92 | {8ACA2445-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 92 | ({DC3698B2-0000-0000-0000-000000000000}).4 = ({A7CD0630-0000-0000-0000-000000000000}) |
93 | {A7CD0630-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 93 | ({DC3698B2-0000-0000-0000-000000000000}).5 = ({2CC71860-0000-0000-0000-000000000000}) |
94 | {A7CD0630-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 94 | ({DC3698B2-0000-0000-0000-000000000000}).6 = ({61FCCDB3-0000-0000-0000-000000000000}) |
95 | {A7CD0630-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 95 | ({DC3698B2-0000-0000-0000-000000000000}).7 = ({F4FF31EB-0000-0000-0000-000000000000}) |
96 | {A7CD0630-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 96 | ({DC3698B2-0000-0000-0000-000000000000}).8 = ({C9E0F891-0000-0000-0000-000000000000}) |
97 | {E88EF749-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 97 | ({BFB5D807-0000-0000-0000-000000000000}).1 = ({8ACA2445-0000-0000-0000-000000000000}) |
98 | {E88EF749-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 98 | ({BFB5D807-0000-0000-0000-000000000000}).2 = ({CB52B7E7-0000-0000-0000-000000000000}) |
99 | {E88EF749-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 99 | ({BFB5D807-0000-0000-0000-000000000000}).3 = ({36B72A9B-0000-0000-0000-000000000000}) |
100 | {E88EF749-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 100 | ({BFB5D807-0000-0000-0000-000000000000}).4 = ({586E2916-0000-0000-0000-000000000000}) |
101 | {546099CD-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 101 | ({4806E378-0000-0000-0000-000000000000}).1 = ({8ACA2445-0000-0000-0000-000000000000}) |
102 | {546099CD-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 102 | ({4806E378-0000-0000-0000-000000000000}).2 = ({CB52B7E7-0000-0000-0000-000000000000}) |
103 | {546099CD-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 103 | ({4806E378-0000-0000-0000-000000000000}).3 = ({A7CD0630-0000-0000-0000-000000000000}) |
104 | {546099CD-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 104 | ({4806E378-0000-0000-0000-000000000000}).4 = ({36B72A9B-0000-0000-0000-000000000000}) |
105 | {B55C0B5D-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 105 | ({4806E378-0000-0000-0000-000000000000}).5 = ({2CC71860-0000-0000-0000-000000000000}) |
106 | {B55C0B5D-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 106 | ({DCBA491C-0000-0000-0000-000000000000}).4 = ({8ACA2445-0000-0000-0000-000000000000}) |
107 | {B55C0B5D-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 107 | ({DCBA491C-0000-0000-0000-000000000000}).5 = ({CB52B7E7-0000-0000-0000-000000000000}) |
108 | {B55C0B5D-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 108 | ({DCBA491C-0000-0000-0000-000000000000}).6 = ({A7CD0630-0000-0000-0000-000000000000}) |
109 | {79CED992-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 109 | ({DCBA491C-0000-0000-0000-000000000000}).7 = ({C74E4A30-0000-0000-0000-000000000000}) |
110 | {79CED992-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 110 | ({DCBA491C-0000-0000-0000-000000000000}).8 = ({2CC71860-0000-0000-0000-000000000000}) |
111 | {79CED992-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 111 | ({DCBA491C-0000-0000-0000-000000000000}).9 = ({61FCCDB3-0000-0000-0000-000000000000}) |
112 | {79CED992-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 112 | ({DCBA491C-0000-0000-0000-000000000000}).10 = ({39038E85-0000-0000-0000-000000000000}) |
113 | {4F874463-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 113 | ({DCBA491C-0000-0000-0000-000000000000}).11 = ({F4FF31EB-0000-0000-0000-000000000000}) |
114 | {4F874463-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 114 | ({DCBA491C-0000-0000-0000-000000000000}).12 = ({C9E0F891-0000-0000-0000-000000000000}) |
115 | {4F874463-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 115 | ({241A8CDD-0000-0000-0000-000000000000}).2 = ({8ACA2445-0000-0000-0000-000000000000}) |
116 | {4F874463-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 116 | ({241A8CDD-0000-0000-0000-000000000000}).3 = ({A7CD0630-0000-0000-0000-000000000000}) |
117 | {8BE16150-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 117 | ({98C7B681-0000-0000-0000-000000000000}).1 = ({8ACA2445-0000-0000-0000-000000000000}) |
118 | {8BE16150-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 118 | ({98C7B681-0000-0000-0000-000000000000}).2 = ({A7CD0630-0000-0000-0000-000000000000}) |
119 | {8BE16150-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 119 | ({15B4FEF3-0000-0000-0000-000000000000}).1 = ({F4FF31EB-0000-0000-0000-000000000000}) |
120 | {8BE16150-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 120 | ({F4FF31EB-0000-0000-0000-000000000000}).1 = ({8ACA2445-0000-0000-0000-000000000000}) |
121 | {63A05FE9-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 121 | ({F4FF31EB-0000-0000-0000-000000000000}).2 = ({A7CD0630-0000-0000-0000-000000000000}) |
122 | {63A05FE9-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 122 | ({90620634-0000-0000-0000-000000000000}).2 = ({F4FF31EB-0000-0000-0000-000000000000}) |
123 | {63A05FE9-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 123 | ({A6D191D8-0000-0000-0000-000000000000}).1 = ({F4FF31EB-0000-0000-0000-000000000000}) |
124 | {63A05FE9-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 124 | ({A4691E59-0000-0000-0000-000000000000}).3 = ({8ACA2445-0000-0000-0000-000000000000}) |
125 | {988F0AC4-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 125 | ({A4691E59-0000-0000-0000-000000000000}).4 = ({A7CD0630-0000-0000-0000-000000000000}) |
126 | {988F0AC4-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 126 | ({43DB702D-0000-0000-0000-000000000000}).2 = ({8ACA2445-0000-0000-0000-000000000000}) |
127 | {988F0AC4-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 127 | ({43DB702D-0000-0000-0000-000000000000}).3 = ({A7CD0630-0000-0000-0000-000000000000}) |
128 | {988F0AC4-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 128 | ({477B9270-0000-0000-0000-000000000000}).1 = ({8ACA2445-0000-0000-0000-000000000000}) |
129 | {196916AF-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 129 | ({477B9270-0000-0000-0000-000000000000}).2 = ({A7CD0630-0000-0000-0000-000000000000}) |
130 | {196916AF-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 130 | ({24B12448-0000-0000-0000-000000000000}).1 = ({8ACA2445-0000-0000-0000-000000000000}) |
131 | {196916AF-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 131 | ({24B12448-0000-0000-0000-000000000000}).2 = ({CB52B7E7-0000-0000-0000-000000000000}) |
132 | {196916AF-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 132 | ({24B12448-0000-0000-0000-000000000000}).3 = ({A7CD0630-0000-0000-0000-000000000000}) |
133 | {632E1BFD-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 133 | ({24B12448-0000-0000-0000-000000000000}).4 = ({2CC71860-0000-0000-0000-000000000000}) |
134 | {632E1BFD-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 134 | ({24B12448-0000-0000-0000-000000000000}).5 = ({61FCCDB3-0000-0000-0000-000000000000}) |
135 | {632E1BFD-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 135 | ({24B12448-0000-0000-0000-000000000000}).6 = ({DC3698B2-0000-0000-0000-000000000000}) |
136 | {632E1BFD-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 136 | ({24B12448-0000-0000-0000-000000000000}).7 = ({BFB5D807-0000-0000-0000-000000000000}) |
137 | {8BB20F0A-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 137 | ({24B12448-0000-0000-0000-000000000000}).8 = ({DCBA491C-0000-0000-0000-000000000000}) |
138 | {8BB20F0A-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 138 | ({24B12448-0000-0000-0000-000000000000}).9 = ({241A8CDD-0000-0000-0000-000000000000}) |
139 | {8BB20F0A-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 139 | EndGlobalSection |
140 | {8BB20F0A-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 140 | GlobalSection(ProjectConfigurationPlatforms) = postSolution |
141 | {EE9E5D96-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 141 | {438A9556-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
142 | {EE9E5D96-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 142 | {438A9556-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
143 | {EE9E5D96-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 143 | {438A9556-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
144 | {EE9E5D96-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 144 | {438A9556-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
145 | {E1B79ECF-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 145 | {8ACA2445-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
146 | {E1B79ECF-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 146 | {8ACA2445-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
147 | {E1B79ECF-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 147 | {8ACA2445-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
148 | {E1B79ECF-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 148 | {8ACA2445-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
149 | {6B20B603-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 149 | {CB52B7E7-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
150 | {6B20B603-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 150 | {CB52B7E7-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
151 | {6B20B603-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 151 | {CB52B7E7-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
152 | {6B20B603-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 152 | {CB52B7E7-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
153 | {2270B8FE-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 153 | {A7CD0630-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
154 | {2270B8FE-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 154 | {A7CD0630-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
155 | {2270B8FE-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 155 | {A7CD0630-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
156 | {2270B8FE-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 156 | {A7CD0630-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
157 | {24B12448-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 157 | {36B72A9B-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
158 | {24B12448-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 158 | {36B72A9B-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
159 | {24B12448-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 159 | {36B72A9B-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
160 | {24B12448-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 160 | {36B72A9B-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
161 | {8E81D43C-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 161 | {FD2D303D-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
162 | {8E81D43C-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | 162 | {FD2D303D-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
163 | {8E81D43C-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | 163 | {FD2D303D-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
164 | {8E81D43C-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | 164 | {FD2D303D-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
165 | EndGlobalSection | 165 | {C74E4A30-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
166 | GlobalSection(SolutionProperties) = preSolution | 166 | {C74E4A30-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU |
167 | HideSolutionNode = FALSE | 167 | {C74E4A30-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU |
168 | EndGlobalSection | 168 | {C74E4A30-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU |
169 | {2CC71860-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
170 | {2CC71860-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
171 | {2CC71860-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
172 | {2CC71860-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
173 | {586E2916-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
174 | {586E2916-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
175 | {586E2916-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
176 | {586E2916-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
177 | {61FCCDB3-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
178 | {61FCCDB3-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
179 | {61FCCDB3-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
180 | {61FCCDB3-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
181 | {39038E85-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
182 | {39038E85-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
183 | {39038E85-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
184 | {39038E85-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
185 | {DC3698B2-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
186 | {DC3698B2-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
187 | {DC3698B2-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
188 | {DC3698B2-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
189 | {BFB5D807-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
190 | {BFB5D807-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
191 | {BFB5D807-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
192 | {BFB5D807-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
193 | {4806E378-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
194 | {4806E378-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
195 | {4806E378-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
196 | {4806E378-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
197 | {DCBA491C-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
198 | {DCBA491C-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
199 | {DCBA491C-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
200 | {DCBA491C-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
201 | {241A8CDD-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
202 | {241A8CDD-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
203 | {241A8CDD-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
204 | {241A8CDD-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
205 | {98C7B681-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
206 | {98C7B681-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
207 | {98C7B681-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
208 | {98C7B681-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
209 | {15B4FEF3-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
210 | {15B4FEF3-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
211 | {15B4FEF3-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
212 | {15B4FEF3-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
213 | {F4FF31EB-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
214 | {F4FF31EB-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
215 | {F4FF31EB-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
216 | {F4FF31EB-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
217 | {90620634-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
218 | {90620634-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
219 | {90620634-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
220 | {90620634-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
221 | {A6D191D8-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
222 | {A6D191D8-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
223 | {A6D191D8-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
224 | {A6D191D8-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
225 | {A4691E59-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
226 | {A4691E59-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
227 | {A4691E59-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
228 | {A4691E59-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
229 | {43DB702D-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
230 | {43DB702D-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
231 | {43DB702D-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
232 | {43DB702D-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
233 | {477B9270-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
234 | {477B9270-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
235 | {477B9270-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
236 | {477B9270-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
237 | {C9E0F891-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
238 | {C9E0F891-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
239 | {C9E0F891-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
240 | {C9E0F891-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
241 | {24B12448-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
242 | {24B12448-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
243 | {24B12448-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
244 | {24B12448-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU | ||
245 | EndGlobalSection | ||
246 | GlobalSection(SolutionProperties) = preSolution | ||
247 | HideSolutionNode = FALSE | ||
248 | EndGlobalSection | ||
169 | EndGlobal | 249 | EndGlobal |
diff --git a/Common/OpenGrid.Framework.Communications/CommunicationsManager.cs b/OpenSim/Framework/Communications/CommunicationsManager.cs index 8d8a647..b17b37b 100644 --- a/Common/OpenGrid.Framework.Communications/CommunicationsManager.cs +++ b/OpenSim/Framework/Communications/CommunicationsManager.cs | |||
@@ -30,11 +30,13 @@ using System.Collections; | |||
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Text; | 31 | using System.Text; |
32 | using OpenSim.Framework; | 32 | using OpenSim.Framework; |
33 | using OpenSim.Framework.Data; | ||
33 | using OpenSim.Framework.Interfaces; | 34 | using OpenSim.Framework.Interfaces; |
34 | using OpenSim.Framework.Types; | 35 | using OpenSim.Framework.Types; |
35 | using libsecondlife; | 36 | using libsecondlife; |
37 | using libsecondlife.Packets; | ||
36 | 38 | ||
37 | namespace OpenGrid.Framework.Communications | 39 | namespace OpenSim.Framework.Communications |
38 | { | 40 | { |
39 | 41 | ||
40 | public class CommunicationsManager | 42 | public class CommunicationsManager |
@@ -43,9 +45,26 @@ namespace OpenGrid.Framework.Communications | |||
43 | public IGridServices GridServer; | 45 | public IGridServices GridServer; |
44 | public IInterRegionCommunications InterRegion; | 46 | public IInterRegionCommunications InterRegion; |
45 | 47 | ||
48 | public NetworkServersInfo ServersInfo; | ||
46 | public CommunicationsManager(NetworkServersInfo serversInfo) | 49 | public CommunicationsManager(NetworkServersInfo serversInfo) |
47 | { | 50 | { |
51 | ServersInfo = serversInfo; | ||
52 | } | ||
53 | |||
54 | #region Packet Handlers | ||
55 | public void HandleUUIDNameRequest(LLUUID uuid, IClientAPI remote_client) | ||
56 | { | ||
57 | UserProfileData profileData = this.UserServer.GetUserProfile(uuid); | ||
58 | if (profileData != null) | ||
59 | { | ||
60 | UUIDNameReplyPacket packet = new UUIDNameReplyPacket(); | ||
61 | packet.UUIDNameBlock[0].ID = profileData.UUID; | ||
62 | packet.UUIDNameBlock[0].FirstName = libsecondlife.Helpers.StringToField(profileData.username); | ||
63 | packet.UUIDNameBlock[0].LastName = libsecondlife.Helpers.StringToField(profileData.surname); | ||
64 | remote_client.OutPacket((Packet)packet); | ||
65 | } | ||
48 | 66 | ||
49 | } | 67 | } |
68 | #endregion | ||
50 | } | 69 | } |
51 | } | 70 | } |
diff --git a/Common/OpenGrid.Framework.Communications/IGridServices.cs b/OpenSim/Framework/Communications/IGridServices.cs index d3b7c07..a4812fb 100644 --- a/Common/OpenGrid.Framework.Communications/IGridServices.cs +++ b/OpenSim/Framework/Communications/IGridServices.cs | |||
@@ -32,7 +32,7 @@ using System.Text; | |||
32 | using OpenSim.Framework.Types; | 32 | using OpenSim.Framework.Types; |
33 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
34 | 34 | ||
35 | namespace OpenGrid.Framework.Communications | 35 | namespace OpenSim.Framework.Communications |
36 | { | 36 | { |
37 | public class GridInfo | 37 | public class GridInfo |
38 | { | 38 | { |
diff --git a/Common/OpenGrid.Framework.Communications/IInterRegionCommunications.cs b/OpenSim/Framework/Communications/IInterRegionCommunications.cs index 4cb8a38..7b0d340 100644 --- a/Common/OpenGrid.Framework.Communications/IInterRegionCommunications.cs +++ b/OpenSim/Framework/Communications/IInterRegionCommunications.cs | |||
@@ -31,7 +31,7 @@ using System.Text; | |||
31 | using OpenSim.Framework.Types; | 31 | using OpenSim.Framework.Types; |
32 | using OpenSim.Framework; | 32 | using OpenSim.Framework; |
33 | 33 | ||
34 | namespace OpenGrid.Framework.Communications | 34 | namespace OpenSim.Framework.Communications |
35 | { | 35 | { |
36 | public interface IInterRegionCommunications | 36 | public interface IInterRegionCommunications |
37 | { | 37 | { |
diff --git a/Common/OpenGrid.Framework.Communications/IUserServices.cs b/OpenSim/Framework/Communications/IUserServices.cs index 3d8e791..37f4942 100644 --- a/Common/OpenGrid.Framework.Communications/IUserServices.cs +++ b/OpenSim/Framework/Communications/IUserServices.cs | |||
@@ -30,15 +30,18 @@ using System.Collections.Generic; | |||
30 | using System.Text; | 30 | using System.Text; |
31 | using libsecondlife; | 31 | using libsecondlife; |
32 | 32 | ||
33 | using OpenGrid.Framework.Data; | 33 | using OpenSim.Framework.Data; |
34 | 34 | ||
35 | namespace OpenGrid.Framework.Communications | 35 | namespace OpenSim.Framework.Communications |
36 | { | 36 | { |
37 | public interface IUserServices | 37 | public interface IUserServices |
38 | { | 38 | { |
39 | UserProfileData GetUserProfile(string firstName, string lastName); | 39 | UserProfileData GetUserProfile(string firstName, string lastName); |
40 | UserProfileData GetUserProfile(string name); | 40 | UserProfileData GetUserProfile(string name); |
41 | UserProfileData GetUserProfile(LLUUID avatarID); | 41 | UserProfileData GetUserProfile(LLUUID avatarID); |
42 | 42 | ||
43 | UserProfileData SetupMasterUser(string firstName, string lastName); | ||
44 | UserProfileData SetupMasterUser(string firstName, string lastName, string password); | ||
45 | |||
43 | } | 46 | } |
44 | } | 47 | } |
diff --git a/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj b/OpenSim/Framework/Communications/OpenSim.Framework.Communications.csproj index 9a9568c..31ab172 100644 --- a/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj +++ b/OpenSim/Framework/Communications/OpenSim.Framework.Communications.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{683344D5-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{CB52B7E7-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Framework.Communications</AssemblyName> | 12 | <AssemblyName>OpenSim.Framework.Communications</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGrid.Framework.Communications</RootNamespace> | 19 | <RootNamespace>OpenSim.Framework.Communications</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libsecondlife.dll" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
@@ -72,15 +72,15 @@ | |||
72 | </Reference> | 72 | </Reference> |
73 | </ItemGroup> | 73 | </ItemGroup> |
74 | <ItemGroup> | 74 | <ItemGroup> |
75 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | 75 | <ProjectReference Include="..\General\OpenSim.Framework.csproj"> |
76 | <Name>OpenGrid.Framework.Data</Name> | 76 | <Name>OpenSim.Framework</Name> |
77 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | 77 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </ProjectReference> | 80 | </ProjectReference> |
81 | <ProjectReference Include="..\OpenSim.Framework\OpenSim.Framework.csproj"> | 81 | <ProjectReference Include="..\Data\OpenSim.Framework.Data.csproj"> |
82 | <Name>OpenSim.Framework</Name> | 82 | <Name>OpenSim.Framework.Data</Name> |
83 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 83 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
84 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 84 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
85 | <Private>False</Private> | 85 | <Private>False</Private> |
86 | </ProjectReference> | 86 | </ProjectReference> |
diff --git a/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.dll.build b/OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build index 392220b..52d29f6 100644 --- a/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.dll.build +++ b/OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenGrid.Framework.Communications" default="build"> | 2 | <project name="OpenSim.Framework.Communications" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenGrid.Framework.Communications" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Framework.Communications" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="CommunicationsManager.cs" /> | 14 | <include name="CommunicationsManager.cs" /> |
@@ -22,16 +22,16 @@ | |||
22 | <include name="${project::get-base-directory()}" /> | 22 | <include name="${project::get-base-directory()}" /> |
23 | <include name="${project::get-base-directory()}/${build.dir}" /> | 23 | <include name="${project::get-base-directory()}/${build.dir}" /> |
24 | </lib> | 24 | </lib> |
25 | <include name="../../bin/libsecondlife.dll" /> | 25 | <include name="../../../bin/libsecondlife.dll" /> |
26 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | 26 | <include name="../../../bin/OpenSim.Framework.dll" /> |
27 | <include name="../../bin/OpenSim.Framework.dll" /> | 27 | <include name="../../../bin/OpenSim.Framework.Data.dll" /> |
28 | <include name="System.dll" /> | 28 | <include name="System.dll" /> |
29 | <include name="System.Xml.dll" /> | 29 | <include name="System.Xml.dll" /> |
30 | </references> | 30 | </references> |
31 | </csc> | 31 | </csc> |
32 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 32 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
33 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 33 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
34 | <copy todir="${project::get-base-directory()}/../../bin/"> | 34 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
35 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 35 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
36 | <include name="*.dll"/> | 36 | <include name="*.dll"/> |
37 | <include name="*.exe"/> | 37 | <include name="*.exe"/> |
diff --git a/Common/OpenGrid.Framework.Communications/Properties/AssemblyInfo.cs b/OpenSim/Framework/Communications/Properties/AssemblyInfo.cs index 83e7dd4..83e7dd4 100644 --- a/Common/OpenGrid.Framework.Communications/Properties/AssemblyInfo.cs +++ b/OpenSim/Framework/Communications/Properties/AssemblyInfo.cs | |||
diff --git a/Common/OpenSim.Framework.Console/AssemblyInfo.cs b/OpenSim/Framework/Console/AssemblyInfo.cs index 8f715d2..8f715d2 100644 --- a/Common/OpenSim.Framework.Console/AssemblyInfo.cs +++ b/OpenSim/Framework/Console/AssemblyInfo.cs | |||
diff --git a/Common/OpenSim.Framework.Console/ConsoleCallbacksBase.cs b/OpenSim/Framework/Console/ConsoleCallbacksBase.cs index e3847be..e3847be 100644 --- a/Common/OpenSim.Framework.Console/ConsoleCallbacksBase.cs +++ b/OpenSim/Framework/Console/ConsoleCallbacksBase.cs | |||
diff --git a/Common/OpenSim.Framework.Console/LogBase.cs b/OpenSim/Framework/Console/LogBase.cs index 1a92d8e..1a92d8e 100644 --- a/Common/OpenSim.Framework.Console/LogBase.cs +++ b/OpenSim/Framework/Console/LogBase.cs | |||
diff --git a/Common/OpenSim.Framework.Console/MainLog.cs b/OpenSim/Framework/Console/MainLog.cs index d7f945e..d7f945e 100644 --- a/Common/OpenSim.Framework.Console/MainLog.cs +++ b/OpenSim/Framework/Console/MainLog.cs | |||
diff --git a/Common/OpenSim.Framework.Console/OpenSim.Framework.Console.csproj b/OpenSim/Framework/Console/OpenSim.Framework.Console.csproj index af6c396..f3dcec5 100644 --- a/Common/OpenSim.Framework.Console/OpenSim.Framework.Console.csproj +++ b/OpenSim/Framework/Console/OpenSim.Framework.Console.csproj | |||
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
diff --git a/Common/OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build b/OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build index 7ebdba1..eb40c0d 100644 --- a/Common/OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build +++ b/OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build | |||
@@ -24,9 +24,9 @@ | |||
24 | <include name="System.dll" /> | 24 | <include name="System.dll" /> |
25 | </references> | 25 | </references> |
26 | </csc> | 26 | </csc> |
27 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 27 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
28 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 28 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
29 | <copy todir="${project::get-base-directory()}/../../bin/"> | 29 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
30 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 30 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
31 | <include name="*.dll"/> | 31 | <include name="*.dll"/> |
32 | <include name="*.exe"/> | 32 | <include name="*.exe"/> |
diff --git a/Common/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs b/OpenSim/Framework/Data.DB4o/DB4oGridData.cs index 0e73ab2..dc8488e 100644 --- a/Common/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs +++ b/OpenSim/Framework/Data.DB4o/DB4oGridData.cs | |||
@@ -29,11 +29,11 @@ | |||
29 | using System; | 29 | using System; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Text; | 31 | using System.Text; |
32 | using OpenGrid.Framework.Data; | 32 | using OpenSim.Framework.Data; |
33 | using libsecondlife; | 33 | using libsecondlife; |
34 | 34 | ||
35 | 35 | ||
36 | namespace OpenGrid.Framework.Data.DB4o | 36 | namespace OpenSim.Framework.Data.DB4o |
37 | { | 37 | { |
38 | /// <summary> | 38 | /// <summary> |
39 | /// A grid server storage mechanism employing the DB4o database system | 39 | /// A grid server storage mechanism employing the DB4o database system |
diff --git a/Common/OpenGrid.Framework.Data.DB4o/DB4oManager.cs b/OpenSim/Framework/Data.DB4o/DB4oManager.cs index 356a49c..3870a8c 100644 --- a/Common/OpenGrid.Framework.Data.DB4o/DB4oManager.cs +++ b/OpenSim/Framework/Data.DB4o/DB4oManager.cs | |||
@@ -29,10 +29,10 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using Db4objects.Db4o; | 31 | using Db4objects.Db4o; |
32 | using OpenGrid.Framework.Data; | 32 | using OpenSim.Framework.Data; |
33 | using libsecondlife; | 33 | using libsecondlife; |
34 | 34 | ||
35 | namespace OpenGrid.Framework.Data.DB4o | 35 | namespace OpenSim.Framework.Data.DB4o |
36 | { | 36 | { |
37 | /// <summary> | 37 | /// <summary> |
38 | /// A Database manager for Db4o | 38 | /// A Database manager for Db4o |
diff --git a/Common/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs index 315f48d..8caa75d 100644 --- a/Common/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs +++ b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs | |||
@@ -28,10 +28,10 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenGrid.Framework.Data; | 31 | using OpenSim.Framework.Data; |
32 | using libsecondlife; | 32 | using libsecondlife; |
33 | 33 | ||
34 | namespace OpenGrid.Framework.Data.DB4o | 34 | namespace OpenSim.Framework.Data.DB4o |
35 | { | 35 | { |
36 | /// <summary> | 36 | /// <summary> |
37 | /// A User storage interface for the DB4o database system | 37 | /// A User storage interface for the DB4o database system |
diff --git a/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.mine b/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.csproj index 82d4f5f..b09cecf 100644 --- a/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.csproj.mine +++ b/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{39BD9497-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{FD2D303D-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Framework.Data.DB4o</AssemblyName> | 12 | <AssemblyName>OpenSim.Framework.Data.DB4o</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGrid.Framework.Data.DB4o</RootNamespace> | 19 | <RootNamespace>OpenSim.Framework.Data.DB4o</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -58,31 +58,31 @@ | |||
58 | <NoWarn></NoWarn> | 58 | <NoWarn></NoWarn> |
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="System" > | 61 | <Reference Include="Db4objects.Db4o.dll" > |
62 | <HintPath>System.dll</HintPath> | 62 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System.Xml" > | 65 | <Reference Include="libsecondlife.dll" > |
66 | <HintPath>System.Xml.dll</HintPath> | 66 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="System.Data" > | 69 | <Reference Include="System" > |
70 | <HintPath>System.Data.dll</HintPath> | 70 | <HintPath>System.dll</HintPath> |
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="libsecondlife.dll" > | 73 | <Reference Include="System.Data" > |
74 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 74 | <HintPath>System.Data.dll</HintPath> |
75 | <Private>False</Private> | 75 | <Private>False</Private> |
76 | </Reference> | 76 | </Reference> |
77 | <Reference Include="Db4objects.Db4o.dll" > | 77 | <Reference Include="System.Xml" > |
78 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | 78 | <HintPath>System.Xml.dll</HintPath> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </Reference> | 80 | </Reference> |
81 | </ItemGroup> | 81 | </ItemGroup> |
82 | <ItemGroup> | 82 | <ItemGroup> |
83 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | 83 | <ProjectReference Include="..\Data\OpenSim.Framework.Data.csproj"> |
84 | <Name>OpenGrid.Framework.Data</Name> | 84 | <Name>OpenSim.Framework.Data</Name> |
85 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | 85 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
87 | <Private>False</Private> | 87 | <Private>False</Private> |
88 | </ProjectReference> | 88 | </ProjectReference> |
diff --git a/OpenSim/OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build b/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build index 1a72d0a..f124eb5 100644 --- a/OpenSim/OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build +++ b/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.GridInterfaces.Local" default="build"> | 2 | <project name="OpenSim.Framework.Data.DB4o" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,11 +8,13 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.GridInterfaces.Local" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Framework.Data.DB4o" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="DB4oGridData.cs" /> |
15 | <include name="LocalAssetServer.cs" /> | 15 | <include name="DB4oManager.cs" /> |
16 | <include name="DB4oUserData.cs" /> | ||
17 | <include name="Properties/AssemblyInfo.cs" /> | ||
16 | </sources> | 18 | </sources> |
17 | <references basedir="${project::get-base-directory()}"> | 19 | <references basedir="${project::get-base-directory()}"> |
18 | <lib> | 20 | <lib> |
@@ -21,9 +23,9 @@ | |||
21 | </lib> | 23 | </lib> |
22 | <include name="../../../bin/Db4objects.Db4o.dll" /> | 24 | <include name="../../../bin/Db4objects.Db4o.dll" /> |
23 | <include name="../../../bin/libsecondlife.dll" /> | 25 | <include name="../../../bin/libsecondlife.dll" /> |
24 | <include name="../../../bin/OpenSim.Framework.dll" /> | 26 | <include name="../../../bin/OpenSim.Framework.Data.dll" /> |
25 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> | ||
26 | <include name="System.dll" /> | 27 | <include name="System.dll" /> |
28 | <include name="System.Data.dll" /> | ||
27 | <include name="System.Xml.dll" /> | 29 | <include name="System.Xml.dll" /> |
28 | </references> | 30 | </references> |
29 | </csc> | 31 | </csc> |
diff --git a/Common/OpenGrid.Framework.Data.DB4o/Properties/AssemblyInfo.cs b/OpenSim/Framework/Data.DB4o/Properties/AssemblyInfo.cs index dc4a9a1..68395a1 100644 --- a/Common/OpenGrid.Framework.Data.DB4o/Properties/AssemblyInfo.cs +++ b/OpenSim/Framework/Data.DB4o/Properties/AssemblyInfo.cs | |||
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices; | |||
5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 7 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("OpenGrid.Framework.Data.DB4o")] | 8 | [assembly: AssemblyTitle("OpenSim.Framework.Data.DB4o")] |
9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
11 | [assembly: AssemblyCompany("")] | 11 | [assembly: AssemblyCompany("")] |
12 | [assembly: AssemblyProduct("OpenGrid.Framework.Data.DB4o")] | 12 | [assembly: AssemblyProduct("OpenSim.Framework.Data.DB4o")] |
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | 13 | [assembly: AssemblyCopyright("Copyright © 2007")] |
14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MSSQL/MSSQLGridData.cs b/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs index 1dac4bd..5bdceaf 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MSSQL/MSSQLGridData.cs +++ b/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs | |||
@@ -28,9 +28,9 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenGrid.Framework.Data; | 31 | using OpenSim.Framework.Data; |
32 | 32 | ||
33 | namespace OpenGrid.Framework.Data.MSSQL | 33 | namespace OpenSim.Framework.Data.MSSQL |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// A grid data interface for Microsoft SQL Server | 36 | /// A grid data interface for Microsoft SQL Server |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs b/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs index 475a3e7..7cf1a56 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs +++ b/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs | |||
@@ -32,9 +32,9 @@ using System.Data; | |||
32 | 32 | ||
33 | using System.Data.SqlClient; | 33 | using System.Data.SqlClient; |
34 | 34 | ||
35 | using OpenGrid.Framework.Data; | 35 | using OpenSim.Framework.Data; |
36 | 36 | ||
37 | namespace OpenGrid.Framework.Data.MSSQL | 37 | namespace OpenSim.Framework.Data.MSSQL |
38 | { | 38 | { |
39 | /// <summary> | 39 | /// <summary> |
40 | /// A management class for the MS SQL Storage Engine | 40 | /// A management class for the MS SQL Storage Engine |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.csproj b/OpenSim/Framework/Data.MSSQL/OpenSim.Framework.Data.MSSQL.csproj index 64bb78e..4c41a4f 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.csproj +++ b/OpenSim/Framework/Data.MSSQL/OpenSim.Framework.Data.MSSQL.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{0A563AC1-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{17F7F694-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Framework.Data.MSSQL</AssemblyName> | 12 | <AssemblyName>OpenSim.Framework.Data.MSSQL</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGrid.Framework.Data.MSSQL</RootNamespace> | 19 | <RootNamespace>OpenSim.Framework.Data.MSSQL</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libsecondlife.dll" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
@@ -76,9 +76,9 @@ | |||
76 | </Reference> | 76 | </Reference> |
77 | </ItemGroup> | 77 | </ItemGroup> |
78 | <ItemGroup> | 78 | <ItemGroup> |
79 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | 79 | <ProjectReference Include="..\Data\OpenSim.Framework.Data.csproj"> |
80 | <Name>OpenGrid.Framework.Data</Name> | 80 | <Name>OpenSim.Framework.Data</Name> |
81 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | 81 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
82 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 82 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
83 | <Private>False</Private> | 83 | <Private>False</Private> |
84 | </ProjectReference> | 84 | </ProjectReference> |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.dll.build b/OpenSim/Framework/Data.MSSQL/OpenSim.Framework.Data.MSSQL.dll.build index 577da4b..a2b2e3d 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.dll.build +++ b/OpenSim/Framework/Data.MSSQL/OpenSim.Framework.Data.MSSQL.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenGrid.Framework.Data.MSSQL" default="build"> | 2 | <project name="OpenSim.Framework.Data.MSSQL" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenGrid.Framework.Data.MSSQL" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Framework.Data.MSSQL" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="MSSQLGridData.cs" /> | 14 | <include name="MSSQLGridData.cs" /> |
@@ -20,16 +20,16 @@ | |||
20 | <include name="${project::get-base-directory()}" /> | 20 | <include name="${project::get-base-directory()}" /> |
21 | <include name="${project::get-base-directory()}/${build.dir}" /> | 21 | <include name="${project::get-base-directory()}/${build.dir}" /> |
22 | </lib> | 22 | </lib> |
23 | <include name="../../bin/libsecondlife.dll" /> | 23 | <include name="../../../bin/libsecondlife.dll" /> |
24 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | 24 | <include name="../../../bin/OpenSim.Framework.Data.dll" /> |
25 | <include name="System.dll" /> | 25 | <include name="System.dll" /> |
26 | <include name="System.Data.dll" /> | 26 | <include name="System.Data.dll" /> |
27 | <include name="System.Xml.dll" /> | 27 | <include name="System.Xml.dll" /> |
28 | </references> | 28 | </references> |
29 | </csc> | 29 | </csc> |
30 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 30 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
31 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 31 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
32 | <copy todir="${project::get-base-directory()}/../../bin/"> | 32 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
33 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 33 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
34 | <include name="*.dll"/> | 34 | <include name="*.dll"/> |
35 | <include name="*.exe"/> | 35 | <include name="*.exe"/> |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MSSQL/Properties/AssemblyInfo.cs b/OpenSim/Framework/Data.MSSQL/Properties/AssemblyInfo.cs index bbe3cdf..af310e8 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MSSQL/Properties/AssemblyInfo.cs +++ b/OpenSim/Framework/Data.MSSQL/Properties/AssemblyInfo.cs | |||
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices; | |||
5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 7 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("OpenGrid.Framework.Data.MSSQL")] | 8 | [assembly: AssemblyTitle("OpenSim.Framework.Data.MSSQL")] |
9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
11 | [assembly: AssemblyCompany("")] | 11 | [assembly: AssemblyCompany("")] |
12 | [assembly: AssemblyProduct("OpenGrid.Framework.Data.MSSQL")] | 12 | [assembly: AssemblyProduct("OpenSim.Framework.Data.MSSQL")] |
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | 13 | [assembly: AssemblyCopyright("Copyright © 2007")] |
14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs b/OpenSim/Framework/Data.MySQL/MySQLGridData.cs index 4d6cf63..43e3054 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLGridData.cs | |||
@@ -28,9 +28,9 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenGrid.Framework.Data; | 31 | using OpenSim.Framework.Data; |
32 | 32 | ||
33 | namespace OpenGrid.Framework.Data.MySQL | 33 | namespace OpenSim.Framework.Data.MySQL |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// A MySQL Interface for the Grid Server | 36 | /// A MySQL Interface for the Grid Server |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLInventoryData.cs b/OpenSim/Framework/Data.MySQL/MySQLInventoryData.cs index fb429e4..434df1a 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLInventoryData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLInventoryData.cs | |||
@@ -30,7 +30,7 @@ using System.Collections.Generic; | |||
30 | using System.Text; | 30 | using System.Text; |
31 | using libsecondlife; | 31 | using libsecondlife; |
32 | 32 | ||
33 | namespace OpenGrid.Framework.Data.MySQL | 33 | namespace OpenSim.Framework.Data.MySQL |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// A MySQL interface for the inventory server | 36 | /// A MySQL interface for the inventory server |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLLogData.cs b/OpenSim/Framework/Data.MySQL/MySQLLogData.cs index c88b39f..8265614 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLLogData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLLogData.cs | |||
@@ -29,7 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | namespace OpenGrid.Framework.Data.MySQL | 32 | namespace OpenSim.Framework.Data.MySQL |
33 | { | 33 | { |
34 | /// <summary> | 34 | /// <summary> |
35 | /// An interface to the log database for MySQL | 35 | /// An interface to the log database for MySQL |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLManager.cs b/OpenSim/Framework/Data.MySQL/MySQLManager.cs index 53b3bdd..b2f398b 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLManager.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLManager.cs | |||
@@ -36,9 +36,9 @@ using MySql.Data; | |||
36 | using MySql.Data.Types; | 36 | using MySql.Data.Types; |
37 | using MySql.Data.MySqlClient; | 37 | using MySql.Data.MySqlClient; |
38 | 38 | ||
39 | using OpenGrid.Framework.Data; | 39 | using OpenSim.Framework.Data; |
40 | 40 | ||
41 | namespace OpenGrid.Framework.Data.MySQL | 41 | namespace OpenSim.Framework.Data.MySQL |
42 | { | 42 | { |
43 | /// <summary> | 43 | /// <summary> |
44 | /// A MySQL Database manager | 44 | /// A MySQL Database manager |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs index 032a0e6..0304452 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs | |||
@@ -28,10 +28,10 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenGrid.Framework.Data; | 31 | using OpenSim.Framework.Data; |
32 | using libsecondlife; | 32 | using libsecondlife; |
33 | 33 | ||
34 | namespace OpenGrid.Framework.Data.MySQL | 34 | namespace OpenSim.Framework.Data.MySQL |
35 | { | 35 | { |
36 | /// <summary> | 36 | /// <summary> |
37 | /// A database interface class to a user profile storage system | 37 | /// A database interface class to a user profile storage system |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.mine b/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.csproj index 75ef149..62e3887 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.csproj.mine +++ b/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{0F3C3AC1-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{17F7F6BE-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Framework.Data.MySQL</AssemblyName> | 12 | <AssemblyName>OpenSim.Framework.Data.MySQL</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGrid.Framework.Data.MySQL</RootNamespace> | 19 | <RootNamespace>OpenSim.Framework.Data.MySQL</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -58,31 +58,31 @@ | |||
58 | <NoWarn></NoWarn> | 58 | <NoWarn></NoWarn> |
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="System" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>System.dll</HintPath> | 62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System.Xml" > | 65 | <Reference Include="MySql.Data.dll" > |
66 | <HintPath>System.Xml.dll</HintPath> | 66 | <HintPath>..\..\..\bin\MySql.Data.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="System.Data" > | 69 | <Reference Include="System" > |
70 | <HintPath>System.Data.dll</HintPath> | 70 | <HintPath>System.dll</HintPath> |
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="libsecondlife.dll" > | 73 | <Reference Include="System.Data" > |
74 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 74 | <HintPath>System.Data.dll</HintPath> |
75 | <Private>False</Private> | 75 | <Private>False</Private> |
76 | </Reference> | 76 | </Reference> |
77 | <Reference Include="MySql.Data.dll" > | 77 | <Reference Include="System.Xml" > |
78 | <HintPath>..\..\bin\MySql.Data.dll</HintPath> | 78 | <HintPath>System.Xml.dll</HintPath> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </Reference> | 80 | </Reference> |
81 | </ItemGroup> | 81 | </ItemGroup> |
82 | <ItemGroup> | 82 | <ItemGroup> |
83 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | 83 | <ProjectReference Include="..\Data\OpenSim.Framework.Data.csproj"> |
84 | <Name>OpenGrid.Framework.Data</Name> | 84 | <Name>OpenSim.Framework.Data</Name> |
85 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | 85 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
87 | <Private>False</Private> | 87 | <Private>False</Private> |
88 | </ProjectReference> | 88 | </ProjectReference> |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.dll.build b/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.dll.build index a5f4028..594ec52 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.dll.build +++ b/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenGrid.Framework.Data.MySQL" default="build"> | 2 | <project name="OpenSim.Framework.Data.MySQL" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenGrid.Framework.Data.MySQL" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Framework.Data.MySQL" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="MySQLGridData.cs" /> | 14 | <include name="MySQLGridData.cs" /> |
@@ -23,17 +23,17 @@ | |||
23 | <include name="${project::get-base-directory()}" /> | 23 | <include name="${project::get-base-directory()}" /> |
24 | <include name="${project::get-base-directory()}/${build.dir}" /> | 24 | <include name="${project::get-base-directory()}/${build.dir}" /> |
25 | </lib> | 25 | </lib> |
26 | <include name="../../bin/libsecondlife.dll" /> | 26 | <include name="../../../bin/libsecondlife.dll" /> |
27 | <include name="../../bin/MySql.Data.dll" /> | 27 | <include name="../../../bin/MySql.Data.dll" /> |
28 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | 28 | <include name="../../../bin/OpenSim.Framework.Data.dll" /> |
29 | <include name="System.dll" /> | 29 | <include name="System.dll" /> |
30 | <include name="System.Data.dll" /> | 30 | <include name="System.Data.dll" /> |
31 | <include name="System.Xml.dll" /> | 31 | <include name="System.Xml.dll" /> |
32 | </references> | 32 | </references> |
33 | </csc> | 33 | </csc> |
34 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 34 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
35 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 35 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
36 | <copy todir="${project::get-base-directory()}/../../bin/"> | 36 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
37 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 37 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
38 | <include name="*.dll"/> | 38 | <include name="*.dll"/> |
39 | <include name="*.exe"/> | 39 | <include name="*.exe"/> |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/Properties/AssemblyInfo.cs b/OpenSim/Framework/Data.MySQL/Properties/AssemblyInfo.cs index 0bfd1d6..d67ccf6 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/Properties/AssemblyInfo.cs +++ b/OpenSim/Framework/Data.MySQL/Properties/AssemblyInfo.cs | |||
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices; | |||
5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 7 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("OpenGrid.Framework.Data.MySQL")] | 8 | [assembly: AssemblyTitle("OpenSim.Framework.Data.MySQL")] |
9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
11 | [assembly: AssemblyCompany("")] | 11 | [assembly: AssemblyCompany("")] |
12 | [assembly: AssemblyProduct("OpenGrid.Framework.Data.MySQL")] | 12 | [assembly: AssemblyProduct("OpenSim.Framework.Data.MySQL")] |
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | 13 | [assembly: AssemblyCopyright("Copyright © 2007")] |
14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.r921 b/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.csproj index fa17367..4ba24f1 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.csproj.r921 +++ b/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{1E3F341A-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{6ECC56A9-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Framework.Data.SQLite</AssemblyName> | 12 | <AssemblyName>OpenSim.Framework.Data.SQLite</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGrid.Framework.Data.SQLite</RootNamespace> | 19 | <RootNamespace>OpenSim.Framework.Data.SQLite</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -58,12 +58,12 @@ | |||
58 | <NoWarn></NoWarn> | 58 | <NoWarn></NoWarn> |
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="System" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>System.dll</HintPath> | 62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System.Xml" > | 65 | <Reference Include="System" > |
66 | <HintPath>System.Xml.dll</HintPath> | 66 | <HintPath>System.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="System.Data" > | 69 | <Reference Include="System.Data" > |
@@ -71,27 +71,27 @@ | |||
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="System.Data.SQLite.dll" > | 73 | <Reference Include="System.Data.SQLite.dll" > |
74 | <HintPath>..\..\bin\System.Data.SQLite.dll</HintPath> | 74 | <HintPath>..\..\..\bin\System.Data.SQLite.dll</HintPath> |
75 | <Private>False</Private> | 75 | <Private>False</Private> |
76 | </Reference> | 76 | </Reference> |
77 | <Reference Include="libsecondlife.dll" > | 77 | <Reference Include="System.Xml" > |
78 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 78 | <HintPath>System.Xml.dll</HintPath> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </Reference> | 80 | </Reference> |
81 | </ItemGroup> | 81 | </ItemGroup> |
82 | <ItemGroup> | 82 | <ItemGroup> |
83 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | 83 | <ProjectReference Include="..\Data\OpenSim.Framework.Data.csproj"> |
84 | <Name>OpenGrid.Framework.Data</Name> | 84 | <Name>OpenSim.Framework.Data</Name> |
85 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | 85 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
87 | <Private>False</Private> | 87 | <Private>False</Private> |
88 | </ProjectReference> | 88 | </ProjectReference> |
89 | </ItemGroup> | 89 | </ItemGroup> |
90 | <ItemGroup> | 90 | <ItemGroup> |
91 | <Compile Include="SQLiteManager.cs"> | 91 | <Compile Include="SQLiteGridData.cs"> |
92 | <SubType>Code</SubType> | 92 | <SubType>Code</SubType> |
93 | </Compile> | 93 | </Compile> |
94 | <Compile Include="SQLiteGridData.cs"> | 94 | <Compile Include="SQLiteManager.cs"> |
95 | <SubType>Code</SubType> | 95 | <SubType>Code</SubType> |
96 | </Compile> | 96 | </Compile> |
97 | <Compile Include="Properties\AssemblyInfo.cs"> | 97 | <Compile Include="Properties\AssemblyInfo.cs"> |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.dll.build b/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.dll.build index 79b0edf..e28d0a6 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.dll.build +++ b/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenGrid.Framework.Data.SQLite" default="build"> | 2 | <project name="OpenSim.Framework.Data.SQLite" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenGrid.Framework.Data.SQLite" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Framework.Data.SQLite" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="SQLiteGridData.cs" /> | 14 | <include name="SQLiteGridData.cs" /> |
@@ -20,17 +20,17 @@ | |||
20 | <include name="${project::get-base-directory()}" /> | 20 | <include name="${project::get-base-directory()}" /> |
21 | <include name="${project::get-base-directory()}/${build.dir}" /> | 21 | <include name="${project::get-base-directory()}/${build.dir}" /> |
22 | </lib> | 22 | </lib> |
23 | <include name="../../bin/libsecondlife.dll" /> | 23 | <include name="../../../bin/libsecondlife.dll" /> |
24 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | 24 | <include name="../../../bin/OpenSim.Framework.Data.dll" /> |
25 | <include name="System.dll" /> | 25 | <include name="System.dll" /> |
26 | <include name="System.Data.dll" /> | 26 | <include name="System.Data.dll" /> |
27 | <include name="../../bin/System.Data.SQLite.dll" /> | 27 | <include name="../../../bin/System.Data.SQLite.dll" /> |
28 | <include name="System.Xml.dll" /> | 28 | <include name="System.Xml.dll" /> |
29 | </references> | 29 | </references> |
30 | </csc> | 30 | </csc> |
31 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 31 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
32 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 32 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
33 | <copy todir="${project::get-base-directory()}/../../bin/"> | 33 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
34 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 34 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
35 | <include name="*.dll"/> | 35 | <include name="*.dll"/> |
36 | <include name="*.exe"/> | 36 | <include name="*.exe"/> |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.SQLite/Properties/AssemblyInfo.cs b/OpenSim/Framework/Data.SQLite/Properties/AssemblyInfo.cs index 57c4bae..f811825 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.SQLite/Properties/AssemblyInfo.cs +++ b/OpenSim/Framework/Data.SQLite/Properties/AssemblyInfo.cs | |||
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices; | |||
5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 7 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("OpenGrid.Framework.Data.SQLite")] | 8 | [assembly: AssemblyTitle("OpenSim.Framework.Data.SQLite")] |
9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
11 | [assembly: AssemblyCompany("")] | 11 | [assembly: AssemblyCompany("")] |
12 | [assembly: AssemblyProduct("OpenGrid.Framework.Data.SQLite")] | 12 | [assembly: AssemblyProduct("OpenSim.Framework.Data.SQLite")] |
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | 13 | [assembly: AssemblyCopyright("Copyright © 2007")] |
14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.SQLite/SQLiteGridData.cs b/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs index d7a5a69..800e26c 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.SQLite/SQLiteGridData.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs | |||
@@ -28,9 +28,9 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenGrid.Framework.Data; | 31 | using OpenSim.Framework.Data; |
32 | 32 | ||
33 | namespace OpenGrid.Framework.Data.SQLite | 33 | namespace OpenSim.Framework.Data.SQLite |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// A Grid Interface to the SQLite database | 36 | /// A Grid Interface to the SQLite database |
diff --git a/OpenGridServices/OpenGrid.Framework.Data.SQLite/SQLiteManager.cs b/OpenSim/Framework/Data.SQLite/SQLiteManager.cs index 9689356..b67b79c 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.SQLite/SQLiteManager.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteManager.cs | |||
@@ -32,9 +32,9 @@ using System.Data; | |||
32 | 32 | ||
33 | using System.Data.SQLite; | 33 | using System.Data.SQLite; |
34 | 34 | ||
35 | using OpenGrid.Framework.Data; | 35 | using OpenSim.Framework.Data; |
36 | 36 | ||
37 | namespace OpenGrid.Framework.Data.SQLite | 37 | namespace OpenSim.Framework.Data.SQLite |
38 | { | 38 | { |
39 | class SQLiteManager | 39 | class SQLiteManager |
40 | { | 40 | { |
diff --git a/Common/OpenGrid.Framework.Data/GridData.cs b/OpenSim/Framework/Data/GridData.cs index b2cce78..7f8fdaf 100644 --- a/Common/OpenGrid.Framework.Data/GridData.cs +++ b/OpenSim/Framework/Data/GridData.cs | |||
@@ -29,7 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | namespace OpenGrid.Framework.Data | 32 | namespace OpenSim.Framework.Data |
33 | { | 33 | { |
34 | public enum DataResponse | 34 | public enum DataResponse |
35 | { | 35 | { |
diff --git a/Common/OpenGrid.Framework.Data/ILogData.cs b/OpenSim/Framework/Data/ILogData.cs index 2ac0bfe..ccb3b84 100644 --- a/Common/OpenGrid.Framework.Data/ILogData.cs +++ b/OpenSim/Framework/Data/ILogData.cs | |||
@@ -29,7 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | namespace OpenGrid.Framework.Data | 32 | namespace OpenSim.Framework.Data |
33 | { | 33 | { |
34 | /// <summary> | 34 | /// <summary> |
35 | /// The severity of an individual log message | 35 | /// The severity of an individual log message |
diff --git a/Common/OpenGrid.Framework.Data/IniConfig.cs b/OpenSim/Framework/Data/IniConfig.cs index d17afac..2f002c1 100644 --- a/Common/OpenGrid.Framework.Data/IniConfig.cs +++ b/OpenSim/Framework/Data/IniConfig.cs | |||
@@ -36,7 +36,7 @@ using System.Text.RegularExpressions; | |||
36 | http://alexpinsker.blogspot.com/2005/12/reading-ini-file-from-c_113432097333021549.html | 36 | http://alexpinsker.blogspot.com/2005/12/reading-ini-file-from-c_113432097333021549.html |
37 | */ | 37 | */ |
38 | 38 | ||
39 | namespace OpenGrid.Framework.Data | 39 | namespace OpenSim.Framework.Data |
40 | { | 40 | { |
41 | /// <summary> | 41 | /// <summary> |
42 | /// Parse settings from ini-like files | 42 | /// Parse settings from ini-like files |
diff --git a/Common/OpenGrid.Framework.Data/InventoryData.cs b/OpenSim/Framework/Data/InventoryData.cs index 12f559b..8a3a664 100644 --- a/Common/OpenGrid.Framework.Data/InventoryData.cs +++ b/OpenSim/Framework/Data/InventoryData.cs | |||
@@ -30,7 +30,7 @@ using System.Collections.Generic; | |||
30 | using System.Text; | 30 | using System.Text; |
31 | using libsecondlife; | 31 | using libsecondlife; |
32 | 32 | ||
33 | namespace OpenGrid.Framework.Data | 33 | namespace OpenSim.Framework.Data |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// Inventory Item - contains all the properties associated with an individual inventory piece. | 36 | /// Inventory Item - contains all the properties associated with an individual inventory piece. |
diff --git a/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj b/OpenSim/Framework/Data/OpenSim.Framework.Data.csproj index 048722a..dcafbcd 100644 --- a/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj +++ b/OpenSim/Framework/Data/OpenSim.Framework.Data.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{62CDF671-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{36B72A9B-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Framework.Data</AssemblyName> | 12 | <AssemblyName>OpenSim.Framework.Data</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGrid.Framework.Data</RootNamespace> | 19 | <RootNamespace>OpenSim.Framework.Data</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libsecondlife.dll" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
diff --git a/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build b/OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build index 764e871..aefb02b 100644 --- a/Common/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build +++ b/OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenGrid.Framework.Data" default="build"> | 2 | <project name="OpenSim.Framework.Data" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenGrid.Framework.Data" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Framework.Data" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="GridData.cs" /> | 14 | <include name="GridData.cs" /> |
@@ -26,15 +26,15 @@ | |||
26 | <include name="${project::get-base-directory()}" /> | 26 | <include name="${project::get-base-directory()}" /> |
27 | <include name="${project::get-base-directory()}/${build.dir}" /> | 27 | <include name="${project::get-base-directory()}/${build.dir}" /> |
28 | </lib> | 28 | </lib> |
29 | <include name="../../bin/libsecondlife.dll" /> | 29 | <include name="../../../bin/libsecondlife.dll" /> |
30 | <include name="System.dll" /> | 30 | <include name="System.dll" /> |
31 | <include name="System.Data.dll" /> | 31 | <include name="System.Data.dll" /> |
32 | <include name="System.Xml.dll" /> | 32 | <include name="System.Xml.dll" /> |
33 | </references> | 33 | </references> |
34 | </csc> | 34 | </csc> |
35 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 35 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
36 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 36 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
37 | <copy todir="${project::get-base-directory()}/../../bin/"> | 37 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
38 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 38 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
39 | <include name="*.dll"/> | 39 | <include name="*.dll"/> |
40 | <include name="*.exe"/> | 40 | <include name="*.exe"/> |
diff --git a/Common/OpenGrid.Framework.Data/Properties/AssemblyInfo.cs b/OpenSim/Framework/Data/Properties/AssemblyInfo.cs index 1446673..7d749d5 100644 --- a/Common/OpenGrid.Framework.Data/Properties/AssemblyInfo.cs +++ b/OpenSim/Framework/Data/Properties/AssemblyInfo.cs | |||
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices; | |||
5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 7 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("OpenGrid.Framework.Data")] | 8 | [assembly: AssemblyTitle("OpenSim.Framework.Data")] |
9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
11 | [assembly: AssemblyCompany("")] | 11 | [assembly: AssemblyCompany("")] |
12 | [assembly: AssemblyProduct("OpenGrid.Framework.Data")] | 12 | [assembly: AssemblyProduct("OpenSim.Framework.Data")] |
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | 13 | [assembly: AssemblyCopyright("Copyright © 2007")] |
14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
diff --git a/Common/OpenGrid.Framework.Data/ReservationData.cs b/OpenSim/Framework/Data/ReservationData.cs index 89c6105..f404ebd 100644 --- a/Common/OpenGrid.Framework.Data/ReservationData.cs +++ b/OpenSim/Framework/Data/ReservationData.cs | |||
@@ -31,7 +31,7 @@ using System.Text; | |||
31 | 31 | ||
32 | using libsecondlife; | 32 | using libsecondlife; |
33 | 33 | ||
34 | namespace OpenGrid.Framework.Data | 34 | namespace OpenSim.Framework.Data |
35 | { | 35 | { |
36 | public class ReservationData | 36 | public class ReservationData |
37 | { | 37 | { |
diff --git a/Common/OpenGrid.Framework.Data/SimProfileData.cs b/OpenSim/Framework/Data/SimProfileData.cs index a3e7cb7..201aa01 100644 --- a/Common/OpenGrid.Framework.Data/SimProfileData.cs +++ b/OpenSim/Framework/Data/SimProfileData.cs | |||
@@ -29,7 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | namespace OpenGrid.Framework.Data | 32 | namespace OpenSim.Framework.Data |
33 | { | 33 | { |
34 | /// <summary> | 34 | /// <summary> |
35 | /// A class which contains information known to the grid server about a region | 35 | /// A class which contains information known to the grid server about a region |
diff --git a/Common/OpenGrid.Framework.Data/UserData.cs b/OpenSim/Framework/Data/UserData.cs index c2d5a72..2e15b47 100644 --- a/Common/OpenGrid.Framework.Data/UserData.cs +++ b/OpenSim/Framework/Data/UserData.cs | |||
@@ -30,7 +30,7 @@ using System.Collections.Generic; | |||
30 | using System.Text; | 30 | using System.Text; |
31 | using libsecondlife; | 31 | using libsecondlife; |
32 | 32 | ||
33 | namespace OpenGrid.Framework.Data | 33 | namespace OpenSim.Framework.Data |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// An interface for connecting to user storage servers. | 36 | /// An interface for connecting to user storage servers. |
diff --git a/Common/OpenGrid.Framework.Data/UserProfileData.cs b/OpenSim/Framework/Data/UserProfileData.cs index 82633e1..00d422d 100644 --- a/Common/OpenGrid.Framework.Data/UserProfileData.cs +++ b/OpenSim/Framework/Data/UserProfileData.cs | |||
@@ -30,7 +30,7 @@ using System.Collections.Generic; | |||
30 | using System.Text; | 30 | using System.Text; |
31 | using libsecondlife; | 31 | using libsecondlife; |
32 | 32 | ||
33 | namespace OpenGrid.Framework.Data | 33 | namespace OpenSim.Framework.Data |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// Information about a particular user known to the userserver | 36 | /// Information about a particular user known to the userserver |
diff --git a/Common/OpenSim.Framework/AgentInventory.cs b/OpenSim/Framework/General/AgentInventory.cs index fbf4d23..fbf4d23 100644 --- a/Common/OpenSim.Framework/AgentInventory.cs +++ b/OpenSim/Framework/General/AgentInventory.cs | |||
diff --git a/Common/OpenSim.Framework/AuthenticateSessionBase.cs b/OpenSim/Framework/General/AuthenticateSessionBase.cs index 73dd3e2..73dd3e2 100644 --- a/Common/OpenSim.Framework/AuthenticateSessionBase.cs +++ b/OpenSim/Framework/General/AuthenticateSessionBase.cs | |||
diff --git a/Common/OpenSim.Framework/BlockingQueue.cs b/OpenSim/Framework/General/BlockingQueue.cs index 667b8d8..667b8d8 100644 --- a/Common/OpenSim.Framework/BlockingQueue.cs +++ b/OpenSim/Framework/General/BlockingQueue.cs | |||
diff --git a/Common/OpenSim.Framework/IRegionCommsListener.cs b/OpenSim/Framework/General/IRegionCommsListener.cs index 0e80941..0e80941 100644 --- a/Common/OpenSim.Framework/IRegionCommsListener.cs +++ b/OpenSim/Framework/General/IRegionCommsListener.cs | |||
diff --git a/Common/OpenSim.Framework/Interfaces/AuthenticateResponse.cs b/OpenSim/Framework/General/Interfaces/AuthenticateResponse.cs index 462e2c5..462e2c5 100644 --- a/Common/OpenSim.Framework/Interfaces/AuthenticateResponse.cs +++ b/OpenSim/Framework/General/Interfaces/AuthenticateResponse.cs | |||
diff --git a/Common/OpenSim.Framework/Interfaces/Config/IGenericConfig.cs b/OpenSim/Framework/General/Interfaces/Config/IGenericConfig.cs index 13980fe..13980fe 100644 --- a/Common/OpenSim.Framework/Interfaces/Config/IGenericConfig.cs +++ b/OpenSim/Framework/General/Interfaces/Config/IGenericConfig.cs | |||
diff --git a/Common/OpenSim.Framework/Interfaces/Config/IGridConfig.cs b/OpenSim/Framework/General/Interfaces/Config/IGridConfig.cs index 0fafe1a..0fafe1a 100644 --- a/Common/OpenSim.Framework/Interfaces/Config/IGridConfig.cs +++ b/OpenSim/Framework/General/Interfaces/Config/IGridConfig.cs | |||
diff --git a/Common/OpenSim.Framework/Interfaces/Config/IUserConfig.cs b/OpenSim/Framework/General/Interfaces/Config/IUserConfig.cs index 2f4b340..2f4b340 100644 --- a/Common/OpenSim.Framework/Interfaces/Config/IUserConfig.cs +++ b/OpenSim/Framework/General/Interfaces/Config/IUserConfig.cs | |||
diff --git a/Common/OpenSim.Framework/Interfaces/IAssetServer.cs b/OpenSim/Framework/General/Interfaces/IAssetServer.cs index 826392d..826392d 100644 --- a/Common/OpenSim.Framework/Interfaces/IAssetServer.cs +++ b/OpenSim/Framework/General/Interfaces/IAssetServer.cs | |||
diff --git a/Common/OpenSim.Framework/Interfaces/IClientAPI.cs b/OpenSim/Framework/General/Interfaces/IClientAPI.cs index 009648c..4e8ac1a 100644 --- a/Common/OpenSim.Framework/Interfaces/IClientAPI.cs +++ b/OpenSim/Framework/General/Interfaces/IClientAPI.cs | |||
@@ -69,6 +69,8 @@ namespace OpenSim.Framework.Interfaces | |||
69 | 69 | ||
70 | public delegate void EstateOwnerMessageRequest(EstateOwnerMessagePacket packet, IClientAPI remote_client); | 70 | public delegate void EstateOwnerMessageRequest(EstateOwnerMessagePacket packet, IClientAPI remote_client); |
71 | 71 | ||
72 | public delegate void UUIDNameRequest(LLUUID id, IClientAPI remote_client); | ||
73 | |||
72 | public interface IClientAPI | 74 | public interface IClientAPI |
73 | { | 75 | { |
74 | event ChatFromViewer OnChatFromViewer; | 76 | event ChatFromViewer OnChatFromViewer; |
@@ -103,6 +105,8 @@ namespace OpenSim.Framework.Interfaces | |||
103 | event NewAvatar OnNewAvatar; | 105 | event NewAvatar OnNewAvatar; |
104 | event GenericCall6 OnRemoveAvatar; | 106 | event GenericCall6 OnRemoveAvatar; |
105 | 107 | ||
108 | event UUIDNameRequest OnNameFromUUIDRequest; | ||
109 | |||
106 | event ParcelPropertiesRequest OnParcelPropertiesRequest; | 110 | event ParcelPropertiesRequest OnParcelPropertiesRequest; |
107 | event ParcelDivideRequest OnParcelDivideRequest; | 111 | event ParcelDivideRequest OnParcelDivideRequest; |
108 | event ParcelJoinRequest OnParcelJoinRequest; | 112 | event ParcelJoinRequest OnParcelJoinRequest; |
diff --git a/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs b/OpenSim/Framework/General/Interfaces/ILocalStorage.cs index 4987d10..4987d10 100644 --- a/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs +++ b/OpenSim/Framework/General/Interfaces/ILocalStorage.cs | |||
diff --git a/Common/OpenSim.Framework/Interfaces/IUserServer.cs b/OpenSim/Framework/General/Interfaces/IUserServer.cs index c6e2223..c6e2223 100644 --- a/Common/OpenSim.Framework/Interfaces/IUserServer.cs +++ b/OpenSim/Framework/General/Interfaces/IUserServer.cs | |||
diff --git a/Common/OpenSim.Framework/Interfaces/IWorld.cs b/OpenSim/Framework/General/Interfaces/IWorld.cs index 4857417..4857417 100644 --- a/Common/OpenSim.Framework/Interfaces/IWorld.cs +++ b/OpenSim/Framework/General/Interfaces/IWorld.cs | |||
diff --git a/Common/OpenSim.Framework/Logger.cs b/OpenSim/Framework/General/Logger.cs index e7eaa03..e7eaa03 100644 --- a/Common/OpenSim.Framework/Logger.cs +++ b/OpenSim/Framework/General/Logger.cs | |||
diff --git a/Common/OpenSim.Framework/LoginService.cs b/OpenSim/Framework/General/LoginService.cs index f14754f..f14754f 100644 --- a/Common/OpenSim.Framework/LoginService.cs +++ b/OpenSim/Framework/General/LoginService.cs | |||
diff --git a/Common/OpenSim.Framework/OpenSim.Framework.csproj b/OpenSim/Framework/General/OpenSim.Framework.csproj index 7ebe0ee..48db634 100644 --- a/Common/OpenSim.Framework/OpenSim.Framework.csproj +++ b/OpenSim/Framework/General/OpenSim.Framework.csproj | |||
@@ -1,4 +1,4 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
2 | <PropertyGroup> | 2 | <PropertyGroup> |
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
@@ -6,8 +6,7 @@ | |||
6 | <ProjectGuid>{8ACA2445-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{8ACA2445-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | </ApplicationIcon> | ||
11 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
12 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
13 | <AssemblyName>OpenSim.Framework</AssemblyName> | 12 | <AssemblyName>OpenSim.Framework</AssemblyName> |
@@ -16,11 +15,9 @@ | |||
16 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
17 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
18 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
19 | <AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
20 | </AppDesignerFolder> | ||
21 | <RootNamespace>OpenSim.Framework</RootNamespace> | 19 | <RootNamespace>OpenSim.Framework</RootNamespace> |
22 | <StartupObject> | 20 | <StartupObject></StartupObject> |
23 | </StartupObject> | ||
24 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
25 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
26 | </PropertyGroup> | 23 | </PropertyGroup> |
@@ -31,18 +28,16 @@ | |||
31 | <ConfigurationOverrideFile> | 28 | <ConfigurationOverrideFile> |
32 | </ConfigurationOverrideFile> | 29 | </ConfigurationOverrideFile> |
33 | <DefineConstants>TRACE;DEBUG</DefineConstants> | 30 | <DefineConstants>TRACE;DEBUG</DefineConstants> |
34 | <DocumentationFile> | 31 | <DocumentationFile></DocumentationFile> |
35 | </DocumentationFile> | ||
36 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
37 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
38 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
39 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
40 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
41 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
42 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
43 | <WarningLevel>4</WarningLevel> | 39 | <WarningLevel>4</WarningLevel> |
44 | <NoWarn> | 40 | <NoWarn></NoWarn> |
45 | </NoWarn> | ||
46 | </PropertyGroup> | 41 | </PropertyGroup> |
47 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | 42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
48 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | 43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> |
@@ -51,49 +46,45 @@ | |||
51 | <ConfigurationOverrideFile> | 46 | <ConfigurationOverrideFile> |
52 | </ConfigurationOverrideFile> | 47 | </ConfigurationOverrideFile> |
53 | <DefineConstants>TRACE</DefineConstants> | 48 | <DefineConstants>TRACE</DefineConstants> |
54 | <DocumentationFile> | 49 | <DocumentationFile></DocumentationFile> |
55 | </DocumentationFile> | ||
56 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
57 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
58 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
59 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
60 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
61 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
62 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
63 | <WarningLevel>4</WarningLevel> | 57 | <WarningLevel>4</WarningLevel> |
64 | <NoWarn> | 58 | <NoWarn></NoWarn> |
65 | </NoWarn> | ||
66 | </PropertyGroup> | 59 | </PropertyGroup> |
67 | <ItemGroup> | 60 | <ItemGroup> |
68 | <Reference Include="Db4objects.Db4o.dll"> | 61 | <Reference Include="Db4objects.Db4o.dll" > |
69 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | 62 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
70 | <Private>False</Private> | 63 | <Private>False</Private> |
71 | </Reference> | 64 | </Reference> |
72 | <Reference Include="libsecondlife.dll"> | 65 | <Reference Include="libsecondlife.dll" > |
73 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 66 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
74 | <Private>False</Private> | 67 | <Private>False</Private> |
75 | </Reference> | 68 | </Reference> |
76 | <Reference Include="System"> | 69 | <Reference Include="System" > |
77 | <HintPath>System.dll</HintPath> | 70 | <HintPath>System.dll</HintPath> |
78 | <Private>False</Private> | 71 | <Private>False</Private> |
79 | </Reference> | 72 | </Reference> |
80 | <Reference Include="System.Xml"> | 73 | <Reference Include="System.Xml" > |
81 | <HintPath>System.Xml.dll</HintPath> | 74 | <HintPath>System.Xml.dll</HintPath> |
82 | <Private>False</Private> | 75 | <Private>False</Private> |
83 | </Reference> | 76 | </Reference> |
77 | <Reference Include="XMLRPC.dll" > | ||
78 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
84 | </ItemGroup> | 81 | </ItemGroup> |
85 | <ItemGroup> | 82 | <ItemGroup> |
86 | <ProjectReference Include="..\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 83 | <ProjectReference Include="..\Console\OpenSim.Framework.Console.csproj"> |
87 | <Name>OpenSim.Framework.Console</Name> | 84 | <Name>OpenSim.Framework.Console</Name> |
88 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 85 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
89 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
90 | <Private>False</Private> | 87 | <Private>False</Private> |
91 | </ProjectReference> | ||
92 | <ProjectReference Include="..\XmlRpcCS\XMLRPC.csproj"> | ||
93 | <Name>XMLRPC</Name> | ||
94 | <Project>{8E81D43C-0000-0000-0000-000000000000}</Project> | ||
95 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
96 | <Private>False</Private> | ||
97 | </ProjectReference> | 88 | </ProjectReference> |
98 | </ItemGroup> | 89 | </ItemGroup> |
99 | <ItemGroup> | 90 | <ItemGroup> |
@@ -109,9 +100,6 @@ | |||
109 | <Compile Include="IRegionCommsListener.cs"> | 100 | <Compile Include="IRegionCommsListener.cs"> |
110 | <SubType>Code</SubType> | 101 | <SubType>Code</SubType> |
111 | </Compile> | 102 | </Compile> |
112 | <Compile Include="LLSDHelpers.cs"> | ||
113 | <SubType>Code</SubType> | ||
114 | </Compile> | ||
115 | <Compile Include="Logger.cs"> | 103 | <Compile Include="Logger.cs"> |
116 | <SubType>Code</SubType> | 104 | <SubType>Code</SubType> |
117 | </Compile> | 105 | </Compile> |
@@ -160,12 +148,6 @@ | |||
160 | <Compile Include="Interfaces\Config\IUserConfig.cs"> | 148 | <Compile Include="Interfaces\Config\IUserConfig.cs"> |
161 | <SubType>Code</SubType> | 149 | <SubType>Code</SubType> |
162 | </Compile> | 150 | </Compile> |
163 | <Compile Include="Interfaces\Scripting\IScriptAPI.cs"> | ||
164 | <SubType>Code</SubType> | ||
165 | </Compile> | ||
166 | <Compile Include="Interfaces\Scripting\IScriptEngine.cs"> | ||
167 | <SubType>Code</SubType> | ||
168 | </Compile> | ||
169 | <Compile Include="Properties\AssemblyInfo.cs"> | 151 | <Compile Include="Properties\AssemblyInfo.cs"> |
170 | <SubType>Code</SubType> | 152 | <SubType>Code</SubType> |
171 | </Compile> | 153 | </Compile> |
@@ -219,4 +201,4 @@ | |||
219 | <PostBuildEvent> | 201 | <PostBuildEvent> |
220 | </PostBuildEvent> | 202 | </PostBuildEvent> |
221 | </PropertyGroup> | 203 | </PropertyGroup> |
222 | </Project> \ No newline at end of file | 204 | </Project> |
diff --git a/Common/OpenSim.Framework/OpenSim.Framework.dll.build b/OpenSim/Framework/General/OpenSim.Framework.dll.build index afe1aea..a18838b 100644 --- a/Common/OpenSim.Framework/OpenSim.Framework.dll.build +++ b/OpenSim/Framework/General/OpenSim.Framework.dll.build | |||
@@ -15,15 +15,12 @@ | |||
15 | <include name="AuthenticateSessionBase.cs" /> | 15 | <include name="AuthenticateSessionBase.cs" /> |
16 | <include name="BlockingQueue.cs" /> | 16 | <include name="BlockingQueue.cs" /> |
17 | <include name="IRegionCommsListener.cs" /> | 17 | <include name="IRegionCommsListener.cs" /> |
18 | <include name="LLSDHelpers.cs" /> | ||
19 | <include name="Logger.cs" /> | 18 | <include name="Logger.cs" /> |
20 | <include name="LoginService.cs" /> | 19 | <include name="LoginService.cs" /> |
21 | <include name="RegionCommsListener.cs" /> | 20 | <include name="RegionCommsListener.cs" /> |
22 | <include name="Remoting.cs" /> | 21 | <include name="Remoting.cs" /> |
23 | <include name="SimProfile.cs" /> | 22 | <include name="SimProfile.cs" /> |
24 | <include name="UserProfile.cs" /> | 23 | <include name="UserProfile.cs" /> |
25 | <include name="UserProfileManager.cs" /> | ||
26 | <include name="UserProfileManagerBase.cs" /> | ||
27 | <include name="Util.cs" /> | 24 | <include name="Util.cs" /> |
28 | <include name="Interfaces/AuthenticateResponse.cs" /> | 25 | <include name="Interfaces/AuthenticateResponse.cs" /> |
29 | <include name="Interfaces/IAssetServer.cs" /> | 26 | <include name="Interfaces/IAssetServer.cs" /> |
@@ -34,8 +31,6 @@ | |||
34 | <include name="Interfaces/Config/IGenericConfig.cs" /> | 31 | <include name="Interfaces/Config/IGenericConfig.cs" /> |
35 | <include name="Interfaces/Config/IGridConfig.cs" /> | 32 | <include name="Interfaces/Config/IGridConfig.cs" /> |
36 | <include name="Interfaces/Config/IUserConfig.cs" /> | 33 | <include name="Interfaces/Config/IUserConfig.cs" /> |
37 | <include name="Interfaces/Scripting/IScriptAPI.cs" /> | ||
38 | <include name="Interfaces/Scripting/IScriptEngine.cs" /> | ||
39 | <include name="Properties/AssemblyInfo.cs" /> | 34 | <include name="Properties/AssemblyInfo.cs" /> |
40 | <include name="Types/AgentCiruitData.cs" /> | 35 | <include name="Types/AgentCiruitData.cs" /> |
41 | <include name="Types/AgentWearable.cs" /> | 36 | <include name="Types/AgentWearable.cs" /> |
@@ -57,17 +52,17 @@ | |||
57 | <include name="${project::get-base-directory()}" /> | 52 | <include name="${project::get-base-directory()}" /> |
58 | <include name="${project::get-base-directory()}/${build.dir}" /> | 53 | <include name="${project::get-base-directory()}/${build.dir}" /> |
59 | </lib> | 54 | </lib> |
60 | <include name="../../bin/Db4objects.Db4o.dll" /> | 55 | <include name="../../../bin/Db4objects.Db4o.dll" /> |
61 | <include name="../../bin/libsecondlife.dll" /> | 56 | <include name="../../../bin/libsecondlife.dll" /> |
62 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | 57 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> |
63 | <include name="System.dll" /> | 58 | <include name="System.dll" /> |
64 | <include name="System.Xml.dll" /> | 59 | <include name="System.Xml.dll" /> |
65 | <include name="../../bin/XMLRPC.dll" /> | 60 | <include name="../../../bin/XMLRPC.dll" /> |
66 | </references> | 61 | </references> |
67 | </csc> | 62 | </csc> |
68 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 63 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
69 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 64 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
70 | <copy todir="${project::get-base-directory()}/../../bin/"> | 65 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
71 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 66 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
72 | <include name="*.dll"/> | 67 | <include name="*.dll"/> |
73 | <include name="*.exe"/> | 68 | <include name="*.exe"/> |
diff --git a/Common/OpenSim.Framework/Properties/AssemblyInfo.cs b/OpenSim/Framework/General/Properties/AssemblyInfo.cs index 86f5cdb..86f5cdb 100644 --- a/Common/OpenSim.Framework/Properties/AssemblyInfo.cs +++ b/OpenSim/Framework/General/Properties/AssemblyInfo.cs | |||
diff --git a/Common/OpenSim.Framework/RegionCommsListener.cs b/OpenSim/Framework/General/RegionCommsListener.cs index bba928f..5fa2f58 100644 --- a/Common/OpenSim.Framework/RegionCommsListener.cs +++ b/OpenSim/Framework/General/RegionCommsListener.cs | |||
@@ -49,6 +49,7 @@ namespace OpenSim.Framework | |||
49 | { | 49 | { |
50 | if(OnExpectUser != null) | 50 | if(OnExpectUser != null) |
51 | { | 51 | { |
52 | |||
52 | OnExpectUser(regionHandle, agent); | 53 | OnExpectUser(regionHandle, agent); |
53 | return true; | 54 | return true; |
54 | } | 55 | } |
diff --git a/Common/OpenSim.Framework/Remoting.cs b/OpenSim/Framework/General/Remoting.cs index e6fdf70..e6fdf70 100644 --- a/Common/OpenSim.Framework/Remoting.cs +++ b/OpenSim/Framework/General/Remoting.cs | |||
diff --git a/Common/OpenSim.Framework/SimProfile.cs b/OpenSim/Framework/General/SimProfile.cs index cfa5e50..cfa5e50 100644 --- a/Common/OpenSim.Framework/SimProfile.cs +++ b/OpenSim/Framework/General/SimProfile.cs | |||
diff --git a/Common/OpenSim.Framework/Types/AgentCiruitData.cs b/OpenSim/Framework/General/Types/AgentCiruitData.cs index a650343..a650343 100644 --- a/Common/OpenSim.Framework/Types/AgentCiruitData.cs +++ b/OpenSim/Framework/General/Types/AgentCiruitData.cs | |||
diff --git a/Common/OpenSim.Framework/Types/AgentWearable.cs b/OpenSim/Framework/General/Types/AgentWearable.cs index 4c93da7..4c93da7 100644 --- a/Common/OpenSim.Framework/Types/AgentWearable.cs +++ b/OpenSim/Framework/General/Types/AgentWearable.cs | |||
diff --git a/Common/OpenSim.Framework/Types/AssetBase.cs b/OpenSim/Framework/General/Types/AssetBase.cs index 86586a6..86586a6 100644 --- a/Common/OpenSim.Framework/Types/AssetBase.cs +++ b/OpenSim/Framework/General/Types/AssetBase.cs | |||
diff --git a/Common/OpenSim.Framework/Types/AssetLandmark.cs b/OpenSim/Framework/General/Types/AssetLandmark.cs index 8a10b70..8a10b70 100644 --- a/Common/OpenSim.Framework/Types/AssetLandmark.cs +++ b/OpenSim/Framework/General/Types/AssetLandmark.cs | |||
diff --git a/Common/OpenSim.Framework/Types/AssetStorage.cs b/OpenSim/Framework/General/Types/AssetStorage.cs index 8cac23a..8cac23a 100644 --- a/Common/OpenSim.Framework/Types/AssetStorage.cs +++ b/OpenSim/Framework/General/Types/AssetStorage.cs | |||
diff --git a/Common/OpenSim.Framework/Types/EstateSettings.cs b/OpenSim/Framework/General/Types/EstateSettings.cs index 778c893..778c893 100644 --- a/Common/OpenSim.Framework/Types/EstateSettings.cs +++ b/OpenSim/Framework/General/Types/EstateSettings.cs | |||
diff --git a/Common/OpenSim.Framework/Types/Login.cs b/OpenSim/Framework/General/Types/Login.cs index 3180a16..3180a16 100644 --- a/Common/OpenSim.Framework/Types/Login.cs +++ b/OpenSim/Framework/General/Types/Login.cs | |||
diff --git a/Common/OpenSim.Framework/Types/MapBlockData.cs b/OpenSim/Framework/General/Types/MapBlockData.cs index 2e6f56e..2e6f56e 100644 --- a/Common/OpenSim.Framework/Types/MapBlockData.cs +++ b/OpenSim/Framework/General/Types/MapBlockData.cs | |||
diff --git a/Common/OpenSim.Framework/Types/NeighbourInfo.cs b/OpenSim/Framework/General/Types/NeighbourInfo.cs index 310fd1c..310fd1c 100644 --- a/Common/OpenSim.Framework/Types/NeighbourInfo.cs +++ b/OpenSim/Framework/General/Types/NeighbourInfo.cs | |||
diff --git a/Common/OpenSim.Framework/Types/NetworkServersInfo.cs b/OpenSim/Framework/General/Types/NetworkServersInfo.cs index 73d7811..c6b81a7 100644 --- a/Common/OpenSim.Framework/Types/NetworkServersInfo.cs +++ b/OpenSim/Framework/General/Types/NetworkServersInfo.cs | |||
@@ -156,6 +156,45 @@ namespace OpenSim.Framework.Types | |||
156 | this.GridRecvKey = attri; | 156 | this.GridRecvKey = attri; |
157 | } | 157 | } |
158 | 158 | ||
159 | //Grid Server | ||
160 | attri = ""; | ||
161 | attri = configData.GetAttribute("UserServerURL"); | ||
162 | if (attri == "") | ||
163 | { | ||
164 | this.UserURL= OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("User server URL", "http://127.0.0.1:8002/"); | ||
165 | configData.SetAttribute("UserServerURL", this.UserURL); | ||
166 | } | ||
167 | else | ||
168 | { | ||
169 | this.UserURL = attri; | ||
170 | } | ||
171 | |||
172 | //Grid Send Key | ||
173 | attri = ""; | ||
174 | attri = configData.GetAttribute("UserSendKey"); | ||
175 | if (attri == "") | ||
176 | { | ||
177 | this.UserSendKey = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Key to send to user server", "null"); | ||
178 | configData.SetAttribute("UserSendKey", this.UserSendKey); | ||
179 | } | ||
180 | else | ||
181 | { | ||
182 | this.UserSendKey = attri; | ||
183 | } | ||
184 | |||
185 | //Grid Receive Key | ||
186 | attri = ""; | ||
187 | attri = configData.GetAttribute("UserRecvKey"); | ||
188 | if (attri == "") | ||
189 | { | ||
190 | this.UserRecvKey = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Key to expect from user server", "null"); | ||
191 | configData.SetAttribute("GridRecvKey", this.UserRecvKey); | ||
192 | } | ||
193 | else | ||
194 | { | ||
195 | this.UserRecvKey = attri; | ||
196 | } | ||
197 | |||
159 | attri = ""; | 198 | attri = ""; |
160 | attri = configData.GetAttribute("AssetServerURL"); | 199 | attri = configData.GetAttribute("AssetServerURL"); |
161 | if (attri == "") | 200 | if (attri == "") |
diff --git a/Common/OpenSim.Framework/Types/ParcelData.cs b/OpenSim/Framework/General/Types/ParcelData.cs index 40f128a..40f128a 100644 --- a/Common/OpenSim.Framework/Types/ParcelData.cs +++ b/OpenSim/Framework/General/Types/ParcelData.cs | |||
diff --git a/Common/OpenSim.Framework/Types/PrimData.cs b/OpenSim/Framework/General/Types/PrimData.cs index f84ae3e..f84ae3e 100644 --- a/Common/OpenSim.Framework/Types/PrimData.cs +++ b/OpenSim/Framework/General/Types/PrimData.cs | |||
diff --git a/Common/OpenSim.Framework/Types/RegionHandle.cs b/OpenSim/Framework/General/Types/RegionHandle.cs index 1271d04..1271d04 100644 --- a/Common/OpenSim.Framework/Types/RegionHandle.cs +++ b/OpenSim/Framework/General/Types/RegionHandle.cs | |||
diff --git a/Common/OpenSim.Framework/Types/RegionInfo.cs b/OpenSim/Framework/General/Types/RegionInfo.cs index 48e6922..0fba6ca 100644 --- a/Common/OpenSim.Framework/Types/RegionInfo.cs +++ b/OpenSim/Framework/General/Types/RegionInfo.cs | |||
@@ -110,7 +110,7 @@ namespace OpenSim.Framework.Types | |||
110 | attri = configData.GetAttribute("SimLocationX"); | 110 | attri = configData.GetAttribute("SimLocationX"); |
111 | if (attri == "") | 111 | if (attri == "") |
112 | { | 112 | { |
113 | string location = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid Location X", "997"); | 113 | string location = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid Location X", "1000"); |
114 | configData.SetAttribute("SimLocationX", location); | 114 | configData.SetAttribute("SimLocationX", location); |
115 | this.RegionLocX = (uint)Convert.ToUInt32(location); | 115 | this.RegionLocX = (uint)Convert.ToUInt32(location); |
116 | } | 116 | } |
@@ -123,7 +123,7 @@ namespace OpenSim.Framework.Types | |||
123 | attri = configData.GetAttribute("SimLocationY"); | 123 | attri = configData.GetAttribute("SimLocationY"); |
124 | if (attri == "") | 124 | if (attri == "") |
125 | { | 125 | { |
126 | string location = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid Location Y", "996"); | 126 | string location = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid Location Y", "1000"); |
127 | configData.SetAttribute("SimLocationY", location); | 127 | configData.SetAttribute("SimLocationY", location); |
128 | this.RegionLocY = (uint)Convert.ToUInt32(location); | 128 | this.RegionLocY = (uint)Convert.ToUInt32(location); |
129 | } | 129 | } |
diff --git a/Common/OpenSim.Framework/UserProfile.cs b/OpenSim/Framework/General/UserProfile.cs index 04ff20b..263dba2 100644 --- a/Common/OpenSim.Framework/UserProfile.cs +++ b/OpenSim/Framework/General/UserProfile.cs | |||
@@ -59,7 +59,7 @@ namespace OpenSim.Framework.User | |||
59 | { | 59 | { |
60 | Circuits = new Dictionary<LLUUID, uint>(); | 60 | Circuits = new Dictionary<LLUUID, uint>(); |
61 | Inventory = new AgentInventory(); | 61 | Inventory = new AgentInventory(); |
62 | homeregionhandle = Helpers.UIntsToLong((997 * 256), (996 * 256)); | 62 | homeregionhandle = Helpers.UIntsToLong((1000 * 256), (1000 * 256)); |
63 | homepos = new LLVector3(); | 63 | homepos = new LLVector3(); |
64 | homelookat = new LLVector3(); | 64 | homelookat = new LLVector3(); |
65 | } | 65 | } |
diff --git a/Common/OpenSim.Framework/Util.cs b/OpenSim/Framework/General/Util.cs index 8c34c9b..8c34c9b 100644 --- a/Common/OpenSim.Framework/Util.cs +++ b/OpenSim/Framework/General/Util.cs | |||
diff --git a/Common/OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.csproj b/OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.csproj index df68722..aae8cd2 100644 --- a/Common/OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.csproj +++ b/OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{E88EF749-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{C74E4A30-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.GenericConfig.Xml</AssemblyName> | 12 | <AssemblyName>OpenSim.Framework.GenericConfig.Xml</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.GenericConfig.Xml</RootNamespace> | 19 | <RootNamespace>OpenSim.Framework.GenericConfig.Xml</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -68,7 +68,7 @@ | |||
68 | </Reference> | 68 | </Reference> |
69 | </ItemGroup> | 69 | </ItemGroup> |
70 | <ItemGroup> | 70 | <ItemGroup> |
71 | <ProjectReference Include="..\..\OpenSim.Framework\OpenSim.Framework.csproj"> | 71 | <ProjectReference Include="..\..\General\OpenSim.Framework.csproj"> |
72 | <Name>OpenSim.Framework</Name> | 72 | <Name>OpenSim.Framework</Name> |
73 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 73 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
74 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 74 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
diff --git a/OpenSim/OpenSim.Caches/OpenSim.Caches.dll.build b/OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.dll.build index 7717545..a4617cc 100644 --- a/OpenSim/OpenSim.Caches/OpenSim.Caches.dll.build +++ b/OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.Caches" default="build"> | 2 | <project name="OpenSim.Framework.GenericConfig.Xml" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,10 +8,10 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.Caches" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Framework.GenericConfig.Xml" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssetCache.cs" /> | 14 | <include name="XmlConfig.cs" /> |
15 | <include name="Properties/AssemblyInfo.cs" /> | 15 | <include name="Properties/AssemblyInfo.cs" /> |
16 | </sources> | 16 | </sources> |
17 | <references basedir="${project::get-base-directory()}"> | 17 | <references basedir="${project::get-base-directory()}"> |
@@ -19,15 +19,14 @@ | |||
19 | <include name="${project::get-base-directory()}" /> | 19 | <include name="${project::get-base-directory()}" /> |
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | 20 | <include name="${project::get-base-directory()}/${build.dir}" /> |
21 | </lib> | 21 | </lib> |
22 | <include name="../../bin/libsecondlife.dll" /> | 22 | <include name="../../../../bin/OpenSim.Framework.dll" /> |
23 | <include name="../../bin/OpenSim.Framework.dll" /> | ||
24 | <include name="System.dll" /> | 23 | <include name="System.dll" /> |
25 | <include name="System.Xml.dll" /> | 24 | <include name="System.Xml.dll" /> |
26 | </references> | 25 | </references> |
27 | </csc> | 26 | </csc> |
28 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 27 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" /> |
29 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 28 | <mkdir dir="${project::get-base-directory()}/../../../../bin/"/> |
30 | <copy todir="${project::get-base-directory()}/../../bin/"> | 29 | <copy todir="${project::get-base-directory()}/../../../../bin/"> |
31 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 30 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
32 | <include name="*.dll"/> | 31 | <include name="*.dll"/> |
33 | <include name="*.exe"/> | 32 | <include name="*.exe"/> |
diff --git a/Common/OpenSim.GenericConfig/Xml/Properties/AssemblyInfo.cs b/OpenSim/Framework/GenericConfig/Xml/Properties/AssemblyInfo.cs index de5f48d..de5f48d 100644 --- a/Common/OpenSim.GenericConfig/Xml/Properties/AssemblyInfo.cs +++ b/OpenSim/Framework/GenericConfig/Xml/Properties/AssemblyInfo.cs | |||
diff --git a/Common/OpenSim.GenericConfig/Xml/XmlConfig.cs b/OpenSim/Framework/GenericConfig/Xml/XmlConfig.cs index c526aec..c526aec 100644 --- a/Common/OpenSim.GenericConfig/Xml/XmlConfig.cs +++ b/OpenSim/Framework/GenericConfig/Xml/XmlConfig.cs | |||
diff --git a/Common/OpenSim.Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index e55e33c..8c8204a 100644 --- a/Common/OpenSim.Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -31,12 +31,11 @@ using System.Net; | |||
31 | using System.Text; | 31 | using System.Text; |
32 | using System.Text.RegularExpressions; | 32 | using System.Text.RegularExpressions; |
33 | using System.Threading; | 33 | using System.Threading; |
34 | //using OpenSim.CAPS; | ||
35 | using Nwc.XmlRpc; | 34 | using Nwc.XmlRpc; |
36 | using System.Collections; | 35 | using System.Collections; |
37 | using OpenSim.Framework.Console; | 36 | using OpenSim.Framework.Console; |
38 | 37 | ||
39 | namespace OpenSim.Servers | 38 | namespace OpenSim.Framework.Servers |
40 | { | 39 | { |
41 | public class BaseHttpServer | 40 | public class BaseHttpServer |
42 | { | 41 | { |
@@ -171,7 +170,7 @@ namespace OpenSim.Servers | |||
171 | protected virtual string ParseLLSDXML(string requestBody) | 170 | protected virtual string ParseLLSDXML(string requestBody) |
172 | { | 171 | { |
173 | // dummy function for now - IMPLEMENT ME! | 172 | // dummy function for now - IMPLEMENT ME! |
174 | Console.WriteLine("LLSD request "+requestBody); | 173 | //Console.WriteLine("LLSD request "+requestBody); |
175 | string resp = ""; | 174 | string resp = ""; |
176 | if (firstcaps) | 175 | if (firstcaps) |
177 | { | 176 | { |
@@ -195,7 +194,7 @@ namespace OpenSim.Servers | |||
195 | } | 194 | } |
196 | catch (Exception e) | 195 | catch (Exception e) |
197 | { | 196 | { |
198 | Console.WriteLine(e.ToString()); | 197 | //Console.WriteLine(e.ToString()); |
199 | } | 198 | } |
200 | return responseString; | 199 | return responseString; |
201 | } | 200 | } |
@@ -273,7 +272,7 @@ namespace OpenSim.Servers | |||
273 | } | 272 | } |
274 | catch (Exception e) | 273 | catch (Exception e) |
275 | { | 274 | { |
276 | Console.WriteLine(e.ToString()); | 275 | //Console.WriteLine(e.ToString()); |
277 | } | 276 | } |
278 | } | 277 | } |
279 | 278 | ||
diff --git a/Common/OpenSim.Servers/CheckSumServer.cs b/OpenSim/Framework/Servers/CheckSumServer.cs index a359205..6aeb58c 100644 --- a/Common/OpenSim.Servers/CheckSumServer.cs +++ b/OpenSim/Framework/Servers/CheckSumServer.cs | |||
@@ -40,7 +40,7 @@ using libsecondlife.Packets; | |||
40 | using OpenSim.Framework.Console; | 40 | using OpenSim.Framework.Console; |
41 | 41 | ||
42 | 42 | ||
43 | namespace OpenSim.Servers | 43 | namespace OpenSim.Framework.Servers |
44 | { | 44 | { |
45 | /* public class CheckSumServer : UDPServerBase | 45 | /* public class CheckSumServer : UDPServerBase |
46 | { | 46 | { |
diff --git a/Common/OpenSim.Servers/IRestHandler.cs b/OpenSim/Framework/Servers/IRestHandler.cs index 3aa508c..a2b6bf0 100644 --- a/Common/OpenSim.Servers/IRestHandler.cs +++ b/OpenSim/Framework/Servers/IRestHandler.cs | |||
@@ -29,7 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | namespace OpenSim.Servers | 32 | namespace OpenSim.Framework.Servers |
33 | { | 33 | { |
34 | public delegate string RestMethod( string request, string path, string param ); | 34 | public delegate string RestMethod( string request, string path, string param ); |
35 | } | 35 | } |
diff --git a/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj new file mode 100644 index 0000000..399f456 --- /dev/null +++ b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj | |||
@@ -0,0 +1,116 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{2CC71860-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenSim.Framework.Servers</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenSim.Framework.Servers</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="libsecondlife.dll" > | ||
62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System" > | ||
66 | <HintPath>System.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Xml" > | ||
70 | <HintPath>System.Xml.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="XMLRPC.dll" > | ||
74 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | </ItemGroup> | ||
78 | <ItemGroup> | ||
79 | <ProjectReference Include="..\General\OpenSim.Framework.csproj"> | ||
80 | <Name>OpenSim.Framework</Name> | ||
81 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | ||
82 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
83 | <Private>False</Private> | ||
84 | </ProjectReference> | ||
85 | <ProjectReference Include="..\Console\OpenSim.Framework.Console.csproj"> | ||
86 | <Name>OpenSim.Framework.Console</Name> | ||
87 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | ||
88 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
89 | <Private>False</Private> | ||
90 | </ProjectReference> | ||
91 | </ItemGroup> | ||
92 | <ItemGroup> | ||
93 | <Compile Include="BaseHttpServer.cs"> | ||
94 | <SubType>Code</SubType> | ||
95 | </Compile> | ||
96 | <Compile Include="CheckSumServer.cs"> | ||
97 | <SubType>Code</SubType> | ||
98 | </Compile> | ||
99 | <Compile Include="IRestHandler.cs"> | ||
100 | <SubType>Code</SubType> | ||
101 | </Compile> | ||
102 | <Compile Include="UDPServerBase.cs"> | ||
103 | <SubType>Code</SubType> | ||
104 | </Compile> | ||
105 | <Compile Include="XmlRpcMethod.cs"> | ||
106 | <SubType>Code</SubType> | ||
107 | </Compile> | ||
108 | </ItemGroup> | ||
109 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
110 | <PropertyGroup> | ||
111 | <PreBuildEvent> | ||
112 | </PreBuildEvent> | ||
113 | <PostBuildEvent> | ||
114 | </PostBuildEvent> | ||
115 | </PropertyGroup> | ||
116 | </Project> | ||
diff --git a/OpenSim/OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build index 7c3eb68..7401b07 100644 --- a/OpenSim/OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build +++ b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.GridInterfaces.Remote" default="build"> | 2 | <project name="OpenSim.Framework.Servers" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,11 +8,14 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.GridInterfaces.Remote" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Framework.Servers" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="BaseHttpServer.cs" /> |
15 | <include name="RemoteAssetServer.cs" /> | 15 | <include name="CheckSumServer.cs" /> |
16 | <include name="IRestHandler.cs" /> | ||
17 | <include name="UDPServerBase.cs" /> | ||
18 | <include name="XmlRpcMethod.cs" /> | ||
16 | </sources> | 19 | </sources> |
17 | <references basedir="${project::get-base-directory()}"> | 20 | <references basedir="${project::get-base-directory()}"> |
18 | <lib> | 21 | <lib> |
diff --git a/Common/OpenSim.Servers/UDPServerBase.cs b/OpenSim/Framework/Servers/UDPServerBase.cs index b472c97..610d23b 100644 --- a/Common/OpenSim.Servers/UDPServerBase.cs +++ b/OpenSim/Framework/Servers/UDPServerBase.cs | |||
@@ -38,7 +38,7 @@ using System.Collections.Generic; | |||
38 | using libsecondlife; | 38 | using libsecondlife; |
39 | using libsecondlife.Packets; | 39 | using libsecondlife.Packets; |
40 | 40 | ||
41 | namespace OpenSim.Servers | 41 | namespace OpenSim.Framework.Servers |
42 | { | 42 | { |
43 | public class UDPServerBase | 43 | public class UDPServerBase |
44 | { | 44 | { |
diff --git a/Common/OpenSim.Servers/XmlRpcMethod.cs b/OpenSim/Framework/Servers/XmlRpcMethod.cs index 05cbf2e..51b3303 100644 --- a/Common/OpenSim.Servers/XmlRpcMethod.cs +++ b/OpenSim/Framework/Servers/XmlRpcMethod.cs | |||
@@ -28,7 +28,7 @@ | |||
28 | using System; | 28 | using System; |
29 | using Nwc.XmlRpc; | 29 | using Nwc.XmlRpc; |
30 | 30 | ||
31 | namespace OpenSim.Servers | 31 | namespace OpenSim.Framework.Servers |
32 | { | 32 | { |
33 | public delegate XmlRpcResponse XmlRpcMethod( XmlRpcRequest request ); | 33 | public delegate XmlRpcResponse XmlRpcMethod( XmlRpcRequest request ); |
34 | } | 34 | } |
diff --git a/Common/OpenGrid.Framework.UserManager/LoginResponse.cs b/OpenSim/Framework/UserManager/LoginResponse.cs index 514ebef..d1cd8cf 100644 --- a/Common/OpenGrid.Framework.UserManager/LoginResponse.cs +++ b/OpenSim/Framework/UserManager/LoginResponse.cs | |||
@@ -9,7 +9,7 @@ using OpenSim.Framework.Utilities; | |||
9 | using OpenSim.Framework.Interfaces; | 9 | using OpenSim.Framework.Interfaces; |
10 | using Nwc.XmlRpc; | 10 | using Nwc.XmlRpc; |
11 | 11 | ||
12 | namespace OpenGrid.Framework.UserManagement | 12 | namespace OpenSim.Framework.UserManagement |
13 | { | 13 | { |
14 | 14 | ||
15 | /// <summary> | 15 | /// <summary> |
@@ -124,7 +124,7 @@ namespace OpenGrid.Framework.UserManagement | |||
124 | this.ErrorReason = "key"; | 124 | this.ErrorReason = "key"; |
125 | this.welcomeMessage = "Welcome to OpenSim!"; | 125 | this.welcomeMessage = "Welcome to OpenSim!"; |
126 | this.seedCapability = ""; | 126 | this.seedCapability = ""; |
127 | this.home = "{'region_handle':[r" + (997 * 256).ToString() + ",r" + (996 * 256).ToString() + "], 'position':[r" + this.userProfile.homepos.X.ToString() + ",r" + this.userProfile.homepos.Y.ToString() + ",r" + this.userProfile.homepos.Z.ToString() + "], 'look_at':[r" + this.userProfile.homelookat.X.ToString() + ",r" + this.userProfile.homelookat.Y.ToString() + ",r" + this.userProfile.homelookat.Z.ToString() + "]}"; | 127 | this.home = "{'region_handle':[r" + (1000 * 256).ToString() + ",r" + (1000 * 256).ToString() + "], 'position':[r" + this.userProfile.homepos.X.ToString() + ",r" + this.userProfile.homepos.Y.ToString() + ",r" + this.userProfile.homepos.Z.ToString() + "], 'look_at':[r" + this.userProfile.homelookat.X.ToString() + ",r" + this.userProfile.homelookat.Y.ToString() + ",r" + this.userProfile.homelookat.Z.ToString() + "]}"; |
128 | this.lookAt = "[r0.99949799999999999756,r0.03166859999999999814,r0]"; | 128 | this.lookAt = "[r0.99949799999999999756,r0.03166859999999999814,r0]"; |
129 | this.RegionX = (uint)255232; | 129 | this.RegionX = (uint)255232; |
130 | this.RegionY = (uint)254976; | 130 | this.RegionY = (uint)254976; |
@@ -227,6 +227,7 @@ namespace OpenGrid.Framework.UserManagement | |||
227 | 227 | ||
228 | responseData["sim_port"] =(Int32) this.SimPort; | 228 | responseData["sim_port"] =(Int32) this.SimPort; |
229 | responseData["sim_ip"] = this.SimAddress; | 229 | responseData["sim_ip"] = this.SimAddress; |
230 | Console.MainLog.Instance.Warn("SIM IP: " + responseData["sim_ip"] + "; SIM PORT: " + responseData["sim_port"]); | ||
230 | responseData["agent_id"] = this.AgentID.ToStringHyphenated(); | 231 | responseData["agent_id"] = this.AgentID.ToStringHyphenated(); |
231 | responseData["session_id"] = this.SessionID.ToStringHyphenated(); | 232 | responseData["session_id"] = this.SessionID.ToStringHyphenated(); |
232 | responseData["secure_session_id"] = this.SecureSessionID.ToStringHyphenated(); | 233 | responseData["secure_session_id"] = this.SecureSessionID.ToStringHyphenated(); |
diff --git a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.csproj b/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.csproj index 9a3cdba..02aa3f3 100644 --- a/Common/OpenGrid.Framework.UserManager/OpenGrid.Framework.UserManagement.csproj +++ b/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{DA9A7391-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{586E2916-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Framework.UserManagement</AssemblyName> | 12 | <AssemblyName>OpenSim.Framework.UserManagement</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGrid.Framework.UserManagement</RootNamespace> | 19 | <RootNamespace>OpenSim.Framework.UserManagement</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,11 +59,11 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Db4objects.Db4o.dll" > | 61 | <Reference Include="Db4objects.Db4o.dll" > |
62 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | 62 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="libsecondlife.dll" > | 65 | <Reference Include="libsecondlife.dll" > |
66 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 66 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="OpenSim.Framework" > | 69 | <Reference Include="OpenSim.Framework" > |
@@ -74,12 +74,12 @@ | |||
74 | <HintPath>OpenSim.Framework.Console.dll</HintPath> | 74 | <HintPath>OpenSim.Framework.Console.dll</HintPath> |
75 | <Private>False</Private> | 75 | <Private>False</Private> |
76 | </Reference> | 76 | </Reference> |
77 | <Reference Include="OpenSim.GenericConfig.Xml" > | 77 | <Reference Include="OpenSim.Framework.GenericConfig.Xml" > |
78 | <HintPath>OpenSim.GenericConfig.Xml.dll</HintPath> | 78 | <HintPath>OpenSim.Framework.GenericConfig.Xml.dll</HintPath> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </Reference> | 80 | </Reference> |
81 | <Reference Include="OpenSim.Servers" > | 81 | <Reference Include="OpenSim.Framework.Servers" > |
82 | <HintPath>OpenSim.Servers.dll</HintPath> | 82 | <HintPath>OpenSim.Framework.Servers.dll</HintPath> |
83 | <Private>False</Private> | 83 | <Private>False</Private> |
84 | </Reference> | 84 | </Reference> |
85 | <Reference Include="System" > | 85 | <Reference Include="System" > |
@@ -94,15 +94,15 @@ | |||
94 | <HintPath>System.Xml.dll</HintPath> | 94 | <HintPath>System.Xml.dll</HintPath> |
95 | <Private>False</Private> | 95 | <Private>False</Private> |
96 | </Reference> | 96 | </Reference> |
97 | <Reference Include="XMLRPC" > | 97 | <Reference Include="XMLRPC.dll" > |
98 | <HintPath>XMLRPC.dll</HintPath> | 98 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> |
99 | <Private>False</Private> | 99 | <Private>False</Private> |
100 | </Reference> | 100 | </Reference> |
101 | </ItemGroup> | 101 | </ItemGroup> |
102 | <ItemGroup> | 102 | <ItemGroup> |
103 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | 103 | <ProjectReference Include="..\Data\OpenSim.Framework.Data.csproj"> |
104 | <Name>OpenGrid.Framework.Data</Name> | 104 | <Name>OpenSim.Framework.Data</Name> |
105 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | 105 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
106 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 106 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
107 | <Private>False</Private> | 107 | <Private>False</Private> |
108 | </ProjectReference> | 108 | </ProjectReference> |
diff --git a/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build b/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build new file mode 100644 index 0000000..d2f4345 --- /dev/null +++ b/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build | |||
@@ -0,0 +1,50 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim.Framework.UserManagement" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenSim.Framework.UserManagement" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="LoginResponse.cs" /> | ||
15 | <include name="UserManagerBase.cs" /> | ||
16 | </sources> | ||
17 | <references basedir="${project::get-base-directory()}"> | ||
18 | <lib> | ||
19 | <include name="${project::get-base-directory()}" /> | ||
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
21 | </lib> | ||
22 | <include name="../../../bin/Db4objects.Db4o.dll" /> | ||
23 | <include name="../../../bin/libsecondlife.dll" /> | ||
24 | <include name="OpenSim.Framework.dll" /> | ||
25 | <include name="OpenSim.Framework.Console.dll" /> | ||
26 | <include name="../../../bin/OpenSim.Framework.Data.dll" /> | ||
27 | <include name="OpenSim.Framework.GenericConfig.Xml.dll" /> | ||
28 | <include name="OpenSim.Framework.Servers.dll" /> | ||
29 | <include name="System.dll" /> | ||
30 | <include name="System.Data.dll" /> | ||
31 | <include name="System.Xml.dll" /> | ||
32 | <include name="../../../bin/XMLRPC.dll" /> | ||
33 | </references> | ||
34 | </csc> | ||
35 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> | ||
36 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> | ||
37 | <copy todir="${project::get-base-directory()}/../../../bin/"> | ||
38 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
39 | <include name="*.dll"/> | ||
40 | <include name="*.exe"/> | ||
41 | </fileset> | ||
42 | </copy> | ||
43 | </target> | ||
44 | <target name="clean"> | ||
45 | <delete dir="${bin.dir}" failonerror="false" /> | ||
46 | <delete dir="${obj.dir}" failonerror="false" /> | ||
47 | </target> | ||
48 | <target name="doc" description="Creates documentation."> | ||
49 | </target> | ||
50 | </project> | ||
diff --git a/Common/OpenGrid.Framework.UserManager/UserManagerBase.cs b/OpenSim/Framework/UserManager/UserManagerBase.cs index 01fbf3a..d06059e 100644 --- a/Common/OpenGrid.Framework.UserManager/UserManagerBase.cs +++ b/OpenSim/Framework/UserManager/UserManagerBase.cs | |||
@@ -29,7 +29,7 @@ using System; | |||
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Text; | 31 | using System.Text; |
32 | using OpenGrid.Framework.Data; | 32 | using OpenSim.Framework.Data; |
33 | using libsecondlife; | 33 | using libsecondlife; |
34 | using System.Reflection; | 34 | using System.Reflection; |
35 | 35 | ||
@@ -41,7 +41,7 @@ using OpenSim.Framework.Utilities; | |||
41 | 41 | ||
42 | using System.Security.Cryptography; | 42 | using System.Security.Cryptography; |
43 | 43 | ||
44 | namespace OpenGrid.Framework.UserManagement | 44 | namespace OpenSim.Framework.UserManagement |
45 | { | 45 | { |
46 | public class UserManagerBase | 46 | public class UserManagerBase |
47 | { | 47 | { |
@@ -468,17 +468,16 @@ namespace OpenGrid.Framework.UserManagement | |||
468 | } | 468 | } |
469 | catch (Exception e) | 469 | catch (Exception e) |
470 | { | 470 | { |
471 | Console.WriteLine(e.ToString()); | 471 | System.Console.WriteLine(e.ToString()); |
472 | return logResponse.CreateDeadRegionResponse(); | 472 | return logResponse.CreateDeadRegionResponse(); |
473 | } | 473 | } |
474 | CommitAgent(ref TheUser); | 474 | CommitAgent(ref TheUser); |
475 | |||
476 | return logResponse.ToXmlRpcResponse(); | 475 | return logResponse.ToXmlRpcResponse(); |
477 | 476 | ||
478 | } | 477 | } |
479 | catch (Exception E) | 478 | catch (Exception E) |
480 | { | 479 | { |
481 | Console.WriteLine(E.ToString()); | 480 | System.Console.WriteLine(E.ToString()); |
482 | } | 481 | } |
483 | //} | 482 | //} |
484 | } | 483 | } |
@@ -537,27 +536,15 @@ namespace OpenGrid.Framework.UserManagement | |||
537 | /// Returns an error message that the user could not be found in the database | 536 | /// Returns an error message that the user could not be found in the database |
538 | /// </summary> | 537 | /// </summary> |
539 | /// <returns>XML string consisting of a error element containing individual error(s)</returns> | 538 | /// <returns>XML string consisting of a error element containing individual error(s)</returns> |
540 | public string CreateUnknownUserErrorResponse() | 539 | public XmlRpcResponse CreateUnknownUserErrorResponse() |
541 | { | 540 | { |
542 | System.IO.StringWriter sw = new System.IO.StringWriter(); | 541 | XmlRpcResponse response = new XmlRpcResponse(); |
543 | XmlTextWriter xw = new XmlTextWriter(sw); | 542 | Hashtable responseData = new Hashtable(); |
544 | 543 | responseData["error_type"] = "unknown_user"; | |
545 | // Header | 544 | responseData["error_desc"] = "The user requested is not in the database"; |
546 | xw.Formatting = Formatting.Indented; | ||
547 | xw.WriteStartDocument(); | ||
548 | xw.WriteDocType("error", null, null, null); | ||
549 | xw.WriteComment("An error occured"); | ||
550 | xw.WriteStartElement("error"); | ||
551 | |||
552 | // User | ||
553 | xw.WriteElementString("unknownuser", "Unable to find a user with that name"); | ||
554 | |||
555 | // Footer | ||
556 | xw.WriteEndElement(); | ||
557 | xw.Flush(); | ||
558 | xw.Close(); | ||
559 | 545 | ||
560 | return sw.ToString(); | 546 | response.Value = responseData; |
547 | return response; | ||
561 | } | 548 | } |
562 | 549 | ||
563 | /// <summary> | 550 | /// <summary> |
@@ -565,75 +552,81 @@ namespace OpenGrid.Framework.UserManagement | |||
565 | /// </summary> | 552 | /// </summary> |
566 | /// <param name="profile">The user profile</param> | 553 | /// <param name="profile">The user profile</param> |
567 | /// <returns>A string containing an XML Document of the user profile</returns> | 554 | /// <returns>A string containing an XML Document of the user profile</returns> |
568 | public string ProfileToXml(UserProfileData profile) | 555 | public XmlRpcResponse ProfileToXmlRPCResponse(UserProfileData profile) |
569 | { | 556 | { |
570 | System.IO.StringWriter sw = new System.IO.StringWriter(); | 557 | XmlRpcResponse response = new XmlRpcResponse(); |
571 | XmlTextWriter xw = new XmlTextWriter(sw); | 558 | Hashtable responseData = new Hashtable(); |
572 | 559 | ||
573 | // Header | ||
574 | xw.Formatting = Formatting.Indented; | ||
575 | xw.WriteStartDocument(); | ||
576 | xw.WriteDocType("userprofile", null, null, null); | ||
577 | xw.WriteComment("Found user profiles matching the request"); | ||
578 | xw.WriteStartElement("users"); | ||
579 | |||
580 | // User | ||
581 | xw.WriteStartElement("user"); | ||
582 | // Account information | 560 | // Account information |
583 | xw.WriteAttributeString("firstname", profile.username); | 561 | responseData["firstname"] = profile.username; |
584 | xw.WriteAttributeString("lastname", profile.surname); | 562 | responseData["lastname"] = profile.surname; |
585 | xw.WriteAttributeString("uuid", profile.UUID.ToStringHyphenated()); | 563 | responseData["uuid"] = profile.UUID.ToStringHyphenated(); |
586 | // Server Information | 564 | // Server Information |
587 | xw.WriteAttributeString("server_inventory", profile.userInventoryURI); | 565 | responseData["server_inventory"] = profile.userInventoryURI; |
588 | xw.WriteAttributeString("server_asset", profile.userAssetURI); | 566 | responseData["server_asset"] = profile.userAssetURI; |
589 | // Profile Information | 567 | // Profile Information |
590 | xw.WriteAttributeString("profile_about", profile.profileAboutText); | 568 | responseData["profile_about"] = profile.profileAboutText; |
591 | xw.WriteAttributeString("profile_firstlife_about", profile.profileFirstText); | 569 | responseData["profile_firstlife_about"] = profile.profileFirstText; |
592 | xw.WriteAttributeString("profile_firstlife_image", profile.profileFirstImage.ToStringHyphenated()); | 570 | responseData["profile_firstlife_image"] = profile.profileFirstImage.ToStringHyphenated(); |
593 | xw.WriteAttributeString("profile_can_do", profile.profileCanDoMask.ToString()); | 571 | responseData["profile_can_do"] = profile.profileCanDoMask.ToString(); |
594 | xw.WriteAttributeString("profile_want_do", profile.profileWantDoMask.ToString()); | 572 | responseData["profile_want_do"] = profile.profileWantDoMask.ToString(); |
595 | xw.WriteAttributeString("profile_image", profile.profileImage.ToStringHyphenated()); | 573 | responseData["profile_image"] = profile.profileImage.ToStringHyphenated(); |
596 | xw.WriteAttributeString("profile_created",profile.created.ToString()); | 574 | responseData["profile_created"] = profile.created.ToString(); |
597 | xw.WriteAttributeString("profile_lastlogin",profile.lastLogin.ToString()); | 575 | responseData["profile_lastlogin"] = profile.lastLogin.ToString(); |
598 | // Home region information | 576 | // Home region information |
599 | xw.WriteAttributeString("home_coordinates", profile.homeLocation.ToString()); | 577 | responseData["home_coordinates"] = profile.homeLocation.ToString(); |
600 | xw.WriteAttributeString("home_region", profile.homeRegion.ToString()); | 578 | responseData["home_region"] = profile.homeRegion.ToString(); |
601 | xw.WriteAttributeString("home_look", profile.homeLookAt.ToString()); | 579 | responseData["home_look"] = profile.homeLookAt.ToString(); |
602 | |||
603 | xw.WriteEndElement(); | ||
604 | 580 | ||
605 | // Footer | 581 | response.Value = responseData; |
606 | xw.WriteEndElement(); | 582 | return response; |
607 | xw.Flush(); | ||
608 | xw.Close(); | ||
609 | |||
610 | return sw.ToString(); | ||
611 | } | 583 | } |
612 | 584 | ||
613 | #region REST Methods | 585 | #region XMLRPC User Methods |
614 | //should most likely move out of here and into the grid's userserver sub class | 586 | //should most likely move out of here and into the grid's userserver sub class |
615 | public string RestGetUserMethodName(string request, string path, string param) | 587 | public XmlRpcResponse XmlRPCGetUserMethodName(XmlRpcRequest request) |
616 | { | 588 | { |
617 | UserProfileData userProfile = getUserProfile(param.Trim()); | 589 | XmlRpcResponse response = new XmlRpcResponse(); |
590 | Hashtable requestData = (Hashtable)request.Params[0]; | ||
591 | UserProfileData userProfile; | ||
618 | 592 | ||
619 | if (userProfile == null) | 593 | if (requestData.Contains("avatar_name")) |
594 | { | ||
595 | userProfile = getUserProfile((string)requestData["avatar_name"]); | ||
596 | if (userProfile == null) | ||
597 | { | ||
598 | return CreateUnknownUserErrorResponse(); | ||
599 | } | ||
600 | } | ||
601 | else | ||
620 | { | 602 | { |
621 | return CreateUnknownUserErrorResponse(); | 603 | return CreateUnknownUserErrorResponse(); |
622 | } | 604 | } |
605 | |||
623 | 606 | ||
624 | return ProfileToXml(userProfile); | 607 | return ProfileToXmlRPCResponse(userProfile); |
625 | } | 608 | } |
626 | 609 | ||
627 | public string RestGetUserMethodUUID(string request, string path, string param) | 610 | public XmlRpcResponse XmlRPCGetUserMethodUUID(XmlRpcRequest request) |
628 | { | 611 | { |
629 | UserProfileData userProfile = getUserProfile(new LLUUID(param)); | 612 | XmlRpcResponse response = new XmlRpcResponse(); |
630 | 613 | Hashtable requestData = (Hashtable)request.Params[0]; | |
631 | if (userProfile == null) | 614 | UserProfileData userProfile; |
615 | if (requestData.Contains("avatar_uuid")) | ||
616 | { | ||
617 | userProfile = getUserProfile((LLUUID)requestData["avatar_uuid"]); | ||
618 | if (userProfile == null) | ||
619 | { | ||
620 | return CreateUnknownUserErrorResponse(); | ||
621 | } | ||
622 | } | ||
623 | else | ||
632 | { | 624 | { |
633 | return CreateUnknownUserErrorResponse(); | 625 | return CreateUnknownUserErrorResponse(); |
634 | } | 626 | } |
635 | 627 | ||
636 | return ProfileToXml(userProfile); | 628 | |
629 | return ProfileToXmlRPCResponse(userProfile); | ||
637 | } | 630 | } |
638 | #endregion | 631 | #endregion |
639 | 632 | ||
diff --git a/OpenGridServices/OpenGridServices.AssetServer/AssetHttpServer.cs b/OpenSim/Grid/AssetServer/AssetHttpServer.cs index 6fc6bf8..ad8733f 100644 --- a/OpenGridServices/OpenGridServices.AssetServer/AssetHttpServer.cs +++ b/OpenSim/Grid/AssetServer/AssetHttpServer.cs | |||
@@ -35,9 +35,9 @@ using System.Threading; | |||
35 | using Nwc.XmlRpc; | 35 | using Nwc.XmlRpc; |
36 | using System.Collections; | 36 | using System.Collections; |
37 | using OpenSim.Framework.Console; | 37 | using OpenSim.Framework.Console; |
38 | using OpenSim.Servers; | 38 | using OpenSim.Framework.Servers; |
39 | 39 | ||
40 | namespace OpenGridServices.AssetServer | 40 | namespace OpenSim.Grid.AssetServer |
41 | { | 41 | { |
42 | /// <summary> | 42 | /// <summary> |
43 | /// An HTTP server for sending assets | 43 | /// An HTTP server for sending assets |
diff --git a/OpenGridServices/OpenGridServices.AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index 96c9dba..d06998d 100644 --- a/OpenGridServices/OpenGridServices.AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs | |||
@@ -40,11 +40,11 @@ using OpenSim.Framework.Console; | |||
40 | using OpenSim.Framework.Types; | 40 | using OpenSim.Framework.Types; |
41 | using OpenSim.Framework.Interfaces; | 41 | using OpenSim.Framework.Interfaces; |
42 | using OpenSim.Framework.Utilities; | 42 | using OpenSim.Framework.Utilities; |
43 | using OpenSim.Servers; | 43 | using OpenSim.Framework.Servers; |
44 | using Db4objects.Db4o; | 44 | using Db4objects.Db4o; |
45 | using Db4objects.Db4o.Query; | 45 | using Db4objects.Db4o.Query; |
46 | 46 | ||
47 | namespace OpenGridServices.AssetServer | 47 | namespace OpenSim.Grid.AssetServer |
48 | { | 48 | { |
49 | /// <summary> | 49 | /// <summary> |
50 | /// An asset server | 50 | /// An asset server |
diff --git a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj b/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.csproj index 7470499..caebca3 100644 --- a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.csproj +++ b/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{0021261B-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{E5F1A03B-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGridServices.AssetServer</AssemblyName> | 12 | <AssemblyName>OpenSim.Grid.AssetServer</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Exe</OutputType> | 17 | <OutputType>Exe</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGridServices.AssetServer</RootNamespace> | 19 | <RootNamespace>OpenSim.Grid.AssetServer</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,11 +59,11 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Db4objects.Db4o.dll" > | 61 | <Reference Include="Db4objects.Db4o.dll" > |
62 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | 62 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="libsecondlife.dll" > | 65 | <Reference Include="libsecondlife.dll" > |
66 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 66 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="OpenSim.Framework" > | 69 | <Reference Include="OpenSim.Framework" > |
@@ -74,8 +74,8 @@ | |||
74 | <HintPath>OpenSim.Framework.Console.dll</HintPath> | 74 | <HintPath>OpenSim.Framework.Console.dll</HintPath> |
75 | <Private>False</Private> | 75 | <Private>False</Private> |
76 | </Reference> | 76 | </Reference> |
77 | <Reference Include="OpenSim.Servers" > | 77 | <Reference Include="OpenSim.Framework.Servers" > |
78 | <HintPath>OpenSim.Servers.dll</HintPath> | 78 | <HintPath>OpenSim.Framework.Servers.dll</HintPath> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </Reference> | 80 | </Reference> |
81 | <Reference Include="System" > | 81 | <Reference Include="System" > |
@@ -90,8 +90,8 @@ | |||
90 | <HintPath>System.Xml.dll</HintPath> | 90 | <HintPath>System.Xml.dll</HintPath> |
91 | <Private>False</Private> | 91 | <Private>False</Private> |
92 | </Reference> | 92 | </Reference> |
93 | <Reference Include="XMLRPC" > | 93 | <Reference Include="XMLRPC.dll" > |
94 | <HintPath>XMLRPC.dll</HintPath> | 94 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> |
95 | <Private>False</Private> | 95 | <Private>False</Private> |
96 | </Reference> | 96 | </Reference> |
97 | </ItemGroup> | 97 | </ItemGroup> |
diff --git a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.exe.build b/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.exe.build index 385d85d..0f9540e 100644 --- a/OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.exe.build +++ b/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.exe.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenGridServices.AssetServer" default="build"> | 2 | <project name="OpenSim.Grid.AssetServer" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> | 10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> |
11 | <resources prefix="OpenGridServices.AssetServer" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Grid.AssetServer" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssetHttpServer.cs" /> | 14 | <include name="AssetHttpServer.cs" /> |
@@ -20,20 +20,20 @@ | |||
20 | <include name="${project::get-base-directory()}" /> | 20 | <include name="${project::get-base-directory()}" /> |
21 | <include name="${project::get-base-directory()}/${build.dir}" /> | 21 | <include name="${project::get-base-directory()}/${build.dir}" /> |
22 | </lib> | 22 | </lib> |
23 | <include name="../../bin/Db4objects.Db4o.dll" /> | 23 | <include name="../../../bin/Db4objects.Db4o.dll" /> |
24 | <include name="../../bin/libsecondlife.dll" /> | 24 | <include name="../../../bin/libsecondlife.dll" /> |
25 | <include name="../../bin/OpenSim.Framework.dll" /> | 25 | <include name="OpenSim.Framework.dll" /> |
26 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | 26 | <include name="OpenSim.Framework.Console.dll" /> |
27 | <include name="../../bin/OpenSim.Servers.dll" /> | 27 | <include name="OpenSim.Framework.Servers.dll" /> |
28 | <include name="System.dll" /> | 28 | <include name="System.dll" /> |
29 | <include name="System.Data.dll" /> | 29 | <include name="System.Data.dll" /> |
30 | <include name="System.Xml.dll" /> | 30 | <include name="System.Xml.dll" /> |
31 | <include name="../../bin/XMLRPC.dll" /> | 31 | <include name="../../../bin/XMLRPC.dll" /> |
32 | </references> | 32 | </references> |
33 | </csc> | 33 | </csc> |
34 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 34 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
35 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 35 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
36 | <copy todir="${project::get-base-directory()}/../../bin/"> | 36 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
37 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 37 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
38 | <include name="*.dll"/> | 38 | <include name="*.dll"/> |
39 | <include name="*.exe"/> | 39 | <include name="*.exe"/> |
diff --git a/OpenGridServices/OpenGridServices.AssetServer/Properties/AssemblyInfo.cs b/OpenSim/Grid/AssetServer/Properties/AssemblyInfo.cs index f9a18a8..f9a18a8 100644 --- a/OpenGridServices/OpenGridServices.AssetServer/Properties/AssemblyInfo.cs +++ b/OpenSim/Grid/AssetServer/Properties/AssemblyInfo.cs | |||
diff --git a/OpenGridServices/OpenGrid.Framework.Manager/GridManagementAgent.cs b/OpenSim/Grid/Framework.Manager/GridManagementAgent.cs index dfc572a..3f5d7dd 100644 --- a/OpenGridServices/OpenGrid.Framework.Manager/GridManagementAgent.cs +++ b/OpenSim/Grid/Framework.Manager/GridManagementAgent.cs | |||
@@ -27,12 +27,12 @@ | |||
27 | */ | 27 | */ |
28 | using Nwc.XmlRpc; | 28 | using Nwc.XmlRpc; |
29 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
30 | using OpenSim.Servers; | 30 | using OpenSim.Framework.Servers; |
31 | using System.Collections; | 31 | using System.Collections; |
32 | using System.Collections.Generic; | 32 | using System.Collections.Generic; |
33 | using libsecondlife; | 33 | using libsecondlife; |
34 | 34 | ||
35 | namespace OpenGrid.Framework.Manager | 35 | namespace OpenSim.Framework.Manager |
36 | { | 36 | { |
37 | /// <summary> | 37 | /// <summary> |
38 | /// Used to pass messages to the gridserver | 38 | /// Used to pass messages to the gridserver |
@@ -116,7 +116,7 @@ namespace OpenGrid.Framework.Manager | |||
116 | Hashtable requestData = (Hashtable)request.Params[0]; | 116 | Hashtable requestData = (Hashtable)request.Params[0]; |
117 | Hashtable responseData = new Hashtable(); | 117 | Hashtable responseData = new Hashtable(); |
118 | 118 | ||
119 | // TODO: Switch this over to using OpenGrid.Framework.Data | 119 | // TODO: Switch this over to using OpenSim.Framework.Data |
120 | if (requestData["username"].Equals("admin") && requestData["password"].Equals("supersecret")) | 120 | if (requestData["username"].Equals("admin") && requestData["password"].Equals("supersecret")) |
121 | { | 121 | { |
122 | response.IsFault = false; | 122 | response.IsFault = false; |
diff --git a/OpenGridServices/OpenGrid.Framework.Manager/GridServerManager.cs b/OpenSim/Grid/Framework.Manager/GridServerManager.cs index e276556..d5eaf6f 100644 --- a/OpenGridServices/OpenGrid.Framework.Manager/GridServerManager.cs +++ b/OpenSim/Grid/Framework.Manager/GridServerManager.cs | |||
@@ -33,7 +33,7 @@ using Nwc.XmlRpc; | |||
33 | using System.Threading; | 33 | using System.Threading; |
34 | using libsecondlife; | 34 | using libsecondlife; |
35 | 35 | ||
36 | namespace OpenGrid.Framework.Manager { | 36 | namespace OpenSim.Framework.Manager { |
37 | 37 | ||
38 | /// <summary> | 38 | /// <summary> |
39 | /// A remote management system for the grid server | 39 | /// A remote management system for the grid server |
diff --git a/OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.csproj b/OpenSim/Grid/Framework.Manager/OpenSim.Grid.Framework.Manager.csproj index e1c9f42..9a98ff4 100644 --- a/OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.csproj +++ b/OpenSim/Grid/Framework.Manager/OpenSim.Grid.Framework.Manager.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{7924FD35-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{4B7BFD1C-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Framework.Manager</AssemblyName> | 12 | <AssemblyName>OpenSim.Grid.Framework.Manager</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGrid.Framework.Manager</RootNamespace> | 19 | <RootNamespace>OpenSim.Grid.Framework.Manager</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,23 +59,23 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libsecondlife.dll" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="OpenSim.Framework" > | 65 | <Reference Include="OpenSim.Framework" > |
66 | <HintPath>OpenSim.Framework.dll</HintPath> | 66 | <HintPath>OpenSim.Framework.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="OpenSim.Servers" > | 69 | <Reference Include="OpenSim.Framework.Servers" > |
70 | <HintPath>OpenSim.Servers.dll</HintPath> | 70 | <HintPath>OpenSim.Framework.Servers.dll</HintPath> |
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="System" > | 73 | <Reference Include="System" > |
74 | <HintPath>System.dll</HintPath> | 74 | <HintPath>System.dll</HintPath> |
75 | <Private>False</Private> | 75 | <Private>False</Private> |
76 | </Reference> | 76 | </Reference> |
77 | <Reference Include="XMLRPC" > | 77 | <Reference Include="XMLRPC.dll" > |
78 | <HintPath>XMLRPC.dll</HintPath> | 78 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </Reference> | 80 | </Reference> |
81 | </ItemGroup> | 81 | </ItemGroup> |
diff --git a/OpenSim/Grid/Framework.Manager/OpenSim.Grid.Framework.Manager.dll.build b/OpenSim/Grid/Framework.Manager/OpenSim.Grid.Framework.Manager.dll.build new file mode 100644 index 0000000..119967d --- /dev/null +++ b/OpenSim/Grid/Framework.Manager/OpenSim.Grid.Framework.Manager.dll.build | |||
@@ -0,0 +1,44 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim.Grid.Framework.Manager" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenSim.Grid.Framework.Manager" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="GridManagementAgent.cs" /> | ||
15 | <include name="GridServerManager.cs" /> | ||
16 | </sources> | ||
17 | <references basedir="${project::get-base-directory()}"> | ||
18 | <lib> | ||
19 | <include name="${project::get-base-directory()}" /> | ||
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
21 | </lib> | ||
22 | <include name="../../../bin/libsecondlife.dll" /> | ||
23 | <include name="OpenSim.Framework.dll" /> | ||
24 | <include name="OpenSim.Framework.Servers.dll" /> | ||
25 | <include name="System.dll" /> | ||
26 | <include name="../../../bin/XMLRPC.dll" /> | ||
27 | </references> | ||
28 | </csc> | ||
29 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> | ||
30 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> | ||
31 | <copy todir="${project::get-base-directory()}/../../../bin/"> | ||
32 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
33 | <include name="*.dll"/> | ||
34 | <include name="*.exe"/> | ||
35 | </fileset> | ||
36 | </copy> | ||
37 | </target> | ||
38 | <target name="clean"> | ||
39 | <delete dir="${bin.dir}" failonerror="false" /> | ||
40 | <delete dir="${obj.dir}" failonerror="false" /> | ||
41 | </target> | ||
42 | <target name="doc" description="Creates documentation."> | ||
43 | </target> | ||
44 | </project> | ||
diff --git a/OpenGridServices/OpenGrid.Config/GridConfigDb4o/AssemblyInfo.cs b/OpenSim/Grid/GridServer.Config/AssemblyInfo.cs index c9701d6..c9701d6 100644 --- a/OpenGridServices/OpenGrid.Config/GridConfigDb4o/AssemblyInfo.cs +++ b/OpenSim/Grid/GridServer.Config/AssemblyInfo.cs | |||
diff --git a/OpenGridServices/OpenGrid.Config/GridConfigDb4o/DbGridConfig.cs b/OpenSim/Grid/GridServer.Config/DbGridConfig.cs index 2218004..2218004 100644 --- a/OpenGridServices/OpenGrid.Config/GridConfigDb4o/DbGridConfig.cs +++ b/OpenSim/Grid/GridServer.Config/DbGridConfig.cs | |||
diff --git a/OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.csproj b/OpenSim/Grid/GridServer.Config/OpenSim.Grid.GridServer.Config.csproj index ddb48af..24e845c 100644 --- a/OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.csproj +++ b/OpenSim/Grid/GridServer.Config/OpenSim.Grid.GridServer.Config.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{B0027747-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{1442B635-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Config.GridConfigDb4o</AssemblyName> | 12 | <AssemblyName>OpenSim.Grid.GridServer.Config</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGrid.Config.GridConfigDb4o</RootNamespace> | 19 | <RootNamespace>OpenSim.Grid.GridServer.Config</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
diff --git a/OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build b/OpenSim/Grid/GridServer.Config/OpenSim.Grid.GridServer.Config.dll.build index 075593b..ff57dac 100644 --- a/OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build +++ b/OpenSim/Grid/GridServer.Config/OpenSim.Grid.GridServer.Config.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenGrid.Config.GridConfigDb4o" default="build"> | 2 | <project name="OpenSim.Grid.GridServer.Config" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenGrid.Config.GridConfigDb4o" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Grid.GridServer.Config" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="AssemblyInfo.cs" /> |
@@ -21,8 +21,8 @@ | |||
21 | </lib> | 21 | </lib> |
22 | <include name="../../../bin/Db4objects.Db4o.dll" /> | 22 | <include name="../../../bin/Db4objects.Db4o.dll" /> |
23 | <include name="../../../bin/libsecondlife.dll" /> | 23 | <include name="../../../bin/libsecondlife.dll" /> |
24 | <include name="../../../bin/OpenSim.Framework.dll" /> | 24 | <include name="OpenSim.Framework.dll" /> |
25 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> | 25 | <include name="OpenSim.Framework.Console.dll" /> |
26 | <include name="System.dll" /> | 26 | <include name="System.dll" /> |
27 | <include name="System.Data.dll.dll" /> | 27 | <include name="System.Data.dll.dll" /> |
28 | <include name="System.Xml.dll" /> | 28 | <include name="System.Xml.dll" /> |
diff --git a/OpenGridServices/OpenGridServices.GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs index bf80652..c78d14a 100644 --- a/OpenGridServices/OpenGridServices.GridServer/GridManager.cs +++ b/OpenSim/Grid/GridServer/GridManager.cs | |||
@@ -30,7 +30,7 @@ using System.Collections; | |||
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Text; | 31 | using System.Text; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenGrid.Framework.Data; | 33 | using OpenSim.Framework.Data; |
34 | using OpenSim.Framework.Utilities; | 34 | using OpenSim.Framework.Utilities; |
35 | using OpenSim.Framework.Console; | 35 | using OpenSim.Framework.Console; |
36 | using OpenSim.Framework.Sims; | 36 | using OpenSim.Framework.Sims; |
@@ -38,7 +38,7 @@ using libsecondlife; | |||
38 | using Nwc.XmlRpc; | 38 | using Nwc.XmlRpc; |
39 | using System.Xml; | 39 | using System.Xml; |
40 | 40 | ||
41 | namespace OpenGridServices.GridServer | 41 | namespace OpenSim.Grid.GridServer |
42 | { | 42 | { |
43 | class GridManager | 43 | class GridManager |
44 | { | 44 | { |
diff --git a/OpenGridServices/OpenGridServices.GridServer/Main.cs b/OpenSim/Grid/GridServer/Main.cs index b948fd6..b225214 100644 --- a/OpenGridServices/OpenGridServices.GridServer/Main.cs +++ b/OpenSim/Grid/GridServer/Main.cs | |||
@@ -34,22 +34,22 @@ using System.Net; | |||
34 | using System.Threading; | 34 | using System.Threading; |
35 | using System.Reflection; | 35 | using System.Reflection; |
36 | using libsecondlife; | 36 | using libsecondlife; |
37 | using OpenGrid.Framework.Manager; | 37 | using OpenSim.Framework.Manager; |
38 | using OpenSim.Framework; | 38 | using OpenSim.Framework; |
39 | using OpenSim.Framework.Sims; | 39 | using OpenSim.Framework.Sims; |
40 | using OpenSim.Framework.Console; | 40 | using OpenSim.Framework.Console; |
41 | using OpenSim.Framework.Interfaces; | 41 | using OpenSim.Framework.Interfaces; |
42 | using OpenSim.Servers; | 42 | using OpenSim.Framework.Servers; |
43 | using OpenSim.GenericConfig; | 43 | using OpenSim.GenericConfig; |
44 | 44 | ||
45 | namespace OpenGridServices.GridServer | 45 | namespace OpenSim.Grid.GridServer |
46 | { | 46 | { |
47 | /// <summary> | 47 | /// <summary> |
48 | /// </summary> | 48 | /// </summary> |
49 | public class OpenGrid_Main : conscmd_callback | 49 | public class OpenGrid_Main : conscmd_callback |
50 | { | 50 | { |
51 | private string ConfigDll = "OpenGrid.Config.GridConfigDb4o.dll"; | 51 | private string ConfigDll = "OpenGrid.Config.GridConfigDb4o.dll"; |
52 | private string GridDll = "OpenGrid.Framework.Data.MySQL.dll"; | 52 | private string GridDll = "OpenSim.Framework.Data.MySQL.dll"; |
53 | public GridConfig Cfg; | 53 | public GridConfig Cfg; |
54 | 54 | ||
55 | public static OpenGrid_Main thegrid; | 55 | public static OpenGrid_Main thegrid; |
@@ -253,8 +253,8 @@ namespace OpenGridServices.GridServer | |||
253 | attri = configData.GetAttribute("DataBaseProvider"); | 253 | attri = configData.GetAttribute("DataBaseProvider"); |
254 | if (attri == "") | 254 | if (attri == "") |
255 | { | 255 | { |
256 | GridDll = "OpenGrid.Framework.Data.DB4o.dll"; | 256 | GridDll = "OpenSim.Framework.Data.DB4o.dll"; |
257 | configData.SetAttribute("DataBaseProvider", "OpenGrid.Framework.Data.DB4o.dll"); | 257 | configData.SetAttribute("DataBaseProvider", "OpenSim.Framework.Data.DB4o.dll"); |
258 | } | 258 | } |
259 | else | 259 | else |
260 | { | 260 | { |
diff --git a/OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.csproj b/OpenSim/Grid/GridServer/OpenSim.Grid.GridServer.csproj index 291f997..424072e 100644 --- a/OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.csproj +++ b/OpenSim/Grid/GridServer/OpenSim.Grid.GridServer.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{21BFC8E2-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{60FCC3A6-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGridServices.GridServer</AssemblyName> | 12 | <AssemblyName>OpenSim.Grid.GridServer</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Exe</OutputType> | 17 | <OutputType>Exe</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGridServices.GridServer</RootNamespace> | 19 | <RootNamespace>OpenSim.Grid.GridServer</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,11 +59,11 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Db4objects.Db4o.dll" > | 61 | <Reference Include="Db4objects.Db4o.dll" > |
62 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | 62 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="libsecondlife.dll" > | 65 | <Reference Include="libsecondlife.dll" > |
66 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 66 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="OpenSim.Framework" > | 69 | <Reference Include="OpenSim.Framework" > |
@@ -74,12 +74,12 @@ | |||
74 | <HintPath>OpenSim.Framework.Console.dll</HintPath> | 74 | <HintPath>OpenSim.Framework.Console.dll</HintPath> |
75 | <Private>False</Private> | 75 | <Private>False</Private> |
76 | </Reference> | 76 | </Reference> |
77 | <Reference Include="OpenSim.GenericConfig.Xml" > | 77 | <Reference Include="OpenSim.Framework.GenericConfig.Xml" > |
78 | <HintPath>OpenSim.GenericConfig.Xml.dll</HintPath> | 78 | <HintPath>OpenSim.Framework.GenericConfig.Xml.dll</HintPath> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </Reference> | 80 | </Reference> |
81 | <Reference Include="OpenSim.Servers" > | 81 | <Reference Include="OpenSim.Framework.Servers" > |
82 | <HintPath>OpenSim.Servers.dll</HintPath> | 82 | <HintPath>OpenSim.Framework.Servers.dll</HintPath> |
83 | <Private>False</Private> | 83 | <Private>False</Private> |
84 | </Reference> | 84 | </Reference> |
85 | <Reference Include="System" > | 85 | <Reference Include="System" > |
@@ -94,21 +94,21 @@ | |||
94 | <HintPath>System.Xml.dll</HintPath> | 94 | <HintPath>System.Xml.dll</HintPath> |
95 | <Private>False</Private> | 95 | <Private>False</Private> |
96 | </Reference> | 96 | </Reference> |
97 | <Reference Include="XMLRPC" > | 97 | <Reference Include="XMLRPC.dll" > |
98 | <HintPath>XMLRPC.dll</HintPath> | 98 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> |
99 | <Private>False</Private> | 99 | <Private>False</Private> |
100 | </Reference> | 100 | </Reference> |
101 | </ItemGroup> | 101 | </ItemGroup> |
102 | <ItemGroup> | 102 | <ItemGroup> |
103 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | 103 | <ProjectReference Include="..\..\Framework\Data\OpenSim.Framework.Data.csproj"> |
104 | <Name>OpenGrid.Framework.Data</Name> | 104 | <Name>OpenSim.Framework.Data</Name> |
105 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | 105 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
106 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 106 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
107 | <Private>False</Private> | 107 | <Private>False</Private> |
108 | </ProjectReference> | 108 | </ProjectReference> |
109 | <ProjectReference Include="..\OpenGrid.Framework.Manager\OpenGrid.Framework.Manager.csproj"> | 109 | <ProjectReference Include="..\Framework.Manager\OpenSim.Grid.Framework.Manager.csproj"> |
110 | <Name>OpenGrid.Framework.Manager</Name> | 110 | <Name>OpenSim.Grid.Framework.Manager</Name> |
111 | <Project>{7924FD35-0000-0000-0000-000000000000}</Project> | 111 | <Project>{4B7BFD1C-0000-0000-0000-000000000000}</Project> |
112 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 112 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
113 | <Private>False</Private> | 113 | <Private>False</Private> |
114 | </ProjectReference> | 114 | </ProjectReference> |
diff --git a/OpenSim/Examples/SimpleApp/SimpleApp.exe.build b/OpenSim/Grid/GridServer/OpenSim.Grid.GridServer.exe.build index 087922b..3573e89 100644 --- a/OpenSim/Examples/SimpleApp/SimpleApp.exe.build +++ b/OpenSim/Grid/GridServer/OpenSim.Grid.GridServer.exe.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="SimpleApp" default="build"> | 2 | <project name="OpenSim.Grid.GridServer" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,11 +8,11 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> | 10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> |
11 | <resources prefix="SimpleApp" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Grid.GridServer" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="MyWorld.cs" /> | 14 | <include name="GridManager.cs" /> |
15 | <include name="Program.cs" /> | 15 | <include name="Main.cs" /> |
16 | <include name="Properties/AssemblyInfo.cs" /> | 16 | <include name="Properties/AssemblyInfo.cs" /> |
17 | </sources> | 17 | </sources> |
18 | <references basedir="${project::get-base-directory()}"> | 18 | <references basedir="${project::get-base-directory()}"> |
@@ -20,18 +20,16 @@ | |||
20 | <include name="${project::get-base-directory()}" /> | 20 | <include name="${project::get-base-directory()}" /> |
21 | <include name="${project::get-base-directory()}/${build.dir}" /> | 21 | <include name="${project::get-base-directory()}/${build.dir}" /> |
22 | </lib> | 22 | </lib> |
23 | <include name="../../../bin/Db4objects.Db4o.dll" /> | ||
23 | <include name="../../../bin/libsecondlife.dll" /> | 24 | <include name="../../../bin/libsecondlife.dll" /> |
24 | <include name="../../../bin/OpenGrid.Framework.Communications.dll" /> | 25 | <include name="OpenSim.Framework.dll" /> |
25 | <include name="../../../bin/OpenSim.Caches.dll" /> | 26 | <include name="OpenSim.Framework.Console.dll" /> |
26 | <include name="../../../bin/OpenSim.Framework.dll" /> | 27 | <include name="../../../bin/OpenSim.Framework.Data.dll" /> |
27 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> | 28 | <include name="OpenSim.Framework.GenericConfig.Xml.dll" /> |
28 | <include name="../../../bin/OpenSim.GridInterfaces.Local.dll" /> | 29 | <include name="OpenSim.Framework.Servers.dll" /> |
29 | <include name="../../../bin/OpenSim.LocalCommunications.dll" /> | 30 | <include name="../../../bin/OpenSim.Grid.Framework.Manager.dll" /> |
30 | <include name="../../../bin/OpenSim.Region.dll" /> | ||
31 | <include name="../../../bin/OpenSim.RegionServer.dll" /> | ||
32 | <include name="../../../bin/OpenSim.Servers.dll" /> | ||
33 | <include name="System.dll" /> | 31 | <include name="System.dll" /> |
34 | <include name="System.Data.dll.dll" /> | 32 | <include name="System.Data.dll" /> |
35 | <include name="System.Xml.dll" /> | 33 | <include name="System.Xml.dll" /> |
36 | <include name="../../../bin/XMLRPC.dll" /> | 34 | <include name="../../../bin/XMLRPC.dll" /> |
37 | </references> | 35 | </references> |
diff --git a/OpenGridServices/OpenGridServices.GridServer/Properties/AssemblyInfo.cs b/OpenSim/Grid/GridServer/Properties/AssemblyInfo.cs index 303dddf..303dddf 100644 --- a/OpenGridServices/OpenGridServices.GridServer/Properties/AssemblyInfo.cs +++ b/OpenSim/Grid/GridServer/Properties/AssemblyInfo.cs | |||
diff --git a/OpenGridServices/OpenGridServices.InventoryServer/InventoryManager.cs b/OpenSim/Grid/InventoryServer/InventoryManager.cs index 9ca9b5e..9ca9b5e 100644 --- a/OpenGridServices/OpenGridServices.InventoryServer/InventoryManager.cs +++ b/OpenSim/Grid/InventoryServer/InventoryManager.cs | |||
diff --git a/OpenGridServices/OpenGridServices.InventoryServer/Main.cs b/OpenSim/Grid/InventoryServer/Main.cs index f479a79..f479a79 100644 --- a/OpenGridServices/OpenGridServices.InventoryServer/Main.cs +++ b/OpenSim/Grid/InventoryServer/Main.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager.mds b/OpenSim/Grid/Manager/OpenGridServices.Manager.mds index ed7bc24..ed7bc24 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager.mds +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager.mds | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager.userprefs b/OpenSim/Grid/Manager/OpenGridServices.Manager.userprefs index f221509..f221509 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager.userprefs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager.userprefs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager.usertasks b/OpenSim/Grid/Manager/OpenGridServices.Manager.usertasks index d887d0e..d887d0e 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager.usertasks +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager.usertasks | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/AssemblyInfo.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/AssemblyInfo.cs index af4e275..af4e275 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/AssemblyInfo.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/AssemblyInfo.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/BlockingQueue.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/BlockingQueue.cs index 83685fc..83685fc 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/BlockingQueue.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/BlockingQueue.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/Connect to grid server.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/Connect to grid server.cs index 0d509ef..0d509ef 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/Connect to grid server.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/Connect to grid server.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs index 8a80b1d..8a80b1d 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/GridServerConnectionManager.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs index 6b632d6..6b632d6 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/GridServerConnectionManager.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/Main.cs index 42e09e0..42e09e0 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/Main.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/MainWindow.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/MainWindow.cs index 1db38f0..1db38f0 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/MainWindow.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/MainWindow.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.mdp b/OpenSim/Grid/Manager/OpenGridServices.Manager/OpenGridServices.Manager.mdp index cfdc085..cfdc085 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.mdp +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/OpenGridServices.Manager.mdp | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.pidb b/OpenSim/Grid/Manager/OpenGridServices.Manager/OpenGridServices.Manager.pidb index 44e7a61..44e7a61 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.pidb +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/OpenGridServices.Manager.pidb | |||
Binary files differ | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/RegionBlock.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/RegionBlock.cs index 00f7c65..00f7c65 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/RegionBlock.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/RegionBlock.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/Util.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/Util.cs index 5bf7ff9..5bf7ff9 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/Util.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/Util.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.ConnectToGridServerDialog.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.ConnectToGridServerDialog.cs index da6739e..da6739e 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.ConnectToGridServerDialog.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.ConnectToGridServerDialog.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs index 8798dac..8798dac 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/generated.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/generated.cs index dd4abdd..dd4abdd 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/generated.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/generated.cs | |||
diff --git a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/gui.stetic b/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/gui.stetic index c883f08..c883f08 100644 --- a/OpenGridServices/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/gui.stetic +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/gui.stetic | |||
diff --git a/OpenGridServices/OpenUser.Config/UserConfigDb4o/AssemblyInfo.cs b/OpenSim/Grid/UserServer.Config/AssemblyInfo.cs index 25e0211..25e0211 100644 --- a/OpenGridServices/OpenUser.Config/UserConfigDb4o/AssemblyInfo.cs +++ b/OpenSim/Grid/UserServer.Config/AssemblyInfo.cs | |||
diff --git a/OpenGridServices/OpenUser.Config/UserConfigDb4o/DbUserConfig.cs b/OpenSim/Grid/UserServer.Config/DbUserConfig.cs index 770a6b9..770a6b9 100644 --- a/OpenGridServices/OpenUser.Config/UserConfigDb4o/DbUserConfig.cs +++ b/OpenSim/Grid/UserServer.Config/DbUserConfig.cs | |||
diff --git a/OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.csproj b/OpenSim/Grid/UserServer.Config/OpenSim.Grid.UserServer.Config.csproj index a89a38d..1ae9589 100644 --- a/OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.csproj +++ b/OpenSim/Grid/UserServer.Config/OpenSim.Grid.UserServer.Config.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{7E494328-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{08F87229-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenUser.Config.UserConfigDb4o</AssemblyName> | 12 | <AssemblyName>OpenSim.Grid.UserServer.Config</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenUser.Config.UserConfigDb4o</RootNamespace> | 19 | <RootNamespace>OpenSim.Grid.UserServer.Config</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
diff --git a/OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build b/OpenSim/Grid/UserServer.Config/OpenSim.Grid.UserServer.Config.dll.build index bd5d49f..fc7e00b 100644 --- a/OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build +++ b/OpenSim/Grid/UserServer.Config/OpenSim.Grid.UserServer.Config.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenUser.Config.UserConfigDb4o" default="build"> | 2 | <project name="OpenSim.Grid.UserServer.Config" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenUser.Config.UserConfigDb4o" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Grid.UserServer.Config" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="AssemblyInfo.cs" /> |
@@ -21,8 +21,8 @@ | |||
21 | </lib> | 21 | </lib> |
22 | <include name="../../../bin/Db4objects.Db4o.dll" /> | 22 | <include name="../../../bin/Db4objects.Db4o.dll" /> |
23 | <include name="../../../bin/libsecondlife.dll" /> | 23 | <include name="../../../bin/libsecondlife.dll" /> |
24 | <include name="../../../bin/OpenSim.Framework.dll" /> | 24 | <include name="OpenSim.Framework.dll" /> |
25 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> | 25 | <include name="OpenSim.Framework.Console.dll" /> |
26 | <include name="System.dll" /> | 26 | <include name="System.dll" /> |
27 | <include name="System.Data.dll.dll" /> | 27 | <include name="System.Data.dll.dll" /> |
28 | <include name="System.Xml.dll" /> | 28 | <include name="System.Xml.dll" /> |
diff --git a/OpenGridServices/OpenGridServices.UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index 5c27d57..640f91a 100644 --- a/OpenGridServices/OpenGridServices.UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -38,18 +38,18 @@ using OpenSim.Framework.Sims; | |||
38 | using OpenSim.Framework.Inventory; | 38 | using OpenSim.Framework.Inventory; |
39 | using OpenSim.Framework.Interfaces; | 39 | using OpenSim.Framework.Interfaces; |
40 | using OpenSim.Framework.Console; | 40 | using OpenSim.Framework.Console; |
41 | using OpenSim.Servers; | 41 | using OpenSim.Framework.Servers; |
42 | using OpenSim.Framework.Utilities; | 42 | using OpenSim.Framework.Utilities; |
43 | using OpenSim.GenericConfig; | 43 | using OpenSim.GenericConfig; |
44 | 44 | ||
45 | namespace OpenGridServices.UserServer | 45 | namespace OpenSim.Grid.UserServer |
46 | { | 46 | { |
47 | /// <summary> | 47 | /// <summary> |
48 | /// </summary> | 48 | /// </summary> |
49 | public class OpenUser_Main : conscmd_callback | 49 | public class OpenUser_Main : conscmd_callback |
50 | { | 50 | { |
51 | private string ConfigDll = "OpenUser.Config.UserConfigDb4o.dll"; | 51 | private string ConfigDll = "OpenSim.Grid.UserServer.Config.dll"; |
52 | private string StorageDll = "OpenGrid.Framework.Data.MySQL.dll"; | 52 | private string StorageDll = "OpenSim.Framework.Data.MySQL.dll"; |
53 | private UserConfig Cfg; | 53 | private UserConfig Cfg; |
54 | protected IGenericConfig localXMLConfig; | 54 | protected IGenericConfig localXMLConfig; |
55 | 55 | ||
@@ -107,8 +107,8 @@ namespace OpenGridServices.UserServer | |||
107 | 107 | ||
108 | httpServer.AddXmlRPCHandler("login_to_simulator", m_userManager.XmlRpcLoginMethod); | 108 | httpServer.AddXmlRPCHandler("login_to_simulator", m_userManager.XmlRpcLoginMethod); |
109 | 109 | ||
110 | httpServer.AddRestHandler("GET", "/user/name/", m_userManager.RestGetUserMethodName); | 110 | httpServer.AddXmlRPCHandler("get_user_by_name", m_userManager.XmlRPCGetUserMethodName); |
111 | httpServer.AddRestHandler("GET", "/user/uuid/", m_userManager.RestGetUserMethodUUID); | 111 | httpServer.AddXmlRPCHandler("get_user_by_uuid", m_userManager.XmlRPCGetUserMethodUUID); |
112 | 112 | ||
113 | httpServer.AddRestHandler("DELETE", "/usersessions/", m_userManager.RestDeleteUserSessionMethod); | 113 | httpServer.AddRestHandler("DELETE", "/usersessions/", m_userManager.RestDeleteUserSessionMethod); |
114 | 114 | ||
@@ -169,8 +169,8 @@ namespace OpenGridServices.UserServer | |||
169 | attri = configData.GetAttribute("DataBaseProvider"); | 169 | attri = configData.GetAttribute("DataBaseProvider"); |
170 | if (attri == "") | 170 | if (attri == "") |
171 | { | 171 | { |
172 | StorageDll = "OpenGrid.Framework.Data.DB4o.dll"; | 172 | StorageDll = "OpenSim.Framework.Data.DB4o.dll"; |
173 | configData.SetAttribute("DataBaseProvider", "OpenGrid.Framework.Data.DB4o.dll"); | 173 | configData.SetAttribute("DataBaseProvider", "OpenSim.Framework.Data.DB4o.dll"); |
174 | } | 174 | } |
175 | else | 175 | else |
176 | { | 176 | { |
diff --git a/OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.csproj b/OpenSim/Grid/UserServer/OpenSim.Grid.UserServer.csproj index ad0080a..1146b17 100644 --- a/OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.csproj +++ b/OpenSim/Grid/UserServer/OpenSim.Grid.UserServer.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{66591469-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{2FC96F92-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGridServices.UserServer</AssemblyName> | 12 | <AssemblyName>OpenSim.Grid.UserServer</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Exe</OutputType> | 17 | <OutputType>Exe</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGridServices.UserServer</RootNamespace> | 19 | <RootNamespace>OpenSim.Grid.UserServer</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,15 +59,11 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Db4objects.Db4o.dll" > | 61 | <Reference Include="Db4objects.Db4o.dll" > |
62 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | 62 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="libsecondlife.dll" > | 65 | <Reference Include="libsecondlife.dll" > |
66 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 66 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="OpenGrid.Framework.UserManager" > | ||
70 | <HintPath>OpenGrid.Framework.UserManager.dll</HintPath> | ||
71 | <Private>False</Private> | 67 | <Private>False</Private> |
72 | </Reference> | 68 | </Reference> |
73 | <Reference Include="OpenSim.Framework" > | 69 | <Reference Include="OpenSim.Framework" > |
@@ -78,12 +74,12 @@ | |||
78 | <HintPath>OpenSim.Framework.Console.dll</HintPath> | 74 | <HintPath>OpenSim.Framework.Console.dll</HintPath> |
79 | <Private>False</Private> | 75 | <Private>False</Private> |
80 | </Reference> | 76 | </Reference> |
81 | <Reference Include="OpenSim.GenericConfig.Xml" > | 77 | <Reference Include="OpenSim.Framework.GenericConfig.Xml" > |
82 | <HintPath>OpenSim.GenericConfig.Xml.dll</HintPath> | 78 | <HintPath>OpenSim.Framework.GenericConfig.Xml.dll</HintPath> |
83 | <Private>False</Private> | 79 | <Private>False</Private> |
84 | </Reference> | 80 | </Reference> |
85 | <Reference Include="OpenSim.Servers" > | 81 | <Reference Include="OpenSim.Framework.Servers" > |
86 | <HintPath>OpenSim.Servers.dll</HintPath> | 82 | <HintPath>OpenSim.Framework.Servers.dll</HintPath> |
87 | <Private>False</Private> | 83 | <Private>False</Private> |
88 | </Reference> | 84 | </Reference> |
89 | <Reference Include="System" > | 85 | <Reference Include="System" > |
@@ -98,15 +94,21 @@ | |||
98 | <HintPath>System.Xml.dll</HintPath> | 94 | <HintPath>System.Xml.dll</HintPath> |
99 | <Private>False</Private> | 95 | <Private>False</Private> |
100 | </Reference> | 96 | </Reference> |
101 | <Reference Include="XMLRPC" > | 97 | <Reference Include="XMLRPC.dll" > |
102 | <HintPath>XMLRPC.dll</HintPath> | 98 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> |
103 | <Private>False</Private> | 99 | <Private>False</Private> |
104 | </Reference> | 100 | </Reference> |
105 | </ItemGroup> | 101 | </ItemGroup> |
106 | <ItemGroup> | 102 | <ItemGroup> |
107 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | 103 | <ProjectReference Include="..\..\Framework\Data\OpenSim.Framework.Data.csproj"> |
108 | <Name>OpenGrid.Framework.Data</Name> | 104 | <Name>OpenSim.Framework.Data</Name> |
109 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | 105 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
106 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
107 | <Private>False</Private> | ||
108 | </ProjectReference> | ||
109 | <ProjectReference Include="..\..\Framework\UserManager\OpenSim.Framework.UserManagement.csproj"> | ||
110 | <Name>OpenSim.Framework.UserManagement</Name> | ||
111 | <Project>{586E2916-0000-0000-0000-000000000000}</Project> | ||
110 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 112 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
111 | <Private>False</Private> | 113 | <Private>False</Private> |
112 | </ProjectReference> | 114 | </ProjectReference> |
diff --git a/OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build b/OpenSim/Grid/UserServer/OpenSim.Grid.UserServer.exe.build index d262947..8bc1fc1 100644 --- a/OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build +++ b/OpenSim/Grid/UserServer/OpenSim.Grid.UserServer.exe.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenGridServices.UserServer" default="build"> | 2 | <project name="OpenSim.Grid.UserServer" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> | 10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> |
11 | <resources prefix="OpenGridServices.UserServer" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Grid.UserServer" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="Main.cs" /> | 14 | <include name="Main.cs" /> |
@@ -20,23 +20,23 @@ | |||
20 | <include name="${project::get-base-directory()}" /> | 20 | <include name="${project::get-base-directory()}" /> |
21 | <include name="${project::get-base-directory()}/${build.dir}" /> | 21 | <include name="${project::get-base-directory()}/${build.dir}" /> |
22 | </lib> | 22 | </lib> |
23 | <include name="../../bin/Db4objects.Db4o.dll" /> | 23 | <include name="../../../bin/Db4objects.Db4o.dll" /> |
24 | <include name="../../bin/libsecondlife.dll" /> | 24 | <include name="../../../bin/libsecondlife.dll" /> |
25 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | 25 | <include name="OpenSim.Framework.dll" /> |
26 | <include name="OpenGrid.Framework.UserManager.dll" /> | 26 | <include name="OpenSim.Framework.Console.dll" /> |
27 | <include name="../../bin/OpenSim.Framework.dll" /> | 27 | <include name="../../../bin/OpenSim.Framework.Data.dll" /> |
28 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | 28 | <include name="OpenSim.Framework.GenericConfig.Xml.dll" /> |
29 | <include name="../../bin/OpenSim.GenericConfig.Xml.dll" /> | 29 | <include name="OpenSim.Framework.Servers.dll" /> |
30 | <include name="../../bin/OpenSim.Servers.dll" /> | 30 | <include name="../../../bin/OpenSim.Framework.UserManagement.dll" /> |
31 | <include name="System.dll" /> | 31 | <include name="System.dll" /> |
32 | <include name="System.Data.dll" /> | 32 | <include name="System.Data.dll" /> |
33 | <include name="System.Xml.dll" /> | 33 | <include name="System.Xml.dll" /> |
34 | <include name="../../bin/XMLRPC.dll" /> | 34 | <include name="../../../bin/XMLRPC.dll" /> |
35 | </references> | 35 | </references> |
36 | </csc> | 36 | </csc> |
37 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 37 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
38 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 38 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
39 | <copy todir="${project::get-base-directory()}/../../bin/"> | 39 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
40 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 40 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
41 | <include name="*.dll"/> | 41 | <include name="*.dll"/> |
42 | <include name="*.exe"/> | 42 | <include name="*.exe"/> |
diff --git a/OpenGridServices/OpenGridServices.UserServer/Properties/AssemblyInfo.cs b/OpenSim/Grid/UserServer/Properties/AssemblyInfo.cs index 5d5ce8d..5d5ce8d 100644 --- a/OpenGridServices/OpenGridServices.UserServer/Properties/AssemblyInfo.cs +++ b/OpenSim/Grid/UserServer/Properties/AssemblyInfo.cs | |||
diff --git a/OpenGridServices/OpenGridServices.UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index 0704de1..c99cf87 100644 --- a/OpenGridServices/OpenGridServices.UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs | |||
@@ -29,7 +29,7 @@ using System; | |||
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Text; | 31 | using System.Text; |
32 | using OpenGrid.Framework.Data; | 32 | using OpenSim.Framework.Data; |
33 | using libsecondlife; | 33 | using libsecondlife; |
34 | using System.Reflection; | 34 | using System.Reflection; |
35 | 35 | ||
@@ -38,11 +38,12 @@ using Nwc.XmlRpc; | |||
38 | using OpenSim.Framework.Sims; | 38 | using OpenSim.Framework.Sims; |
39 | using OpenSim.Framework.Inventory; | 39 | using OpenSim.Framework.Inventory; |
40 | using OpenSim.Framework.Utilities; | 40 | using OpenSim.Framework.Utilities; |
41 | using OpenGrid.Framework.UserManagement; | 41 | |
42 | using OpenSim.Framework.UserManagement; | ||
42 | 43 | ||
43 | using System.Security.Cryptography; | 44 | using System.Security.Cryptography; |
44 | 45 | ||
45 | namespace OpenGridServices.UserServer | 46 | namespace OpenSim.Grid.UserServer |
46 | { | 47 | { |
47 | public class UserManager : UserManagerBase | 48 | public class UserManager : UserManagerBase |
48 | { | 49 | { |
diff --git a/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs b/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs deleted file mode 100644 index 7b53388..0000000 --- a/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs +++ /dev/null | |||
@@ -1,184 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | using System.IO; | ||
32 | using System.Reflection; | ||
33 | using OpenSim.Framework; | ||
34 | using OpenSim.Framework.Interfaces; | ||
35 | using OpenSim.Framework.Types; | ||
36 | using libsecondlife; | ||
37 | |||
38 | namespace OpenSim.Region.Scenes | ||
39 | { | ||
40 | public partial class Scene | ||
41 | { | ||
42 | private Dictionary<string, IScriptEngine> scriptEngines = new Dictionary<string, IScriptEngine>(); | ||
43 | |||
44 | /// <summary> | ||
45 | /// | ||
46 | /// </summary> | ||
47 | private void LoadScriptEngines() | ||
48 | { | ||
49 | this.LoadScriptPlugins(); | ||
50 | } | ||
51 | |||
52 | /// <summary> | ||
53 | /// | ||
54 | /// </summary> | ||
55 | public void LoadScriptPlugins() | ||
56 | { | ||
57 | string path = Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "ScriptEngines"); | ||
58 | string[] pluginFiles = Directory.GetFiles(path, "*.dll"); | ||
59 | |||
60 | |||
61 | for (int i = 0; i < pluginFiles.Length; i++) | ||
62 | { | ||
63 | this.AddPlugin(pluginFiles[i]); | ||
64 | } | ||
65 | } | ||
66 | |||
67 | /// <summary> | ||
68 | /// | ||
69 | /// </summary> | ||
70 | /// <param name="FileName"></param> | ||
71 | private void AddPlugin(string FileName) | ||
72 | { | ||
73 | Assembly pluginAssembly = Assembly.LoadFrom(FileName); | ||
74 | |||
75 | foreach (Type pluginType in pluginAssembly.GetTypes()) | ||
76 | { | ||
77 | if (pluginType.IsPublic) | ||
78 | { | ||
79 | if (!pluginType.IsAbstract) | ||
80 | { | ||
81 | Type typeInterface = pluginType.GetInterface("IScriptEngine", true); | ||
82 | |||
83 | if (typeInterface != null) | ||
84 | { | ||
85 | IScriptEngine plug = (IScriptEngine)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); | ||
86 | plug.Init(this); | ||
87 | this.scriptEngines.Add(plug.GetName(), plug); | ||
88 | |||
89 | } | ||
90 | |||
91 | typeInterface = null; | ||
92 | } | ||
93 | } | ||
94 | } | ||
95 | |||
96 | pluginAssembly = null; | ||
97 | } | ||
98 | |||
99 | /// <summary> | ||
100 | /// | ||
101 | /// </summary> | ||
102 | /// <param name="scriptType"></param> | ||
103 | /// <param name="scriptName"></param> | ||
104 | /// <param name="script"></param> | ||
105 | /// <param name="ent"></param> | ||
106 | public void LoadScript(string scriptType, string scriptName, string script, Entity ent) | ||
107 | { | ||
108 | if(this.scriptEngines.ContainsKey(scriptType)) | ||
109 | { | ||
110 | this.scriptEngines[scriptType].LoadScript(script, scriptName, ent.LocalId); | ||
111 | } | ||
112 | } | ||
113 | |||
114 | #region IScriptAPI Methods | ||
115 | |||
116 | /// <summary> | ||
117 | /// | ||
118 | /// </summary> | ||
119 | /// <param name="localID"></param> | ||
120 | /// <returns></returns> | ||
121 | public LLVector3 GetEntityPosition(uint localID) | ||
122 | { | ||
123 | LLVector3 res = new LLVector3(); | ||
124 | // Console.WriteLine("script- getting entity " + localID + " position"); | ||
125 | foreach (Entity entity in this.Entities.Values) | ||
126 | { | ||
127 | if (entity.LocalId == localID) | ||
128 | { | ||
129 | res.X = entity.Pos.X; | ||
130 | res.Y = entity.Pos.Y; | ||
131 | res.Z = entity.Pos.Z; | ||
132 | } | ||
133 | } | ||
134 | return res; | ||
135 | } | ||
136 | |||
137 | /// <summary> | ||
138 | /// | ||
139 | /// </summary> | ||
140 | /// <param name="localID"></param> | ||
141 | /// <param name="x"></param> | ||
142 | /// <param name="y"></param> | ||
143 | /// <param name="z"></param> | ||
144 | public void SetEntityPosition(uint localID, float x , float y, float z) | ||
145 | { | ||
146 | foreach (Entity entity in this.Entities.Values) | ||
147 | { | ||
148 | if (entity.LocalId == localID && entity is Primitive) | ||
149 | { | ||
150 | LLVector3 pos = entity.Pos; | ||
151 | pos.X = x; | ||
152 | pos.Y = y; | ||
153 | Primitive prim = entity as Primitive; | ||
154 | // Of course, we really should have asked the physEngine if this is possible, and if not, returned false. | ||
155 | //prim.UpdatePosition(pos); | ||
156 | // Console.WriteLine("script- setting entity " + localID + " positon"); | ||
157 | } | ||
158 | } | ||
159 | |||
160 | } | ||
161 | |||
162 | /// <summary> | ||
163 | /// | ||
164 | /// </summary> | ||
165 | /// <returns></returns> | ||
166 | public uint GetRandomAvatarID() | ||
167 | { | ||
168 | //Console.WriteLine("script- getting random avatar id"); | ||
169 | uint res = 0; | ||
170 | foreach (Entity entity in this.Entities.Values) | ||
171 | { | ||
172 | if (entity is ScenePresence) | ||
173 | { | ||
174 | res = entity.LocalId; | ||
175 | } | ||
176 | } | ||
177 | return res; | ||
178 | } | ||
179 | |||
180 | #endregion | ||
181 | |||
182 | |||
183 | } | ||
184 | } | ||
diff --git a/OpenSim/OpenSim.Region/Scenes/SceneEvents.cs b/OpenSim/OpenSim.Region/Scenes/SceneEvents.cs deleted file mode 100644 index 4b39e51..0000000 --- a/OpenSim/OpenSim.Region/Scenes/SceneEvents.cs +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | |||
32 | namespace OpenSim.Region.Scenes | ||
33 | { | ||
34 | /// <summary> | ||
35 | /// A class for triggering remote scene events. | ||
36 | /// </summary> | ||
37 | public class EventManager | ||
38 | { | ||
39 | public delegate void OnFrameDelegate(); | ||
40 | public event OnFrameDelegate OnFrame; | ||
41 | |||
42 | public delegate void OnNewPresenceDelegate(ScenePresence presence); | ||
43 | public event OnNewPresenceDelegate OnNewPresence; | ||
44 | |||
45 | public delegate void OnNewPrimitiveDelegate(Primitive prim); | ||
46 | public event OnNewPrimitiveDelegate OnNewPrimitive; | ||
47 | |||
48 | public delegate void OnRemovePresenceDelegate(libsecondlife.LLUUID uuid); | ||
49 | public event OnRemovePresenceDelegate OnRemovePresence; | ||
50 | |||
51 | public void TriggerOnFrame() | ||
52 | { | ||
53 | if (OnFrame != null) | ||
54 | { | ||
55 | OnFrame(); | ||
56 | } | ||
57 | } | ||
58 | |||
59 | public void TriggerOnNewPrimitive(Primitive prim) | ||
60 | { | ||
61 | if (OnNewPrimitive != null) | ||
62 | OnNewPrimitive(prim); | ||
63 | } | ||
64 | |||
65 | public void TriggerOnNewPresence(ScenePresence presence) | ||
66 | { | ||
67 | if (OnNewPresence != null) | ||
68 | OnNewPresence(presence); | ||
69 | } | ||
70 | |||
71 | public void TriggerOnRemovePresence(libsecondlife.LLUUID uuid) | ||
72 | { | ||
73 | if (OnRemovePresence != null) | ||
74 | { | ||
75 | OnRemovePresence(uuid); | ||
76 | } | ||
77 | } | ||
78 | } | ||
79 | } | ||
diff --git a/OpenSim/OpenSim.Region/Scenes/scripting/Engines/JSharpScriptEngine.cs b/OpenSim/OpenSim.Region/Scenes/scripting/Engines/JSharpScriptEngine.cs deleted file mode 100644 index b33b55d..0000000 --- a/OpenSim/OpenSim.Region/Scenes/scripting/Engines/JSharpScriptEngine.cs +++ /dev/null | |||
@@ -1,104 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | |||
32 | // Compilation stuff | ||
33 | using System.CodeDom; | ||
34 | using System.CodeDom.Compiler; | ||
35 | using Microsoft.VJSharp; | ||
36 | |||
37 | namespace OpenSim.Scripting | ||
38 | { | ||
39 | public class JSharpScriptEngine : IScriptCompiler | ||
40 | { | ||
41 | public string FileExt() | ||
42 | { | ||
43 | return ".jsl"; | ||
44 | } | ||
45 | |||
46 | private Dictionary<string, IScript> LoadDotNetScript(ICodeCompiler compiler, string filename) | ||
47 | { | ||
48 | CompilerParameters compilerParams = new CompilerParameters(); | ||
49 | CompilerResults compilerResults; | ||
50 | compilerParams.GenerateExecutable = false; | ||
51 | compilerParams.GenerateInMemory = true; | ||
52 | compilerParams.IncludeDebugInformation = false; | ||
53 | compilerParams.ReferencedAssemblies.Add("OpenSim.Region.dll"); | ||
54 | compilerParams.ReferencedAssemblies.Add("OpenSim.Framework.dll"); | ||
55 | compilerParams.ReferencedAssemblies.Add("libsecondlife.dll"); | ||
56 | compilerParams.ReferencedAssemblies.Add("System.dll"); | ||
57 | |||
58 | compilerResults = compiler.CompileAssemblyFromFile(compilerParams, filename); | ||
59 | |||
60 | if (compilerResults.Errors.Count > 0) | ||
61 | { | ||
62 | OpenSim.Framework.Console.MainLog.Instance.Error("Compile errors"); | ||
63 | foreach (CompilerError error in compilerResults.Errors) | ||
64 | { | ||
65 | OpenSim.Framework.Console.MainLog.Instance.Error(error.Line.ToString() + ": " + error.ErrorText.ToString()); | ||
66 | } | ||
67 | } | ||
68 | else | ||
69 | { | ||
70 | Dictionary<string, IScript> scripts = new Dictionary<string, IScript>(); | ||
71 | |||
72 | foreach (Type pluginType in compilerResults.CompiledAssembly.GetExportedTypes()) | ||
73 | { | ||
74 | Type testInterface = pluginType.GetInterface("IScript", true); | ||
75 | |||
76 | if (testInterface != null) | ||
77 | { | ||
78 | IScript script = (IScript)compilerResults.CompiledAssembly.CreateInstance(pluginType.ToString()); | ||
79 | |||
80 | string scriptName = "J#/" + script.getName(); | ||
81 | Console.WriteLine("Script: " + scriptName + " loaded."); | ||
82 | |||
83 | if (!scripts.ContainsKey(scriptName)) | ||
84 | { | ||
85 | scripts.Add(scriptName, script); | ||
86 | } | ||
87 | else | ||
88 | { | ||
89 | scripts[scriptName] = script; | ||
90 | } | ||
91 | } | ||
92 | } | ||
93 | return scripts; | ||
94 | } | ||
95 | return null; | ||
96 | } | ||
97 | |||
98 | public Dictionary<string, IScript> compile(string filename) | ||
99 | { | ||
100 | VJSharpCodeProvider jsharpProvider = new VJSharpCodeProvider(); | ||
101 | return LoadDotNetScript(jsharpProvider.CreateCompiler(), filename); | ||
102 | } | ||
103 | } | ||
104 | } | ||
diff --git a/OpenSim/OpenSim/OpenSim.exe.build b/OpenSim/OpenSim/OpenSim.exe.build deleted file mode 100644 index 13ca938..0000000 --- a/OpenSim/OpenSim/OpenSim.exe.build +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> | ||
11 | <resources prefix="OpenSim" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="Application.cs" /> | ||
15 | <include name="OpenSimMain.cs" /> | ||
16 | </sources> | ||
17 | <references basedir="${project::get-base-directory()}"> | ||
18 | <lib> | ||
19 | <include name="${project::get-base-directory()}" /> | ||
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
21 | </lib> | ||
22 | <include name="../../bin/Axiom.MathLib.dll" /> | ||
23 | <include name="../../bin/Db4objects.Db4o.dll" /> | ||
24 | <include name="../../bin/libsecondlife.dll" /> | ||
25 | <include name="../../bin/OpenGrid.Framework.Communications.dll" /> | ||
26 | <include name="../../bin/OpenGrid.Framework.Communications.OGS1.dll" /> | ||
27 | <include name="../../bin/OpenGrid.Framework.UserManagement.dll" /> | ||
28 | <include name="../../bin/OpenSim.Caches.dll" /> | ||
29 | <include name="../../bin/OpenSim.Framework.dll" /> | ||
30 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | ||
31 | <include name="../../bin/OpenSim.GenericConfig.Xml.dll" /> | ||
32 | <include name="../../bin/OpenSim.LocalCommunications.dll" /> | ||
33 | <include name="../../bin/OpenSim.Physics.Manager.dll" /> | ||
34 | <include name="../../bin/OpenSim.Region.dll" /> | ||
35 | <include name="../../bin/OpenSim.RegionServer.dll" /> | ||
36 | <include name="../../bin/OpenSim.Servers.dll" /> | ||
37 | <include name="../../bin/OpenSim.Terrain.BasicTerrain.dll" /> | ||
38 | <include name="System.dll" /> | ||
39 | <include name="System.Xml.dll" /> | ||
40 | <include name="../../bin/XMLRPC.dll" /> | ||
41 | </references> | ||
42 | </csc> | ||
43 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | ||
44 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | ||
45 | <copy todir="${project::get-base-directory()}/../../bin/"> | ||
46 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
47 | <include name="*.dll"/> | ||
48 | <include name="*.exe"/> | ||
49 | </fileset> | ||
50 | </copy> | ||
51 | </target> | ||
52 | <target name="clean"> | ||
53 | <delete dir="${bin.dir}" failonerror="false" /> | ||
54 | <delete dir="${obj.dir}" failonerror="false" /> | ||
55 | </target> | ||
56 | <target name="doc" description="Creates documentation."> | ||
57 | </target> | ||
58 | </project> | ||
diff --git a/OpenSim/OpenSim/Application.cs b/OpenSim/Region/Application/Application.cs index 40701b0..1dcd99b 100644 --- a/OpenSim/OpenSim/Application.cs +++ b/OpenSim/Region/Application/Application.cs | |||
@@ -29,6 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenSim.Framework.Console; | 31 | using OpenSim.Framework.Console; |
32 | using OpenSim.Region.ClientStack; | ||
32 | 33 | ||
33 | namespace OpenSim | 34 | namespace OpenSim |
34 | { | 35 | { |
@@ -108,7 +109,7 @@ namespace OpenSim | |||
108 | sim.m_sandbox = sandBoxMode; | 109 | sim.m_sandbox = sandBoxMode; |
109 | sim.user_accounts = userAccounts; | 110 | sim.user_accounts = userAccounts; |
110 | sim.gridLocalAsset = gridLocalAsset; | 111 | sim.gridLocalAsset = gridLocalAsset; |
111 | OpenSim.Region.Scenes.ScenePresence.PhysicsEngineFlying = allowFlying; | 112 | OpenSim.Region.Environment.Scenes.ScenePresence.PhysicsEngineFlying = allowFlying; |
112 | 113 | ||
113 | sim.StartUp(); | 114 | sim.StartUp(); |
114 | 115 | ||
diff --git a/OpenSim/OpenSim/OpenSim.csproj b/OpenSim/Region/Application/OpenSim.csproj index 222e2f7..bec85cc 100644 --- a/OpenSim/OpenSim/OpenSim.csproj +++ b/OpenSim/Region/Application/OpenSim.csproj | |||
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,15 +59,15 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Axiom.MathLib.dll" > | 61 | <Reference Include="Axiom.MathLib.dll" > |
62 | <HintPath>..\..\bin\Axiom.MathLib.dll</HintPath> | 62 | <HintPath>..\..\..\bin\Axiom.MathLib.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="Db4objects.Db4o.dll" > | 65 | <Reference Include="Db4objects.Db4o.dll" > |
66 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | 66 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="libsecondlife.dll" > | 69 | <Reference Include="libsecondlife.dll" > |
70 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 70 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="System" > | 73 | <Reference Include="System" > |
@@ -78,89 +78,93 @@ | |||
78 | <HintPath>System.Xml.dll</HintPath> | 78 | <HintPath>System.Xml.dll</HintPath> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </Reference> | 80 | </Reference> |
81 | <Reference Include="XMLRPC.dll" > | ||
82 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> | ||
83 | <Private>False</Private> | ||
84 | </Reference> | ||
81 | </ItemGroup> | 85 | </ItemGroup> |
82 | <ItemGroup> | 86 | <ItemGroup> |
83 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.Communications\OpenGrid.Framework.Communications.csproj"> | 87 | <ProjectReference Include="..\..\Framework\General\OpenSim.Framework.csproj"> |
84 | <Name>OpenGrid.Framework.Communications</Name> | 88 | <Name>OpenSim.Framework</Name> |
85 | <Project>{683344D5-0000-0000-0000-000000000000}</Project> | 89 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 90 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
87 | <Private>False</Private> | 91 | <Private>False</Private> |
88 | </ProjectReference> | 92 | </ProjectReference> |
89 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.Communications.OGS1\OpenGrid.Framework.Communications.OGS1.csproj"> | 93 | <ProjectReference Include="..\..\Framework\Communications\OpenSim.Framework.Communications.csproj"> |
90 | <Name>OpenGrid.Framework.Communications.OGS1</Name> | 94 | <Name>OpenSim.Framework.Communications</Name> |
91 | <Project>{17442AF1-0000-0000-0000-000000000000}</Project> | 95 | <Project>{CB52B7E7-0000-0000-0000-000000000000}</Project> |
92 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 96 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
93 | <Private>False</Private> | 97 | <Private>False</Private> |
94 | </ProjectReference> | 98 | </ProjectReference> |
95 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.UserManager\OpenGrid.Framework.UserManagement.csproj"> | 99 | <ProjectReference Include="..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
96 | <Name>OpenGrid.Framework.UserManagement</Name> | 100 | <Name>OpenSim.Framework.Console</Name> |
97 | <Project>{DA9A7391-0000-0000-0000-000000000000}</Project> | 101 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
98 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 102 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
99 | <Private>False</Private> | 103 | <Private>False</Private> |
100 | </ProjectReference> | 104 | </ProjectReference> |
101 | <ProjectReference Include="..\OpenSim.Caches\OpenSim.Caches.csproj"> | 105 | <ProjectReference Include="..\..\Framework\Data\OpenSim.Framework.Data.csproj"> |
102 | <Name>OpenSim.Caches</Name> | 106 | <Name>OpenSim.Framework.Data</Name> |
103 | <Project>{1938EB12-0000-0000-0000-000000000000}</Project> | 107 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
104 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 108 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
105 | <Private>False</Private> | 109 | <Private>False</Private> |
106 | </ProjectReference> | 110 | </ProjectReference> |
107 | <ProjectReference Include="..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 111 | <ProjectReference Include="..\..\Framework\GenericConfig\Xml\OpenSim.Framework.GenericConfig.Xml.csproj"> |
108 | <Name>OpenSim.Framework</Name> | 112 | <Name>OpenSim.Framework.GenericConfig.Xml</Name> |
109 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 113 | <Project>{C74E4A30-0000-0000-0000-000000000000}</Project> |
110 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 114 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
111 | <Private>False</Private> | 115 | <Private>False</Private> |
112 | </ProjectReference> | 116 | </ProjectReference> |
113 | <ProjectReference Include="..\..\Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 117 | <ProjectReference Include="..\..\Framework\Servers\OpenSim.Framework.Servers.csproj"> |
114 | <Name>OpenSim.Framework.Console</Name> | 118 | <Name>OpenSim.Framework.Servers</Name> |
115 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 119 | <Project>{2CC71860-0000-0000-0000-000000000000}</Project> |
116 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 120 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
117 | <Private>False</Private> | 121 | <Private>False</Private> |
118 | </ProjectReference> | 122 | </ProjectReference> |
119 | <ProjectReference Include="..\..\Common\OpenSim.GenericConfig\Xml\OpenSim.GenericConfig.Xml.csproj"> | 123 | <ProjectReference Include="..\..\Framework\UserManager\OpenSim.Framework.UserManagement.csproj"> |
120 | <Name>OpenSim.GenericConfig.Xml</Name> | 124 | <Name>OpenSim.Framework.UserManagement</Name> |
121 | <Project>{E88EF749-0000-0000-0000-000000000000}</Project> | 125 | <Project>{586E2916-0000-0000-0000-000000000000}</Project> |
122 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 126 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
123 | <Private>False</Private> | 127 | <Private>False</Private> |
124 | </ProjectReference> | 128 | </ProjectReference> |
125 | <ProjectReference Include="..\OpenSim.LocalCommunications\OpenSim.LocalCommunications.csproj"> | 129 | <ProjectReference Include="..\Caches\OpenSim.Region.Caches.csproj"> |
126 | <Name>OpenSim.LocalCommunications</Name> | 130 | <Name>OpenSim.Region.Caches</Name> |
127 | <Project>{79CED992-0000-0000-0000-000000000000}</Project> | 131 | <Project>{61FCCDB3-0000-0000-0000-000000000000}</Project> |
128 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 132 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
129 | <Private>False</Private> | 133 | <Private>False</Private> |
130 | </ProjectReference> | 134 | </ProjectReference> |
131 | <ProjectReference Include="..\OpenSim.Physics\Manager\OpenSim.Physics.Manager.csproj"> | 135 | <ProjectReference Include="..\ClientStack\OpenSim.Region.ClientStack.csproj"> |
132 | <Name>OpenSim.Physics.Manager</Name> | 136 | <Name>OpenSim.Region.ClientStack</Name> |
133 | <Project>{8BE16150-0000-0000-0000-000000000000}</Project> | 137 | <Project>{DC3698B2-0000-0000-0000-000000000000}</Project> |
134 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 138 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
135 | <Private>False</Private> | 139 | <Private>False</Private> |
136 | </ProjectReference> | 140 | </ProjectReference> |
137 | <ProjectReference Include="..\OpenSim.Region\OpenSim.Region.csproj"> | 141 | <ProjectReference Include="..\Communications\Local\OpenSim.Region.Communications.Local.csproj"> |
138 | <Name>OpenSim.Region</Name> | 142 | <Name>OpenSim.Region.Communications.Local</Name> |
139 | <Project>{196916AF-0000-0000-0000-000000000000}</Project> | 143 | <Project>{BFB5D807-0000-0000-0000-000000000000}</Project> |
140 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 144 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
141 | <Private>False</Private> | 145 | <Private>False</Private> |
142 | </ProjectReference> | 146 | </ProjectReference> |
143 | <ProjectReference Include="..\OpenSim.RegionServer\OpenSim.RegionServer.csproj"> | 147 | <ProjectReference Include="..\Communications\OGS1\OpenSim.Region.Communications.OGS1.csproj"> |
144 | <Name>OpenSim.RegionServer</Name> | 148 | <Name>OpenSim.Region.Communications.OGS1</Name> |
145 | <Project>{632E1BFD-0000-0000-0000-000000000000}</Project> | 149 | <Project>{4806E378-0000-0000-0000-000000000000}</Project> |
146 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 150 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
147 | <Private>False</Private> | 151 | <Private>False</Private> |
148 | </ProjectReference> | 152 | </ProjectReference> |
149 | <ProjectReference Include="..\..\Common\OpenSim.Servers\OpenSim.Servers.csproj"> | 153 | <ProjectReference Include="..\Environment\OpenSim.Region.Environment.csproj"> |
150 | <Name>OpenSim.Servers</Name> | 154 | <Name>OpenSim.Region.Environment</Name> |
151 | <Project>{8BB20F0A-0000-0000-0000-000000000000}</Project> | 155 | <Project>{DCBA491C-0000-0000-0000-000000000000}</Project> |
152 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 156 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
153 | <Private>False</Private> | 157 | <Private>False</Private> |
154 | </ProjectReference> | 158 | </ProjectReference> |
155 | <ProjectReference Include="..\OpenSim.Terrain.BasicTerrain\OpenSim.Terrain.BasicTerrain.csproj"> | 159 | <ProjectReference Include="..\Physics\Manager\OpenSim.Region.Physics.Manager.csproj"> |
156 | <Name>OpenSim.Terrain.BasicTerrain</Name> | 160 | <Name>OpenSim.Region.Physics.Manager</Name> |
157 | <Project>{2270B8FE-0000-0000-0000-000000000000}</Project> | 161 | <Project>{F4FF31EB-0000-0000-0000-000000000000}</Project> |
158 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 162 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
159 | <Private>False</Private> | 163 | <Private>False</Private> |
160 | </ProjectReference> | 164 | </ProjectReference> |
161 | <ProjectReference Include="..\..\Common\XmlRpcCS\XMLRPC.csproj"> | 165 | <ProjectReference Include="..\Terrain.BasicTerrain\OpenSim.Region.Terrain.BasicTerrain.csproj"> |
162 | <Name>XMLRPC</Name> | 166 | <Name>OpenSim.Region.Terrain.BasicTerrain</Name> |
163 | <Project>{8E81D43C-0000-0000-0000-000000000000}</Project> | 167 | <Project>{C9E0F891-0000-0000-0000-000000000000}</Project> |
164 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 168 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
165 | <Private>False</Private> | 169 | <Private>False</Private> |
166 | </ProjectReference> | 170 | </ProjectReference> |
@@ -172,6 +176,9 @@ | |||
172 | <Compile Include="OpenSimMain.cs"> | 176 | <Compile Include="OpenSimMain.cs"> |
173 | <SubType>Code</SubType> | 177 | <SubType>Code</SubType> |
174 | </Compile> | 178 | </Compile> |
179 | <Compile Include="VersionInfo.cs"> | ||
180 | <SubType>Code</SubType> | ||
181 | </Compile> | ||
175 | </ItemGroup> | 182 | </ItemGroup> |
176 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | 183 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> |
177 | <PropertyGroup> | 184 | <PropertyGroup> |
diff --git a/OpenSim/Region/Application/OpenSim.exe.build b/OpenSim/Region/Application/OpenSim.exe.build new file mode 100644 index 0000000..6c7d7ac --- /dev/null +++ b/OpenSim/Region/Application/OpenSim.exe.build | |||
@@ -0,0 +1,60 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> | ||
11 | <resources prefix="OpenSim" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="Application.cs" /> | ||
15 | <include name="OpenSimMain.cs" /> | ||
16 | <include name="VersionInfo.cs" /> | ||
17 | </sources> | ||
18 | <references basedir="${project::get-base-directory()}"> | ||
19 | <lib> | ||
20 | <include name="${project::get-base-directory()}" /> | ||
21 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
22 | </lib> | ||
23 | <include name="../../../bin/Axiom.MathLib.dll" /> | ||
24 | <include name="../../../bin/Db4objects.Db4o.dll" /> | ||
25 | <include name="../../../bin/libsecondlife.dll" /> | ||
26 | <include name="../../../bin/OpenSim.Framework.dll" /> | ||
27 | <include name="../../../bin/OpenSim.Framework.Communications.dll" /> | ||
28 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> | ||
29 | <include name="../../../bin/OpenSim.Framework.Data.dll" /> | ||
30 | <include name="../../../bin/OpenSim.Framework.GenericConfig.Xml.dll" /> | ||
31 | <include name="../../../bin/OpenSim.Framework.Servers.dll" /> | ||
32 | <include name="../../../bin/OpenSim.Framework.UserManagement.dll" /> | ||
33 | <include name="../../../bin/OpenSim.Region.Caches.dll" /> | ||
34 | <include name="../../../bin/OpenSim.Region.ClientStack.dll" /> | ||
35 | <include name="../../../bin/OpenSim.Region.Communications.Local.dll" /> | ||
36 | <include name="../../../bin/OpenSim.Region.Communications.OGS1.dll" /> | ||
37 | <include name="../../../bin/OpenSim.Region.Environment.dll" /> | ||
38 | <include name="../../../bin/OpenSim.Region.Physics.Manager.dll" /> | ||
39 | <include name="../../../bin/OpenSim.Region.Terrain.BasicTerrain.dll" /> | ||
40 | <include name="System.dll" /> | ||
41 | <include name="System.Xml.dll" /> | ||
42 | <include name="../../../bin/XMLRPC.dll" /> | ||
43 | </references> | ||
44 | </csc> | ||
45 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> | ||
46 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> | ||
47 | <copy todir="${project::get-base-directory()}/../../../bin/"> | ||
48 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
49 | <include name="*.dll"/> | ||
50 | <include name="*.exe"/> | ||
51 | </fileset> | ||
52 | </copy> | ||
53 | </target> | ||
54 | <target name="clean"> | ||
55 | <delete dir="${bin.dir}" failonerror="false" /> | ||
56 | <delete dir="${obj.dir}" failonerror="false" /> | ||
57 | </target> | ||
58 | <target name="doc" description="Creates documentation."> | ||
59 | </target> | ||
60 | </project> | ||
diff --git a/OpenSim/OpenSim/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index b7ec9e6..fcb2493 100644 --- a/OpenSim/OpenSim/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -38,30 +38,34 @@ using System.Collections; | |||
38 | using System.Collections.Generic; | 38 | using System.Collections.Generic; |
39 | using libsecondlife; | 39 | using libsecondlife; |
40 | using libsecondlife.Packets; | 40 | using libsecondlife.Packets; |
41 | using OpenSim.Region; | 41 | using OpenSim.Region.Environment; |
42 | using OpenSim.Region.Scenes; | 42 | using OpenSim.Region.Environment.Scenes; |
43 | using OpenSim.Terrain; | 43 | using OpenSim.Region.Terrain; |
44 | using OpenSim.Framework.Interfaces; | 44 | using OpenSim.Framework.Interfaces; |
45 | using OpenSim.Framework.Data; | ||
46 | |||
45 | using OpenSim.Framework.Types; | 47 | using OpenSim.Framework.Types; |
46 | using OpenSim.Framework; | 48 | using OpenSim.Framework; |
47 | using OpenSim.Assets; | 49 | using OpenSim.Assets; |
48 | using OpenSim.Caches; | 50 | using OpenSim.Region.Caches; |
49 | using OpenSim.Framework.Console; | 51 | using OpenSim.Framework.Console; |
50 | using OpenSim.Physics.Manager; | 52 | using OpenSim.Physics.Manager; |
51 | using Nwc.XmlRpc; | 53 | using Nwc.XmlRpc; |
52 | using OpenSim.Servers; | 54 | using OpenSim.Framework.Servers; |
53 | using OpenSim.GenericConfig; | 55 | using OpenSim.GenericConfig; |
54 | using OpenGrid.Framework.Communications; | 56 | using OpenSim.Framework.Communications; |
55 | using OpenSim.LocalCommunications; | 57 | using OpenSim.Region.Communications.OGS1; |
56 | using OpenGrid.Framework.Communications.OGS1; | 58 | using OpenSim.Region.Communications.Local; |
59 | |||
60 | using OpenSim.Region.ClientStack; | ||
57 | 61 | ||
58 | namespace OpenSim | 62 | namespace OpenSim |
59 | { | 63 | { |
60 | 64 | ||
61 | public class OpenSimMain : RegionApplicationBase, conscmd_callback | 65 | public class OpenSimMain : RegionApplicationBase, conscmd_callback |
62 | { | 66 | { |
63 | // private CheckSumServer checkServer; | ||
64 | protected CommunicationsManager commsManager; | 67 | protected CommunicationsManager commsManager; |
68 | // private CheckSumServer checkServer; | ||
65 | 69 | ||
66 | private bool m_silent; | 70 | private bool m_silent; |
67 | private string m_logFilename = "region-console-" + Guid.NewGuid().ToString() + ".log"; | 71 | private string m_logFilename = "region-console-" + Guid.NewGuid().ToString() + ".log"; |
@@ -102,19 +106,17 @@ namespace OpenSim | |||
102 | 106 | ||
103 | ClientView.TerrainManager = new TerrainManager(new SecondLife()); | 107 | ClientView.TerrainManager = new TerrainManager(new SecondLife()); |
104 | 108 | ||
105 | CommunicationsLocal sandboxCommunications = null; | ||
106 | if (m_sandbox) | 109 | if (m_sandbox) |
107 | { | 110 | { |
108 | this.SetupLocalGridServers(); | 111 | this.SetupLocalGridServers(); |
109 | // this.checkServer = new CheckSumServer(12036); | 112 | // this.checkServer = new CheckSumServer(12036); |
110 | // this.checkServer.ServerListener(); | 113 | // this.checkServer.ServerListener(); |
111 | sandboxCommunications = new CommunicationsLocal(this.serversData); | 114 | this.commsManager = new CommunicationsLocal(this.serversData); |
112 | this.commsManager = sandboxCommunications; | ||
113 | } | 115 | } |
114 | else | 116 | else |
115 | { | 117 | { |
116 | this.SetupRemoteGridServers(); | 118 | this.SetupRemoteGridServers(); |
117 | this.commsManager = new GridCommsManager(this.serversData); | 119 | this.commsManager = new CommunicationsOGS1(this.serversData); |
118 | } | 120 | } |
119 | 121 | ||
120 | startuptime = DateTime.Now; | 122 | startuptime = DateTime.Now; |
@@ -132,7 +134,7 @@ namespace OpenSim | |||
132 | 134 | ||
133 | if (m_sandbox) | 135 | if (m_sandbox) |
134 | { | 136 | { |
135 | httpServer.AddXmlRPCHandler("login_to_simulator", sandboxCommunications.UserServices.XmlRpcLoginMethod); | 137 | httpServer.AddXmlRPCHandler("login_to_simulator", ((CommunicationsLocal)this.commsManager).UserServices.XmlRpcLoginMethod); |
136 | } | 138 | } |
137 | 139 | ||
138 | //Start http server | 140 | //Start http server |
@@ -152,7 +154,7 @@ namespace OpenSim | |||
152 | { | 154 | { |
153 | try | 155 | try |
154 | { | 156 | { |
155 | AssetCache = new AssetCache("OpenSim.GridInterfaces.Local.dll", this.serversData.AssetURL, this.serversData.AssetSendKey); | 157 | AssetCache = new AssetCache("OpenSim.Region.GridInterfaces.Local.dll", this.serversData.AssetURL, this.serversData.AssetSendKey); |
156 | InventoryCache = new InventoryCache(); | 158 | InventoryCache = new InventoryCache(); |
157 | } | 159 | } |
158 | catch (Exception e) | 160 | catch (Exception e) |
@@ -167,7 +169,7 @@ namespace OpenSim | |||
167 | { | 169 | { |
168 | try | 170 | try |
169 | { | 171 | { |
170 | AssetCache = new AssetCache("OpenSim.GridInterfaces.Remote.dll", this.serversData.AssetURL, this.serversData.AssetSendKey); | 172 | AssetCache = new AssetCache("OpenSim.Region.GridInterfaces.Remote.dll", this.serversData.AssetURL, this.serversData.AssetSendKey); |
171 | InventoryCache = new InventoryCache(); | 173 | InventoryCache = new InventoryCache(); |
172 | } | 174 | } |
173 | catch (Exception e) | 175 | catch (Exception e) |
@@ -241,14 +243,21 @@ namespace OpenSim | |||
241 | 243 | ||
242 | udpServer.LocalWorld = LocalWorld; | 244 | udpServer.LocalWorld = LocalWorld; |
243 | 245 | ||
244 | LocalWorld.LoadStorageDLL("OpenSim.Storage.LocalStorageDb4o.dll"); //all these dll names shouldn't be hard coded. | 246 | LocalWorld.LoadStorageDLL("OpenSim.Region.Storage.LocalStorageDb4o.dll"); //all these dll names shouldn't be hard coded. |
245 | LocalWorld.LoadWorldMap(); | 247 | LocalWorld.LoadWorldMap(); |
246 | 248 | ||
247 | m_log.Verbose( "Main.cs:Startup() - Starting up messaging system"); | 249 | m_log.Verbose( "Main.cs:Startup() - Starting up messaging system"); |
248 | LocalWorld.PhysScene = this.physManager.GetPhysicsScene(this.m_physicsEngine); | 250 | LocalWorld.PhysScene = this.physManager.GetPhysicsScene(this.m_physicsEngine); |
249 | LocalWorld.PhysScene.SetTerrain(LocalWorld.Terrain.getHeights1D()); | 251 | LocalWorld.PhysScene.SetTerrain(LocalWorld.Terrain.getHeights1D()); |
250 | LocalWorld.LoadPrimsFromStorage(); | 252 | LocalWorld.LoadPrimsFromStorage(); |
251 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.parcelManager); | 253 | |
254 | //Master Avatar Setup | ||
255 | UserProfileData masterAvatar = commsManager.UserServer.SetupMasterUser(LocalWorld.RegionInfo.MasterAvatarFirstName, LocalWorld.RegionInfo.MasterAvatarLastName, LocalWorld.RegionInfo.MasterAvatarSandboxPassword); | ||
256 | if (masterAvatar != null) | ||
257 | { | ||
258 | LocalWorld.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.UUID; | ||
259 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.parcelManager); | ||
260 | } | ||
252 | 261 | ||
253 | 262 | ||
254 | LocalWorld.StartTimer(); | 263 | LocalWorld.StartTimer(); |
@@ -358,23 +367,23 @@ namespace OpenSim | |||
358 | case "": | 367 | case "": |
359 | this.m_physicsEngine = "basicphysics"; | 368 | this.m_physicsEngine = "basicphysics"; |
360 | configData.SetAttribute("PhysicsEngine", "basicphysics"); | 369 | configData.SetAttribute("PhysicsEngine", "basicphysics"); |
361 | OpenSim.Region.Scenes.ScenePresence.PhysicsEngineFlying = false; | 370 | OpenSim.Region.Environment.Scenes.ScenePresence.PhysicsEngineFlying = false; |
362 | break; | 371 | break; |
363 | 372 | ||
364 | case "basicphysics": | 373 | case "basicphysics": |
365 | this.m_physicsEngine = "basicphysics"; | 374 | this.m_physicsEngine = "basicphysics"; |
366 | configData.SetAttribute("PhysicsEngine", "basicphysics"); | 375 | configData.SetAttribute("PhysicsEngine", "basicphysics"); |
367 | OpenSim.Region.Scenes.ScenePresence.PhysicsEngineFlying = false; | 376 | OpenSim.Region.Environment.Scenes.ScenePresence.PhysicsEngineFlying = false; |
368 | break; | 377 | break; |
369 | 378 | ||
370 | case "RealPhysX": | 379 | case "RealPhysX": |
371 | this.m_physicsEngine = "RealPhysX"; | 380 | this.m_physicsEngine = "RealPhysX"; |
372 | OpenSim.Region.Scenes.ScenePresence.PhysicsEngineFlying = true; | 381 | OpenSim.Region.Environment.Scenes.ScenePresence.PhysicsEngineFlying = true; |
373 | break; | 382 | break; |
374 | 383 | ||
375 | case "OpenDynamicsEngine": | 384 | case "OpenDynamicsEngine": |
376 | this.m_physicsEngine = "OpenDynamicsEngine"; | 385 | this.m_physicsEngine = "OpenDynamicsEngine"; |
377 | OpenSim.Region.Scenes.ScenePresence.PhysicsEngineFlying = true; | 386 | OpenSim.Region.Environment.Scenes.ScenePresence.PhysicsEngineFlying = true; |
378 | break; | 387 | break; |
379 | } | 388 | } |
380 | 389 | ||
@@ -433,13 +442,6 @@ namespace OpenSim | |||
433 | } | 442 | } |
434 | break; | 443 | break; |
435 | 444 | ||
436 | case "script": | ||
437 | for (int i = 0; i < m_localWorld.Count; i++) | ||
438 | { | ||
439 | ((Scene)m_localWorld[i]).scriptManager.RunScriptCmd(cmdparams); | ||
440 | } | ||
441 | break; | ||
442 | |||
443 | case "shutdown": | 445 | case "shutdown": |
444 | Shutdown(); | 446 | Shutdown(); |
445 | break; | 447 | break; |
@@ -463,7 +465,7 @@ namespace OpenSim | |||
463 | m_log.Error( "That is " + (DateTime.Now - startuptime).ToString()); | 465 | m_log.Error( "That is " + (DateTime.Now - startuptime).ToString()); |
464 | break; | 466 | break; |
465 | case "users": | 467 | case "users": |
466 | OpenSim.Region.Scenes.ScenePresence TempAv; | 468 | OpenSim.Region.Environment.Scenes.ScenePresence TempAv; |
467 | 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")); | 469 | 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")); |
468 | /* foreach (libsecondlife.LLUUID UUID in LocalWorld.Entities.Keys) | 470 | /* foreach (libsecondlife.LLUUID UUID in LocalWorld.Entities.Keys) |
469 | { | 471 | { |
diff --git a/OpenSim/OpenSim.RegionServer/VersionInfo.cs b/OpenSim/Region/Application/VersionInfo.cs index 5d1354e..5d1354e 100644 --- a/OpenSim/OpenSim.RegionServer/VersionInfo.cs +++ b/OpenSim/Region/Application/VersionInfo.cs | |||
diff --git a/OpenSim/OpenSim.Caches/AssetCache.cs b/OpenSim/Region/Caches/AssetCache.cs index d0cc370..6cf921b 100644 --- a/OpenSim/OpenSim.Caches/AssetCache.cs +++ b/OpenSim/Region/Caches/AssetCache.cs | |||
@@ -36,7 +36,7 @@ using OpenSim.Framework.Interfaces; | |||
36 | using OpenSim.Framework.Types; | 36 | using OpenSim.Framework.Types; |
37 | using OpenSim.Framework.Utilities; | 37 | using OpenSim.Framework.Utilities; |
38 | 38 | ||
39 | namespace OpenSim.Caches | 39 | namespace OpenSim.Region.Caches |
40 | { | 40 | { |
41 | public delegate void DownloadComplete(AssetCache.TextureSender sender); | 41 | public delegate void DownloadComplete(AssetCache.TextureSender sender); |
42 | 42 | ||
diff --git a/OpenSim/OpenSim.Caches/OpenSim.Caches.csproj b/OpenSim/Region/Caches/OpenSim.Region.Caches.csproj index 07e4960..4a73d08 100644 --- a/OpenSim/OpenSim.Caches/OpenSim.Caches.csproj +++ b/OpenSim/Region/Caches/OpenSim.Region.Caches.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{1938EB12-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{61FCCDB3-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.Caches</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Caches</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.Caches</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Caches</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libsecondlife.dll" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
@@ -72,7 +72,7 @@ | |||
72 | </Reference> | 72 | </Reference> |
73 | </ItemGroup> | 73 | </ItemGroup> |
74 | <ItemGroup> | 74 | <ItemGroup> |
75 | <ProjectReference Include="..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 75 | <ProjectReference Include="..\..\Framework\General\OpenSim.Framework.csproj"> |
76 | <Name>OpenSim.Framework</Name> | 76 | <Name>OpenSim.Framework</Name> |
77 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 77 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
diff --git a/Common/OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.dll.build b/OpenSim/Region/Caches/OpenSim.Region.Caches.dll.build index 075ea7f..3ca89e8 100644 --- a/Common/OpenSim.GenericConfig/Xml/OpenSim.GenericConfig.Xml.dll.build +++ b/OpenSim/Region/Caches/OpenSim.Region.Caches.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.GenericConfig.Xml" default="build"> | 2 | <project name="OpenSim.Region.Caches" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,10 +8,10 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.GenericConfig.Xml" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Caches" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="XmlConfig.cs" /> | 14 | <include name="AssetCache.cs" /> |
15 | <include name="Properties/AssemblyInfo.cs" /> | 15 | <include name="Properties/AssemblyInfo.cs" /> |
16 | </sources> | 16 | </sources> |
17 | <references basedir="${project::get-base-directory()}"> | 17 | <references basedir="${project::get-base-directory()}"> |
@@ -19,6 +19,7 @@ | |||
19 | <include name="${project::get-base-directory()}" /> | 19 | <include name="${project::get-base-directory()}" /> |
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | 20 | <include name="${project::get-base-directory()}/${build.dir}" /> |
21 | </lib> | 21 | </lib> |
22 | <include name="../../../bin/libsecondlife.dll" /> | ||
22 | <include name="../../../bin/OpenSim.Framework.dll" /> | 23 | <include name="../../../bin/OpenSim.Framework.dll" /> |
23 | <include name="System.dll" /> | 24 | <include name="System.dll" /> |
24 | <include name="System.Xml.dll" /> | 25 | <include name="System.Xml.dll" /> |
diff --git a/OpenSim/OpenSim.Caches/Properties/AssemblyInfo.cs b/OpenSim/Region/Caches/Properties/AssemblyInfo.cs index 00f5dfe..5e6ecbb 100644 --- a/OpenSim/OpenSim.Caches/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/Caches/Properties/AssemblyInfo.cs | |||
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices; | |||
5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 7 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("OpenSim.Caches")] | 8 | [assembly: AssemblyTitle("OpenSim.Region.Caches")] |
9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
11 | [assembly: AssemblyCompany("")] | 11 | [assembly: AssemblyCompany("")] |
12 | [assembly: AssemblyProduct("OpenSim.Caches")] | 12 | [assembly: AssemblyProduct("OpenSim.Region.Caches")] |
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | 13 | [assembly: AssemblyCopyright("Copyright © 2007")] |
14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
diff --git a/OpenSim/OpenSim.Region/Caps.cs b/OpenSim/Region/Capabilities/Caps.cs index 13a351d..416a6bc 100644 --- a/OpenSim/OpenSim.Region/Caps.cs +++ b/OpenSim/Region/Capabilities/Caps.cs | |||
@@ -1,17 +1,44 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
1 | using System; | 28 | using System; |
2 | using System.Collections; | 29 | using System.Collections; |
3 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
4 | using System.Text; | 31 | using System.Text; |
5 | using System.IO; | 32 | using System.IO; |
6 | using System.Xml; | 33 | using System.Xml; |
7 | using OpenSim.Servers; | 34 | using OpenSim.Framework.Servers; |
8 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
9 | using OpenSim.Framework.Utilities; | 36 | using OpenSim.Framework.Utilities; |
10 | using OpenSim.Framework.Types; | 37 | using OpenSim.Framework.Types; |
11 | using OpenSim.Caches; | 38 | using OpenSim.Region.Caches; |
12 | using libsecondlife; | 39 | using libsecondlife; |
13 | 40 | ||
14 | namespace OpenSim.Region | 41 | namespace OpenSim.Region.Capabilities |
15 | { | 42 | { |
16 | public delegate void UpLoadedTexture(LLUUID assetID, LLUUID inventoryItem, byte[] data); | 43 | public delegate void UpLoadedTexture(LLUUID assetID, LLUUID inventoryItem, byte[] data); |
17 | 44 | ||
@@ -126,14 +153,8 @@ namespace OpenSim.Region | |||
126 | 153 | ||
127 | public string ProcessEventQueue(string request, string path, string param) | 154 | public string ProcessEventQueue(string request, string path, string param) |
128 | { | 155 | { |
129 | // Console.WriteLine("event queue request " + request); | ||
130 | string res = ""; | 156 | string res = ""; |
131 | int timer = 0; | 157 | |
132 | |||
133 | /*while ((timer < 200) || (this.CapsEventQueue.Count < 1)) | ||
134 | { | ||
135 | timer++; | ||
136 | }*/ | ||
137 | if (this.CapsEventQueue.Count > 0) | 158 | if (this.CapsEventQueue.Count > 0) |
138 | { | 159 | { |
139 | lock (this.CapsEventQueue) | 160 | lock (this.CapsEventQueue) |
diff --git a/OpenSim/Region/Capabilities/LLSDArray.cs b/OpenSim/Region/Capabilities/LLSDArray.cs new file mode 100644 index 0000000..76d5a2c --- /dev/null +++ b/OpenSim/Region/Capabilities/LLSDArray.cs | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | using System; | ||
29 | using System.Collections; | ||
30 | using System.Collections.Generic; | ||
31 | using System.Text; | ||
32 | |||
33 | namespace OpenSim.Region.Capabilities | ||
34 | { | ||
35 | [LLSDType("ARRAY")] | ||
36 | public class LLSDArray | ||
37 | { | ||
38 | public ArrayList Array = new ArrayList(); | ||
39 | |||
40 | public LLSDArray() | ||
41 | { | ||
42 | |||
43 | } | ||
44 | } | ||
45 | } | ||
diff --git a/Common/OpenSim.Framework/Interfaces/Scripting/IScriptEngine.cs b/OpenSim/Region/Capabilities/LLSDCapEvent.cs index ca50be0..d47d25c 100644 --- a/Common/OpenSim.Framework/Interfaces/Scripting/IScriptEngine.cs +++ b/OpenSim/Region/Capabilities/LLSDCapEvent.cs | |||
@@ -29,13 +29,17 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | namespace OpenSim.Framework.Interfaces | 32 | namespace OpenSim.Region.Capabilities |
33 | { | 33 | { |
34 | public interface IScriptEngine | 34 | [LLSDType("MAP")] |
35 | public class LLSDCapEvent | ||
35 | { | 36 | { |
36 | bool Init(IScriptAPI api); | 37 | public int id = 0; |
37 | string GetName(); | 38 | public LLSDArray events = new LLSDArray(); |
38 | void LoadScript(string script, string scriptName, uint entityID); | 39 | |
39 | void OnFrame(); | 40 | public LLSDCapEvent() |
41 | { | ||
42 | |||
43 | } | ||
40 | } | 44 | } |
41 | } | 45 | } |
diff --git a/OpenSim/Region/Capabilities/LLSDCapsDetails.cs b/OpenSim/Region/Capabilities/LLSDCapsDetails.cs new file mode 100644 index 0000000..d6db606 --- /dev/null +++ b/OpenSim/Region/Capabilities/LLSDCapsDetails.cs | |||
@@ -0,0 +1,19 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Region.Capabilities | ||
6 | { | ||
7 | [LLSDType("MAP")] | ||
8 | public class LLSDCapsDetails | ||
9 | { | ||
10 | public string MapLayer = ""; | ||
11 | public string NewFileAgentInventory = ""; | ||
12 | //public string EventQueueGet = ""; | ||
13 | |||
14 | public LLSDCapsDetails() | ||
15 | { | ||
16 | |||
17 | } | ||
18 | } | ||
19 | } | ||
diff --git a/OpenSim/Region/Capabilities/LLSDEmpty.cs b/OpenSim/Region/Capabilities/LLSDEmpty.cs new file mode 100644 index 0000000..68f1ce9 --- /dev/null +++ b/OpenSim/Region/Capabilities/LLSDEmpty.cs | |||
@@ -0,0 +1,42 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | |||
32 | namespace OpenSim.Region.Capabilities | ||
33 | { | ||
34 | [LLSDType("MAP")] | ||
35 | public class LLSDEmpty | ||
36 | { | ||
37 | public LLSDEmpty() | ||
38 | { | ||
39 | |||
40 | } | ||
41 | } | ||
42 | } | ||
diff --git a/Common/OpenSim.Framework/LLSDHelpers.cs b/OpenSim/Region/Capabilities/LLSDHelpers.cs index 051520c..76d9345 100644 --- a/Common/OpenSim.Framework/LLSDHelpers.cs +++ b/OpenSim/Region/Capabilities/LLSDHelpers.cs | |||
@@ -1,3 +1,30 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
1 | using System; | 28 | using System; |
2 | using System.Collections; | 29 | using System.Collections; |
3 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
@@ -6,7 +33,7 @@ using System.IO; | |||
6 | using System.Xml; | 33 | using System.Xml; |
7 | using libsecondlife; | 34 | using libsecondlife; |
8 | 35 | ||
9 | namespace OpenSim.Framework | 36 | namespace OpenSim.Region.Capabilities |
10 | { | 37 | { |
11 | public class LLSDHelpers | 38 | public class LLSDHelpers |
12 | { | 39 | { |
@@ -46,7 +73,6 @@ namespace OpenSim.Framework | |||
46 | } | 73 | } |
47 | else | 74 | else |
48 | { | 75 | { |
49 | //Console.WriteLine("LLSD field name" + fields[i].Name + " , " + fields[i].GetValue(obj).GetType()); | ||
50 | writer.WriteStartElement(String.Empty, "key", String.Empty); | 76 | writer.WriteStartElement(String.Empty, "key", String.Empty); |
51 | writer.WriteString(fields[i].Name); | 77 | writer.WriteString(fields[i].Name); |
52 | writer.WriteEndElement(); | 78 | writer.WriteEndElement(); |
@@ -59,12 +85,15 @@ namespace OpenSim.Framework | |||
59 | // LLSDArray arrayObject = obj as LLSDArray; | 85 | // LLSDArray arrayObject = obj as LLSDArray; |
60 | // ArrayList a = arrayObject.Array; | 86 | // ArrayList a = arrayObject.Array; |
61 | ArrayList a = (ArrayList)obj.GetType().GetField("Array").GetValue(obj); | 87 | ArrayList a = (ArrayList)obj.GetType().GetField("Array").GetValue(obj); |
62 | writer.WriteStartElement(String.Empty, "array", String.Empty); | 88 | if (a != null) |
63 | foreach (object item in a) | ||
64 | { | 89 | { |
65 | SerializeLLSDType(writer, item); | 90 | writer.WriteStartElement(String.Empty, "array", String.Empty); |
91 | foreach (object item in a) | ||
92 | { | ||
93 | SerializeLLSDType(writer, item); | ||
94 | } | ||
95 | writer.WriteEndElement(); | ||
66 | } | 96 | } |
67 | writer.WriteEndElement(); | ||
68 | break; | 97 | break; |
69 | } | 98 | } |
70 | } | 99 | } |
@@ -115,132 +144,22 @@ namespace OpenSim.Framework | |||
115 | } | 144 | } |
116 | } | 145 | } |
117 | 146 | ||
118 | [LLSDType("MAP")] | 147 | |
119 | public class LLSDMapLayerResponse | ||
120 | { | ||
121 | public LLSDMapRequest AgentData = new LLSDMapRequest(); | ||
122 | public LLSDArray LayerData = new LLSDArray(); | ||
123 | |||
124 | public LLSDMapLayerResponse() | ||
125 | { | ||
126 | |||
127 | } | ||
128 | } | ||
129 | |||
130 | [LLSDType("MAP")] | ||
131 | public class LLSDCapsDetails | ||
132 | { | ||
133 | public string MapLayer = ""; | ||
134 | public string NewFileAgentInventory = ""; | ||
135 | //public string EventQueueGet = ""; | ||
136 | |||
137 | public LLSDCapsDetails() | ||
138 | { | ||
139 | |||
140 | } | ||
141 | } | ||
142 | |||
143 | [LLSDType("MAP")] | ||
144 | public class LLSDMapLayer | ||
145 | { | ||
146 | public int Left = 0; | ||
147 | public int Right = 0; | ||
148 | public int Top = 0; | ||
149 | public int Bottom = 0; | ||
150 | public LLUUID ImageID = LLUUID.Zero; | ||
151 | 148 | ||
152 | public LLSDMapLayer() | 149 | |
153 | { | ||
154 | |||
155 | } | ||
156 | } | ||
157 | 150 | ||
158 | [LLSDType("ARRAY")] | 151 | |
159 | public class LLSDArray | ||
160 | { | ||
161 | public ArrayList Array = new ArrayList(); | ||
162 | 152 | ||
163 | public LLSDArray() | 153 | |
164 | { | ||
165 | 154 | ||
166 | } | 155 | |
167 | } | ||
168 | 156 | ||
169 | [LLSDType("MAP")] | 157 | |
170 | public class LLSDMapRequest | ||
171 | { | ||
172 | public int Flags = 0; | ||
173 | 158 | ||
174 | public LLSDMapRequest() | 159 | |
175 | { | ||
176 | |||
177 | } | ||
178 | } | ||
179 | 160 | ||
180 | [LLSDType("MAP")] | 161 | |
181 | public class LLSDUploadReply | ||
182 | { | ||
183 | public string new_asset = ""; | ||
184 | public LLUUID new_inventory_item = LLUUID.Zero; | ||
185 | public string state = ""; | ||
186 | 162 | ||
187 | public LLSDUploadReply() | ||
188 | { | ||
189 | 163 | ||
190 | } | 164 | |
191 | } | ||
192 | |||
193 | [LLSDType("MAP")] | ||
194 | public class LLSDCapEvent | ||
195 | { | ||
196 | public int id = 0; | ||
197 | public LLSDArray events = new LLSDArray(); | ||
198 | |||
199 | public LLSDCapEvent() | ||
200 | { | ||
201 | |||
202 | } | ||
203 | } | ||
204 | |||
205 | [LLSDType("MAP")] | ||
206 | public class LLSDEmpty | ||
207 | { | ||
208 | public LLSDEmpty() | ||
209 | { | ||
210 | |||
211 | } | ||
212 | } | ||
213 | |||
214 | [LLSDType("MAP")] | ||
215 | public class LLSDTest | ||
216 | { | ||
217 | public int Test1 = 20; | ||
218 | public int Test2 = 10; | ||
219 | |||
220 | public LLSDTest() | ||
221 | { | ||
222 | |||
223 | } | ||
224 | } | ||
225 | |||
226 | |||
227 | [AttributeUsage(AttributeTargets.Class)] | ||
228 | public class LLSDType : Attribute | ||
229 | { | ||
230 | private string myType; | ||
231 | |||
232 | public LLSDType(string type) | ||
233 | { | ||
234 | myType = type; | ||
235 | |||
236 | } | ||
237 | |||
238 | public string ObjectType | ||
239 | { | ||
240 | get | ||
241 | { | ||
242 | return myType; | ||
243 | } | ||
244 | } | ||
245 | } | ||
246 | } | 165 | } |
diff --git a/OpenSim/Region/Capabilities/LLSDMapLayer.cs b/OpenSim/Region/Capabilities/LLSDMapLayer.cs new file mode 100644 index 0000000..b097ec3 --- /dev/null +++ b/OpenSim/Region/Capabilities/LLSDMapLayer.cs | |||
@@ -0,0 +1,50 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | |||
32 | using libsecondlife; | ||
33 | |||
34 | namespace OpenSim.Region.Capabilities | ||
35 | { | ||
36 | [LLSDType("MAP")] | ||
37 | public class LLSDMapLayer | ||
38 | { | ||
39 | public int Left = 0; | ||
40 | public int Right = 0; | ||
41 | public int Top = 0; | ||
42 | public int Bottom = 0; | ||
43 | public LLUUID ImageID = LLUUID.Zero; | ||
44 | |||
45 | public LLSDMapLayer() | ||
46 | { | ||
47 | |||
48 | } | ||
49 | } | ||
50 | } | ||
diff --git a/OpenSim/Region/Capabilities/LLSDMapLayerResponse.cs b/OpenSim/Region/Capabilities/LLSDMapLayerResponse.cs new file mode 100644 index 0000000..ee37a5b --- /dev/null +++ b/OpenSim/Region/Capabilities/LLSDMapLayerResponse.cs | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | |||
32 | namespace OpenSim.Region.Capabilities | ||
33 | { | ||
34 | [LLSDType("MAP")] | ||
35 | public class LLSDMapLayerResponse | ||
36 | { | ||
37 | public LLSDMapRequest AgentData = new LLSDMapRequest(); | ||
38 | public LLSDArray LayerData = new LLSDArray(); | ||
39 | |||
40 | public LLSDMapLayerResponse() | ||
41 | { | ||
42 | |||
43 | } | ||
44 | } | ||
45 | } | ||
diff --git a/OpenSim/Region/Capabilities/LLSDMapRequest.cs b/OpenSim/Region/Capabilities/LLSDMapRequest.cs new file mode 100644 index 0000000..b15f1be --- /dev/null +++ b/OpenSim/Region/Capabilities/LLSDMapRequest.cs | |||
@@ -0,0 +1,17 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Region.Capabilities | ||
6 | { | ||
7 | [LLSDType("MAP")] | ||
8 | public class LLSDMapRequest | ||
9 | { | ||
10 | public int Flags = 0; | ||
11 | |||
12 | public LLSDMapRequest() | ||
13 | { | ||
14 | |||
15 | } | ||
16 | } | ||
17 | } | ||
diff --git a/OpenSim/Region/Capabilities/LLSDTest.cs b/OpenSim/Region/Capabilities/LLSDTest.cs new file mode 100644 index 0000000..3948f2c --- /dev/null +++ b/OpenSim/Region/Capabilities/LLSDTest.cs | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | |||
32 | namespace OpenSim.Region.Capabilities | ||
33 | { | ||
34 | [LLSDType("MAP")] | ||
35 | public class LLSDTest | ||
36 | { | ||
37 | public int Test1 = 20; | ||
38 | public int Test2 = 10; | ||
39 | |||
40 | public LLSDTest() | ||
41 | { | ||
42 | |||
43 | } | ||
44 | } | ||
45 | } | ||
diff --git a/OpenSim/Region/Capabilities/LLSDType.cs b/OpenSim/Region/Capabilities/LLSDType.cs new file mode 100644 index 0000000..7da5861 --- /dev/null +++ b/OpenSim/Region/Capabilities/LLSDType.cs | |||
@@ -0,0 +1,53 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | |||
32 | namespace OpenSim.Region.Capabilities | ||
33 | { | ||
34 | [AttributeUsage(AttributeTargets.Class)] | ||
35 | public class LLSDType : Attribute | ||
36 | { | ||
37 | private string myType; | ||
38 | |||
39 | public LLSDType(string type) | ||
40 | { | ||
41 | myType = type; | ||
42 | |||
43 | } | ||
44 | |||
45 | public string ObjectType | ||
46 | { | ||
47 | get | ||
48 | { | ||
49 | return myType; | ||
50 | } | ||
51 | } | ||
52 | } | ||
53 | } | ||
diff --git a/Common/OpenSim.Framework/Interfaces/Scripting/IScriptAPI.cs b/OpenSim/Region/Capabilities/LLSDUploadReply.cs index 0c1627b..83cf166 100644 --- a/Common/OpenSim.Framework/Interfaces/Scripting/IScriptAPI.cs +++ b/OpenSim/Region/Capabilities/LLSDUploadReply.cs | |||
@@ -28,15 +28,20 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenSim.Framework.Types; | ||
32 | 31 | ||
33 | using libsecondlife; | 32 | using libsecondlife; |
34 | namespace OpenSim.Framework.Interfaces | 33 | namespace OpenSim.Region.Capabilities |
35 | { | 34 | { |
36 | public interface IScriptAPI | 35 | [LLSDType("MAP")] |
36 | public class LLSDUploadReply | ||
37 | { | 37 | { |
38 | LLVector3 GetEntityPosition(uint localID); | 38 | public string new_asset = ""; |
39 | void SetEntityPosition(uint localID, float x, float y, float z); | 39 | public LLUUID new_inventory_item = LLUUID.Zero; |
40 | uint GetRandomAvatarID(); | 40 | public string state = ""; |
41 | |||
42 | public LLSDUploadReply() | ||
43 | { | ||
44 | |||
45 | } | ||
41 | } | 46 | } |
42 | } | 47 | } |
diff --git a/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj new file mode 100644 index 0000000..4667d52 --- /dev/null +++ b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj | |||
@@ -0,0 +1,143 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <ProjectType>Local</ProjectType> | ||
4 | <ProductVersion>8.0.50727</ProductVersion> | ||
5 | <SchemaVersion>2.0</SchemaVersion> | ||
6 | <ProjectGuid>{39038E85-0000-0000-0000-000000000000}</ProjectGuid> | ||
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
9 | <ApplicationIcon></ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | ||
11 | </AssemblyKeyContainerName> | ||
12 | <AssemblyName>OpenSim.Region.Capabilities</AssemblyName> | ||
13 | <DefaultClientScript>JScript</DefaultClientScript> | ||
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||
16 | <DelaySign>false</DelaySign> | ||
17 | <OutputType>Library</OutputType> | ||
18 | <AppDesignerFolder></AppDesignerFolder> | ||
19 | <RootNamespace>OpenSim.Region.Capabilities</RootNamespace> | ||
20 | <StartupObject></StartupObject> | ||
21 | <FileUpgradeFlags> | ||
22 | </FileUpgradeFlags> | ||
23 | </PropertyGroup> | ||
24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
25 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
26 | <BaseAddress>285212672</BaseAddress> | ||
27 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
28 | <ConfigurationOverrideFile> | ||
29 | </ConfigurationOverrideFile> | ||
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | ||
31 | <DocumentationFile></DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | ||
33 | <FileAlignment>4096</FileAlignment> | ||
34 | <Optimize>False</Optimize> | ||
35 | <OutputPath>..\..\..\bin\</OutputPath> | ||
36 | <RegisterForComInterop>False</RegisterForComInterop> | ||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
39 | <WarningLevel>4</WarningLevel> | ||
40 | <NoWarn></NoWarn> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | ||
44 | <BaseAddress>285212672</BaseAddress> | ||
45 | <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> | ||
46 | <ConfigurationOverrideFile> | ||
47 | </ConfigurationOverrideFile> | ||
48 | <DefineConstants>TRACE</DefineConstants> | ||
49 | <DocumentationFile></DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | ||
51 | <FileAlignment>4096</FileAlignment> | ||
52 | <Optimize>True</Optimize> | ||
53 | <OutputPath>..\..\..\bin\</OutputPath> | ||
54 | <RegisterForComInterop>False</RegisterForComInterop> | ||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | ||
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
57 | <WarningLevel>4</WarningLevel> | ||
58 | <NoWarn></NoWarn> | ||
59 | </PropertyGroup> | ||
60 | <ItemGroup> | ||
61 | <Reference Include="libsecondlife.dll" > | ||
62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> | ||
63 | <Private>False</Private> | ||
64 | </Reference> | ||
65 | <Reference Include="System" > | ||
66 | <HintPath>System.dll</HintPath> | ||
67 | <Private>False</Private> | ||
68 | </Reference> | ||
69 | <Reference Include="System.Xml" > | ||
70 | <HintPath>System.Xml.dll</HintPath> | ||
71 | <Private>False</Private> | ||
72 | </Reference> | ||
73 | <Reference Include="XMLRPC.dll" > | ||
74 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
77 | </ItemGroup> | ||
78 | <ItemGroup> | ||
79 | <ProjectReference Include="..\..\Framework\General\OpenSim.Framework.csproj"> | ||
80 | <Name>OpenSim.Framework</Name> | ||
81 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | ||
82 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
83 | <Private>False</Private> | ||
84 | </ProjectReference> | ||
85 | <ProjectReference Include="..\..\Framework\Servers\OpenSim.Framework.Servers.csproj"> | ||
86 | <Name>OpenSim.Framework.Servers</Name> | ||
87 | <Project>{2CC71860-0000-0000-0000-000000000000}</Project> | ||
88 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
89 | <Private>False</Private> | ||
90 | </ProjectReference> | ||
91 | <ProjectReference Include="..\Caches\OpenSim.Region.Caches.csproj"> | ||
92 | <Name>OpenSim.Region.Caches</Name> | ||
93 | <Project>{61FCCDB3-0000-0000-0000-000000000000}</Project> | ||
94 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
95 | <Private>False</Private> | ||
96 | </ProjectReference> | ||
97 | </ItemGroup> | ||
98 | <ItemGroup> | ||
99 | <Compile Include="Caps.cs"> | ||
100 | <SubType>Code</SubType> | ||
101 | </Compile> | ||
102 | <Compile Include="LLSDArray.cs"> | ||
103 | <SubType>Code</SubType> | ||
104 | </Compile> | ||
105 | <Compile Include="LLSDCapEvent.cs"> | ||
106 | <SubType>Code</SubType> | ||
107 | </Compile> | ||
108 | <Compile Include="LLSDCapsDetails.cs"> | ||
109 | <SubType>Code</SubType> | ||
110 | </Compile> | ||
111 | <Compile Include="LLSDEmpty.cs"> | ||
112 | <SubType>Code</SubType> | ||
113 | </Compile> | ||
114 | <Compile Include="LLSDHelpers.cs"> | ||
115 | <SubType>Code</SubType> | ||
116 | </Compile> | ||
117 | <Compile Include="LLSDMapLayer.cs"> | ||
118 | <SubType>Code</SubType> | ||
119 | </Compile> | ||
120 | <Compile Include="LLSDMapLayerResponse.cs"> | ||
121 | <SubType>Code</SubType> | ||
122 | </Compile> | ||
123 | <Compile Include="LLSDMapRequest.cs"> | ||
124 | <SubType>Code</SubType> | ||
125 | </Compile> | ||
126 | <Compile Include="LLSDTest.cs"> | ||
127 | <SubType>Code</SubType> | ||
128 | </Compile> | ||
129 | <Compile Include="LLSDType.cs"> | ||
130 | <SubType>Code</SubType> | ||
131 | </Compile> | ||
132 | <Compile Include="LLSDUploadReply.cs"> | ||
133 | <SubType>Code</SubType> | ||
134 | </Compile> | ||
135 | </ItemGroup> | ||
136 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | ||
137 | <PropertyGroup> | ||
138 | <PreBuildEvent> | ||
139 | </PreBuildEvent> | ||
140 | <PostBuildEvent> | ||
141 | </PostBuildEvent> | ||
142 | </PropertyGroup> | ||
143 | </Project> | ||
diff --git a/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build new file mode 100644 index 0000000..a091b5c --- /dev/null +++ b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build | |||
@@ -0,0 +1,56 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim.Region.Capabilities" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenSim.Region.Capabilities" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="Caps.cs" /> | ||
15 | <include name="LLSDArray.cs" /> | ||
16 | <include name="LLSDCapEvent.cs" /> | ||
17 | <include name="LLSDCapsDetails.cs" /> | ||
18 | <include name="LLSDEmpty.cs" /> | ||
19 | <include name="LLSDHelpers.cs" /> | ||
20 | <include name="LLSDMapLayer.cs" /> | ||
21 | <include name="LLSDMapLayerResponse.cs" /> | ||
22 | <include name="LLSDMapRequest.cs" /> | ||
23 | <include name="LLSDTest.cs" /> | ||
24 | <include name="LLSDType.cs" /> | ||
25 | <include name="LLSDUploadReply.cs" /> | ||
26 | </sources> | ||
27 | <references basedir="${project::get-base-directory()}"> | ||
28 | <lib> | ||
29 | <include name="${project::get-base-directory()}" /> | ||
30 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
31 | </lib> | ||
32 | <include name="../../../bin/libsecondlife.dll" /> | ||
33 | <include name="../../../bin/OpenSim.Framework.dll" /> | ||
34 | <include name="../../../bin/OpenSim.Framework.Servers.dll" /> | ||
35 | <include name="../../../bin/OpenSim.Region.Caches.dll" /> | ||
36 | <include name="System.dll" /> | ||
37 | <include name="System.Xml.dll" /> | ||
38 | <include name="../../../bin/XMLRPC.dll" /> | ||
39 | </references> | ||
40 | </csc> | ||
41 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> | ||
42 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> | ||
43 | <copy todir="${project::get-base-directory()}/../../../bin/"> | ||
44 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
45 | <include name="*.dll"/> | ||
46 | <include name="*.exe"/> | ||
47 | </fileset> | ||
48 | </copy> | ||
49 | </target> | ||
50 | <target name="clean"> | ||
51 | <delete dir="${bin.dir}" failonerror="false" /> | ||
52 | <delete dir="${obj.dir}" failonerror="false" /> | ||
53 | </target> | ||
54 | <target name="doc" description="Creates documentation."> | ||
55 | </target> | ||
56 | </project> | ||
diff --git a/OpenSim/OpenSim.RegionServer/Assets/InventoryCache.cs b/OpenSim/Region/ClientStack/Assets/InventoryCache.cs index 5d5021c..da74f85 100644 --- a/OpenSim/OpenSim.RegionServer/Assets/InventoryCache.cs +++ b/OpenSim/Region/ClientStack/Assets/InventoryCache.cs | |||
@@ -35,6 +35,7 @@ using libsecondlife.Packets; | |||
35 | using OpenSim.Framework.Inventory; | 35 | using OpenSim.Framework.Inventory; |
36 | using OpenSim.Framework.Types; | 36 | using OpenSim.Framework.Types; |
37 | using OpenSim.Framework.Interfaces; | 37 | using OpenSim.Framework.Interfaces; |
38 | using OpenSim.Region.ClientStack; | ||
38 | 39 | ||
39 | namespace OpenSim.Assets | 40 | namespace OpenSim.Assets |
40 | { | 41 | { |
diff --git a/OpenSim/OpenSim.RegionServer/ClientStackNetworkHandler.cs b/OpenSim/Region/ClientStack/ClientStackNetworkHandler.cs index 7552195..f99cf79 100644 --- a/OpenSim/OpenSim.RegionServer/ClientStackNetworkHandler.cs +++ b/OpenSim/Region/ClientStack/ClientStackNetworkHandler.cs | |||
@@ -33,7 +33,7 @@ using System.Net.Sockets; | |||
33 | using libsecondlife; | 33 | using libsecondlife; |
34 | 34 | ||
35 | 35 | ||
36 | namespace OpenSim | 36 | namespace OpenSim.Region.ClientStack |
37 | { | 37 | { |
38 | 38 | ||
39 | public interface ClientStackNetworkHandler | 39 | public interface ClientStackNetworkHandler |
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 902f3c7..9650b42 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -35,7 +35,7 @@ using OpenSim.Framework.Types; | |||
35 | using libsecondlife; | 35 | using libsecondlife; |
36 | using libsecondlife.Packets; | 36 | using libsecondlife.Packets; |
37 | 37 | ||
38 | namespace OpenSim | 38 | namespace OpenSim.Region.ClientStack |
39 | { | 39 | { |
40 | partial class ClientView | 40 | partial class ClientView |
41 | { | 41 | { |
@@ -68,6 +68,8 @@ namespace OpenSim | |||
68 | public event GenericCall6 OnRemoveAvatar; | 68 | public event GenericCall6 OnRemoveAvatar; |
69 | public event RequestMapBlocks OnRequestMapBlocks; | 69 | public event RequestMapBlocks OnRequestMapBlocks; |
70 | public event TeleportLocationRequest OnTeleportLocationRequest; | 70 | public event TeleportLocationRequest OnTeleportLocationRequest; |
71 | |||
72 | public event UUIDNameRequest OnNameFromUUIDRequest; | ||
71 | 73 | ||
72 | public event ParcelPropertiesRequest OnParcelPropertiesRequest; | 74 | public event ParcelPropertiesRequest OnParcelPropertiesRequest; |
73 | public event ParcelDivideRequest OnParcelDivideRequest; | 75 | public event ParcelDivideRequest OnParcelDivideRequest; |
@@ -75,7 +77,6 @@ namespace OpenSim | |||
75 | public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest; | 77 | public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest; |
76 | 78 | ||
77 | public event EstateOwnerMessageRequest OnEstateOwnerMessage; | 79 | public event EstateOwnerMessageRequest OnEstateOwnerMessage; |
78 | |||
79 | /// <summary> | 80 | /// <summary> |
80 | /// | 81 | /// |
81 | /// </summary> | 82 | /// </summary> |
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.AgentAssetUpload.cs b/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs index 914c38a..bc6cc21 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.AgentAssetUpload.cs +++ b/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs | |||
@@ -32,11 +32,11 @@ using OpenSim.Assets; | |||
32 | using OpenSim.Framework.Types; | 32 | using OpenSim.Framework.Types; |
33 | using OpenSim.Framework.Interfaces; | 33 | using OpenSim.Framework.Interfaces; |
34 | using OpenSim.Framework.Utilities; | 34 | using OpenSim.Framework.Utilities; |
35 | using OpenSim.Caches; | 35 | using OpenSim.Region.Caches; |
36 | using libsecondlife; | 36 | using libsecondlife; |
37 | using libsecondlife.Packets; | 37 | using libsecondlife.Packets; |
38 | 38 | ||
39 | namespace OpenSim | 39 | namespace OpenSim.Region.ClientStack |
40 | { | 40 | { |
41 | partial class ClientView | 41 | partial class ClientView |
42 | { | 42 | { |
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs index 32aed02..0456e3c 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs +++ b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs | |||
@@ -42,7 +42,7 @@ using OpenSim.Framework.Inventory; | |||
42 | using OpenSim.Framework.Utilities; | 42 | using OpenSim.Framework.Utilities; |
43 | using OpenSim.Assets; | 43 | using OpenSim.Assets; |
44 | 44 | ||
45 | namespace OpenSim | 45 | namespace OpenSim.Region.ClientStack |
46 | { | 46 | { |
47 | public partial class ClientView | 47 | public partial class ClientView |
48 | { | 48 | { |
@@ -192,7 +192,5 @@ namespace OpenSim | |||
192 | this.OutPacket(mbReply); | 192 | this.OutPacket(mbReply); |
193 | */ | 193 | */ |
194 | } | 194 | } |
195 | |||
196 | |||
197 | } | 195 | } |
198 | } | 196 | } |
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 191ef21..794ce79 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -42,7 +42,7 @@ using OpenSim.Framework.Inventory; | |||
42 | using OpenSim.Framework.Utilities; | 42 | using OpenSim.Framework.Utilities; |
43 | using OpenSim.Assets; | 43 | using OpenSim.Assets; |
44 | 44 | ||
45 | namespace OpenSim | 45 | namespace OpenSim.Region.ClientStack |
46 | { | 46 | { |
47 | public partial class ClientView | 47 | public partial class ClientView |
48 | { | 48 | { |
@@ -492,7 +492,13 @@ namespace OpenSim | |||
492 | case PacketType.MoneyBalanceRequest: | 492 | case PacketType.MoneyBalanceRequest: |
493 | this.SendMoneyBalance(LLUUID.Zero, true, new byte[0], 1000); | 493 | this.SendMoneyBalance(LLUUID.Zero, true, new byte[0], 1000); |
494 | break; | 494 | break; |
495 | 495 | case PacketType.UUIDNameRequest: | |
496 | UUIDNameRequestPacket incoming = (UUIDNameRequestPacket)Pack; | ||
497 | foreach (UUIDNameRequestPacket.UUIDNameBlockBlock UUIDBlock in incoming.UUIDNameBlock) | ||
498 | { | ||
499 | OnNameFromUUIDRequest(UUIDBlock.ID, this); | ||
500 | } | ||
501 | break; | ||
496 | #region Parcel related packets | 502 | #region Parcel related packets |
497 | case PacketType.ParcelPropertiesRequest: | 503 | case PacketType.ParcelPropertiesRequest: |
498 | ParcelPropertiesRequestPacket propertiesRequest = (ParcelPropertiesRequestPacket)Pack; | 504 | ParcelPropertiesRequestPacket propertiesRequest = (ParcelPropertiesRequestPacket)Pack; |
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 312da9d..9c4462d 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -42,9 +42,9 @@ using OpenSim.Framework.Types; | |||
42 | using OpenSim.Framework.Inventory; | 42 | using OpenSim.Framework.Inventory; |
43 | using OpenSim.Framework.Utilities; | 43 | using OpenSim.Framework.Utilities; |
44 | using OpenSim.Assets; | 44 | using OpenSim.Assets; |
45 | using OpenSim.Caches; | 45 | using OpenSim.Region.Caches; |
46 | 46 | ||
47 | namespace OpenSim | 47 | namespace OpenSim.Region.ClientStack |
48 | { | 48 | { |
49 | public delegate bool PacketMethod(ClientView simClient, Packet packet); | 49 | public delegate bool PacketMethod(ClientView simClient, Packet packet); |
50 | 50 | ||
diff --git a/OpenSim/OpenSim.RegionServer/ClientViewBase.cs b/OpenSim/Region/ClientStack/ClientViewBase.cs index 8b503f0..7d39405 100644 --- a/OpenSim/OpenSim.RegionServer/ClientViewBase.cs +++ b/OpenSim/Region/ClientStack/ClientViewBase.cs | |||
@@ -39,7 +39,7 @@ using System.Timers; | |||
39 | using OpenSim.Framework.Utilities; | 39 | using OpenSim.Framework.Utilities; |
40 | using OpenSim.Framework.Interfaces; | 40 | using OpenSim.Framework.Interfaces; |
41 | 41 | ||
42 | namespace OpenSim | 42 | namespace OpenSim.Region.ClientStack |
43 | { | 43 | { |
44 | public class ClientViewBase | 44 | public class ClientViewBase |
45 | { | 45 | { |
diff --git a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj index b1ce3eb..3093eb0 100644 --- a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj +++ b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{632E1BFD-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{DC3698B2-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.RegionServer</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.ClientStack</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.RegionServer</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.ClientStack</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,15 +59,15 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Axiom.MathLib.dll" > | 61 | <Reference Include="Axiom.MathLib.dll" > |
62 | <HintPath>..\..\bin\Axiom.MathLib.dll</HintPath> | 62 | <HintPath>..\..\..\bin\Axiom.MathLib.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="Db4objects.Db4o.dll" > | 65 | <Reference Include="Db4objects.Db4o.dll" > |
66 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | 66 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="libsecondlife.dll" > | 69 | <Reference Include="libsecondlife.dll" > |
70 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 70 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="System" > | 73 | <Reference Include="System" > |
@@ -78,59 +78,45 @@ | |||
78 | <HintPath>System.Xml.dll</HintPath> | 78 | <HintPath>System.Xml.dll</HintPath> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </Reference> | 80 | </Reference> |
81 | <Reference Include="XMLRPC.dll" > | ||
82 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> | ||
83 | <Private>False</Private> | ||
84 | </Reference> | ||
81 | </ItemGroup> | 85 | </ItemGroup> |
82 | <ItemGroup> | 86 | <ItemGroup> |
83 | <ProjectReference Include="..\OpenSim.Caches\OpenSim.Caches.csproj"> | 87 | <ProjectReference Include="..\..\Framework\General\OpenSim.Framework.csproj"> |
84 | <Name>OpenSim.Caches</Name> | ||
85 | <Project>{1938EB12-0000-0000-0000-000000000000}</Project> | ||
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | <ProjectReference Include="..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | ||
90 | <Name>OpenSim.Framework</Name> | 88 | <Name>OpenSim.Framework</Name> |
91 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 89 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
92 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 90 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
93 | <Private>False</Private> | 91 | <Private>False</Private> |
94 | </ProjectReference> | 92 | </ProjectReference> |
95 | <ProjectReference Include="..\..\Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 93 | <ProjectReference Include="..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
96 | <Name>OpenSim.Framework.Console</Name> | 94 | <Name>OpenSim.Framework.Console</Name> |
97 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 95 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
98 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 96 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
99 | <Private>False</Private> | 97 | <Private>False</Private> |
100 | </ProjectReference> | 98 | </ProjectReference> |
101 | <ProjectReference Include="..\..\Common\OpenSim.GenericConfig\Xml\OpenSim.GenericConfig.Xml.csproj"> | 99 | <ProjectReference Include="..\..\Framework\Servers\OpenSim.Framework.Servers.csproj"> |
102 | <Name>OpenSim.GenericConfig.Xml</Name> | 100 | <Name>OpenSim.Framework.Servers</Name> |
103 | <Project>{E88EF749-0000-0000-0000-000000000000}</Project> | 101 | <Project>{2CC71860-0000-0000-0000-000000000000}</Project> |
104 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 102 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
105 | <Private>False</Private> | 103 | <Private>False</Private> |
106 | </ProjectReference> | 104 | </ProjectReference> |
107 | <ProjectReference Include="..\OpenSim.Physics\Manager\OpenSim.Physics.Manager.csproj"> | 105 | <ProjectReference Include="..\Caches\OpenSim.Region.Caches.csproj"> |
108 | <Name>OpenSim.Physics.Manager</Name> | 106 | <Name>OpenSim.Region.Caches</Name> |
109 | <Project>{8BE16150-0000-0000-0000-000000000000}</Project> | 107 | <Project>{61FCCDB3-0000-0000-0000-000000000000}</Project> |
110 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 108 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
111 | <Private>False</Private> | 109 | <Private>False</Private> |
112 | </ProjectReference> | 110 | </ProjectReference> |
113 | <ProjectReference Include="..\OpenSim.Region\OpenSim.Region.csproj"> | 111 | <ProjectReference Include="..\Physics\Manager\OpenSim.Region.Physics.Manager.csproj"> |
114 | <Name>OpenSim.Region</Name> | 112 | <Name>OpenSim.Region.Physics.Manager</Name> |
115 | <Project>{196916AF-0000-0000-0000-000000000000}</Project> | 113 | <Project>{F4FF31EB-0000-0000-0000-000000000000}</Project> |
116 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 114 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
117 | <Private>False</Private> | 115 | <Private>False</Private> |
118 | </ProjectReference> | 116 | </ProjectReference> |
119 | <ProjectReference Include="..\..\Common\OpenSim.Servers\OpenSim.Servers.csproj"> | 117 | <ProjectReference Include="..\Terrain.BasicTerrain\OpenSim.Region.Terrain.BasicTerrain.csproj"> |
120 | <Name>OpenSim.Servers</Name> | 118 | <Name>OpenSim.Region.Terrain.BasicTerrain</Name> |
121 | <Project>{8BB20F0A-0000-0000-0000-000000000000}</Project> | 119 | <Project>{C9E0F891-0000-0000-0000-000000000000}</Project> |
122 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
123 | <Private>False</Private> | ||
124 | </ProjectReference> | ||
125 | <ProjectReference Include="..\OpenSim.Terrain.BasicTerrain\OpenSim.Terrain.BasicTerrain.csproj"> | ||
126 | <Name>OpenSim.Terrain.BasicTerrain</Name> | ||
127 | <Project>{2270B8FE-0000-0000-0000-000000000000}</Project> | ||
128 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
129 | <Private>False</Private> | ||
130 | </ProjectReference> | ||
131 | <ProjectReference Include="..\..\Common\XmlRpcCS\XMLRPC.csproj"> | ||
132 | <Name>XMLRPC</Name> | ||
133 | <Project>{8E81D43C-0000-0000-0000-000000000000}</Project> | ||
134 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 120 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
135 | <Private>False</Private> | 121 | <Private>False</Private> |
136 | </ProjectReference> | 122 | </ProjectReference> |
@@ -166,9 +152,6 @@ | |||
166 | <Compile Include="UDPServer.cs"> | 152 | <Compile Include="UDPServer.cs"> |
167 | <SubType>Code</SubType> | 153 | <SubType>Code</SubType> |
168 | </Compile> | 154 | </Compile> |
169 | <Compile Include="VersionInfo.cs"> | ||
170 | <SubType>Code</SubType> | ||
171 | </Compile> | ||
172 | <Compile Include="Assets\InventoryCache.cs"> | 155 | <Compile Include="Assets\InventoryCache.cs"> |
173 | <SubType>Code</SubType> | 156 | <SubType>Code</SubType> |
174 | </Compile> | 157 | </Compile> |
diff --git a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build index 12dca8a..f76a4c8 100644 --- a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build +++ b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.RegionServer" default="build"> | 2 | <project name="OpenSim.Region.ClientStack" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.RegionServer" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.ClientStack" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="ClientStackNetworkHandler.cs" /> | 14 | <include name="ClientStackNetworkHandler.cs" /> |
@@ -21,7 +21,6 @@ | |||
21 | <include name="PacketServer.cs" /> | 21 | <include name="PacketServer.cs" /> |
22 | <include name="RegionApplicationBase.cs" /> | 22 | <include name="RegionApplicationBase.cs" /> |
23 | <include name="UDPServer.cs" /> | 23 | <include name="UDPServer.cs" /> |
24 | <include name="VersionInfo.cs" /> | ||
25 | <include name="Assets/InventoryCache.cs" /> | 24 | <include name="Assets/InventoryCache.cs" /> |
26 | </sources> | 25 | </sources> |
27 | <references basedir="${project::get-base-directory()}"> | 26 | <references basedir="${project::get-base-directory()}"> |
@@ -29,25 +28,23 @@ | |||
29 | <include name="${project::get-base-directory()}" /> | 28 | <include name="${project::get-base-directory()}" /> |
30 | <include name="${project::get-base-directory()}/${build.dir}" /> | 29 | <include name="${project::get-base-directory()}/${build.dir}" /> |
31 | </lib> | 30 | </lib> |
32 | <include name="../../bin/Axiom.MathLib.dll" /> | 31 | <include name="../../../bin/Axiom.MathLib.dll" /> |
33 | <include name="../../bin/Db4objects.Db4o.dll" /> | 32 | <include name="../../../bin/Db4objects.Db4o.dll" /> |
34 | <include name="../../bin/libsecondlife.dll" /> | 33 | <include name="../../../bin/libsecondlife.dll" /> |
35 | <include name="../../bin/OpenSim.Caches.dll" /> | 34 | <include name="../../../bin/OpenSim.Framework.dll" /> |
36 | <include name="../../bin/OpenSim.Framework.dll" /> | 35 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> |
37 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | 36 | <include name="../../../bin/OpenSim.Framework.Servers.dll" /> |
38 | <include name="../../bin/OpenSim.GenericConfig.Xml.dll" /> | 37 | <include name="../../../bin/OpenSim.Region.Caches.dll" /> |
39 | <include name="../../bin/OpenSim.Physics.Manager.dll" /> | 38 | <include name="../../../bin/OpenSim.Region.Physics.Manager.dll" /> |
40 | <include name="../../bin/OpenSim.Region.dll" /> | 39 | <include name="../../../bin/OpenSim.Region.Terrain.BasicTerrain.dll" /> |
41 | <include name="../../bin/OpenSim.Servers.dll" /> | ||
42 | <include name="../../bin/OpenSim.Terrain.BasicTerrain.dll" /> | ||
43 | <include name="System.dll" /> | 40 | <include name="System.dll" /> |
44 | <include name="System.Xml.dll" /> | 41 | <include name="System.Xml.dll" /> |
45 | <include name="../../bin/XMLRPC.dll" /> | 42 | <include name="../../../bin/XMLRPC.dll" /> |
46 | </references> | 43 | </references> |
47 | </csc> | 44 | </csc> |
48 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 45 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
49 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 46 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
50 | <copy todir="${project::get-base-directory()}/../../bin/"> | 47 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
51 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 48 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
52 | <include name="*.dll"/> | 49 | <include name="*.dll"/> |
53 | <include name="*.exe"/> | 50 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.RegionServer/PacketServer.cs b/OpenSim/Region/ClientStack/PacketServer.cs index 229570c..ffd254e 100644 --- a/OpenSim/OpenSim.RegionServer/PacketServer.cs +++ b/OpenSim/Region/ClientStack/PacketServer.cs | |||
@@ -34,9 +34,9 @@ using OpenSim.Framework; | |||
34 | using System.Net; | 34 | using System.Net; |
35 | using System.Net.Sockets; | 35 | using System.Net.Sockets; |
36 | using OpenSim.Assets; | 36 | using OpenSim.Assets; |
37 | using OpenSim.Caches; | 37 | using OpenSim.Region.Caches; |
38 | 38 | ||
39 | namespace OpenSim | 39 | namespace OpenSim.Region.ClientStack |
40 | { | 40 | { |
41 | public class PacketServer | 41 | public class PacketServer |
42 | { | 42 | { |
diff --git a/OpenSim/OpenSim.RegionServer/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs index 68a140b..94db8ee 100644 --- a/OpenSim/OpenSim.RegionServer/RegionApplicationBase.cs +++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs | |||
@@ -37,19 +37,18 @@ using System.Collections; | |||
37 | using System.Collections.Generic; | 37 | using System.Collections.Generic; |
38 | using libsecondlife; | 38 | using libsecondlife; |
39 | using libsecondlife.Packets; | 39 | using libsecondlife.Packets; |
40 | using OpenSim.Terrain; | 40 | using OpenSim.Region.Terrain; |
41 | using OpenSim.Framework.Interfaces; | 41 | using OpenSim.Framework.Interfaces; |
42 | using OpenSim.Framework.Types; | 42 | using OpenSim.Framework.Types; |
43 | using OpenSim.Framework; | 43 | using OpenSim.Framework; |
44 | using OpenSim.Assets; | 44 | using OpenSim.Assets; |
45 | using OpenSim.Caches; | 45 | using OpenSim.Region.Caches; |
46 | using OpenSim.Framework.Console; | 46 | using OpenSim.Framework.Console; |
47 | using OpenSim.Physics.Manager; | 47 | using OpenSim.Physics.Manager; |
48 | using Nwc.XmlRpc; | 48 | using Nwc.XmlRpc; |
49 | using OpenSim.Servers; | 49 | using OpenSim.Framework.Servers; |
50 | using OpenSim.GenericConfig; | ||
51 | 50 | ||
52 | namespace OpenSim | 51 | namespace OpenSim.Region.ClientStack |
53 | { | 52 | { |
54 | public class RegionApplicationBase | 53 | public class RegionApplicationBase |
55 | { | 54 | { |
diff --git a/OpenSim/OpenSim.RegionServer/UDPServer.cs b/OpenSim/Region/ClientStack/UDPServer.cs index f2a02d9..259352c 100644 --- a/OpenSim/OpenSim.RegionServer/UDPServer.cs +++ b/OpenSim/Region/ClientStack/UDPServer.cs | |||
@@ -37,18 +37,17 @@ using System.Collections; | |||
37 | using System.Collections.Generic; | 37 | using System.Collections.Generic; |
38 | using libsecondlife; | 38 | using libsecondlife; |
39 | using libsecondlife.Packets; | 39 | using libsecondlife.Packets; |
40 | using OpenSim.Terrain; | 40 | using OpenSim.Region.Terrain; |
41 | using OpenSim.Framework.Interfaces; | 41 | using OpenSim.Framework.Interfaces; |
42 | using OpenSim.Framework.Types; | 42 | using OpenSim.Framework.Types; |
43 | using OpenSim.Assets; | 43 | using OpenSim.Assets; |
44 | using OpenSim.Caches; | 44 | using OpenSim.Region.Caches; |
45 | using OpenSim.Framework.Console; | 45 | using OpenSim.Framework.Console; |
46 | using OpenSim.Framework; | 46 | using OpenSim.Framework; |
47 | using Nwc.XmlRpc; | 47 | using Nwc.XmlRpc; |
48 | using OpenSim.Servers; | 48 | using OpenSim.Framework.Servers; |
49 | using OpenSim.GenericConfig; | ||
50 | 49 | ||
51 | namespace OpenSim | 50 | namespace OpenSim.Region.ClientStack |
52 | { | 51 | { |
53 | 52 | ||
54 | public class UDPServer : ClientStackNetworkHandler | 53 | public class UDPServer : ClientStackNetworkHandler |
diff --git a/OpenSim/OpenSim.LocalCommunications/CommunicationsLocal.cs b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs index 743b9b4..bacaa3e 100644 --- a/OpenSim/OpenSim.LocalCommunications/CommunicationsLocal.cs +++ b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs | |||
@@ -33,10 +33,9 @@ using libsecondlife; | |||
33 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
34 | using OpenSim.Framework.Interfaces; | 34 | using OpenSim.Framework.Interfaces; |
35 | using OpenSim.Framework.Types; | 35 | using OpenSim.Framework.Types; |
36 | using OpenGrid.Framework.Communications; | 36 | using OpenSim.Framework.Communications; |
37 | 37 | ||
38 | 38 | namespace OpenSim.Region.Communications.Local | |
39 | namespace OpenSim.LocalCommunications | ||
40 | { | 39 | { |
41 | public class CommunicationsLocal : CommunicationsManager | 40 | public class CommunicationsLocal : CommunicationsManager |
42 | { | 41 | { |
@@ -46,8 +45,8 @@ namespace OpenSim.LocalCommunications | |||
46 | public CommunicationsLocal(NetworkServersInfo serversInfo) | 45 | public CommunicationsLocal(NetworkServersInfo serversInfo) |
47 | : base(serversInfo) | 46 | : base(serversInfo) |
48 | { | 47 | { |
49 | UserServices = new LocalUserServices(this , serversInfo.DefaultHomeLocX, serversInfo.DefaultHomeLocY); | 48 | UserServices = new LocalUserServices(this,this.ServersInfo.DefaultHomeLocX,this.ServersInfo.DefaultHomeLocY); |
50 | UserServices.AddPlugin("OpenGrid.Framework.Data.DB4o.dll"); | 49 | UserServices.AddPlugin("OpenSim.Framework.Data.DB4o.dll"); |
51 | UserServer = UserServices; | 50 | UserServer = UserServices; |
52 | GridServer = SandBoxServices; | 51 | GridServer = SandBoxServices; |
53 | InterRegion = SandBoxServices; | 52 | InterRegion = SandBoxServices; |
diff --git a/OpenSim/OpenSim.LocalCommunications/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs index ce48c6e..26834be 100644 --- a/OpenSim/OpenSim.LocalCommunications/LocalBackEndServices.cs +++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs | |||
@@ -28,12 +28,12 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenGrid.Framework.Communications; | ||
32 | using libsecondlife; | 31 | using libsecondlife; |
33 | using OpenSim.Framework.Types; | 32 | using OpenSim.Framework.Types; |
34 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
34 | using OpenSim.Framework.Communications; | ||
35 | 35 | ||
36 | namespace OpenSim.LocalCommunications | 36 | namespace OpenSim.Region.Communications.Local |
37 | { | 37 | { |
38 | 38 | ||
39 | public class LocalBackEndServices : IGridServices, IInterRegionCommunications | 39 | public class LocalBackEndServices : IGridServices, IInterRegionCommunications |
@@ -182,7 +182,6 @@ namespace OpenSim.LocalCommunications | |||
182 | /// <returns></returns> | 182 | /// <returns></returns> |
183 | public bool AddNewSession(ulong regionHandle, Login loginData) | 183 | public bool AddNewSession(ulong regionHandle, Login loginData) |
184 | { | 184 | { |
185 | //Console.WriteLine(" comms manager been told to expect new user"); | ||
186 | AgentCircuitData agent = new AgentCircuitData(); | 185 | AgentCircuitData agent = new AgentCircuitData(); |
187 | agent.AgentID = loginData.Agent; | 186 | agent.AgentID = loginData.Agent; |
188 | agent.firstname = loginData.First; | 187 | agent.firstname = loginData.First; |
diff --git a/OpenSim/OpenSim.LocalCommunications/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs index a7f7aa4..6cf254b 100644 --- a/OpenSim/OpenSim.LocalCommunications/LocalUserServices.cs +++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs | |||
@@ -3,16 +3,16 @@ using System.Collections; | |||
3 | using System.Collections.Generic; | 3 | using System.Collections.Generic; |
4 | using System.Text; | 4 | using System.Text; |
5 | 5 | ||
6 | using OpenGrid.Framework.Communications; | 6 | using OpenSim.Framework.Communications; |
7 | //using OpenSim.Framework.User; | 7 | //using OpenSim.Framework.User; |
8 | using OpenGrid.Framework.UserManagement; | 8 | using OpenSim.Framework.UserManagement; |
9 | using OpenGrid.Framework.Data; | 9 | using OpenSim.Framework.Data; |
10 | using OpenSim.Framework.Types; | 10 | using OpenSim.Framework.Types; |
11 | using OpenSim.Framework.Utilities; | 11 | using OpenSim.Framework.Utilities; |
12 | 12 | ||
13 | using libsecondlife; | 13 | using libsecondlife; |
14 | 14 | ||
15 | namespace OpenSim.LocalCommunications | 15 | namespace OpenSim.Region.Communications.Local |
16 | { | 16 | { |
17 | public class LocalUserServices : UserManagerBase, IUserServices | 17 | public class LocalUserServices : UserManagerBase, IUserServices |
18 | { | 18 | { |
@@ -36,6 +36,7 @@ namespace OpenSim.LocalCommunications | |||
36 | { | 36 | { |
37 | return this.getUserProfile(name); | 37 | return this.getUserProfile(name); |
38 | } | 38 | } |
39 | |||
39 | public UserProfileData GetUserProfile(LLUUID avatarID) | 40 | public UserProfileData GetUserProfile(LLUUID avatarID) |
40 | { | 41 | { |
41 | return this.getUserProfile(avatarID); | 42 | return this.getUserProfile(avatarID); |
@@ -87,7 +88,7 @@ namespace OpenSim.LocalCommunications | |||
87 | "'position':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "], " + | 88 | "'position':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "], " + |
88 | "'look_at':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}"; | 89 | "'look_at':[r" + theUser.homeLocation.X.ToString() + ",r" + theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}"; |
89 | string capsPath = Util.GetRandomCapsPath(); | 90 | string capsPath = Util.GetRandomCapsPath(); |
90 | response.SimAddress = reg.CommsIPListenAddr; | 91 | response.SimAddress = reg.CommsExternalAddress; |
91 | response.SimPort = (Int32)reg.CommsIPListenPort; | 92 | response.SimPort = (Int32)reg.CommsIPListenPort; |
92 | response.RegionX = reg.RegionLocX ; | 93 | response.RegionX = reg.RegionLocX ; |
93 | response.RegionY = reg.RegionLocY ; | 94 | response.RegionY = reg.RegionLocY ; |
@@ -114,5 +115,31 @@ namespace OpenSim.LocalCommunications | |||
114 | 115 | ||
115 | } | 116 | } |
116 | 117 | ||
118 | public UserProfileData SetupMasterUser(string firstName, string lastName) | ||
119 | { | ||
120 | return SetupMasterUser(firstName, lastName, ""); | ||
121 | } | ||
122 | |||
123 | public UserProfileData SetupMasterUser(string firstName, string lastName, string password) | ||
124 | { | ||
125 | UserProfileData profile = getUserProfile(firstName, lastName); | ||
126 | if (profile != null) | ||
127 | { | ||
128 | |||
129 | return profile; | ||
130 | } | ||
131 | |||
132 | Console.WriteLine("Unknown Master User. Sandbox Mode: Creating Account"); | ||
133 | this.AddUserProfile(firstName, lastName, password, defaultHomeX, defaultHomeY); | ||
134 | |||
135 | profile = getUserProfile(firstName, lastName); | ||
136 | |||
137 | if (profile == null) | ||
138 | { | ||
139 | Console.WriteLine("Unknown Master User after creation attempt. No clue what to do here."); | ||
140 | } | ||
141 | |||
142 | return profile; | ||
143 | } | ||
117 | } | 144 | } |
118 | } | 145 | } |
diff --git a/OpenSim/OpenSim.LocalCommunications/OpenSim.LocalCommunications.csproj b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj index 3cb36da..0a15a49 100644 --- a/OpenSim/OpenSim.LocalCommunications/OpenSim.LocalCommunications.csproj +++ b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{79CED992-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{BFB5D807-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.LocalCommunications</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Communications.Local</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.LocalCommunications</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Communications.Local</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libsecondlife.dll" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
@@ -72,27 +72,27 @@ | |||
72 | </Reference> | 72 | </Reference> |
73 | </ItemGroup> | 73 | </ItemGroup> |
74 | <ItemGroup> | 74 | <ItemGroup> |
75 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.Communications\OpenGrid.Framework.Communications.csproj"> | 75 | <ProjectReference Include="..\..\..\Framework\General\OpenSim.Framework.csproj"> |
76 | <Name>OpenGrid.Framework.Communications</Name> | 76 | <Name>OpenSim.Framework</Name> |
77 | <Project>{683344D5-0000-0000-0000-000000000000}</Project> | 77 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </ProjectReference> | 80 | </ProjectReference> |
81 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | 81 | <ProjectReference Include="..\..\..\Framework\Communications\OpenSim.Framework.Communications.csproj"> |
82 | <Name>OpenGrid.Framework.Data</Name> | 82 | <Name>OpenSim.Framework.Communications</Name> |
83 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | 83 | <Project>{CB52B7E7-0000-0000-0000-000000000000}</Project> |
84 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 84 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
85 | <Private>False</Private> | 85 | <Private>False</Private> |
86 | </ProjectReference> | 86 | </ProjectReference> |
87 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.UserManager\OpenGrid.Framework.UserManagement.csproj"> | 87 | <ProjectReference Include="..\..\..\Framework\Data\OpenSim.Framework.Data.csproj"> |
88 | <Name>OpenGrid.Framework.UserManagement</Name> | 88 | <Name>OpenSim.Framework.Data</Name> |
89 | <Project>{DA9A7391-0000-0000-0000-000000000000}</Project> | 89 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
90 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 90 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
91 | <Private>False</Private> | 91 | <Private>False</Private> |
92 | </ProjectReference> | 92 | </ProjectReference> |
93 | <ProjectReference Include="..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 93 | <ProjectReference Include="..\..\..\Framework\UserManager\OpenSim.Framework.UserManagement.csproj"> |
94 | <Name>OpenSim.Framework</Name> | 94 | <Name>OpenSim.Framework.UserManagement</Name> |
95 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 95 | <Project>{586E2916-0000-0000-0000-000000000000}</Project> |
96 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 96 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
97 | <Private>False</Private> | 97 | <Private>False</Private> |
98 | </ProjectReference> | 98 | </ProjectReference> |
diff --git a/OpenSim/OpenSim.LocalCommunications/OpenSim.LocalCommunications.dll.build b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build index 2b72e2d..3cac9d3 100644 --- a/OpenSim/OpenSim.LocalCommunications/OpenSim.LocalCommunications.dll.build +++ b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.LocalCommunications" default="build"> | 2 | <project name="OpenSim.Region.Communications.Local" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.LocalCommunications" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Communications.Local" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="CommunicationsLocal.cs" /> | 14 | <include name="CommunicationsLocal.cs" /> |
@@ -21,18 +21,18 @@ | |||
21 | <include name="${project::get-base-directory()}" /> | 21 | <include name="${project::get-base-directory()}" /> |
22 | <include name="${project::get-base-directory()}/${build.dir}" /> | 22 | <include name="${project::get-base-directory()}/${build.dir}" /> |
23 | </lib> | 23 | </lib> |
24 | <include name="../../bin/libsecondlife.dll" /> | 24 | <include name="../../../../bin/libsecondlife.dll" /> |
25 | <include name="../../bin/OpenGrid.Framework.Communications.dll" /> | 25 | <include name="../../../../bin/OpenSim.Framework.dll" /> |
26 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | 26 | <include name="../../../../bin/OpenSim.Framework.Communications.dll" /> |
27 | <include name="../../bin/OpenGrid.Framework.UserManagement.dll" /> | 27 | <include name="../../../../bin/OpenSim.Framework.Data.dll" /> |
28 | <include name="../../bin/OpenSim.Framework.dll" /> | 28 | <include name="../../../../bin/OpenSim.Framework.UserManagement.dll" /> |
29 | <include name="System.dll" /> | 29 | <include name="System.dll" /> |
30 | <include name="System.Xml.dll" /> | 30 | <include name="System.Xml.dll" /> |
31 | </references> | 31 | </references> |
32 | </csc> | 32 | </csc> |
33 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 33 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" /> |
34 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 34 | <mkdir dir="${project::get-base-directory()}/../../../../bin/"/> |
35 | <copy todir="${project::get-base-directory()}/../../bin/"> | 35 | <copy todir="${project::get-base-directory()}/../../../../bin/"> |
36 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 36 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
37 | <include name="*.dll"/> | 37 | <include name="*.dll"/> |
38 | <include name="*.exe"/> | 38 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.LocalCommunications/Properties/AssemblyInfo.cs b/OpenSim/Region/Communications/Local/Properties/AssemblyInfo.cs index 8e6e711..1eb7107 100644 --- a/OpenSim/OpenSim.LocalCommunications/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/Communications/Local/Properties/AssemblyInfo.cs | |||
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices; | |||
5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 7 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("OpenSim.LocalCommunications")] | 8 | [assembly: AssemblyTitle("OpenSim.Region.Communications.Local")] |
9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
11 | [assembly: AssemblyCompany("")] | 11 | [assembly: AssemblyCompany("")] |
12 | [assembly: AssemblyProduct("OpenSim.LocalCommunications")] | 12 | [assembly: AssemblyProduct("OpenSim.Region.Communications.Local")] |
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | 13 | [assembly: AssemblyCopyright("Copyright © 2007")] |
14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
diff --git a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs new file mode 100644 index 0000000..870f577 --- /dev/null +++ b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs | |||
@@ -0,0 +1,18 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenSim.Framework.Types; | ||
5 | using OpenSim.Framework.Communications; | ||
6 | namespace OpenSim.Region.Communications.OGS1 | ||
7 | { | ||
8 | public class CommunicationsOGS1 : CommunicationsManager | ||
9 | { | ||
10 | private OGS1GridServices gridInterComms = new OGS1GridServices(); | ||
11 | public CommunicationsOGS1(NetworkServersInfo serversInfo) :base(serversInfo) | ||
12 | { | ||
13 | GridServer = gridInterComms; | ||
14 | InterRegion = gridInterComms; | ||
15 | UserServer = new OGS1UserServices(this); | ||
16 | } | ||
17 | } | ||
18 | } | ||
diff --git a/Common/OpenGrid.Framework.Communications.OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index db64f0c..5f0c80c 100644 --- a/Common/OpenGrid.Framework.Communications.OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -6,15 +6,15 @@ using System.Runtime.Remoting; | |||
6 | using System.Runtime.Remoting.Channels; | 6 | using System.Runtime.Remoting.Channels; |
7 | using System.Runtime.Remoting.Channels.Tcp; | 7 | using System.Runtime.Remoting.Channels.Tcp; |
8 | 8 | ||
9 | using OpenSim.Servers; | 9 | using OpenSim.Framework.Servers; |
10 | using OpenSim.Framework; | 10 | using OpenSim.Framework; |
11 | using OpenSim.Framework.Types; | 11 | using OpenSim.Framework.Types; |
12 | using OpenGrid.Framework.Communications; | 12 | using OpenSim.Framework.Communications; |
13 | 13 | ||
14 | using Nwc.XmlRpc; | 14 | using Nwc.XmlRpc; |
15 | using libsecondlife; | 15 | using libsecondlife; |
16 | 16 | ||
17 | namespace OpenGrid.Framework.Communications.OGS1 | 17 | namespace OpenSim.Region.Communications.OGS1 |
18 | { | 18 | { |
19 | public class OGS1GridServices : IGridServices, IInterRegionCommunications | 19 | public class OGS1GridServices : IGridServices, IInterRegionCommunications |
20 | { | 20 | { |
diff --git a/Common/OpenGrid.Framework.Communications.OGS1/OGSInterSimComms.cs b/OpenSim/Region/Communications/OGS1/OGS1InterSimComms.cs index 3d74e2f..51b33e9 100644 --- a/Common/OpenGrid.Framework.Communications.OGS1/OGSInterSimComms.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InterSimComms.cs | |||
@@ -2,8 +2,8 @@ using System; | |||
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using OpenSim.Framework.Types; | 4 | using OpenSim.Framework.Types; |
5 | using OpenGrid.Framework.Communications; | 5 | using OpenSim.Framework.Communications; |
6 | namespace OpenGrid.Framework.Communications.OGS1 | 6 | namespace OpenSim.Region.Communications.OGS1 |
7 | { | 7 | { |
8 | public delegate bool InformRegionChild(ulong regionHandle, AgentCircuitData agentData); | 8 | public delegate bool InformRegionChild(ulong regionHandle, AgentCircuitData agentData); |
9 | public delegate bool ExpectArrival(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position); | 9 | public delegate bool ExpectArrival(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position); |
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs new file mode 100644 index 0000000..856c447 --- /dev/null +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | |||
@@ -0,0 +1,109 @@ | |||
1 | using System; | ||
2 | using System.Collections; | ||
3 | using System.Collections.Generic; | ||
4 | using System.Text; | ||
5 | using OpenSim.Framework.Types; | ||
6 | using OpenSim.Framework.Communications; | ||
7 | using OpenSim.Framework.Data; | ||
8 | using libsecondlife; | ||
9 | |||
10 | using Nwc.XmlRpc; | ||
11 | |||
12 | namespace OpenSim.Region.Communications.OGS1 | ||
13 | { | ||
14 | public class OGS1UserServices :IUserServices | ||
15 | { | ||
16 | CommunicationsOGS1 m_parent; | ||
17 | public OGS1UserServices(CommunicationsOGS1 parent) | ||
18 | { | ||
19 | m_parent = parent; | ||
20 | } | ||
21 | |||
22 | public UserProfileData ConvertXMLRPCDataToUserProfile(Hashtable data) | ||
23 | { | ||
24 | if (data.Contains("error_type")) | ||
25 | { | ||
26 | Console.WriteLine("Error sent by user server when trying to get user profile: (" + data["error_type"] + "): " + data["error_desc"]); | ||
27 | return null; | ||
28 | } | ||
29 | |||
30 | UserProfileData userData = new UserProfileData(); | ||
31 | userData.username = (string)data["firstname"]; | ||
32 | userData.surname = (string)data["lastname"]; | ||
33 | userData.UUID = new LLUUID((string)data["uuid"]); | ||
34 | userData.userInventoryURI = (string)data["server_inventory"]; | ||
35 | userData.userAssetURI = (string)data["server_asset"]; | ||
36 | userData.profileFirstText = (string)data["profile_firstlife_about"]; | ||
37 | userData.profileFirstImage = new LLUUID((string)data["profile_firstlife_image"]); | ||
38 | userData.profileCanDoMask = (uint)data["profile_can_do"]; | ||
39 | userData.profileWantDoMask = (uint)data["profile_want_do"]; | ||
40 | userData.profileImage = new LLUUID((string)data["profile_image"]); | ||
41 | userData.lastLogin = (int)data["profile_lastlogin"]; | ||
42 | userData.homeLocation = new LLVector3(); | ||
43 | userData.homeLookAt = new LLVector3(); | ||
44 | |||
45 | return userData; | ||
46 | } | ||
47 | public UserProfileData GetUserProfile(string firstName, string lastName) | ||
48 | { | ||
49 | return GetUserProfile(firstName + " " + lastName); | ||
50 | } | ||
51 | public UserProfileData GetUserProfile(string name) | ||
52 | { | ||
53 | |||
54 | try | ||
55 | { | ||
56 | Hashtable param = new Hashtable(); | ||
57 | param["avatar_name"] = name; | ||
58 | IList parameters = new ArrayList(); | ||
59 | parameters.Add(param); | ||
60 | XmlRpcRequest req = new XmlRpcRequest("get_user_by_name", parameters); | ||
61 | XmlRpcResponse resp = req.Send(m_parent.ServersInfo.UserURL, 3000); | ||
62 | Hashtable respData = (Hashtable)resp.Value; | ||
63 | |||
64 | return ConvertXMLRPCDataToUserProfile(respData); | ||
65 | } | ||
66 | catch (Exception e) | ||
67 | { | ||
68 | Console.WriteLine("Error when trying to fetch profile data by name from remote user server: " + e.Message); | ||
69 | } | ||
70 | return null; | ||
71 | } | ||
72 | public UserProfileData GetUserProfile(LLUUID avatarID) | ||
73 | { | ||
74 | try | ||
75 | { | ||
76 | |||
77 | Hashtable param = new Hashtable(); | ||
78 | param["avatar_uuid"] = avatarID.ToString(); | ||
79 | IList parameters = new ArrayList(); | ||
80 | parameters.Add(param); | ||
81 | XmlRpcRequest req = new XmlRpcRequest("get_user_by_uuid", parameters); | ||
82 | XmlRpcResponse resp = req.Send(m_parent.ServersInfo.UserURL, 3000); | ||
83 | Hashtable respData = (Hashtable)resp.Value; | ||
84 | |||
85 | return ConvertXMLRPCDataToUserProfile(respData); | ||
86 | } | ||
87 | catch (Exception e) | ||
88 | { | ||
89 | Console.WriteLine("Error when trying to fetch profile data by uuid from remote user server: " + e.Message); | ||
90 | } | ||
91 | return null; | ||
92 | } | ||
93 | |||
94 | public UserProfileData SetupMasterUser(string firstName, string lastName) | ||
95 | { | ||
96 | return SetupMasterUser(firstName, lastName, ""); | ||
97 | } | ||
98 | |||
99 | public UserProfileData SetupMasterUser(string firstName, string lastName, string password) | ||
100 | { | ||
101 | UserProfileData profile = GetUserProfile(firstName, lastName); | ||
102 | if (profile == null) | ||
103 | { | ||
104 | Console.WriteLine("Unknown Master User. Grid Mode: No clue what I should do. Probably would choose the grid owner UUID when that is implemented"); | ||
105 | } | ||
106 | return null; | ||
107 | } | ||
108 | } | ||
109 | } | ||
diff --git a/Common/OpenGrid.Framework.Communications.OGS1/OpenGrid.Framework.Communications.OGS1.csproj b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj index 804ddba..d6abd13 100644 --- a/Common/OpenGrid.Framework.Communications.OGS1/OpenGrid.Framework.Communications.OGS1.csproj +++ b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{17442AF1-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{4806E378-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Framework.Communications.OGS1</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Communications.OGS1</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenGrid.Framework.Communications.OGS1</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Communications.OGS1</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libsecondlife.dll" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
@@ -78,56 +78,54 @@ | |||
78 | <HintPath>System.Xml.dll</HintPath> | 78 | <HintPath>System.Xml.dll</HintPath> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </Reference> | 80 | </Reference> |
81 | <Reference Include="XMLRPC.dll" > | ||
82 | <HintPath>..\..\..\..\bin\XMLRPC.dll</HintPath> | ||
83 | <Private>False</Private> | ||
84 | </Reference> | ||
81 | </ItemGroup> | 85 | </ItemGroup> |
82 | <ItemGroup> | 86 | <ItemGroup> |
83 | <ProjectReference Include="..\OpenGrid.Framework.Communications\OpenGrid.Framework.Communications.csproj"> | 87 | <ProjectReference Include="..\..\..\Framework\General\OpenSim.Framework.csproj"> |
84 | <Name>OpenGrid.Framework.Communications</Name> | 88 | <Name>OpenSim.Framework</Name> |
85 | <Project>{683344D5-0000-0000-0000-000000000000}</Project> | 89 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
87 | <Private>False</Private> | ||
88 | </ProjectReference> | ||
89 | <ProjectReference Include="..\OpenGrid.Framework.Data\OpenGrid.Framework.Data.csproj"> | ||
90 | <Name>OpenGrid.Framework.Data</Name> | ||
91 | <Project>{62CDF671-0000-0000-0000-000000000000}</Project> | ||
92 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 90 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
93 | <Private>False</Private> | 91 | <Private>False</Private> |
94 | </ProjectReference> | 92 | </ProjectReference> |
95 | <ProjectReference Include="..\OpenSim.Framework\OpenSim.Framework.csproj"> | 93 | <ProjectReference Include="..\..\..\Framework\Communications\OpenSim.Framework.Communications.csproj"> |
96 | <Name>OpenSim.Framework</Name> | 94 | <Name>OpenSim.Framework.Communications</Name> |
97 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 95 | <Project>{CB52B7E7-0000-0000-0000-000000000000}</Project> |
98 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 96 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
99 | <Private>False</Private> | 97 | <Private>False</Private> |
100 | </ProjectReference> | 98 | </ProjectReference> |
101 | <ProjectReference Include="..\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 99 | <ProjectReference Include="..\..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
102 | <Name>OpenSim.Framework.Console</Name> | 100 | <Name>OpenSim.Framework.Console</Name> |
103 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 101 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
104 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 102 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
105 | <Private>False</Private> | 103 | <Private>False</Private> |
106 | </ProjectReference> | 104 | </ProjectReference> |
107 | <ProjectReference Include="..\OpenSim.Servers\OpenSim.Servers.csproj"> | 105 | <ProjectReference Include="..\..\..\Framework\Data\OpenSim.Framework.Data.csproj"> |
108 | <Name>OpenSim.Servers</Name> | 106 | <Name>OpenSim.Framework.Data</Name> |
109 | <Project>{8BB20F0A-0000-0000-0000-000000000000}</Project> | 107 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> |
110 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 108 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
111 | <Private>False</Private> | 109 | <Private>False</Private> |
112 | </ProjectReference> | 110 | </ProjectReference> |
113 | <ProjectReference Include="..\XmlRpcCS\XMLRPC.csproj"> | 111 | <ProjectReference Include="..\..\..\Framework\Servers\OpenSim.Framework.Servers.csproj"> |
114 | <Name>XMLRPC</Name> | 112 | <Name>OpenSim.Framework.Servers</Name> |
115 | <Project>{8E81D43C-0000-0000-0000-000000000000}</Project> | 113 | <Project>{2CC71860-0000-0000-0000-000000000000}</Project> |
116 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 114 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
117 | <Private>False</Private> | 115 | <Private>False</Private> |
118 | </ProjectReference> | 116 | </ProjectReference> |
119 | </ItemGroup> | 117 | </ItemGroup> |
120 | <ItemGroup> | 118 | <ItemGroup> |
121 | <Compile Include="GridCommsManager.cs"> | 119 | <Compile Include="CommunicationsOGS1.cs"> |
122 | <SubType>Code</SubType> | 120 | <SubType>Code</SubType> |
123 | </Compile> | 121 | </Compile> |
124 | <Compile Include="OGS1GridServices.cs"> | 122 | <Compile Include="OGS1GridServices.cs"> |
125 | <SubType>Code</SubType> | 123 | <SubType>Code</SubType> |
126 | </Compile> | 124 | </Compile> |
127 | <Compile Include="OGSInterSimComms.cs"> | 125 | <Compile Include="OGS1InterSimComms.cs"> |
128 | <SubType>Code</SubType> | 126 | <SubType>Code</SubType> |
129 | </Compile> | 127 | </Compile> |
130 | <Compile Include="OGSUserServices.cs"> | 128 | <Compile Include="OGS1UserServices.cs"> |
131 | <SubType>Code</SubType> | 129 | <SubType>Code</SubType> |
132 | </Compile> | 130 | </Compile> |
133 | <Compile Include="Properties\AssemblyInfo.cs"> | 131 | <Compile Include="Properties\AssemblyInfo.cs"> |
diff --git a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build new file mode 100644 index 0000000..04d61b9 --- /dev/null +++ b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build | |||
@@ -0,0 +1,53 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim.Region.Communications.OGS1" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenSim.Region.Communications.OGS1" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="CommunicationsOGS1.cs" /> | ||
15 | <include name="OGS1GridServices.cs" /> | ||
16 | <include name="OGS1InterSimComms.cs" /> | ||
17 | <include name="OGS1UserServices.cs" /> | ||
18 | <include name="Properties/AssemblyInfo.cs" /> | ||
19 | </sources> | ||
20 | <references basedir="${project::get-base-directory()}"> | ||
21 | <lib> | ||
22 | <include name="${project::get-base-directory()}" /> | ||
23 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
24 | </lib> | ||
25 | <include name="../../../../bin/libsecondlife.dll" /> | ||
26 | <include name="../../../../bin/OpenSim.Framework.dll" /> | ||
27 | <include name="../../../../bin/OpenSim.Framework.Communications.dll" /> | ||
28 | <include name="../../../../bin/OpenSim.Framework.Console.dll" /> | ||
29 | <include name="../../../../bin/OpenSim.Framework.Data.dll" /> | ||
30 | <include name="../../../../bin/OpenSim.Framework.Servers.dll" /> | ||
31 | <include name="System.dll" /> | ||
32 | <include name="System.Data.dll" /> | ||
33 | <include name="System.Runtime.Remoting.dll" /> | ||
34 | <include name="System.Xml.dll" /> | ||
35 | <include name="../../../../bin/XMLRPC.dll" /> | ||
36 | </references> | ||
37 | </csc> | ||
38 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" /> | ||
39 | <mkdir dir="${project::get-base-directory()}/../../../../bin/"/> | ||
40 | <copy todir="${project::get-base-directory()}/../../../../bin/"> | ||
41 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
42 | <include name="*.dll"/> | ||
43 | <include name="*.exe"/> | ||
44 | </fileset> | ||
45 | </copy> | ||
46 | </target> | ||
47 | <target name="clean"> | ||
48 | <delete dir="${bin.dir}" failonerror="false" /> | ||
49 | <delete dir="${obj.dir}" failonerror="false" /> | ||
50 | </target> | ||
51 | <target name="doc" description="Creates documentation."> | ||
52 | </target> | ||
53 | </project> | ||
diff --git a/Common/OpenGrid.Framework.Communications.OGS1/Properties/AssemblyInfo.cs b/OpenSim/Region/Communications/OGS1/Properties/AssemblyInfo.cs index 0c6f965..0c6f965 100644 --- a/Common/OpenGrid.Framework.Communications.OGS1/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/Communications/OGS1/Properties/AssemblyInfo.cs | |||
diff --git a/OpenSim/OpenSim.Region/EstateManager.cs b/OpenSim/Region/Environment/EstateManager.cs index dcb5564..c2c1ecf 100644 --- a/OpenSim/OpenSim.Region/EstateManager.cs +++ b/OpenSim/Region/Environment/EstateManager.cs | |||
@@ -30,15 +30,15 @@ using System.Collections.Generic; | |||
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenSim.Framework.Types; | 31 | using OpenSim.Framework.Types; |
32 | using OpenSim.Framework.Interfaces; | 32 | using OpenSim.Framework.Interfaces; |
33 | using OpenSim.Region; | 33 | using OpenSim.Region.Environment; |
34 | using OpenSim.Region.Scenes; | 34 | using OpenSim.Region.Environment.Scenes; |
35 | using OpenSim; | 35 | using OpenSim; |
36 | using libsecondlife; | 36 | using libsecondlife; |
37 | using libsecondlife.Packets; | 37 | using libsecondlife.Packets; |
38 | using Avatar = OpenSim.Region.Scenes.ScenePresence; | 38 | using Avatar = OpenSim.Region.Environment.Scenes.ScenePresence; |
39 | 39 | ||
40 | 40 | ||
41 | namespace OpenSim.Region | 41 | namespace OpenSim.Region.Environment |
42 | { | 42 | { |
43 | 43 | ||
44 | /// <summary> | 44 | /// <summary> |
diff --git a/OpenSim/OpenSim.Region/OpenSim.Region.csproj b/OpenSim/Region/Environment/OpenSim.Region.Environment.csproj index 79f204d..428f381 100644 --- a/OpenSim/OpenSim.Region/OpenSim.Region.csproj +++ b/OpenSim/Region/Environment/OpenSim.Region.Environment.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{196916AF-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{DCBA491C-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.Region</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Environment</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.Region</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Environment</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,15 +59,15 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Axiom.MathLib.dll" > | 61 | <Reference Include="Axiom.MathLib.dll" > |
62 | <HintPath>..\..\bin\Axiom.MathLib.dll</HintPath> | 62 | <HintPath>..\..\..\bin\Axiom.MathLib.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="Db4objects.Db4o.dll" > | 65 | <Reference Include="Db4objects.Db4o.dll" > |
66 | <HintPath>..\..\bin\Db4objects.Db4o.dll</HintPath> | 66 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="libsecondlife.dll" > | 69 | <Reference Include="libsecondlife.dll" > |
70 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | 70 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> |
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="Microsoft.JScript" > | 73 | <Reference Include="Microsoft.JScript" > |
@@ -82,71 +82,68 @@ | |||
82 | <HintPath>System.Xml.dll</HintPath> | 82 | <HintPath>System.Xml.dll</HintPath> |
83 | <Private>False</Private> | 83 | <Private>False</Private> |
84 | </Reference> | 84 | </Reference> |
85 | <Reference Include="VJSharpCodeProvider" > | 85 | <Reference Include="XMLRPC.dll" > |
86 | <HintPath>VJSharpCodeProvider.dll</HintPath> | 86 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> |
87 | <Private>False</Private> | 87 | <Private>False</Private> |
88 | </Reference> | 88 | </Reference> |
89 | </ItemGroup> | 89 | </ItemGroup> |
90 | <ItemGroup> | 90 | <ItemGroup> |
91 | <ProjectReference Include="..\..\Common\OpenGrid.Framework.Communications\OpenGrid.Framework.Communications.csproj"> | 91 | <ProjectReference Include="..\..\Framework\General\OpenSim.Framework.csproj"> |
92 | <Name>OpenGrid.Framework.Communications</Name> | 92 | <Name>OpenSim.Framework</Name> |
93 | <Project>{683344D5-0000-0000-0000-000000000000}</Project> | 93 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
94 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 94 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
95 | <Private>False</Private> | 95 | <Private>False</Private> |
96 | </ProjectReference> | 96 | </ProjectReference> |
97 | <ProjectReference Include="..\OpenSim.Caches\OpenSim.Caches.csproj"> | 97 | <ProjectReference Include="..\..\Framework\Communications\OpenSim.Framework.Communications.csproj"> |
98 | <Name>OpenSim.Caches</Name> | 98 | <Name>OpenSim.Framework.Communications</Name> |
99 | <Project>{1938EB12-0000-0000-0000-000000000000}</Project> | 99 | <Project>{CB52B7E7-0000-0000-0000-000000000000}</Project> |
100 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 100 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
101 | <Private>False</Private> | 101 | <Private>False</Private> |
102 | </ProjectReference> | 102 | </ProjectReference> |
103 | <ProjectReference Include="..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 103 | <ProjectReference Include="..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
104 | <Name>OpenSim.Framework</Name> | 104 | <Name>OpenSim.Framework.Console</Name> |
105 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 105 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
106 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 106 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
107 | <Private>False</Private> | 107 | <Private>False</Private> |
108 | </ProjectReference> | 108 | </ProjectReference> |
109 | <ProjectReference Include="..\..\Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 109 | <ProjectReference Include="..\..\Framework\GenericConfig\Xml\OpenSim.Framework.GenericConfig.Xml.csproj"> |
110 | <Name>OpenSim.Framework.Console</Name> | 110 | <Name>OpenSim.Framework.GenericConfig.Xml</Name> |
111 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 111 | <Project>{C74E4A30-0000-0000-0000-000000000000}</Project> |
112 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 112 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
113 | <Private>False</Private> | 113 | <Private>False</Private> |
114 | </ProjectReference> | 114 | </ProjectReference> |
115 | <ProjectReference Include="..\..\Common\OpenSim.GenericConfig\Xml\OpenSim.GenericConfig.Xml.csproj"> | 115 | <ProjectReference Include="..\..\Framework\Servers\OpenSim.Framework.Servers.csproj"> |
116 | <Name>OpenSim.GenericConfig.Xml</Name> | 116 | <Name>OpenSim.Framework.Servers</Name> |
117 | <Project>{E88EF749-0000-0000-0000-000000000000}</Project> | 117 | <Project>{2CC71860-0000-0000-0000-000000000000}</Project> |
118 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 118 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
119 | <Private>False</Private> | 119 | <Private>False</Private> |
120 | </ProjectReference> | 120 | </ProjectReference> |
121 | <ProjectReference Include="..\OpenSim.Physics\Manager\OpenSim.Physics.Manager.csproj"> | 121 | <ProjectReference Include="..\Caches\OpenSim.Region.Caches.csproj"> |
122 | <Name>OpenSim.Physics.Manager</Name> | 122 | <Name>OpenSim.Region.Caches</Name> |
123 | <Project>{8BE16150-0000-0000-0000-000000000000}</Project> | 123 | <Project>{61FCCDB3-0000-0000-0000-000000000000}</Project> |
124 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 124 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
125 | <Private>False</Private> | 125 | <Private>False</Private> |
126 | </ProjectReference> | 126 | </ProjectReference> |
127 | <ProjectReference Include="..\..\Common\OpenSim.Servers\OpenSim.Servers.csproj"> | 127 | <ProjectReference Include="..\Capabilities\OpenSim.Region.Capabilities.csproj"> |
128 | <Name>OpenSim.Servers</Name> | 128 | <Name>OpenSim.Region.Capabilities</Name> |
129 | <Project>{8BB20F0A-0000-0000-0000-000000000000}</Project> | 129 | <Project>{39038E85-0000-0000-0000-000000000000}</Project> |
130 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 130 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
131 | <Private>False</Private> | 131 | <Private>False</Private> |
132 | </ProjectReference> | 132 | </ProjectReference> |
133 | <ProjectReference Include="..\OpenSim.Terrain.BasicTerrain\OpenSim.Terrain.BasicTerrain.csproj"> | 133 | <ProjectReference Include="..\Physics\Manager\OpenSim.Region.Physics.Manager.csproj"> |
134 | <Name>OpenSim.Terrain.BasicTerrain</Name> | 134 | <Name>OpenSim.Region.Physics.Manager</Name> |
135 | <Project>{2270B8FE-0000-0000-0000-000000000000}</Project> | 135 | <Project>{F4FF31EB-0000-0000-0000-000000000000}</Project> |
136 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 136 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
137 | <Private>False</Private> | 137 | <Private>False</Private> |
138 | </ProjectReference> | 138 | </ProjectReference> |
139 | <ProjectReference Include="..\..\Common\XmlRpcCS\XMLRPC.csproj"> | 139 | <ProjectReference Include="..\Terrain.BasicTerrain\OpenSim.Region.Terrain.BasicTerrain.csproj"> |
140 | <Name>XMLRPC</Name> | 140 | <Name>OpenSim.Region.Terrain.BasicTerrain</Name> |
141 | <Project>{8E81D43C-0000-0000-0000-000000000000}</Project> | 141 | <Project>{C9E0F891-0000-0000-0000-000000000000}</Project> |
142 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 142 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
143 | <Private>False</Private> | 143 | <Private>False</Private> |
144 | </ProjectReference> | 144 | </ProjectReference> |
145 | </ItemGroup> | 145 | </ItemGroup> |
146 | <ItemGroup> | 146 | <ItemGroup> |
147 | <Compile Include="Caps.cs"> | ||
148 | <SubType>Code</SubType> | ||
149 | </Compile> | ||
150 | <Compile Include="EstateManager.cs"> | 147 | <Compile Include="EstateManager.cs"> |
151 | <SubType>Code</SubType> | 148 | <SubType>Code</SubType> |
152 | </Compile> | 149 | </Compile> |
@@ -171,9 +168,6 @@ | |||
171 | <Compile Include="Scenes\Scene.PacketHandlers.cs"> | 168 | <Compile Include="Scenes\Scene.PacketHandlers.cs"> |
172 | <SubType>Code</SubType> | 169 | <SubType>Code</SubType> |
173 | </Compile> | 170 | </Compile> |
174 | <Compile Include="Scenes\Scene.Scripting.cs"> | ||
175 | <SubType>Code</SubType> | ||
176 | </Compile> | ||
177 | <Compile Include="Scenes\SceneBase.cs"> | 171 | <Compile Include="Scenes\SceneBase.cs"> |
178 | <SubType>Code</SubType> | 172 | <SubType>Code</SubType> |
179 | </Compile> | 173 | </Compile> |
@@ -207,9 +201,6 @@ | |||
207 | <Compile Include="Scenes\scripting\Engines\JScriptEngine.cs"> | 201 | <Compile Include="Scenes\scripting\Engines\JScriptEngine.cs"> |
208 | <SubType>Code</SubType> | 202 | <SubType>Code</SubType> |
209 | </Compile> | 203 | </Compile> |
210 | <Compile Include="Scenes\scripting\Engines\JSharpScriptEngine.cs"> | ||
211 | <SubType>Code</SubType> | ||
212 | </Compile> | ||
213 | </ItemGroup> | 204 | </ItemGroup> |
214 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | 205 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> |
215 | <PropertyGroup> | 206 | <PropertyGroup> |
diff --git a/OpenSim/OpenSim.Region/OpenSim.Region.dll.build b/OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build index 926b9ed..2fa5e76 100644 --- a/OpenSim/OpenSim.Region/OpenSim.Region.dll.build +++ b/OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.Region" default="build"> | 2 | <project name="OpenSim.Region.Environment" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,10 +8,9 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.Region" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Environment" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="Caps.cs" /> | ||
15 | <include name="EstateManager.cs" /> | 14 | <include name="EstateManager.cs" /> |
16 | <include name="ParcelManager.cs" /> | 15 | <include name="ParcelManager.cs" /> |
17 | <include name="RegionManager.cs" /> | 16 | <include name="RegionManager.cs" /> |
@@ -20,7 +19,6 @@ | |||
20 | <include name="Scenes/Primitive.cs" /> | 19 | <include name="Scenes/Primitive.cs" /> |
21 | <include name="Scenes/Scene.cs" /> | 20 | <include name="Scenes/Scene.cs" /> |
22 | <include name="Scenes/Scene.PacketHandlers.cs" /> | 21 | <include name="Scenes/Scene.PacketHandlers.cs" /> |
23 | <include name="Scenes/Scene.Scripting.cs" /> | ||
24 | <include name="Scenes/SceneBase.cs" /> | 22 | <include name="Scenes/SceneBase.cs" /> |
25 | <include name="Scenes/SceneEvents.cs" /> | 23 | <include name="Scenes/SceneEvents.cs" /> |
26 | <include name="Scenes/SceneObject.cs" /> | 24 | <include name="Scenes/SceneObject.cs" /> |
@@ -32,34 +30,33 @@ | |||
32 | <include name="Scenes/scripting/ScriptManager.cs" /> | 30 | <include name="Scenes/scripting/ScriptManager.cs" /> |
33 | <include name="Scenes/scripting/Engines/CSharpScriptEngine.cs" /> | 31 | <include name="Scenes/scripting/Engines/CSharpScriptEngine.cs" /> |
34 | <include name="Scenes/scripting/Engines/JScriptEngine.cs" /> | 32 | <include name="Scenes/scripting/Engines/JScriptEngine.cs" /> |
35 | <include name="Scenes/scripting/Engines/JSharpScriptEngine.cs" /> | ||
36 | </sources> | 33 | </sources> |
37 | <references basedir="${project::get-base-directory()}"> | 34 | <references basedir="${project::get-base-directory()}"> |
38 | <lib> | 35 | <lib> |
39 | <include name="${project::get-base-directory()}" /> | 36 | <include name="${project::get-base-directory()}" /> |
40 | <include name="${project::get-base-directory()}/${build.dir}" /> | 37 | <include name="${project::get-base-directory()}/${build.dir}" /> |
41 | </lib> | 38 | </lib> |
42 | <include name="../../bin/Axiom.MathLib.dll" /> | 39 | <include name="../../../bin/Axiom.MathLib.dll" /> |
43 | <include name="../../bin/Db4objects.Db4o.dll" /> | 40 | <include name="../../../bin/Db4objects.Db4o.dll" /> |
44 | <include name="../../bin/libsecondlife.dll" /> | 41 | <include name="../../../bin/libsecondlife.dll" /> |
45 | <include name="Microsoft.JScript.dll" /> | 42 | <include name="Microsoft.JScript.dll" /> |
46 | <include name="../../bin/OpenGrid.Framework.Communications.dll" /> | 43 | <include name="../../../bin/OpenSim.Framework.dll" /> |
47 | <include name="../../bin/OpenSim.Caches.dll" /> | 44 | <include name="../../../bin/OpenSim.Framework.Communications.dll" /> |
48 | <include name="../../bin/OpenSim.Framework.dll" /> | 45 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> |
49 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | 46 | <include name="../../../bin/OpenSim.Framework.GenericConfig.Xml.dll" /> |
50 | <include name="../../bin/OpenSim.GenericConfig.Xml.dll" /> | 47 | <include name="../../../bin/OpenSim.Framework.Servers.dll" /> |
51 | <include name="../../bin/OpenSim.Physics.Manager.dll" /> | 48 | <include name="../../../bin/OpenSim.Region.Caches.dll" /> |
52 | <include name="../../bin/OpenSim.Servers.dll" /> | 49 | <include name="../../../bin/OpenSim.Region.Capabilities.dll" /> |
53 | <include name="../../bin/OpenSim.Terrain.BasicTerrain.dll" /> | 50 | <include name="../../../bin/OpenSim.Region.Physics.Manager.dll" /> |
51 | <include name="../../../bin/OpenSim.Region.Terrain.BasicTerrain.dll" /> | ||
54 | <include name="System.dll" /> | 52 | <include name="System.dll" /> |
55 | <include name="System.Xml.dll" /> | 53 | <include name="System.Xml.dll" /> |
56 | <include name="VJSharpCodeProvider.dll" /> | 54 | <include name="../../../bin/XMLRPC.dll" /> |
57 | <include name="../../bin/XMLRPC.dll" /> | ||
58 | </references> | 55 | </references> |
59 | </csc> | 56 | </csc> |
60 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 57 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
61 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 58 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
62 | <copy todir="${project::get-base-directory()}/../../bin/"> | 59 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
63 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 60 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
64 | <include name="*.dll"/> | 61 | <include name="*.dll"/> |
65 | <include name="*.exe"/> | 62 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.Region/ParcelManager.cs b/OpenSim/Region/Environment/ParcelManager.cs index d15d77d..1cab4ab 100644 --- a/OpenSim/OpenSim.Region/ParcelManager.cs +++ b/OpenSim/Region/Environment/ParcelManager.cs | |||
@@ -32,10 +32,10 @@ using libsecondlife; | |||
32 | using libsecondlife.Packets; | 32 | using libsecondlife.Packets; |
33 | using OpenSim.Framework.Interfaces; | 33 | using OpenSim.Framework.Interfaces; |
34 | using OpenSim.Framework.Types; | 34 | using OpenSim.Framework.Types; |
35 | using OpenSim.Region.Scenes; | 35 | using OpenSim.Region.Environment.Scenes; |
36 | using Avatar = OpenSim.Region.Scenes.ScenePresence; | 36 | using Avatar = OpenSim.Region.Environment.Scenes.ScenePresence; |
37 | 37 | ||
38 | namespace OpenSim.Region | 38 | namespace OpenSim.Region.Environment |
39 | { | 39 | { |
40 | 40 | ||
41 | 41 | ||
@@ -420,7 +420,7 @@ namespace OpenSim.Region | |||
420 | { | 420 | { |
421 | for (y = 0; y < inc_y; y++) | 421 | for (y = 0; y < inc_y; y++) |
422 | { | 422 | { |
423 | OpenSim.Region.Parcel currentParcel = getParcel(start_x + x, start_y + y); | 423 | OpenSim.Region.Environment.Parcel currentParcel = getParcel(start_x + x, start_y + y); |
424 | if (!temp.Contains(currentParcel)) | 424 | if (!temp.Contains(currentParcel)) |
425 | { | 425 | { |
426 | currentParcel.forceUpdateParcelInfo(); | 426 | currentParcel.forceUpdateParcelInfo(); |
diff --git a/OpenSim/OpenSim.Region/RegionManager.cs b/OpenSim/Region/Environment/RegionManager.cs index a317f0f..4ff55a8 100644 --- a/OpenSim/OpenSim.Region/RegionManager.cs +++ b/OpenSim/Region/Environment/RegionManager.cs | |||
@@ -1,12 +1,13 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using OpenGrid.Framework.Communications; | 4 | using OpenSim.Framework.Communications; |
5 | using OpenSim.Framework; | 5 | using OpenSim.Framework; |
6 | using OpenSim.Framework.Types; | 6 | using OpenSim.Framework.Types; |
7 | using OpenSim.Servers; | 7 | using OpenSim.Framework.Servers; |
8 | using OpenSim.Region.Capabilities; | ||
8 | 9 | ||
9 | namespace OpenSim.Region | 10 | namespace OpenSim.Region.Environment |
10 | { | 11 | { |
11 | public class RegionManager //needs renaming , but first we need to rename the namespace | 12 | public class RegionManager //needs renaming , but first we need to rename the namespace |
12 | { | 13 | { |
diff --git a/OpenSim/OpenSim.Region/Scenes/Entity.cs b/OpenSim/Region/Environment/Scenes/Entity.cs index 77f8854..db5070d 100644 --- a/OpenSim/OpenSim.Region/Scenes/Entity.cs +++ b/OpenSim/Region/Environment/Scenes/Entity.cs | |||
@@ -32,7 +32,7 @@ using Axiom.MathLib; | |||
32 | using OpenSim.Physics.Manager; | 32 | using OpenSim.Physics.Manager; |
33 | using libsecondlife; | 33 | using libsecondlife; |
34 | 34 | ||
35 | namespace OpenSim.Region.Scenes | 35 | namespace OpenSim.Region.Environment.Scenes |
36 | { | 36 | { |
37 | public abstract class Entity | 37 | public abstract class Entity |
38 | { | 38 | { |
diff --git a/OpenSim/OpenSim.Region/Scenes/IScenePresenceBody.cs b/OpenSim/Region/Environment/Scenes/IScenePresenceBody.cs index 65077e6..36023d0 100644 --- a/OpenSim/OpenSim.Region/Scenes/IScenePresenceBody.cs +++ b/OpenSim/Region/Environment/Scenes/IScenePresenceBody.cs | |||
@@ -7,7 +7,7 @@ using OpenSim.Physics.Manager; | |||
7 | using OpenSim.Framework.Interfaces; | 7 | using OpenSim.Framework.Interfaces; |
8 | using OpenSim.Framework.Types; | 8 | using OpenSim.Framework.Types; |
9 | 9 | ||
10 | namespace OpenSim.Region.Scenes | 10 | namespace OpenSim.Region.Environment.Scenes |
11 | { | 11 | { |
12 | public interface IScenePresenceBody | 12 | public interface IScenePresenceBody |
13 | { | 13 | { |
diff --git a/OpenSim/OpenSim.Region/Scenes/Primitive.cs b/OpenSim/Region/Environment/Scenes/Primitive.cs index e04c711..0f649b2 100644 --- a/OpenSim/OpenSim.Region/Scenes/Primitive.cs +++ b/OpenSim/Region/Environment/Scenes/Primitive.cs | |||
@@ -36,7 +36,7 @@ using OpenSim.Physics.Manager; | |||
36 | using OpenSim.Framework.Types; | 36 | using OpenSim.Framework.Types; |
37 | using OpenSim.Framework.Inventory; | 37 | using OpenSim.Framework.Inventory; |
38 | 38 | ||
39 | namespace OpenSim.Region.Scenes | 39 | namespace OpenSim.Region.Environment.Scenes |
40 | { | 40 | { |
41 | public class Primitive : Entity | 41 | public class Primitive : Entity |
42 | { | 42 | { |
@@ -174,9 +174,9 @@ namespace OpenSim.Region.Scenes | |||
174 | dataArrays.Add(primData.ToBytes()); | 174 | dataArrays.Add(primData.ToBytes()); |
175 | foreach (Entity child in children) | 175 | foreach (Entity child in children) |
176 | { | 176 | { |
177 | if (child is OpenSim.Region.Scenes.Primitive) | 177 | if (child is OpenSim.Region.Environment.Scenes.Primitive) |
178 | { | 178 | { |
179 | dataArrays.Add(((OpenSim.Region.Scenes.Primitive)child).GetByteArray()); | 179 | dataArrays.Add(((OpenSim.Region.Environment.Scenes.Primitive)child).GetByteArray()); |
180 | } | 180 | } |
181 | } | 181 | } |
182 | byte[] primstart = Helpers.StringToField("<Prim>"); | 182 | byte[] primstart = Helpers.StringToField("<Prim>"); |
diff --git a/OpenSim/OpenSim.Region/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index d1a2717..1d55c4d 100644 --- a/OpenSim/OpenSim.Region/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -36,7 +36,7 @@ using OpenSim.Framework.Types; | |||
36 | using OpenSim.Framework.Inventory; | 36 | using OpenSim.Framework.Inventory; |
37 | using OpenSim.Framework.Utilities; | 37 | using OpenSim.Framework.Utilities; |
38 | 38 | ||
39 | namespace OpenSim.Region.Scenes | 39 | namespace OpenSim.Region.Environment.Scenes |
40 | { | 40 | { |
41 | public partial class Scene | 41 | public partial class Scene |
42 | { | 42 | { |
@@ -218,7 +218,7 @@ namespace OpenSim.Region.Scenes | |||
218 | { | 218 | { |
219 | if (ent.LocalId == primLocalID) | 219 | if (ent.LocalId == primLocalID) |
220 | { | 220 | { |
221 | ((OpenSim.Region.Scenes.Primitive)ent).GetProperites(remoteClient); | 221 | ((OpenSim.Region.Environment.Scenes.Primitive)ent).GetProperites(remoteClient); |
222 | break; | 222 | break; |
223 | } | 223 | } |
224 | } | 224 | } |
@@ -266,7 +266,7 @@ namespace OpenSim.Region.Scenes | |||
266 | { | 266 | { |
267 | if (ent.LocalId == localID) | 267 | if (ent.LocalId == localID) |
268 | { | 268 | { |
269 | ((OpenSim.Region.Scenes.Primitive)ent).UpdatePosition(pos); | 269 | ((OpenSim.Region.Environment.Scenes.Primitive)ent).UpdatePosition(pos); |
270 | break; | 270 | break; |
271 | } | 271 | } |
272 | } | 272 | } |
diff --git a/OpenSim/OpenSim.Region/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index f7d90fa..8c912d0 100644 --- a/OpenSim/OpenSim.Region/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -39,18 +39,20 @@ using OpenSim.Framework.Interfaces; | |||
39 | using OpenSim.Framework.Types; | 39 | using OpenSim.Framework.Types; |
40 | using OpenSim.Framework.Inventory; | 40 | using OpenSim.Framework.Inventory; |
41 | using OpenSim.Framework; | 41 | using OpenSim.Framework; |
42 | using OpenSim.Terrain; | 42 | using OpenSim.Region.Terrain; |
43 | using OpenGrid.Framework.Communications; | 43 | using OpenSim.Framework.Communications; |
44 | using OpenSim.Caches; | 44 | using OpenSim.Region.Caches; |
45 | using OpenSim.Region; | 45 | using OpenSim.Region.Environment; |
46 | using OpenSim.Servers; | 46 | using OpenSim.Framework.Servers; |
47 | using OpenSim.Scripting; | 47 | using OpenSim.Region.Enviorment.Scripting; |
48 | 48 | using OpenSim.Region.Capabilities; | |
49 | namespace OpenSim.Region.Scenes | 49 | using Caps = OpenSim.Region.Capabilities.Caps; |
50 | |||
51 | namespace OpenSim.Region.Environment.Scenes | ||
50 | { | 52 | { |
51 | public delegate bool FilterAvatarList(ScenePresence avatar); | 53 | public delegate bool FilterAvatarList(ScenePresence avatar); |
52 | 54 | ||
53 | public partial class Scene : SceneBase, ILocalStorageReceiver, IScriptAPI | 55 | public partial class Scene : SceneBase, ILocalStorageReceiver |
54 | { | 56 | { |
55 | protected System.Timers.Timer m_heartbeatTimer = new System.Timers.Timer(); | 57 | protected System.Timers.Timer m_heartbeatTimer = new System.Timers.Timer(); |
56 | protected Dictionary<libsecondlife.LLUUID, ScenePresence> Avatars; | 58 | protected Dictionary<libsecondlife.LLUUID, ScenePresence> Avatars; |
@@ -66,7 +68,7 @@ namespace OpenSim.Region.Scenes | |||
66 | protected RegionCommsListener regionCommsHost; | 68 | protected RegionCommsListener regionCommsHost; |
67 | protected CommunicationsManager commsManager; | 69 | protected CommunicationsManager commsManager; |
68 | 70 | ||
69 | protected Dictionary<LLUUID, Caps> capsHandlers = new Dictionary<LLUUID, Caps>(); | 71 | protected Dictionary<LLUUID,Caps> capsHandlers = new Dictionary<LLUUID, Caps>(); |
70 | protected BaseHttpServer httpListener; | 72 | protected BaseHttpServer httpListener; |
71 | 73 | ||
72 | public ParcelManager parcelManager; | 74 | public ParcelManager parcelManager; |
@@ -503,6 +505,7 @@ namespace OpenSim.Region.Scenes | |||
503 | remoteClient.OnTeleportLocationRequest += this.RequestTeleportLocation; | 505 | remoteClient.OnTeleportLocationRequest += this.RequestTeleportLocation; |
504 | //remoteClient.OnObjectSelect += this.SelectPrim; | 506 | //remoteClient.OnObjectSelect += this.SelectPrim; |
505 | remoteClient.OnGrapUpdate += this.MoveObject; | 507 | remoteClient.OnGrapUpdate += this.MoveObject; |
508 | remoteClient.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest; | ||
506 | 509 | ||
507 | /* remoteClient.OnParcelPropertiesRequest += new ParcelPropertiesRequest(parcelManager.handleParcelPropertiesRequest); | 510 | /* remoteClient.OnParcelPropertiesRequest += new ParcelPropertiesRequest(parcelManager.handleParcelPropertiesRequest); |
508 | remoteClient.OnParcelDivideRequest += new ParcelDivideRequest(parcelManager.handleParcelDivideRequest); | 511 | remoteClient.OnParcelDivideRequest += new ParcelDivideRequest(parcelManager.handleParcelDivideRequest); |
@@ -510,7 +513,7 @@ namespace OpenSim.Region.Scenes | |||
510 | remoteClient.OnParcelPropertiesUpdateRequest += new ParcelPropertiesUpdateRequest(parcelManager.handleParcelPropertiesUpdateRequest); | 513 | remoteClient.OnParcelPropertiesUpdateRequest += new ParcelPropertiesUpdateRequest(parcelManager.handleParcelPropertiesUpdateRequest); |
511 | remoteClient.OnEstateOwnerMessage += new EstateOwnerMessageRequest(estateManager.handleEstateOwnerMessage); | 514 | remoteClient.OnEstateOwnerMessage += new EstateOwnerMessageRequest(estateManager.handleEstateOwnerMessage); |
512 | */ | 515 | */ |
513 | 516 | ||
514 | ScenePresence newAvatar = null; | 517 | ScenePresence newAvatar = null; |
515 | try | 518 | try |
516 | { | 519 | { |
diff --git a/OpenSim/OpenSim.Region/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs index 5275fcf..50d3b82 100644 --- a/OpenSim/OpenSim.Region/Scenes/SceneBase.cs +++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs | |||
@@ -37,10 +37,10 @@ using OpenSim.Physics.Manager; | |||
37 | using OpenSim.Framework.Interfaces; | 37 | using OpenSim.Framework.Interfaces; |
38 | using OpenSim.Framework.Types; | 38 | using OpenSim.Framework.Types; |
39 | using OpenSim.Framework.Inventory; | 39 | using OpenSim.Framework.Inventory; |
40 | using OpenSim.Terrain; | 40 | using OpenSim.Region.Terrain; |
41 | using OpenSim.Caches; | 41 | using OpenSim.Region.Caches; |
42 | 42 | ||
43 | namespace OpenSim.Region.Scenes | 43 | namespace OpenSim.Region.Environment.Scenes |
44 | { | 44 | { |
45 | public abstract class SceneBase : IWorld | 45 | public abstract class SceneBase : IWorld |
46 | { | 46 | { |
diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs new file mode 100644 index 0000000..fa1bacb --- /dev/null +++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs | |||
@@ -0,0 +1,52 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Region.Environment.Scenes | ||
6 | { | ||
7 | /// <summary> | ||
8 | /// A class for triggering remote scene events. | ||
9 | /// </summary> | ||
10 | public class EventManager | ||
11 | { | ||
12 | public delegate void OnFrameDelegate(); | ||
13 | public event OnFrameDelegate OnFrame; | ||
14 | |||
15 | public delegate void OnNewPresenceDelegate(ScenePresence presence); | ||
16 | public event OnNewPresenceDelegate OnNewPresence; | ||
17 | |||
18 | public delegate void OnNewPrimitiveDelegate(Primitive prim); | ||
19 | public event OnNewPrimitiveDelegate OnNewPrimitive; | ||
20 | |||
21 | public delegate void OnRemovePresenceDelegate(libsecondlife.LLUUID uuid); | ||
22 | public event OnRemovePresenceDelegate OnRemovePresence; | ||
23 | |||
24 | public void TriggerOnFrame() | ||
25 | { | ||
26 | if (OnFrame != null) | ||
27 | { | ||
28 | OnFrame(); | ||
29 | } | ||
30 | } | ||
31 | |||
32 | public void TriggerOnNewPrimitive(Primitive prim) | ||
33 | { | ||
34 | if (OnNewPrimitive != null) | ||
35 | OnNewPrimitive(prim); | ||
36 | } | ||
37 | |||
38 | public void TriggerOnNewPresence(ScenePresence presence) | ||
39 | { | ||
40 | if (OnNewPresence != null) | ||
41 | OnNewPresence(presence); | ||
42 | } | ||
43 | |||
44 | public void TriggerOnRemovePresence(libsecondlife.LLUUID uuid) | ||
45 | { | ||
46 | if (OnRemovePresence != null) | ||
47 | { | ||
48 | OnRemovePresence(uuid); | ||
49 | } | ||
50 | } | ||
51 | } | ||
52 | } | ||
diff --git a/OpenSim/OpenSim.Region/Scenes/SceneObject.cs b/OpenSim/Region/Environment/Scenes/SceneObject.cs index 5df87bf..88fb160 100644 --- a/OpenSim/OpenSim.Region/Scenes/SceneObject.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObject.cs | |||
@@ -35,7 +35,7 @@ using OpenSim.Physics.Manager; | |||
35 | using OpenSim.Framework.Types; | 35 | using OpenSim.Framework.Types; |
36 | using OpenSim.Framework.Inventory; | 36 | using OpenSim.Framework.Inventory; |
37 | 37 | ||
38 | namespace OpenSim.Region.Scenes | 38 | namespace OpenSim.Region.Environment.Scenes |
39 | { | 39 | { |
40 | public class SceneObject : Entity | 40 | public class SceneObject : Entity |
41 | { | 41 | { |
diff --git a/OpenSim/OpenSim.Region/Scenes/ScenePresence.Animations.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs index f0a8721..2caabc2 100644 --- a/OpenSim/OpenSim.Region/Scenes/ScenePresence.Animations.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs | |||
@@ -31,7 +31,7 @@ using System.Text; | |||
31 | using libsecondlife; | 31 | using libsecondlife; |
32 | using System.Xml; | 32 | using System.Xml; |
33 | 33 | ||
34 | namespace OpenSim.Region.Scenes | 34 | namespace OpenSim.Region.Environment.Scenes |
35 | { | 35 | { |
36 | partial class ScenePresence | 36 | partial class ScenePresence |
37 | { | 37 | { |
@@ -66,7 +66,7 @@ namespace OpenSim.Region.Scenes | |||
66 | 66 | ||
67 | // OpenSim.Framework.Console.MainLog.Instance.Verbose("Loaded " + AnimsLLUUID.Count.ToString() + " animation(s)"); | 67 | // OpenSim.Framework.Console.MainLog.Instance.Verbose("Loaded " + AnimsLLUUID.Count.ToString() + " animation(s)"); |
68 | 68 | ||
69 | foreach (KeyValuePair<string, LLUUID> kp in OpenSim.Region.Scenes.ScenePresence.Animations.AnimsLLUUID) | 69 | foreach (KeyValuePair<string, LLUUID> kp in OpenSim.Region.Environment.Scenes.ScenePresence.Animations.AnimsLLUUID) |
70 | { | 70 | { |
71 | AnimsNames.Add(kp.Value, kp.Key); | 71 | AnimsNames.Add(kp.Value, kp.Key); |
72 | } | 72 | } |
diff --git a/OpenSim/OpenSim.Region/Scenes/ScenePresence.Body.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.Body.cs index d21b11f..2c81d2a 100644 --- a/OpenSim/OpenSim.Region/Scenes/ScenePresence.Body.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.Body.cs | |||
@@ -34,7 +34,7 @@ using OpenSim.Physics.Manager; | |||
34 | using OpenSim.Framework.Interfaces; | 34 | using OpenSim.Framework.Interfaces; |
35 | using OpenSim.Framework.Types; | 35 | using OpenSim.Framework.Types; |
36 | 36 | ||
37 | namespace OpenSim.Region.Scenes | 37 | namespace OpenSim.Region.Environment.Scenes |
38 | { | 38 | { |
39 | partial class ScenePresence | 39 | partial class ScenePresence |
40 | { | 40 | { |
diff --git a/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 45d3fed..b90004e 100644 --- a/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -37,7 +37,7 @@ using OpenSim.Framework.Interfaces; | |||
37 | using OpenSim.Framework.Types; | 37 | using OpenSim.Framework.Types; |
38 | using Axiom.MathLib; | 38 | using Axiom.MathLib; |
39 | 39 | ||
40 | namespace OpenSim.Region.Scenes | 40 | namespace OpenSim.Region.Environment.Scenes |
41 | { | 41 | { |
42 | public partial class ScenePresence : Entity | 42 | public partial class ScenePresence : Entity |
43 | { | 43 | { |
@@ -66,6 +66,17 @@ namespace OpenSim.Region.Scenes | |||
66 | 66 | ||
67 | protected RegionInfo m_regionInfo; | 67 | protected RegionInfo m_regionInfo; |
68 | 68 | ||
69 | private Vector3[] Dir_Vectors = new Vector3[6]; | ||
70 | private enum Dir_ControlFlags | ||
71 | { | ||
72 | DIR_CONTROL_FLAG_FOWARD = MainAvatar.ControlFlags.AGENT_CONTROL_AT_POS, | ||
73 | DIR_CONTROL_FLAG_BACK = MainAvatar.ControlFlags.AGENT_CONTROL_AT_NEG, | ||
74 | DIR_CONTROL_FLAG_LEFT = MainAvatar.ControlFlags.AGENT_CONTROL_LEFT_POS, | ||
75 | DIR_CONTROL_FLAG_RIGHT = MainAvatar.ControlFlags.AGENT_CONTROL_LEFT_NEG, | ||
76 | DIR_CONTROL_FLAG_UP = MainAvatar.ControlFlags.AGENT_CONTROL_UP_POS, | ||
77 | DIR_CONTROL_FLAG_DOWN = MainAvatar.ControlFlags.AGENT_CONTROL_UP_NEG | ||
78 | } | ||
79 | |||
69 | #region Properties | 80 | #region Properties |
70 | /// <summary> | 81 | /// <summary> |
71 | /// | 82 | /// |
@@ -125,6 +136,13 @@ namespace OpenSim.Region.Scenes | |||
125 | // ControllingClient.OnChildAgentStatus += new StatusChange(this.ChildStatusChange); | 136 | // ControllingClient.OnChildAgentStatus += new StatusChange(this.ChildStatusChange); |
126 | //ControllingClient.OnStopMovement += new GenericCall2(this.StopMovement); | 137 | //ControllingClient.OnStopMovement += new GenericCall2(this.StopMovement); |
127 | 138 | ||
139 | Dir_Vectors[0] = new Vector3(1, 0, 0); //FOWARD | ||
140 | Dir_Vectors[1] = new Vector3(-1, 0, 0); //BACK | ||
141 | Dir_Vectors[2] = new Vector3(0, 1, 0); //LEFT | ||
142 | Dir_Vectors[3] = new Vector3(0, -1, 0); //RIGHT | ||
143 | Dir_Vectors[4] = new Vector3(0, 0, 1); //UP | ||
144 | Dir_Vectors[5] = new Vector3(0, 0, -1); //DOWN | ||
145 | |||
128 | } | 146 | } |
129 | #endregion | 147 | #endregion |
130 | 148 | ||
@@ -216,40 +234,46 @@ namespace OpenSim.Region.Scenes | |||
216 | /// </summary> | 234 | /// </summary> |
217 | /// <param name="pack"></param> | 235 | /// <param name="pack"></param> |
218 | public void HandleAgentUpdate(IClientAPI remoteClient, uint flags, LLQuaternion bodyRotation) | 236 | public void HandleAgentUpdate(IClientAPI remoteClient, uint flags, LLQuaternion bodyRotation) |
219 | { | 237 | { |
220 | if ((flags & (uint)MainAvatar.ControlFlags.AGENT_CONTROL_AT_POS) != 0) | 238 | int i = 0; |
239 | bool update_movementflag = false; | ||
240 | bool update_rotation = false; | ||
241 | bool DCFlagKeyPressed = false; | ||
242 | Vector3 agent_control_v3 = new Vector3(0, 0, 0); | ||
243 | Axiom.MathLib.Quaternion q = new Axiom.MathLib.Quaternion(bodyRotation.W, bodyRotation.X, bodyRotation.Y, bodyRotation.Z); | ||
244 | |||
245 | this.PhysActor.Flying = ((flags & (uint)MainAvatar.ControlFlags.AGENT_CONTROL_FLY) != 0); | ||
246 | |||
247 | if (q != this.bodyRot) | ||
221 | { | 248 | { |
222 | Axiom.MathLib.Quaternion q = new Axiom.MathLib.Quaternion(bodyRotation.W, bodyRotation.X, bodyRotation.Y, bodyRotation.Z); | 249 | this.bodyRot = q; |
223 | if (((movementflag & 1) == 0) || (q != this.bodyRot)) | 250 | update_rotation = true; |
224 | { | ||
225 | Axiom.MathLib.Vector3 v3 = new Axiom.MathLib.Vector3(1, 0, 0); | ||
226 | this.AddNewMovement(v3, q); | ||
227 | movementflag = 1; | ||
228 | this.bodyRot = q; | ||
229 | } | ||
230 | } | 251 | } |
231 | else if ((flags & (uint)MainAvatar.ControlFlags.AGENT_CONTROL_AT_NEG) != 0) | 252 | foreach (Dir_ControlFlags DCF in Enum.GetValues(typeof(Dir_ControlFlags))) |
232 | { | 253 | { |
233 | Axiom.MathLib.Quaternion q = new Axiom.MathLib.Quaternion(bodyRotation.W, bodyRotation.X, bodyRotation.Y, bodyRotation.Z); | 254 | if ((flags & (uint)DCF) != 0) |
234 | if (((movementflag & 2) == 0) || (q != this.bodyRot)) | 255 | { |
235 | { | 256 | DCFlagKeyPressed = true; |
236 | Axiom.MathLib.Vector3 v3 = new Axiom.MathLib.Vector3(-1, 0, 0); | 257 | agent_control_v3 += Dir_Vectors[i]; |
237 | this.AddNewMovement(v3, q); | 258 | if ((movementflag & (uint)DCF) == 0) |
238 | movementflag = 2; | 259 | { |
239 | this.bodyRot = q; | 260 | movementflag += (byte)(uint)DCF; |
261 | update_movementflag = true; | ||
262 | } | ||
240 | } | 263 | } |
241 | } | 264 | else |
242 | else | ||
243 | { | ||
244 | if ((movementflag) != 0) | ||
245 | { | 265 | { |
246 | NewForce newVelocity = new NewForce(); | 266 | if ((movementflag & (uint)DCF) != 0) |
247 | newVelocity.X = 0; | 267 | { |
248 | newVelocity.Y = 0; | 268 | movementflag -= (byte)(uint)DCF; |
249 | newVelocity.Z = 0; | 269 | update_movementflag = true; |
250 | this.forcesList.Add(newVelocity); | 270 | } |
251 | movementflag = 0; | ||
252 | } | 271 | } |
272 | i++; | ||
273 | } | ||
274 | if ((update_movementflag) || (update_rotation && DCFlagKeyPressed)) | ||
275 | { | ||
276 | this.AddNewMovement(agent_control_v3, q); | ||
253 | } | 277 | } |
254 | 278 | ||
255 | } | 279 | } |
diff --git a/OpenSim/OpenSim.Region/Scenes/scripting/Engines/CSharpScriptEngine.cs b/OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpScriptEngine.cs index 870303f..a232b65 100644 --- a/OpenSim/OpenSim.Region/Scenes/scripting/Engines/CSharpScriptEngine.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpScriptEngine.cs | |||
@@ -34,7 +34,7 @@ using System.CodeDom; | |||
34 | using System.CodeDom.Compiler; | 34 | using System.CodeDom.Compiler; |
35 | using Microsoft.CSharp; | 35 | using Microsoft.CSharp; |
36 | 36 | ||
37 | namespace OpenSim.Scripting | 37 | namespace OpenSim.Region.Enviorment.Scripting |
38 | { | 38 | { |
39 | public class CSharpScriptEngine : IScriptCompiler | 39 | public class CSharpScriptEngine : IScriptCompiler |
40 | { | 40 | { |
diff --git a/OpenSim/OpenSim.Region/Scenes/scripting/Engines/JScriptEngine.cs b/OpenSim/Region/Environment/Scenes/scripting/Engines/JScriptEngine.cs index ffae1d7..2d44223 100644 --- a/OpenSim/OpenSim.Region/Scenes/scripting/Engines/JScriptEngine.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/Engines/JScriptEngine.cs | |||
@@ -34,7 +34,7 @@ using System.CodeDom; | |||
34 | using System.CodeDom.Compiler; | 34 | using System.CodeDom.Compiler; |
35 | using Microsoft.JScript; | 35 | using Microsoft.JScript; |
36 | 36 | ||
37 | namespace OpenSim.Scripting | 37 | namespace OpenSim.Region.Enviorment.Scripting |
38 | { | 38 | { |
39 | public class JScriptEngine : IScriptCompiler | 39 | public class JScriptEngine : IScriptCompiler |
40 | { | 40 | { |
diff --git a/OpenSim/OpenSim.Region/Scenes/scripting/Script.cs b/OpenSim/Region/Environment/Scenes/scripting/Script.cs index 56bd1db..1e64675 100644 --- a/OpenSim/OpenSim.Region/Scenes/scripting/Script.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/Script.cs | |||
@@ -31,10 +31,10 @@ using System.Text; | |||
31 | 31 | ||
32 | using OpenSim.Framework.Console; | 32 | using OpenSim.Framework.Console; |
33 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
34 | using OpenSim.Region; | 34 | using OpenSim.Region.Environment; |
35 | using OpenSim.Region.Scenes; | 35 | using OpenSim.Region.Environment.Scenes; |
36 | 36 | ||
37 | namespace OpenSim.Scripting | 37 | namespace OpenSim.Region.Enviorment.Scripting |
38 | { | 38 | { |
39 | public interface IScript | 39 | public interface IScript |
40 | { | 40 | { |
@@ -54,7 +54,7 @@ namespace OpenSim.Scripting | |||
54 | public void Initialise(ScriptInfo scriptInfo) | 54 | public void Initialise(ScriptInfo scriptInfo) |
55 | { | 55 | { |
56 | script = scriptInfo; | 56 | script = scriptInfo; |
57 | script.events.OnFrame += new OpenSim.Region.Scenes.EventManager.OnFrameDelegate(events_OnFrame); | 57 | script.events.OnFrame += new OpenSim.Region.Environment.Scenes.EventManager.OnFrameDelegate(events_OnFrame); |
58 | script.events.OnNewPresence += new EventManager.OnNewPresenceDelegate(events_OnNewPresence); | 58 | script.events.OnNewPresence += new EventManager.OnNewPresenceDelegate(events_OnNewPresence); |
59 | } | 59 | } |
60 | 60 | ||
diff --git a/OpenSim/OpenSim.Region/Scenes/scripting/ScriptInfo.cs b/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs index cf627dd..522a572 100644 --- a/OpenSim/OpenSim.Region/Scenes/scripting/ScriptInfo.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs | |||
@@ -29,10 +29,10 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | using OpenSim.Region.Scenes; | 32 | using OpenSim.Region.Environment.Scenes; |
33 | using OpenSim.Framework.Console; | 33 | using OpenSim.Framework.Console; |
34 | 34 | ||
35 | namespace OpenSim.Scripting | 35 | namespace OpenSim.Region.Enviorment.Scripting |
36 | { | 36 | { |
37 | /// <summary> | 37 | /// <summary> |
38 | /// Class which provides access to the world | 38 | /// Class which provides access to the world |
diff --git a/OpenSim/OpenSim.Region/Scenes/scripting/ScriptManager.cs b/OpenSim/Region/Environment/Scenes/scripting/ScriptManager.cs index abffffa..eb1c1d9 100644 --- a/OpenSim/OpenSim.Region/Scenes/scripting/ScriptManager.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/ScriptManager.cs | |||
@@ -29,12 +29,12 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | namespace OpenSim.Scripting | 32 | namespace OpenSim.Region.Enviorment.Scripting |
33 | { | 33 | { |
34 | public class ScriptManager | 34 | public class ScriptManager |
35 | { | 35 | { |
36 | List<IScript> scripts = new List<IScript>(); | 36 | List<IScript> scripts = new List<IScript>(); |
37 | OpenSim.Region.Scenes.Scene scene; | 37 | OpenSim.Region.Environment.Scenes.Scene scene; |
38 | Dictionary<string, IScriptCompiler> compilers = new Dictionary<string, IScriptCompiler>(); | 38 | Dictionary<string, IScriptCompiler> compilers = new Dictionary<string, IScriptCompiler>(); |
39 | 39 | ||
40 | private void LoadFromCompiler(Dictionary<string, IScript> compiledscripts) | 40 | private void LoadFromCompiler(Dictionary<string, IScript> compiledscripts) |
@@ -49,7 +49,7 @@ namespace OpenSim.Scripting | |||
49 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Finished loading " + compiledscripts.Count.ToString() + " script(s)"); | 49 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Finished loading " + compiledscripts.Count.ToString() + " script(s)"); |
50 | } | 50 | } |
51 | 51 | ||
52 | public ScriptManager(OpenSim.Region.Scenes.Scene world) | 52 | public ScriptManager(OpenSim.Region.Environment.Scenes.Scene world) |
53 | { | 53 | { |
54 | scene = world; | 54 | scene = world; |
55 | 55 | ||
@@ -59,9 +59,6 @@ namespace OpenSim.Scripting | |||
59 | 59 | ||
60 | JScriptEngine jscriptCompiler = new JScriptEngine(); | 60 | JScriptEngine jscriptCompiler = new JScriptEngine(); |
61 | compilers.Add(jscriptCompiler.FileExt(), jscriptCompiler); | 61 | compilers.Add(jscriptCompiler.FileExt(), jscriptCompiler); |
62 | |||
63 | JSharpScriptEngine jsharpCompiler = new JSharpScriptEngine(); | ||
64 | compilers.Add(jsharpCompiler.FileExt(), jsharpCompiler); | ||
65 | } | 62 | } |
66 | 63 | ||
67 | public void Compile(string filename) | 64 | public void Compile(string filename) |
diff --git a/OpenSim/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index 01e0c59..89f39d3 100644 --- a/OpenSim/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs | |||
@@ -5,20 +5,20 @@ using OpenSim.Framework.Interfaces; | |||
5 | using OpenSim.Framework.Types; | 5 | using OpenSim.Framework.Types; |
6 | using OpenSim.Framework.Console; | 6 | using OpenSim.Framework.Console; |
7 | using libsecondlife; | 7 | using libsecondlife; |
8 | using OpenSim.Region; | 8 | using OpenSim.Region.Environment; |
9 | using Avatar=OpenSim.Region.Scenes.ScenePresence; | 9 | using Avatar=OpenSim.Region.Environment.Scenes.ScenePresence; |
10 | using OpenSim.Region.Scenes; | 10 | using OpenSim.Region.Environment.Scenes; |
11 | using OpenSim.Framework; | 11 | using OpenSim.Framework; |
12 | using OpenSim.Caches; | 12 | using OpenSim.Region.Caches; |
13 | using OpenGrid.Framework.Communications; | 13 | using OpenSim.Framework.Communications; |
14 | using OpenSim.Servers; | 14 | using OpenSim.Framework.Servers; |
15 | 15 | ||
16 | namespace SimpleApp | 16 | namespace SimpleApp |
17 | { | 17 | { |
18 | public class MyWorld : Scene | 18 | public class MyWorld : Scene |
19 | { | 19 | { |
20 | private RegionInfo m_regionInfo; | 20 | private RegionInfo m_regionInfo; |
21 | private List<OpenSim.Region.Scenes.ScenePresence> m_avatars; | 21 | private List<OpenSim.Region.Environment.Scenes.ScenePresence> m_avatars; |
22 | 22 | ||
23 | public MyWorld(Dictionary<uint, IClientAPI> clientThreads, RegionInfo regionInfo, AuthenticateSessionsBase authen, CommunicationsManager commsMan, AssetCache assetCach, BaseHttpServer httpServer) | 23 | public MyWorld(Dictionary<uint, IClientAPI> clientThreads, RegionInfo regionInfo, AuthenticateSessionsBase authen, CommunicationsManager commsMan, AssetCache assetCach, BaseHttpServer httpServer) |
24 | : base(clientThreads, regionInfo, authen, commsMan, assetCach, httpServer) | 24 | : base(clientThreads, regionInfo, authen, commsMan, assetCach, httpServer) |
@@ -76,7 +76,7 @@ namespace SimpleApp | |||
76 | 76 | ||
77 | client.SendRegionHandshake(m_regionInfo); | 77 | client.SendRegionHandshake(m_regionInfo); |
78 | 78 | ||
79 | OpenSim.Region.Scenes.ScenePresence avatar = new Avatar( client, this, m_regionInfo ); | 79 | OpenSim.Region.Environment.Scenes.ScenePresence avatar = new Avatar( client, this, m_regionInfo ); |
80 | 80 | ||
81 | } | 81 | } |
82 | 82 | ||
diff --git a/OpenSim/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index e1465d1..4060d68 100644 --- a/OpenSim/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -2,17 +2,18 @@ using System; | |||
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using OpenSim; | 4 | using OpenSim; |
5 | using OpenSim.GridInterfaces.Local; | 5 | using OpenSim.Region.GridInterfaces.Local; |
6 | using OpenSim.Framework.Interfaces; | 6 | using OpenSim.Framework.Interfaces; |
7 | using OpenSim.Framework.Types; | 7 | using OpenSim.Framework.Types; |
8 | using OpenSim.Framework.Console; | 8 | using OpenSim.Framework.Console; |
9 | using OpenSim.Framework.Servers; | ||
9 | using OpenSim.Assets; | 10 | using OpenSim.Assets; |
10 | using libsecondlife; | 11 | using libsecondlife; |
11 | using OpenSim.Servers; | ||
12 | using OpenSim.Framework; | 12 | using OpenSim.Framework; |
13 | using OpenSim.Caches; | 13 | using OpenSim.Region.Caches; |
14 | using OpenGrid.Framework.Communications; | 14 | using OpenSim.Framework.Communications; |
15 | using OpenSim.LocalCommunications; | 15 | using OpenSim.Region.Communications.Local; |
16 | using OpenSim.Region.ClientStack; | ||
16 | 17 | ||
17 | namespace SimpleApp | 18 | namespace SimpleApp |
18 | { | 19 | { |
diff --git a/OpenSim/Examples/SimpleApp/Properties/AssemblyInfo.cs b/OpenSim/Region/Examples/SimpleApp/Properties/AssemblyInfo.cs index 0f9bf0f..0f9bf0f 100644 --- a/OpenSim/Examples/SimpleApp/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/Examples/SimpleApp/Properties/AssemblyInfo.cs | |||
diff --git a/OpenSim/Examples/SimpleApp/SimpleApp.csproj b/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj index 00af44a..0a82172 100644 --- a/OpenSim/Examples/SimpleApp/SimpleApp.csproj +++ b/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj | |||
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libsecondlife.dll" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
@@ -67,72 +67,70 @@ | |||
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="System.Data.dll" > | 69 | <Reference Include="System.Data.dll" > |
70 | <HintPath>..\..\..\bin\System.Data.dll</HintPath> | 70 | <HintPath>..\..\..\..\bin\System.Data.dll</HintPath> |
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="System.Xml" > | 73 | <Reference Include="System.Xml" > |
74 | <HintPath>System.Xml.dll</HintPath> | 74 | <HintPath>System.Xml.dll</HintPath> |
75 | <Private>False</Private> | 75 | <Private>False</Private> |
76 | </Reference> | 76 | </Reference> |
77 | <Reference Include="XMLRPC.dll" > | ||
78 | <HintPath>..\..\..\..\bin\XMLRPC.dll</HintPath> | ||
79 | <Private>False</Private> | ||
80 | </Reference> | ||
77 | </ItemGroup> | 81 | </ItemGroup> |
78 | <ItemGroup> | 82 | <ItemGroup> |
79 | <ProjectReference Include="..\..\..\Common\OpenGrid.Framework.Communications\OpenGrid.Framework.Communications.csproj"> | 83 | <ProjectReference Include="..\..\..\Framework\General\OpenSim.Framework.csproj"> |
80 | <Name>OpenGrid.Framework.Communications</Name> | 84 | <Name>OpenSim.Framework</Name> |
81 | <Project>{683344D5-0000-0000-0000-000000000000}</Project> | 85 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
82 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
83 | <Private>False</Private> | ||
84 | </ProjectReference> | ||
85 | <ProjectReference Include="..\..\OpenSim.Caches\OpenSim.Caches.csproj"> | ||
86 | <Name>OpenSim.Caches</Name> | ||
87 | <Project>{1938EB12-0000-0000-0000-000000000000}</Project> | ||
88 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
89 | <Private>False</Private> | 87 | <Private>False</Private> |
90 | </ProjectReference> | 88 | </ProjectReference> |
91 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 89 | <ProjectReference Include="..\..\..\Framework\Communications\OpenSim.Framework.Communications.csproj"> |
92 | <Name>OpenSim.Framework</Name> | 90 | <Name>OpenSim.Framework.Communications</Name> |
93 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 91 | <Project>{CB52B7E7-0000-0000-0000-000000000000}</Project> |
94 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 92 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
95 | <Private>False</Private> | 93 | <Private>False</Private> |
96 | </ProjectReference> | 94 | </ProjectReference> |
97 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 95 | <ProjectReference Include="..\..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
98 | <Name>OpenSim.Framework.Console</Name> | 96 | <Name>OpenSim.Framework.Console</Name> |
99 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 97 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
100 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 98 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
101 | <Private>False</Private> | 99 | <Private>False</Private> |
102 | </ProjectReference> | 100 | </ProjectReference> |
103 | <ProjectReference Include="..\..\OpenSim.GridInterfaces\Local\OpenSim.GridInterfaces.Local.csproj"> | 101 | <ProjectReference Include="..\..\..\Framework\Servers\OpenSim.Framework.Servers.csproj"> |
104 | <Name>OpenSim.GridInterfaces.Local</Name> | 102 | <Name>OpenSim.Framework.Servers</Name> |
105 | <Project>{546099CD-0000-0000-0000-000000000000}</Project> | 103 | <Project>{2CC71860-0000-0000-0000-000000000000}</Project> |
106 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 104 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
107 | <Private>False</Private> | 105 | <Private>False</Private> |
108 | </ProjectReference> | 106 | </ProjectReference> |
109 | <ProjectReference Include="..\..\OpenSim.LocalCommunications\OpenSim.LocalCommunications.csproj"> | 107 | <ProjectReference Include="..\..\Caches\OpenSim.Region.Caches.csproj"> |
110 | <Name>OpenSim.LocalCommunications</Name> | 108 | <Name>OpenSim.Region.Caches</Name> |
111 | <Project>{79CED992-0000-0000-0000-000000000000}</Project> | 109 | <Project>{61FCCDB3-0000-0000-0000-000000000000}</Project> |
112 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 110 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
113 | <Private>False</Private> | 111 | <Private>False</Private> |
114 | </ProjectReference> | 112 | </ProjectReference> |
115 | <ProjectReference Include="..\..\OpenSim.Region\OpenSim.Region.csproj"> | 113 | <ProjectReference Include="..\..\ClientStack\OpenSim.Region.ClientStack.csproj"> |
116 | <Name>OpenSim.Region</Name> | 114 | <Name>OpenSim.Region.ClientStack</Name> |
117 | <Project>{196916AF-0000-0000-0000-000000000000}</Project> | 115 | <Project>{DC3698B2-0000-0000-0000-000000000000}</Project> |
118 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 116 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
119 | <Private>False</Private> | 117 | <Private>False</Private> |
120 | </ProjectReference> | 118 | </ProjectReference> |
121 | <ProjectReference Include="..\..\OpenSim.RegionServer\OpenSim.RegionServer.csproj"> | 119 | <ProjectReference Include="..\..\Communications\Local\OpenSim.Region.Communications.Local.csproj"> |
122 | <Name>OpenSim.RegionServer</Name> | 120 | <Name>OpenSim.Region.Communications.Local</Name> |
123 | <Project>{632E1BFD-0000-0000-0000-000000000000}</Project> | 121 | <Project>{BFB5D807-0000-0000-0000-000000000000}</Project> |
124 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 122 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
125 | <Private>False</Private> | 123 | <Private>False</Private> |
126 | </ProjectReference> | 124 | </ProjectReference> |
127 | <ProjectReference Include="..\..\..\Common\OpenSim.Servers\OpenSim.Servers.csproj"> | 125 | <ProjectReference Include="..\..\Environment\OpenSim.Region.Environment.csproj"> |
128 | <Name>OpenSim.Servers</Name> | 126 | <Name>OpenSim.Region.Environment</Name> |
129 | <Project>{8BB20F0A-0000-0000-0000-000000000000}</Project> | 127 | <Project>{DCBA491C-0000-0000-0000-000000000000}</Project> |
130 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 128 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
131 | <Private>False</Private> | 129 | <Private>False</Private> |
132 | </ProjectReference> | 130 | </ProjectReference> |
133 | <ProjectReference Include="..\..\..\Common\XmlRpcCS\XMLRPC.csproj"> | 131 | <ProjectReference Include="..\..\GridInterfaces\Local\OpenSim.Region.GridInterfaces.Local.csproj"> |
134 | <Name>XMLRPC</Name> | 132 | <Name>OpenSim.Region.GridInterfaces.Local</Name> |
135 | <Project>{8E81D43C-0000-0000-0000-000000000000}</Project> | 133 | <Project>{241A8CDD-0000-0000-0000-000000000000}</Project> |
136 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 134 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
137 | <Private>False</Private> | 135 | <Private>False</Private> |
138 | </ProjectReference> | 136 | </ProjectReference> |
diff --git a/OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build b/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build index 60c0f85..f8896fa 100644 --- a/OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build +++ b/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenGridServices.GridServer" default="build"> | 2 | <project name="SimpleApp" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,11 +8,11 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> | 10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> |
11 | <resources prefix="OpenGridServices.GridServer" dynamicprefix="true" > | 11 | <resources prefix="SimpleApp" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="GridManager.cs" /> | 14 | <include name="MyWorld.cs" /> |
15 | <include name="Main.cs" /> | 15 | <include name="Program.cs" /> |
16 | <include name="Properties/AssemblyInfo.cs" /> | 16 | <include name="Properties/AssemblyInfo.cs" /> |
17 | </sources> | 17 | </sources> |
18 | <references basedir="${project::get-base-directory()}"> | 18 | <references basedir="${project::get-base-directory()}"> |
@@ -20,23 +20,25 @@ | |||
20 | <include name="${project::get-base-directory()}" /> | 20 | <include name="${project::get-base-directory()}" /> |
21 | <include name="${project::get-base-directory()}/${build.dir}" /> | 21 | <include name="${project::get-base-directory()}/${build.dir}" /> |
22 | </lib> | 22 | </lib> |
23 | <include name="../../bin/Db4objects.Db4o.dll" /> | 23 | <include name="../../../../bin/libsecondlife.dll" /> |
24 | <include name="../../bin/libsecondlife.dll" /> | 24 | <include name="../../../../bin/OpenSim.Framework.dll" /> |
25 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | 25 | <include name="../../../../bin/OpenSim.Framework.Communications.dll" /> |
26 | <include name="../../bin/OpenGrid.Framework.Manager.dll" /> | 26 | <include name="../../../../bin/OpenSim.Framework.Console.dll" /> |
27 | <include name="../../bin/OpenSim.Framework.dll" /> | 27 | <include name="../../../../bin/OpenSim.Framework.Servers.dll" /> |
28 | <include name="../../bin/OpenSim.Framework.Console.dll" /> | 28 | <include name="../../../../bin/OpenSim.Region.Caches.dll" /> |
29 | <include name="../../bin/OpenSim.GenericConfig.Xml.dll" /> | 29 | <include name="../../../../bin/OpenSim.Region.ClientStack.dll" /> |
30 | <include name="../../bin/OpenSim.Servers.dll" /> | 30 | <include name="../../../../bin/OpenSim.Region.Communications.Local.dll" /> |
31 | <include name="../../../../bin/OpenSim.Region.Environment.dll" /> | ||
32 | <include name="../../../../bin/OpenSim.Region.GridInterfaces.Local.dll" /> | ||
31 | <include name="System.dll" /> | 33 | <include name="System.dll" /> |
32 | <include name="System.Data.dll" /> | 34 | <include name="System.Data.dll.dll" /> |
33 | <include name="System.Xml.dll" /> | 35 | <include name="System.Xml.dll" /> |
34 | <include name="../../bin/XMLRPC.dll" /> | 36 | <include name="../../../../bin/XMLRPC.dll" /> |
35 | </references> | 37 | </references> |
36 | </csc> | 38 | </csc> |
37 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 39 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" /> |
38 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 40 | <mkdir dir="${project::get-base-directory()}/../../../../bin/"/> |
39 | <copy todir="${project::get-base-directory()}/../../bin/"> | 41 | <copy todir="${project::get-base-directory()}/../../../../bin/"> |
40 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 42 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
41 | <include name="*.dll"/> | 43 | <include name="*.dll"/> |
42 | <include name="*.exe"/> | 44 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.GridInterfaces/Local/AssemblyInfo.cs b/OpenSim/Region/GridInterfaces/Local/AssemblyInfo.cs index 52ecd6b..52ecd6b 100644 --- a/OpenSim/OpenSim.GridInterfaces/Local/AssemblyInfo.cs +++ b/OpenSim/Region/GridInterfaces/Local/AssemblyInfo.cs | |||
diff --git a/OpenSim/OpenSim.GridInterfaces/Local/LocalAssetServer.cs b/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs index 87eff49..95d03f1 100644 --- a/OpenSim/OpenSim.GridInterfaces/Local/LocalAssetServer.cs +++ b/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs | |||
@@ -38,7 +38,7 @@ using libsecondlife; | |||
38 | using Db4objects.Db4o; | 38 | using Db4objects.Db4o; |
39 | using Db4objects.Db4o.Query; | 39 | using Db4objects.Db4o.Query; |
40 | 40 | ||
41 | namespace OpenSim.GridInterfaces.Local | 41 | namespace OpenSim.Region.GridInterfaces.Local |
42 | { | 42 | { |
43 | public class LocalAssetPlugin : IAssetPlugin | 43 | public class LocalAssetPlugin : IAssetPlugin |
44 | { | 44 | { |
diff --git a/OpenSim/OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.csproj b/OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.csproj index 77c76e3..484a205 100644 --- a/OpenSim/OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.csproj +++ b/OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{546099CD-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{241A8CDD-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.GridInterfaces.Local</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.GridInterfaces.Local</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.GridInterfaces.Local</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.GridInterfaces.Local</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,11 +59,11 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Db4objects.Db4o.dll" > | 61 | <Reference Include="Db4objects.Db4o.dll" > |
62 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="libsecondlife.dll" > | 65 | <Reference Include="libsecondlife.dll" > |
66 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> | 66 | <HintPath>..\..\..\..\bin\libsecondlife.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="System" > | 69 | <Reference Include="System" > |
@@ -76,13 +76,13 @@ | |||
76 | </Reference> | 76 | </Reference> |
77 | </ItemGroup> | 77 | </ItemGroup> |
78 | <ItemGroup> | 78 | <ItemGroup> |
79 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 79 | <ProjectReference Include="..\..\..\Framework\General\OpenSim.Framework.csproj"> |
80 | <Name>OpenSim.Framework</Name> | 80 | <Name>OpenSim.Framework</Name> |
81 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 81 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
82 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 82 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
83 | <Private>False</Private> | 83 | <Private>False</Private> |
84 | </ProjectReference> | 84 | </ProjectReference> |
85 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 85 | <ProjectReference Include="..\..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
86 | <Name>OpenSim.Framework.Console</Name> | 86 | <Name>OpenSim.Framework.Console</Name> |
87 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 87 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
88 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 88 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
diff --git a/OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.dll.build b/OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.dll.build new file mode 100644 index 0000000..4770e6d --- /dev/null +++ b/OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.dll.build | |||
@@ -0,0 +1,45 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim.Region.GridInterfaces.Local" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenSim.Region.GridInterfaces.Local" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="AssemblyInfo.cs" /> | ||
15 | <include name="LocalAssetServer.cs" /> | ||
16 | </sources> | ||
17 | <references basedir="${project::get-base-directory()}"> | ||
18 | <lib> | ||
19 | <include name="${project::get-base-directory()}" /> | ||
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
21 | </lib> | ||
22 | <include name="../../../../bin/Db4objects.Db4o.dll" /> | ||
23 | <include name="../../../../bin/libsecondlife.dll" /> | ||
24 | <include name="../../../../bin/OpenSim.Framework.dll" /> | ||
25 | <include name="../../../../bin/OpenSim.Framework.Console.dll" /> | ||
26 | <include name="System.dll" /> | ||
27 | <include name="System.Xml.dll" /> | ||
28 | </references> | ||
29 | </csc> | ||
30 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" /> | ||
31 | <mkdir dir="${project::get-base-directory()}/../../../../bin/"/> | ||
32 | <copy todir="${project::get-base-directory()}/../../../../bin/"> | ||
33 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
34 | <include name="*.dll"/> | ||
35 | <include name="*.exe"/> | ||
36 | </fileset> | ||
37 | </copy> | ||
38 | </target> | ||
39 | <target name="clean"> | ||
40 | <delete dir="${bin.dir}" failonerror="false" /> | ||
41 | <delete dir="${obj.dir}" failonerror="false" /> | ||
42 | </target> | ||
43 | <target name="doc" description="Creates documentation."> | ||
44 | </target> | ||
45 | </project> | ||
diff --git a/OpenSim/OpenSim.GridInterfaces/Remote/AssemblyInfo.cs b/OpenSim/Region/GridInterfaces/Remote/AssemblyInfo.cs index 51596d0..51596d0 100644 --- a/OpenSim/OpenSim.GridInterfaces/Remote/AssemblyInfo.cs +++ b/OpenSim/Region/GridInterfaces/Remote/AssemblyInfo.cs | |||
diff --git a/OpenSim/OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.csproj b/OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.csproj index 0a918bd..793fde2 100644 --- a/OpenSim/OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.csproj +++ b/OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{B55C0B5D-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{98C7B681-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.GridInterfaces.Remote</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.GridInterfaces.Remote</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.GridInterfaces.Remote</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.GridInterfaces.Remote</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libsecondlife.dll" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
@@ -70,26 +70,24 @@ | |||
70 | <HintPath>System.Xml.dll</HintPath> | 70 | <HintPath>System.Xml.dll</HintPath> |
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="XMLRPC.dll" > | ||
74 | <HintPath>..\..\..\..\bin\XMLRPC.dll</HintPath> | ||
75 | <Private>False</Private> | ||
76 | </Reference> | ||
73 | </ItemGroup> | 77 | </ItemGroup> |
74 | <ItemGroup> | 78 | <ItemGroup> |
75 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 79 | <ProjectReference Include="..\..\..\Framework\General\OpenSim.Framework.csproj"> |
76 | <Name>OpenSim.Framework</Name> | 80 | <Name>OpenSim.Framework</Name> |
77 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 81 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 82 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
79 | <Private>False</Private> | 83 | <Private>False</Private> |
80 | </ProjectReference> | 84 | </ProjectReference> |
81 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 85 | <ProjectReference Include="..\..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
82 | <Name>OpenSim.Framework.Console</Name> | 86 | <Name>OpenSim.Framework.Console</Name> |
83 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 87 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
84 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 88 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
85 | <Private>False</Private> | 89 | <Private>False</Private> |
86 | </ProjectReference> | 90 | </ProjectReference> |
87 | <ProjectReference Include="..\..\..\Common\XmlRpcCS\XMLRPC.csproj"> | ||
88 | <Name>XMLRPC</Name> | ||
89 | <Project>{8E81D43C-0000-0000-0000-000000000000}</Project> | ||
90 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
91 | <Private>False</Private> | ||
92 | </ProjectReference> | ||
93 | </ItemGroup> | 91 | </ItemGroup> |
94 | <ItemGroup> | 92 | <ItemGroup> |
95 | <Compile Include="AssemblyInfo.cs"> | 93 | <Compile Include="AssemblyInfo.cs"> |
diff --git a/OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.dll.build b/OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.dll.build new file mode 100644 index 0000000..0bf1b86 --- /dev/null +++ b/OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.dll.build | |||
@@ -0,0 +1,45 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim.Region.GridInterfaces.Remote" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenSim.Region.GridInterfaces.Remote" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="AssemblyInfo.cs" /> | ||
15 | <include name="RemoteAssetServer.cs" /> | ||
16 | </sources> | ||
17 | <references basedir="${project::get-base-directory()}"> | ||
18 | <lib> | ||
19 | <include name="${project::get-base-directory()}" /> | ||
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
21 | </lib> | ||
22 | <include name="../../../../bin/libsecondlife.dll" /> | ||
23 | <include name="../../../../bin/OpenSim.Framework.dll" /> | ||
24 | <include name="../../../../bin/OpenSim.Framework.Console.dll" /> | ||
25 | <include name="System.dll" /> | ||
26 | <include name="System.Xml.dll" /> | ||
27 | <include name="../../../../bin/XMLRPC.dll" /> | ||
28 | </references> | ||
29 | </csc> | ||
30 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" /> | ||
31 | <mkdir dir="${project::get-base-directory()}/../../../../bin/"/> | ||
32 | <copy todir="${project::get-base-directory()}/../../../../bin/"> | ||
33 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
34 | <include name="*.dll"/> | ||
35 | <include name="*.exe"/> | ||
36 | </fileset> | ||
37 | </copy> | ||
38 | </target> | ||
39 | <target name="clean"> | ||
40 | <delete dir="${bin.dir}" failonerror="false" /> | ||
41 | <delete dir="${obj.dir}" failonerror="false" /> | ||
42 | </target> | ||
43 | <target name="doc" description="Creates documentation."> | ||
44 | </target> | ||
45 | </project> | ||
diff --git a/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs b/OpenSim/Region/GridInterfaces/Remote/RemoteAssetServer.cs index ca01c68..4652f70 100644 --- a/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs +++ b/OpenSim/Region/GridInterfaces/Remote/RemoteAssetServer.cs | |||
@@ -37,7 +37,7 @@ using OpenSim.Framework.Interfaces; | |||
37 | using OpenSim.Framework.Types; | 37 | using OpenSim.Framework.Types; |
38 | using OpenSim.Framework.Utilities; | 38 | using OpenSim.Framework.Utilities; |
39 | 39 | ||
40 | namespace OpenSim.GridInterfaces.Remote | 40 | namespace OpenSim.Region.GridInterfaces.Remote |
41 | { | 41 | { |
42 | public class RemoteAssetServer : IAssetServer | 42 | public class RemoteAssetServer : IAssetServer |
43 | { | 43 | { |
diff --git a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/AssemblyInfo.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/AssemblyInfo.cs index 177c49d..177c49d 100644 --- a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/AssemblyInfo.cs +++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/AssemblyInfo.cs | |||
diff --git a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs index 341ffbb..dcb8f3b 100644 --- a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs +++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |||
@@ -29,7 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using OpenSim.Physics.Manager; | 30 | using OpenSim.Physics.Manager; |
31 | 31 | ||
32 | namespace OpenSim.Physics.BasicPhysicsPlugin | 32 | namespace OpenSim.Region.Physics.BasicPhysicsPlugin |
33 | { | 33 | { |
34 | /// <summary> | 34 | /// <summary> |
35 | /// Will be the PhysX plugin but for now will be a very basic physics engine | 35 | /// Will be the PhysX plugin but for now will be a very basic physics engine |
diff --git a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.csproj b/OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.csproj index f88eb32..7dad533 100644 --- a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.csproj +++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{4F874463-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{15B4FEF3-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.Physics.BasicPhysicsPlugin</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Physics.BasicPhysicsPlugin</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.Physics.BasicPhysicsPlugin</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Physics.BasicPhysicsPlugin</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\Physics\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\Physics\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\Physics\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\Physics\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Axiom.MathLib.dll" > | 61 | <Reference Include="Axiom.MathLib.dll" > |
62 | <HintPath>..\..\..\bin\Axiom.MathLib.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\Axiom.MathLib.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
@@ -68,9 +68,9 @@ | |||
68 | </Reference> | 68 | </Reference> |
69 | </ItemGroup> | 69 | </ItemGroup> |
70 | <ItemGroup> | 70 | <ItemGroup> |
71 | <ProjectReference Include="..\Manager\OpenSim.Physics.Manager.csproj"> | 71 | <ProjectReference Include="..\Manager\OpenSim.Region.Physics.Manager.csproj"> |
72 | <Name>OpenSim.Physics.Manager</Name> | 72 | <Name>OpenSim.Region.Physics.Manager</Name> |
73 | <Project>{8BE16150-0000-0000-0000-000000000000}</Project> | 73 | <Project>{F4FF31EB-0000-0000-0000-000000000000}</Project> |
74 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 74 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
75 | <Private>False</Private> | 75 | <Private>False</Private> |
76 | </ProjectReference> | 76 | </ProjectReference> |
diff --git a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build b/OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll.build index 00ca3f9..6cf26ca 100644 --- a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build +++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.Physics.BasicPhysicsPlugin" default="build"> | 2 | <project name="OpenSim.Region.Physics.BasicPhysicsPlugin" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.Physics.BasicPhysicsPlugin" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Physics.BasicPhysicsPlugin" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="AssemblyInfo.cs" /> |
@@ -19,14 +19,14 @@ | |||
19 | <include name="${project::get-base-directory()}" /> | 19 | <include name="${project::get-base-directory()}" /> |
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | 20 | <include name="${project::get-base-directory()}/${build.dir}" /> |
21 | </lib> | 21 | </lib> |
22 | <include name="../../../bin/Axiom.MathLib.dll" /> | 22 | <include name="../../../../bin/Axiom.MathLib.dll" /> |
23 | <include name="../../../bin/OpenSim.Physics.Manager.dll" /> | 23 | <include name="../../../../bin/OpenSim.Region.Physics.Manager.dll" /> |
24 | <include name="System.dll" /> | 24 | <include name="System.dll" /> |
25 | </references> | 25 | </references> |
26 | </csc> | 26 | </csc> |
27 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/Physics/" /> | 27 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/Physics/" /> |
28 | <mkdir dir="${project::get-base-directory()}/../../../bin/Physics/"/> | 28 | <mkdir dir="${project::get-base-directory()}/../../../../bin/Physics/"/> |
29 | <copy todir="${project::get-base-directory()}/../../../bin/Physics/"> | 29 | <copy todir="${project::get-base-directory()}/../../../../bin/Physics/"> |
30 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 30 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
31 | <include name="*.dll"/> | 31 | <include name="*.dll"/> |
32 | <include name="*.exe"/> | 32 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.Physics/Manager/AssemblyInfo.cs b/OpenSim/Region/Physics/Manager/AssemblyInfo.cs index 132f64a..132f64a 100644 --- a/OpenSim/OpenSim.Physics/Manager/AssemblyInfo.cs +++ b/OpenSim/Region/Physics/Manager/AssemblyInfo.cs | |||
diff --git a/OpenSim/OpenSim.Physics/Manager/OpenSim.Physics.Manager.csproj b/OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.csproj index 347a649..f340400 100644 --- a/OpenSim/OpenSim.Physics/Manager/OpenSim.Physics.Manager.csproj +++ b/OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{8BE16150-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{F4FF31EB-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.Physics.Manager</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Physics.Manager</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.Physics.Manager</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Physics.Manager</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Axiom.MathLib.dll" > | 61 | <Reference Include="Axiom.MathLib.dll" > |
62 | <HintPath>..\..\..\bin\Axiom.MathLib.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\Axiom.MathLib.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
@@ -72,13 +72,13 @@ | |||
72 | </Reference> | 72 | </Reference> |
73 | </ItemGroup> | 73 | </ItemGroup> |
74 | <ItemGroup> | 74 | <ItemGroup> |
75 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 75 | <ProjectReference Include="..\..\..\Framework\General\OpenSim.Framework.csproj"> |
76 | <Name>OpenSim.Framework</Name> | 76 | <Name>OpenSim.Framework</Name> |
77 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 77 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </ProjectReference> | 80 | </ProjectReference> |
81 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 81 | <ProjectReference Include="..\..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
82 | <Name>OpenSim.Framework.Console</Name> | 82 | <Name>OpenSim.Framework.Console</Name> |
83 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 83 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
84 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 84 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
diff --git a/OpenSim/OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build b/OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.dll.build index fc3e1e6..4b7ce81 100644 --- a/OpenSim/OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build +++ b/OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.Physics.Manager" default="build"> | 2 | <project name="OpenSim.Region.Physics.Manager" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.Physics.Manager" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Physics.Manager" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="AssemblyInfo.cs" /> |
@@ -22,16 +22,16 @@ | |||
22 | <include name="${project::get-base-directory()}" /> | 22 | <include name="${project::get-base-directory()}" /> |
23 | <include name="${project::get-base-directory()}/${build.dir}" /> | 23 | <include name="${project::get-base-directory()}/${build.dir}" /> |
24 | </lib> | 24 | </lib> |
25 | <include name="../../../bin/Axiom.MathLib.dll" /> | 25 | <include name="../../../../bin/Axiom.MathLib.dll" /> |
26 | <include name="../../../bin/OpenSim.Framework.dll" /> | 26 | <include name="../../../../bin/OpenSim.Framework.dll" /> |
27 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> | 27 | <include name="../../../../bin/OpenSim.Framework.Console.dll" /> |
28 | <include name="System.dll" /> | 28 | <include name="System.dll" /> |
29 | <include name="System.Xml.dll" /> | 29 | <include name="System.Xml.dll" /> |
30 | </references> | 30 | </references> |
31 | </csc> | 31 | </csc> |
32 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> | 32 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" /> |
33 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> | 33 | <mkdir dir="${project::get-base-directory()}/../../../../bin/"/> |
34 | <copy todir="${project::get-base-directory()}/../../../bin/"> | 34 | <copy todir="${project::get-base-directory()}/../../../../bin/"> |
35 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 35 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
36 | <include name="*.dll"/> | 36 | <include name="*.dll"/> |
37 | <include name="*.exe"/> | 37 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index 6366fb8..6366fb8 100644 --- a/OpenSim/OpenSim.Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
diff --git a/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs b/OpenSim/Region/Physics/Manager/PhysicsManager.cs index efccb36..efccb36 100644 --- a/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsManager.cs | |||
diff --git a/OpenSim/OpenSim.Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs index 0901c2f..0901c2f 100644 --- a/OpenSim/OpenSim.Physics/Manager/PhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs | |||
diff --git a/OpenSim/OpenSim.Physics/Manager/PhysicsVector.cs b/OpenSim/Region/Physics/Manager/PhysicsVector.cs index 888dbb5..888dbb5 100644 --- a/OpenSim/OpenSim.Physics/Manager/PhysicsVector.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsVector.cs | |||
diff --git a/OpenSim/OpenSim.Physics/OdePlugin/AssemblyInfo.cs b/OpenSim/Region/Physics/OdePlugin/AssemblyInfo.cs index b49c8da..b49c8da 100644 --- a/OpenSim/OpenSim.Physics/OdePlugin/AssemblyInfo.cs +++ b/OpenSim/Region/Physics/OdePlugin/AssemblyInfo.cs | |||
diff --git a/OpenSim/OpenSim.Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 5233042..8aca851 100644 --- a/OpenSim/OpenSim.Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -30,7 +30,7 @@ using System.Collections.Generic; | |||
30 | using OpenSim.Physics.Manager; | 30 | using OpenSim.Physics.Manager; |
31 | using Ode.NET; | 31 | using Ode.NET; |
32 | 32 | ||
33 | namespace OpenSim.Physics.OdePlugin | 33 | namespace OpenSim.Region.Physics.OdePlugin |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// ODE plugin | 36 | /// ODE plugin |
diff --git a/OpenSim/OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.csproj b/OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.csproj index 08f54aa..490c681 100644 --- a/OpenSim/OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.csproj +++ b/OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{63A05FE9-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{90620634-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.Physics.OdePlugin</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Physics.OdePlugin</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.Physics.OdePlugin</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Physics.OdePlugin</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\Physics\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\Physics\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\Physics\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\Physics\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,11 +59,11 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Axiom.MathLib.dll" > | 61 | <Reference Include="Axiom.MathLib.dll" > |
62 | <HintPath>..\..\..\bin\Axiom.MathLib.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\Axiom.MathLib.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="Ode.NET.dll" > | 65 | <Reference Include="Ode.NET.dll" > |
66 | <HintPath>..\..\..\bin\Ode.NET.dll</HintPath> | 66 | <HintPath>..\..\..\..\bin\Ode.NET.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="System" > | 69 | <Reference Include="System" > |
@@ -72,9 +72,9 @@ | |||
72 | </Reference> | 72 | </Reference> |
73 | </ItemGroup> | 73 | </ItemGroup> |
74 | <ItemGroup> | 74 | <ItemGroup> |
75 | <ProjectReference Include="..\Manager\OpenSim.Physics.Manager.csproj"> | 75 | <ProjectReference Include="..\Manager\OpenSim.Region.Physics.Manager.csproj"> |
76 | <Name>OpenSim.Physics.Manager</Name> | 76 | <Name>OpenSim.Region.Physics.Manager</Name> |
77 | <Project>{8BE16150-0000-0000-0000-000000000000}</Project> | 77 | <Project>{F4FF31EB-0000-0000-0000-000000000000}</Project> |
78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </ProjectReference> | 80 | </ProjectReference> |
diff --git a/OpenSim/OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build b/OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.dll.build index c93c0c2..07b9386 100644 --- a/OpenSim/OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build +++ b/OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.Physics.OdePlugin" default="build"> | 2 | <project name="OpenSim.Region.Physics.OdePlugin" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.Physics.OdePlugin" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Physics.OdePlugin" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="AssemblyInfo.cs" /> |
@@ -19,15 +19,15 @@ | |||
19 | <include name="${project::get-base-directory()}" /> | 19 | <include name="${project::get-base-directory()}" /> |
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | 20 | <include name="${project::get-base-directory()}/${build.dir}" /> |
21 | </lib> | 21 | </lib> |
22 | <include name="../../../bin/Axiom.MathLib.dll" /> | 22 | <include name="../../../../bin/Axiom.MathLib.dll" /> |
23 | <include name="../../../bin/Ode.NET.dll" /> | 23 | <include name="../../../../bin/Ode.NET.dll" /> |
24 | <include name="../../../bin/OpenSim.Physics.Manager.dll" /> | 24 | <include name="../../../../bin/OpenSim.Region.Physics.Manager.dll" /> |
25 | <include name="System.dll" /> | 25 | <include name="System.dll" /> |
26 | </references> | 26 | </references> |
27 | </csc> | 27 | </csc> |
28 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/Physics/" /> | 28 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/Physics/" /> |
29 | <mkdir dir="${project::get-base-directory()}/../../../bin/Physics/"/> | 29 | <mkdir dir="${project::get-base-directory()}/../../../../bin/Physics/"/> |
30 | <copy todir="${project::get-base-directory()}/../../../bin/Physics/"> | 30 | <copy todir="${project::get-base-directory()}/../../../../bin/Physics/"> |
31 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 31 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
32 | <include name="*.dll"/> | 32 | <include name="*.dll"/> |
33 | <include name="*.exe"/> | 33 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.Physics/PhysXPlugin/AssemblyInfo.cs b/OpenSim/Region/Physics/PhysXPlugin/AssemblyInfo.cs index b49c8da..b49c8da 100644 --- a/OpenSim/OpenSim.Physics/PhysXPlugin/AssemblyInfo.cs +++ b/OpenSim/Region/Physics/PhysXPlugin/AssemblyInfo.cs | |||
diff --git a/OpenSim/OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.csproj b/OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.csproj index aa89cc1..77da908 100644 --- a/OpenSim/OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.csproj +++ b/OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{988F0AC4-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{A6D191D8-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.Physics.PhysXPlugin</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Physics.PhysXPlugin</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.Physics.PhysXPlugin</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Physics.PhysXPlugin</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\Physics\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\Physics\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\Physics\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\Physics\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,11 +59,11 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Axiom.MathLib.dll" > | 61 | <Reference Include="Axiom.MathLib.dll" > |
62 | <HintPath>..\..\..\bin\Axiom.MathLib.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\Axiom.MathLib.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="PhysX_Wrapper_Dotnet.dll" > | 65 | <Reference Include="PhysX_Wrapper_Dotnet.dll" > |
66 | <HintPath>..\..\..\bin\PhysX_Wrapper_Dotnet.dll</HintPath> | 66 | <HintPath>..\..\..\..\bin\PhysX_Wrapper_Dotnet.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="System" > | 69 | <Reference Include="System" > |
@@ -72,9 +72,9 @@ | |||
72 | </Reference> | 72 | </Reference> |
73 | </ItemGroup> | 73 | </ItemGroup> |
74 | <ItemGroup> | 74 | <ItemGroup> |
75 | <ProjectReference Include="..\Manager\OpenSim.Physics.Manager.csproj"> | 75 | <ProjectReference Include="..\Manager\OpenSim.Region.Physics.Manager.csproj"> |
76 | <Name>OpenSim.Physics.Manager</Name> | 76 | <Name>OpenSim.Region.Physics.Manager</Name> |
77 | <Project>{8BE16150-0000-0000-0000-000000000000}</Project> | 77 | <Project>{F4FF31EB-0000-0000-0000-000000000000}</Project> |
78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 78 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
79 | <Private>False</Private> | 79 | <Private>False</Private> |
80 | </ProjectReference> | 80 | </ProjectReference> |
diff --git a/OpenSim/OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build b/OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.dll.build index be7a847..c1a9608 100644 --- a/OpenSim/OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build +++ b/OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.Physics.PhysXPlugin" default="build"> | 2 | <project name="OpenSim.Region.Physics.PhysXPlugin" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.Physics.PhysXPlugin" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Physics.PhysXPlugin" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="AssemblyInfo.cs" /> |
@@ -19,15 +19,15 @@ | |||
19 | <include name="${project::get-base-directory()}" /> | 19 | <include name="${project::get-base-directory()}" /> |
20 | <include name="${project::get-base-directory()}/${build.dir}" /> | 20 | <include name="${project::get-base-directory()}/${build.dir}" /> |
21 | </lib> | 21 | </lib> |
22 | <include name="../../../bin/Axiom.MathLib.dll" /> | 22 | <include name="../../../../bin/Axiom.MathLib.dll" /> |
23 | <include name="../../../bin/OpenSim.Physics.Manager.dll" /> | 23 | <include name="../../../../bin/OpenSim.Region.Physics.Manager.dll" /> |
24 | <include name="../../../bin/PhysX_Wrapper_Dotnet.dll" /> | 24 | <include name="../../../../bin/PhysX_Wrapper_Dotnet.dll" /> |
25 | <include name="System.dll" /> | 25 | <include name="System.dll" /> |
26 | </references> | 26 | </references> |
27 | </csc> | 27 | </csc> |
28 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/Physics/" /> | 28 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/Physics/" /> |
29 | <mkdir dir="${project::get-base-directory()}/../../../bin/Physics/"/> | 29 | <mkdir dir="${project::get-base-directory()}/../../../../bin/Physics/"/> |
30 | <copy todir="${project::get-base-directory()}/../../../bin/Physics/"> | 30 | <copy todir="${project::get-base-directory()}/../../../../bin/Physics/"> |
31 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 31 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
32 | <include name="*.dll"/> | 32 | <include name="*.dll"/> |
33 | <include name="*.exe"/> | 33 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs index 200b232..8bf794b 100644 --- a/OpenSim/OpenSim.Physics/PhysXPlugin/PhysXPlugin.cs +++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | |||
@@ -30,7 +30,7 @@ using System.Collections.Generic; | |||
30 | using OpenSim.Physics.Manager; | 30 | using OpenSim.Physics.Manager; |
31 | using PhysXWrapper; | 31 | using PhysXWrapper; |
32 | 32 | ||
33 | namespace OpenSim.Physics.PhysXPlugin | 33 | namespace OpenSim.Region.Physics.PhysXPlugin |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// Will be the PhysX plugin but for now will be a very basic physics engine | 36 | /// Will be the PhysX plugin but for now will be a very basic physics engine |
diff --git a/libraries/libLSL/Properties/AssemblyInfo.cs b/OpenSim/Region/Scripting/Properties/AssemblyInfo.cs index 205dd95..f5da4c0 100644 --- a/libraries/libLSL/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/Scripting/Properties/AssemblyInfo.cs | |||
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices; | |||
5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 7 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("libLSL")] | 8 | [assembly: AssemblyTitle("OpenSim.Scripting")] |
9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
11 | [assembly: AssemblyCompany("")] | 11 | [assembly: AssemblyCompany("")] |
12 | [assembly: AssemblyProduct("libLSL")] | 12 | [assembly: AssemblyProduct("OpenSim.Scripting")] |
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | 13 | [assembly: AssemblyCopyright("Copyright © 2007")] |
14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
@@ -20,7 +20,7 @@ using System.Runtime.InteropServices; | |||
20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
21 | 21 | ||
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
23 | [assembly: Guid("65895724-efca-49f8-8efc-211594b4c716")] | 23 | [assembly: Guid("61eae1ad-82aa-4c77-8bc5-b5a8c9522b18")] |
24 | 24 | ||
25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
26 | // | 26 | // |
diff --git a/OpenSim/Region/Scripting/Script.cs b/OpenSim/Region/Scripting/Script.cs new file mode 100644 index 0000000..0f4af00 --- /dev/null +++ b/OpenSim/Region/Scripting/Script.cs | |||
@@ -0,0 +1,32 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | using OpenSim.Framework.Console; | ||
6 | using OpenSim.Framework; | ||
7 | using OpenSim.Region; | ||
8 | using OpenSim.Region.Scenes; | ||
9 | |||
10 | namespace OpenSim.Scripting | ||
11 | { | ||
12 | public interface IScript | ||
13 | { | ||
14 | void Initialise(ScriptInfo scriptInfo); | ||
15 | } | ||
16 | |||
17 | public class TestScript : IScript | ||
18 | { | ||
19 | ScriptInfo script; | ||
20 | |||
21 | public void Initialise(ScriptInfo scriptInfo) | ||
22 | { | ||
23 | script = scriptInfo; | ||
24 | script.events.OnFrame += new OpenSim.Region.Scenes.EventManager.OnFrameDelegate(events_OnFrame); | ||
25 | } | ||
26 | |||
27 | void events_OnFrame() | ||
28 | { | ||
29 | script.logger.Verbose("Hello World!"); | ||
30 | } | ||
31 | } | ||
32 | } | ||
diff --git a/OpenSim/Region/Scripting/ScriptAccess.cs b/OpenSim/Region/Scripting/ScriptAccess.cs new file mode 100644 index 0000000..a9fede5 --- /dev/null +++ b/OpenSim/Region/Scripting/ScriptAccess.cs | |||
@@ -0,0 +1,31 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | using OpenSim.Region.Scenes; | ||
6 | using OpenSim.Framework.Console; | ||
7 | |||
8 | namespace OpenSim.Scripting | ||
9 | { | ||
10 | /// <summary> | ||
11 | /// Class which provides access to the world | ||
12 | /// </summary> | ||
13 | public class ScriptInfo | ||
14 | { | ||
15 | // Reference to world.eventsManager provided for convenience | ||
16 | public EventManager events; | ||
17 | |||
18 | // The main world | ||
19 | public Scene world; | ||
20 | |||
21 | // The console | ||
22 | public LogBase logger; | ||
23 | |||
24 | public ScriptInfo(Scene scene) | ||
25 | { | ||
26 | world = scene; | ||
27 | events = world.eventManager; | ||
28 | logger = OpenSim.Framework.Console.MainLog.Instance; | ||
29 | } | ||
30 | } | ||
31 | } | ||
diff --git a/OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs index ab3c34c..3bc6f25 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs +++ b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs | |||
@@ -39,7 +39,7 @@ using BerkeleyDb; | |||
39 | using Kds.Serialization; | 39 | using Kds.Serialization; |
40 | using Kds.Serialization.Buffer; | 40 | using Kds.Serialization.Buffer; |
41 | 41 | ||
42 | namespace OpenSim.Storage.LocalStorageBDB | 42 | namespace OpenSim.Region.Storage.LocalStorageBDB |
43 | { | 43 | { |
44 | public class BDBLocalStorage : ILocalStorage | 44 | public class BDBLocalStorage : ILocalStorage |
45 | { | 45 | { |
diff --git a/OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.csproj b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.csproj index 417643f..b956c9b 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.csproj +++ b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{EE9E5D96-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{A4691E59-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.Storage.LocalStorageBerkeleyDB</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Storage.LocalStorageBerkeleyDB</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.Storage.LocalStorageBerkeleyDB</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Storage.LocalStorageBerkeleyDB</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,15 +59,15 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Kds.Serialization.dll" > | 61 | <Reference Include="Kds.Serialization.dll" > |
62 | <HintPath>..\..\..\bin\Kds.Serialization.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\Kds.Serialization.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="libdb_dotNET43.dll" > | 65 | <Reference Include="libdb_dotNET43.dll" > |
66 | <HintPath>..\..\..\bin\libdb_dotNET43.dll</HintPath> | 66 | <HintPath>..\..\..\..\bin\libdb_dotNET43.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="libsecondlife.dll" > | 69 | <Reference Include="libsecondlife.dll" > |
70 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> | 70 | <HintPath>..\..\..\..\bin\libsecondlife.dll</HintPath> |
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="System" > | 73 | <Reference Include="System" > |
@@ -84,13 +84,13 @@ | |||
84 | </Reference> | 84 | </Reference> |
85 | </ItemGroup> | 85 | </ItemGroup> |
86 | <ItemGroup> | 86 | <ItemGroup> |
87 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 87 | <ProjectReference Include="..\..\..\Framework\General\OpenSim.Framework.csproj"> |
88 | <Name>OpenSim.Framework</Name> | 88 | <Name>OpenSim.Framework</Name> |
89 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 89 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
90 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 90 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
91 | <Private>False</Private> | 91 | <Private>False</Private> |
92 | </ProjectReference> | 92 | </ProjectReference> |
93 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 93 | <ProjectReference Include="..\..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
94 | <Name>OpenSim.Framework.Console</Name> | 94 | <Name>OpenSim.Framework.Console</Name> |
95 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 95 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
96 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 96 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
diff --git a/OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.dll.build b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.dll.build new file mode 100644 index 0000000..20f5171 --- /dev/null +++ b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.dll.build | |||
@@ -0,0 +1,46 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim.Region.Storage.LocalStorageBerkeleyDB" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | ||
11 | <resources prefix="OpenSim.Region.Storage.LocalStorageBerkeleyDB" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="BDBLocalStorage.cs" /> | ||
15 | </sources> | ||
16 | <references basedir="${project::get-base-directory()}"> | ||
17 | <lib> | ||
18 | <include name="${project::get-base-directory()}" /> | ||
19 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
20 | </lib> | ||
21 | <include name="../../../../bin/Kds.Serialization.dll" /> | ||
22 | <include name="../../../../bin/libdb_dotNET43.dll" /> | ||
23 | <include name="../../../../bin/libsecondlife.dll" /> | ||
24 | <include name="../../../../bin/OpenSim.Framework.dll" /> | ||
25 | <include name="../../../../bin/OpenSim.Framework.Console.dll" /> | ||
26 | <include name="System.dll" /> | ||
27 | <include name="System.Data.dll" /> | ||
28 | <include name="System.Xml.dll" /> | ||
29 | </references> | ||
30 | </csc> | ||
31 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" /> | ||
32 | <mkdir dir="${project::get-base-directory()}/../../../../bin/"/> | ||
33 | <copy todir="${project::get-base-directory()}/../../../../bin/"> | ||
34 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
35 | <include name="*.dll"/> | ||
36 | <include name="*.exe"/> | ||
37 | </fileset> | ||
38 | </copy> | ||
39 | </target> | ||
40 | <target name="clean"> | ||
41 | <delete dir="${bin.dir}" failonerror="false" /> | ||
42 | <delete dir="${obj.dir}" failonerror="false" /> | ||
43 | </target> | ||
44 | <target name="doc" description="Creates documentation."> | ||
45 | </target> | ||
46 | </project> | ||
diff --git a/OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.dll.build b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.dll.build index bc2d8ec..bc2d8ec 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.dll.build +++ b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Storage.LocalStorageBerkeleyDB.dll.build | |||
diff --git a/OpenSim/OpenSim.Storage/LocalStorageDb4o/AssemblyInfo.cs b/OpenSim/Region/Storage/LocalStorageDb4o/AssemblyInfo.cs index ea2b62e..ea2b62e 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageDb4o/AssemblyInfo.cs +++ b/OpenSim/Region/Storage/LocalStorageDb4o/AssemblyInfo.cs | |||
diff --git a/OpenSim/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs b/OpenSim/Region/Storage/LocalStorageDb4o/Db4LocalStorage.cs index 8e6b04d..5cb4861 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs +++ b/OpenSim/Region/Storage/LocalStorageDb4o/Db4LocalStorage.cs | |||
@@ -36,7 +36,7 @@ using OpenSim.Framework.Types; | |||
36 | using OpenSim.Framework.Console; | 36 | using OpenSim.Framework.Console; |
37 | 37 | ||
38 | 38 | ||
39 | namespace OpenSim.Storage.LocalStorageDb4o | 39 | namespace OpenSim.Region.Storage.LocalStorageDb4o |
40 | { | 40 | { |
41 | /// <summary> | 41 | /// <summary> |
42 | /// | 42 | /// |
diff --git a/OpenSim/OpenSim.Storage/LocalStorageDb4o/MapStorage.cs b/OpenSim/Region/Storage/LocalStorageDb4o/MapStorage.cs index 56387ac..22f3392 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageDb4o/MapStorage.cs +++ b/OpenSim/Region/Storage/LocalStorageDb4o/MapStorage.cs | |||
@@ -29,7 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | namespace OpenSim.Storage.LocalStorageDb4o | 32 | namespace OpenSim.Region.Storage.LocalStorageDb4o |
33 | { | 33 | { |
34 | public class MapStorage | 34 | public class MapStorage |
35 | { | 35 | { |
diff --git a/OpenSim/OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.csproj b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj index 5b8f1c1..147158c 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.csproj +++ b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{E1B79ECF-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{43DB702D-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.Storage.LocalStorageDb4o</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Storage.LocalStorageDb4o</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.Storage.LocalStorageDb4o</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Storage.LocalStorageDb4o</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,11 +59,11 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="Db4objects.Db4o.dll" > | 61 | <Reference Include="Db4objects.Db4o.dll" > |
62 | <HintPath>..\..\..\bin\Db4objects.Db4o.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\Db4objects.Db4o.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="libsecondlife.dll" > | 65 | <Reference Include="libsecondlife.dll" > |
66 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> | 66 | <HintPath>..\..\..\..\bin\libsecondlife.dll</HintPath> |
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="System" > | 69 | <Reference Include="System" > |
@@ -76,13 +76,13 @@ | |||
76 | </Reference> | 76 | </Reference> |
77 | </ItemGroup> | 77 | </ItemGroup> |
78 | <ItemGroup> | 78 | <ItemGroup> |
79 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 79 | <ProjectReference Include="..\..\..\Framework\General\OpenSim.Framework.csproj"> |
80 | <Name>OpenSim.Framework</Name> | 80 | <Name>OpenSim.Framework</Name> |
81 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 81 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
82 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 82 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
83 | <Private>False</Private> | 83 | <Private>False</Private> |
84 | </ProjectReference> | 84 | </ProjectReference> |
85 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 85 | <ProjectReference Include="..\..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
86 | <Name>OpenSim.Framework.Console</Name> | 86 | <Name>OpenSim.Framework.Console</Name> |
87 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 87 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
88 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 88 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
diff --git a/OpenSim/OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build index 739b98c..fc9f055 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build +++ b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.Storage.LocalStorageDb4o" default="build"> | 2 | <project name="OpenSim.Region.Storage.LocalStorageDb4o" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.Storage.LocalStorageDb4o" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Storage.LocalStorageDb4o" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="AssemblyInfo.cs" /> |
@@ -22,17 +22,17 @@ | |||
22 | <include name="${project::get-base-directory()}" /> | 22 | <include name="${project::get-base-directory()}" /> |
23 | <include name="${project::get-base-directory()}/${build.dir}" /> | 23 | <include name="${project::get-base-directory()}/${build.dir}" /> |
24 | </lib> | 24 | </lib> |
25 | <include name="../../../bin/Db4objects.Db4o.dll" /> | 25 | <include name="../../../../bin/Db4objects.Db4o.dll" /> |
26 | <include name="../../../bin/libsecondlife.dll" /> | 26 | <include name="../../../../bin/libsecondlife.dll" /> |
27 | <include name="../../../bin/OpenSim.Framework.dll" /> | 27 | <include name="../../../../bin/OpenSim.Framework.dll" /> |
28 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> | 28 | <include name="../../../../bin/OpenSim.Framework.Console.dll" /> |
29 | <include name="System.dll" /> | 29 | <include name="System.dll" /> |
30 | <include name="System.Xml.dll" /> | 30 | <include name="System.Xml.dll" /> |
31 | </references> | 31 | </references> |
32 | </csc> | 32 | </csc> |
33 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> | 33 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" /> |
34 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> | 34 | <mkdir dir="${project::get-base-directory()}/../../../../bin/"/> |
35 | <copy todir="${project::get-base-directory()}/../../../bin/"> | 35 | <copy todir="${project::get-base-directory()}/../../../../bin/"> |
36 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 36 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
37 | <include name="*.dll"/> | 37 | <include name="*.dll"/> |
38 | <include name="*.exe"/> | 38 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.Storage/LocalStorageDb4o/UUIDParcelQuery.cs b/OpenSim/Region/Storage/LocalStorageDb4o/UUIDParcelQuery.cs index d24fb5f..dcbe639 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageDb4o/UUIDParcelQuery.cs +++ b/OpenSim/Region/Storage/LocalStorageDb4o/UUIDParcelQuery.cs | |||
@@ -34,7 +34,7 @@ using libsecondlife; | |||
34 | using OpenSim.Framework.Interfaces; | 34 | using OpenSim.Framework.Interfaces; |
35 | using OpenSim.Framework.Types; | 35 | using OpenSim.Framework.Types; |
36 | 36 | ||
37 | namespace OpenSim.Storage.LocalStorageDb4o | 37 | namespace OpenSim.Region.Storage.LocalStorageDb4o |
38 | { | 38 | { |
39 | public class UUIDParcelQuery : Predicate | 39 | public class UUIDParcelQuery : Predicate |
40 | { | 40 | { |
diff --git a/OpenSim/OpenSim.Storage/LocalStorageDb4o/UUIDPrimQuery.cs b/OpenSim/Region/Storage/LocalStorageDb4o/UUIDPrimQuery.cs index b2e8a91..23de6dd 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageDb4o/UUIDPrimQuery.cs +++ b/OpenSim/Region/Storage/LocalStorageDb4o/UUIDPrimQuery.cs | |||
@@ -34,7 +34,7 @@ using libsecondlife; | |||
34 | using OpenSim.Framework.Interfaces; | 34 | using OpenSim.Framework.Interfaces; |
35 | using OpenSim.Framework.Types; | 35 | using OpenSim.Framework.Types; |
36 | 36 | ||
37 | namespace OpenSim.Storage.LocalStorageDb4o | 37 | namespace OpenSim.Region.Storage.LocalStorageDb4o |
38 | { | 38 | { |
39 | public class UUIDPrimQuery : Predicate | 39 | public class UUIDPrimQuery : Predicate |
40 | { | 40 | { |
diff --git a/OpenSim/OpenSim.Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.csproj b/OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.csproj index ff93a8f..d1353a5 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.csproj +++ b/OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{6B20B603-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{477B9270-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.Storage.LocalStorageSQLite</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Storage.LocalStorageSQLite</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.Storage.LocalStorageSQLite</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Storage.LocalStorageSQLite</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libsecondlife.dll" > | 61 | <Reference Include="libsecondlife.dll" > |
62 | <HintPath>..\..\..\bin\libsecondlife.dll</HintPath> | 62 | <HintPath>..\..\..\..\bin\libsecondlife.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="System" > | 65 | <Reference Include="System" > |
@@ -71,7 +71,7 @@ | |||
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="System.Data.SQLite.dll" > | 73 | <Reference Include="System.Data.SQLite.dll" > |
74 | <HintPath>..\..\..\bin\System.Data.SQLite.dll</HintPath> | 74 | <HintPath>..\..\..\..\bin\System.Data.SQLite.dll</HintPath> |
75 | <Private>False</Private> | 75 | <Private>False</Private> |
76 | </Reference> | 76 | </Reference> |
77 | <Reference Include="System.Xml" > | 77 | <Reference Include="System.Xml" > |
@@ -80,13 +80,13 @@ | |||
80 | </Reference> | 80 | </Reference> |
81 | </ItemGroup> | 81 | </ItemGroup> |
82 | <ItemGroup> | 82 | <ItemGroup> |
83 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework\OpenSim.Framework.csproj"> | 83 | <ProjectReference Include="..\..\..\Framework\General\OpenSim.Framework.csproj"> |
84 | <Name>OpenSim.Framework</Name> | 84 | <Name>OpenSim.Framework</Name> |
85 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> | 85 | <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> |
86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
87 | <Private>False</Private> | 87 | <Private>False</Private> |
88 | </ProjectReference> | 88 | </ProjectReference> |
89 | <ProjectReference Include="..\..\..\Common\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> | 89 | <ProjectReference Include="..\..\..\Framework\Console\OpenSim.Framework.Console.csproj"> |
90 | <Name>OpenSim.Framework.Console</Name> | 90 | <Name>OpenSim.Framework.Console</Name> |
91 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 91 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
92 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 92 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
diff --git a/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build b/OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.dll.build index d82d751..9d12c33 100644 --- a/Common/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build +++ b/OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenGrid.Framework.Data.DB4o" default="build"> | 2 | <project name="OpenSim.Region.Storage.LocalStorageSQLite" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,12 +8,10 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenGrid.Framework.Data.DB4o" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Storage.LocalStorageSQLite" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="DB4oGridData.cs" /> | 14 | <include name="SQLiteLocalStorage.cs" /> |
15 | <include name="DB4oManager.cs" /> | ||
16 | <include name="DB4oUserData.cs" /> | ||
17 | <include name="Properties/AssemblyInfo.cs" /> | 15 | <include name="Properties/AssemblyInfo.cs" /> |
18 | </sources> | 16 | </sources> |
19 | <references basedir="${project::get-base-directory()}"> | 17 | <references basedir="${project::get-base-directory()}"> |
@@ -21,17 +19,18 @@ | |||
21 | <include name="${project::get-base-directory()}" /> | 19 | <include name="${project::get-base-directory()}" /> |
22 | <include name="${project::get-base-directory()}/${build.dir}" /> | 20 | <include name="${project::get-base-directory()}/${build.dir}" /> |
23 | </lib> | 21 | </lib> |
24 | <include name="../../bin/Db4objects.Db4o.dll" /> | 22 | <include name="../../../../bin/libsecondlife.dll" /> |
25 | <include name="../../bin/libsecondlife.dll" /> | 23 | <include name="../../../../bin/OpenSim.Framework.dll" /> |
26 | <include name="../../bin/OpenGrid.Framework.Data.dll" /> | 24 | <include name="../../../../bin/OpenSim.Framework.Console.dll" /> |
27 | <include name="System.dll" /> | 25 | <include name="System.dll" /> |
28 | <include name="System.Data.dll" /> | 26 | <include name="System.Data.dll" /> |
27 | <include name="../../../../bin/System.Data.SQLite.dll" /> | ||
29 | <include name="System.Xml.dll" /> | 28 | <include name="System.Xml.dll" /> |
30 | </references> | 29 | </references> |
31 | </csc> | 30 | </csc> |
32 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 31 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" /> |
33 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 32 | <mkdir dir="${project::get-base-directory()}/../../../../bin/"/> |
34 | <copy todir="${project::get-base-directory()}/../../bin/"> | 33 | <copy todir="${project::get-base-directory()}/../../../../bin/"> |
35 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 34 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
36 | <include name="*.dll"/> | 35 | <include name="*.dll"/> |
37 | <include name="*.exe"/> | 36 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.dll.build b/OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.dll.build index bd4c731..bd4c731 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.dll.build +++ b/OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Storage.LocalStorageSQLite.dll.build | |||
diff --git a/OpenSim/OpenSim.Storage/LocalStorageSQLite/Properties/AssemblyInfo.cs b/OpenSim/Region/Storage/LocalStorageSQLite/Properties/AssemblyInfo.cs index b45debf..80158d5 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageSQLite/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/Storage/LocalStorageSQLite/Properties/AssemblyInfo.cs | |||
@@ -32,11 +32,11 @@ using System.Runtime.InteropServices; | |||
32 | // General Information about an assembly is controlled through the following | 32 | // General Information about an assembly is controlled through the following |
33 | // set of attributes. Change these attribute values to modify the information | 33 | // set of attributes. Change these attribute values to modify the information |
34 | // associated with an assembly. | 34 | // associated with an assembly. |
35 | [assembly: AssemblyTitle("OpenSim.Storage.LocalStorageSQLite")] | 35 | [assembly: AssemblyTitle("OpenSim.Region.Storage.LocalStorageSQLite")] |
36 | [assembly: AssemblyDescription("")] | 36 | [assembly: AssemblyDescription("")] |
37 | [assembly: AssemblyConfiguration("")] | 37 | [assembly: AssemblyConfiguration("")] |
38 | [assembly: AssemblyCompany("")] | 38 | [assembly: AssemblyCompany("")] |
39 | [assembly: AssemblyProduct("OpenSim.Storage.LocalStorageSQLite")] | 39 | [assembly: AssemblyProduct("OpenSim.Region.Storage.LocalStorageSQLite")] |
40 | [assembly: AssemblyCopyright("Copyright © 2007")] | 40 | [assembly: AssemblyCopyright("Copyright © 2007")] |
41 | [assembly: AssemblyTrademark("")] | 41 | [assembly: AssemblyTrademark("")] |
42 | [assembly: AssemblyCulture("")] | 42 | [assembly: AssemblyCulture("")] |
diff --git a/OpenSim/OpenSim.Storage/LocalStorageSQLite/SQLiteLocalStorage.cs b/OpenSim/Region/Storage/LocalStorageSQLite/SQLiteLocalStorage.cs index 8a7893e..b407be4 100644 --- a/OpenSim/OpenSim.Storage/LocalStorageSQLite/SQLiteLocalStorage.cs +++ b/OpenSim/Region/Storage/LocalStorageSQLite/SQLiteLocalStorage.cs | |||
@@ -37,7 +37,7 @@ using libsecondlife; | |||
37 | using OpenSim.Framework.Interfaces; | 37 | using OpenSim.Framework.Interfaces; |
38 | using OpenSim.Framework.Types; | 38 | using OpenSim.Framework.Types; |
39 | 39 | ||
40 | namespace OpenSim.Storage.LocalStorageSQLite | 40 | namespace OpenSim.Region.Storage.LocalStorageSQLite |
41 | { | 41 | { |
42 | public class SQLiteLocalStorage : ILocalStorage | 42 | public class SQLiteLocalStorage : ILocalStorage |
43 | { | 43 | { |
diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.csproj b/OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.csproj index 0469efe..24667e5 100644 --- a/OpenSim/OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.csproj +++ b/OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.csproj | |||
@@ -3,20 +3,20 @@ | |||
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
5 | <SchemaVersion>2.0</SchemaVersion> | 5 | <SchemaVersion>2.0</SchemaVersion> |
6 | <ProjectGuid>{2270B8FE-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{C9E0F891-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon></ApplicationIcon> |
10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenSim.Terrain.BasicTerrain</AssemblyName> | 12 | <AssemblyName>OpenSim.Region.Terrain.BasicTerrain</AssemblyName> |
13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 18 | <AppDesignerFolder></AppDesignerFolder> |
19 | <RootNamespace>OpenSim.Terrain.BasicTerrain</RootNamespace> | 19 | <RootNamespace>OpenSim.Region.Terrain.BasicTerrain</RootNamespace> |
20 | <StartupObject></StartupObject> | 20 | <StartupObject></StartupObject> |
21 | <FileUpgradeFlags> | 21 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 22 | </FileUpgradeFlags> |
@@ -32,7 +32,7 @@ | |||
32 | <DebugSymbols>True</DebugSymbols> | 32 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 33 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 34 | <Optimize>False</Optimize> |
35 | <OutputPath>..\..\bin\</OutputPath> | 35 | <OutputPath>..\..\..\bin\</OutputPath> |
36 | <RegisterForComInterop>False</RegisterForComInterop> | 36 | <RegisterForComInterop>False</RegisterForComInterop> |
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -50,7 +50,7 @@ | |||
50 | <DebugSymbols>False</DebugSymbols> | 50 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 52 | <Optimize>True</Optimize> |
53 | <OutputPath>..\..\bin\</OutputPath> | 53 | <OutputPath>..\..\..\bin\</OutputPath> |
54 | <RegisterForComInterop>False</RegisterForComInterop> | 54 | <RegisterForComInterop>False</RegisterForComInterop> |
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
@@ -59,7 +59,7 @@ | |||
59 | </PropertyGroup> | 59 | </PropertyGroup> |
60 | <ItemGroup> | 60 | <ItemGroup> |
61 | <Reference Include="libTerrain-BSD.dll" > | 61 | <Reference Include="libTerrain-BSD.dll" > |
62 | <HintPath>..\..\bin\libTerrain-BSD.dll</HintPath> | 62 | <HintPath>..\..\..\bin\libTerrain-BSD.dll</HintPath> |
63 | <Private>False</Private> | 63 | <Private>False</Private> |
64 | </Reference> | 64 | </Reference> |
65 | <Reference Include="Microsoft.JScript" > | 65 | <Reference Include="Microsoft.JScript" > |
@@ -67,7 +67,7 @@ | |||
67 | <Private>False</Private> | 67 | <Private>False</Private> |
68 | </Reference> | 68 | </Reference> |
69 | <Reference Include="openjpegnet.dll" > | 69 | <Reference Include="openjpegnet.dll" > |
70 | <HintPath>..\..\bin\openjpegnet.dll</HintPath> | 70 | <HintPath>..\..\..\bin\openjpegnet.dll</HintPath> |
71 | <Private>False</Private> | 71 | <Private>False</Private> |
72 | </Reference> | 72 | </Reference> |
73 | <Reference Include="System" > | 73 | <Reference Include="System" > |
diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.dll.build b/OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.dll.build index 91dd6f5..dc7203a 100644 --- a/OpenSim/OpenSim.Terrain.BasicTerrain/OpenSim.Terrain.BasicTerrain.dll.build +++ b/OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.dll.build | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim.Terrain.BasicTerrain" default="build"> | 2 | <project name="OpenSim.Region.Terrain.BasicTerrain" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
@@ -8,7 +8,7 @@ | |||
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> | 10 | <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> |
11 | <resources prefix="OpenSim.Terrain.BasicTerrain" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Terrain.BasicTerrain" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="TerrainEngine.cs" /> | 14 | <include name="TerrainEngine.cs" /> |
@@ -20,18 +20,18 @@ | |||
20 | <include name="${project::get-base-directory()}" /> | 20 | <include name="${project::get-base-directory()}" /> |
21 | <include name="${project::get-base-directory()}/${build.dir}" /> | 21 | <include name="${project::get-base-directory()}/${build.dir}" /> |
22 | </lib> | 22 | </lib> |
23 | <include name="../../bin/libTerrain-BSD.dll" /> | 23 | <include name="../../../bin/libTerrain-BSD.dll" /> |
24 | <include name="Microsoft.JScript.dll" /> | 24 | <include name="Microsoft.JScript.dll" /> |
25 | <include name="../../bin/openjpegnet.dll" /> | 25 | <include name="../../../bin/openjpegnet.dll" /> |
26 | <include name="System.dll" /> | 26 | <include name="System.dll" /> |
27 | <include name="System.Data.dll" /> | 27 | <include name="System.Data.dll" /> |
28 | <include name="System.Drawing.dll" /> | 28 | <include name="System.Drawing.dll" /> |
29 | <include name="System.Xml.dll" /> | 29 | <include name="System.Xml.dll" /> |
30 | </references> | 30 | </references> |
31 | </csc> | 31 | </csc> |
32 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> | 32 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" /> |
33 | <mkdir dir="${project::get-base-directory()}/../../bin/"/> | 33 | <mkdir dir="${project::get-base-directory()}/../../../bin/"/> |
34 | <copy todir="${project::get-base-directory()}/../../bin/"> | 34 | <copy todir="${project::get-base-directory()}/../../../bin/"> |
35 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 35 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
36 | <include name="*.dll"/> | 36 | <include name="*.dll"/> |
37 | <include name="*.exe"/> | 37 | <include name="*.exe"/> |
diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/Properties/AssemblyInfo.cs b/OpenSim/Region/Terrain.BasicTerrain/Properties/AssemblyInfo.cs index 827c68f..7d10ae3 100644 --- a/OpenSim/OpenSim.Terrain.BasicTerrain/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/Properties/AssemblyInfo.cs | |||
@@ -32,11 +32,11 @@ using System.Runtime.InteropServices; | |||
32 | // General Information about an assembly is controlled through the following | 32 | // General Information about an assembly is controlled through the following |
33 | // set of attributes. Change these attribute values to modify the information | 33 | // set of attributes. Change these attribute values to modify the information |
34 | // associated with an assembly. | 34 | // associated with an assembly. |
35 | [assembly: AssemblyTitle("OpenSim.Terrain.BasicTerrain")] | 35 | [assembly: AssemblyTitle("OpenSim.Region.Terrain.BasicTerrain")] |
36 | [assembly: AssemblyDescription("")] | 36 | [assembly: AssemblyDescription("")] |
37 | [assembly: AssemblyConfiguration("")] | 37 | [assembly: AssemblyConfiguration("")] |
38 | [assembly: AssemblyCompany("")] | 38 | [assembly: AssemblyCompany("")] |
39 | [assembly: AssemblyProduct("OpenSim.Terrain.BasicTerrain")] | 39 | [assembly: AssemblyProduct("OpenSim.Region.Terrain.BasicTerrain")] |
40 | [assembly: AssemblyCopyright("Copyright © 2007")] | 40 | [assembly: AssemblyCopyright("Copyright © 2007")] |
41 | [assembly: AssemblyTrademark("")] | 41 | [assembly: AssemblyTrademark("")] |
42 | [assembly: AssemblyCulture("")] | 42 | [assembly: AssemblyCulture("")] |
diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index 4f989fa..c2d7e86 100644 --- a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -32,7 +32,7 @@ using System.Drawing; | |||
32 | using libTerrain; | 32 | using libTerrain; |
33 | using OpenJPEGNet; | 33 | using OpenJPEGNet; |
34 | 34 | ||
35 | namespace OpenSim.Terrain | 35 | namespace OpenSim.Region.Terrain |
36 | { | 36 | { |
37 | public class TerrainCommand | 37 | public class TerrainCommand |
38 | { | 38 | { |
diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainFilter.cs index 5baf87f..e0ae586 100644 --- a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainFilter.cs | |||
@@ -36,7 +36,7 @@ using Microsoft.JScript; | |||
36 | 36 | ||
37 | using libTerrain; | 37 | using libTerrain; |
38 | 38 | ||
39 | namespace OpenSim.Terrain | 39 | namespace OpenSim.Region.Terrain |
40 | { | 40 | { |
41 | public interface ITerrainFilter | 41 | public interface ITerrainFilter |
42 | { | 42 | { |
diff --git a/bin/DotSets.dll b/bin/DotSets.dll new file mode 100644 index 0000000..5225651 --- /dev/null +++ b/bin/DotSets.dll | |||
Binary files differ | |||
diff --git a/bin/Mono.PEToolkit.dll b/bin/Mono.PEToolkit.dll new file mode 100644 index 0000000..b4c3e70 --- /dev/null +++ b/bin/Mono.PEToolkit.dll | |||
Binary files differ | |||
diff --git a/bin/XMLRPC.dll b/bin/XMLRPC.dll new file mode 100644 index 0000000..adf7297 --- /dev/null +++ b/bin/XMLRPC.dll | |||
Binary files differ | |||
diff --git a/bin/libsecondlife.dll b/bin/libsecondlife.dll index 364d8fb..1715011 100644 --- a/bin/libsecondlife.dll +++ b/bin/libsecondlife.dll | |||
Binary files differ | |||
diff --git a/libraries/libLSL/libLSL.csproj b/libraries/libLSL/libLSL.csproj deleted file mode 100644 index fe8822b..0000000 --- a/libraries/libLSL/libLSL.csproj +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
4 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
5 | <ProductVersion>8.0.50727</ProductVersion> | ||
6 | <SchemaVersion>2.0</SchemaVersion> | ||
7 | <ProjectGuid>{E213BD9C-85C9-4739-B613-E1B58543370C}</ProjectGuid> | ||
8 | <OutputType>Library</OutputType> | ||
9 | <AppDesignerFolder>Properties</AppDesignerFolder> | ||
10 | <RootNamespace>libLSL</RootNamespace> | ||
11 | <AssemblyName>libLSL</AssemblyName> | ||
12 | </PropertyGroup> | ||
13 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
14 | <DebugSymbols>true</DebugSymbols> | ||
15 | <DebugType>full</DebugType> | ||
16 | <Optimize>false</Optimize> | ||
17 | <OutputPath>bin\Debug\</OutputPath> | ||
18 | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||
19 | <ErrorReport>prompt</ErrorReport> | ||
20 | <WarningLevel>4</WarningLevel> | ||
21 | </PropertyGroup> | ||
22 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
23 | <DebugType>pdbonly</DebugType> | ||
24 | <Optimize>true</Optimize> | ||
25 | <OutputPath>bin\Release\</OutputPath> | ||
26 | <DefineConstants>TRACE</DefineConstants> | ||
27 | <ErrorReport>prompt</ErrorReport> | ||
28 | <WarningLevel>4</WarningLevel> | ||
29 | </PropertyGroup> | ||
30 | <ItemGroup> | ||
31 | <Reference Include="System" /> | ||
32 | <Reference Include="System.Data" /> | ||
33 | <Reference Include="System.Xml" /> | ||
34 | </ItemGroup> | ||
35 | <ItemGroup> | ||
36 | <Compile Include="lsl.cs" /> | ||
37 | <Compile Include="lslByteCode.cs" /> | ||
38 | <Compile Include="lslscript.cs" /> | ||
39 | <Compile Include="Properties\AssemblyInfo.cs" /> | ||
40 | </ItemGroup> | ||
41 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
42 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
43 | Other similar extension points exist, see Microsoft.Common.targets. | ||
44 | <Target Name="BeforeBuild"> | ||
45 | </Target> | ||
46 | <Target Name="AfterBuild"> | ||
47 | </Target> | ||
48 | --> | ||
49 | </Project> \ No newline at end of file | ||
diff --git a/libraries/libLSL/lsl.cs b/libraries/libLSL/lsl.cs deleted file mode 100644 index 37a6429..0000000 --- a/libraries/libLSL/lsl.cs +++ /dev/null | |||
@@ -1,329 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace libLSL | ||
6 | { | ||
7 | |||
8 | |||
9 | enum lslVarType : byte | ||
10 | { | ||
11 | VARTYPE_VOID = 0, | ||
12 | VARTYPE_INTEGER = 1, | ||
13 | VARTYPE_FLOAT = 2, | ||
14 | VARTYPE_STRING = 3, | ||
15 | VARTYPE_KEY = 4, | ||
16 | VARTYPE_VECTOR = 5, | ||
17 | VARTYPE_ROTATION = 6, | ||
18 | VARTYPE_LIST = 7 | ||
19 | } | ||
20 | |||
21 | enum lslEventType : byte | ||
22 | { | ||
23 | EVENT_STATE_ENTRY = 0, | ||
24 | EVENT_STATE_EXIT = 1, | ||
25 | EVENT_TOUCH_START = 2, | ||
26 | EVENT_TOUCH = 3, | ||
27 | EVENT_TOUCH_END = 4, | ||
28 | EVENT_COLLISION_START = 5, | ||
29 | EVENT_COLLISION = 6, | ||
30 | EVENT_COLLISION_END = 7, | ||
31 | EVENT_LAND_COLLISION_START = 8, | ||
32 | EVENT_LAND_COLLISION = 9, | ||
33 | EVENT_LAND_COLLISION_END = 10, | ||
34 | EVENT_TIMER = 11, | ||
35 | EVENT_LISTEN = 12, | ||
36 | EVENT_ON_REZ = 13, | ||
37 | EVENT_SENSOR = 14, | ||
38 | EVENT_NO_SENSOR = 15, | ||
39 | EVENT_CONTROL = 16, | ||
40 | EVENT_MONEY = 17, | ||
41 | EVENT_EMAIL = 18, | ||
42 | EVENT_AT_TARGET = 19, | ||
43 | EVENT_NOT_AT_TARGET = 20, | ||
44 | EVENT_AT_ROT_TARGET = 21, | ||
45 | EVENT_NOT_AT_ROT_TARGET = 22, | ||
46 | EVENT_RUN_TIME_PERMISSIONS = 23, | ||
47 | EVENT_CHANGED = 24, | ||
48 | EVENT_ATTACH = 25, | ||
49 | EVENT_DATASERVER = 26, | ||
50 | EVENT_LINK_MESSAGE = 27, | ||
51 | EVENT_MOVING_START = 28, | ||
52 | EVENT_MOVING_END = 29, | ||
53 | EVENT_OBJECT_REZ = 30, | ||
54 | EVENT_REMOTE_DATA = 31, | ||
55 | EVENT_HTTP_RESPONSE = 32 | ||
56 | } | ||
57 | |||
58 | enum lslOpcodes : byte | ||
59 | { | ||
60 | // No Operation | ||
61 | OP_NOOP = 0x00, | ||
62 | |||
63 | // Pops | ||
64 | OP_POP = 0x01, | ||
65 | OP_POPS = 0x02, | ||
66 | OP_POPL = 0x03, | ||
67 | OP_POPV = 0x04, | ||
68 | OP_POPQ = 0x05, | ||
69 | OP_POPARG = 0x06, | ||
70 | OP_POPIP = 0x07, | ||
71 | OP_POPBP = 0x08, | ||
72 | OP_POPSP = 0x09, | ||
73 | OP_POPSLR = 0x0A, | ||
74 | |||
75 | // Dupes | ||
76 | OP_DUP = 0x20, | ||
77 | OP_DUPS = 0x21, | ||
78 | OP_DUPL = 0x22, | ||
79 | OP_DUPV = 0x23, | ||
80 | OP_DUPQ = 0x24, | ||
81 | |||
82 | // Stores | ||
83 | OP_STORE = 0x30, | ||
84 | OP_STORES = 0x31, | ||
85 | OP_STOREL = 0x32, | ||
86 | OP_STOREV = 0x33, | ||
87 | OP_STOREQ = 0x34, | ||
88 | OP_STOREG = 0x35, | ||
89 | OP_STOREGS = 0x36, | ||
90 | OP_STOREGL = 0x37, | ||
91 | OP_STOREGV = 0x38, | ||
92 | OP_STOREGQ = 0x39, | ||
93 | |||
94 | // Loads | ||
95 | OP_LOADP = 0x3A, | ||
96 | OP_LOADSP = 0x3B, | ||
97 | OP_LOADLP = 0x3C, | ||
98 | OP_LOADVP = 0x3D, | ||
99 | OP_LOADQP = 0x3E, | ||
100 | OP_LOADGP = 0x3F, | ||
101 | OP_LOADGSP = 0x40, | ||
102 | OP_LOADGLP = 0x41, | ||
103 | OP_LOADGVP = 0x42, | ||
104 | OP_LOADGQP = 0x43, | ||
105 | |||
106 | // Pushes | ||
107 | OP_PUSH = 0x50, | ||
108 | OP_PUSHS = 0x51, | ||
109 | OP_PUSHL = 0x52, | ||
110 | OP_PUSHV = 0x53, | ||
111 | OP_PUSHQ = 0x54, | ||
112 | OP_PUSHG = 0x55, | ||
113 | OP_PUSHGS = 0x56, | ||
114 | OP_PUSHGL = 0x57, | ||
115 | OP_PUSHGV = 0x58, | ||
116 | OP_PUSHGQ = 0x59, | ||
117 | OP_PUSHIP = 0x5A, | ||
118 | OP_PUSHBP = 0x5B, | ||
119 | OP_PUSHSP = 0x5C, | ||
120 | OP_PUSHARGB = 0x5D, | ||
121 | OP_PUSHARGI = 0x5E, | ||
122 | OP_PUSHARGF = 0x5F, | ||
123 | OP_PUSHARGS = 0x60, | ||
124 | OP_PUSHARGV = 0x61, | ||
125 | OP_PUSHARGQ = 0x62, | ||
126 | OP_PUSHE = 0x63, | ||
127 | OP_PUSHEV = 0x64, | ||
128 | OP_PUSHEQ = 0x65, | ||
129 | OP_PUSHARGE = 0x66, | ||
130 | |||
131 | // Numerics | ||
132 | OP_ADD = 0x70, | ||
133 | OP_SUB = 0x71, | ||
134 | OP_MUL = 0x72, | ||
135 | OP_DIV = 0x73, | ||
136 | OP_MOD = 0x74, | ||
137 | OP_EQ = 0x75, | ||
138 | OP_NEQ = 0x76, | ||
139 | OP_LEQ = 0x77, | ||
140 | OP_GEQ = 0x78, | ||
141 | OP_LESS = 0x79, | ||
142 | OP_GREATER = 0x7A, | ||
143 | OP_BITAND = 0x7B, | ||
144 | OP_BITOR = 0x7C, | ||
145 | OP_BITXOR = 0x7D, | ||
146 | OP_BOOLAND = 0x7E, | ||
147 | OP_BOOLOR = 0x7F, | ||
148 | OP_NEG = 0x80, | ||
149 | OP_BITNOT = 0x81, | ||
150 | OP_BOOLNOT = 0x82, | ||
151 | |||
152 | // Sequence | ||
153 | OP_JUMP = 0x90, | ||
154 | OP_JUMPIF = 0x91, | ||
155 | OP_JUMPNIF = 0x92, | ||
156 | OP_STATE = 0x93, | ||
157 | OP_CALL = 0x94, | ||
158 | OP_RETURN = 0x95, | ||
159 | |||
160 | // Cast | ||
161 | OP_CAST = 0xA0, | ||
162 | |||
163 | // Stack | ||
164 | OP_STACKTOS = 0xB0, | ||
165 | OP_STACKTOL = 0xB1, | ||
166 | |||
167 | // Debug | ||
168 | OP_PRINT = 0xC0, | ||
169 | |||
170 | // Library | ||
171 | OP_CALLLIB = 0xD0, | ||
172 | OP_CALLLIB_TWO_BYTE = 0xD1, | ||
173 | |||
174 | // More Numerics | ||
175 | OP_SHL = 0xE0, | ||
176 | OP_SHR = 0xE1 | ||
177 | } | ||
178 | |||
179 | class lslHeader | ||
180 | { | ||
181 | int TM; // Top of memory | ||
182 | int IP; // Instruction pointer | ||
183 | int VN; // Version Number (0x00000200) | ||
184 | int BP; // Base Pointer | ||
185 | int SP; // Stack Pointer | ||
186 | int HR; // Heap Register | ||
187 | int HP; // Heap Pointer | ||
188 | int CS; // Current State | ||
189 | int NS; // Next State | ||
190 | int CE; // Current Events (Which events need running still?) | ||
191 | int IE; // In Event | ||
192 | int ER; // Event Register | ||
193 | int FR; // Fault Register | ||
194 | int SLR; // Sleep Register | ||
195 | int GVR; // Global Variable Register (Pointer) | ||
196 | int GFR; // Global Function Register (Pointer) | ||
197 | int PR; // Parameter Register - OnRez Int? | ||
198 | int ESR; // Energy Supply Register | ||
199 | int SR; // State Register | ||
200 | long NCE; // Extended Current Events | ||
201 | long NIE; // Extended In Event | ||
202 | long NER; // Extended Event Register | ||
203 | |||
204 | public void readFromBytes(byte[] data) | ||
205 | { | ||
206 | |||
207 | } | ||
208 | } | ||
209 | |||
210 | class lslStaticBlock | ||
211 | { | ||
212 | int length; // Length (bytes) | ||
213 | lslVarType varType;// Variable Type | ||
214 | byte unknown; // Unknown | ||
215 | Object varObject; // Variable Object | ||
216 | |||
217 | public void readFromBytes(byte[] data) | ||
218 | { | ||
219 | |||
220 | } | ||
221 | |||
222 | } | ||
223 | |||
224 | class lslHeapBlock | ||
225 | { | ||
226 | int length; | ||
227 | lslVarType varType; | ||
228 | short referenceCount; | ||
229 | Object varObject; | ||
230 | |||
231 | public void readFromBytes(byte[] data) | ||
232 | { | ||
233 | |||
234 | } | ||
235 | } | ||
236 | |||
237 | class lslStatePointer | ||
238 | { | ||
239 | int location; | ||
240 | long eventMask; | ||
241 | |||
242 | public void readFromBytes(byte[] data) | ||
243 | { | ||
244 | |||
245 | } | ||
246 | } | ||
247 | |||
248 | class lslStateFrameBlock | ||
249 | { | ||
250 | int number; | ||
251 | lslStatePointer[] pointers; | ||
252 | |||
253 | public void readFromBytes(byte[] data) | ||
254 | { | ||
255 | |||
256 | } | ||
257 | } | ||
258 | |||
259 | class lslStateBlockElement | ||
260 | { | ||
261 | int pointerToCode; | ||
262 | int callFrameSize; | ||
263 | |||
264 | public void readFromBytes(byte[] data) | ||
265 | { | ||
266 | |||
267 | } | ||
268 | } | ||
269 | |||
270 | class lslStateBlock | ||
271 | { | ||
272 | int length; | ||
273 | byte unknown; | ||
274 | |||
275 | lslStateBlockElement[] handlers; // ? | ||
276 | |||
277 | public void readFromBytes(byte[] data) | ||
278 | { | ||
279 | |||
280 | } | ||
281 | } | ||
282 | |||
283 | class lslFunctioBlock | ||
284 | { | ||
285 | int number; | ||
286 | int[] pointers; // Relative to this -> codechunk | ||
287 | |||
288 | public void readFromBytes(byte[] data) | ||
289 | { | ||
290 | |||
291 | } | ||
292 | } | ||
293 | |||
294 | class lslCodeArgument | ||
295 | { | ||
296 | lslVarType type; | ||
297 | byte empty; | ||
298 | |||
299 | public void readFromBytes(byte[] data) | ||
300 | { | ||
301 | |||
302 | } | ||
303 | } | ||
304 | |||
305 | class lslCodeChunkHeader | ||
306 | { | ||
307 | int length; | ||
308 | string comment; | ||
309 | lslVarType returnType; | ||
310 | lslCodeArgument[] arguments; | ||
311 | byte empty; | ||
312 | |||
313 | public void readFromBytes(byte[] data) | ||
314 | { | ||
315 | |||
316 | } | ||
317 | } | ||
318 | |||
319 | class lslCodeChunk | ||
320 | { | ||
321 | lslCodeChunkHeader header; | ||
322 | lslByteCode bytecode; | ||
323 | |||
324 | public void readFromBytes(byte[] data) | ||
325 | { | ||
326 | |||
327 | } | ||
328 | } | ||
329 | } | ||
diff --git a/libraries/libLSL/lslByteCode.cs b/libraries/libLSL/lslByteCode.cs deleted file mode 100644 index 4dffe22..0000000 --- a/libraries/libLSL/lslByteCode.cs +++ /dev/null | |||
@@ -1,133 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace libLSL | ||
6 | { | ||
7 | class lslByteCode | ||
8 | { | ||
9 | byte[] bytecode; | ||
10 | |||
11 | public void executeStep() | ||
12 | { | ||
13 | byte ins = nextInstruction(); | ||
14 | lslOpcodes code = (lslOpcodes)ins; | ||
15 | |||
16 | Object arg1 = (Object)32; | ||
17 | Object arg2 = (Object)32; | ||
18 | |||
19 | switch (code) | ||
20 | { | ||
21 | case lslOpcodes.OP_NOOP: | ||
22 | break; | ||
23 | |||
24 | case lslOpcodes.OP_POP: | ||
25 | popBytes(4); | ||
26 | break; | ||
27 | |||
28 | case lslOpcodes.OP_POPS: | ||
29 | case lslOpcodes.OP_POPL: | ||
30 | // Do Stuff | ||
31 | break; | ||
32 | |||
33 | case lslOpcodes.OP_POPV: | ||
34 | popBytes(12); | ||
35 | break; | ||
36 | case lslOpcodes.OP_POPQ: | ||
37 | popBytes(16); | ||
38 | break; | ||
39 | |||
40 | case lslOpcodes.OP_POPARG: | ||
41 | popBytes((Int32)arg1); | ||
42 | break; | ||
43 | |||
44 | case lslOpcodes.OP_POPIP: | ||
45 | // Do Stuff | ||
46 | break; | ||
47 | |||
48 | case lslOpcodes.OP_POPBP: | ||
49 | // Do Stuff | ||
50 | break; | ||
51 | |||
52 | case lslOpcodes.OP_POPSP: | ||
53 | // Do Stuff | ||
54 | break; | ||
55 | |||
56 | case lslOpcodes.OP_POPSLR: | ||
57 | // Do Stuff | ||
58 | break; | ||
59 | |||
60 | case lslOpcodes.OP_DUP: | ||
61 | pushBytes(getBytes(4)); | ||
62 | break; | ||
63 | |||
64 | case lslOpcodes.OP_DUPS: | ||
65 | case lslOpcodes.OP_DUPL: | ||
66 | // Do Stuff | ||
67 | break; | ||
68 | |||
69 | case lslOpcodes.OP_DUPV: | ||
70 | pushBytes(getBytes(12)); | ||
71 | break; | ||
72 | |||
73 | case lslOpcodes.OP_DUPQ: | ||
74 | pushBytes(getBytes(16)); | ||
75 | break; | ||
76 | |||
77 | case lslOpcodes.OP_STORE: | ||
78 | // Somefin. | ||
79 | break; | ||
80 | |||
81 | default: | ||
82 | break; | ||
83 | } | ||
84 | } | ||
85 | |||
86 | /// <summary> | ||
87 | /// Advance the instruction pointer, pull the current instruction | ||
88 | /// </summary> | ||
89 | /// <returns></returns> | ||
90 | byte nextInstruction() | ||
91 | { | ||
92 | return 0; | ||
93 | } | ||
94 | |||
95 | /// <summary> | ||
96 | /// Removes bytes from the stack | ||
97 | /// </summary> | ||
98 | /// <param name="num">Number of bytes</param> | ||
99 | void popBytes(int num) | ||
100 | { | ||
101 | |||
102 | } | ||
103 | |||
104 | /// <summary> | ||
105 | /// Pushes Bytes to the stack | ||
106 | /// </summary> | ||
107 | /// <param name="bytes">Ze bytes!</param> | ||
108 | void pushBytes(byte[] bytes) | ||
109 | { | ||
110 | |||
111 | } | ||
112 | |||
113 | /// <summary> | ||
114 | /// Get Bytes from the stack | ||
115 | /// </summary> | ||
116 | /// <param name="num">Number of bytes</param> | ||
117 | /// <returns>Ze bytes!</returns> | ||
118 | byte[] getBytes(int num) | ||
119 | { | ||
120 | return new byte[1]; | ||
121 | } | ||
122 | |||
123 | /// <summary> | ||
124 | /// Saves bytes to the local frame | ||
125 | /// </summary> | ||
126 | /// <param name="bytes">Ze bytes!</param> | ||
127 | /// <param name="index">Index in local frame</param> | ||
128 | void storeBytes(byte[] bytes, int index) | ||
129 | { | ||
130 | |||
131 | } | ||
132 | } | ||
133 | } | ||
diff --git a/libraries/libLSL/lslscript.cs b/libraries/libLSL/lslscript.cs deleted file mode 100644 index d9d57bd..0000000 --- a/libraries/libLSL/lslscript.cs +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace libLSL | ||
6 | { | ||
7 | public class LSLScript | ||
8 | { | ||
9 | } | ||
10 | } | ||
diff --git a/libraries/libTerrain/libTerrain.sln b/libraries/libTerrain/libTerrain.sln deleted file mode 100644 index 3ccfe23..0000000 --- a/libraries/libTerrain/libTerrain.sln +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 |  | ||
2 | Microsoft Visual Studio Solution File, Format Version 9.00 | ||
3 | # Visual Studio 2005 | ||
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "libTerrainTests", "libTerrainTests\libTerrainTests.csproj", "{7214C9E2-1390-41BD-BFFC-83FA5931C5CF}" | ||
5 | EndProject | ||
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "libTerrain-BSD", "libTerrain\libTerrain-BSD.csproj", "{EEC06368-30E8-42E8-A23C-2C9D139AD495}" | ||
7 | EndProject | ||
8 | Global | ||
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
10 | Debug|Any CPU = Debug|Any CPU | ||
11 | Release|Any CPU = Release|Any CPU | ||
12 | EndGlobalSection | ||
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
14 | {7214C9E2-1390-41BD-BFFC-83FA5931C5CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
15 | {7214C9E2-1390-41BD-BFFC-83FA5931C5CF}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
16 | {7214C9E2-1390-41BD-BFFC-83FA5931C5CF}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
17 | {7214C9E2-1390-41BD-BFFC-83FA5931C5CF}.Release|Any CPU.Build.0 = Release|Any CPU | ||
18 | {EEC06368-30E8-42E8-A23C-2C9D139AD495}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
19 | {EEC06368-30E8-42E8-A23C-2C9D139AD495}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
20 | {EEC06368-30E8-42E8-A23C-2C9D139AD495}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
21 | {EEC06368-30E8-42E8-A23C-2C9D139AD495}.Release|Any CPU.Build.0 = Release|Any CPU | ||
22 | EndGlobalSection | ||
23 | GlobalSection(SolutionProperties) = preSolution | ||
24 | HideSolutionNode = FALSE | ||
25 | EndGlobalSection | ||
26 | EndGlobal | ||
diff --git a/libraries/libTerrain/libTerrain/Bitmap/Bitmap.cs b/libraries/libTerrain/libTerrain/Bitmap/Bitmap.cs deleted file mode 100644 index 923da47..0000000 --- a/libraries/libTerrain/libTerrain/Bitmap/Bitmap.cs +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | using System.Drawing; | ||
36 | |||
37 | namespace libTerrain | ||
38 | { | ||
39 | class Raster | ||
40 | { | ||
41 | int w; | ||
42 | int h; | ||
43 | Bitmap bmp; | ||
44 | |||
45 | public Raster(int width, int height) | ||
46 | { | ||
47 | w = width; | ||
48 | h = height; | ||
49 | bmp = new Bitmap(width, height, System.Drawing.Imaging.PixelFormat.Format24bppRgb); | ||
50 | } | ||
51 | |||
52 | public Channel toChannel() | ||
53 | { | ||
54 | Channel chan = new Channel(bmp.Width, bmp.Height); | ||
55 | |||
56 | int x, y; | ||
57 | for (x = 0; x < bmp.Width; x++) | ||
58 | { | ||
59 | for (y = 0; y < bmp.Height; y++) | ||
60 | { | ||
61 | Color val = bmp.GetPixel(x, y); | ||
62 | chan.map[x, y] = (((double)val.R + (double)val.G + (double)val.B) / 3.0) / 255.0; | ||
63 | } | ||
64 | } | ||
65 | |||
66 | return chan; | ||
67 | } | ||
68 | |||
69 | public void drawText(string txt, string font, double size) | ||
70 | { | ||
71 | Graphics gd = Graphics.FromImage(bmp); | ||
72 | //gd.DrawString(txt, | ||
73 | |||
74 | |||
75 | } | ||
76 | } | ||
77 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Channel.cs b/libraries/libTerrain/libTerrain/Channel/Channel.cs deleted file mode 100644 index 9849ef2..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Channel.cs +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | |||
37 | /* Channel | ||
38 | * A channel is a single heightmap array | ||
39 | * */ | ||
40 | |||
41 | namespace libTerrain | ||
42 | { | ||
43 | partial class Channel | ||
44 | { | ||
45 | public double[,] map; | ||
46 | public int w; | ||
47 | public int h; | ||
48 | |||
49 | public int seed = 1338; // One better than 1337 | ||
50 | |||
51 | public Channel() | ||
52 | { | ||
53 | w = 256; | ||
54 | h = 256; | ||
55 | map = new double[w, h]; | ||
56 | } | ||
57 | |||
58 | public Channel(int width, int height) | ||
59 | { | ||
60 | w = width; | ||
61 | h = height; | ||
62 | map = new double[w, h]; | ||
63 | } | ||
64 | |||
65 | } | ||
66 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Common.cs b/libraries/libTerrain/libTerrain/Channel/Common.cs deleted file mode 100644 index 438359c..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Common.cs +++ /dev/null | |||
@@ -1,228 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | |||
33 | using System; | ||
34 | using System.Collections.Generic; | ||
35 | using System.Text; | ||
36 | |||
37 | namespace libTerrain | ||
38 | { | ||
39 | public partial class Channel | ||
40 | { | ||
41 | public int getWidth() | ||
42 | { | ||
43 | return w; | ||
44 | } | ||
45 | public int getHeight() | ||
46 | { | ||
47 | return h; | ||
48 | } | ||
49 | |||
50 | public Channel copy() | ||
51 | { | ||
52 | Channel x = new Channel(w, h); | ||
53 | x.map = (double[,])this.map.Clone(); | ||
54 | return x; | ||
55 | } | ||
56 | |||
57 | public void set(int x, int y, double val) | ||
58 | { | ||
59 | if (x >= w) | ||
60 | throw new Exception("Bounds error while setting pixel (width)"); | ||
61 | if (y >= h) | ||
62 | throw new Exception("Bounds error while setting pixel (height)"); | ||
63 | if (x < 0) | ||
64 | throw new Exception("Bounds error while setting pixel (width)"); | ||
65 | if (y < 0) | ||
66 | throw new Exception("Bounds error while setting pixel (height)"); | ||
67 | |||
68 | map[x, y] = val; | ||
69 | } | ||
70 | |||
71 | public void setClip(int x, int y, double val) | ||
72 | { | ||
73 | if (x >= w) | ||
74 | throw new Exception("Bounds error while setting pixel (width)"); | ||
75 | if (y >= h) | ||
76 | throw new Exception("Bounds error while setting pixel (height)"); | ||
77 | if (x < 0) | ||
78 | throw new Exception("Bounds error while setting pixel (width)"); | ||
79 | if (y < 0) | ||
80 | throw new Exception("Bounds error while setting pixel (height)"); | ||
81 | |||
82 | if (val > 1.0) | ||
83 | val = 1.0; | ||
84 | if (val < 0.0) | ||
85 | val = 0.0; | ||
86 | |||
87 | map[x, y] = val; | ||
88 | } | ||
89 | |||
90 | private double getBilinearInterpolate(double x, double y) | ||
91 | { | ||
92 | if (x > w - 2.0) | ||
93 | x = w - 2.0; | ||
94 | if (y > h - 2.0) | ||
95 | y = h - 2.0; | ||
96 | if (x < 0.0) | ||
97 | x = 0.0; | ||
98 | if (y < 0.0) | ||
99 | y = 0.0; | ||
100 | |||
101 | int STEP_SIZE = 1; | ||
102 | double h00 = get((int)x, (int)y); | ||
103 | double h10 = get((int)x + STEP_SIZE, (int)y); | ||
104 | double h01 = get((int)x, (int)y + STEP_SIZE); | ||
105 | double h11 = get((int)x + STEP_SIZE, (int)y + STEP_SIZE); | ||
106 | double h1 = h00; | ||
107 | double h2 = h10; | ||
108 | double h3 = h01; | ||
109 | double h4 = h11; | ||
110 | double a00 = h1; | ||
111 | double a10 = h2 - h1; | ||
112 | double a01 = h3 - h1; | ||
113 | double a11 = h1 - h2 - h3 + h4; | ||
114 | double partialx = x - (int)x; | ||
115 | double partialz = y - (int)y; | ||
116 | double hi = a00 + (a10 * partialx) + (a01 * partialz) + (a11 * partialx * partialz); | ||
117 | return hi; | ||
118 | } | ||
119 | |||
120 | public double get(int x, int y) | ||
121 | { | ||
122 | if (x >= w) | ||
123 | x = w - 1; | ||
124 | if (y >= h) | ||
125 | y = h - 1; | ||
126 | if (x < 0) | ||
127 | x = 0; | ||
128 | if (y < 0) | ||
129 | y = 0; | ||
130 | return map[x, y]; | ||
131 | } | ||
132 | |||
133 | public void setWrap(int x, int y, double val) | ||
134 | { | ||
135 | map[x % w, y % h] = val; | ||
136 | } | ||
137 | |||
138 | public void setWrapClip(int x, int y, double val) | ||
139 | { | ||
140 | if (val > 1.0) | ||
141 | val = 1.0; | ||
142 | if (val < 0.0) | ||
143 | val = 0.0; | ||
144 | |||
145 | map[x % w, y % h] = val; | ||
146 | } | ||
147 | |||
148 | public void fill(double val) | ||
149 | { | ||
150 | int x, y; | ||
151 | for (x = 0; x < w; x++) | ||
152 | { | ||
153 | for (y = 0; y < h; y++) | ||
154 | { | ||
155 | map[x, y] = val; | ||
156 | } | ||
157 | } | ||
158 | } | ||
159 | |||
160 | public void fill(double min, double max, double val) | ||
161 | { | ||
162 | int x, y; | ||
163 | for (x = 0; x < w; x++) | ||
164 | { | ||
165 | for (y = 0; y < h; y++) | ||
166 | { | ||
167 | if (map[x, y] >= min && map[x, y] <= max) | ||
168 | map[x, y] = val; | ||
169 | } | ||
170 | } | ||
171 | } | ||
172 | |||
173 | public double findMax() | ||
174 | { | ||
175 | int x, y; | ||
176 | double max = double.MinValue; | ||
177 | |||
178 | for (x = 0; x < w; x++) | ||
179 | { | ||
180 | for (y = 0; y < h; y++) | ||
181 | { | ||
182 | if (map[x, y] > max) | ||
183 | max = map[x, y]; | ||
184 | } | ||
185 | } | ||
186 | |||
187 | return max; | ||
188 | } | ||
189 | |||
190 | public double findMin() | ||
191 | { | ||
192 | int x, y; | ||
193 | double min = double.MaxValue; | ||
194 | |||
195 | for (x = 0; x < w; x++) | ||
196 | { | ||
197 | for (y = 0; y < h; y++) | ||
198 | { | ||
199 | if (map[x, y] < min) | ||
200 | min = map[x, y]; | ||
201 | } | ||
202 | } | ||
203 | |||
204 | return min; | ||
205 | } | ||
206 | |||
207 | public double sum() | ||
208 | { | ||
209 | int x, y; | ||
210 | double sum = 0.0; | ||
211 | |||
212 | for (x = 0; x < w; x++) | ||
213 | { | ||
214 | for (y = 0; y < h; y++) | ||
215 | { | ||
216 | sum += map[x, y]; | ||
217 | } | ||
218 | } | ||
219 | |||
220 | return sum; | ||
221 | } | ||
222 | |||
223 | public double avg() | ||
224 | { | ||
225 | return sum() / (w * h); | ||
226 | } | ||
227 | } | ||
228 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Editing/Flatten.cs b/libraries/libTerrain/libTerrain/Channel/Editing/Flatten.cs deleted file mode 100644 index 5e5254d..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Editing/Flatten.cs +++ /dev/null | |||
@@ -1,102 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | |||
33 | using System; | ||
34 | using System.Collections.Generic; | ||
35 | using System.Text; | ||
36 | |||
37 | namespace libTerrain | ||
38 | { | ||
39 | partial class Channel | ||
40 | { | ||
41 | /// <summary> | ||
42 | /// Flattens the area underneath rx,ry by moving it to the average of the area. Uses a spherical mask provided by the raise() function. | ||
43 | /// </summary> | ||
44 | /// <param name="rx">The X coordinate of the terrain mask</param> | ||
45 | /// <param name="ry">The Y coordinate of the terrain mask</param> | ||
46 | /// <param name="size">The size of the terrain mask</param> | ||
47 | /// <param name="amount">The scale of the terrain mask</param> | ||
48 | public void flatten(double rx, double ry, double size, double amount) | ||
49 | { | ||
50 | // Generate the mask | ||
51 | Channel temp = new Channel(w, h); | ||
52 | temp.fill(0); | ||
53 | temp.raise(rx, ry, size, amount); | ||
54 | temp.normalise(); | ||
55 | double total_mod = temp.sum(); | ||
56 | |||
57 | // Establish the average height under the area | ||
58 | Channel newmap = new Channel(w, h); | ||
59 | newmap.map = (double[,])map.Clone(); | ||
60 | |||
61 | newmap *= temp; | ||
62 | |||
63 | double total_terrain = newmap.sum(); | ||
64 | double avg_height = total_terrain / total_mod; | ||
65 | |||
66 | // Create a flat terrain using the average height | ||
67 | Channel flat = new Channel(w, h); | ||
68 | flat.fill(avg_height); | ||
69 | |||
70 | // Blend the current terrain with the average height terrain | ||
71 | // using the "raised" empty terrain as a mask | ||
72 | blend(flat, temp); | ||
73 | |||
74 | } | ||
75 | |||
76 | public void flatten(Channel mask, double amount) | ||
77 | { | ||
78 | // Generate the mask | ||
79 | Channel temp = mask * amount; | ||
80 | temp.clip(0, 1); // Cut off out-of-bounds values | ||
81 | |||
82 | double total_mod = temp.sum(); | ||
83 | |||
84 | // Establish the average height under the area | ||
85 | Channel map = new Channel(w, h); | ||
86 | map.map = (double[,])this.map.Clone(); | ||
87 | |||
88 | map *= temp; | ||
89 | |||
90 | double total_terrain = map.sum(); | ||
91 | double avg_height = total_terrain / total_mod; | ||
92 | |||
93 | // Create a flat terrain using the average height | ||
94 | Channel flat = new Channel(w, h); | ||
95 | flat.fill(avg_height); | ||
96 | |||
97 | // Blend the current terrain with the average height terrain | ||
98 | // using the "raised" empty terrain as a mask | ||
99 | blend(flat, temp); | ||
100 | } | ||
101 | } | ||
102 | } \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Editing/Raise.cs b/libraries/libTerrain/libTerrain/Channel/Editing/Raise.cs deleted file mode 100644 index ce1ce98..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Editing/Raise.cs +++ /dev/null | |||
@@ -1,117 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | |||
33 | using System; | ||
34 | using System.Collections.Generic; | ||
35 | using System.Text; | ||
36 | |||
37 | namespace libTerrain | ||
38 | { | ||
39 | partial class Channel | ||
40 | { | ||
41 | /// <summary> | ||
42 | /// Raises land around the selection | ||
43 | /// </summary> | ||
44 | /// <param name="rx">The center the X coordinate of where you wish to raise the land</param> | ||
45 | /// <param name="ry">The center the Y coordinate of where you wish to raise the land</param> | ||
46 | /// <param name="size">The radius of the dimple</param> | ||
47 | /// <param name="amount">How much impact to add to the terrain (0..2 usually)</param> | ||
48 | public void raise(double rx, double ry, double size, double amount) | ||
49 | { | ||
50 | raiseSphere(rx, ry, size, amount); | ||
51 | } | ||
52 | |||
53 | /// <summary> | ||
54 | /// Raises land in a sphere around the selection | ||
55 | /// </summary> | ||
56 | /// <param name="rx">The center the X coordinate of where you wish to raise the land</param> | ||
57 | /// <param name="ry">The center the Y coordinate of where you wish to raise the land</param> | ||
58 | /// <param name="size">The radius of the sphere dimple</param> | ||
59 | /// <param name="amount">How much impact to add to the terrain (0..2 usually)</param> | ||
60 | public void raiseSphere(double rx, double ry, double size, double amount) | ||
61 | { | ||
62 | int x, y; | ||
63 | for (x = 0; x < w; x++) | ||
64 | { | ||
65 | for (y = 0; y < h; y++) | ||
66 | { | ||
67 | double z = size; | ||
68 | z *= z; | ||
69 | z -= ((x - rx) * (x - rx)) + ((y - ry) * (y - ry)); | ||
70 | |||
71 | if (z < 0) | ||
72 | z = 0; | ||
73 | |||
74 | map[x, y] += z * amount; | ||
75 | } | ||
76 | } | ||
77 | } | ||
78 | |||
79 | /// <summary> | ||
80 | /// Lowers land in a sphere around the selection | ||
81 | /// </summary> | ||
82 | /// <param name="rx">The center the X coordinate of where you wish to lower the land</param> | ||
83 | /// <param name="ry">The center the Y coordinate of where you wish to lower the land</param> | ||
84 | /// <param name="size">The radius of the sphere dimple</param> | ||
85 | /// <param name="amount">How much impact to remove from the terrain (0..2 usually)</param> | ||
86 | public void lower(double rx, double ry, double size, double amount) | ||
87 | { | ||
88 | lowerSphere(rx, ry, size, amount); | ||
89 | } | ||
90 | |||
91 | /// <summary> | ||
92 | /// Lowers land in a sphere around the selection | ||
93 | /// </summary> | ||
94 | /// <param name="rx">The center the X coordinate of where you wish to lower the land</param> | ||
95 | /// <param name="ry">The center the Y coordinate of where you wish to lower the land</param> | ||
96 | /// <param name="size">The radius of the sphere dimple</param> | ||
97 | /// <param name="amount">How much impact to remove from the terrain (0..2 usually)</param> | ||
98 | public void lowerSphere(double rx, double ry, double size, double amount) | ||
99 | { | ||
100 | int x, y; | ||
101 | for (x = 0; x < w; x++) | ||
102 | { | ||
103 | for (y = 0; y < h; y++) | ||
104 | { | ||
105 | double z = size; | ||
106 | z *= z; | ||
107 | z -= ((x - rx) * (x - rx)) + ((y - ry) * (y - ry)); | ||
108 | |||
109 | if (z < 0) | ||
110 | z = 0; | ||
111 | |||
112 | map[x, y] -= z * amount; | ||
113 | } | ||
114 | } | ||
115 | } | ||
116 | } | ||
117 | } \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/File.cs b/libraries/libTerrain/libTerrain/Channel/File.cs deleted file mode 100644 index 4163a5f..0000000 --- a/libraries/libTerrain/libTerrain/Channel/File.cs +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | using System.Drawing; | ||
36 | |||
37 | namespace libTerrain | ||
38 | { | ||
39 | partial class Channel | ||
40 | { | ||
41 | public Channel loadImage(string filename) | ||
42 | { | ||
43 | Bitmap bit = new Bitmap(filename); | ||
44 | Channel chan = new Channel(bit.Width, bit.Height); | ||
45 | |||
46 | int x, y; | ||
47 | for (x = 0; x < bit.Width; x++) | ||
48 | { | ||
49 | for (y = 0; y < bit.Height; y++) | ||
50 | { | ||
51 | Color val = bit.GetPixel(x, y); | ||
52 | chan.map[x, y] = (((double)val.R + (double)val.G + (double)val.B) / 3.0) / 255.0; | ||
53 | } | ||
54 | } | ||
55 | |||
56 | return chan; | ||
57 | } | ||
58 | |||
59 | public void saveImage(string filename) | ||
60 | { | ||
61 | Bitmap bit = new Bitmap(w, h, System.Drawing.Imaging.PixelFormat.Format24bppRgb); | ||
62 | int x, y; | ||
63 | for (x = 0; x < w; x++) | ||
64 | { | ||
65 | for (y = 0; y < h; y++) | ||
66 | { | ||
67 | int val = Math.Min(255, (int)(map[x,y] * 255)); | ||
68 | Color col = Color.FromArgb(val,val,val); | ||
69 | bit.SetPixel(x, y, col); | ||
70 | } | ||
71 | } | ||
72 | bit.Save(filename); | ||
73 | } | ||
74 | } | ||
75 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Generators/Cellular.cs b/libraries/libTerrain/libTerrain/Channel/Generators/Cellular.cs deleted file mode 100644 index 0cec05d..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Generators/Cellular.cs +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Needs BSD rewrite */ \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Generators/Fracture.cs b/libraries/libTerrain/libTerrain/Channel/Generators/Fracture.cs deleted file mode 100644 index 2a24ecf..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Generators/Fracture.cs +++ /dev/null | |||
@@ -1,113 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | /// <summary> | ||
41 | /// Produces a set of coordinates defined by an edge point. Eg - 0 = 0,0. 256 = 0,256. 512 = 256,256 | ||
42 | /// Assumes a 256^2 heightmap. This needs fixing for input values of w,h | ||
43 | /// </summary> | ||
44 | /// <param name="val"></param> | ||
45 | /// <param name="w"></param> | ||
46 | /// <param name="h"></param> | ||
47 | /// <returns></returns> | ||
48 | private int[] radialEdge256(int val) | ||
49 | { | ||
50 | // Four cases: | ||
51 | // 1. 000..255 return 0,val | ||
52 | // 2. 256..511 return val - 256,255 | ||
53 | // 3. 512..767 return 255, val - 511 | ||
54 | // 4. 768..1023 return val - 768,0 | ||
55 | |||
56 | int[] ret = new int[2]; | ||
57 | |||
58 | if (val < 256) | ||
59 | { | ||
60 | ret[0] = 0; | ||
61 | ret[1] = val; | ||
62 | return ret; | ||
63 | } | ||
64 | if (val < 512) | ||
65 | { | ||
66 | ret[0] = (val % 256); | ||
67 | ret[1] = 255; | ||
68 | return ret; | ||
69 | } | ||
70 | if (val < 768) | ||
71 | { | ||
72 | ret[0] = 255; | ||
73 | ret[1] = 255 - (val % 256); | ||
74 | return ret; | ||
75 | } | ||
76 | if (val < 1024) | ||
77 | { | ||
78 | ret[0] = 255 - (val % 256); | ||
79 | ret[1] = 255; | ||
80 | return ret; | ||
81 | } | ||
82 | |||
83 | throw new Exception("Out of bounds parameter (val)"); | ||
84 | } | ||
85 | public void fracture(int number, double scalemin, double scalemax) | ||
86 | { | ||
87 | Random rand = new Random(seed); | ||
88 | |||
89 | for (int i = 0; i < number; i++) | ||
90 | { | ||
91 | int[] a, b; | ||
92 | |||
93 | a = radialEdge256(rand.Next(1023)); // TODO: Broken | ||
94 | b = radialEdge256(rand.Next(1023)); // TODO: Broken | ||
95 | double z = rand.NextDouble(); | ||
96 | |||
97 | for (int x = 0; x < w; x++) | ||
98 | { | ||
99 | for (int y = 0; y < h; y++) | ||
100 | { | ||
101 | double miny = Tools.linearInterpolate(a[1], b[1], (double)x / (double)w); | ||
102 | |||
103 | if (y > miny) | ||
104 | { | ||
105 | map[x, y] += Tools.linearInterpolate(scalemin, scalemax, z); | ||
106 | } | ||
107 | } | ||
108 | } | ||
109 | } | ||
110 | normalise(); | ||
111 | } | ||
112 | } | ||
113 | } \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Generators/Gradient.cs b/libraries/libTerrain/libTerrain/Channel/Generators/Gradient.cs deleted file mode 100644 index 8f45bf7..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Generators/Gradient.cs +++ /dev/null | |||
@@ -1,67 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | |||
41 | public void gradientCube() | ||
42 | { | ||
43 | int x, y; | ||
44 | for (x = 0; x < w; x++) | ||
45 | { | ||
46 | for (y = 0; y < h; y++) | ||
47 | { | ||
48 | map[x, y] = x*y; | ||
49 | } | ||
50 | } | ||
51 | normalise(); | ||
52 | } | ||
53 | |||
54 | public void gradientStripe() | ||
55 | { | ||
56 | int x, y; | ||
57 | for (x = 0; x < w; x++) | ||
58 | { | ||
59 | for (y = 0; y < h; y++) | ||
60 | { | ||
61 | map[x, y] = x; | ||
62 | } | ||
63 | } | ||
64 | normalise(); | ||
65 | } | ||
66 | } | ||
67 | } \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Generators/HillPlanter.cs b/libraries/libTerrain/libTerrain/Channel/Generators/HillPlanter.cs deleted file mode 100644 index 9316911..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Generators/HillPlanter.cs +++ /dev/null | |||
@@ -1,278 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | /// <summary> | ||
41 | /// Generates a series of spheres which are then either max()'d or added together. Inspired by suggestion from jh. | ||
42 | /// </summary> | ||
43 | /// <remarks>3-Clause BSD Licensed</remarks> | ||
44 | /// <param name="number">The number of hills to generate</param> | ||
45 | /// <param name="scale_min">The minimum size of each hill</param> | ||
46 | /// <param name="scale_range">The maximum size of each hill</param> | ||
47 | /// <param name="island">Whether to bias hills towards the center of the map</param> | ||
48 | /// <param name="additive">Whether to add hills together or to pick the largest value</param> | ||
49 | /// <param name="noisy">Generates hill-shaped noise instead of consistent hills</param> | ||
50 | public void hillsSpheres(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy) | ||
51 | { | ||
52 | Random random = new Random(seed); | ||
53 | |||
54 | int x, y; | ||
55 | int i; | ||
56 | |||
57 | for (i = 0; i < number; i++) | ||
58 | { | ||
59 | double rx = Math.Min(255.0, random.NextDouble() * w); | ||
60 | double ry = Math.Min(255.0, random.NextDouble() * h); | ||
61 | double rand = random.NextDouble(); | ||
62 | |||
63 | if (island) | ||
64 | { | ||
65 | // Move everything towards the center | ||
66 | rx -= w / 2; | ||
67 | rx /= 2; | ||
68 | rx += w / 2; | ||
69 | |||
70 | ry -= h / 2; | ||
71 | ry /= 2; | ||
72 | ry += h / 2; | ||
73 | } | ||
74 | |||
75 | for (x = 0; x < w; x++) | ||
76 | { | ||
77 | for (y = 0; y < h; y++) | ||
78 | { | ||
79 | if (noisy) | ||
80 | rand = random.NextDouble(); | ||
81 | |||
82 | double z = (scale_min + (scale_range * rand)); | ||
83 | z *= z; | ||
84 | z -= ((x - rx) * (x - rx)) + ((y - ry) * (y - ry)); | ||
85 | |||
86 | if (z < 0) | ||
87 | z = 0; | ||
88 | |||
89 | if (additive) | ||
90 | { | ||
91 | map[x, y] += z; | ||
92 | } | ||
93 | else | ||
94 | { | ||
95 | map[x, y] = Math.Max(map[x, y], z); | ||
96 | } | ||
97 | } | ||
98 | } | ||
99 | } | ||
100 | |||
101 | normalise(); | ||
102 | } | ||
103 | |||
104 | /// <summary> | ||
105 | /// Generates a series of cones which are then either max()'d or added together. Inspired by suggestion from jh. | ||
106 | /// </summary> | ||
107 | /// <remarks>3-Clause BSD Licensed</remarks> | ||
108 | /// <param name="number">The number of hills to generate</param> | ||
109 | /// <param name="scale_min">The minimum size of each hill</param> | ||
110 | /// <param name="scale_range">The maximum size of each hill</param> | ||
111 | /// <param name="island">Whether to bias hills towards the center of the map</param> | ||
112 | /// <param name="additive">Whether to add hills together or to pick the largest value</param> | ||
113 | /// <param name="noisy">Generates hill-shaped noise instead of consistent hills</param> | ||
114 | public void hillsCones(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy) | ||
115 | { | ||
116 | Random random = new Random(seed); | ||
117 | |||
118 | int x, y; | ||
119 | int i; | ||
120 | |||
121 | for (i = 0; i < number; i++) | ||
122 | { | ||
123 | double rx = Math.Min(255.0, random.NextDouble() * w); | ||
124 | double ry = Math.Min(255.0, random.NextDouble() * h); | ||
125 | double rand = random.NextDouble(); | ||
126 | |||
127 | if (island) | ||
128 | { | ||
129 | // Move everything towards the center | ||
130 | rx -= w / 2; | ||
131 | rx /= 2; | ||
132 | rx += w / 2; | ||
133 | |||
134 | ry -= h / 2; | ||
135 | ry /= 2; | ||
136 | ry += h / 2; | ||
137 | } | ||
138 | |||
139 | for (x = 0; x < w; x++) | ||
140 | { | ||
141 | for (y = 0; y < h; y++) | ||
142 | { | ||
143 | if (noisy) | ||
144 | rand = random.NextDouble(); | ||
145 | |||
146 | double z = (scale_min + (scale_range * rand)); | ||
147 | z -= Math.Sqrt(((x - rx) * (x - rx)) + ((y - ry) * (y - ry))); | ||
148 | |||
149 | if (z < 0) | ||
150 | z = 0; | ||
151 | |||
152 | if (additive) | ||
153 | { | ||
154 | map[x, y] += z; | ||
155 | } | ||
156 | else | ||
157 | { | ||
158 | map[x, y] = Math.Max(map[x, y], z); | ||
159 | } | ||
160 | } | ||
161 | } | ||
162 | } | ||
163 | |||
164 | normalise(); | ||
165 | } | ||
166 | |||
167 | public void hillsBlocks(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy) | ||
168 | { | ||
169 | Random random = new Random(seed); | ||
170 | |||
171 | int x, y; | ||
172 | int i; | ||
173 | |||
174 | for (i = 0; i < number; i++) | ||
175 | { | ||
176 | double rx = Math.Min(255.0, random.NextDouble() * w); | ||
177 | double ry = Math.Min(255.0, random.NextDouble() * h); | ||
178 | double rand = random.NextDouble(); | ||
179 | |||
180 | if (island) | ||
181 | { | ||
182 | // Move everything towards the center | ||
183 | rx -= w / 2; | ||
184 | rx /= 2; | ||
185 | rx += w / 2; | ||
186 | |||
187 | ry -= h / 2; | ||
188 | ry /= 2; | ||
189 | ry += h / 2; | ||
190 | } | ||
191 | |||
192 | for (x = 0; x < w; x++) | ||
193 | { | ||
194 | for (y = 0; y < h; y++) | ||
195 | { | ||
196 | if (noisy) | ||
197 | rand = random.NextDouble(); | ||
198 | |||
199 | double z = (scale_min + (scale_range * rand)); | ||
200 | z -= Math.Abs(x-rx) + Math.Abs(y-ry); | ||
201 | //z -= Math.Sqrt(((x - rx) * (x - rx)) + ((y - ry) * (y - ry))); | ||
202 | |||
203 | if (z < 0) | ||
204 | z = 0; | ||
205 | |||
206 | if (additive) | ||
207 | { | ||
208 | map[x, y] += z; | ||
209 | } | ||
210 | else | ||
211 | { | ||
212 | map[x, y] = Math.Max(map[x, y], z); | ||
213 | } | ||
214 | } | ||
215 | } | ||
216 | } | ||
217 | |||
218 | normalise(); | ||
219 | } | ||
220 | |||
221 | public void hillsSquared(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy) | ||
222 | { | ||
223 | Random random = new Random(seed); | ||
224 | |||
225 | int x, y; | ||
226 | int i; | ||
227 | |||
228 | for (i = 0; i < number; i++) | ||
229 | { | ||
230 | double rx = Math.Min(255.0, random.NextDouble() * w); | ||
231 | double ry = Math.Min(255.0, random.NextDouble() * h); | ||
232 | double rand = random.NextDouble(); | ||
233 | |||
234 | if (island) | ||
235 | { | ||
236 | // Move everything towards the center | ||
237 | rx -= w / 2; | ||
238 | rx /= 2; | ||
239 | rx += w / 2; | ||
240 | |||
241 | ry -= h / 2; | ||
242 | ry /= 2; | ||
243 | ry += h / 2; | ||
244 | } | ||
245 | |||
246 | for (x = 0; x < w; x++) | ||
247 | { | ||
248 | for (y = 0; y < h; y++) | ||
249 | { | ||
250 | if (noisy) | ||
251 | rand = random.NextDouble(); | ||
252 | |||
253 | double z = (scale_min + (scale_range * rand)); | ||
254 | z *= z * z * z; | ||
255 | double dx = Math.Abs(x - rx); | ||
256 | double dy = Math.Abs(y - ry); | ||
257 | z -= (dx * dx * dx * dx) + (dy * dy * dy * dy); | ||
258 | |||
259 | if (z < 0) | ||
260 | z = 0; | ||
261 | |||
262 | if (additive) | ||
263 | { | ||
264 | map[x, y] += z; | ||
265 | } | ||
266 | else | ||
267 | { | ||
268 | map[x, y] = Math.Max(map[x, y], z); | ||
269 | } | ||
270 | } | ||
271 | } | ||
272 | } | ||
273 | |||
274 | normalise(); | ||
275 | } | ||
276 | |||
277 | } | ||
278 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Generators/Midpoint.cs b/libraries/libTerrain/libTerrain/Channel/Generators/Midpoint.cs deleted file mode 100644 index 0cec05d..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Generators/Midpoint.cs +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Needs BSD rewrite */ \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Generators/Mountain.cs b/libraries/libTerrain/libTerrain/Channel/Generators/Mountain.cs deleted file mode 100644 index 0cec05d..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Generators/Mountain.cs +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Needs BSD rewrite */ \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Generators/Noise.cs b/libraries/libTerrain/libTerrain/Channel/Generators/Noise.cs deleted file mode 100644 index 7789d3e..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Generators/Noise.cs +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | /// <summary> | ||
41 | /// Fills a channel with 0..1 noise | ||
42 | /// </summary> | ||
43 | /// <remarks>3-Clause BSD Licensed</remarks> | ||
44 | public void noise() | ||
45 | { | ||
46 | Random rand = new Random(seed); | ||
47 | int x, y; | ||
48 | for (x = 0; x < w; x++) | ||
49 | { | ||
50 | for (y = 0; y < h; y++) | ||
51 | { | ||
52 | map[x, y] = rand.NextDouble(); | ||
53 | } | ||
54 | } | ||
55 | } | ||
56 | } | ||
57 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Generators/Spiral.cs b/libraries/libTerrain/libTerrain/Channel/Generators/Spiral.cs deleted file mode 100644 index ede4600..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Generators/Spiral.cs +++ /dev/null | |||
@@ -1,152 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | private double[] coordinatesToPolar(int x, int y) | ||
41 | { | ||
42 | |||
43 | double theta = Math.Atan2(x - (w / 2), y - (h / 2)); | ||
44 | double rx = (double)x - ((double)w / 2); | ||
45 | double ry = (double)y - ((double)h / 2); | ||
46 | double r = Math.Sqrt((rx * rx) + (ry * ry)); | ||
47 | |||
48 | double[] coords = new double[2]; | ||
49 | coords[0] = r; | ||
50 | coords[1] = theta; | ||
51 | return coords; | ||
52 | } | ||
53 | |||
54 | public int[] polarToCoordinates(double r, double theta) { | ||
55 | double nx; | ||
56 | double ny; | ||
57 | |||
58 | nx = (double)r * Math.Cos(theta); | ||
59 | ny = (double)r * Math.Sin(theta); | ||
60 | |||
61 | nx += w / 2; | ||
62 | ny += h / 2; | ||
63 | |||
64 | if (nx >= w) | ||
65 | nx = w - 1; | ||
66 | |||
67 | if (ny >= h) | ||
68 | ny = h - 1; | ||
69 | |||
70 | if (nx < 0) | ||
71 | nx = 0; | ||
72 | |||
73 | if (ny < 0) | ||
74 | ny = 0; | ||
75 | |||
76 | int[] coords = new int[2]; | ||
77 | coords[0] = (int)nx; | ||
78 | coords[1] = (int)ny; | ||
79 | return coords; | ||
80 | } | ||
81 | |||
82 | public void Polar() | ||
83 | { | ||
84 | Channel n = this.copy(); | ||
85 | |||
86 | int x, y; | ||
87 | for (x = 0; x < w; x++) | ||
88 | { | ||
89 | for (y = 0; y < h; y++) | ||
90 | { | ||
91 | double[] coords = coordinatesToPolar(x,y); | ||
92 | |||
93 | coords[0] += w / 2.0; | ||
94 | coords[1] += h / 2.0; | ||
95 | |||
96 | map[x, y] = n.map[(int)coords[0] % n.w, (int)coords[1] % n.h]; | ||
97 | } | ||
98 | } | ||
99 | } | ||
100 | |||
101 | public void SpiralPlanter(int steps, double incAngle, double incRadius, double offsetRadius, double offsetAngle) | ||
102 | { | ||
103 | int i; | ||
104 | double r = offsetRadius; | ||
105 | double theta = offsetAngle; | ||
106 | for (i = 0; i < steps; i++) | ||
107 | { | ||
108 | r += incRadius; | ||
109 | theta += incAngle; | ||
110 | |||
111 | int[] coords = polarToCoordinates(r,theta); | ||
112 | raise(coords[0], coords[1], 20, 1); | ||
113 | } | ||
114 | } | ||
115 | |||
116 | public void SpiralCells(int steps, double incAngle, double incRadius, double offsetRadius, double offsetAngle, double[] c) | ||
117 | { | ||
118 | List<Point2D> points = new List<Point2D>(); | ||
119 | |||
120 | int i; | ||
121 | double r = offsetRadius; | ||
122 | double theta = offsetAngle; | ||
123 | for (i = 0; i < steps; i++) | ||
124 | { | ||
125 | r += incRadius; | ||
126 | theta += incAngle; | ||
127 | |||
128 | int[] coords = polarToCoordinates(r, theta); | ||
129 | points.Add(new Point2D(coords[0],coords[1])); | ||
130 | } | ||
131 | |||
132 | voronoiDiagram(points, c); | ||
133 | } | ||
134 | |||
135 | public void Spiral(double wid, double hig, double offset) | ||
136 | { | ||
137 | int x, y, z; | ||
138 | z = 0; | ||
139 | for (x = 0; x < w; x++) | ||
140 | { | ||
141 | for (y = 0; y < h; y++) | ||
142 | { | ||
143 | z++; | ||
144 | double dx = Math.Abs((w / 2) - x); | ||
145 | double dy = Math.Abs((h / 2) - y); | ||
146 | map[x, y] += Math.Sin(dx / wid) + Math.Cos(dy / hig); | ||
147 | } | ||
148 | } | ||
149 | normalise(); | ||
150 | } | ||
151 | } | ||
152 | } \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Generators/Voronoi.cs b/libraries/libTerrain/libTerrain/Channel/Generators/Voronoi.cs deleted file mode 100644 index df21ecc..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Generators/Voronoi.cs +++ /dev/null | |||
@@ -1,212 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | /// <summary> | ||
41 | /// Generates a Voronoi diagram (sort of a stained glass effect) which will fill the entire channel | ||
42 | /// </summary> | ||
43 | /// <remarks>3-Clause BSD Licensed</remarks> | ||
44 | /// <param name="pointsPerBlock">The number of generator points in each block</param> | ||
45 | /// <param name="blockSize">A multiple of the channel width and height which will have voronoi points generated in it. | ||
46 | /// <para>This is to ensure a more even distribution of the points than pure random allocation.</para></param> | ||
47 | /// <param name="c">The Voronoi diagram type. Usually an array with values consisting of [-1,1]. Experiment with the chain, you can have as many values as you like.</param> | ||
48 | public void voronoiDiagram(int pointsPerBlock, int blockSize, double[] c) | ||
49 | { | ||
50 | List<Point2D> points = new List<Point2D>(); | ||
51 | Random generator = new Random(seed); | ||
52 | |||
53 | // Generate the emitter points | ||
54 | int x, y, i; | ||
55 | for (x = -blockSize; x < w + blockSize; x += blockSize) | ||
56 | { | ||
57 | for (y = -blockSize; y < h + blockSize; y += blockSize) | ||
58 | { | ||
59 | for (i = 0; i < pointsPerBlock; i++) | ||
60 | { | ||
61 | double pX = x + (generator.NextDouble() * (double)blockSize); | ||
62 | double pY = y + (generator.NextDouble() * (double)blockSize); | ||
63 | |||
64 | points.Add(new Point2D(pX, pY)); | ||
65 | } | ||
66 | } | ||
67 | } | ||
68 | |||
69 | double[] distances = new double[points.Count]; | ||
70 | |||
71 | // Calculate the distance each pixel is from an emitter | ||
72 | for (x = 0; x < w; x++) | ||
73 | { | ||
74 | for (y = 0; y < h; y++) | ||
75 | { | ||
76 | for (i = 0; i < points.Count; i++) | ||
77 | { | ||
78 | double dx, dy; | ||
79 | dx = Math.Abs((double)x - points[i].x); | ||
80 | dy = Math.Abs((double)y - points[i].y); | ||
81 | |||
82 | distances[i] = (dx * dx + dy * dy); | ||
83 | } | ||
84 | |||
85 | Array.Sort(distances); | ||
86 | |||
87 | double f = 0.0; | ||
88 | |||
89 | // Multiply the distances with their 'c' counterpart | ||
90 | // ordering the distances descending | ||
91 | for (i = 0; i < c.Length; i++) | ||
92 | { | ||
93 | if (i >= points.Count) | ||
94 | break; | ||
95 | |||
96 | f += c[i] * distances[i]; | ||
97 | } | ||
98 | |||
99 | map[x, y] = f; | ||
100 | } | ||
101 | } | ||
102 | |||
103 | // Normalise the result | ||
104 | normalise(); | ||
105 | } | ||
106 | |||
107 | public void voronoiDiagram(List<Point2D> points, double[] c) | ||
108 | { | ||
109 | |||
110 | Random generator = new Random(seed); | ||
111 | int x, y, i; | ||
112 | double[] distances = new double[points.Count]; | ||
113 | |||
114 | // Calculate the distance each pixel is from an emitter | ||
115 | for (x = 0; x < w; x++) | ||
116 | { | ||
117 | for (y = 0; y < h; y++) | ||
118 | { | ||
119 | for (i = 0; i < points.Count; i++) | ||
120 | { | ||
121 | double dx, dy; | ||
122 | dx = Math.Abs((double)x - points[i].x); | ||
123 | dy = Math.Abs((double)y - points[i].y); | ||
124 | |||
125 | distances[i] = (dx * dx + dy * dy); | ||
126 | } | ||
127 | |||
128 | Array.Sort(distances); | ||
129 | |||
130 | double f = 0.0; | ||
131 | |||
132 | // Multiply the distances with their 'c' counterpart | ||
133 | // ordering the distances descending | ||
134 | for (i = 0; i < c.Length; i++) | ||
135 | { | ||
136 | if (i >= points.Count) | ||
137 | break; | ||
138 | |||
139 | f += c[i] * distances[i]; | ||
140 | } | ||
141 | |||
142 | map[x, y] = f; | ||
143 | } | ||
144 | } | ||
145 | |||
146 | // Normalise the result | ||
147 | normalise(); | ||
148 | } | ||
149 | |||
150 | public void voroflatDiagram(int pointsPerBlock, int blockSize) | ||
151 | { | ||
152 | List<Point2D> points = new List<Point2D>(); | ||
153 | Random generator = new Random(seed); | ||
154 | |||
155 | // Generate the emitter points | ||
156 | int x, y, i; | ||
157 | for (x = -blockSize; x < w + blockSize; x += blockSize) | ||
158 | { | ||
159 | for (y = -blockSize; y < h + blockSize; y += blockSize) | ||
160 | { | ||
161 | for (i = 0; i < pointsPerBlock; i++) | ||
162 | { | ||
163 | double pX = x + (generator.NextDouble() * (double)blockSize); | ||
164 | double pY = y + (generator.NextDouble() * (double)blockSize); | ||
165 | |||
166 | points.Add(new Point2D(pX, pY)); | ||
167 | } | ||
168 | } | ||
169 | } | ||
170 | |||
171 | double[] distances = new double[points.Count]; | ||
172 | |||
173 | // Calculate the distance each pixel is from an emitter | ||
174 | for (x = 0; x < w; x++) | ||
175 | { | ||
176 | for (y = 0; y < h; y++) | ||
177 | { | ||
178 | for (i = 0; i < points.Count; i++) | ||
179 | { | ||
180 | double dx, dy; | ||
181 | dx = Math.Abs((double)x - points[i].x); | ||
182 | dy = Math.Abs((double)y - points[i].y); | ||
183 | |||
184 | distances[i] = (dx * dx + dy * dy); | ||
185 | } | ||
186 | |||
187 | //Array.Sort(distances); | ||
188 | |||
189 | double f = 0.0; | ||
190 | |||
191 | double min = double.MaxValue; | ||
192 | for (int j = 0; j < distances.Length;j++ ) | ||
193 | { | ||
194 | if (distances[j] < min) | ||
195 | { | ||
196 | min = distances[j]; | ||
197 | f = j; | ||
198 | } | ||
199 | } | ||
200 | |||
201 | // Multiply the distances with their 'c' counterpart | ||
202 | // ordering the distances descending | ||
203 | |||
204 | map[x, y] = f; | ||
205 | } | ||
206 | } | ||
207 | |||
208 | // Normalise the result | ||
209 | normalise(); | ||
210 | } | ||
211 | } | ||
212 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Generators/Worms.cs b/libraries/libTerrain/libTerrain/Channel/Generators/Worms.cs deleted file mode 100644 index a54c946..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Generators/Worms.cs +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | /// <summary> | ||
41 | /// Generates 'number' of worms which navigate randomly around the landscape creating terrain as they go. | ||
42 | /// </summary> | ||
43 | /// <param name="number">The number of worms which will traverse the map</param> | ||
44 | /// <param name="rounds">The number of steps each worm will traverse</param> | ||
45 | /// <param name="movement">The maximum distance each worm will move each step</param> | ||
46 | /// <param name="size">The size of the area around the worm modified</param> | ||
47 | /// <param name="centerspawn">Do worms start in the middle, or randomly?</param> | ||
48 | public void worms(int number, int rounds, double movement, double size, bool centerspawn) | ||
49 | { | ||
50 | Random random = new Random(seed); | ||
51 | int i, j; | ||
52 | |||
53 | for (i = 0; i < number; i++) | ||
54 | { | ||
55 | double rx, ry; | ||
56 | if (centerspawn) | ||
57 | { | ||
58 | rx = w / 2.0; | ||
59 | ry = h / 2.0; | ||
60 | } | ||
61 | else | ||
62 | { | ||
63 | rx = random.NextDouble() * (w - 1); | ||
64 | ry = random.NextDouble() * (h - 1); | ||
65 | } | ||
66 | for (j = 0; j < rounds; j++) | ||
67 | { | ||
68 | rx += (random.NextDouble() * movement) - (movement / 2.0); | ||
69 | ry += (random.NextDouble() * movement) - (movement / 2.0); | ||
70 | raise(rx, ry, size, 1.0); | ||
71 | } | ||
72 | } | ||
73 | } | ||
74 | } | ||
75 | } \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Grid.cs b/libraries/libTerrain/libTerrain/Channel/Grid.cs deleted file mode 100644 index 41d20f6..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Grid.cs +++ /dev/null | |||
@@ -1,264 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | public Channel normalise() | ||
41 | { | ||
42 | double max = findMax(); | ||
43 | double min = findMin(); | ||
44 | |||
45 | int x, y; | ||
46 | |||
47 | for (x = 0; x < w; x++) | ||
48 | { | ||
49 | for (y = 0; y < h; y++) | ||
50 | { | ||
51 | map[x, y] = (map[x, y] - min) * (1.0 / (max - min)); | ||
52 | } | ||
53 | } | ||
54 | |||
55 | return this; | ||
56 | } | ||
57 | |||
58 | public Channel normalise(double minv, double maxv) | ||
59 | { | ||
60 | double max = findMax(); | ||
61 | double min = findMin(); | ||
62 | |||
63 | int x, y; | ||
64 | |||
65 | for (x = 0; x < w; x++) | ||
66 | { | ||
67 | for (y = 0; y < h; y++) | ||
68 | { | ||
69 | double val = (map[x, y] - min) * (1.0 / max - min); | ||
70 | val *= maxv - minv; | ||
71 | val += minv; | ||
72 | |||
73 | map[x, y] = val; | ||
74 | } | ||
75 | } | ||
76 | |||
77 | return this; | ||
78 | } | ||
79 | |||
80 | public Channel clip() | ||
81 | { | ||
82 | int x, y; | ||
83 | |||
84 | for (x = 0; x < w; x++) | ||
85 | { | ||
86 | for (y = 0; y < h; y++) | ||
87 | { | ||
88 | setClip(x, y, map[x, y]); | ||
89 | } | ||
90 | } | ||
91 | |||
92 | return this; | ||
93 | } | ||
94 | |||
95 | public Channel clip(double min, double max) | ||
96 | { | ||
97 | int x, y; | ||
98 | for (x = 0; x < w; x++) | ||
99 | { | ||
100 | for (y = 0; y < h; y++) | ||
101 | { | ||
102 | double val = map[x, y]; | ||
103 | if (val > max) val = max; | ||
104 | if (val < min) val = min; | ||
105 | map[x, y] = val; | ||
106 | } | ||
107 | } | ||
108 | return this; | ||
109 | } | ||
110 | |||
111 | public Channel crop(int x1, int y1, int x2, int y2) | ||
112 | { | ||
113 | int width = x1 - x2 + 1; | ||
114 | int height = y1 - y2 + 1; | ||
115 | Channel chan = new Channel(width, height); | ||
116 | |||
117 | int x, y; | ||
118 | int nx, ny; | ||
119 | |||
120 | nx = 0; | ||
121 | for (x = x1; x < x2; x++) | ||
122 | { | ||
123 | ny = 0; | ||
124 | for (y = y1; y < y2; y++) | ||
125 | { | ||
126 | chan.map[nx, ny] = map[x, y]; | ||
127 | |||
128 | ny++; | ||
129 | } | ||
130 | nx++; | ||
131 | } | ||
132 | |||
133 | return this; | ||
134 | } | ||
135 | |||
136 | public Channel addClip(Channel other) | ||
137 | { | ||
138 | int x, y; | ||
139 | for (x = 0; x < w; x++) | ||
140 | { | ||
141 | for (y = 0; y < h; y++) | ||
142 | { | ||
143 | map[x, y] = other.map[x, y]; | ||
144 | if (map[x, y] > 1) | ||
145 | map[x, y] = 1; | ||
146 | if (map[x, y] < 0) | ||
147 | map[x, y] = 0; | ||
148 | } | ||
149 | } | ||
150 | return this; | ||
151 | } | ||
152 | |||
153 | public void smooth(double amount) | ||
154 | { | ||
155 | double area = amount; | ||
156 | double step = amount / 4.0; | ||
157 | |||
158 | double[,] manipulate = new double[w, h]; | ||
159 | int x, y; | ||
160 | double n, l; | ||
161 | for (x = 0; x < w; x++) | ||
162 | { | ||
163 | for (y = 0; y < h; y++) | ||
164 | { | ||
165 | double average = 0.0; | ||
166 | int avgsteps = 0; | ||
167 | |||
168 | for (n = 0.0 - area; n < area; n += step) | ||
169 | { | ||
170 | for (l = 0.0 - area; l < area; l += step) | ||
171 | { | ||
172 | avgsteps++; | ||
173 | average += getBilinearInterpolate(x + n, y + l); | ||
174 | } | ||
175 | } | ||
176 | |||
177 | manipulate[x, y] = average / avgsteps; | ||
178 | } | ||
179 | } | ||
180 | map = manipulate; | ||
181 | } | ||
182 | |||
183 | public void pertubation(double amount) | ||
184 | { | ||
185 | // Simple pertubation filter | ||
186 | double[,] manipulated = new double[w, h]; | ||
187 | Random generator = new Random(seed); // Seeds FTW! | ||
188 | //double amount = 8.0; | ||
189 | |||
190 | int x, y; | ||
191 | for (x = 0; x < w; x++) | ||
192 | { | ||
193 | for (y = 0; y < h; y++) | ||
194 | { | ||
195 | double offset_x = (double)x + (generator.NextDouble() * amount) - (amount / 2.0); | ||
196 | double offset_y = (double)y + (generator.NextDouble() * amount) - (amount / 2.0); | ||
197 | double p = getBilinearInterpolate(offset_x, offset_y); | ||
198 | manipulated[x, y] = p; | ||
199 | } | ||
200 | } | ||
201 | map = manipulated; | ||
202 | } | ||
203 | |||
204 | public void pertubationMask(Channel mask) | ||
205 | { | ||
206 | // Simple pertubation filter | ||
207 | double[,] manipulated = new double[w, h]; | ||
208 | Random generator = new Random(seed); // Seeds FTW! | ||
209 | //double amount = 8.0; | ||
210 | |||
211 | double amount; | ||
212 | |||
213 | int x, y; | ||
214 | for (x = 0; x < w; x++) | ||
215 | { | ||
216 | for (y = 0; y < h; y++) | ||
217 | { | ||
218 | amount = mask.map[x, y]; | ||
219 | double offset_x = (double)x + (generator.NextDouble() * amount) - (amount / 2.0); | ||
220 | double offset_y = (double)y + (generator.NextDouble() * amount) - (amount / 2.0); | ||
221 | |||
222 | if (offset_x > w) | ||
223 | offset_x = w - 1; | ||
224 | if (offset_y > h) | ||
225 | offset_y = h - 1; | ||
226 | if (offset_y < 0) | ||
227 | offset_y = 0; | ||
228 | if (offset_x < 0) | ||
229 | offset_x = 0; | ||
230 | |||
231 | double p = getBilinearInterpolate(offset_x, offset_y); | ||
232 | manipulated[x, y] = p; | ||
233 | } | ||
234 | } | ||
235 | map = manipulated; | ||
236 | } | ||
237 | |||
238 | public Channel blend(Channel other, double amount) | ||
239 | { | ||
240 | int x, y; | ||
241 | for (x = 0; x < w; x++) | ||
242 | { | ||
243 | for (y = 0; y < h; y++) | ||
244 | { | ||
245 | map[x, y] = Tools.linearInterpolate(map[x,y],other.map[x,y],amount); | ||
246 | } | ||
247 | } | ||
248 | return this; | ||
249 | } | ||
250 | |||
251 | public Channel blend(Channel other, Channel amount) | ||
252 | { | ||
253 | int x, y; | ||
254 | for (x = 0; x < w; x++) | ||
255 | { | ||
256 | for (y = 0; y < h; y++) | ||
257 | { | ||
258 | map[x, y] = Tools.linearInterpolate(map[x, y], other.map[x, y], amount.map[x,y]); | ||
259 | } | ||
260 | } | ||
261 | return this; | ||
262 | } | ||
263 | } | ||
264 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Manipulators/AerobicErosion.cs b/libraries/libTerrain/libTerrain/Channel/Manipulators/AerobicErosion.cs deleted file mode 100644 index ebeabe9..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Manipulators/AerobicErosion.cs +++ /dev/null | |||
@@ -1,170 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | // Ideas for Aerobic erosion | ||
41 | // | ||
42 | // Unlike thermal (gravity) and hydraulic (water suspension) | ||
43 | // aerobic erosion should displace mass by moving sediment | ||
44 | // in "hops". The length of the hop being dictated by the | ||
45 | // presence of sharp cliffs and wind speed. | ||
46 | |||
47 | // The ability to pickup sediment is defined by the total | ||
48 | // surface area, such that: | ||
49 | // 0 0 0 | ||
50 | // 0 1 0 | ||
51 | // 0 0 0 | ||
52 | // Would be the best possible value for sediment to be | ||
53 | // picked up (total difference = 8) and flatter land | ||
54 | // will erode less quickly. | ||
55 | |||
56 | // Suspended particles assist the erosion process by hitting | ||
57 | // the surface and chiselling additional particles off faster | ||
58 | // than alone. | ||
59 | |||
60 | // Particles are deposited when one of two conditions is met | ||
61 | // First: | ||
62 | // When particles hit a wall - such that the | ||
63 | // wind direction points at a difference >= the | ||
64 | // deposition mininum talus. | ||
65 | // Second: | ||
66 | // When wind speed is lowered to below the minimum | ||
67 | // required for transit. An idea for this is to | ||
68 | // use the navier-stokes algorithms for simulating | ||
69 | // pressure across the terrain. | ||
70 | |||
71 | /// <summary> | ||
72 | /// An experimental erosion algorithm developed by Adam. Moves sediment by factoring the surface area of each height point. | ||
73 | /// </summary> | ||
74 | /// <param name="windspeed">0..1 The speed of the wind</param> | ||
75 | /// <param name="pickup_talus_minimum">The minimum angle at which rock is eroded 0..1 (recommended: <= 0.30)</param> | ||
76 | /// <param name="drop_talus_minimum">The minimum angle at which rock is dropped 0..1 (recommended: >= 0.00)</param> | ||
77 | /// <param name="carry">The percentage of rock which can be picked up to pickup 0..1</param> | ||
78 | /// <param name="rounds">The number of erosion rounds (recommended: 25+)</param> | ||
79 | /// <param name="lowest">Drop sediment at the lowest point?</param> | ||
80 | public void AerobicErosion(double windspeed, double pickup_talus_minimum, double drop_talus_minimum, double carry, int rounds, bool lowest) | ||
81 | { | ||
82 | Channel wind = new Channel(w, h) ; | ||
83 | Channel sediment = new Channel(w, h); | ||
84 | int x, y, i, j; | ||
85 | |||
86 | wind = this.copy(); | ||
87 | wind.normalise(); // Cheap wind calculations | ||
88 | wind *= windspeed; | ||
89 | wind.pertubation(30); // Can do better later | ||
90 | |||
91 | for (i = 0; i < rounds; i++) | ||
92 | { | ||
93 | // Convert some rocks to sand | ||
94 | for (x = 1; x < w - 1; x++) | ||
95 | { | ||
96 | for (y = 1; y < h - 1; y++) | ||
97 | { | ||
98 | double me = get(x, y); | ||
99 | double surfacearea = 0.3; // Everything will erode even if it's flat. Just slower. | ||
100 | |||
101 | for (j = 0; j < 9; j++) | ||
102 | { | ||
103 | int[] coords = neighbours(NEIGHBOURS.NEIGHBOUR_MOORE, j); | ||
104 | double target = get(x + coords[0], y + coords[1]); | ||
105 | |||
106 | surfacearea += Math.Abs(target - me); | ||
107 | } | ||
108 | |||
109 | double amount = surfacearea * wind.map[x, y] * carry; | ||
110 | |||
111 | if (amount < 0) | ||
112 | amount = 0; | ||
113 | |||
114 | if (surfacearea > pickup_talus_minimum) | ||
115 | { | ||
116 | this.map[x, y] -= amount; | ||
117 | sediment.map[x, y] += amount; | ||
118 | } | ||
119 | } | ||
120 | } | ||
121 | sediment.pertubation(10); // Sediment is blown around a bit | ||
122 | sediment.seed++; | ||
123 | wind.pertubation(15); // So is the wind | ||
124 | wind.seed++; | ||
125 | |||
126 | // Convert some sand to rock | ||
127 | for (x = 1; x < w - 1; x++) | ||
128 | { | ||
129 | for (y = 1; y < h - 1; y++) | ||
130 | { | ||
131 | double me = get(x, y); | ||
132 | double surfacearea = 0.01; // Flat land does not get deposition | ||
133 | double min = double.MaxValue; | ||
134 | int[] minside = new int[2]; | ||
135 | |||
136 | for (j = 0; j < 9; j++) | ||
137 | { | ||
138 | int[] coords = neighbours(NEIGHBOURS.NEIGHBOUR_MOORE, j); | ||
139 | double target = get(x + coords[0], y + coords[1]); | ||
140 | |||
141 | surfacearea += Math.Abs(target - me); | ||
142 | |||
143 | if (target < min && lowest) | ||
144 | { | ||
145 | minside = (int[])coords.Clone(); | ||
146 | min = target; | ||
147 | } | ||
148 | } | ||
149 | |||
150 | double amount = surfacearea * (1.0 - wind.map[x, y]) * carry; | ||
151 | |||
152 | if (amount < 0) | ||
153 | amount = 0; | ||
154 | |||
155 | if (surfacearea > drop_talus_minimum) | ||
156 | { | ||
157 | this.map[x + minside[0], y + minside[1]] += amount; | ||
158 | sediment.map[x, y] -= amount; | ||
159 | } | ||
160 | } | ||
161 | } | ||
162 | |||
163 | } | ||
164 | |||
165 | Channel myself = this; | ||
166 | myself += sediment; | ||
167 | myself.normalise(); | ||
168 | } | ||
169 | } | ||
170 | } \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Manipulators/HydraulicErosion.cs b/libraries/libTerrain/libTerrain/Channel/Manipulators/HydraulicErosion.cs deleted file mode 100644 index 0cec05d..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Manipulators/HydraulicErosion.cs +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Needs BSD rewrite */ \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Manipulators/ThermalWeathering.cs b/libraries/libTerrain/libTerrain/Channel/Manipulators/ThermalWeathering.cs deleted file mode 100644 index 0cae56d..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Manipulators/ThermalWeathering.cs +++ /dev/null | |||
@@ -1,113 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | /// <summary> | ||
41 | /// A thermal weathering implementation based on Musgrave's original 1989 algorithm. This is Adam's custom implementation which may differ slightly from the original. | ||
42 | /// </summary> | ||
43 | /// <param name="talus">The rock angle (represented as a dy/dx ratio) at which point it will be succeptible to breakage</param> | ||
44 | /// <param name="rounds">The number of erosion rounds</param> | ||
45 | /// <param name="c">The amount of rock to carry each round</param> | ||
46 | public Channel thermalWeathering(double talus, int rounds, double c) | ||
47 | { | ||
48 | double[,] lastFrame; | ||
49 | double[,] thisFrame; | ||
50 | |||
51 | lastFrame = (double[,])map.Clone(); | ||
52 | thisFrame = (double[,])map.Clone(); | ||
53 | |||
54 | NEIGHBOURS type = NEIGHBOURS.NEIGHBOUR_MOORE; // Using moore neighbourhood (twice as computationally expensive) | ||
55 | int NEIGHBOUR_ME = 4; // I am always 4 in both systems. | ||
56 | |||
57 | int NEIGHBOUR_MAX = type == NEIGHBOURS.NEIGHBOUR_MOORE ? 9 : 5; | ||
58 | |||
59 | int frames = rounds; // Number of thermal erosion iterations to run | ||
60 | int i, j; | ||
61 | int x, y; | ||
62 | |||
63 | for (i = 0; i < frames; i++) | ||
64 | { | ||
65 | for (x = 0; x < w; x++) | ||
66 | { | ||
67 | for (y = 0; y < h; y++) | ||
68 | { | ||
69 | for (j = 0; j < NEIGHBOUR_MAX; j++) | ||
70 | { | ||
71 | if (j != NEIGHBOUR_ME) | ||
72 | { | ||
73 | int[] coords = neighbours(type, j); | ||
74 | |||
75 | coords[0] += x; | ||
76 | coords[1] += y; | ||
77 | |||
78 | if (coords[0] > w - 1) | ||
79 | coords[0] = w - 1; | ||
80 | if (coords[1] > h - 1) | ||
81 | coords[1] = h - 1; | ||
82 | if (coords[0] < 0) | ||
83 | coords[0] = 0; | ||
84 | if (coords[1] < 0) | ||
85 | coords[1] = 0; | ||
86 | |||
87 | double heightF = thisFrame[x, y]; | ||
88 | double target = thisFrame[coords[0], coords[1]]; | ||
89 | |||
90 | if (target > heightF + talus) | ||
91 | { | ||
92 | double calc = c * ((target - heightF) - talus); | ||
93 | heightF += calc; | ||
94 | target -= calc; | ||
95 | } | ||
96 | |||
97 | thisFrame[x, y] = heightF; | ||
98 | thisFrame[coords[0], coords[1]] = target; | ||
99 | |||
100 | } | ||
101 | } | ||
102 | } | ||
103 | } | ||
104 | lastFrame = (double[,])thisFrame.Clone(); | ||
105 | } | ||
106 | |||
107 | map = thisFrame; | ||
108 | |||
109 | normalise(); // Just to guaruntee a smooth 0..1 value | ||
110 | return this; | ||
111 | } | ||
112 | } | ||
113 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Neighbours.cs b/libraries/libTerrain/libTerrain/Channel/Neighbours.cs deleted file mode 100644 index f2b4aed..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Neighbours.cs +++ /dev/null | |||
@@ -1,144 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | enum NEIGHBOURS | ||
41 | { | ||
42 | NEIGHBOUR_MOORE, | ||
43 | NEIGHBOUR_VONNEUMANN | ||
44 | }; | ||
45 | |||
46 | private int[] neighbours(NEIGHBOURS type, int index) | ||
47 | { | ||
48 | int[] coord = new int[2]; | ||
49 | |||
50 | index++; | ||
51 | |||
52 | switch (type) | ||
53 | { | ||
54 | case NEIGHBOURS.NEIGHBOUR_MOORE: | ||
55 | switch (index) | ||
56 | { | ||
57 | case 1: | ||
58 | coord[0] = -1; | ||
59 | coord[1] = -1; | ||
60 | break; | ||
61 | |||
62 | case 2: | ||
63 | coord[0] = -0; | ||
64 | coord[1] = -1; | ||
65 | break; | ||
66 | |||
67 | case 3: | ||
68 | coord[0] = +1; | ||
69 | coord[1] = -1; | ||
70 | break; | ||
71 | |||
72 | case 4: | ||
73 | coord[0] = -1; | ||
74 | coord[1] = -0; | ||
75 | break; | ||
76 | |||
77 | case 5: | ||
78 | coord[0] = -0; | ||
79 | coord[1] = -0; | ||
80 | break; | ||
81 | |||
82 | case 6: | ||
83 | coord[0] = +1; | ||
84 | coord[1] = -0; | ||
85 | break; | ||
86 | |||
87 | case 7: | ||
88 | coord[0] = -1; | ||
89 | coord[1] = +1; | ||
90 | break; | ||
91 | |||
92 | case 8: | ||
93 | coord[0] = -0; | ||
94 | coord[1] = +1; | ||
95 | break; | ||
96 | |||
97 | case 9: | ||
98 | coord[0] = +1; | ||
99 | coord[1] = +1; | ||
100 | break; | ||
101 | |||
102 | default: | ||
103 | break; | ||
104 | } | ||
105 | break; | ||
106 | |||
107 | case NEIGHBOURS.NEIGHBOUR_VONNEUMANN: | ||
108 | switch (index) | ||
109 | { | ||
110 | case 1: | ||
111 | coord[0] = 0; | ||
112 | coord[1] = -1; | ||
113 | break; | ||
114 | |||
115 | case 2: | ||
116 | coord[0] = -1; | ||
117 | coord[1] = 0; | ||
118 | break; | ||
119 | |||
120 | case 3: | ||
121 | coord[0] = +1; | ||
122 | coord[1] = 0; | ||
123 | break; | ||
124 | |||
125 | case 4: | ||
126 | coord[0] = 0; | ||
127 | coord[1] = +1; | ||
128 | break; | ||
129 | |||
130 | case 5: | ||
131 | coord[0] = -0; | ||
132 | coord[1] = -0; | ||
133 | break; | ||
134 | |||
135 | default: | ||
136 | break; | ||
137 | } | ||
138 | break; | ||
139 | } | ||
140 | |||
141 | return coord; | ||
142 | } | ||
143 | } | ||
144 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Channel/Operators.cs b/libraries/libTerrain/libTerrain/Channel/Operators.cs deleted file mode 100644 index 81db690..0000000 --- a/libraries/libTerrain/libTerrain/Channel/Operators.cs +++ /dev/null | |||
@@ -1,221 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | partial class Channel | ||
39 | { | ||
40 | /* Operator combination of channel datatypes */ | ||
41 | |||
42 | public static Channel operator +(Channel A, Channel B) | ||
43 | { | ||
44 | if (A.h != B.h) | ||
45 | throw new Exception("Cannot add heightmaps, of different height."); | ||
46 | if (A.w != B.w) | ||
47 | throw new Exception("Cannot add heightmaps, of different width."); | ||
48 | |||
49 | int x, y; | ||
50 | |||
51 | for (x = 0; x < A.w; x++) | ||
52 | { | ||
53 | for (y = 0; y < A.h; y++) | ||
54 | { | ||
55 | A.map[x, y] += B.map[x, y]; | ||
56 | } | ||
57 | } | ||
58 | |||
59 | return A; | ||
60 | } | ||
61 | |||
62 | public static Channel operator *(Channel A, Channel B) | ||
63 | { | ||
64 | if (A.h != B.h) | ||
65 | throw new Exception("Cannot multiply heightmaps, of different height."); | ||
66 | if (A.w != B.w) | ||
67 | throw new Exception("Cannot multiply heightmaps, of different width."); | ||
68 | |||
69 | int x, y; | ||
70 | |||
71 | for (x = 0; x < A.w; x++) | ||
72 | { | ||
73 | for (y = 0; y < A.h; y++) | ||
74 | { | ||
75 | A.map[x, y] *= B.map[x, y]; | ||
76 | } | ||
77 | } | ||
78 | |||
79 | return A; | ||
80 | } | ||
81 | |||
82 | public static Channel operator -(Channel A, Channel B) | ||
83 | { | ||
84 | if (A.h != B.h) | ||
85 | throw new Exception("Cannot subtract heightmaps, of different height."); | ||
86 | if (A.w != B.w) | ||
87 | throw new Exception("Cannot subtract heightmaps, of different width."); | ||
88 | |||
89 | int x, y; | ||
90 | |||
91 | for (x = 0; x < A.w; x++) | ||
92 | { | ||
93 | for (y = 0; y < A.h; y++) | ||
94 | { | ||
95 | A.map[x, y] -= B.map[x, y]; | ||
96 | } | ||
97 | } | ||
98 | |||
99 | return A; | ||
100 | } | ||
101 | |||
102 | public static Channel operator /(Channel A, Channel B) | ||
103 | { | ||
104 | if (A.h != B.h) | ||
105 | throw new Exception("Cannot divide heightmaps, of different height."); | ||
106 | if (A.w != B.w) | ||
107 | throw new Exception("Cannot divide heightmaps, of different width."); | ||
108 | |||
109 | int x, y; | ||
110 | |||
111 | for (x = 0; x < A.w; x++) | ||
112 | { | ||
113 | for (y = 0; y < A.h; y++) | ||
114 | { | ||
115 | A.map[x, y] /= B.map[x, y]; | ||
116 | } | ||
117 | } | ||
118 | |||
119 | return A; | ||
120 | } | ||
121 | |||
122 | public static Channel operator ^(Channel A, Channel B) | ||
123 | { | ||
124 | if (A.h != B.h) | ||
125 | throw new Exception("Cannot divide heightmaps, of different height."); | ||
126 | if (A.w != B.w) | ||
127 | throw new Exception("Cannot divide heightmaps, of different width."); | ||
128 | |||
129 | int x, y; | ||
130 | |||
131 | for (x = 0; x < A.w; x++) | ||
132 | { | ||
133 | for (y = 0; y < A.h; y++) | ||
134 | { | ||
135 | A.map[x, y] = Math.Pow(A.map[x,y],B.map[x, y]); | ||
136 | } | ||
137 | } | ||
138 | |||
139 | return A; | ||
140 | } | ||
141 | |||
142 | |||
143 | /* Operator combination of channel and double datatypes */ | ||
144 | |||
145 | public static Channel operator +(Channel A, double B) | ||
146 | { | ||
147 | int x, y; | ||
148 | |||
149 | for (x = 0; x < A.w; x++) | ||
150 | { | ||
151 | for (y = 0; y < A.h; y++) | ||
152 | { | ||
153 | A.map[x, y] += B; | ||
154 | } | ||
155 | } | ||
156 | |||
157 | return A; | ||
158 | } | ||
159 | |||
160 | public static Channel operator -(Channel A, double B) | ||
161 | { | ||
162 | int x, y; | ||
163 | |||
164 | for (x = 0; x < A.w; x++) | ||
165 | { | ||
166 | for (y = 0; y < A.h; y++) | ||
167 | { | ||
168 | A.map[x, y] -= B; | ||
169 | } | ||
170 | } | ||
171 | |||
172 | return A; | ||
173 | } | ||
174 | |||
175 | public static Channel operator *(Channel A, double B) | ||
176 | { | ||
177 | int x, y; | ||
178 | |||
179 | for (x = 0; x < A.w; x++) | ||
180 | { | ||
181 | for (y = 0; y < A.h; y++) | ||
182 | { | ||
183 | A.map[x, y] *= B; | ||
184 | } | ||
185 | } | ||
186 | |||
187 | return A; | ||
188 | } | ||
189 | |||
190 | public static Channel operator /(Channel A, double B) | ||
191 | { | ||
192 | int x, y; | ||
193 | |||
194 | for (x = 0; x < A.w; x++) | ||
195 | { | ||
196 | for (y = 0; y < A.h; y++) | ||
197 | { | ||
198 | A.map[x, y] /= B; | ||
199 | } | ||
200 | } | ||
201 | |||
202 | return A; | ||
203 | } | ||
204 | |||
205 | public static Channel operator ^(Channel A, double B) | ||
206 | { | ||
207 | int x, y; | ||
208 | |||
209 | for (x = 0; x < A.w; x++) | ||
210 | { | ||
211 | for (y = 0; y < A.h; y++) | ||
212 | { | ||
213 | A.map[x, y] = Math.Pow(A.map[x,y],B); | ||
214 | } | ||
215 | } | ||
216 | |||
217 | return A; | ||
218 | } | ||
219 | |||
220 | } | ||
221 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Properties/AssemblyInfo.cs b/libraries/libTerrain/libTerrain/Properties/AssemblyInfo.cs deleted file mode 100644 index d47f359..0000000 --- a/libraries/libTerrain/libTerrain/Properties/AssemblyInfo.cs +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | using System.Reflection; | ||
2 | using System.Runtime.CompilerServices; | ||
3 | using System.Runtime.InteropServices; | ||
4 | |||
5 | // General Information about an assembly is controlled through the following | ||
6 | // set of attributes. Change these attribute values to modify the information | ||
7 | // associated with an assembly. | ||
8 | [assembly: AssemblyTitle("libTerrain")] | ||
9 | [assembly: AssemblyDescription("")] | ||
10 | [assembly: AssemblyConfiguration("")] | ||
11 | [assembly: AssemblyCompany("")] | ||
12 | [assembly: AssemblyProduct("libTerrain")] | ||
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | ||
14 | [assembly: AssemblyTrademark("")] | ||
15 | [assembly: AssemblyCulture("")] | ||
16 | |||
17 | // Setting ComVisible to false makes the types in this assembly not visible | ||
18 | // to COM components. If you need to access a type in this assembly from | ||
19 | // COM, set the ComVisible attribute to true on that type. | ||
20 | [assembly: ComVisible(false)] | ||
21 | |||
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | ||
23 | [assembly: Guid("69f89dd2-fbd1-400e-bb0d-ac73b80853de")] | ||
24 | |||
25 | // Version information for an assembly consists of the following four values: | ||
26 | // | ||
27 | // Major Version | ||
28 | // Minor Version | ||
29 | // Build Number | ||
30 | // Revision | ||
31 | // | ||
32 | // You can specify all the values or you can default the Revision and Build Numbers | ||
33 | // by using the '*' as shown below: | ||
34 | [assembly: AssemblyVersion("1.0.0.0")] | ||
35 | [assembly: AssemblyFileVersion("1.0.0.0")] | ||
diff --git a/libraries/libTerrain/libTerrain/TODO.txt b/libraries/libTerrain/libTerrain/TODO.txt deleted file mode 100644 index e1998ac..0000000 --- a/libraries/libTerrain/libTerrain/TODO.txt +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | TODO | ||
2 | Anyone is free to take on one of these projects | ||
3 | since implementations offer differ in results | ||
4 | the more the merrier. | ||
5 | |||
6 | New Generators | ||
7 | |||
8 | * Musgraves multifractal suite | ||
9 | * Hybrid Multifractal | ||
10 | * Ridged Multifractal | ||
11 | * Heterogenous procedural terrain | ||
12 | |||
13 | Example implementation: | ||
14 | http://cobweb.ecn.purdue.edu/~ebertd/texture/1stEdition/musgrave/musgrave.c | ||
15 | |||
16 | * Ken Perlin's noise functions | ||
17 | * Perlin noise | ||
18 | * Original | ||
19 | * Improved versions | ||
20 | |||
21 | * Port the libnoise.sourceforge.net generators | ||
22 | |||
23 | * Cellular / Organic Generators | ||
24 | **ADDED CELLULAR.CS** // Adam Frisby <adam@deepthink.com.au> (20/03/2007) | ||
25 | |||
26 | * Finish porting the procedurality code in | ||
27 | /branches/proceduality/ | ||
28 | currently Java, but porting is easy enough | ||
29 | mostly a case of find/search/replace. | ||
30 | |||
31 | Improvements | ||
32 | |||
33 | * HillPlanter.cs | ||
34 | * Add rectangular & square hills | ||
35 | |||
36 | * Voronoi.cs | ||
37 | * Add different distance metrics | ||
38 | Currently using Eulicidean distance | ||
39 | Want: | ||
40 | * Manhattan Distance | ||
41 | * Camberra Distance | ||
42 | * Chebychev Distance \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrain/Test/SimpleTerrain.cs b/libraries/libTerrain/libTerrain/Test/SimpleTerrain.cs deleted file mode 100644 index 9f0967b..0000000 --- a/libraries/libTerrain/libTerrain/Test/SimpleTerrain.cs +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain.Test | ||
37 | { | ||
38 | class SimpleTerrain | ||
39 | { | ||
40 | public SimpleTerrain() | ||
41 | { | ||
42 | Channel terrain = new Channel(256, 256); | ||
43 | terrain.fill(0.5); | ||
44 | terrain.thermalWeathering(0.1, 50, 0.1); | ||
45 | } | ||
46 | } | ||
47 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Tools/Point2D.cs b/libraries/libTerrain/libTerrain/Tools/Point2D.cs deleted file mode 100644 index 69c1148..0000000 --- a/libraries/libTerrain/libTerrain/Tools/Point2D.cs +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | public class Point2D | ||
39 | { | ||
40 | public double x; | ||
41 | public double y; | ||
42 | |||
43 | public Point2D(double X, double Y) | ||
44 | { | ||
45 | x = X; | ||
46 | y = Y; | ||
47 | } | ||
48 | } | ||
49 | } | ||
diff --git a/libraries/libTerrain/libTerrain/Tools/Tools.cs b/libraries/libTerrain/libTerrain/Tools/Tools.cs deleted file mode 100644 index 3f7ab68..0000000 --- a/libraries/libTerrain/libTerrain/Tools/Tools.cs +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | using System; | ||
33 | using System.Collections.Generic; | ||
34 | using System.Text; | ||
35 | |||
36 | namespace libTerrain | ||
37 | { | ||
38 | class Tools | ||
39 | { | ||
40 | public static double linearInterpolate(double a, double b, double amount) | ||
41 | { | ||
42 | return a + ((b - a) * amount); | ||
43 | } | ||
44 | public static double exponentialInterpolate(double a, double b, double amount) | ||
45 | { | ||
46 | a = Math.Pow(a, amount); | ||
47 | b = Math.Pow(b - a, 1.0 - amount); | ||
48 | return a+b; | ||
49 | } | ||
50 | public static int powerOf2Log2(int n) { | ||
51 | for (int i = 0; i < 31; i++) { | ||
52 | if ((n & 1) == 1) { | ||
53 | return i; | ||
54 | } | ||
55 | n >>= 1; | ||
56 | } | ||
57 | return 0; | ||
58 | } | ||
59 | } | ||
60 | } | ||
diff --git a/libraries/libTerrain/libTerrain/libTerrain-BSD.csproj b/libraries/libTerrain/libTerrain/libTerrain-BSD.csproj deleted file mode 100644 index df6d651..0000000 --- a/libraries/libTerrain/libTerrain/libTerrain-BSD.csproj +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
4 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
5 | <ProductVersion>8.0.50727</ProductVersion> | ||
6 | <SchemaVersion>2.0</SchemaVersion> | ||
7 | <ProjectGuid>{EEC06368-30E8-42E8-A23C-2C9D139AD495}</ProjectGuid> | ||
8 | <OutputType>Library</OutputType> | ||
9 | <AppDesignerFolder>Properties</AppDesignerFolder> | ||
10 | <RootNamespace>libTerrain</RootNamespace> | ||
11 | <AssemblyName>libTerrain-BSD</AssemblyName> | ||
12 | </PropertyGroup> | ||
13 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
14 | <DebugSymbols>true</DebugSymbols> | ||
15 | <DebugType>full</DebugType> | ||
16 | <Optimize>false</Optimize> | ||
17 | <OutputPath>bin\Debug\</OutputPath> | ||
18 | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||
19 | <ErrorReport>prompt</ErrorReport> | ||
20 | <WarningLevel>4</WarningLevel> | ||
21 | </PropertyGroup> | ||
22 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
23 | <DebugType>pdbonly</DebugType> | ||
24 | <Optimize>true</Optimize> | ||
25 | <OutputPath>bin\Release\</OutputPath> | ||
26 | <DefineConstants>TRACE</DefineConstants> | ||
27 | <ErrorReport>prompt</ErrorReport> | ||
28 | <WarningLevel>4</WarningLevel> | ||
29 | </PropertyGroup> | ||
30 | <ItemGroup> | ||
31 | <Reference Include="System" /> | ||
32 | <Reference Include="System.Data" /> | ||
33 | <Reference Include="System.Drawing" /> | ||
34 | <Reference Include="System.Xml" /> | ||
35 | </ItemGroup> | ||
36 | <ItemGroup> | ||
37 | <Compile Include="Bitmap\Bitmap.cs" /> | ||
38 | <Compile Include="Channel\Channel.cs" /> | ||
39 | <Compile Include="Channel\Common.cs" /> | ||
40 | <Compile Include="Channel\Editing\Flatten.cs" /> | ||
41 | <Compile Include="Channel\Editing\Raise.cs" /> | ||
42 | <Compile Include="Channel\File.cs" /> | ||
43 | <Compile Include="Channel\Generators\Cellular.cs" /> | ||
44 | <Compile Include="Channel\Generators\Fracture.cs" /> | ||
45 | <Compile Include="Channel\Generators\Gradient.cs" /> | ||
46 | <Compile Include="Channel\Generators\HillPlanter.cs" /> | ||
47 | <Compile Include="Channel\Generators\Midpoint.cs" /> | ||
48 | <Compile Include="Channel\Generators\Mountain.cs" /> | ||
49 | <Compile Include="Channel\Generators\Noise.cs" /> | ||
50 | <Compile Include="Channel\Generators\Spiral.cs" /> | ||
51 | <Compile Include="Channel\Generators\Voronoi.cs" /> | ||
52 | <Compile Include="Channel\Generators\Worms.cs" /> | ||
53 | <Compile Include="Channel\Grid.cs" /> | ||
54 | <Compile Include="Channel\Manipulators\AerobicErosion.cs" /> | ||
55 | <Compile Include="Channel\Manipulators\HydraulicErosion.cs" /> | ||
56 | <Compile Include="Channel\Manipulators\ThermalWeathering.cs" /> | ||
57 | <Compile Include="Channel\Neighbours.cs" /> | ||
58 | <Compile Include="Channel\Operators.cs" /> | ||
59 | <Compile Include="Properties\AssemblyInfo.cs" /> | ||
60 | <Compile Include="Test\SimpleTerrain.cs" /> | ||
61 | <Compile Include="Tools\Point2D.cs" /> | ||
62 | <Compile Include="Tools\Tools.cs" /> | ||
63 | </ItemGroup> | ||
64 | <ItemGroup> | ||
65 | <Content Include="TODO.txt" /> | ||
66 | </ItemGroup> | ||
67 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
68 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
69 | Other similar extension points exist, see Microsoft.Common.targets. | ||
70 | <Target Name="BeforeBuild"> | ||
71 | </Target> | ||
72 | <Target Name="AfterBuild"> | ||
73 | </Target> | ||
74 | --> | ||
75 | </Project> \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrainTests/Program.cs b/libraries/libTerrain/libTerrainTests/Program.cs deleted file mode 100644 index cf3da3d..0000000 --- a/libraries/libTerrain/libTerrainTests/Program.cs +++ /dev/null | |||
@@ -1,299 +0,0 @@ | |||
1 | /* | ||
2 | Redistribution and use in source and binary forms, with or without | ||
3 | modification, are permitted provided that the following conditions are | ||
4 | met: | ||
5 | |||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | |||
9 | * Redistributions in binary form must reproduce the above | ||
10 | copyright notice, this list of conditions and the following | ||
11 | disclaimer in the documentation and/or other materials provided | ||
12 | with the distribution. | ||
13 | |||
14 | * Neither the name of libTerrain nor the names of | ||
15 | its contributors may be used to endorse or promote products | ||
16 | derived from this software without specific prior written | ||
17 | permission. | ||
18 | |||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | */ | ||
31 | |||
32 | |||
33 | using System; | ||
34 | using System.Collections.Generic; | ||
35 | using System.Text; | ||
36 | using libTerrain; | ||
37 | |||
38 | namespace libTerrainTests | ||
39 | { | ||
40 | class Program | ||
41 | { | ||
42 | static void Main(string[] args) | ||
43 | { | ||
44 | System.Console.WriteLine("Starting tests..."); | ||
45 | |||
46 | Channel test; | ||
47 | |||
48 | try | ||
49 | { | ||
50 | System.Console.WriteLine("Blank Heightmap"); | ||
51 | test = new Channel(); | ||
52 | test.fill(0); | ||
53 | test.saveImage("test_blank.png"); | ||
54 | } | ||
55 | catch (Exception e) | ||
56 | { | ||
57 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
58 | } | ||
59 | |||
60 | |||
61 | try | ||
62 | { | ||
63 | System.Console.WriteLine("Grayscale Cube"); | ||
64 | test = new Channel(); | ||
65 | test.fill(0); | ||
66 | test.gradientCube(); | ||
67 | test.saveImage("test_cube.png"); | ||
68 | |||
69 | test.Polar(); | ||
70 | test.saveImage("test_polarcube.png"); | ||
71 | } | ||
72 | catch (Exception e) | ||
73 | { | ||
74 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
75 | } | ||
76 | |||
77 | try | ||
78 | { | ||
79 | System.Console.WriteLine("Spiral Planters"); | ||
80 | test = new Channel(); | ||
81 | test.fill(0); | ||
82 | |||
83 | test.SpiralPlanter(200, Math.PI / 15, 0.75, 0, 0); | ||
84 | test.normalise(); | ||
85 | //test.Spiral(192, 192, 50); | ||
86 | test.saveImage("test_spiral.png"); | ||
87 | } | ||
88 | catch (Exception e) | ||
89 | { | ||
90 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
91 | } | ||
92 | |||
93 | try | ||
94 | { | ||
95 | System.Console.WriteLine("Spiral Cells"); | ||
96 | test = new Channel(); | ||
97 | test.fill(0); | ||
98 | |||
99 | double[] c = new double[2]; | ||
100 | c[0] = -1; | ||
101 | c[1] = 1; | ||
102 | |||
103 | test.SpiralCells(200, Math.PI / 15, 0.75, 0, 0, c); | ||
104 | test.normalise(); | ||
105 | //test.Spiral(192, 192, 50); | ||
106 | test.saveImage("test_spiralcells.png"); | ||
107 | |||
108 | test.fill(0); | ||
109 | test.SpiralCells(30, Math.PI / 30, 0, 75, 0, c); | ||
110 | test.normalise(); | ||
111 | //test.Spiral(192, 192, 50); | ||
112 | test.saveImage("test_circlecells.png"); | ||
113 | |||
114 | } | ||
115 | catch (Exception e) | ||
116 | { | ||
117 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
118 | } | ||
119 | |||
120 | try | ||
121 | { | ||
122 | System.Console.WriteLine("Fracturing"); | ||
123 | test = new Channel(); | ||
124 | test.fill(0); | ||
125 | test.fracture(300, 0, 1); | ||
126 | test.saveImage("test_fracture.png"); | ||
127 | } | ||
128 | catch (Exception e) | ||
129 | { | ||
130 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
131 | } | ||
132 | |||
133 | try | ||
134 | { | ||
135 | System.Console.WriteLine("Voronoi (Flat)"); | ||
136 | test = new Channel(); | ||
137 | test.fill(0); | ||
138 | test.voroflatDiagram(64, 384); | ||
139 | test.saveImage("test_voroflat.png"); | ||
140 | } | ||
141 | catch (Exception e) | ||
142 | { | ||
143 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
144 | } | ||
145 | |||
146 | |||
147 | try | ||
148 | { | ||
149 | System.Console.WriteLine("Voronoi (Flat / Fixnormal)"); | ||
150 | test = new Channel(); | ||
151 | test.fill(0); | ||
152 | test.voroflatDiagram(64, 384); | ||
153 | test ^= 4; | ||
154 | test.normalise(); | ||
155 | test.saveImage("test_voroflatfixnormal.png"); | ||
156 | } | ||
157 | catch (Exception e) | ||
158 | { | ||
159 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
160 | } | ||
161 | |||
162 | try | ||
163 | { | ||
164 | System.Console.WriteLine("File Import (Mask Flatten)"); | ||
165 | test = new Channel(); | ||
166 | Channel test2; | ||
167 | test2 = test.loadImage("test_chained_aerobic.png"); | ||
168 | |||
169 | test.fill(0); | ||
170 | test.voroflatDiagram(64, 384); | ||
171 | test ^= 4; | ||
172 | test.normalise(); | ||
173 | |||
174 | test.smooth(4); | ||
175 | test.normalise(); | ||
176 | |||
177 | test.saveImage("test_flatmask.png"); | ||
178 | test2.flatten(test, 1.0); | ||
179 | |||
180 | test2.saveImage("test_fileflatmask.png"); | ||
181 | } | ||
182 | catch (Exception e) | ||
183 | { | ||
184 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
185 | } | ||
186 | |||
187 | try | ||
188 | { | ||
189 | System.Console.WriteLine("Worms"); | ||
190 | test = new Channel(); | ||
191 | test.worms(100, 10, 20.0, 16, false); | ||
192 | test.normalise(); | ||
193 | test.saveImage("test_worms.png"); | ||
194 | } | ||
195 | catch (Exception e) | ||
196 | { | ||
197 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
198 | } | ||
199 | |||
200 | try | ||
201 | { | ||
202 | System.Console.WriteLine("Noise"); | ||
203 | test = new Channel(); | ||
204 | test.noise(); | ||
205 | test.saveImage("test_noise.png"); | ||
206 | } | ||
207 | catch (Exception e) | ||
208 | { | ||
209 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
210 | } | ||
211 | |||
212 | try | ||
213 | { | ||
214 | System.Console.WriteLine("Hills (Spherical)"); | ||
215 | test = new Channel(); | ||
216 | test.hillsSpheres(200, 20, 30, true, true, false); | ||
217 | test.saveImage("test_hillspheres.png"); | ||
218 | } | ||
219 | catch (Exception e) | ||
220 | { | ||
221 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
222 | } | ||
223 | |||
224 | try | ||
225 | { | ||
226 | System.Console.WriteLine("Hills (Blocks)"); | ||
227 | test = new Channel(); | ||
228 | test.hillsBlocks(200, 20, 30, true, true, false); | ||
229 | // test.hillsSpheres(200, 20, 30, true, true, false); | ||
230 | test.saveImage("test_hillblocks.png"); | ||
231 | } | ||
232 | catch (Exception e) | ||
233 | { | ||
234 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
235 | } | ||
236 | |||
237 | try | ||
238 | { | ||
239 | System.Console.WriteLine("Hills (Cones)"); | ||
240 | test = new Channel(); | ||
241 | test.fill(0); | ||
242 | test.hillsCones(200, 20, 30, true, true, false); | ||
243 | test.normalise(); | ||
244 | test.saveImage("test_hillcones.png"); | ||
245 | } | ||
246 | catch (Exception e) | ||
247 | { | ||
248 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
249 | } | ||
250 | |||
251 | try | ||
252 | { | ||
253 | System.Console.WriteLine("Voronoi Diagram"); | ||
254 | test = new Channel(); | ||
255 | double[] c = new double[2]; | ||
256 | c[0] = -1; | ||
257 | c[1] = 1; | ||
258 | test.voronoiDiagram(4, 128, c); | ||
259 | test.saveImage("test_voronoi.png"); | ||
260 | } | ||
261 | catch (Exception e) | ||
262 | { | ||
263 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
264 | } | ||
265 | |||
266 | try | ||
267 | { | ||
268 | System.Console.WriteLine("Raising Terrain"); | ||
269 | test = new Channel(); | ||
270 | test.fill(0); | ||
271 | test.raise(128, 128, 64, 1.0); | ||
272 | test.normalise(); | ||
273 | test.saveImage("test_raise.png"); | ||
274 | } | ||
275 | catch (Exception e) | ||
276 | { | ||
277 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
278 | } | ||
279 | |||
280 | try | ||
281 | { | ||
282 | System.Console.WriteLine("Flattening Terrain (unmasked)"); | ||
283 | test = new Channel(); | ||
284 | test.noise(); | ||
285 | test.flatten(128, 128, 64, 1.0); | ||
286 | test.normalise(); | ||
287 | test.saveImage("test_flatten.png"); | ||
288 | } | ||
289 | catch (Exception e) | ||
290 | { | ||
291 | System.Console.WriteLine("Unhandled exception: " + e.ToString()); | ||
292 | } | ||
293 | |||
294 | |||
295 | |||
296 | System.Console.WriteLine("Done"); | ||
297 | } | ||
298 | } | ||
299 | } | ||
diff --git a/libraries/libTerrain/libTerrainTests/Properties/AssemblyInfo.cs b/libraries/libTerrain/libTerrainTests/Properties/AssemblyInfo.cs deleted file mode 100644 index 09e0845..0000000 --- a/libraries/libTerrain/libTerrainTests/Properties/AssemblyInfo.cs +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | using System.Reflection; | ||
2 | using System.Runtime.CompilerServices; | ||
3 | using System.Runtime.InteropServices; | ||
4 | |||
5 | // General Information about an assembly is controlled through the following | ||
6 | // set of attributes. Change these attribute values to modify the information | ||
7 | // associated with an assembly. | ||
8 | [assembly: AssemblyTitle("libTerrainTests")] | ||
9 | [assembly: AssemblyDescription("")] | ||
10 | [assembly: AssemblyConfiguration("")] | ||
11 | [assembly: AssemblyCompany("")] | ||
12 | [assembly: AssemblyProduct("libTerrainTests")] | ||
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | ||
14 | [assembly: AssemblyTrademark("")] | ||
15 | [assembly: AssemblyCulture("")] | ||
16 | |||
17 | // Setting ComVisible to false makes the types in this assembly not visible | ||
18 | // to COM components. If you need to access a type in this assembly from | ||
19 | // COM, set the ComVisible attribute to true on that type. | ||
20 | [assembly: ComVisible(false)] | ||
21 | |||
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | ||
23 | [assembly: Guid("528417c9-dd71-487e-8e0b-e8e42e52fa10")] | ||
24 | |||
25 | // Version information for an assembly consists of the following four values: | ||
26 | // | ||
27 | // Major Version | ||
28 | // Minor Version | ||
29 | // Build Number | ||
30 | // Revision | ||
31 | // | ||
32 | [assembly: AssemblyVersion("1.0.0.0")] | ||
33 | [assembly: AssemblyFileVersion("1.0.0.0")] | ||
diff --git a/libraries/libTerrain/libTerrainTests/libTerrain.csproj b/libraries/libTerrain/libTerrainTests/libTerrain.csproj deleted file mode 100644 index 047ad02..0000000 --- a/libraries/libTerrain/libTerrainTests/libTerrain.csproj +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
4 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
5 | <ProductVersion>8.0.50727</ProductVersion> | ||
6 | <SchemaVersion>2.0</SchemaVersion> | ||
7 | <ProjectGuid>{EEC06368-30E8-42E8-A23C-2C9D139AD495}</ProjectGuid> | ||
8 | <OutputType>Library</OutputType> | ||
9 | <AppDesignerFolder>Properties</AppDesignerFolder> | ||
10 | <RootNamespace>libTerrain</RootNamespace> | ||
11 | <AssemblyName>libTerrain</AssemblyName> | ||
12 | </PropertyGroup> | ||
13 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
14 | <DebugSymbols>true</DebugSymbols> | ||
15 | <DebugType>full</DebugType> | ||
16 | <Optimize>false</Optimize> | ||
17 | <OutputPath>bin\Debug\</OutputPath> | ||
18 | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||
19 | <ErrorReport>prompt</ErrorReport> | ||
20 | <WarningLevel>4</WarningLevel> | ||
21 | </PropertyGroup> | ||
22 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
23 | <DebugType>pdbonly</DebugType> | ||
24 | <Optimize>true</Optimize> | ||
25 | <OutputPath>bin\Release\</OutputPath> | ||
26 | <DefineConstants>TRACE</DefineConstants> | ||
27 | <ErrorReport>prompt</ErrorReport> | ||
28 | <WarningLevel>4</WarningLevel> | ||
29 | </PropertyGroup> | ||
30 | <ItemGroup> | ||
31 | <Reference Include="System" /> | ||
32 | <Reference Include="System.Data" /> | ||
33 | <Reference Include="System.Drawing" /> | ||
34 | <Reference Include="System.Xml" /> | ||
35 | </ItemGroup> | ||
36 | <ItemGroup> | ||
37 | <Compile Include="Bitmap\Bitmap.cs" /> | ||
38 | <Compile Include="Channel\Channel.cs" /> | ||
39 | <Compile Include="Channel\Common.cs" /> | ||
40 | <Compile Include="Channel\Editing\Flatten.cs" /> | ||
41 | <Compile Include="Channel\Editing\Raise.cs" /> | ||
42 | <Compile Include="Channel\File.cs" /> | ||
43 | <Compile Include="Channel\Generators\Cellular.cs" /> | ||
44 | <Compile Include="Channel\Generators\Fracture.cs" /> | ||
45 | <Compile Include="Channel\Generators\Gradient.cs" /> | ||
46 | <Compile Include="Channel\Generators\HillPlanter.cs" /> | ||
47 | <Compile Include="Channel\Generators\Midpoint.cs" /> | ||
48 | <Compile Include="Channel\Generators\Mountain.cs" /> | ||
49 | <Compile Include="Channel\Generators\Noise.cs" /> | ||
50 | <Compile Include="Channel\Generators\Spiral.cs" /> | ||
51 | <Compile Include="Channel\Generators\Voronoi.cs" /> | ||
52 | <Compile Include="Channel\Generators\Worms.cs" /> | ||
53 | <Compile Include="Channel\Grid.cs" /> | ||
54 | <Compile Include="Channel\Manipulators\AerobicErosion.cs" /> | ||
55 | <Compile Include="Channel\Manipulators\HydraulicErosion.cs" /> | ||
56 | <Compile Include="Channel\Manipulators\ThermalWeathering.cs" /> | ||
57 | <Compile Include="Channel\Neighbours.cs" /> | ||
58 | <Compile Include="Channel\Operators.cs" /> | ||
59 | <Compile Include="Properties\AssemblyInfo.cs" /> | ||
60 | <Compile Include="Test\SimpleTerrain.cs" /> | ||
61 | <Compile Include="Tools\Point2D.cs" /> | ||
62 | <Compile Include="Tools\Tools.cs" /> | ||
63 | </ItemGroup> | ||
64 | <ItemGroup> | ||
65 | <Content Include="TODO.txt" /> | ||
66 | </ItemGroup> | ||
67 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
68 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
69 | Other similar extension points exist, see Microsoft.Common.targets. | ||
70 | <Target Name="BeforeBuild"> | ||
71 | </Target> | ||
72 | <Target Name="AfterBuild"> | ||
73 | </Target> | ||
74 | --> | ||
75 | </Project> \ No newline at end of file | ||
diff --git a/libraries/libTerrain/libTerrainTests/libTerrainTests.csproj b/libraries/libTerrain/libTerrainTests/libTerrainTests.csproj deleted file mode 100644 index 4227155..0000000 --- a/libraries/libTerrain/libTerrainTests/libTerrainTests.csproj +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
4 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
5 | <ProductVersion>8.0.50727</ProductVersion> | ||
6 | <SchemaVersion>2.0</SchemaVersion> | ||
7 | <ProjectGuid>{7214C9E2-1390-41BD-BFFC-83FA5931C5CF}</ProjectGuid> | ||
8 | <OutputType>Exe</OutputType> | ||
9 | <AppDesignerFolder>Properties</AppDesignerFolder> | ||
10 | <RootNamespace>libTerrainTests</RootNamespace> | ||
11 | <AssemblyName>libTerrainTests</AssemblyName> | ||
12 | </PropertyGroup> | ||
13 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
14 | <DebugSymbols>true</DebugSymbols> | ||
15 | <DebugType>full</DebugType> | ||
16 | <Optimize>false</Optimize> | ||
17 | <OutputPath>bin\Debug\</OutputPath> | ||
18 | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||
19 | <ErrorReport>prompt</ErrorReport> | ||
20 | <WarningLevel>4</WarningLevel> | ||
21 | </PropertyGroup> | ||
22 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
23 | <DebugType>pdbonly</DebugType> | ||
24 | <Optimize>true</Optimize> | ||
25 | <OutputPath>bin\Release\</OutputPath> | ||
26 | <DefineConstants>TRACE</DefineConstants> | ||
27 | <ErrorReport>prompt</ErrorReport> | ||
28 | <WarningLevel>4</WarningLevel> | ||
29 | </PropertyGroup> | ||
30 | <ItemGroup> | ||
31 | <Reference Include="System" /> | ||
32 | <Reference Include="System.Data" /> | ||
33 | <Reference Include="System.Xml" /> | ||
34 | </ItemGroup> | ||
35 | <ItemGroup> | ||
36 | <Compile Include="Program.cs" /> | ||
37 | <Compile Include="Properties\AssemblyInfo.cs" /> | ||
38 | </ItemGroup> | ||
39 | <ItemGroup> | ||
40 | <ProjectReference Include="..\libTerrain\libTerrain-BSD.csproj"> | ||
41 | <Project>{EEC06368-30E8-42E8-A23C-2C9D139AD495}</Project> | ||
42 | <Name>libTerrain-BSD</Name> | ||
43 | </ProjectReference> | ||
44 | </ItemGroup> | ||
45 | <ItemGroup> | ||
46 | <Content Include="libTerrain.csproj" /> | ||
47 | </ItemGroup> | ||
48 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
49 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
50 | Other similar extension points exist, see Microsoft.Common.targets. | ||
51 | <Target Name="BeforeBuild"> | ||
52 | </Target> | ||
53 | <Target Name="AfterBuild"> | ||
54 | </Target> | ||
55 | --> | ||
56 | </Project> \ No newline at end of file | ||
diff --git a/prebuild.xml b/prebuild.xml index 314465e..6cf8bd8 100644 --- a/prebuild.xml +++ b/prebuild.xml | |||
@@ -32,111 +32,90 @@ | |||
32 | </Options> | 32 | </Options> |
33 | </Configuration> | 33 | </Configuration> |
34 | 34 | ||
35 | <!-- XML-RPC --> | ||
36 | <Project name="XMLRPC" path="Common/XmlRpcCS" type="Library"> | ||
37 | <Configuration name="Debug"> | ||
38 | <Options> | ||
39 | <OutputPath>../../bin/</OutputPath> | ||
40 | </Options> | ||
41 | </Configuration> | ||
42 | <Configuration name="Release"> | ||
43 | <Options> | ||
44 | <OutputPath>../../bin/</OutputPath> | ||
45 | </Options> | ||
46 | </Configuration> | ||
47 | |||
48 | <ReferencePath>../../bin/</ReferencePath> | ||
49 | <Reference name="System"/> | ||
50 | <Reference name="System.Xml"/> | ||
51 | |||
52 | <Files> | ||
53 | <Match pattern="*.cs" recurse="true"/> | ||
54 | </Files> | ||
55 | </Project> | ||
56 | 35 | ||
57 | <!-- Core OpenSim Projects --> | 36 | <!-- Core OpenSim Projects --> |
58 | 37 | ||
59 | <Project name="OpenSim.Framework.Console" path="Common/OpenSim.Framework.Console" type="Library"> | 38 | <Project name="OpenSim.Framework.Console" path="OpenSim/Framework/Console" type="Library"> |
60 | <Configuration name="Debug"> | 39 | <Configuration name="Debug"> |
61 | <Options> | 40 | <Options> |
62 | <OutputPath>../../bin/</OutputPath> | 41 | <OutputPath>../../../bin/</OutputPath> |
63 | </Options> | 42 | </Options> |
64 | </Configuration> | 43 | </Configuration> |
65 | <Configuration name="Release"> | 44 | <Configuration name="Release"> |
66 | <Options> | 45 | <Options> |
67 | <OutputPath>../../bin/</OutputPath> | 46 | <OutputPath>../../../bin/</OutputPath> |
68 | </Options> | 47 | </Options> |
69 | </Configuration> | 48 | </Configuration> |
70 | 49 | ||
71 | <ReferencePath>../../bin/</ReferencePath> | 50 | <ReferencePath>../../../bin/</ReferencePath> |
72 | <Reference name="System" localCopy="false"/> | 51 | <Reference name="System" localCopy="false"/> |
73 | <Files> | 52 | <Files> |
74 | <Match pattern="*.cs" recurse="true"/> | 53 | <Match pattern="*.cs" recurse="true"/> |
75 | </Files> | 54 | </Files> |
76 | </Project> | 55 | </Project> |
77 | 56 | ||
78 | <Project name="OpenSim.Framework" path="Common/OpenSim.Framework" type="Library"> | 57 | <Project name="OpenSim.Framework" path="OpenSim/Framework/General" type="Library"> |
79 | <Configuration name="Debug"> | 58 | <Configuration name="Debug"> |
80 | <Options> | 59 | <Options> |
81 | <OutputPath>../../bin/</OutputPath> | 60 | <OutputPath>../../../bin/</OutputPath> |
82 | </Options> | 61 | </Options> |
83 | </Configuration> | 62 | </Configuration> |
84 | <Configuration name="Release"> | 63 | <Configuration name="Release"> |
85 | <Options> | 64 | <Options> |
86 | <OutputPath>../../bin/</OutputPath> | 65 | <OutputPath>../../../bin/</OutputPath> |
87 | </Options> | 66 | </Options> |
88 | </Configuration> | 67 | </Configuration> |
89 | 68 | ||
90 | <ReferencePath>../../bin/</ReferencePath> | 69 | <ReferencePath>../../../bin/</ReferencePath> |
91 | <Reference name="System"/> | 70 | <Reference name="System"/> |
92 | <Reference name="System.Xml"/> | 71 | <Reference name="System.Xml"/> |
93 | <Reference name="libsecondlife.dll"/> | 72 | <Reference name="libsecondlife.dll"/> |
94 | <Reference name="Db4objects.Db4o.dll"/> | 73 | <Reference name="Db4objects.Db4o.dll"/> |
95 | <Reference name="XMLRPC"/> | 74 | <Reference name="XMLRPC.dll"/> |
96 | <Reference name="OpenSim.Framework.Console"/> | 75 | <Reference name="OpenSim.Framework.Console"/> |
97 | <Files> | 76 | <Files> |
98 | <Match pattern="*.cs" recurse="true"/> | 77 | <Match pattern="*.cs" recurse="true"/> |
99 | </Files> | 78 | </Files> |
100 | </Project> | 79 | </Project> |
101 | 80 | ||
102 | <Project name="OpenSim.Servers" path="Common/OpenSim.Servers" type="Library"> | 81 | <Project name="OpenSim.Framework.Servers" path="OpenSim/Framework/Servers" type="Library"> |
103 | <Configuration name="Debug"> | 82 | <Configuration name="Debug"> |
104 | <Options> | 83 | <Options> |
105 | <OutputPath>../../bin/</OutputPath> | 84 | <OutputPath>../../../bin/</OutputPath> |
106 | </Options> | 85 | </Options> |
107 | </Configuration> | 86 | </Configuration> |
108 | <Configuration name="Release"> | 87 | <Configuration name="Release"> |
109 | <Options> | 88 | <Options> |
110 | <OutputPath>../../bin/</OutputPath> | 89 | <OutputPath>../../../bin/</OutputPath> |
111 | </Options> | 90 | </Options> |
112 | </Configuration> | 91 | </Configuration> |
113 | 92 | ||
114 | <ReferencePath>../../bin/</ReferencePath> | 93 | <ReferencePath>../../../bin/</ReferencePath> |
115 | <Reference name="System"/> | 94 | <Reference name="System"/> |
116 | <Reference name="System.Xml"/> | 95 | <Reference name="System.Xml"/> |
117 | <Reference name="OpenSim.Framework"/> | 96 | <Reference name="OpenSim.Framework"/> |
118 | <Reference name="OpenSim.Framework.Console"/> | 97 | <Reference name="OpenSim.Framework.Console"/> |
119 | <Reference name="libsecondlife.dll"/> | 98 | <Reference name="libsecondlife.dll"/> |
120 | <Reference name="XMLRPC"/> | 99 | <Reference name="XMLRPC.dll"/> |
121 | 100 | ||
122 | <Files> | 101 | <Files> |
123 | <Match pattern="*.cs" recurse="true"/> | 102 | <Match pattern="*.cs" recurse="true"/> |
124 | </Files> | 103 | </Files> |
125 | </Project> | 104 | </Project> |
126 | 105 | ||
127 | <Project name="OpenSim.Caches" path="OpenSim/OpenSim.Caches" type="Library"> | 106 | <Project name="OpenSim.Region.Caches" path="OpenSim/Region/Caches" type="Library"> |
128 | <Configuration name="Debug"> | 107 | <Configuration name="Debug"> |
129 | <Options> | 108 | <Options> |
130 | <OutputPath>../../bin/</OutputPath> | 109 | <OutputPath>../../../bin/</OutputPath> |
131 | </Options> | 110 | </Options> |
132 | </Configuration> | 111 | </Configuration> |
133 | <Configuration name="Release"> | 112 | <Configuration name="Release"> |
134 | <Options> | 113 | <Options> |
135 | <OutputPath>../../bin/</OutputPath> | 114 | <OutputPath>../../../bin/</OutputPath> |
136 | </Options> | 115 | </Options> |
137 | </Configuration> | 116 | </Configuration> |
138 | 117 | ||
139 | <ReferencePath>../../bin/</ReferencePath> | 118 | <ReferencePath>../../../bin/</ReferencePath> |
140 | <Reference name="System"/> | 119 | <Reference name="System"/> |
141 | <Reference name="System.Xml"/> | 120 | <Reference name="System.Xml"/> |
142 | <Reference name="libsecondlife.dll"/> | 121 | <Reference name="libsecondlife.dll"/> |
@@ -146,9 +125,7 @@ | |||
146 | </Files> | 125 | </Files> |
147 | </Project> | 126 | </Project> |
148 | 127 | ||
149 | 128 | <Project name="OpenSim.Region.Capabilities" path="OpenSim/Region/Capabilities" type="Library"> | |
150 | <!-- Storage Plug-ins --> | ||
151 | <Project name="OpenSim.Storage.LocalStorageDb4o" path="OpenSim/OpenSim.Storage/LocalStorageDb4o" type="Library"> | ||
152 | <Configuration name="Debug"> | 129 | <Configuration name="Debug"> |
153 | <Options> | 130 | <Options> |
154 | <OutputPath>../../../bin/</OutputPath> | 131 | <OutputPath>../../../bin/</OutputPath> |
@@ -161,6 +138,33 @@ | |||
161 | </Configuration> | 138 | </Configuration> |
162 | 139 | ||
163 | <ReferencePath>../../../bin/</ReferencePath> | 140 | <ReferencePath>../../../bin/</ReferencePath> |
141 | <Reference name="System"/> | ||
142 | <Reference name="System.Xml"/> | ||
143 | <Reference name="libsecondlife.dll"/> | ||
144 | <Reference name="OpenSim.Framework"/> | ||
145 | <Reference name="OpenSim.Framework.Servers"/> | ||
146 | <Reference name="OpenSim.Region.Caches"/> | ||
147 | <Reference name="XMLRPC.dll"/> | ||
148 | |||
149 | <Files> | ||
150 | <Match pattern="*.cs" recurse="true"/> | ||
151 | </Files> | ||
152 | </Project> | ||
153 | |||
154 | <!-- Storage Plug-ins --> | ||
155 | <Project name="OpenSim.Region.Storage.LocalStorageDb4o" path="OpenSim/Region/Storage/LocalStorageDb4o" type="Library"> | ||
156 | <Configuration name="Debug"> | ||
157 | <Options> | ||
158 | <OutputPath>../../../../bin/</OutputPath> | ||
159 | </Options> | ||
160 | </Configuration> | ||
161 | <Configuration name="Release"> | ||
162 | <Options> | ||
163 | <OutputPath>../../../../bin/</OutputPath> | ||
164 | </Options> | ||
165 | </Configuration> | ||
166 | |||
167 | <ReferencePath>../../../../bin/</ReferencePath> | ||
164 | <Reference name="System" localCopy="false"/> | 168 | <Reference name="System" localCopy="false"/> |
165 | <Reference name="System.Xml"/> | 169 | <Reference name="System.Xml"/> |
166 | <Reference name="Db4objects.Db4o.dll"/> | 170 | <Reference name="Db4objects.Db4o.dll"/> |
@@ -172,19 +176,19 @@ | |||
172 | </Files> | 176 | </Files> |
173 | </Project> | 177 | </Project> |
174 | 178 | ||
175 | <Project name="OpenSim.Storage.LocalStorageSQLite" path="OpenSim/OpenSim.Storage/LocalStorageSQLite" type="Library"> | 179 | <Project name="OpenSim.Region.Storage.LocalStorageSQLite" path="OpenSim/Region/Storage/LocalStorageSQLite" type="Library"> |
176 | <Configuration name="Debug"> | 180 | <Configuration name="Debug"> |
177 | <Options> | 181 | <Options> |
178 | <OutputPath>../../../bin/</OutputPath> | 182 | <OutputPath>../../../../bin/</OutputPath> |
179 | </Options> | 183 | </Options> |
180 | </Configuration> | 184 | </Configuration> |
181 | <Configuration name="Release"> | 185 | <Configuration name="Release"> |
182 | <Options> | 186 | <Options> |
183 | <OutputPath>../../../bin/</OutputPath> | 187 | <OutputPath>../../../../bin/</OutputPath> |
184 | </Options> | 188 | </Options> |
185 | </Configuration> | 189 | </Configuration> |
186 | 190 | ||
187 | <ReferencePath>../../../bin/</ReferencePath> | 191 | <ReferencePath>../../../../bin/</ReferencePath> |
188 | <Reference name="System" localCopy="false"/> | 192 | <Reference name="System" localCopy="false"/> |
189 | <Reference name="System.Xml"/> | 193 | <Reference name="System.Xml"/> |
190 | <Reference name="System.Data"/> | 194 | <Reference name="System.Data"/> |
@@ -197,19 +201,19 @@ | |||
197 | </Files> | 201 | </Files> |
198 | </Project> | 202 | </Project> |
199 | 203 | ||
200 | <Project name="OpenSim.Storage.LocalStorageBerkeleyDB" path="OpenSim/OpenSim.Storage/LocalStorageBerkeleyDB" type="Library"> | 204 | <Project name="OpenSim.Region.Storage.LocalStorageBerkeleyDB" path="OpenSim/Region/Storage/LocalStorageBerkeleyDB" type="Library"> |
201 | <Configuration name="Debug"> | 205 | <Configuration name="Debug"> |
202 | <Options> | 206 | <Options> |
203 | <OutputPath>../../../bin/</OutputPath> | 207 | <OutputPath>../../../../bin/</OutputPath> |
204 | </Options> | 208 | </Options> |
205 | </Configuration> | 209 | </Configuration> |
206 | <Configuration name="Release"> | 210 | <Configuration name="Release"> |
207 | <Options> | 211 | <Options> |
208 | <OutputPath>../../../bin/</OutputPath> | 212 | <OutputPath>../../../../bin/</OutputPath> |
209 | </Options> | 213 | </Options> |
210 | </Configuration> | 214 | </Configuration> |
211 | 215 | ||
212 | <ReferencePath>../../../bin/</ReferencePath> | 216 | <ReferencePath>../../../../bin/</ReferencePath> |
213 | <Reference name="System" localCopy="false"/> | 217 | <Reference name="System" localCopy="false"/> |
214 | <Reference name="System.Xml"/> | 218 | <Reference name="System.Xml"/> |
215 | <Reference name="System.Data"/> | 219 | <Reference name="System.Data"/> |
@@ -224,19 +228,19 @@ | |||
224 | </Project> | 228 | </Project> |
225 | 229 | ||
226 | <!-- Grid Server Plug-ins --> | 230 | <!-- Grid Server Plug-ins --> |
227 | <Project name="OpenSim.GridInterfaces.Local" path="OpenSim/OpenSim.GridInterfaces/Local" type="Library"> | 231 | <Project name="OpenSim.Region.GridInterfaces.Local" path="OpenSim/Region/GridInterfaces/Local" type="Library"> |
228 | <Configuration name="Debug"> | 232 | <Configuration name="Debug"> |
229 | <Options> | 233 | <Options> |
230 | <OutputPath>../../../bin/</OutputPath> | 234 | <OutputPath>../../../../bin/</OutputPath> |
231 | </Options> | 235 | </Options> |
232 | </Configuration> | 236 | </Configuration> |
233 | <Configuration name="Release"> | 237 | <Configuration name="Release"> |
234 | <Options> | 238 | <Options> |
235 | <OutputPath>../../../bin/</OutputPath> | 239 | <OutputPath>../../../../bin/</OutputPath> |
236 | </Options> | 240 | </Options> |
237 | </Configuration> | 241 | </Configuration> |
238 | 242 | ||
239 | <ReferencePath>../../../bin/</ReferencePath> | 243 | <ReferencePath>../../../../bin/</ReferencePath> |
240 | <Reference name="System" localCopy="false"/> | 244 | <Reference name="System" localCopy="false"/> |
241 | <Reference name="System.Xml"/> | 245 | <Reference name="System.Xml"/> |
242 | <Reference name="Db4objects.Db4o.dll"/> | 246 | <Reference name="Db4objects.Db4o.dll"/> |
@@ -248,44 +252,44 @@ | |||
248 | </Files> | 252 | </Files> |
249 | </Project> | 253 | </Project> |
250 | 254 | ||
251 | <Project name="OpenSim.GridInterfaces.Remote" path="OpenSim/OpenSim.GridInterfaces/Remote" type="Library"> | 255 | <Project name="OpenSim.Region.GridInterfaces.Remote" path="OpenSim/Region/GridInterfaces/Remote" type="Library"> |
252 | <Configuration name="Debug"> | 256 | <Configuration name="Debug"> |
253 | <Options> | 257 | <Options> |
254 | <OutputPath>../../../bin/</OutputPath> | 258 | <OutputPath>../../../../bin/</OutputPath> |
255 | </Options> | 259 | </Options> |
256 | </Configuration> | 260 | </Configuration> |
257 | <Configuration name="Release"> | 261 | <Configuration name="Release"> |
258 | <Options> | 262 | <Options> |
259 | <OutputPath>../../../bin/</OutputPath> | 263 | <OutputPath>../../../../bin/</OutputPath> |
260 | </Options> | 264 | </Options> |
261 | </Configuration> | 265 | </Configuration> |
262 | 266 | ||
263 | <ReferencePath>../../../bin/</ReferencePath> | 267 | <ReferencePath>../../../../bin/</ReferencePath> |
264 | <Reference name="System" localCopy="false"/> | 268 | <Reference name="System" localCopy="false"/> |
265 | <Reference name="System.Xml"/> | 269 | <Reference name="System.Xml"/> |
266 | <Reference name="libsecondlife.dll"/> | 270 | <Reference name="libsecondlife.dll"/> |
267 | <Reference name="OpenSim.Framework"/> | 271 | <Reference name="OpenSim.Framework"/> |
268 | <Reference name="OpenSim.Framework.Console"/> | 272 | <Reference name="OpenSim.Framework.Console"/> |
269 | <Reference name="XMLRPC"/> | 273 | <Reference name="XMLRPC.dll"/> |
270 | <Files> | 274 | <Files> |
271 | <Match pattern="*.cs" recurse="true"/> | 275 | <Match pattern="*.cs" recurse="true"/> |
272 | </Files> | 276 | </Files> |
273 | </Project> | 277 | </Project> |
274 | 278 | ||
275 | 279 | ||
276 | <Project name="OpenSim.Physics.Manager" path="OpenSim/OpenSim.Physics/Manager" type="Library"> | 280 | <Project name="OpenSim.Region.Physics.Manager" path="OpenSim/Region/Physics/Manager" type="Library"> |
277 | <Configuration name="Debug"> | 281 | <Configuration name="Debug"> |
278 | <Options> | 282 | <Options> |
279 | <OutputPath>../../../bin/</OutputPath> | 283 | <OutputPath>../../../../bin/</OutputPath> |
280 | </Options> | 284 | </Options> |
281 | </Configuration> | 285 | </Configuration> |
282 | <Configuration name="Release"> | 286 | <Configuration name="Release"> |
283 | <Options> | 287 | <Options> |
284 | <OutputPath>../../../bin/</OutputPath> | 288 | <OutputPath>../../../../bin/</OutputPath> |
285 | </Options> | 289 | </Options> |
286 | </Configuration> | 290 | </Configuration> |
287 | 291 | ||
288 | <ReferencePath>../../../bin/</ReferencePath> | 292 | <ReferencePath>../../../../bin/</ReferencePath> |
289 | <Reference name="System" localCopy="false"/> | 293 | <Reference name="System" localCopy="false"/> |
290 | <Reference name="System.Xml" localCopy="false" /> | 294 | <Reference name="System.Xml" localCopy="false" /> |
291 | <Reference name="Axiom.MathLib.dll" localCopy="false"/> | 295 | <Reference name="Axiom.MathLib.dll" localCopy="false"/> |
@@ -298,65 +302,65 @@ | |||
298 | 302 | ||
299 | 303 | ||
300 | <!-- Physics Plug-ins --> | 304 | <!-- Physics Plug-ins --> |
301 | <Project name="OpenSim.Physics.BasicPhysicsPlugin" path="OpenSim/OpenSim.Physics/BasicPhysicsPlugin" type="Library"> | 305 | <Project name="OpenSim.Region.Physics.BasicPhysicsPlugin" path="OpenSim/Region/Physics/BasicPhysicsPlugin" type="Library"> |
302 | <Configuration name="Debug"> | 306 | <Configuration name="Debug"> |
303 | <Options> | 307 | <Options> |
304 | <OutputPath>../../../bin/Physics/</OutputPath> | 308 | <OutputPath>../../../../bin/Physics/</OutputPath> |
305 | </Options> | 309 | </Options> |
306 | </Configuration> | 310 | </Configuration> |
307 | <Configuration name="Release"> | 311 | <Configuration name="Release"> |
308 | <Options> | 312 | <Options> |
309 | <OutputPath>../../../bin/Physics/</OutputPath> | 313 | <OutputPath>../../../../bin/Physics/</OutputPath> |
310 | </Options> | 314 | </Options> |
311 | </Configuration> | 315 | </Configuration> |
312 | 316 | ||
313 | <ReferencePath>../../../bin/</ReferencePath> | 317 | <ReferencePath>../../../../bin/</ReferencePath> |
314 | <Reference name="System" localCopy="false"/> | 318 | <Reference name="System" localCopy="false"/> |
315 | <Reference name="Axiom.MathLib.dll" localCopy="false"/> | 319 | <Reference name="Axiom.MathLib.dll" localCopy="false"/> |
316 | <Reference name="OpenSim.Physics.Manager" localCopy="false"/> | 320 | <Reference name="OpenSim.Region.Physics.Manager" localCopy="false"/> |
317 | <Files> | 321 | <Files> |
318 | <Match pattern="*.cs" recurse="true"/> | 322 | <Match pattern="*.cs" recurse="true"/> |
319 | </Files> | 323 | </Files> |
320 | </Project> | 324 | </Project> |
321 | 325 | ||
322 | <Project name="OpenSim.Physics.PhysXPlugin" path="OpenSim/OpenSim.Physics/PhysXPlugin" type="Library"> | 326 | <Project name="OpenSim.Region.Physics.PhysXPlugin" path="OpenSim/Region/Physics/PhysXPlugin" type="Library"> |
323 | <Configuration name="Debug"> | 327 | <Configuration name="Debug"> |
324 | <Options> | 328 | <Options> |
325 | <OutputPath>../../../bin/Physics/</OutputPath> | 329 | <OutputPath>../../../../bin/Physics/</OutputPath> |
326 | </Options> | 330 | </Options> |
327 | </Configuration> | 331 | </Configuration> |
328 | <Configuration name="Release"> | 332 | <Configuration name="Release"> |
329 | <Options> | 333 | <Options> |
330 | <OutputPath>../../../bin/Physics/</OutputPath> | 334 | <OutputPath>../../../../bin/Physics/</OutputPath> |
331 | </Options> | 335 | </Options> |
332 | </Configuration> | 336 | </Configuration> |
333 | 337 | ||
334 | <ReferencePath>../../../bin/</ReferencePath> | 338 | <ReferencePath>../../../../bin/</ReferencePath> |
335 | <Reference name="System" localCopy="false"/> | 339 | <Reference name="System" localCopy="false"/> |
336 | <Reference name="Axiom.MathLib.dll" localCopy="false"/> | 340 | <Reference name="Axiom.MathLib.dll" localCopy="false"/> |
337 | <Reference name="PhysX_Wrapper_Dotnet.dll" localCopy="false"/> | 341 | <Reference name="PhysX_Wrapper_Dotnet.dll" localCopy="false"/> |
338 | <Reference name="OpenSim.Physics.Manager" localCopy="false"/> | 342 | <Reference name="OpenSim.Region.Physics.Manager" localCopy="false"/> |
339 | <Files> | 343 | <Files> |
340 | <Match pattern="*.cs" recurse="true"/> | 344 | <Match pattern="*.cs" recurse="true"/> |
341 | </Files> | 345 | </Files> |
342 | </Project> | 346 | </Project> |
343 | 347 | ||
344 | <Project name="OpenSim.Physics.OdePlugin" path="OpenSim/OpenSim.Physics/OdePlugin" type="Library"> | 348 | <Project name="OpenSim.Region.Physics.OdePlugin" path="OpenSim/Region/Physics/OdePlugin" type="Library"> |
345 | <Configuration name="Debug"> | 349 | <Configuration name="Debug"> |
346 | <Options> | 350 | <Options> |
347 | <OutputPath>../../../bin/Physics/</OutputPath> | 351 | <OutputPath>../../../../bin/Physics/</OutputPath> |
348 | </Options> | 352 | </Options> |
349 | </Configuration> | 353 | </Configuration> |
350 | <Configuration name="Release"> | 354 | <Configuration name="Release"> |
351 | <Options> | 355 | <Options> |
352 | <OutputPath>../../../bin/Physics/</OutputPath> | 356 | <OutputPath>../../../../bin/Physics/</OutputPath> |
353 | </Options> | 357 | </Options> |
354 | </Configuration> | 358 | </Configuration> |
355 | 359 | ||
356 | <ReferencePath>../../../bin/</ReferencePath> | 360 | <ReferencePath>../../../../bin/</ReferencePath> |
357 | <Reference name="System" localCopy="false"/> | 361 | <Reference name="System" localCopy="false"/> |
358 | <Reference name="Axiom.MathLib.dll" localCopy="false"/> | 362 | <Reference name="Axiom.MathLib.dll" localCopy="false"/> |
359 | <Reference name="OpenSim.Physics.Manager" localCopy="false"/> | 363 | <Reference name="OpenSim.Region.Physics.Manager" localCopy="false"/> |
360 | <Reference name="Ode.NET.dll" localCopy="false" /> | 364 | <Reference name="Ode.NET.dll" localCopy="false" /> |
361 | 365 | ||
362 | <Files> | 366 | <Files> |
@@ -365,19 +369,19 @@ | |||
365 | </Project> | 369 | </Project> |
366 | 370 | ||
367 | <!-- Xml Config Dll --> | 371 | <!-- Xml Config Dll --> |
368 | <Project name="OpenSim.GenericConfig.Xml" path="Common/OpenSim.GenericConfig/Xml" type="Library"> | 372 | <Project name="OpenSim.Framework.GenericConfig.Xml" path="OpenSim/Framework/GenericConfig/Xml" type="Library"> |
369 | <Configuration name="Debug"> | 373 | <Configuration name="Debug"> |
370 | <Options> | 374 | <Options> |
371 | <OutputPath>../../../bin/</OutputPath> | 375 | <OutputPath>../../../../bin/</OutputPath> |
372 | </Options> | 376 | </Options> |
373 | </Configuration> | 377 | </Configuration> |
374 | <Configuration name="Release"> | 378 | <Configuration name="Release"> |
375 | <Options> | 379 | <Options> |
376 | <OutputPath>../../../bin/</OutputPath> | 380 | <OutputPath>../../../../bin/</OutputPath> |
377 | </Options> | 381 | </Options> |
378 | </Configuration> | 382 | </Configuration> |
379 | 383 | ||
380 | <ReferencePath>../../../bin/</ReferencePath> | 384 | <ReferencePath>../../../../bin/</ReferencePath> |
381 | <Reference name="System"/> | 385 | <Reference name="System"/> |
382 | <Reference name="System.Xml"/> | 386 | <Reference name="System.Xml"/> |
383 | <Reference name="OpenSim.Framework"/> | 387 | <Reference name="OpenSim.Framework"/> |
@@ -388,45 +392,45 @@ | |||
388 | </Project> | 392 | </Project> |
389 | 393 | ||
390 | <!-- Terrain engine --> | 394 | <!-- Terrain engine --> |
391 | <Project name="OpenSim.Terrain.BasicTerrain" path="OpenSim/OpenSim.Terrain.BasicTerrain" type="Library"> | 395 | <Project name="OpenSim.Region.Terrain.BasicTerrain" path="OpenSim/Region/Terrain.BasicTerrain" type="Library"> |
392 | <Configuration name="Debug"> | 396 | <Configuration name="Debug"> |
393 | <Options> | 397 | <Options> |
394 | <OutputPath>../../bin/</OutputPath> | 398 | <OutputPath>../../../bin/</OutputPath> |
395 | </Options> | 399 | </Options> |
396 | </Configuration> | 400 | </Configuration> |
397 | <Configuration name="Release"> | 401 | <Configuration name="Release"> |
398 | <Options> | 402 | <Options> |
399 | <OutputPath>../../bin/</OutputPath> | 403 | <OutputPath>../../../bin/</OutputPath> |
400 | </Options> | 404 | </Options> |
401 | </Configuration> | 405 | </Configuration> |
402 | 406 | ||
403 | <ReferencePath>../../bin/</ReferencePath> | 407 | <ReferencePath>../../../bin/</ReferencePath> |
404 | <Reference name="System"/> | 408 | <Reference name="System"/> |
405 | <Reference name="System.Drawing"/> | 409 | <Reference name="System.Drawing"/> |
406 | <Reference name="System.Data"/> | 410 | <Reference name="System.Data"/> |
407 | <Reference name="System.Xml"/> | 411 | <Reference name="System.Xml"/> |
412 | <Reference name="Microsoft.JScript"/> | ||
408 | <Reference name="libTerrain-BSD.dll"/> | 413 | <Reference name="libTerrain-BSD.dll"/> |
409 | <Reference name="openjpegnet.dll" /> | 414 | <Reference name="openjpegnet.dll" /> |
410 | <Reference name="Microsoft.JScript"/> | ||
411 | 415 | ||
412 | <Files> | 416 | <Files> |
413 | <Match pattern="*.cs" recurse="true"/> | 417 | <Match pattern="*.cs" recurse="true"/> |
414 | </Files> | 418 | </Files> |
415 | </Project> | 419 | </Project> |
416 | 420 | ||
417 | <Project name="OpenGrid.Framework.Data" path="Common/OpenGrid.Framework.Data" type="Library"> | 421 | <Project name="OpenSim.Framework.Data" path="OpenSim/Framework/Data" type="Library"> |
418 | <Configuration name="Debug"> | 422 | <Configuration name="Debug"> |
419 | <Options> | 423 | <Options> |
420 | <OutputPath>../../bin/</OutputPath> | 424 | <OutputPath>../../../bin/</OutputPath> |
421 | </Options> | 425 | </Options> |
422 | </Configuration> | 426 | </Configuration> |
423 | <Configuration name="Release"> | 427 | <Configuration name="Release"> |
424 | <Options> | 428 | <Options> |
425 | <OutputPath>../../bin/</OutputPath> | 429 | <OutputPath>../../../bin/</OutputPath> |
426 | </Options> | 430 | </Options> |
427 | </Configuration> | 431 | </Configuration> |
428 | 432 | ||
429 | <ReferencePath>../../bin/</ReferencePath> | 433 | <ReferencePath>../../../bin/</ReferencePath> |
430 | <Reference name="System" localCopy="false"/> | 434 | <Reference name="System" localCopy="false"/> |
431 | <Reference name="System.Xml"/> | 435 | <Reference name="System.Xml"/> |
432 | <Reference name="System.Data"/> | 436 | <Reference name="System.Data"/> |
@@ -436,23 +440,23 @@ | |||
436 | </Files> | 440 | </Files> |
437 | </Project> | 441 | </Project> |
438 | 442 | ||
439 | <Project name="OpenGrid.Framework.Data.DB4o" path="Common/OpenGrid.Framework.Data.DB4o" type="Library"> | 443 | <Project name="OpenSim.Framework.Data.DB4o" path="OpenSim/Framework/Data.DB4o" type="Library"> |
440 | <Configuration name="Debug"> | 444 | <Configuration name="Debug"> |
441 | <Options> | 445 | <Options> |
442 | <OutputPath>../../bin/</OutputPath> | 446 | <OutputPath>../../../bin/</OutputPath> |
443 | </Options> | 447 | </Options> |
444 | </Configuration> | 448 | </Configuration> |
445 | <Configuration name="Release"> | 449 | <Configuration name="Release"> |
446 | <Options> | 450 | <Options> |
447 | <OutputPath>../../bin/</OutputPath> | 451 | <OutputPath>../../../bin/</OutputPath> |
448 | </Options> | 452 | </Options> |
449 | </Configuration> | 453 | </Configuration> |
450 | 454 | ||
451 | <ReferencePath>../../bin/</ReferencePath> | 455 | <ReferencePath>../../../bin/</ReferencePath> |
452 | <Reference name="System" localCopy="false"/> | 456 | <Reference name="System" localCopy="false"/> |
453 | <Reference name="System.Xml"/> | 457 | <Reference name="System.Xml"/> |
454 | <Reference name="System.Data"/> | 458 | <Reference name="System.Data"/> |
455 | <Reference name="OpenGrid.Framework.Data"/> | 459 | <Reference name="OpenSim.Framework.Data"/> |
456 | <Reference name="libsecondlife.dll"/> | 460 | <Reference name="libsecondlife.dll"/> |
457 | <Reference name="Db4objects.Db4o.dll"/> | 461 | <Reference name="Db4objects.Db4o.dll"/> |
458 | <Files> | 462 | <Files> |
@@ -460,28 +464,28 @@ | |||
460 | </Files> | 464 | </Files> |
461 | </Project> | 465 | </Project> |
462 | 466 | ||
463 | <Project name="OpenGrid.Framework.UserManagement" path="Common/OpenGrid.Framework.UserManager" type="Library"> | 467 | <Project name="OpenSim.Framework.UserManagement" path="OpenSim/Framework/UserManager" type="Library"> |
464 | <Configuration name="Debug"> | 468 | <Configuration name="Debug"> |
465 | <Options> | 469 | <Options> |
466 | <OutputPath>../../bin/</OutputPath> | 470 | <OutputPath>../../../bin/</OutputPath> |
467 | </Options> | 471 | </Options> |
468 | </Configuration> | 472 | </Configuration> |
469 | <Configuration name="Release"> | 473 | <Configuration name="Release"> |
470 | <Options> | 474 | <Options> |
471 | <OutputPath>../../bin/</OutputPath> | 475 | <OutputPath>../../../bin/</OutputPath> |
472 | </Options> | 476 | </Options> |
473 | </Configuration> | 477 | </Configuration> |
474 | 478 | ||
475 | <ReferencePath>../../bin/</ReferencePath> | 479 | <ReferencePath>../../../bin/</ReferencePath> |
476 | <Reference name="System" localCopy="false"/> | 480 | <Reference name="System" localCopy="false"/> |
477 | <Reference name="System.Data" localCopy="false"/> | 481 | <Reference name="System.Data" localCopy="false"/> |
478 | <Reference name="System.Xml" localCopy="false"/> | 482 | <Reference name="System.Xml" localCopy="false"/> |
479 | <Reference name="XMLRPC"/> | 483 | <Reference name="XMLRPC.dll"/> |
480 | <Reference name="OpenSim.Framework"/> | 484 | <Reference name="OpenSim.Framework"/> |
481 | <Reference name="OpenSim.Framework.Console"/> | 485 | <Reference name="OpenSim.Framework.Console"/> |
482 | <Reference name="OpenGrid.Framework.Data"/> | 486 | <Reference name="OpenSim.Framework.Data"/> |
483 | <Reference name="OpenSim.GenericConfig.Xml"/> | 487 | <Reference name="OpenSim.Framework.GenericConfig.Xml"/> |
484 | <Reference name="OpenSim.Servers"/> | 488 | <Reference name="OpenSim.Framework.Servers"/> |
485 | <Reference name="libsecondlife.dll"/> | 489 | <Reference name="libsecondlife.dll"/> |
486 | <Reference name="Db4objects.Db4o.dll"/> | 490 | <Reference name="Db4objects.Db4o.dll"/> |
487 | 491 | ||
@@ -490,24 +494,24 @@ | |||
490 | </Files> | 494 | </Files> |
491 | </Project> | 495 | </Project> |
492 | 496 | ||
493 | <!-- OpenGridFrameWork.Communications" --> | 497 | <!-- OpenSim.Framework.Communications --> |
494 | <Project name="OpenGrid.Framework.Communications" path="Common/OpenGrid.Framework.Communications" type="Library"> | 498 | <Project name="OpenSim.Framework.Communications" path="OpenSim/Framework/Communications" type="Library"> |
495 | <Configuration name="Debug"> | 499 | <Configuration name="Debug"> |
496 | <Options> | 500 | <Options> |
497 | <OutputPath>../../bin/</OutputPath> | 501 | <OutputPath>../../../bin/</OutputPath> |
498 | </Options> | 502 | </Options> |
499 | </Configuration> | 503 | </Configuration> |
500 | <Configuration name="Release"> | 504 | <Configuration name="Release"> |
501 | <Options> | 505 | <Options> |
502 | <OutputPath>../../bin/</OutputPath> | 506 | <OutputPath>../../../bin/</OutputPath> |
503 | </Options> | 507 | </Options> |
504 | </Configuration> | 508 | </Configuration> |
505 | 509 | ||
506 | <ReferencePath>../../bin/</ReferencePath> | 510 | <ReferencePath>../../../bin/</ReferencePath> |
507 | <Reference name="System"/> | 511 | <Reference name="System"/> |
508 | <Reference name="System.Xml"/> | 512 | <Reference name="System.Xml"/> |
509 | <Reference name="OpenSim.Framework"/> | 513 | <Reference name="OpenSim.Framework"/> |
510 | <Reference name="OpenGrid.Framework.Data" /> | 514 | <Reference name="OpenSim.Framework.Data" /> |
511 | <Reference name="libsecondlife.dll"/> | 515 | <Reference name="libsecondlife.dll"/> |
512 | 516 | ||
513 | <Files> | 517 | <Files> |
@@ -515,54 +519,54 @@ | |||
515 | </Files> | 519 | </Files> |
516 | </Project> | 520 | </Project> |
517 | 521 | ||
518 | <Project name="OpenGrid.Framework.Communications.OGS1" path="Common/OpenGrid.Framework.Communications.OGS1" type="Library"> | 522 | <Project name="OpenSim.Region.Communications.OGS1" path="OpenSim/Region/Communications/OGS1" type="Library"> |
519 | <Configuration name="Debug"> | 523 | <Configuration name="Debug"> |
520 | <Options> | 524 | <Options> |
521 | <OutputPath>../../bin/</OutputPath> | 525 | <OutputPath>../../../../bin/</OutputPath> |
522 | </Options> | 526 | </Options> |
523 | </Configuration> | 527 | </Configuration> |
524 | <Configuration name="Release"> | 528 | <Configuration name="Release"> |
525 | <Options> | 529 | <Options> |
526 | <OutputPath>../../bin/</OutputPath> | 530 | <OutputPath>../../../../bin/</OutputPath> |
527 | </Options> | 531 | </Options> |
528 | </Configuration> | 532 | </Configuration> |
529 | 533 | ||
530 | <ReferencePath>../../bin/</ReferencePath> | 534 | <ReferencePath>../../../../bin/</ReferencePath> |
531 | <Reference name="System"/> | 535 | <Reference name="System"/> |
532 | <Reference name="System.Xml"/> | 536 | <Reference name="System.Xml"/> |
533 | <Reference name="System.Data"/> | 537 | <Reference name="System.Data"/> |
534 | <Reference name="System.Runtime.Remoting"/> | 538 | <Reference name="System.Runtime.Remoting"/> |
535 | <Reference name="OpenSim.Framework"/> | 539 | <Reference name="OpenSim.Framework"/> |
536 | <Reference name="OpenSim.Framework.Console"/> | 540 | <Reference name="OpenSim.Framework.Console"/> |
537 | <Reference name="OpenSim.Servers"/> | 541 | <Reference name="OpenSim.Framework.Servers"/> |
538 | <Reference name="OpenGrid.Framework.Communications" /> | 542 | <Reference name="OpenSim.Framework.Communications" /> |
539 | <Reference name="OpenGrid.Framework.Data" /> | 543 | <Reference name="OpenSim.Framework.Data" /> |
540 | <Reference name="libsecondlife.dll"/> | 544 | <Reference name="libsecondlife.dll"/> |
541 | <Reference name="XMLRPC"/> | 545 | <Reference name="XMLRPC.dll"/> |
542 | 546 | ||
543 | <Files> | 547 | <Files> |
544 | <Match pattern="*.cs" recurse="true"/> | 548 | <Match pattern="*.cs" recurse="true"/> |
545 | </Files> | 549 | </Files> |
546 | </Project> | 550 | </Project> |
547 | 551 | ||
548 | <Project name="OpenSim.LocalCommunications" path="OpenSim/OpenSim.LocalCommunications" type="Library"> | 552 | <Project name="OpenSim.Region.Communications.Local" path="OpenSim/Region/Communications/Local" type="Library"> |
549 | <Configuration name="Debug"> | 553 | <Configuration name="Debug"> |
550 | <Options> | 554 | <Options> |
551 | <OutputPath>../../bin/</OutputPath> | 555 | <OutputPath>../../../../bin/</OutputPath> |
552 | </Options> | 556 | </Options> |
553 | </Configuration> | 557 | </Configuration> |
554 | <Configuration name="Release"> | 558 | <Configuration name="Release"> |
555 | <Options> | 559 | <Options> |
556 | <OutputPath>../../bin/</OutputPath> | 560 | <OutputPath>../../../../bin/</OutputPath> |
557 | </Options> | 561 | </Options> |
558 | </Configuration> | 562 | </Configuration> |
559 | 563 | ||
560 | <ReferencePath>../../bin/</ReferencePath> | 564 | <ReferencePath>../../../../bin/</ReferencePath> |
561 | <Reference name="System"/> | 565 | <Reference name="System"/> |
562 | <Reference name="System.Xml"/> | 566 | <Reference name="System.Xml"/> |
563 | <Reference name="OpenGrid.Framework.Communications"/> | 567 | <Reference name="OpenSim.Framework.Communications"/> |
564 | <Reference name="OpenGrid.Framework.UserManagement" /> | 568 | <Reference name="OpenSim.Framework.UserManagement" /> |
565 | <Reference name="OpenGrid.Framework.Data" /> | 569 | <Reference name="OpenSim.Framework.Data" /> |
566 | <Reference name="libsecondlife.dll"/> | 570 | <Reference name="libsecondlife.dll"/> |
567 | <Reference name="OpenSim.Framework"/> | 571 | <Reference name="OpenSim.Framework"/> |
568 | 572 | ||
@@ -571,33 +575,31 @@ | |||
571 | </Files> | 575 | </Files> |
572 | </Project> | 576 | </Project> |
573 | 577 | ||
574 | <Project name="OpenSim.RegionServer" path="OpenSim/OpenSim.RegionServer" type="Library"> | 578 | <Project name="OpenSim.Region.ClientStack" path="OpenSim/Region/ClientStack" type="Library"> |
575 | <Configuration name="Debug"> | 579 | <Configuration name="Debug"> |
576 | <Options> | 580 | <Options> |
577 | <OutputPath>../../bin/</OutputPath> | 581 | <OutputPath>../../../bin/</OutputPath> |
578 | </Options> | 582 | </Options> |
579 | </Configuration> | 583 | </Configuration> |
580 | <Configuration name="Release"> | 584 | <Configuration name="Release"> |
581 | <Options> | 585 | <Options> |
582 | <OutputPath>../../bin/</OutputPath> | 586 | <OutputPath>../../../bin/</OutputPath> |
583 | </Options> | 587 | </Options> |
584 | </Configuration> | 588 | </Configuration> |
585 | 589 | ||
586 | <ReferencePath>../../bin/</ReferencePath> | 590 | <ReferencePath>../../../bin/</ReferencePath> |
587 | <Reference name="System" localCopy="false"/> | 591 | <Reference name="System" localCopy="false"/> |
588 | <Reference name="System.Xml"/> | 592 | <Reference name="System.Xml"/> |
589 | <Reference name="libsecondlife.dll"/> | 593 | <Reference name="libsecondlife.dll"/> |
590 | <Reference name="Axiom.MathLib.dll"/> | 594 | <Reference name="Axiom.MathLib.dll"/> |
591 | <Reference name="Db4objects.Db4o.dll"/> | 595 | <Reference name="Db4objects.Db4o.dll"/> |
592 | <Reference name="OpenSim.Terrain.BasicTerrain"/> | 596 | <Reference name="OpenSim.Region.Terrain.BasicTerrain"/> |
593 | <Reference name="OpenSim.Framework"/> | 597 | <Reference name="OpenSim.Framework"/> |
594 | <Reference name="OpenSim.Framework.Console"/> | 598 | <Reference name="OpenSim.Framework.Console"/> |
595 | <Reference name="OpenSim.GenericConfig.Xml"/> | 599 | <Reference name="OpenSim.Region.Physics.Manager"/> |
596 | <Reference name="OpenSim.Physics.Manager"/> | 600 | <Reference name="OpenSim.Framework.Servers"/> |
597 | <Reference name="OpenSim.Region"/> | 601 | <Reference name="OpenSim.Region.Caches"/> |
598 | <Reference name="OpenSim.Servers"/> | 602 | <Reference name="XMLRPC.dll"/> |
599 | <Reference name="OpenSim.Caches"/> | ||
600 | <Reference name="XMLRPC"/> | ||
601 | 603 | ||
602 | <Files> | 604 | <Files> |
603 | <Match pattern="*.cs" recurse="true"/> | 605 | <Match pattern="*.cs" recurse="true"/> |
@@ -606,37 +608,36 @@ | |||
606 | 608 | ||
607 | 609 | ||
608 | 610 | ||
609 | <Project name="OpenSim.Region" path="OpenSim/OpenSim.Region" type="Library"> | 611 | <Project name="OpenSim.Region.Environment" path="OpenSim/Region/Environment" type="Library"> |
610 | <Configuration name="Debug"> | 612 | <Configuration name="Debug"> |
611 | <Options> | 613 | <Options> |
612 | <OutputPath>../../bin/</OutputPath> | 614 | <OutputPath>../../../bin/</OutputPath> |
613 | </Options> | 615 | </Options> |
614 | </Configuration> | 616 | </Configuration> |
615 | <Configuration name="Release"> | 617 | <Configuration name="Release"> |
616 | <Options> | 618 | <Options> |
617 | <OutputPath>../../bin/</OutputPath> | 619 | <OutputPath>../../../bin/</OutputPath> |
618 | </Options> | 620 | </Options> |
619 | </Configuration> | 621 | </Configuration> |
620 | 622 | ||
621 | <ReferencePath>../../bin/</ReferencePath> | 623 | <ReferencePath>../../../bin/</ReferencePath> |
622 | <Reference name="System" localCopy="false"/> | 624 | <Reference name="System" localCopy="false"/> |
623 | <Reference name="System.Xml"/> | 625 | <Reference name="System.Xml"/> |
624 | <Reference name="libsecondlife.dll"/> | 626 | <Reference name="libsecondlife.dll"/> |
625 | <Reference name="Axiom.MathLib.dll"/> | 627 | <Reference name="Axiom.MathLib.dll"/> |
626 | <Reference name="Db4objects.Db4o.dll"/> | 628 | <Reference name="Db4objects.Db4o.dll"/> |
627 | <Reference name="OpenSim.Terrain.BasicTerrain"/> | 629 | <Reference name="OpenSim.Region.Terrain.BasicTerrain"/> |
628 | <Reference name="OpenSim.Framework"/> | 630 | <Reference name="OpenSim.Framework"/> |
629 | <Reference name="OpenSim.Framework.Console"/> | 631 | <Reference name="OpenSim.Framework.Console"/> |
630 | <Reference name="OpenSim.GenericConfig.Xml"/> | 632 | <Reference name="OpenSim.Framework.GenericConfig.Xml"/> |
631 | <Reference name="OpenSim.Physics.Manager"/> | 633 | <Reference name="OpenSim.Region.Physics.Manager"/> |
632 | <Reference name="OpenSim.Servers"/> | 634 | <Reference name="OpenSim.Framework.Servers"/> |
633 | <Reference name="OpenSim.Caches"/> | 635 | <Reference name="OpenSim.Region.Caches"/> |
636 | <Reference name="OpenSim.Region.Capabilities"/> | ||
634 | <!-- For scripting in funny languages by default --> | 637 | <!-- For scripting in funny languages by default --> |
635 | <Reference name="Microsoft.JScript"/> | 638 | <Reference name="Microsoft.JScript"/> |
636 | <!-- This needs checking with the Mono folks --> | 639 | <Reference name="XMLRPC.dll"/> |
637 | <Reference name="VJSharpCodeProvider"/> | 640 | <Reference name="OpenSim.Framework.Communications"/> |
638 | <Reference name="XMLRPC"/> | ||
639 | <Reference name="OpenGrid.Framework.Communications"/> | ||
640 | 641 | ||
641 | <Files> | 642 | <Files> |
642 | <Match pattern="*.cs" recurse="true"/> | 643 | <Match pattern="*.cs" recurse="true"/> |
@@ -644,38 +645,39 @@ | |||
644 | </Project> | 645 | </Project> |
645 | 646 | ||
646 | <!-- OpenSim app --> | 647 | <!-- OpenSim app --> |
647 | <Project name="OpenSim" path="OpenSim/OpenSim" type="Exe"> | 648 | <Project name="OpenSim" path="OpenSim/Region/Application" type="Exe"> |
648 | <Configuration name="Debug"> | 649 | <Configuration name="Debug"> |
649 | <Options> | 650 | <Options> |
650 | <OutputPath>../../bin/</OutputPath> | 651 | <OutputPath>../../../bin/</OutputPath> |
651 | </Options> | 652 | </Options> |
652 | </Configuration> | 653 | </Configuration> |
653 | <Configuration name="Release"> | 654 | <Configuration name="Release"> |
654 | <Options> | 655 | <Options> |
655 | <OutputPath>../../bin/</OutputPath> | 656 | <OutputPath>../../../bin/</OutputPath> |
656 | </Options> | 657 | </Options> |
657 | </Configuration> | 658 | </Configuration> |
658 | 659 | ||
659 | <ReferencePath>../../bin/</ReferencePath> | 660 | <ReferencePath>../../../bin/</ReferencePath> |
660 | <Reference name="System" localCopy="false"/> | 661 | <Reference name="System" localCopy="false"/> |
661 | <Reference name="System.Xml"/> | 662 | <Reference name="System.Xml"/> |
662 | <Reference name="libsecondlife.dll"/> | 663 | <Reference name="libsecondlife.dll"/> |
663 | <Reference name="Axiom.MathLib.dll"/> | 664 | <Reference name="Axiom.MathLib.dll"/> |
664 | <Reference name="Db4objects.Db4o.dll"/> | 665 | <Reference name="Db4objects.Db4o.dll"/> |
665 | <Reference name="OpenSim.Terrain.BasicTerrain"/> | 666 | <Reference name="OpenSim.Region.Terrain.BasicTerrain"/> |
666 | <Reference name="OpenSim.Framework"/> | 667 | <Reference name="OpenSim.Framework"/> |
668 | <Reference name="OpenSim.Framework.Data"/> | ||
667 | <Reference name="OpenSim.Framework.Console"/> | 669 | <Reference name="OpenSim.Framework.Console"/> |
668 | <Reference name="OpenSim.Physics.Manager"/> | 670 | <Reference name="OpenSim.Region.Physics.Manager"/> |
669 | <Reference name="OpenSim.Servers"/> | 671 | <Reference name="OpenSim.Framework.Servers"/> |
670 | <Reference name="OpenSim.Region"/> | 672 | <Reference name="OpenSim.Region.Environment"/> |
671 | <Reference name="OpenSim.RegionServer"/> | 673 | <Reference name="OpenSim.Region.ClientStack"/> |
672 | <Reference name="OpenSim.GenericConfig.Xml"/> | 674 | <Reference name="OpenSim.Framework.GenericConfig.Xml"/> |
673 | <Reference name="OpenGrid.Framework.Communications"/> | 675 | <Reference name="OpenSim.Framework.Communications"/> |
674 | <Reference name="OpenGrid.Framework.Communications.OGS1"/> | 676 | <Reference name="OpenSim.Region.Communications.OGS1"/> |
675 | <Reference name="OpenSim.Caches"/> | 677 | <Reference name="OpenSim.Region.Caches"/> |
676 | <Reference name="XMLRPC"/> | 678 | <Reference name="XMLRPC.dll"/> |
677 | <Reference name="OpenGrid.Framework.UserManagement" /> | 679 | <Reference name="OpenSim.Framework.UserManagement" /> |
678 | <Reference name="OpenSim.LocalCommunications"/> | 680 | <Reference name="OpenSim.Region.Communications.Local"/> |
679 | 681 | ||
680 | <Files> | 682 | <Files> |
681 | <Match pattern="*.cs" recurse="true"/> | 683 | <Match pattern="*.cs" recurse="true"/> |
@@ -684,19 +686,19 @@ | |||
684 | 686 | ||
685 | <!-- Scene Server API Example Apps --> | 687 | <!-- Scene Server API Example Apps --> |
686 | 688 | ||
687 | <Project name="SimpleApp" path="OpenSim/Examples/SimpleApp" type="Exe"> | 689 | <Project name="SimpleApp" path="OpenSim/Region/Examples/SimpleApp" type="Exe"> |
688 | <Configuration name="Debug"> | 690 | <Configuration name="Debug"> |
689 | <Options> | 691 | <Options> |
690 | <OutputPath>../../../bin/</OutputPath> | 692 | <OutputPath>../../../../bin/</OutputPath> |
691 | </Options> | 693 | </Options> |
692 | </Configuration> | 694 | </Configuration> |
693 | <Configuration name="Release"> | 695 | <Configuration name="Release"> |
694 | <Options> | 696 | <Options> |
695 | <OutputPath>../../../bin/</OutputPath> | 697 | <OutputPath>../../../../bin/</OutputPath> |
696 | </Options> | 698 | </Options> |
697 | </Configuration> | 699 | </Configuration> |
698 | 700 | ||
699 | <ReferencePath>../../../bin/</ReferencePath> | 701 | <ReferencePath>../../../../bin/</ReferencePath> |
700 | 702 | ||
701 | <Reference name="libsecondlife.dll"/> | 703 | <Reference name="libsecondlife.dll"/> |
702 | <Reference name="System" localCopy="false"/> | 704 | <Reference name="System" localCopy="false"/> |
@@ -705,14 +707,14 @@ | |||
705 | 707 | ||
706 | <Reference name="OpenSim.Framework.Console"/> | 708 | <Reference name="OpenSim.Framework.Console"/> |
707 | <Reference name="OpenSim.Framework"/> | 709 | <Reference name="OpenSim.Framework"/> |
708 | <Reference name="XMLRPC"/> | 710 | <Reference name="XMLRPC.dll"/> |
709 | <Reference name="OpenSim.GridInterfaces.Local"/> | 711 | <Reference name="OpenSim.Region.GridInterfaces.Local"/> |
710 | <Reference name="OpenSim.Servers"/> | 712 | <Reference name="OpenSim.Framework.Servers"/> |
711 | <Reference name="OpenGrid.Framework.Communications"/> | 713 | <Reference name="OpenSim.Framework.Communications"/> |
712 | <Reference name="OpenSim.LocalCommunications"/> | 714 | <Reference name="OpenSim.Region.Communications.Local"/> |
713 | <Reference name="OpenSim.Caches"/> | 715 | <Reference name="OpenSim.Region.Caches"/> |
714 | <Reference name="OpenSim.RegionServer"/> | 716 | <Reference name="OpenSim.Region.ClientStack"/> |
715 | <Reference name="OpenSim.Region"/> | 717 | <Reference name="OpenSim.Region.Environment"/> |
716 | 718 | ||
717 | 719 | ||
718 | <Files> | 720 | <Files> |
@@ -756,20 +758,20 @@ | |||
756 | </Configuration> | 758 | </Configuration> |
757 | 759 | ||
758 | 760 | ||
759 | <!-- OpenGrid Data Services --> | 761 | <!-- OpenSim Data Services --> |
760 | <Project name="OpenGrid.Framework.Data" path="Common/OpenGrid.Framework.Data" type="Library"> | 762 | <Project name="OpenSim.Framework.Data" path="OpenSim/Framework/Data" type="Library"> |
761 | <Configuration name="Debug"> | 763 | <Configuration name="Debug"> |
762 | <Options> | 764 | <Options> |
763 | <OutputPath>../../bin/</OutputPath> | 765 | <OutputPath>../../../bin/</OutputPath> |
764 | </Options> | 766 | </Options> |
765 | </Configuration> | 767 | </Configuration> |
766 | <Configuration name="Release"> | 768 | <Configuration name="Release"> |
767 | <Options> | 769 | <Options> |
768 | <OutputPath>../../bin/</OutputPath> | 770 | <OutputPath>../../../bin/</OutputPath> |
769 | </Options> | 771 | </Options> |
770 | </Configuration> | 772 | </Configuration> |
771 | 773 | ||
772 | <ReferencePath>../../bin/</ReferencePath> | 774 | <ReferencePath>../../../bin/</ReferencePath> |
773 | <Reference name="System" localCopy="false"/> | 775 | <Reference name="System" localCopy="false"/> |
774 | <Reference name="System.Xml"/> | 776 | <Reference name="System.Xml"/> |
775 | <Reference name="System.Data"/> | 777 | <Reference name="System.Data"/> |
@@ -779,23 +781,23 @@ | |||
779 | </Files> | 781 | </Files> |
780 | </Project> | 782 | </Project> |
781 | 783 | ||
782 | <Project name="OpenGrid.Framework.Data.MySQL" path="OpenGridServices/OpenGrid.Framework.Data.MySQL" type="Library"> | 784 | <Project name="OpenSim.Framework.Data.MySQL" path="OpenSim/Framework/Data.MySQL" type="Library"> |
783 | <Configuration name="Debug"> | 785 | <Configuration name="Debug"> |
784 | <Options> | 786 | <Options> |
785 | <OutputPath>../../bin/</OutputPath> | 787 | <OutputPath>../../../bin/</OutputPath> |
786 | </Options> | 788 | </Options> |
787 | </Configuration> | 789 | </Configuration> |
788 | <Configuration name="Release"> | 790 | <Configuration name="Release"> |
789 | <Options> | 791 | <Options> |
790 | <OutputPath>../../bin/</OutputPath> | 792 | <OutputPath>../../../bin/</OutputPath> |
791 | </Options> | 793 | </Options> |
792 | </Configuration> | 794 | </Configuration> |
793 | 795 | ||
794 | <ReferencePath>../../bin/</ReferencePath> | 796 | <ReferencePath>../../../bin/</ReferencePath> |
795 | <Reference name="System" localCopy="false"/> | 797 | <Reference name="System" localCopy="false"/> |
796 | <Reference name="System.Xml"/> | 798 | <Reference name="System.Xml"/> |
797 | <Reference name="System.Data"/> | 799 | <Reference name="System.Data"/> |
798 | <Reference name="OpenGrid.Framework.Data"/> | 800 | <Reference name="OpenSim.Framework.Data"/> |
799 | <Reference name="libsecondlife.dll"/> | 801 | <Reference name="libsecondlife.dll"/> |
800 | <Reference name="MySql.Data.dll"/> | 802 | <Reference name="MySql.Data.dll"/> |
801 | <Files> | 803 | <Files> |
@@ -803,23 +805,23 @@ | |||
803 | </Files> | 805 | </Files> |
804 | </Project> | 806 | </Project> |
805 | 807 | ||
806 | <Project name="OpenGrid.Framework.Data.DB4o" path="Common/OpenGrid.Framework.Data.DB4o" type="Library"> | 808 | <Project name="OpenSim.Framework.Data.DB4o" path="OpenSim/Framework/Data.DB4o" type="Library"> |
807 | <Configuration name="Debug"> | 809 | <Configuration name="Debug"> |
808 | <Options> | 810 | <Options> |
809 | <OutputPath>../../bin/</OutputPath> | 811 | <OutputPath>../../../bin/</OutputPath> |
810 | </Options> | 812 | </Options> |
811 | </Configuration> | 813 | </Configuration> |
812 | <Configuration name="Release"> | 814 | <Configuration name="Release"> |
813 | <Options> | 815 | <Options> |
814 | <OutputPath>../../bin/</OutputPath> | 816 | <OutputPath>../../../bin/</OutputPath> |
815 | </Options> | 817 | </Options> |
816 | </Configuration> | 818 | </Configuration> |
817 | 819 | ||
818 | <ReferencePath>../../bin/</ReferencePath> | 820 | <ReferencePath>../../../bin/</ReferencePath> |
819 | <Reference name="System" localCopy="false"/> | 821 | <Reference name="System" localCopy="false"/> |
820 | <Reference name="System.Xml"/> | 822 | <Reference name="System.Xml"/> |
821 | <Reference name="System.Data"/> | 823 | <Reference name="System.Data"/> |
822 | <Reference name="OpenGrid.Framework.Data"/> | 824 | <Reference name="OpenSim.Framework.Data"/> |
823 | <Reference name="libsecondlife.dll"/> | 825 | <Reference name="libsecondlife.dll"/> |
824 | <Reference name="Db4objects.Db4o.dll"/> | 826 | <Reference name="Db4objects.Db4o.dll"/> |
825 | <Files> | 827 | <Files> |
@@ -827,47 +829,47 @@ | |||
827 | </Files> | 829 | </Files> |
828 | </Project> | 830 | </Project> |
829 | 831 | ||
830 | <Project name="OpenGrid.Framework.Data.MSSQL" path="OpenGridServices/OpenGrid.Framework.Data.MSSQL" type="Library"> | 832 | <Project name="OpenSim.Framework.Data.MSSQL" path="OpenSim/Framework/Data.MSSQL" type="Library"> |
831 | <Configuration name="Debug"> | 833 | <Configuration name="Debug"> |
832 | <Options> | 834 | <Options> |
833 | <OutputPath>../../bin/</OutputPath> | 835 | <OutputPath>../../../bin/</OutputPath> |
834 | </Options> | 836 | </Options> |
835 | </Configuration> | 837 | </Configuration> |
836 | <Configuration name="Release"> | 838 | <Configuration name="Release"> |
837 | <Options> | 839 | <Options> |
838 | <OutputPath>../../bin/</OutputPath> | 840 | <OutputPath>../../../bin/</OutputPath> |
839 | </Options> | 841 | </Options> |
840 | </Configuration> | 842 | </Configuration> |
841 | 843 | ||
842 | <ReferencePath>../../bin/</ReferencePath> | 844 | <ReferencePath>../../../bin/</ReferencePath> |
843 | <Reference name="System" localCopy="false"/> | 845 | <Reference name="System" localCopy="false"/> |
844 | <Reference name="System.Xml"/> | 846 | <Reference name="System.Xml"/> |
845 | <Reference name="System.Data"/> | 847 | <Reference name="System.Data"/> |
846 | <Reference name="OpenGrid.Framework.Data"/> | 848 | <Reference name="OpenSim.Framework.Data"/> |
847 | <Reference name="libsecondlife.dll"/> | 849 | <Reference name="libsecondlife.dll"/> |
848 | <Files> | 850 | <Files> |
849 | <Match pattern="*.cs" recurse="true"/> | 851 | <Match pattern="*.cs" recurse="true"/> |
850 | </Files> | 852 | </Files> |
851 | </Project> | 853 | </Project> |
852 | 854 | ||
853 | <Project name="OpenGrid.Framework.Data.SQLite" path="OpenGridServices/OpenGrid.Framework.Data.SQLite" type="Library"> | 855 | <Project name="OpenSim.Framework.Data.SQLite" path="OpenSim/Framework/Data.SQLite" type="Library"> |
854 | <Configuration name="Debug"> | 856 | <Configuration name="Debug"> |
855 | <Options> | 857 | <Options> |
856 | <OutputPath>../../bin/</OutputPath> | 858 | <OutputPath>../../../bin/</OutputPath> |
857 | </Options> | 859 | </Options> |
858 | </Configuration> | 860 | </Configuration> |
859 | <Configuration name="Release"> | 861 | <Configuration name="Release"> |
860 | <Options> | 862 | <Options> |
861 | <OutputPath>../../bin/</OutputPath> | 863 | <OutputPath>../../../bin/</OutputPath> |
862 | </Options> | 864 | </Options> |
863 | </Configuration> | 865 | </Configuration> |
864 | 866 | ||
865 | <ReferencePath>../../bin/</ReferencePath> | 867 | <ReferencePath>../../../bin/</ReferencePath> |
866 | <Reference name="System" localCopy="false"/> | 868 | <Reference name="System" localCopy="false"/> |
867 | <Reference name="System.Xml"/> | 869 | <Reference name="System.Xml"/> |
868 | <Reference name="System.Data"/> | 870 | <Reference name="System.Data"/> |
869 | <Reference name="System.Data.SQLite.dll"/> | 871 | <Reference name="System.Data.SQLite.dll"/> |
870 | <Reference name="OpenGrid.Framework.Data"/> | 872 | <Reference name="OpenSim.Framework.Data"/> |
871 | <Reference name="libsecondlife.dll"/> | 873 | <Reference name="libsecondlife.dll"/> |
872 | <Files> | 874 | <Files> |
873 | <Match pattern="*.cs" recurse="true"/> | 875 | <Match pattern="*.cs" recurse="true"/> |
@@ -876,24 +878,24 @@ | |||
876 | 878 | ||
877 | <!-- OGS projects --> | 879 | <!-- OGS projects --> |
878 | 880 | ||
879 | <Project name="OpenGrid.Framework.Manager" path="OpenGridServices/OpenGrid.Framework.Manager" type="Library"> | 881 | <Project name="OpenSim.Grid.Framework.Manager" path="OpenSim/Grid/Framework.Manager" type="Library"> |
880 | <Configuration name="Debug"> | 882 | <Configuration name="Debug"> |
881 | <Options> | 883 | <Options> |
882 | <OutputPath>../../bin/</OutputPath> | 884 | <OutputPath>../../../bin/</OutputPath> |
883 | </Options> | 885 | </Options> |
884 | </Configuration> | 886 | </Configuration> |
885 | <Configuration name="Release"> | 887 | <Configuration name="Release"> |
886 | <Options> | 888 | <Options> |
887 | <OutputPath>../../bin/</OutputPath> | 889 | <OutputPath>../../../bin/</OutputPath> |
888 | </Options> | 890 | </Options> |
889 | </Configuration> | 891 | </Configuration> |
890 | 892 | ||
891 | <ReferencePath>../../bin/</ReferencePath> | 893 | <ReferencePath>../../../bin/</ReferencePath> |
892 | <Reference name="System" localCopy="false"/> | 894 | <Reference name="System" localCopy="false"/> |
893 | <Reference name="OpenSim.Framework"/> | 895 | <Reference name="OpenSim.Framework"/> |
894 | <Reference name="OpenSim.Servers"/> | 896 | <Reference name="OpenSim.Framework.Servers"/> |
895 | <Reference name="libsecondlife.dll"/> | 897 | <Reference name="libsecondlife.dll"/> |
896 | <Reference name="XMLRPC"/> | 898 | <Reference name="XMLRPC.dll"/> |
897 | 899 | ||
898 | 900 | ||
899 | <Files> | 901 | <Files> |
@@ -901,130 +903,127 @@ | |||
901 | </Files> | 903 | </Files> |
902 | </Project> | 904 | </Project> |
903 | 905 | ||
904 | <Project name="OpenGridServices.GridServer" path="OpenGridServices/OpenGridServices.GridServer" type="Exe"> | 906 | <Project name="OpenSim.Grid.GridServer" path="OpenSim/Grid/GridServer" type="Exe"> |
905 | <Configuration name="Debug"> | 907 | <Configuration name="Debug"> |
906 | <Options> | 908 | <Options> |
907 | <OutputPath>../../bin/</OutputPath> | 909 | <OutputPath>../../../bin/</OutputPath> |
908 | </Options> | 910 | </Options> |
909 | </Configuration> | 911 | </Configuration> |
910 | <Configuration name="Release"> | 912 | <Configuration name="Release"> |
911 | <Options> | 913 | <Options> |
912 | <OutputPath>../../bin/</OutputPath> | 914 | <OutputPath>../../../bin/</OutputPath> |
913 | </Options> | 915 | </Options> |
914 | </Configuration> | 916 | </Configuration> |
915 | 917 | ||
916 | <ReferencePath>../../bin/</ReferencePath> | 918 | <ReferencePath>../../../bin/</ReferencePath> |
917 | <Reference name="System" localCopy="false"/> | 919 | <Reference name="System" localCopy="false"/> |
918 | <Reference name="System.Data" localCopy="false"/> | 920 | <Reference name="System.Data" localCopy="false"/> |
919 | <Reference name="System.Xml" localCopy="false"/> | 921 | <Reference name="System.Xml" localCopy="false"/> |
920 | <Reference name="OpenSim.Framework"/> | 922 | <Reference name="OpenSim.Framework"/> |
921 | <Reference name="OpenSim.Framework.Console"/> | 923 | <Reference name="OpenSim.Framework.Console"/> |
922 | <Reference name="OpenSim.Servers"/> | 924 | <Reference name="OpenSim.Framework.Servers"/> |
923 | <Reference name="OpenGrid.Framework.Data"/> | 925 | <Reference name="OpenSim.Framework.Data"/> |
924 | <Reference name="OpenGrid.Framework.Manager"/> | 926 | <Reference name="OpenSim.Grid.Framework.Manager"/> |
925 | <Reference name="OpenSim.GenericConfig.Xml"/> | 927 | <Reference name="OpenSim.Framework.GenericConfig.Xml"/> |
926 | <Reference name="libsecondlife.dll"/> | 928 | <Reference name="libsecondlife.dll"/> |
927 | <Reference name="Db4objects.Db4o.dll"/> | 929 | <Reference name="Db4objects.Db4o.dll"/> |
928 | <Reference name="XMLRPC"/> | 930 | <Reference name="XMLRPC.dll"/> |
929 | 931 | ||
930 | <Files> | 932 | <Files> |
931 | <Match pattern="*.cs" recurse="true"/> | 933 | <Match pattern="*.cs" recurse="true"/> |
932 | </Files> | 934 | </Files> |
933 | </Project> | 935 | </Project> |
934 | 936 | ||
935 | <Project name="OpenGridServices.AssetServer" path="OpenGridServices/OpenGridServices.AssetServer" type="Exe"> | 937 | <Project name="OpenSim.Grid.AssetServer" path="OpenSim/Grid/AssetServer" type="Exe"> |
936 | <Configuration name="Debug"> | 938 | <Configuration name="Debug"> |
937 | <Options> | 939 | <Options> |
938 | <OutputPath>../../bin/</OutputPath> | 940 | <OutputPath>../../../bin/</OutputPath> |
939 | </Options> | 941 | </Options> |
940 | </Configuration> | 942 | </Configuration> |
941 | <Configuration name="Release"> | 943 | <Configuration name="Release"> |
942 | <Options> | 944 | <Options> |
943 | <OutputPath>../../bin/</OutputPath> | 945 | <OutputPath>../../../bin/</OutputPath> |
944 | </Options> | 946 | </Options> |
945 | </Configuration> | 947 | </Configuration> |
946 | 948 | ||
947 | <ReferencePath>../../bin/</ReferencePath> | 949 | <ReferencePath>../../../bin/</ReferencePath> |
948 | <Reference name="System" localCopy="false"/> | 950 | <Reference name="System" localCopy="false"/> |
949 | <Reference name="System.Data" localCopy="false"/> | 951 | <Reference name="System.Data" localCopy="false"/> |
950 | <Reference name="System.Xml" localCopy="false"/> | 952 | <Reference name="System.Xml" localCopy="false"/> |
951 | <Reference name="OpenSim.Framework"/> | 953 | <Reference name="OpenSim.Framework"/> |
952 | <Reference name="OpenSim.Framework.Console"/> | 954 | <Reference name="OpenSim.Framework.Console"/> |
953 | <Reference name="OpenSim.Servers"/> | 955 | <Reference name="OpenSim.Framework.Servers"/> |
954 | <Reference name="libsecondlife.dll"/> | 956 | <Reference name="libsecondlife.dll"/> |
955 | <Reference name="Db4objects.Db4o.dll"/> | 957 | <Reference name="Db4objects.Db4o.dll"/> |
956 | <Reference name="XMLRPC"/> | 958 | <Reference name="XMLRPC.dll"/> |
957 | 959 | ||
958 | <Files> | 960 | <Files> |
959 | <Match pattern="*.cs" recurse="true"/> | 961 | <Match pattern="*.cs" recurse="true"/> |
960 | </Files> | 962 | </Files> |
961 | </Project> | 963 | </Project> |
962 | 964 | ||
963 | <Project name="OpenGrid.Framework.UserManagement" path="Common/OpenGrid.Framework.UserManager" type="Library"> | 965 | <Project name="OpenSim.Framework.UserManagement" path="OpenSim/Framework/UserManager" type="Library"> |
964 | <Configuration name="Debug"> | 966 | <Configuration name="Debug"> |
965 | <Options> | 967 | <Options> |
966 | <OutputPath>../../bin/</OutputPath> | 968 | <OutputPath>../../../bin/</OutputPath> |
967 | </Options> | 969 | </Options> |
968 | </Configuration> | 970 | </Configuration> |
969 | <Configuration name="Release"> | 971 | <Configuration name="Release"> |
970 | <Options> | 972 | <Options> |
971 | <OutputPath>../../bin/</OutputPath> | 973 | <OutputPath>../../../bin/</OutputPath> |
972 | </Options> | 974 | </Options> |
973 | </Configuration> | 975 | </Configuration> |
974 | 976 | ||
975 | <ReferencePath>../../bin/</ReferencePath> | 977 | <ReferencePath>../../../bin/</ReferencePath> |
976 | <Reference name="System" localCopy="false"/> | 978 | <Reference name="System" localCopy="false"/> |
977 | <Reference name="System.Data" localCopy="false"/> | 979 | <Reference name="System.Data" localCopy="false"/> |
978 | <Reference name="System.Xml" localCopy="false"/> | 980 | <Reference name="System.Xml" localCopy="false"/> |
979 | <Reference name="OpenSim.Framework"/> | 981 | <Reference name="OpenSim.Framework"/> |
980 | <Reference name="OpenSim.Framework.Console"/> | 982 | <Reference name="OpenSim.Framework.Console"/> |
981 | <Reference name="OpenGrid.Framework.Data"/> | 983 | <Reference name="OpenSim.Framework.Data"/> |
982 | <Reference name="OpenSim.GenericConfig.Xml"/> | 984 | <Reference name="OpenSim.Framework.GenericConfig.Xml"/> |
983 | <Reference name="OpenSim.Servers"/> | 985 | <Reference name="OpenSim.Framework.Servers"/> |
984 | <Reference name="libsecondlife.dll"/> | 986 | <Reference name="libsecondlife.dll"/> |
985 | <Reference name="Db4objects.Db4o.dll"/> | 987 | <Reference name="Db4objects.Db4o.dll"/> |
986 | <Reference name="XMLRPC"/> | 988 | <Reference name="XMLRPC.dll"/> |
987 | 989 | ||
988 | <Files> | 990 | <Files> |
989 | <Match pattern="*.cs" recurse="true"/> | 991 | <Match pattern="*.cs" recurse="true"/> |
990 | </Files> | 992 | </Files> |
991 | </Project> | 993 | </Project> |
992 | 994 | ||
993 | <Project name="OpenGridServices.UserServer" path="OpenGridServices/OpenGridServices.UserServer" type="Exe"> | 995 | <Project name="OpenSim.Grid.UserServer" path="OpenSim/Grid/UserServer" type="Exe"> |
994 | <Configuration name="Debug"> | 996 | <Configuration name="Debug"> |
995 | <Options> | 997 | <Options> |
996 | <OutputPath>../../bin/</OutputPath> | 998 | <OutputPath>../../../bin/</OutputPath> |
997 | </Options> | 999 | </Options> |
998 | </Configuration> | 1000 | </Configuration> |
999 | <Configuration name="Release"> | 1001 | <Configuration name="Release"> |
1000 | <Options> | 1002 | <Options> |
1001 | <OutputPath>../../bin/</OutputPath> | 1003 | <OutputPath>../../../bin/</OutputPath> |
1002 | </Options> | 1004 | </Options> |
1003 | </Configuration> | 1005 | </Configuration> |
1004 | 1006 | ||
1005 | <ReferencePath>../../bin/</ReferencePath> | 1007 | <ReferencePath>../../../bin/</ReferencePath> |
1006 | <Reference name="System" localCopy="false"/> | 1008 | <Reference name="System" localCopy="false"/> |
1007 | <Reference name="System.Data" localCopy="false"/> | 1009 | <Reference name="System.Data" localCopy="false"/> |
1008 | <Reference name="System.Xml" localCopy="false"/> | 1010 | <Reference name="System.Xml" localCopy="false"/> |
1009 | <Reference name="OpenSim.Framework"/> | 1011 | <Reference name="OpenSim.Framework"/> |
1010 | <Reference name="OpenSim.Framework.Console"/> | 1012 | <Reference name="OpenSim.Framework.Console"/> |
1011 | <Reference name="OpenGrid.Framework.Data"/> | 1013 | <Reference name="OpenSim.Framework.Data"/> |
1012 | <Reference name="OpenSim.GenericConfig.Xml"/> | 1014 | <Reference name="OpenSim.Framework.GenericConfig.Xml"/> |
1013 | <Reference name="OpenSim.Servers"/> | 1015 | <Reference name="OpenSim.Framework.Servers"/> |
1014 | <Reference name="OpenGrid.Framework.UserManager" /> | 1016 | <Reference name="OpenSim.Framework.UserManagement" /> |
1015 | <Reference name="libsecondlife.dll"/> | 1017 | <Reference name="libsecondlife.dll"/> |
1016 | <Reference name="Db4objects.Db4o.dll"/> | 1018 | <Reference name="Db4objects.Db4o.dll"/> |
1017 | <Reference name="XMLRPC"/> | 1019 | <Reference name="XMLRPC.dll"/> |
1018 | 1020 | ||
1019 | <Files> | 1021 | <Files> |
1020 | <Match pattern="*.cs" recurse="true"/> | 1022 | <Match pattern="*.cs" recurse="true"/> |
1021 | </Files> | 1023 | </Files> |
1022 | </Project> | 1024 | </Project> |
1023 | 1025 | ||
1024 | 1026 | <Project name="OpenSim.Grid.GridServer.Config" path="OpenSim/Grid/GridServer.Config" type="Library"> | |
1025 | |||
1026 | |||
1027 | <Project name="OpenGrid.Config.GridConfigDb4o" path="OpenGridServices/OpenGrid.Config/GridConfigDb4o" type="Library"> | ||
1028 | <Configuration name="Debug"> | 1027 | <Configuration name="Debug"> |
1029 | <Options> | 1028 | <Options> |
1030 | <OutputPath>../../../bin/</OutputPath> | 1029 | <OutputPath>../../../bin/</OutputPath> |
@@ -1049,7 +1048,7 @@ | |||
1049 | </Files> | 1048 | </Files> |
1050 | </Project> | 1049 | </Project> |
1051 | 1050 | ||
1052 | <Project name="OpenUser.Config.UserConfigDb4o" path="OpenGridServices/OpenUser.Config/UserConfigDb4o" type="Library"> | 1051 | <Project name="OpenSim.Grid.UserServer.Config" path="OpenSim/Grid/UserServer.Config" type="Library"> |
1053 | <Configuration name="Debug"> | 1052 | <Configuration name="Debug"> |
1054 | <Options> | 1053 | <Options> |
1055 | <OutputPath>../../../bin/</OutputPath> | 1054 | <OutputPath>../../../bin/</OutputPath> |
diff --git a/tools/mass test client/Arguments.cs b/tools/mass test client/Arguments.cs deleted file mode 100644 index 302ae95..0000000 --- a/tools/mass test client/Arguments.cs +++ /dev/null | |||
@@ -1,111 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Specialized; | ||
3 | using System.Text.RegularExpressions; | ||
4 | |||
5 | namespace CommandLine.Utility | ||
6 | { | ||
7 | /// <summary> | ||
8 | /// Arguments class | ||
9 | /// </summary> | ||
10 | public class Arguments | ||
11 | { | ||
12 | // Variables | ||
13 | private StringDictionary Parameters; | ||
14 | |||
15 | // Constructor | ||
16 | public Arguments(string[] Args) | ||
17 | { | ||
18 | Parameters = new StringDictionary(); | ||
19 | Regex Splitter = new Regex(@"^-{1,2}|=|:", | ||
20 | RegexOptions.IgnoreCase | RegexOptions.Compiled); | ||
21 | |||
22 | Regex Remover = new Regex(@"^['""]?(.*?)['""]?$", | ||
23 | RegexOptions.IgnoreCase | RegexOptions.Compiled); | ||
24 | |||
25 | string Parameter = null; | ||
26 | string[] Parts; | ||
27 | |||
28 | // Valid parameters forms: | ||
29 | // {-,/,--}param{ ,=,:}((",')value(",')) | ||
30 | // Examples: | ||
31 | // -param1 value1 --param2 /param3:"Test-:-work" | ||
32 | // /param4=happy -param5 '--=nice=--' | ||
33 | foreach (string Txt in Args) | ||
34 | { | ||
35 | // Look for new parameters (-,/ or --) and a | ||
36 | // possible enclosed value (=,:) | ||
37 | Parts = Splitter.Split(Txt, 3); | ||
38 | |||
39 | switch (Parts.Length) | ||
40 | { | ||
41 | // Found a value (for the last parameter | ||
42 | // found (space separator)) | ||
43 | case 1: | ||
44 | if (Parameter != null) | ||
45 | { | ||
46 | if (!Parameters.ContainsKey(Parameter)) | ||
47 | { | ||
48 | Parts[0] = | ||
49 | Remover.Replace(Parts[0], "$1"); | ||
50 | |||
51 | Parameters.Add(Parameter, Parts[0]); | ||
52 | } | ||
53 | Parameter = null; | ||
54 | } | ||
55 | // else Error: no parameter waiting for a value (skipped) | ||
56 | break; | ||
57 | |||
58 | // Found just a parameter | ||
59 | case 2: | ||
60 | // The last parameter is still waiting. | ||
61 | // With no value, set it to true. | ||
62 | if (Parameter != null) | ||
63 | { | ||
64 | if (!Parameters.ContainsKey(Parameter)) | ||
65 | Parameters.Add(Parameter, "true"); | ||
66 | } | ||
67 | Parameter = Parts[1]; | ||
68 | break; | ||
69 | |||
70 | // Parameter with enclosed value | ||
71 | case 3: | ||
72 | // The last parameter is still waiting. | ||
73 | // With no value, set it to true. | ||
74 | if (Parameter != null) | ||
75 | { | ||
76 | if (!Parameters.ContainsKey(Parameter)) | ||
77 | Parameters.Add(Parameter, "true"); | ||
78 | } | ||
79 | |||
80 | Parameter = Parts[1]; | ||
81 | |||
82 | // Remove possible enclosing characters (",') | ||
83 | if (!Parameters.ContainsKey(Parameter)) | ||
84 | { | ||
85 | Parts[2] = Remover.Replace(Parts[2], "$1"); | ||
86 | Parameters.Add(Parameter, Parts[2]); | ||
87 | } | ||
88 | |||
89 | Parameter = null; | ||
90 | break; | ||
91 | } | ||
92 | } | ||
93 | // In case a parameter is still waiting | ||
94 | if (Parameter != null) | ||
95 | { | ||
96 | if (!Parameters.ContainsKey(Parameter)) | ||
97 | Parameters.Add(Parameter, "true"); | ||
98 | } | ||
99 | } | ||
100 | |||
101 | // Retrieve a parameter value if it exists | ||
102 | // (overriding C# indexer property) | ||
103 | public string this[string Param] | ||
104 | { | ||
105 | get | ||
106 | { | ||
107 | return (Parameters[Param]); | ||
108 | } | ||
109 | } | ||
110 | } | ||
111 | } | ||
diff --git a/tools/mass test client/ClientManager.cs b/tools/mass test client/ClientManager.cs deleted file mode 100644 index a6e784c..0000000 --- a/tools/mass test client/ClientManager.cs +++ /dev/null | |||
@@ -1,323 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Reflection; | ||
4 | using System.Xml; | ||
5 | using System.Threading; | ||
6 | using libsecondlife; | ||
7 | using libsecondlife.Packets; | ||
8 | using libsecondlife.AssetSystem; | ||
9 | |||
10 | namespace libsecondlife.TestClient | ||
11 | { | ||
12 | public class LoginDetails | ||
13 | { | ||
14 | public string FirstName; | ||
15 | public string LastName; | ||
16 | public string Password; | ||
17 | public string StartLocation; | ||
18 | public string MasterName; | ||
19 | public LLUUID MasterKey; | ||
20 | public string LoginURI; | ||
21 | } | ||
22 | |||
23 | public class StartPosition | ||
24 | { | ||
25 | public string sim; | ||
26 | public int x; | ||
27 | public int y; | ||
28 | public int z; | ||
29 | |||
30 | public StartPosition() | ||
31 | { | ||
32 | this.sim = null; | ||
33 | this.x = 0; | ||
34 | this.y = 0; | ||
35 | this.z = 0; | ||
36 | } | ||
37 | } | ||
38 | |||
39 | public class ClientManager | ||
40 | { | ||
41 | public Dictionary<LLUUID, SecondLife> Clients = new Dictionary<LLUUID, SecondLife>(); | ||
42 | public Dictionary<Simulator, Dictionary<uint, Primitive>> SimPrims = new Dictionary<Simulator, Dictionary<uint, Primitive>>(); | ||
43 | |||
44 | public bool Running = true; | ||
45 | |||
46 | string contactPerson = String.Empty; | ||
47 | private LLUUID resolvedMasterKey = LLUUID.Zero; | ||
48 | private ManualResetEvent keyResolution = new ManualResetEvent(false); | ||
49 | |||
50 | /// <summary> | ||
51 | /// | ||
52 | /// </summary> | ||
53 | /// <param name="accounts"></param> | ||
54 | public ClientManager(List<LoginDetails> accounts, string c) | ||
55 | { | ||
56 | this.contactPerson = c; | ||
57 | foreach (LoginDetails account in accounts) | ||
58 | Login(account); | ||
59 | } | ||
60 | |||
61 | public ClientManager(List<LoginDetails> accounts, string c, string s) | ||
62 | { | ||
63 | this.contactPerson = c; | ||
64 | char sep = '/'; | ||
65 | string[] startbits = s.Split(sep); | ||
66 | |||
67 | foreach (LoginDetails account in accounts) | ||
68 | { | ||
69 | account.StartLocation = NetworkManager.StartLocation(startbits[0], Int32.Parse(startbits[1]), | ||
70 | Int32.Parse(startbits[2]), Int32.Parse(startbits[3])); | ||
71 | Login(account); | ||
72 | } | ||
73 | } | ||
74 | /// <summary> | ||
75 | /// | ||
76 | /// </summary> | ||
77 | /// <param name="account"></param> | ||
78 | /// <returns></returns> | ||
79 | public TestClient Login(LoginDetails account) | ||
80 | { | ||
81 | |||
82 | // Check if this client is already logged in | ||
83 | foreach (TestClient c in Clients.Values) | ||
84 | { | ||
85 | if (c.Self.FirstName == account.FirstName && c.Self.LastName == account.LastName) | ||
86 | { | ||
87 | Logout(c); | ||
88 | break; | ||
89 | } | ||
90 | } | ||
91 | |||
92 | TestClient client = new TestClient(this); | ||
93 | |||
94 | // Optimize the throttle | ||
95 | client.Throttle.Wind = 0; | ||
96 | client.Throttle.Cloud = 0; | ||
97 | client.Throttle.Land = 1000000; | ||
98 | client.Throttle.Task = 1000000; | ||
99 | |||
100 | client.SimPrims = SimPrims; | ||
101 | client.MasterName = account.MasterName; | ||
102 | client.MasterKey = account.MasterKey; | ||
103 | |||
104 | libsecondlife.NetworkManager.LoginParams loginParams = new NetworkManager.LoginParams(); | ||
105 | loginParams.FirstName = account.FirstName; | ||
106 | loginParams.LastName = account.LastName; | ||
107 | loginParams.Password = account.Password; | ||
108 | loginParams.UserAgent = "MassTestClient"; | ||
109 | loginParams.Start = account.StartLocation; | ||
110 | loginParams.Author = contactPerson; | ||
111 | loginParams.URI = account.LoginURI; | ||
112 | |||
113 | |||
114 | if (!client.Network.Login(loginParams)) | ||
115 | { | ||
116 | Console.WriteLine("Failed to login " + account.FirstName + " " + account.LastName + ": " + | ||
117 | client.Network.LoginMessage); | ||
118 | } | ||
119 | |||
120 | |||
121 | if (client.Network.Connected) | ||
122 | { | ||
123 | if (account.MasterKey == LLUUID.Zero && !String.IsNullOrEmpty(account.MasterName)) | ||
124 | { | ||
125 | Console.WriteLine("Resolving {0}'s UUID", account.MasterName); | ||
126 | // Find master's key from name | ||
127 | DirectoryManager.DirPeopleReplyCallback callback = new DirectoryManager.DirPeopleReplyCallback(KeyResolvHandler); | ||
128 | client.Directory.OnDirPeopleReply += callback; | ||
129 | client.Directory.StartPeopleSearch(DirectoryManager.DirFindFlags.People, account.MasterName, 0); | ||
130 | if (keyResolution.WaitOne(TimeSpan.FromMinutes(1), false)) | ||
131 | { | ||
132 | account.MasterKey = resolvedMasterKey; | ||
133 | Console.WriteLine("\"{0}\" resolved to {1}", account.MasterName, account.MasterKey); | ||
134 | } | ||
135 | else | ||
136 | { | ||
137 | Console.WriteLine("Unable to obtain UUID for \"{0}\". No master will be used. Try specifying a key with --masterkey.", account.MasterName); | ||
138 | } | ||
139 | client.Directory.OnDirPeopleReply -= callback; | ||
140 | keyResolution.Reset(); | ||
141 | } | ||
142 | |||
143 | client.MasterKey = account.MasterKey; | ||
144 | |||
145 | Clients[client.Network.AgentID] = client; | ||
146 | |||
147 | Console.WriteLine("Logged in " + client.ToString()); | ||
148 | } | ||
149 | |||
150 | return client; | ||
151 | } | ||
152 | |||
153 | private void KeyResolvHandler(LLUUID queryid, List<DirectoryManager.AgentSearchData> matches) | ||
154 | { | ||
155 | LLUUID master = matches[0].AgentID; | ||
156 | if (matches.Count > 1) | ||
157 | { | ||
158 | Console.WriteLine("Possible masters:"); | ||
159 | for (int i = 0; i < matches.Count; ++i) | ||
160 | { | ||
161 | Console.WriteLine("{0}: {1}", i, matches[i].FirstName + " " + matches[i].LastName); | ||
162 | } | ||
163 | Console.Write("Ambiguous master, choose one:"); | ||
164 | string read = Console.ReadLine(); | ||
165 | while (read != null) | ||
166 | { | ||
167 | int choice = 0; | ||
168 | if (int.TryParse(read, out choice)) | ||
169 | { | ||
170 | master = matches[choice].AgentID; | ||
171 | break; | ||
172 | } | ||
173 | else | ||
174 | { | ||
175 | Console.WriteLine("Responce misunderstood."); | ||
176 | Console.Write("Type the corresponding number:"); | ||
177 | } | ||
178 | read = Console.ReadLine(); | ||
179 | } | ||
180 | } | ||
181 | resolvedMasterKey = master; | ||
182 | keyResolution.Set(); | ||
183 | } | ||
184 | |||
185 | /// <summary> | ||
186 | /// | ||
187 | /// </summary> | ||
188 | /// <param name="args"></param> | ||
189 | /// <returns></returns> | ||
190 | public TestClient Login(string[] args) | ||
191 | { | ||
192 | LoginDetails account = new LoginDetails(); | ||
193 | account.FirstName = args[0]; | ||
194 | account.LastName = args[1]; | ||
195 | account.Password = args[2]; | ||
196 | |||
197 | if (args.Length == 4) | ||
198 | { | ||
199 | account.StartLocation = NetworkManager.StartLocation(args[3], 128, 128, 40); | ||
200 | } | ||
201 | |||
202 | return Login(account); | ||
203 | } | ||
204 | |||
205 | /// <summary> | ||
206 | /// | ||
207 | /// </summary> | ||
208 | public void Run(List<string> massTestCommands) | ||
209 | { | ||
210 | Console.WriteLine("Type quit to exit. Type help for a command list."); | ||
211 | |||
212 | if (massTestCommands.Count == 0) | ||
213 | { | ||
214 | while (Running) | ||
215 | { | ||
216 | PrintPrompt(); | ||
217 | string input = Console.ReadLine(); | ||
218 | DoCommandAll(input, null, null); | ||
219 | } | ||
220 | } | ||
221 | else | ||
222 | { | ||
223 | int currentCommand = 0; | ||
224 | while (Running) | ||
225 | { | ||
226 | DoCommandAll(massTestCommands[currentCommand], null, null); | ||
227 | currentCommand++; | ||
228 | if (massTestCommands.Count >= currentCommand) | ||
229 | { | ||
230 | currentCommand = 0; | ||
231 | } | ||
232 | } | ||
233 | } | ||
234 | |||
235 | foreach (SecondLife client in Clients.Values) | ||
236 | { | ||
237 | if (client.Network.Connected) | ||
238 | client.Network.Logout(); | ||
239 | } | ||
240 | } | ||
241 | |||
242 | private void PrintPrompt() | ||
243 | { | ||
244 | int online = 0; | ||
245 | |||
246 | foreach (SecondLife client in Clients.Values) | ||
247 | { | ||
248 | if (client.Network.Connected) online++; | ||
249 | } | ||
250 | |||
251 | Console.Write(online + " avatars online> "); | ||
252 | } | ||
253 | |||
254 | /// <summary> | ||
255 | /// | ||
256 | /// </summary> | ||
257 | /// <param name="cmd"></param> | ||
258 | /// <param name="fromAgentID"></param> | ||
259 | /// <param name="imSessionID"></param> | ||
260 | public void DoCommandAll(string cmd, LLUUID fromAgentID, LLUUID imSessionID) | ||
261 | { | ||
262 | string[] tokens = cmd.Trim().Split(new char[] { ' ', '\t' }); | ||
263 | string firstToken = tokens[0].ToLower(); | ||
264 | |||
265 | if (tokens.Length == 0) | ||
266 | return; | ||
267 | |||
268 | if (firstToken == "login") | ||
269 | { | ||
270 | // Special login case: Only call it once, and allow it with | ||
271 | // no logged in avatars | ||
272 | string[] args = new string[tokens.Length - 1]; | ||
273 | Array.Copy(tokens, 1, args, 0, args.Length); | ||
274 | Login(args); | ||
275 | } | ||
276 | else if (firstToken == "quit") | ||
277 | { | ||
278 | Quit(); | ||
279 | Console.WriteLine("All clients logged out and program finished running."); | ||
280 | } | ||
281 | else | ||
282 | { | ||
283 | // make a copy of the clients list so that it can be iterated without fear of being changed during iteration | ||
284 | Dictionary<LLUUID, SecondLife> clientsCopy = new Dictionary<LLUUID, SecondLife>(Clients); | ||
285 | |||
286 | foreach (TestClient client in clientsCopy.Values) | ||
287 | client.DoCommand(cmd, fromAgentID, imSessionID); | ||
288 | } | ||
289 | } | ||
290 | |||
291 | /// <summary> | ||
292 | /// | ||
293 | /// </summary> | ||
294 | /// <param name="client"></param> | ||
295 | public void Logout(TestClient client) | ||
296 | { | ||
297 | Clients.Remove(client.Network.AgentID); | ||
298 | client.Network.Logout(); | ||
299 | } | ||
300 | |||
301 | /// <summary> | ||
302 | /// | ||
303 | /// </summary> | ||
304 | public void LogoutAll() | ||
305 | { | ||
306 | // make a copy of the clients list so that it can be iterated without fear of being changed during iteration | ||
307 | Dictionary<LLUUID, SecondLife> clientsCopy = new Dictionary<LLUUID, SecondLife>(Clients); | ||
308 | |||
309 | foreach (TestClient client in clientsCopy.Values) | ||
310 | Logout(client); | ||
311 | } | ||
312 | |||
313 | /// <summary> | ||
314 | /// | ||
315 | /// </summary> | ||
316 | public void Quit() | ||
317 | { | ||
318 | LogoutAll(); | ||
319 | Running = false; | ||
320 | // TODO: It would be really nice if we could figure out a way to abort the ReadLine here in so that Run() will exit. | ||
321 | } | ||
322 | } | ||
323 | } | ||
diff --git a/tools/mass test client/Command.cs b/tools/mass test client/Command.cs deleted file mode 100644 index 051519d..0000000 --- a/tools/mass test client/Command.cs +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public abstract class Command | ||
10 | { | ||
11 | public string Name; | ||
12 | public string Description; | ||
13 | public TestClient Client; | ||
14 | |||
15 | public abstract string Execute(string[] args, LLUUID fromAgentID); | ||
16 | |||
17 | /// <summary> | ||
18 | /// When set to true, think will be called. | ||
19 | /// </summary> | ||
20 | public bool Active; | ||
21 | |||
22 | /// <summary> | ||
23 | /// Called twice per second, when Command.Active is set to true. | ||
24 | /// </summary> | ||
25 | public virtual void Think() | ||
26 | { | ||
27 | } | ||
28 | } | ||
29 | } | ||
diff --git a/tools/mass test client/Commands/CloneProfileCommand.cs b/tools/mass test client/Commands/CloneProfileCommand.cs deleted file mode 100644 index e475655..0000000 --- a/tools/mass test client/Commands/CloneProfileCommand.cs +++ /dev/null | |||
@@ -1,131 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Threading; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class CloneProfileCommand : Command | ||
10 | { | ||
11 | Avatar.AvatarProperties Properties; | ||
12 | Avatar.Interests Interests; | ||
13 | List<LLUUID> Groups = new List<LLUUID>(); | ||
14 | bool ReceivedProperties = false; | ||
15 | bool ReceivedInterests = false; | ||
16 | bool ReceivedGroups = false; | ||
17 | ManualResetEvent ReceivedProfileEvent = new ManualResetEvent(false); | ||
18 | |||
19 | public CloneProfileCommand(TestClient testClient) | ||
20 | { | ||
21 | testClient.Avatars.OnAvatarInterests += new AvatarManager.AvatarInterestsCallback(Avatars_OnAvatarInterests); | ||
22 | testClient.Avatars.OnAvatarProperties += new AvatarManager.AvatarPropertiesCallback(Avatars_OnAvatarProperties); | ||
23 | testClient.Avatars.OnAvatarGroups += new AvatarManager.AvatarGroupsCallback(Avatars_OnAvatarGroups); | ||
24 | testClient.Self.OnJoinGroup += new MainAvatar.JoinGroupCallback(Self_OnJoinGroup); | ||
25 | |||
26 | Name = "cloneprofile"; | ||
27 | Description = "Clones another avatars profile as closely as possible. WARNING: This command will " + | ||
28 | "destroy your existing profile! Usage: cloneprofile [targetuuid]"; | ||
29 | } | ||
30 | |||
31 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
32 | { | ||
33 | if (args.Length != 1) | ||
34 | return Description; | ||
35 | |||
36 | LLUUID targetID; | ||
37 | ReceivedProperties = false; | ||
38 | ReceivedInterests = false; | ||
39 | ReceivedGroups = false; | ||
40 | |||
41 | try | ||
42 | { | ||
43 | targetID = new LLUUID(args[0]); | ||
44 | } | ||
45 | catch (Exception) | ||
46 | { | ||
47 | return Description; | ||
48 | } | ||
49 | |||
50 | // Request all of the packets that make up an avatar profile | ||
51 | Client.Avatars.RequestAvatarProperties(targetID); | ||
52 | |||
53 | // Wait for all the packets to arrive | ||
54 | ReceivedProfileEvent.Reset(); | ||
55 | ReceivedProfileEvent.WaitOne(5000, false); | ||
56 | |||
57 | // Check if everything showed up | ||
58 | if (!ReceivedInterests || !ReceivedProperties || !ReceivedGroups) | ||
59 | return "Failed to retrieve a complete profile for that UUID"; | ||
60 | |||
61 | // Synchronize our profile | ||
62 | Client.Self.ProfileInterests = Interests; | ||
63 | Client.Self.ProfileProperties = Properties; | ||
64 | Client.Self.SetAvatarInformation(); | ||
65 | |||
66 | // TODO: Leave all the groups we're currently a member of? This could | ||
67 | // break TestClient connectivity that might be relying on group authentication | ||
68 | |||
69 | // Attempt to join all the groups | ||
70 | foreach (LLUUID groupID in Groups) | ||
71 | { | ||
72 | Client.Self.RequestJoinGroup(groupID); | ||
73 | } | ||
74 | |||
75 | return "Synchronized our profile to the profile of " + targetID.ToStringHyphenated(); | ||
76 | } | ||
77 | |||
78 | void Avatars_OnAvatarProperties(LLUUID avatarID, Avatar.AvatarProperties properties) | ||
79 | { | ||
80 | lock (ReceivedProfileEvent) | ||
81 | { | ||
82 | Properties = properties; | ||
83 | ReceivedProperties = true; | ||
84 | |||
85 | if (ReceivedInterests && ReceivedProperties && ReceivedGroups) | ||
86 | ReceivedProfileEvent.Set(); | ||
87 | } | ||
88 | } | ||
89 | |||
90 | void Avatars_OnAvatarInterests(LLUUID avatarID, Avatar.Interests interests) | ||
91 | { | ||
92 | lock (ReceivedProfileEvent) | ||
93 | { | ||
94 | Interests = interests; | ||
95 | ReceivedInterests = true; | ||
96 | |||
97 | if (ReceivedInterests && ReceivedProperties && ReceivedGroups) | ||
98 | ReceivedProfileEvent.Set(); | ||
99 | } | ||
100 | } | ||
101 | |||
102 | void Avatars_OnAvatarGroups(LLUUID avatarID, AvatarGroupsReplyPacket.GroupDataBlock[] groups) | ||
103 | { | ||
104 | lock (ReceivedProfileEvent) | ||
105 | { | ||
106 | foreach (AvatarGroupsReplyPacket.GroupDataBlock block in groups) | ||
107 | { | ||
108 | Groups.Add(block.GroupID); | ||
109 | } | ||
110 | |||
111 | ReceivedGroups = true; | ||
112 | |||
113 | if (ReceivedInterests && ReceivedProperties && ReceivedGroups) | ||
114 | ReceivedProfileEvent.Set(); | ||
115 | } | ||
116 | } | ||
117 | |||
118 | void Self_OnJoinGroup(LLUUID groupID, bool success) | ||
119 | { | ||
120 | Console.WriteLine(Client.ToString() + (success ? " joined " : " failed to join ") + | ||
121 | groupID.ToStringHyphenated()); | ||
122 | |||
123 | if (success) | ||
124 | { | ||
125 | Console.WriteLine(Client.ToString() + " setting " + groupID.ToStringHyphenated() + | ||
126 | " as the active group"); | ||
127 | Client.Self.ActivateGroup(groupID); | ||
128 | } | ||
129 | } | ||
130 | } | ||
131 | } | ||
diff --git a/tools/mass test client/Commands/Communication/EchoMasterCommand.cs b/tools/mass test client/Commands/Communication/EchoMasterCommand.cs deleted file mode 100644 index a7c3d3f..0000000 --- a/tools/mass test client/Commands/Communication/EchoMasterCommand.cs +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class EchoMasterCommand: Command | ||
10 | { | ||
11 | public EchoMasterCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "echoMaster"; | ||
14 | Description = "Repeat everything that master says."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | if (!Active) | ||
20 | { | ||
21 | Active = true; | ||
22 | Client.Self.OnChat += new MainAvatar.ChatCallback(Self_OnChat); | ||
23 | return "Echoing is now on."; | ||
24 | } | ||
25 | else | ||
26 | { | ||
27 | Active = false; | ||
28 | Client.Self.OnChat -= new MainAvatar.ChatCallback(Self_OnChat); | ||
29 | return "Echoing is now off."; | ||
30 | } | ||
31 | } | ||
32 | |||
33 | void Self_OnChat(string message, MainAvatar.ChatAudibleLevel audible, MainAvatar.ChatType type, | ||
34 | MainAvatar.ChatSourceType sourcetype, string fromName, LLUUID id, LLUUID ownerid, LLVector3 position) | ||
35 | { | ||
36 | if (message.Length > 0 && Client.MasterKey == id) | ||
37 | { | ||
38 | Client.Self.Chat(message, 0, MainAvatar.ChatType.Normal); | ||
39 | } | ||
40 | } | ||
41 | } | ||
42 | } | ||
diff --git a/tools/mass test client/Commands/Communication/IMCommand.cs b/tools/mass test client/Commands/Communication/IMCommand.cs deleted file mode 100644 index d847291..0000000 --- a/tools/mass test client/Commands/Communication/IMCommand.cs +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Threading; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class ImCommand : Command | ||
10 | { | ||
11 | string ToAvatarName = String.Empty; | ||
12 | ManualResetEvent NameSearchEvent = new ManualResetEvent(false); | ||
13 | Dictionary<string, LLUUID> Name2Key = new Dictionary<string, LLUUID>(); | ||
14 | |||
15 | public ImCommand(TestClient testClient) | ||
16 | { | ||
17 | testClient.Avatars.OnAvatarNameSearch += new AvatarManager.AvatarNameSearchCallback(Avatars_OnAvatarNameSearch); | ||
18 | |||
19 | Name = "im"; | ||
20 | Description = "Instant message someone. Usage: im [firstname] [lastname] [message]"; | ||
21 | } | ||
22 | |||
23 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
24 | { | ||
25 | if (args.Length < 3) | ||
26 | return "Usage: im [firstname] [lastname] [message]"; | ||
27 | |||
28 | ToAvatarName = args[0] + " " + args[1]; | ||
29 | |||
30 | // Build the message | ||
31 | string message = String.Empty; | ||
32 | for (int ct = 2; ct < args.Length; ct++) | ||
33 | message += args[ct] + " "; | ||
34 | message = message.TrimEnd(); | ||
35 | if (message.Length > 1023) message = message.Remove(1023); | ||
36 | |||
37 | if (!Name2Key.ContainsKey(ToAvatarName.ToLower())) | ||
38 | { | ||
39 | // Send the Query | ||
40 | Client.Avatars.RequestAvatarNameSearch(ToAvatarName, LLUUID.Random()); | ||
41 | |||
42 | NameSearchEvent.WaitOne(6000, false); | ||
43 | } | ||
44 | |||
45 | if (Name2Key.ContainsKey(ToAvatarName.ToLower())) | ||
46 | { | ||
47 | LLUUID id = Name2Key[ToAvatarName.ToLower()]; | ||
48 | |||
49 | Client.Self.InstantMessage(id, message, id); | ||
50 | return "Instant Messaged " + id.ToStringHyphenated() + " with message: " + message; | ||
51 | } | ||
52 | else | ||
53 | { | ||
54 | return "Name lookup for " + ToAvatarName + " failed"; | ||
55 | } | ||
56 | } | ||
57 | |||
58 | void Avatars_OnAvatarNameSearch(LLUUID queryID, Dictionary<LLUUID, string> avatars) | ||
59 | { | ||
60 | foreach (KeyValuePair<LLUUID, string> kvp in avatars) | ||
61 | { | ||
62 | if (kvp.Value.ToLower() == ToAvatarName.ToLower()) | ||
63 | { | ||
64 | Name2Key[ToAvatarName.ToLower()] = kvp.Key; | ||
65 | NameSearchEvent.Set(); | ||
66 | return; | ||
67 | } | ||
68 | } | ||
69 | } | ||
70 | } | ||
71 | } | ||
diff --git a/tools/mass test client/Commands/Communication/SayCommand.cs b/tools/mass test client/Commands/Communication/SayCommand.cs deleted file mode 100644 index 2ab9db4..0000000 --- a/tools/mass test client/Commands/Communication/SayCommand.cs +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | |||
6 | namespace libsecondlife.TestClient | ||
7 | { | ||
8 | public class SayCommand: Command | ||
9 | { | ||
10 | public SayCommand(TestClient testClient) | ||
11 | { | ||
12 | Name = "say"; | ||
13 | Description = "Say something. (usage: say (optional channel) whatever)"; | ||
14 | } | ||
15 | |||
16 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
17 | { | ||
18 | int channel = 0; | ||
19 | int startIndex = 0; | ||
20 | |||
21 | if (args.Length < 1) | ||
22 | { | ||
23 | return "usage: say (optional channel) whatever"; | ||
24 | } | ||
25 | else if (args.Length > 1) | ||
26 | { | ||
27 | if (Int32.TryParse(args[0], out channel)) | ||
28 | startIndex = 1; | ||
29 | } | ||
30 | |||
31 | StringBuilder message = new StringBuilder(); | ||
32 | |||
33 | for (int i = startIndex; i < args.Length; i++) | ||
34 | { | ||
35 | message.Append(args[i]); | ||
36 | if (i != args.Length - 1) message.Append(" "); | ||
37 | } | ||
38 | |||
39 | Client.Self.Chat(message.ToString(), channel, MainAvatar.ChatType.Normal); | ||
40 | |||
41 | return "Said " + message.ToString(); | ||
42 | } | ||
43 | } | ||
44 | } | ||
diff --git a/tools/mass test client/Commands/Communication/ShoutCommand.cs b/tools/mass test client/Commands/Communication/ShoutCommand.cs deleted file mode 100644 index 3533e3d..0000000 --- a/tools/mass test client/Commands/Communication/ShoutCommand.cs +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class ShoutCommand : Command | ||
10 | { | ||
11 | public ShoutCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "shout"; | ||
14 | Description = "Shout something."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | int channel = 0; | ||
20 | int startIndex = 0; | ||
21 | string message = String.Empty; | ||
22 | if (args.Length < 1) | ||
23 | { | ||
24 | return "usage: shout (optional channel) whatever"; | ||
25 | } | ||
26 | else if (args.Length > 1) | ||
27 | { | ||
28 | try | ||
29 | { | ||
30 | channel = Convert.ToInt32(args[0]); | ||
31 | startIndex = 1; | ||
32 | } | ||
33 | catch (FormatException) | ||
34 | { | ||
35 | channel = 0; | ||
36 | } | ||
37 | } | ||
38 | |||
39 | for (int i = startIndex; i < args.Length; i++) | ||
40 | { | ||
41 | message += args[i] + " "; | ||
42 | } | ||
43 | |||
44 | Client.Self.Chat(message, channel, MainAvatar.ChatType.Shout); | ||
45 | |||
46 | return "Shouted " + message; | ||
47 | } | ||
48 | } | ||
49 | } | ||
diff --git a/tools/mass test client/Commands/Communication/TtsCommand.cs b/tools/mass test client/Commands/Communication/TtsCommand.cs deleted file mode 100644 index 52b7a39..0000000 --- a/tools/mass test client/Commands/Communication/TtsCommand.cs +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using System.Speech.Synthesis; | ||
5 | using libsecondlife; | ||
6 | using libsecondlife.Packets; | ||
7 | using libsecondlife.AssetSystem; | ||
8 | |||
9 | |||
10 | // Since this requires .Net 3.0 I've left it out of the project by default. | ||
11 | // To use this: include it in the project and add a reference to the System.Speech.dll | ||
12 | |||
13 | namespace libsecondlife.TestClient | ||
14 | { | ||
15 | public class TtsCommand : Command | ||
16 | { | ||
17 | SpeechSynthesizer _speechSynthesizer; | ||
18 | |||
19 | public TtsCommand(TestClient testClient) | ||
20 | { | ||
21 | Name = "tts"; | ||
22 | Description = "Text To Speech. When activated, client will echo all recieved chat messages out thru the computer's speakers."; | ||
23 | } | ||
24 | |||
25 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
26 | { | ||
27 | if (!Active) | ||
28 | { | ||
29 | if (_speechSynthesizer == null) | ||
30 | _speechSynthesizer = new SpeechSynthesizer(); | ||
31 | Active = true; | ||
32 | Client.Self.OnChat += new MainAvatar.ChatCallback(Self_OnChat); | ||
33 | return "TTS is now on."; | ||
34 | } | ||
35 | else | ||
36 | { | ||
37 | Active = false; | ||
38 | Client.Self.OnChat -= new MainAvatar.ChatCallback(Self_OnChat); | ||
39 | return "TTS is now off."; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | void Self_OnChat(string message, byte audible, byte type, byte sourcetype, string fromName, LLUUID id, LLUUID ownerid, LLVector3 position) | ||
44 | { | ||
45 | if (message.Length > 0) | ||
46 | { | ||
47 | _speechSynthesizer.SpeakAsync(message); | ||
48 | } | ||
49 | } | ||
50 | } | ||
51 | } \ No newline at end of file | ||
diff --git a/tools/mass test client/Commands/Communication/WhisperCommand.cs b/tools/mass test client/Commands/Communication/WhisperCommand.cs deleted file mode 100644 index 4bfda33..0000000 --- a/tools/mass test client/Commands/Communication/WhisperCommand.cs +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class WhisperCommand : Command | ||
10 | { | ||
11 | public WhisperCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "whisper"; | ||
14 | Description = "Whisper something."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | int channel = 0; | ||
20 | int startIndex = 0; | ||
21 | string message = String.Empty; | ||
22 | if (args.Length < 1) | ||
23 | { | ||
24 | return "usage: whisper (optional channel) whatever"; | ||
25 | } | ||
26 | else if (args.Length > 1) | ||
27 | { | ||
28 | try | ||
29 | { | ||
30 | channel = Convert.ToInt32(args[0]); | ||
31 | startIndex = 1; | ||
32 | } | ||
33 | catch (FormatException) | ||
34 | { | ||
35 | channel = 0; | ||
36 | } | ||
37 | } | ||
38 | |||
39 | for (int i = startIndex; i < args.Length; i++) | ||
40 | { | ||
41 | message += args[i] + " "; | ||
42 | } | ||
43 | |||
44 | Client.Self.Chat(message, channel, MainAvatar.ChatType.Whisper); | ||
45 | |||
46 | return "Whispered " + message; | ||
47 | } | ||
48 | } | ||
49 | } | ||
diff --git a/tools/mass test client/Commands/GoHome.cs b/tools/mass test client/Commands/GoHome.cs deleted file mode 100644 index 0ac04f4..0000000 --- a/tools/mass test client/Commands/GoHome.cs +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class GoHomeCommand : Command | ||
10 | { | ||
11 | public GoHomeCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "gohome"; | ||
14 | Description = "Teleports home"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | if ( Client.Self.GoHome() ) { | ||
20 | return "Teleport Home Succesful"; | ||
21 | } else { | ||
22 | return "Teleport Home Failed"; | ||
23 | } | ||
24 | } | ||
25 | } | ||
26 | } | ||
diff --git a/tools/mass test client/Commands/GotoLandmark.cs b/tools/mass test client/Commands/GotoLandmark.cs deleted file mode 100644 index d32047c..0000000 --- a/tools/mass test client/Commands/GotoLandmark.cs +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class GotoLandmarkCommand : Command | ||
10 | { | ||
11 | public GotoLandmarkCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "goto_landmark"; | ||
14 | Description = "Teleports to a Landmark "; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | LLUUID landmark = new LLUUID(); | ||
20 | if ( ! LLUUID.TryParse(args[0], out landmark) ) { | ||
21 | return "Invalid LLUID"; | ||
22 | } else { | ||
23 | Console.WriteLine("Teleporting to " + landmark.ToString()); | ||
24 | } | ||
25 | if ( Client.Self.Teleport(landmark) ) { | ||
26 | return "Teleport Succesful"; | ||
27 | } else { | ||
28 | return "Teleport Failed"; | ||
29 | } | ||
30 | } | ||
31 | } | ||
32 | } | ||
diff --git a/tools/mass test client/Commands/Inventory/AppearanceCommand.cs b/tools/mass test client/Commands/Inventory/AppearanceCommand.cs deleted file mode 100644 index 43aa784..0000000 --- a/tools/mass test client/Commands/Inventory/AppearanceCommand.cs +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class AppearanceCommand : Command | ||
10 | { | ||
11 | Utilities.Assets.AssetManager Assets; | ||
12 | Utilities.Appearance.AppearanceManager Appearance; | ||
13 | |||
14 | public AppearanceCommand(TestClient testClient) | ||
15 | { | ||
16 | Name = "appearance"; | ||
17 | Description = "Set your current appearance to your last saved appearance"; | ||
18 | |||
19 | Assets = new libsecondlife.Utilities.Assets.AssetManager(testClient); | ||
20 | Appearance = new libsecondlife.Utilities.Appearance.AppearanceManager(testClient, Assets); | ||
21 | } | ||
22 | |||
23 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
24 | { | ||
25 | Appearance.SetPreviousAppearance(); | ||
26 | return "Done."; | ||
27 | } | ||
28 | } | ||
29 | } | ||
diff --git a/tools/mass test client/Commands/Inventory/BalanceCommand.cs b/tools/mass test client/Commands/Inventory/BalanceCommand.cs deleted file mode 100644 index 46044f2..0000000 --- a/tools/mass test client/Commands/Inventory/BalanceCommand.cs +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using libsecondlife; | ||
4 | using libsecondlife.Packets; | ||
5 | |||
6 | namespace libsecondlife.TestClient | ||
7 | { | ||
8 | public class BalanceCommand: Command | ||
9 | { | ||
10 | public BalanceCommand(TestClient testClient) | ||
11 | { | ||
12 | Name = "balance"; | ||
13 | Description = "Shows the amount of L$."; | ||
14 | } | ||
15 | |||
16 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
17 | { | ||
18 | return Client.ToString() + " has L$: " + Client.Self.Balance; | ||
19 | } | ||
20 | } | ||
21 | } | ||
diff --git a/tools/mass test client/Commands/Inventory/DeleteFolderCommand.cs b/tools/mass test client/Commands/Inventory/DeleteFolderCommand.cs deleted file mode 100644 index 081ff86..0000000 --- a/tools/mass test client/Commands/Inventory/DeleteFolderCommand.cs +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.IO; | ||
4 | using System.Text; | ||
5 | using System.Threading; | ||
6 | using System.Xml; | ||
7 | using System.Xml.Serialization; | ||
8 | |||
9 | using libsecondlife; | ||
10 | using libsecondlife.Packets; | ||
11 | using libsecondlife.InventorySystem; | ||
12 | |||
13 | namespace libsecondlife.TestClient | ||
14 | { | ||
15 | public class DeleteFolderCommand : Command | ||
16 | { | ||
17 | public DeleteFolderCommand(TestClient testClient) | ||
18 | { | ||
19 | Name = "deleteFolder"; | ||
20 | Description = "Deletes a folder from inventory."; | ||
21 | } | ||
22 | |||
23 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
24 | { | ||
25 | return "Broken until someone fixes me"; | ||
26 | |||
27 | //string target = String.Empty; | ||
28 | //for (int ct = 0; ct < args.Length; ct++) | ||
29 | // target = target + args[ct] + " "; | ||
30 | //target = target.TrimEnd(); | ||
31 | |||
32 | //Client.Inventory.DownloadInventory(); | ||
33 | //InventoryFolder folder = Client.Inventory.getFolder(target); | ||
34 | //if (folder != null) | ||
35 | //{ | ||
36 | // folder.Delete(); | ||
37 | // return "Folder " + target + " deleted."; | ||
38 | //} | ||
39 | |||
40 | //return "Unable to find: " + target; | ||
41 | } | ||
42 | } | ||
43 | } \ No newline at end of file | ||
diff --git a/tools/mass test client/Commands/Inventory/DumpOutfitCommand.cs b/tools/mass test client/Commands/Inventory/DumpOutfitCommand.cs deleted file mode 100644 index 8347acc..0000000 --- a/tools/mass test client/Commands/Inventory/DumpOutfitCommand.cs +++ /dev/null | |||
@@ -1,98 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Text; | ||
3 | using System.IO; | ||
4 | using System.Collections.Generic; | ||
5 | using libsecondlife; | ||
6 | using libsecondlife.Utilities.Assets; | ||
7 | using libsecondlife.Utilities.Appearance; | ||
8 | |||
9 | namespace libsecondlife.TestClient | ||
10 | { | ||
11 | public class DumpOutfitCommand : Command | ||
12 | { | ||
13 | libsecondlife.Utilities.Assets.AssetManager Assets; | ||
14 | List<LLUUID> OutfitAssets = new List<LLUUID>(); | ||
15 | |||
16 | public DumpOutfitCommand(TestClient testClient) | ||
17 | { | ||
18 | Name = "dumpoutfit"; | ||
19 | Description = "Dumps all of the textures from an avatars outfit to the hard drive. Usage: dumpoutfit [avatar-uuid]"; | ||
20 | |||
21 | Assets = new AssetManager(testClient); | ||
22 | Assets.OnImageReceived += new AssetManager.ImageReceivedCallback(Assets_OnImageReceived); | ||
23 | } | ||
24 | |||
25 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
26 | { | ||
27 | if (args.Length != 1) | ||
28 | return "Usage: dumpoutfit [avatar-uuid]"; | ||
29 | |||
30 | LLUUID target; | ||
31 | |||
32 | if (!LLUUID.TryParse(args[0], out target)) | ||
33 | return "Usage: dumpoutfit [avatar-uuid]"; | ||
34 | |||
35 | lock (Client.AvatarList) | ||
36 | { | ||
37 | foreach (Avatar avatar in Client.AvatarList.Values) | ||
38 | { | ||
39 | if (avatar.ID == target) | ||
40 | { | ||
41 | StringBuilder output = new StringBuilder("Downloading "); | ||
42 | |||
43 | lock (OutfitAssets) OutfitAssets.Clear(); | ||
44 | |||
45 | foreach (KeyValuePair<uint, LLObject.TextureEntryFace> face in avatar.Textures.FaceTextures) | ||
46 | { | ||
47 | ImageType type = ImageType.Normal; | ||
48 | |||
49 | switch ((AppearanceManager.TextureIndex)face.Key) | ||
50 | { | ||
51 | case AppearanceManager.TextureIndex.HeadBaked: | ||
52 | case AppearanceManager.TextureIndex.EyesBaked: | ||
53 | case AppearanceManager.TextureIndex.UpperBaked: | ||
54 | case AppearanceManager.TextureIndex.LowerBaked: | ||
55 | case AppearanceManager.TextureIndex.SkirtBaked: | ||
56 | type = ImageType.Baked; | ||
57 | break; | ||
58 | } | ||
59 | |||
60 | Assets.RequestImage(face.Value.TextureID, type, 100000.0f, 0); | ||
61 | |||
62 | output.Append(((AppearanceManager.TextureIndex)face.Key).ToString()); | ||
63 | output.Append(" "); | ||
64 | } | ||
65 | |||
66 | return output.ToString(); | ||
67 | } | ||
68 | } | ||
69 | } | ||
70 | |||
71 | return "Couldn't find avatar " + target.ToStringHyphenated(); | ||
72 | } | ||
73 | |||
74 | private void Assets_OnImageReceived(ImageDownload image) | ||
75 | { | ||
76 | if (image.Success) | ||
77 | { | ||
78 | try | ||
79 | { | ||
80 | File.WriteAllBytes(image.ID.ToStringHyphenated() + ".jp2", image.AssetData); | ||
81 | Console.WriteLine("Wrote JPEG2000 image " + image.ID.ToStringHyphenated() + ".jp2"); | ||
82 | |||
83 | byte[] tgaFile = OpenJPEGNet.OpenJPEG.DecodeToTGA(image.AssetData); | ||
84 | File.WriteAllBytes(image.ID.ToStringHyphenated() + ".tga", tgaFile); | ||
85 | Console.WriteLine("Wrote TGA image " + image.ID.ToStringHyphenated() + ".tga"); | ||
86 | } | ||
87 | catch (Exception e) | ||
88 | { | ||
89 | Console.WriteLine(e.ToString()); | ||
90 | } | ||
91 | } | ||
92 | else | ||
93 | { | ||
94 | Console.WriteLine("Failed to download image " + image.ID.ToStringHyphenated()); | ||
95 | } | ||
96 | } | ||
97 | } | ||
98 | } | ||
diff --git a/tools/mass test client/Commands/Inventory/ExportOutfitCommand.cs b/tools/mass test client/Commands/Inventory/ExportOutfitCommand.cs deleted file mode 100644 index 9a91d00..0000000 --- a/tools/mass test client/Commands/Inventory/ExportOutfitCommand.cs +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.IO; | ||
4 | using System.Xml; | ||
5 | using libsecondlife; | ||
6 | using libsecondlife.Packets; | ||
7 | |||
8 | namespace libsecondlife.TestClient | ||
9 | { | ||
10 | public class ExportOutfitCommand : Command | ||
11 | { | ||
12 | public ExportOutfitCommand(TestClient testClient) | ||
13 | { | ||
14 | Name = "exportoutfit"; | ||
15 | Description = "Exports an avatars outfit to an xml file. Usage: exportoutfit avataruuid outputfile.xml"; | ||
16 | } | ||
17 | |||
18 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
19 | { | ||
20 | if (args.Length != 2) | ||
21 | return "Usage: exportoutfit avataruuid outputfile.xml"; | ||
22 | |||
23 | LLUUID id; | ||
24 | |||
25 | try | ||
26 | { | ||
27 | id = new LLUUID(args[0]); | ||
28 | } | ||
29 | catch (Exception) | ||
30 | { | ||
31 | return "Usage: exportoutfit avataruuid outputfile.xml"; | ||
32 | } | ||
33 | |||
34 | lock (Client.Appearances) | ||
35 | { | ||
36 | if (Client.Appearances.ContainsKey(id)) | ||
37 | { | ||
38 | try | ||
39 | { | ||
40 | XmlWriterSettings settings = new XmlWriterSettings(); | ||
41 | settings.Indent = true; | ||
42 | XmlWriter writer = XmlWriter.Create(args[1], settings); | ||
43 | try | ||
44 | { | ||
45 | Client.Appearances[id].ToXml(writer); | ||
46 | } | ||
47 | finally | ||
48 | { | ||
49 | writer.Close(); | ||
50 | } | ||
51 | } | ||
52 | catch (Exception e) | ||
53 | { | ||
54 | return e.ToString(); | ||
55 | } | ||
56 | |||
57 | return "Exported appearance for avatar " + id.ToString() + " to " + args[1]; | ||
58 | } | ||
59 | else | ||
60 | { | ||
61 | return "Couldn't find an appearance for avatar " + id.ToString(); | ||
62 | } | ||
63 | } | ||
64 | } | ||
65 | } | ||
66 | } \ No newline at end of file | ||
diff --git a/tools/mass test client/Commands/Inventory/GiveAllCommand.cs b/tools/mass test client/Commands/Inventory/GiveAllCommand.cs deleted file mode 100644 index 8890ea0..0000000 --- a/tools/mass test client/Commands/Inventory/GiveAllCommand.cs +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class GiveAllCommand: Command | ||
10 | { | ||
11 | public GiveAllCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "giveAll"; | ||
14 | Description = "Gives you all it's money."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | if (fromAgentID == null) | ||
20 | return "Unable to send money to console. This command only works when IMed."; | ||
21 | |||
22 | int amount = Client.Self.Balance; | ||
23 | Client.Self.GiveMoney(fromAgentID, Client.Self.Balance, String.Empty); | ||
24 | return "Gave $" + amount + " to " + fromAgentID; | ||
25 | } | ||
26 | } | ||
27 | } | ||
diff --git a/tools/mass test client/Commands/Inventory/ImportOutfitCommand.cs b/tools/mass test client/Commands/Inventory/ImportOutfitCommand.cs deleted file mode 100644 index 595ce98..0000000 --- a/tools/mass test client/Commands/Inventory/ImportOutfitCommand.cs +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.IO; | ||
4 | using System.Xml; | ||
5 | using System.Xml.Serialization; | ||
6 | using libsecondlife; | ||
7 | using libsecondlife.Packets; | ||
8 | |||
9 | namespace libsecondlife.TestClient | ||
10 | { | ||
11 | public class ImportOutfitCommand : Command | ||
12 | { | ||
13 | private uint SerialNum = 1; | ||
14 | |||
15 | public ImportOutfitCommand(TestClient testClient) | ||
16 | { | ||
17 | Name = "importoutfit"; | ||
18 | Description = "Imports an appearance from an xml file. Usage: importoutfit inputfile.xml"; | ||
19 | } | ||
20 | |||
21 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
22 | { | ||
23 | if (args.Length != 1) | ||
24 | return "Usage: importoutfit inputfile.xml"; | ||
25 | |||
26 | try | ||
27 | { | ||
28 | XmlReader reader = XmlReader.Create(args[0]); | ||
29 | XmlSerializer serializer = new XmlSerializer(typeof(Packet)); | ||
30 | AvatarAppearancePacket appearance = (AvatarAppearancePacket)serializer.Deserialize(reader); | ||
31 | reader.Close(); | ||
32 | |||
33 | AgentSetAppearancePacket set = new AgentSetAppearancePacket(); | ||
34 | |||
35 | set.AgentData.AgentID = Client.Network.AgentID; | ||
36 | set.AgentData.SessionID = Client.Network.SessionID; | ||
37 | set.AgentData.SerialNum = SerialNum++; | ||
38 | |||
39 | float AV_Height_Range = 2.025506f - 1.50856f; | ||
40 | float AV_Height = 1.50856f + (((float)appearance.VisualParam[25].ParamValue / 255.0f) * AV_Height_Range); | ||
41 | set.AgentData.Size = new LLVector3(0.45f, 0.6f, AV_Height); | ||
42 | |||
43 | set.ObjectData.TextureEntry = appearance.ObjectData.TextureEntry; | ||
44 | set.VisualParam = new AgentSetAppearancePacket.VisualParamBlock[appearance.VisualParam.Length]; | ||
45 | |||
46 | int i = 0; | ||
47 | foreach (AvatarAppearancePacket.VisualParamBlock block in appearance.VisualParam) | ||
48 | { | ||
49 | set.VisualParam[i] = new AgentSetAppearancePacket.VisualParamBlock(); | ||
50 | set.VisualParam[i].ParamValue = block.ParamValue; | ||
51 | i++; | ||
52 | } | ||
53 | |||
54 | set.WearableData = new AgentSetAppearancePacket.WearableDataBlock[0]; | ||
55 | |||
56 | Client.Network.SendPacket(set); | ||
57 | } | ||
58 | catch (Exception) | ||
59 | { | ||
60 | return "Failed to import the appearance XML file, maybe it doesn't exist or is in the wrong format?"; | ||
61 | } | ||
62 | |||
63 | return "Imported " + args[0] + " and sent an AgentSetAppearance packet"; | ||
64 | } | ||
65 | } | ||
66 | } | ||
diff --git a/tools/mass test client/Commands/Inventory/InventoryCommand.cs b/tools/mass test client/Commands/Inventory/InventoryCommand.cs deleted file mode 100644 index da5dc73..0000000 --- a/tools/mass test client/Commands/Inventory/InventoryCommand.cs +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.IO; | ||
4 | using System.Text; | ||
5 | using System.Threading; | ||
6 | using System.Xml; | ||
7 | using System.Xml.Serialization; | ||
8 | |||
9 | using libsecondlife; | ||
10 | using libsecondlife.Packets; | ||
11 | using libsecondlife.InventorySystem; | ||
12 | |||
13 | namespace libsecondlife.TestClient | ||
14 | { | ||
15 | public class InventoryCommand : Command | ||
16 | { | ||
17 | public InventoryCommand(TestClient testClient) | ||
18 | { | ||
19 | Name = "i"; | ||
20 | Description = "Prints out inventory."; | ||
21 | } | ||
22 | |||
23 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
24 | { | ||
25 | return "Broken until someone fixes me"; | ||
26 | |||
27 | //Client.Inventory.DownloadInventory(); | ||
28 | //StringBuilder result = new StringBuilder(); | ||
29 | //PrintFolder(Client.Inventory.GetRootFolder(), result, 0); | ||
30 | //return result.ToString(); | ||
31 | } | ||
32 | |||
33 | //void PrintFolder(InventoryFolder folder, StringBuilder output, int indenting) | ||
34 | //{ | ||
35 | // Indent(output, indenting); | ||
36 | // output.Append(folder.Name); | ||
37 | // output.Append("\n"); | ||
38 | // foreach (InventoryBase b in folder.GetContents()) | ||
39 | // { | ||
40 | // InventoryItem item = b as InventoryItem; | ||
41 | // if (item != null) | ||
42 | // { | ||
43 | // Indent(output, indenting + 1); | ||
44 | // output.Append(item.Name); | ||
45 | // output.Append("\n"); | ||
46 | // continue; | ||
47 | // } | ||
48 | // InventoryFolder subFolder = b as InventoryFolder; | ||
49 | // if (subFolder != null) | ||
50 | // PrintFolder(subFolder, output, indenting + 1); | ||
51 | // } | ||
52 | //} | ||
53 | |||
54 | //void Indent(StringBuilder output, int indenting) | ||
55 | //{ | ||
56 | // for (int count = 0; count < indenting; count++) | ||
57 | // { | ||
58 | // output.Append(" "); | ||
59 | // } | ||
60 | //} | ||
61 | } | ||
62 | } \ No newline at end of file | ||
diff --git a/tools/mass test client/Commands/Inventory/WearCommand.cs b/tools/mass test client/Commands/Inventory/WearCommand.cs deleted file mode 100644 index d7c1432..0000000 --- a/tools/mass test client/Commands/Inventory/WearCommand.cs +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.IO; | ||
4 | using System.Text; | ||
5 | using System.Threading; | ||
6 | using System.Xml; | ||
7 | using System.Xml.Serialization; | ||
8 | |||
9 | using libsecondlife; | ||
10 | using libsecondlife.Packets; | ||
11 | using libsecondlife.InventorySystem; | ||
12 | |||
13 | namespace libsecondlife.TestClient | ||
14 | { | ||
15 | public class WearCommand : Command | ||
16 | { | ||
17 | public WearCommand(TestClient testClient) | ||
18 | { | ||
19 | Name = "wear"; | ||
20 | Description = "Wear an outfit folder from inventory. Usage: wear [outfit name]"; | ||
21 | } | ||
22 | |||
23 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
24 | { | ||
25 | string target = String.Empty; | ||
26 | |||
27 | for (int ct = 0; ct < args.Length; ct++) | ||
28 | target = target + args[ct] + " "; | ||
29 | |||
30 | target = target.TrimEnd(); | ||
31 | |||
32 | InventoryFolder folder = Client.Inventory.getFolder(target); | ||
33 | |||
34 | if (folder != null) | ||
35 | { | ||
36 | Client.Appearance.WearOutfit(folder); | ||
37 | return "Outfit " + target + " worn."; | ||
38 | } | ||
39 | |||
40 | return "Unable to find: " + target; | ||
41 | } | ||
42 | } | ||
43 | } | ||
diff --git a/tools/mass test client/Commands/Land/FindSimCommand.cs b/tools/mass test client/Commands/Land/FindSimCommand.cs deleted file mode 100644 index 4fcd35c..0000000 --- a/tools/mass test client/Commands/Land/FindSimCommand.cs +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class FindSimCommand : Command | ||
10 | { | ||
11 | public FindSimCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "findsim"; | ||
14 | Description = "Searches for a simulator and returns information about it. Usage: findsim [Simulator Name]"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | if (args.Length < 1) | ||
20 | return "Usage: findsim [Simulator Name]"; | ||
21 | |||
22 | // Build the simulator name from the args list | ||
23 | string simName = string.Empty; | ||
24 | for (int i = 0; i < args.Length; i++) | ||
25 | simName += args[i] + " "; | ||
26 | simName = simName.TrimEnd().ToLower(); | ||
27 | |||
28 | //if (!GridDataCached[Client]) | ||
29 | //{ | ||
30 | // Client.Grid.RequestAllSims(GridManager.MapLayerType.Objects); | ||
31 | // System.Threading.Thread.Sleep(5000); | ||
32 | // GridDataCached[Client] = true; | ||
33 | //} | ||
34 | |||
35 | GridRegion region; | ||
36 | |||
37 | if (Client.Grid.GetGridRegion(simName, out region)) | ||
38 | return String.Format("{0}: handle={1} ({2},{3})", region.Name, region.RegionHandle, region.X, region.Y); | ||
39 | else | ||
40 | return "Lookup of " + simName + " failed"; | ||
41 | } | ||
42 | } | ||
43 | } | ||
diff --git a/tools/mass test client/Commands/Land/ParcelInfoCommand.cs b/tools/mass test client/Commands/Land/ParcelInfoCommand.cs deleted file mode 100644 index 7119a47..0000000 --- a/tools/mass test client/Commands/Land/ParcelInfoCommand.cs +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Threading; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Utilities; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class ParcelInfoCommand : Command | ||
10 | { | ||
11 | private ParcelDownloader ParcelDownloader; | ||
12 | private ManualResetEvent ParcelsDownloaded = new ManualResetEvent(false); | ||
13 | private int ParcelCount = 0; | ||
14 | |||
15 | public ParcelInfoCommand(TestClient testClient) | ||
16 | { | ||
17 | Name = "parcelinfo"; | ||
18 | Description = "Prints out info about all the parcels in this simulator"; | ||
19 | |||
20 | ParcelDownloader = new ParcelDownloader(testClient); | ||
21 | ParcelDownloader.OnParcelsDownloaded += new ParcelDownloader.ParcelsDownloadedCallback(Parcels_OnParcelsDownloaded); | ||
22 | testClient.Network.OnDisconnected += new NetworkManager.DisconnectedCallback(Network_OnDisconnected); | ||
23 | } | ||
24 | |||
25 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
26 | { | ||
27 | ParcelDownloader.DownloadSimParcels(Client.Network.CurrentSim); | ||
28 | |||
29 | ParcelsDownloaded.Reset(); | ||
30 | ParcelsDownloaded.WaitOne(20000, false); | ||
31 | |||
32 | if (Client.Network.CurrentSim != null) | ||
33 | return "Downloaded information for " + ParcelCount + " parcels in " + Client.Network.CurrentSim.Name; | ||
34 | else | ||
35 | return String.Empty; | ||
36 | } | ||
37 | |||
38 | void Parcels_OnParcelsDownloaded(Simulator simulator, Dictionary<int, Parcel> Parcels, int[,] map) | ||
39 | { | ||
40 | foreach (KeyValuePair<int, Parcel> parcel in Parcels) | ||
41 | { | ||
42 | WaterType type = ParcelDownloader.GetWaterType(map, parcel.Value.LocalID); | ||
43 | float delta = ParcelDownloader.GetHeightRange(map, parcel.Value.LocalID); | ||
44 | int deviation = ParcelDownloader.GetRectangularDeviation(parcel.Value.AABBMin, parcel.Value.AABBMax, | ||
45 | parcel.Value.Area); | ||
46 | |||
47 | Console.WriteLine("Parcels[{0}]: Name: \"{1}\", Description: \"{2}\" ACL Count: {3}, " + | ||
48 | "Location: {4}, Height Range: {5}, Shape Deviation: {6}", parcel.Key, parcel.Value.Name, | ||
49 | parcel.Value.Desc, parcel.Value.AccessList.Count, type.ToString(), delta, deviation); | ||
50 | } | ||
51 | |||
52 | ParcelCount = Parcels.Count; | ||
53 | |||
54 | ParcelsDownloaded.Set(); | ||
55 | } | ||
56 | |||
57 | void Network_OnDisconnected(NetworkManager.DisconnectType reason, string message) | ||
58 | { | ||
59 | ParcelsDownloaded.Set(); | ||
60 | } | ||
61 | } | ||
62 | } | ||
diff --git a/tools/mass test client/Commands/Movement/FollowCommand.cs b/tools/mass test client/Commands/Movement/FollowCommand.cs deleted file mode 100644 index 49be106..0000000 --- a/tools/mass test client/Commands/Movement/FollowCommand.cs +++ /dev/null | |||
@@ -1,90 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class FollowCommand: Command | ||
10 | { | ||
11 | public FollowCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "follow"; | ||
14 | Description = "Follow another avatar. (usage: follow [FirstName LastName]) If no target is set then will follow master."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | string target = String.Empty; | ||
20 | for (int ct = 0; ct < args.Length; ct++) | ||
21 | target = target + args[ct] + " "; | ||
22 | target = target.TrimEnd(); | ||
23 | |||
24 | if (target.Length > 0) | ||
25 | { | ||
26 | if (Follow(target)) | ||
27 | return "Following " + target; | ||
28 | else | ||
29 | return "Unable to follow " + target + ". Client may not be able to see that avatar."; | ||
30 | } | ||
31 | else | ||
32 | { | ||
33 | if (Follow(Client.MasterKey)) | ||
34 | return "Following " + Client.MasterKey; | ||
35 | else | ||
36 | return "No target specified and no master not found. usage: follow [FirstName LastName])"; | ||
37 | } | ||
38 | } | ||
39 | |||
40 | const float DISTANCE_BUFFER = 3.0f; | ||
41 | Avatar followAvatar; | ||
42 | |||
43 | bool Follow(string name) | ||
44 | { | ||
45 | foreach (Avatar av in Client.AvatarList.Values) | ||
46 | { | ||
47 | if (av.Name == name) | ||
48 | { | ||
49 | followAvatar = av; | ||
50 | Active = true; | ||
51 | return true; | ||
52 | } | ||
53 | } | ||
54 | return false; | ||
55 | } | ||
56 | |||
57 | bool Follow(LLUUID id) | ||
58 | { | ||
59 | foreach (Avatar av in Client.AvatarList.Values) | ||
60 | { | ||
61 | if (av.ID == id) | ||
62 | { | ||
63 | followAvatar = av; | ||
64 | Active = true; | ||
65 | return true; | ||
66 | } | ||
67 | } | ||
68 | return false; | ||
69 | } | ||
70 | |||
71 | public override void Think() | ||
72 | { | ||
73 | if (Helpers.VecDist(followAvatar.Position, Client.Self.Position) > DISTANCE_BUFFER) | ||
74 | { | ||
75 | //move toward target | ||
76 | LLVector3 avPos = followAvatar.Position; | ||
77 | Client.Self.AutoPilot((ulong)avPos.X + (ulong)Client.regionX, (ulong)avPos.Y + (ulong)Client.regionY, avPos.Z); | ||
78 | } | ||
79 | //else | ||
80 | //{ | ||
81 | // //stop at current position | ||
82 | // LLVector3 myPos = client.Self.Position; | ||
83 | // client.Self.AutoPilot((ulong)myPos.x, (ulong)myPos.y, myPos.Z); | ||
84 | //} | ||
85 | |||
86 | base.Think(); | ||
87 | } | ||
88 | |||
89 | } | ||
90 | } | ||
diff --git a/tools/mass test client/Commands/Movement/GotoCommand.cs b/tools/mass test client/Commands/Movement/GotoCommand.cs deleted file mode 100644 index fbbc2ec..0000000 --- a/tools/mass test client/Commands/Movement/GotoCommand.cs +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class GotoCommand: Command | ||
10 | { | ||
11 | public GotoCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "goto"; | ||
14 | Description = "Teleport to a location (e.g. \"goto Hooper/100/100/30\")"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | if (args.Length < 1) | ||
20 | return "usage: Destination should be specified as sim/x/y/z"; | ||
21 | |||
22 | string destination = String.Empty; | ||
23 | |||
24 | // Handle multi-word sim names by combining the arguments | ||
25 | foreach (string arg in args) | ||
26 | { | ||
27 | destination += arg + " "; | ||
28 | } | ||
29 | destination = destination.Trim(); | ||
30 | |||
31 | string[] tokens = destination.Split(new char[] { '/' }); | ||
32 | if (tokens.Length != 4) | ||
33 | return "usage: Destination should be specified as sim/x/y/z"; | ||
34 | |||
35 | string sim = tokens[0]; | ||
36 | float x = Client.Self.Position.X; | ||
37 | float y = Client.Self.Position.Y; | ||
38 | float z = Client.Self.Position.Z; | ||
39 | float.TryParse(tokens[1], out x); | ||
40 | float.TryParse(tokens[2], out y); | ||
41 | float.TryParse(tokens[3], out z); | ||
42 | |||
43 | if (Client.Self.Teleport(sim, new LLVector3(x, y, z))) | ||
44 | { | ||
45 | return "Teleported to " + Client.Network.CurrentSim; | ||
46 | } | ||
47 | else | ||
48 | { | ||
49 | return "Teleport failed: " + Client.Self.TeleportMessage; | ||
50 | } | ||
51 | } | ||
52 | } | ||
53 | } | ||
diff --git a/tools/mass test client/Commands/Movement/JumpCommand.cs b/tools/mass test client/Commands/Movement/JumpCommand.cs deleted file mode 100644 index 6cead83..0000000 --- a/tools/mass test client/Commands/Movement/JumpCommand.cs +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class JumpCommand: Command | ||
10 | { | ||
11 | public JumpCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "jump"; | ||
14 | Description = "Teleports to the specified height. (e.g. \"jump 1000\")"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | if (args.Length != 1) | ||
20 | return "usage: jump 1000"; | ||
21 | |||
22 | float height = 0; | ||
23 | float.TryParse(args[0], out height); | ||
24 | |||
25 | Client.Self.Teleport | ||
26 | ( | ||
27 | Client.Network.CurrentSim.Name, | ||
28 | new LLVector3(Client.Self.Position.X, Client.Self.Position.Y, Client.Self.Position.Z + height) | ||
29 | ); | ||
30 | |||
31 | return "Jumped " + height; | ||
32 | } | ||
33 | } | ||
34 | } | ||
diff --git a/tools/mass test client/Commands/Movement/LocationCommand.cs b/tools/mass test client/Commands/Movement/LocationCommand.cs deleted file mode 100644 index 1758a48..0000000 --- a/tools/mass test client/Commands/Movement/LocationCommand.cs +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class LocationCommand: Command | ||
10 | { | ||
11 | public LocationCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "location"; | ||
14 | Description = "Show the location."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | return "CurrentSim: '" + Client.Network.CurrentSim.ToString() + "' Position: " + | ||
20 | Client.Self.Position.ToString(); | ||
21 | } | ||
22 | } | ||
23 | } | ||
diff --git a/tools/mass test client/Commands/Movement/MoveToCommand.cs b/tools/mass test client/Commands/Movement/MoveToCommand.cs deleted file mode 100644 index 2b3c7d7..0000000 --- a/tools/mass test client/Commands/Movement/MoveToCommand.cs +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace libsecondlife.TestClient.Commands.Movement { | ||
6 | class MovetoCommand : Command { | ||
7 | public MovetoCommand(TestClient client) { | ||
8 | Name = "moveto"; | ||
9 | Description = "Moves the avatar to the specified global position using simulator autopilot."; | ||
10 | } | ||
11 | public override string Execute(string[] args, LLUUID fromAgentID) { | ||
12 | if (args.Length != 3) | ||
13 | return "usage: moveto x y z"; | ||
14 | float x = Client.Self.Position.X + Client.regionX; | ||
15 | float y = Client.Self.Position.Y + Client.regionY; | ||
16 | float z = Client.Self.Position.Z; | ||
17 | float.TryParse(args[0], out x); | ||
18 | float.TryParse(args[1], out y); | ||
19 | float.TryParse(args[2], out z); | ||
20 | Client.Self.AutoPilot((ulong)x, (ulong)y, z); | ||
21 | return "Attempting to move to <" + x + ", " + y + ", " + z + ">"; | ||
22 | } | ||
23 | } | ||
24 | } | ||
diff --git a/tools/mass test client/Commands/Movement/SetHome.cs b/tools/mass test client/Commands/Movement/SetHome.cs deleted file mode 100644 index 5e14ca6..0000000 --- a/tools/mass test client/Commands/Movement/SetHome.cs +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class SetHomeCommand : Command | ||
10 | { | ||
11 | public SetHomeCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "sethome"; | ||
14 | Description = "Sets home to the current location."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | Client.Self.SetHome(); | ||
20 | return "Home Set"; | ||
21 | } | ||
22 | } | ||
23 | } | ||
diff --git a/tools/mass test client/Commands/Movement/SitCommand.cs b/tools/mass test client/Commands/Movement/SitCommand.cs deleted file mode 100644 index 1735615..0000000 --- a/tools/mass test client/Commands/Movement/SitCommand.cs +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class SitCommand: Command | ||
10 | { | ||
11 | public SitCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "sit"; | ||
14 | Description = "Attempt to sit on the closest prim"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | Primitive closest = null; | ||
20 | double closestDistance = Double.MaxValue; | ||
21 | |||
22 | lock (Client.SimPrims) | ||
23 | { | ||
24 | if (Client.SimPrims.ContainsKey(Client.Network.CurrentSim)) | ||
25 | { | ||
26 | foreach (Primitive p in Client.SimPrims[Client.Network.CurrentSim].Values) | ||
27 | { | ||
28 | float distance = Helpers.VecDist(Client.Self.Position, p.Position); | ||
29 | |||
30 | if (closest == null || distance < closestDistance) | ||
31 | { | ||
32 | closest = p; | ||
33 | closestDistance = distance; | ||
34 | } | ||
35 | } | ||
36 | } | ||
37 | } | ||
38 | |||
39 | if (closest != null) | ||
40 | { | ||
41 | Client.Self.RequestSit(closest.ID, LLVector3.Zero); | ||
42 | Client.Self.Sit(); | ||
43 | |||
44 | return "Sat on " + closest.ID + ". Distance: " + closestDistance; | ||
45 | } | ||
46 | else | ||
47 | { | ||
48 | return "Couldn't find a nearby prim to sit on"; | ||
49 | } | ||
50 | } | ||
51 | } | ||
52 | } | ||
diff --git a/tools/mass test client/Commands/Movement/SitOnCommand.cs b/tools/mass test client/Commands/Movement/SitOnCommand.cs deleted file mode 100644 index 381f50c..0000000 --- a/tools/mass test client/Commands/Movement/SitOnCommand.cs +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class SitOnCommand: Command | ||
10 | { | ||
11 | public SitOnCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "siton"; | ||
14 | Description = "Attempt to sit on a particular prim, with specified UUID"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | LLObject targetSeat = null; | ||
20 | |||
21 | lock (Client.SimPrims) | ||
22 | { | ||
23 | if (Client.SimPrims.ContainsKey(Client.Network.CurrentSim)) | ||
24 | { | ||
25 | foreach (LLObject p in Client.SimPrims[Client.Network.CurrentSim].Values) | ||
26 | { | ||
27 | try | ||
28 | { | ||
29 | if (p.ID == args[0]) | ||
30 | targetSeat = p; | ||
31 | } | ||
32 | catch | ||
33 | { | ||
34 | // handle exception | ||
35 | return "Sorry, I don't think " + args[0] + " is a valid UUID. I'm unable to sit there."; | ||
36 | } | ||
37 | } | ||
38 | } | ||
39 | } | ||
40 | |||
41 | if (targetSeat != null) | ||
42 | { | ||
43 | Client.Self.RequestSit(targetSeat.ID, LLVector3.Zero); | ||
44 | Client.Self.Sit(); | ||
45 | |||
46 | return "Sat on prim " + targetSeat.ID + "."; | ||
47 | } | ||
48 | else | ||
49 | { | ||
50 | return "Couldn't find specified prim to sit on"; | ||
51 | } | ||
52 | } | ||
53 | } | ||
54 | } \ No newline at end of file | ||
diff --git a/tools/mass test client/Commands/Movement/StandCommand.cs b/tools/mass test client/Commands/Movement/StandCommand.cs deleted file mode 100644 index bb8542b..0000000 --- a/tools/mass test client/Commands/Movement/StandCommand.cs +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class StandCommand: Command | ||
10 | { | ||
11 | public StandCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "stand"; | ||
14 | Description = "Stand"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | Client.Self.Status.StandUp = true; | ||
20 | stand(Client); | ||
21 | return "Standing up."; | ||
22 | } | ||
23 | |||
24 | void stand(SecondLife client) | ||
25 | { | ||
26 | SendAgentUpdate(client, (uint)MainAvatar.ControlFlags.AGENT_CONTROL_STAND_UP); | ||
27 | } | ||
28 | |||
29 | const float DRAW_DISTANCE = 96.0f; | ||
30 | void SendAgentUpdate(SecondLife client, uint ControlID) | ||
31 | { | ||
32 | AgentUpdatePacket p = new AgentUpdatePacket(); | ||
33 | p.AgentData.Far = DRAW_DISTANCE; | ||
34 | //LLVector3 myPos = client.Self.Position; | ||
35 | p.AgentData.CameraCenter = new LLVector3(0, 0, 0); | ||
36 | p.AgentData.CameraAtAxis = new LLVector3(0, 0, 0); | ||
37 | p.AgentData.CameraLeftAxis = new LLVector3(0, 0, 0); | ||
38 | p.AgentData.CameraUpAxis = new LLVector3(0, 0, 0); | ||
39 | p.AgentData.HeadRotation = new LLQuaternion(0, 0, 0, 1); ; | ||
40 | p.AgentData.BodyRotation = new LLQuaternion(0, 0, 0, 1); ; | ||
41 | p.AgentData.AgentID = client.Network.AgentID; | ||
42 | p.AgentData.SessionID = client.Network.SessionID; | ||
43 | p.AgentData.ControlFlags = ControlID; | ||
44 | client.Network.SendPacket(p); | ||
45 | } | ||
46 | } | ||
47 | } | ||
diff --git a/tools/mass test client/Commands/Prims/ExportCommand.cs b/tools/mass test client/Commands/Prims/ExportCommand.cs deleted file mode 100644 index da4e45f..0000000 --- a/tools/mass test client/Commands/Prims/ExportCommand.cs +++ /dev/null | |||
@@ -1,209 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.IO; | ||
4 | using System.Xml; | ||
5 | using System.Text; | ||
6 | using System.Threading; | ||
7 | using libsecondlife; | ||
8 | using libsecondlife.Packets; | ||
9 | |||
10 | namespace libsecondlife.TestClient | ||
11 | { | ||
12 | public class ExportCommand : Command | ||
13 | { | ||
14 | AutoResetEvent GotPermissionsEvent = new AutoResetEvent(false); | ||
15 | LLObject.ObjectPropertiesFamily Properties; | ||
16 | bool GotPermissions = false; | ||
17 | LLUUID SelectedObject = LLUUID.Zero; | ||
18 | |||
19 | Dictionary<LLUUID, Primitive> PrimsWaiting = new Dictionary<LLUUID, Primitive>(); | ||
20 | AutoResetEvent AllPropertiesReceived = new AutoResetEvent(false); | ||
21 | |||
22 | public ExportCommand(TestClient testClient) | ||
23 | { | ||
24 | testClient.Objects.OnObjectPropertiesFamily += new ObjectManager.ObjectPropertiesFamilyCallback(Objects_OnObjectPropertiesFamily); | ||
25 | testClient.Objects.OnObjectProperties += new ObjectManager.ObjectPropertiesCallback(Objects_OnObjectProperties); | ||
26 | testClient.Avatars.OnPointAt += new AvatarManager.PointAtCallback(Avatars_OnPointAt); | ||
27 | |||
28 | Name = "export"; | ||
29 | Description = "Exports an object to an xml file. Usage: export uuid outputfile.xml"; | ||
30 | } | ||
31 | |||
32 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
33 | { | ||
34 | if (args.Length != 2 && !(args.Length == 1 && SelectedObject != LLUUID.Zero)) | ||
35 | return "Usage: export uuid outputfile.xml"; | ||
36 | |||
37 | LLUUID id; | ||
38 | uint localid = 0; | ||
39 | int count = 0; | ||
40 | string file; | ||
41 | |||
42 | if (args.Length == 2) | ||
43 | { | ||
44 | file = args[1]; | ||
45 | if (!LLUUID.TryParse(args[0], out id)) | ||
46 | return "Usage: export uuid outputfile.xml"; | ||
47 | } | ||
48 | else | ||
49 | { | ||
50 | file = args[0]; | ||
51 | id = SelectedObject; | ||
52 | } | ||
53 | |||
54 | lock (Client.SimPrims) | ||
55 | { | ||
56 | if (Client.SimPrims.ContainsKey(Client.Network.CurrentSim)) | ||
57 | { | ||
58 | foreach (Primitive prim in Client.SimPrims[Client.Network.CurrentSim].Values) | ||
59 | { | ||
60 | if (prim.ID == id) | ||
61 | { | ||
62 | if (prim.ParentID != 0) | ||
63 | localid = prim.ParentID; | ||
64 | else | ||
65 | localid = prim.LocalID; | ||
66 | |||
67 | break; | ||
68 | } | ||
69 | } | ||
70 | } | ||
71 | } | ||
72 | |||
73 | if (localid != 0) | ||
74 | { | ||
75 | // Check for export permission first | ||
76 | Client.Objects.RequestObjectPropertiesFamily(Client.Network.CurrentSim, id); | ||
77 | GotPermissionsEvent.WaitOne(8000, false); | ||
78 | |||
79 | if (!GotPermissions) | ||
80 | { | ||
81 | return "Couldn't fetch permissions for the requested object, try again"; | ||
82 | } | ||
83 | else | ||
84 | { | ||
85 | GotPermissions = false; | ||
86 | if (Properties.OwnerID != Client.Network.AgentID && | ||
87 | Properties.OwnerID != Client.MasterKey && | ||
88 | Client.Network.AgentID != Client.Self.ID) | ||
89 | { | ||
90 | return "That object is owned by " + Properties.OwnerID + ", we don't have permission " + | ||
91 | "to export it"; | ||
92 | } | ||
93 | } | ||
94 | |||
95 | try | ||
96 | { | ||
97 | XmlWriterSettings settings = new XmlWriterSettings(); | ||
98 | settings.Indent = true; | ||
99 | XmlWriter writer = XmlWriter.Create(file, settings); | ||
100 | |||
101 | try | ||
102 | { | ||
103 | List<Primitive> prims = new List<Primitive>(); | ||
104 | |||
105 | lock (Client.SimPrims) | ||
106 | { | ||
107 | if (Client.SimPrims.ContainsKey(Client.Network.CurrentSim)) | ||
108 | { | ||
109 | foreach (Primitive prim in Client.SimPrims[Client.Network.CurrentSim].Values) | ||
110 | { | ||
111 | if (prim.LocalID == localid || prim.ParentID == localid) | ||
112 | { | ||
113 | prims.Add(prim); | ||
114 | count++; | ||
115 | } | ||
116 | } | ||
117 | } | ||
118 | } | ||
119 | |||
120 | bool complete = RequestObjectProperties(prims, 250); | ||
121 | |||
122 | //Serialize it! | ||
123 | Helpers.PrimListToXml(prims, writer); | ||
124 | |||
125 | if (!complete) { | ||
126 | Console.WriteLine("Warning: Unable to retrieve full properties for:"); | ||
127 | foreach (LLUUID uuid in PrimsWaiting.Keys) | ||
128 | Console.WriteLine(uuid); | ||
129 | } | ||
130 | } | ||
131 | finally | ||
132 | { | ||
133 | writer.Close(); | ||
134 | } | ||
135 | } | ||
136 | catch (Exception e) | ||
137 | { | ||
138 | string ret = "Failed to write to " + file + ":" + e.ToString(); | ||
139 | if (ret.Length > 1000) | ||
140 | { | ||
141 | ret = ret.Remove(1000); | ||
142 | } | ||
143 | return ret; | ||
144 | } | ||
145 | return "Exported " + count + " prims to " + file; | ||
146 | } | ||
147 | else | ||
148 | { | ||
149 | return "Couldn't find UUID " + id.ToString() + " in the " + | ||
150 | Client.SimPrims[Client.Network.CurrentSim].Count + | ||
151 | "objects currently indexed in the current simulator"; | ||
152 | } | ||
153 | } | ||
154 | |||
155 | private bool RequestObjectProperties(List<Primitive> objects, int msPerRequest) | ||
156 | { | ||
157 | // Create an array of the local IDs of all the prims we are requesting properties for | ||
158 | uint[] localids = new uint[objects.Count]; | ||
159 | |||
160 | lock (PrimsWaiting) | ||
161 | { | ||
162 | PrimsWaiting.Clear(); | ||
163 | |||
164 | for (int i = 0; i < objects.Count; ++i) | ||
165 | { | ||
166 | localids[i] = objects[i].LocalID; | ||
167 | PrimsWaiting.Add(objects[i].ID, objects[i]); | ||
168 | } | ||
169 | } | ||
170 | |||
171 | Client.Objects.SelectObjects(Client.Network.CurrentSim, localids); | ||
172 | |||
173 | return AllPropertiesReceived.WaitOne(2000 + msPerRequest * objects.Count, false); | ||
174 | } | ||
175 | |||
176 | void Avatars_OnPointAt(LLUUID sourceID, LLUUID targetID, LLVector3d targetPos, | ||
177 | MainAvatar.PointAtType pointType, float duration, LLUUID id) | ||
178 | { | ||
179 | if (sourceID == Client.MasterKey) | ||
180 | { | ||
181 | //Client.DebugLog("Master is now selecting " + targetID.ToStringHyphenated()); | ||
182 | SelectedObject = targetID; | ||
183 | } | ||
184 | } | ||
185 | |||
186 | void Objects_OnObjectPropertiesFamily(Simulator simulator, LLObject.ObjectPropertiesFamily properties) | ||
187 | { | ||
188 | Properties = properties; | ||
189 | GotPermissions = true; | ||
190 | GotPermissionsEvent.Set(); | ||
191 | } | ||
192 | |||
193 | void Objects_OnObjectProperties(Simulator simulator, LLObject.ObjectProperties properties) | ||
194 | { | ||
195 | lock (PrimsWaiting) | ||
196 | { | ||
197 | Primitive prim; | ||
198 | if (PrimsWaiting.TryGetValue(properties.ObjectID, out prim)) | ||
199 | { | ||
200 | prim.Properties = properties; | ||
201 | } | ||
202 | PrimsWaiting.Remove(properties.ObjectID); | ||
203 | |||
204 | if (PrimsWaiting.Count == 0) | ||
205 | AllPropertiesReceived.Set(); | ||
206 | } | ||
207 | } | ||
208 | } | ||
209 | } | ||
diff --git a/tools/mass test client/Commands/Prims/ExportParticlesCommand.cs b/tools/mass test client/Commands/Prims/ExportParticlesCommand.cs deleted file mode 100644 index 8fced68..0000000 --- a/tools/mass test client/Commands/Prims/ExportParticlesCommand.cs +++ /dev/null | |||
@@ -1,119 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.IO; | ||
4 | using System.Text; | ||
5 | using libsecondlife; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class ExportParticlesCommand : Command | ||
10 | { | ||
11 | public ExportParticlesCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "exportparticles"; | ||
14 | Description = "Reverse engineers a prim with a particle system to an LSL script. Usage: exportscript [prim-uuid]"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | if (args.Length != 1) | ||
20 | return "Usage: exportparticles [prim-uuid]"; | ||
21 | |||
22 | LLUUID id; | ||
23 | if (!LLUUID.TryParse(args[0], out id)) | ||
24 | return "Usage: exportparticles [prim-uuid]"; | ||
25 | |||
26 | lock (Client.SimPrims) | ||
27 | { | ||
28 | if (Client.SimPrims.ContainsKey(Client.Network.CurrentSim)) | ||
29 | { | ||
30 | foreach (Primitive prim in Client.SimPrims[Client.Network.CurrentSim].Values) | ||
31 | { | ||
32 | if (prim.ID == id) | ||
33 | { | ||
34 | if (prim.ParticleSys.CRC != 0) | ||
35 | { | ||
36 | StringBuilder lsl = new StringBuilder(); | ||
37 | |||
38 | lsl.Append("default" + Environment.NewLine); | ||
39 | lsl.Append("{" + Environment.NewLine); | ||
40 | lsl.Append(" state_entry()" + Environment.NewLine); | ||
41 | lsl.Append(" {" + Environment.NewLine); | ||
42 | lsl.Append(" llParticleSystem([" + Environment.NewLine); | ||
43 | |||
44 | lsl.Append(" PSYS_PART_FLAGS, 0"); | ||
45 | |||
46 | if ((prim.ParticleSys.PartDataFlags & Primitive.ParticleSystem.ParticleDataFlags.InterpColor) != 0) | ||
47 | lsl.Append(" | PSYS_PART_INTERP_COLOR_MASK"); | ||
48 | if ((prim.ParticleSys.PartDataFlags & Primitive.ParticleSystem.ParticleDataFlags.InterpScale) != 0) | ||
49 | lsl.Append(" | PSYS_PART_INTERP_SCALE_MASK"); | ||
50 | if ((prim.ParticleSys.PartDataFlags & Primitive.ParticleSystem.ParticleDataFlags.Bounce) != 0) | ||
51 | lsl.Append(" | PSYS_PART_BOUNCE_MASK"); | ||
52 | if ((prim.ParticleSys.PartDataFlags & Primitive.ParticleSystem.ParticleDataFlags.Wind) != 0) | ||
53 | lsl.Append(" | PSYS_PART_WIND_MASK"); | ||
54 | if ((prim.ParticleSys.PartDataFlags & Primitive.ParticleSystem.ParticleDataFlags.FollowSrc) != 0) | ||
55 | lsl.Append(" | PSYS_PART_FOLLOW_SRC_MASK"); | ||
56 | if ((prim.ParticleSys.PartDataFlags & Primitive.ParticleSystem.ParticleDataFlags.FollowVelocity) != 0) | ||
57 | lsl.Append(" | PSYS_PART_FOLLOW_VELOCITY_MASK"); | ||
58 | if ((prim.ParticleSys.PartDataFlags & Primitive.ParticleSystem.ParticleDataFlags.TargetPos) != 0) | ||
59 | lsl.Append(" | PSYS_PART_TARGET_POS_MASK"); | ||
60 | if ((prim.ParticleSys.PartDataFlags & Primitive.ParticleSystem.ParticleDataFlags.TargetLinear) != 0) | ||
61 | lsl.Append(" | PSYS_PART_TARGET_LINEAR_MASK"); | ||
62 | if ((prim.ParticleSys.PartDataFlags & Primitive.ParticleSystem.ParticleDataFlags.Emissive) != 0) | ||
63 | lsl.Append(" | PSYS_PART_EMISSIVE_MASK"); | ||
64 | |||
65 | lsl.Append(","); lsl.Append(Environment.NewLine); | ||
66 | lsl.Append(" PSYS_SRC_PATTERN, 0"); | ||
67 | |||
68 | if ((prim.ParticleSys.Pattern & Primitive.ParticleSystem.SourcePattern.Drop) != 0) | ||
69 | lsl.Append(" | PSYS_SRC_PATTERN_DROP"); | ||
70 | if ((prim.ParticleSys.Pattern & Primitive.ParticleSystem.SourcePattern.Explode) != 0) | ||
71 | lsl.Append(" | PSYS_SRC_PATTERN_EXPLODE"); | ||
72 | if ((prim.ParticleSys.Pattern & Primitive.ParticleSystem.SourcePattern.Angle) != 0) | ||
73 | lsl.Append(" | PSYS_SRC_PATTERN_ANGLE"); | ||
74 | if ((prim.ParticleSys.Pattern & Primitive.ParticleSystem.SourcePattern.AngleCone) != 0) | ||
75 | lsl.Append(" | PSYS_SRC_PATTERN_ANGLE_CONE"); | ||
76 | if ((prim.ParticleSys.Pattern & Primitive.ParticleSystem.SourcePattern.AngleConeEmpty) != 0) | ||
77 | lsl.Append(" | PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY"); | ||
78 | |||
79 | lsl.Append("," + Environment.NewLine); | ||
80 | |||
81 | lsl.Append(" PSYS_PART_START_ALPHA, " + String.Format("{0:0.00000}", prim.ParticleSys.PartStartColor.A) + "," + Environment.NewLine); | ||
82 | lsl.Append(" PSYS_PART_END_ALPHA, " + String.Format("{0:0.00000}", prim.ParticleSys.PartEndColor.A) + "," + Environment.NewLine); | ||
83 | lsl.Append(" PSYS_PART_START_COLOR, " + prim.ParticleSys.PartStartColor.ToStringRGB() + "," + Environment.NewLine); | ||
84 | lsl.Append(" PSYS_PART_END_COLOR, " + prim.ParticleSys.PartEndColor.ToStringRGB() + "," + Environment.NewLine); | ||
85 | lsl.Append(" PSYS_PART_START_SCALE, <" + String.Format("{0:0.00000}", prim.ParticleSys.PartStartScaleX) + ", " + String.Format("{0:0.00000}", prim.ParticleSys.PartStartScaleY) + ", 0>, " + Environment.NewLine); | ||
86 | lsl.Append(" PSYS_PART_END_SCALE, <" + String.Format("{0:0.00000}", prim.ParticleSys.PartEndScaleX) + ", " + String.Format("{0:0.00000}", prim.ParticleSys.PartEndScaleY) + ", 0>, " + Environment.NewLine); | ||
87 | lsl.Append(" PSYS_PART_MAX_AGE, " + String.Format("{0:0.00000}", prim.ParticleSys.PartMaxAge) + "," + Environment.NewLine); | ||
88 | lsl.Append(" PSYS_SRC_MAX_AGE, " + String.Format("{0:0.00000}", prim.ParticleSys.MaxAge) + "," + Environment.NewLine); | ||
89 | lsl.Append(" PSYS_SRC_ACCEL, " + prim.ParticleSys.PartAcceleration.ToString() + "," + Environment.NewLine); | ||
90 | lsl.Append(" PSYS_SRC_BURST_PART_COUNT, " + String.Format("{0:0}", prim.ParticleSys.BurstPartCount) + "," + Environment.NewLine); | ||
91 | lsl.Append(" PSYS_SRC_BURST_RADIUS, " + String.Format("{0:0.00000}", prim.ParticleSys.BurstRadius) + "," + Environment.NewLine); | ||
92 | lsl.Append(" PSYS_SRC_BURST_RATE, " + String.Format("{0:0.00000}", prim.ParticleSys.BurstRate) + "," + Environment.NewLine); | ||
93 | lsl.Append(" PSYS_SRC_BURST_SPEED_MIN, " + String.Format("{0:0.00000}", prim.ParticleSys.BurstSpeedMin) + "," + Environment.NewLine); | ||
94 | lsl.Append(" PSYS_SRC_BURST_SPEED_MAX, " + String.Format("{0:0.00000}", prim.ParticleSys.BurstSpeedMax) + "," + Environment.NewLine); | ||
95 | lsl.Append(" PSYS_SRC_INNERANGLE, " + String.Format("{0:0.00000}", prim.ParticleSys.InnerAngle) + "," + Environment.NewLine); | ||
96 | lsl.Append(" PSYS_SRC_OUTERANGLE, " + String.Format("{0:0.00000}", prim.ParticleSys.OuterAngle) + "," + Environment.NewLine); | ||
97 | lsl.Append(" PSYS_SRC_OMEGA, " + prim.ParticleSys.AngularVelocity.ToString() + "," + Environment.NewLine); | ||
98 | lsl.Append(" PSYS_SRC_TEXTURE, (key)\"" + prim.ParticleSys.Texture.ToStringHyphenated() + "\"," + Environment.NewLine); | ||
99 | lsl.Append(" PSYS_SRC_TARGET_KEY, (key)\"" + prim.ParticleSys.Target.ToStringHyphenated() + "\"" + Environment.NewLine); | ||
100 | |||
101 | lsl.Append(" ]);" + Environment.NewLine); | ||
102 | lsl.Append(" }" + Environment.NewLine); | ||
103 | lsl.Append("}" + Environment.NewLine); | ||
104 | |||
105 | return lsl.ToString(); | ||
106 | } | ||
107 | else | ||
108 | { | ||
109 | return "Prim " + prim.LocalID + " does not have a particle system"; | ||
110 | } | ||
111 | } | ||
112 | } | ||
113 | } | ||
114 | } | ||
115 | |||
116 | return "Couldn't find prim " + id.ToStringHyphenated(); | ||
117 | } | ||
118 | } | ||
119 | } | ||
diff --git a/tools/mass test client/Commands/Prims/ImportCommand.cs b/tools/mass test client/Commands/Prims/ImportCommand.cs deleted file mode 100644 index 5f8723a..0000000 --- a/tools/mass test client/Commands/Prims/ImportCommand.cs +++ /dev/null | |||
@@ -1,246 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Xml; | ||
4 | using System.Xml.Serialization; | ||
5 | using System.Threading; | ||
6 | using System.IO; | ||
7 | using libsecondlife; | ||
8 | |||
9 | namespace libsecondlife.TestClient | ||
10 | { | ||
11 | enum ImporterState | ||
12 | { | ||
13 | RezzingParent, | ||
14 | RezzingChildren, | ||
15 | Linking, | ||
16 | Idle | ||
17 | } | ||
18 | |||
19 | public class Linkset | ||
20 | { | ||
21 | public Primitive RootPrim; | ||
22 | public List<Primitive> Children = new List<Primitive>(); | ||
23 | |||
24 | public Linkset() | ||
25 | { | ||
26 | RootPrim = new Primitive(); | ||
27 | } | ||
28 | |||
29 | public Linkset(Primitive rootPrim) | ||
30 | { | ||
31 | RootPrim = rootPrim; | ||
32 | } | ||
33 | } | ||
34 | |||
35 | public class ImportCommand : Command | ||
36 | { | ||
37 | Primitive currentPrim; | ||
38 | LLVector3 currentPosition; | ||
39 | SecondLife currentClient; | ||
40 | AutoResetEvent primDone; | ||
41 | List<Primitive> primsCreated; | ||
42 | List<uint> linkQueue; | ||
43 | uint rootLocalID = 0; | ||
44 | bool registeredCreateEvent = false; | ||
45 | |||
46 | ImporterState state = ImporterState.Idle; | ||
47 | |||
48 | public ImportCommand(TestClient testClient) | ||
49 | { | ||
50 | Name = "import"; | ||
51 | Description = "Import prims from an exported xml file. Usage: import inputfile.xml"; | ||
52 | primDone = new AutoResetEvent(false); | ||
53 | registeredCreateEvent = false; | ||
54 | } | ||
55 | |||
56 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
57 | { | ||
58 | if (args.Length != 1) | ||
59 | return "Usage: import inputfile.xml"; | ||
60 | |||
61 | string filename = args[0]; | ||
62 | Dictionary<uint, Primitive> prims; | ||
63 | |||
64 | currentClient = Client; | ||
65 | |||
66 | try | ||
67 | { | ||
68 | XmlReader reader = XmlReader.Create(filename); | ||
69 | List<Primitive> listprims = Helpers.PrimListFromXml(reader); | ||
70 | reader.Close(); | ||
71 | |||
72 | // Create a dictionary indexed by the old local ID of the prims | ||
73 | prims = new Dictionary<uint, Primitive>(); | ||
74 | foreach (Primitive prim in listprims) | ||
75 | { | ||
76 | prims.Add(prim.LocalID, prim); | ||
77 | } | ||
78 | } | ||
79 | catch (Exception) | ||
80 | { | ||
81 | return "Failed to import the object XML file, maybe it doesn't exist or is in the wrong format?"; | ||
82 | } | ||
83 | |||
84 | if (!registeredCreateEvent) | ||
85 | { | ||
86 | Client.OnPrimCreated += new TestClient.PrimCreatedCallback(TestClient_OnPrimCreated); | ||
87 | registeredCreateEvent = true; | ||
88 | } | ||
89 | |||
90 | // Build an organized structure from the imported prims | ||
91 | Dictionary<uint, Linkset> linksets = new Dictionary<uint, Linkset>(); | ||
92 | foreach (Primitive prim in prims.Values) | ||
93 | { | ||
94 | if (prim.ParentID == 0) | ||
95 | { | ||
96 | if (linksets.ContainsKey(prim.LocalID)) | ||
97 | linksets[prim.LocalID].RootPrim = prim; | ||
98 | else | ||
99 | linksets[prim.LocalID] = new Linkset(prim); | ||
100 | } | ||
101 | else | ||
102 | { | ||
103 | if (!linksets.ContainsKey(prim.ParentID)) | ||
104 | linksets[prim.ParentID] = new Linkset(); | ||
105 | |||
106 | linksets[prim.ParentID].Children.Add(prim); | ||
107 | } | ||
108 | } | ||
109 | |||
110 | primsCreated = new List<Primitive>(); | ||
111 | Console.WriteLine("Importing " + linksets.Count + " structures."); | ||
112 | |||
113 | foreach (Linkset linkset in linksets.Values) | ||
114 | { | ||
115 | if (linkset.RootPrim.LocalID != 0) | ||
116 | { | ||
117 | state = ImporterState.RezzingParent; | ||
118 | currentPrim = linkset.RootPrim; | ||
119 | // HACK: Offset the root prim position so it's not lying on top of the original | ||
120 | // We need a more elaborate solution for importing with relative or absolute offsets | ||
121 | linkset.RootPrim.Position = Client.Self.Position; | ||
122 | linkset.RootPrim.Position.Z += 3.0f; | ||
123 | currentPosition = linkset.RootPrim.Position; | ||
124 | // A better solution would move the bot to the desired position. | ||
125 | // or to check if we are within a certain distance of the desired position. | ||
126 | |||
127 | // Rez the root prim with no rotation | ||
128 | LLQuaternion rootRotation = linkset.RootPrim.Rotation; | ||
129 | linkset.RootPrim.Rotation = LLQuaternion.Identity; | ||
130 | |||
131 | Client.Objects.AddPrim(Client.Network.CurrentSim, linkset.RootPrim.Data, LLUUID.Zero, | ||
132 | linkset.RootPrim.Position, linkset.RootPrim.Scale, linkset.RootPrim.Rotation); | ||
133 | |||
134 | if (!primDone.WaitOne(10000, false)) | ||
135 | return "Rez failed, timed out while creating the root prim."; | ||
136 | |||
137 | state = ImporterState.RezzingChildren; | ||
138 | |||
139 | // Rez the child prims | ||
140 | foreach (Primitive prim in linkset.Children) | ||
141 | { | ||
142 | currentPrim = prim; | ||
143 | currentPosition = prim.Position + linkset.RootPrim.Position; | ||
144 | |||
145 | Client.Objects.AddPrim(Client.Network.CurrentSim, prim.Data, LLUUID.Zero, currentPosition, | ||
146 | prim.Scale, prim.Rotation); | ||
147 | |||
148 | if (!primDone.WaitOne(10000, false)) | ||
149 | return "Rez failed, timed out while creating child prim."; | ||
150 | } | ||
151 | |||
152 | if (linkset.Children.Count != 0) | ||
153 | { | ||
154 | // Create a list of the local IDs of the newly created prims | ||
155 | List<uint> primIDs = new List<uint>(primsCreated.Count); | ||
156 | primIDs.Add(rootLocalID); // Root prim is first in list. | ||
157 | foreach (Primitive prim in primsCreated) | ||
158 | { | ||
159 | if (prim.LocalID != rootLocalID) | ||
160 | primIDs.Add(prim.LocalID); | ||
161 | } | ||
162 | linkQueue = new List<uint>(primIDs.Count); | ||
163 | linkQueue.AddRange(primIDs); | ||
164 | |||
165 | // Link and set the permissions + rotation | ||
166 | state = ImporterState.Linking; | ||
167 | Client.Objects.LinkPrims(Client.Network.CurrentSim, linkQueue); | ||
168 | if (primDone.WaitOne(100000 * linkset.Children.Count, false)) | ||
169 | { | ||
170 | Client.Objects.SetPermissions(Client.Network.CurrentSim, primIDs, | ||
171 | Helpers.PermissionWho.Everyone | Helpers.PermissionWho.Group | Helpers.PermissionWho.NextOwner, | ||
172 | Helpers.PermissionType.Copy | Helpers.PermissionType.Modify | Helpers.PermissionType.Move | | ||
173 | Helpers.PermissionType.Transfer, true); | ||
174 | |||
175 | Client.Objects.SetRotation(Client.Network.CurrentSim, rootLocalID, rootRotation); | ||
176 | } | ||
177 | else | ||
178 | { | ||
179 | Console.WriteLine("Warning: Failed to link {0} prims", linkQueue.Count); | ||
180 | } | ||
181 | } | ||
182 | else | ||
183 | { | ||
184 | Client.Objects.SetRotation(Client.Network.CurrentSim, rootLocalID, rootRotation); | ||
185 | } | ||
186 | state = ImporterState.Idle; | ||
187 | } | ||
188 | else | ||
189 | { | ||
190 | // Skip linksets with a missing root prim | ||
191 | Console.WriteLine("WARNING: Skipping a linkset with a missing root prim"); | ||
192 | } | ||
193 | |||
194 | // Reset everything for the next linkset | ||
195 | primsCreated.Clear(); | ||
196 | } | ||
197 | |||
198 | return "Import complete."; | ||
199 | } | ||
200 | |||
201 | void TestClient_OnPrimCreated(Simulator simulator, Primitive prim) | ||
202 | { | ||
203 | if ((prim.Flags & LLObject.ObjectFlags.CreateSelected) == 0) | ||
204 | return; // We received an update for an object we didn't create | ||
205 | |||
206 | switch (state) | ||
207 | { | ||
208 | case ImporterState.RezzingParent: | ||
209 | rootLocalID = prim.LocalID; | ||
210 | goto case ImporterState.RezzingChildren; | ||
211 | case ImporterState.RezzingChildren: | ||
212 | if (!primsCreated.Contains(prim)) | ||
213 | { | ||
214 | Console.WriteLine("Setting properties for " + prim.LocalID); | ||
215 | // TODO: Is there a way to set all of this at once, and update more ObjectProperties stuff? | ||
216 | currentClient.Objects.SetPosition(simulator, prim.LocalID, currentPosition); | ||
217 | currentClient.Objects.SetTextures(simulator, prim.LocalID, currentPrim.Textures); | ||
218 | currentClient.Objects.SetLight(simulator, prim.LocalID, currentPrim.Light); | ||
219 | currentClient.Objects.SetFlexible(simulator, prim.LocalID, currentPrim.Flexible); | ||
220 | |||
221 | if (!String.IsNullOrEmpty(currentPrim.Properties.Name)) | ||
222 | currentClient.Objects.SetName(simulator, prim.LocalID, currentPrim.Properties.Name); | ||
223 | if (!String.IsNullOrEmpty(currentPrim.Properties.Description)) | ||
224 | currentClient.Objects.SetDescription(simulator, prim.LocalID, | ||
225 | currentPrim.Properties.Description); | ||
226 | |||
227 | primsCreated.Add(prim); | ||
228 | primDone.Set(); | ||
229 | } | ||
230 | break; | ||
231 | case ImporterState.Linking: | ||
232 | lock (linkQueue) | ||
233 | { | ||
234 | int index = linkQueue.IndexOf(prim.LocalID); | ||
235 | if (index != -1) | ||
236 | { | ||
237 | linkQueue.RemoveAt(index); | ||
238 | if (linkQueue.Count == 0) | ||
239 | primDone.Set(); | ||
240 | } | ||
241 | } | ||
242 | break; | ||
243 | } | ||
244 | } | ||
245 | } | ||
246 | } | ||
diff --git a/tools/mass test client/Commands/Prims/PrimCountCommand.cs b/tools/mass test client/Commands/Prims/PrimCountCommand.cs deleted file mode 100644 index 5d07e8b..0000000 --- a/tools/mass test client/Commands/Prims/PrimCountCommand.cs +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class PrimCountCommand: Command | ||
10 | { | ||
11 | public PrimCountCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "primcount"; | ||
14 | Description = "Shows the number of prims that have been received."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | int count = 0; | ||
20 | |||
21 | lock (Client.SimPrims) | ||
22 | { | ||
23 | foreach (Dictionary<uint, Primitive> prims in Client.SimPrims.Values) | ||
24 | { | ||
25 | count += prims.Count; | ||
26 | } | ||
27 | } | ||
28 | |||
29 | return count.ToString(); | ||
30 | } | ||
31 | } | ||
32 | } | ||
diff --git a/tools/mass test client/Commands/Stats/DilationCommand.cs b/tools/mass test client/Commands/Stats/DilationCommand.cs deleted file mode 100644 index e6e0a4d..0000000 --- a/tools/mass test client/Commands/Stats/DilationCommand.cs +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class DilationCommand : Command | ||
10 | { | ||
11 | public DilationCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "dilation"; | ||
14 | Description = "Shows time dilation for current sim."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | return "Dilation is " + Client.Network.CurrentSim.Dilation.ToString(); | ||
20 | } | ||
21 | } | ||
22 | } \ No newline at end of file | ||
diff --git a/tools/mass test client/Commands/Stats/RegionInfoCommand.cs b/tools/mass test client/Commands/Stats/RegionInfoCommand.cs deleted file mode 100644 index 750175f..0000000 --- a/tools/mass test client/Commands/Stats/RegionInfoCommand.cs +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Text; | ||
3 | using libsecondlife; | ||
4 | |||
5 | namespace libsecondlife.TestClient | ||
6 | { | ||
7 | public class RegionInfoCommand : Command | ||
8 | { | ||
9 | public RegionInfoCommand(TestClient testClient) | ||
10 | { | ||
11 | Name = "regioninfo"; | ||
12 | Description = "Prints out info about all the current region"; | ||
13 | } | ||
14 | |||
15 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
16 | { | ||
17 | StringBuilder output = new StringBuilder(); | ||
18 | output.AppendLine(Client.Network.CurrentSim.ToString()); | ||
19 | output.Append("Access: "); | ||
20 | output.AppendLine(Client.Network.CurrentSim.Access.ToString()); | ||
21 | output.Append("Flags: "); | ||
22 | output.AppendLine(Client.Network.CurrentSim.Flags.ToString()); | ||
23 | output.Append("TerrainBase0: "); | ||
24 | output.AppendLine(Client.Network.CurrentSim.TerrainBase0.ToStringHyphenated()); | ||
25 | output.Append("TerrainBase1: "); | ||
26 | output.AppendLine(Client.Network.CurrentSim.TerrainBase1.ToStringHyphenated()); | ||
27 | output.Append("TerrainBase2: "); | ||
28 | output.AppendLine(Client.Network.CurrentSim.TerrainBase2.ToStringHyphenated()); | ||
29 | output.Append("TerrainBase3: "); | ||
30 | output.AppendLine(Client.Network.CurrentSim.TerrainBase3.ToStringHyphenated()); | ||
31 | output.Append("TerrainDetail0: "); | ||
32 | output.AppendLine(Client.Network.CurrentSim.TerrainDetail0.ToStringHyphenated()); | ||
33 | output.Append("TerrainDetail1: "); | ||
34 | output.AppendLine(Client.Network.CurrentSim.TerrainDetail1.ToStringHyphenated()); | ||
35 | output.Append("TerrainDetail2: "); | ||
36 | output.AppendLine(Client.Network.CurrentSim.TerrainDetail2.ToStringHyphenated()); | ||
37 | output.Append("TerrainDetail3: "); | ||
38 | output.AppendLine(Client.Network.CurrentSim.TerrainDetail3.ToStringHyphenated()); | ||
39 | output.Append("Water Height: "); | ||
40 | output.AppendLine(Client.Network.CurrentSim.WaterHeight.ToString()); | ||
41 | |||
42 | return output.ToString(); | ||
43 | } | ||
44 | } | ||
45 | } | ||
diff --git a/tools/mass test client/Commands/Stats/StatsCommand.cs b/tools/mass test client/Commands/Stats/StatsCommand.cs deleted file mode 100644 index cf3e4e9..0000000 --- a/tools/mass test client/Commands/Stats/StatsCommand.cs +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class StatsCommand : Command | ||
10 | { | ||
11 | public StatsCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "stats"; | ||
14 | Description = "Provide connection figures and statistics"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | StringBuilder output = new StringBuilder(); | ||
20 | |||
21 | lock (Client.Network.Simulators) | ||
22 | { | ||
23 | for (int i = 0; i < Client.Network.Simulators.Count; i++) | ||
24 | { | ||
25 | Simulator sim = Client.Network.Simulators[i]; | ||
26 | |||
27 | output.AppendLine(String.Format( | ||
28 | "[{0}] Dilation: {1} InBPS: {2} OutBPS: {3} ResentOut: {4} ResentIn: {5}", | ||
29 | sim.ToString(), sim.Dilation, sim.IncomingBPS, sim.OutgoingBPS, sim.ResentPackets, | ||
30 | sim.ReceivedResends)); | ||
31 | } | ||
32 | } | ||
33 | output.Append("Packets in the queue: " + Client.Network.InboxCount); | ||
34 | output.AppendLine(String.Format("FPS : {0} PhysicsFPS : {1} AgentUpdates : {2} Objects : {3} Scripted Objects : {4}", | ||
35 | Client.Network.CurrentSim.FPS, Client.Network.CurrentSim.PhysicsFPS, Client.Network.CurrentSim.AgentUpdates, Client.Network.CurrentSim.Objects, Client.Network.CurrentSim.ScriptedObjects)); | ||
36 | output.AppendLine(String.Format("Frame Time : {0} Net Time : {1} Image Time : {2} Physics Time : {3} Script Time : {4} Other Time : {5}", | ||
37 | Client.Network.CurrentSim.FrameTime, Client.Network.CurrentSim.NetTime, Client.Network.CurrentSim.ImageTime, Client.Network.CurrentSim.PhysicsTime, Client.Network.CurrentSim.ScriptTime, Client.Network.CurrentSim.OtherTime)); | ||
38 | output.AppendLine(String.Format("Agents : {0} Child Agents : {1} Active Scripts : {2}", | ||
39 | Client.Network.CurrentSim.Agents, Client.Network.CurrentSim.ChildAgents, Client.Network.CurrentSim.ActiveScripts)); | ||
40 | |||
41 | return output.ToString(); | ||
42 | } | ||
43 | } | ||
44 | } | ||
diff --git a/tools/mass test client/Commands/Stats/UptimeCommand.cs b/tools/mass test client/Commands/Stats/UptimeCommand.cs deleted file mode 100644 index ac94644..0000000 --- a/tools/mass test client/Commands/Stats/UptimeCommand.cs +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class UptimeCommand : Command | ||
10 | { | ||
11 | public DateTime Created = DateTime.Now; | ||
12 | |||
13 | public UptimeCommand(TestClient testClient) | ||
14 | { | ||
15 | Name = "uptime"; | ||
16 | Description = "Shows the login name, login time and length of time logged on."; | ||
17 | } | ||
18 | |||
19 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
20 | { | ||
21 | string name = Client.ToString(); | ||
22 | return "I am " + name + ", Up Since: " + Created + " (" + (DateTime.Now - Created) + ")"; | ||
23 | } | ||
24 | } | ||
25 | } \ No newline at end of file | ||
diff --git a/tools/mass test client/Commands/System/DebugCommand.cs b/tools/mass test client/Commands/System/DebugCommand.cs deleted file mode 100644 index 07e2a6c..0000000 --- a/tools/mass test client/Commands/System/DebugCommand.cs +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using libsecondlife; | ||
4 | using libsecondlife.Packets; | ||
5 | |||
6 | namespace libsecondlife.TestClient | ||
7 | { | ||
8 | public class DebugCommand : Command | ||
9 | { | ||
10 | public DebugCommand(TestClient testClient) | ||
11 | { | ||
12 | Name = "debug"; | ||
13 | Description = "Turn debug messages on or off. Usage: debug [on/off]"; | ||
14 | } | ||
15 | |||
16 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
17 | { | ||
18 | if (args.Length != 1) | ||
19 | return "Usage: debug [on/off]"; | ||
20 | |||
21 | if (args[0].ToLower() == "on") | ||
22 | { | ||
23 | Client.Settings.DEBUG = true; | ||
24 | return "Debug logging is on"; | ||
25 | } | ||
26 | else if (args[0].ToLower() == "off") | ||
27 | { | ||
28 | Client.Settings.DEBUG = false; | ||
29 | return "Debug logging is off"; | ||
30 | } | ||
31 | else | ||
32 | { | ||
33 | return "Usage: debug [on/off]"; | ||
34 | } | ||
35 | } | ||
36 | } | ||
37 | } | ||
diff --git a/tools/mass test client/Commands/System/HelpCommand.cs b/tools/mass test client/Commands/System/HelpCommand.cs deleted file mode 100644 index a53b3c0..0000000 --- a/tools/mass test client/Commands/System/HelpCommand.cs +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class HelpCommand: Command | ||
10 | { | ||
11 | public HelpCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "help"; | ||
14 | Description = "Lists available commands."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | StringBuilder result = new StringBuilder(); | ||
20 | result.AppendFormat("\n\nHELP\nClient accept teleport lures from master and group members.\n"); | ||
21 | foreach (Command c in Client.Commands.Values) | ||
22 | { | ||
23 | result.AppendFormat(" * {0} - {1}\n", c.Name, c.Description); | ||
24 | } | ||
25 | |||
26 | return result.ToString(); | ||
27 | } | ||
28 | } | ||
29 | } | ||
diff --git a/tools/mass test client/Commands/System/LoadCommand.cs b/tools/mass test client/Commands/System/LoadCommand.cs deleted file mode 100644 index 24d2219..0000000 --- a/tools/mass test client/Commands/System/LoadCommand.cs +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using System.Reflection; | ||
5 | using libsecondlife; | ||
6 | using libsecondlife.Packets; | ||
7 | |||
8 | namespace libsecondlife.TestClient | ||
9 | { | ||
10 | public class LoadCommand: Command | ||
11 | { | ||
12 | public LoadCommand(TestClient testClient) | ||
13 | { | ||
14 | Name = "load"; | ||
15 | Description = "Loads commands from a dll. (Usage: load AssemblyNameWithoutExtension)"; | ||
16 | } | ||
17 | |||
18 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
19 | { | ||
20 | if (args.Length < 1) | ||
21 | return "Usage: load AssemblyNameWithoutExtension"; | ||
22 | |||
23 | string filename = AppDomain.CurrentDomain.BaseDirectory + args[0] + ".dll"; | ||
24 | Client.RegisterAllCommands(Assembly.LoadFile(filename)); | ||
25 | return "Assembly " + filename + " loaded."; | ||
26 | } | ||
27 | } | ||
28 | } | ||
diff --git a/tools/mass test client/Commands/System/LoginCommand.cs b/tools/mass test client/Commands/System/LoginCommand.cs deleted file mode 100644 index 6cfc155..0000000 --- a/tools/mass test client/Commands/System/LoginCommand.cs +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Reflection; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class LoginCommand : Command | ||
10 | { | ||
11 | public LoginCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "login"; | ||
14 | Description = "Logs in another avatar"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | if (args.Length != 3 && args.Length != 4) | ||
20 | return "usage: login firstname lastname password [simname]"; | ||
21 | |||
22 | SecondLife newClient = Client.ClientManager.Login(args); | ||
23 | |||
24 | if (newClient.Network.Connected) | ||
25 | { | ||
26 | return "Logged in " + newClient.ToString(); | ||
27 | } | ||
28 | else | ||
29 | { | ||
30 | return "Failed to login: " + newClient.Network.LoginMessage; | ||
31 | } | ||
32 | } | ||
33 | } | ||
34 | } | ||
diff --git a/tools/mass test client/Commands/System/LogoutCommand.cs b/tools/mass test client/Commands/System/LogoutCommand.cs deleted file mode 100644 index 8241626..0000000 --- a/tools/mass test client/Commands/System/LogoutCommand.cs +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class LogoutCommand : Command | ||
10 | { | ||
11 | public LogoutCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "logout"; | ||
14 | Description = "Log this avatar out"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | string name = Client.ToString(); | ||
20 | Client.ClientManager.Logout(Client); | ||
21 | return "Logged " + name + " out"; | ||
22 | } | ||
23 | } | ||
24 | } | ||
diff --git a/tools/mass test client/Commands/System/MD5Command.cs b/tools/mass test client/Commands/System/MD5Command.cs deleted file mode 100644 index 2084e67..0000000 --- a/tools/mass test client/Commands/System/MD5Command.cs +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | using System; | ||
2 | using libsecondlife; | ||
3 | |||
4 | namespace libsecondlife.TestClient | ||
5 | { | ||
6 | public class MD5Command : Command | ||
7 | { | ||
8 | public MD5Command(TestClient testClient) | ||
9 | { | ||
10 | Name = "md5"; | ||
11 | Description = "Creates an MD5 hash from a given password. Usage: md5 [password]"; | ||
12 | } | ||
13 | |||
14 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
15 | { | ||
16 | if (args.Length == 1) | ||
17 | return Helpers.MD5(args[0]); | ||
18 | else | ||
19 | return "Usage: md5 [password]"; | ||
20 | } | ||
21 | } | ||
22 | } | ||
diff --git a/tools/mass test client/Commands/System/PacketLogCommand.cs b/tools/mass test client/Commands/System/PacketLogCommand.cs deleted file mode 100644 index 694cee1..0000000 --- a/tools/mass test client/Commands/System/PacketLogCommand.cs +++ /dev/null | |||
@@ -1,84 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Xml; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class PacketLogCommand : Command | ||
10 | { | ||
11 | List<Packet> Packets = new List<Packet>(); | ||
12 | bool Done = false; | ||
13 | int Count = 0; | ||
14 | int Total = 0; | ||
15 | |||
16 | public PacketLogCommand(TestClient testClient) | ||
17 | { | ||
18 | Name = "packetlog"; | ||
19 | Description = "Logs a given number of packets to an xml file. Usage: packetlog 10 tenpackets.xml"; | ||
20 | } | ||
21 | |||
22 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
23 | { | ||
24 | if (args.Length != 2) | ||
25 | return "Usage: packetlog 10 tenpackets.xml"; | ||
26 | |||
27 | XmlWriter writer; | ||
28 | NetworkManager.PacketCallback callback = new NetworkManager.PacketCallback(OnPacket); | ||
29 | |||
30 | Packets.Clear(); | ||
31 | Done = false; | ||
32 | Count = 0; | ||
33 | |||
34 | try | ||
35 | { | ||
36 | Total = Int32.Parse(args[0]); | ||
37 | writer = XmlWriter.Create(args[1]); | ||
38 | |||
39 | Client.Network.RegisterCallback(PacketType.Default, callback); | ||
40 | } | ||
41 | catch (Exception e) | ||
42 | { | ||
43 | return "Usage: packetlog 10 tenpackets.xml (" + e + ")"; | ||
44 | } | ||
45 | |||
46 | while (!Done) | ||
47 | { | ||
48 | System.Threading.Thread.Sleep(100); | ||
49 | } | ||
50 | |||
51 | Client.Network.UnregisterCallback(PacketType.Default, callback); | ||
52 | |||
53 | try | ||
54 | { | ||
55 | Helpers.PacketListToXml(Packets, writer); | ||
56 | } | ||
57 | catch (Exception e) | ||
58 | { | ||
59 | return "Serialization failed: " + e.ToString(); | ||
60 | } | ||
61 | |||
62 | writer.Close(); | ||
63 | Packets.Clear(); | ||
64 | |||
65 | return "Exported " + Count + " packets to " + args[1]; | ||
66 | } | ||
67 | |||
68 | private void OnPacket(Packet packet, Simulator simulator) | ||
69 | { | ||
70 | lock (Packets) | ||
71 | { | ||
72 | if (Count >= Total) | ||
73 | { | ||
74 | Done = true; | ||
75 | } | ||
76 | else | ||
77 | { | ||
78 | Packets.Add(packet); | ||
79 | Count++; | ||
80 | } | ||
81 | } | ||
82 | } | ||
83 | } | ||
84 | } | ||
diff --git a/tools/mass test client/Commands/System/QuitCommand.cs b/tools/mass test client/Commands/System/QuitCommand.cs deleted file mode 100644 index 2cf0418..0000000 --- a/tools/mass test client/Commands/System/QuitCommand.cs +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class QuitCommand: Command | ||
10 | { | ||
11 | public QuitCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "quit"; | ||
14 | Description = "Log all avatars out and shut down"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | Client.ClientManager.LogoutAll(); | ||
20 | Client.ClientManager.Running = false; | ||
21 | return "All avatars logged out"; | ||
22 | } | ||
23 | } | ||
24 | } | ||
diff --git a/tools/mass test client/Commands/System/SetMasterCommand.cs b/tools/mass test client/Commands/System/SetMasterCommand.cs deleted file mode 100644 index 8601865..0000000 --- a/tools/mass test client/Commands/System/SetMasterCommand.cs +++ /dev/null | |||
@@ -1,73 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using System.Threading; | ||
5 | using libsecondlife; | ||
6 | using libsecondlife.Packets; | ||
7 | |||
8 | namespace libsecondlife.TestClient | ||
9 | { | ||
10 | public class SetMasterCommand: Command | ||
11 | { | ||
12 | public DateTime Created = DateTime.Now; | ||
13 | private LLUUID resolvedMasterKey = LLUUID.Zero; | ||
14 | private ManualResetEvent keyResolution = new ManualResetEvent(false); | ||
15 | private LLUUID query = LLUUID.Zero; | ||
16 | |||
17 | public SetMasterCommand(TestClient testClient) | ||
18 | { | ||
19 | Name = "setMaster"; | ||
20 | Description = "Sets the user name of the master user. The master user can IM to run commands."; | ||
21 | |||
22 | } | ||
23 | |||
24 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
25 | { | ||
26 | string masterName = String.Empty; | ||
27 | for (int ct = 0; ct < args.Length;ct++) | ||
28 | masterName = masterName + args[ct] + " "; | ||
29 | masterName = masterName.TrimEnd(); | ||
30 | |||
31 | if (masterName.Length == 0) | ||
32 | return "Usage setMaster name"; | ||
33 | |||
34 | DirectoryManager.DirPeopleReplyCallback callback = new DirectoryManager.DirPeopleReplyCallback(KeyResolvHandler); | ||
35 | Client.Directory.OnDirPeopleReply += callback; | ||
36 | query = Client.Directory.StartPeopleSearch(DirectoryManager.DirFindFlags.People, masterName, 0); | ||
37 | if (keyResolution.WaitOne(TimeSpan.FromMinutes(1), false)) | ||
38 | { | ||
39 | Client.MasterKey = resolvedMasterKey; | ||
40 | keyResolution.Reset(); | ||
41 | Client.Directory.OnDirPeopleReply -= callback; | ||
42 | } | ||
43 | else | ||
44 | { | ||
45 | keyResolution.Reset(); | ||
46 | Client.Directory.OnDirPeopleReply -= callback; | ||
47 | return "Unable to obtain UUID for \"" + masterName + "\". Master unchanged."; | ||
48 | } | ||
49 | |||
50 | |||
51 | foreach (Avatar av in Client.AvatarList.Values) | ||
52 | { | ||
53 | if (av.ID == Client.MasterKey) | ||
54 | { | ||
55 | Client.Self.InstantMessage(av.ID, "You are now my master. IM me with \"help\" for a command list."); | ||
56 | break; | ||
57 | } | ||
58 | } | ||
59 | |||
60 | return "Master set to " + masterName + " (" + Client.MasterKey.ToStringHyphenated() + ")"; | ||
61 | } | ||
62 | |||
63 | private void KeyResolvHandler(LLUUID queryid, List<DirectoryManager.AgentSearchData> matches) | ||
64 | { | ||
65 | if (query != queryid) | ||
66 | return; | ||
67 | // We can't handle ambiguities here as nicely as we can in ClientManager. | ||
68 | resolvedMasterKey = matches[0].AgentID; | ||
69 | keyResolution.Set(); | ||
70 | query = LLUUID.Zero; | ||
71 | } | ||
72 | } | ||
73 | } | ||
diff --git a/tools/mass test client/Commands/System/SetMasterKeyCommand.cs b/tools/mass test client/Commands/System/SetMasterKeyCommand.cs deleted file mode 100644 index 1fa6336..0000000 --- a/tools/mass test client/Commands/System/SetMasterKeyCommand.cs +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class SetMasterKeyCommand : Command | ||
10 | { | ||
11 | public DateTime Created = DateTime.Now; | ||
12 | |||
13 | public SetMasterKeyCommand(TestClient testClient) | ||
14 | { | ||
15 | Name = "setMasterKey"; | ||
16 | Description = "Sets the key of the master user. The master user can IM to run commands."; | ||
17 | } | ||
18 | |||
19 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
20 | { | ||
21 | Client.MasterKey = LLUUID.Parse(args[0]); | ||
22 | |||
23 | foreach (Avatar av in Client.AvatarList.Values) | ||
24 | { | ||
25 | if (av.ID == Client.MasterKey) | ||
26 | { | ||
27 | Client.Self.InstantMessage(av.ID, "You are now my master. IM me with \"help\" for a command list."); | ||
28 | break; | ||
29 | } | ||
30 | } | ||
31 | |||
32 | return "Master set to " + Client.MasterKey; | ||
33 | } | ||
34 | } | ||
35 | } | ||
diff --git a/tools/mass test client/Commands/System/ShowEffectsCommand.cs b/tools/mass test client/Commands/System/ShowEffectsCommand.cs deleted file mode 100644 index 4d46e35..0000000 --- a/tools/mass test client/Commands/System/ShowEffectsCommand.cs +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | using System; | ||
2 | using libsecondlife; | ||
3 | |||
4 | namespace libsecondlife.TestClient | ||
5 | { | ||
6 | public class ShowEffectsCommand : Command | ||
7 | { | ||
8 | bool ShowEffects = false; | ||
9 | |||
10 | public ShowEffectsCommand(TestClient testClient) | ||
11 | { | ||
12 | Name = "showeffects"; | ||
13 | Description = "Prints out information for every viewer effect that is received. Usage: showeffects [on/off]"; | ||
14 | |||
15 | testClient.Avatars.OnEffect += new AvatarManager.EffectCallback(Avatars_OnEffect); | ||
16 | testClient.Avatars.OnLookAt += new AvatarManager.LookAtCallback(Avatars_OnLookAt); | ||
17 | testClient.Avatars.OnPointAt += new AvatarManager.PointAtCallback(Avatars_OnPointAt); | ||
18 | } | ||
19 | |||
20 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
21 | { | ||
22 | if (args.Length == 0) | ||
23 | { | ||
24 | ShowEffects = true; | ||
25 | return "Viewer effects will be shown on the console"; | ||
26 | } | ||
27 | else if (args.Length == 1) | ||
28 | { | ||
29 | if (args[0] == "on") | ||
30 | { | ||
31 | ShowEffects = true; | ||
32 | return "Viewer effects will be shown on the console"; | ||
33 | } | ||
34 | else | ||
35 | { | ||
36 | ShowEffects = false; | ||
37 | return "Viewer effects will not be shown"; | ||
38 | } | ||
39 | } | ||
40 | else | ||
41 | { | ||
42 | return "Usage: showeffects [on/off]"; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | private void Avatars_OnPointAt(LLUUID sourceID, LLUUID targetID, LLVector3d targetPos, | ||
47 | MainAvatar.PointAtType pointType, float duration, LLUUID id) | ||
48 | { | ||
49 | if (ShowEffects) | ||
50 | Console.WriteLine( | ||
51 | "ViewerEffect [PointAt]: SourceID: {0} TargetID: {1} TargetPos: {2} Type: {3} Duration: {4} ID: {5}", | ||
52 | sourceID.ToStringHyphenated(), targetID.ToStringHyphenated(), targetPos, pointType, duration, | ||
53 | id.ToStringHyphenated()); | ||
54 | } | ||
55 | |||
56 | private void Avatars_OnLookAt(LLUUID sourceID, LLUUID targetID, LLVector3d targetPos, | ||
57 | MainAvatar.LookAtType lookType, float duration, LLUUID id) | ||
58 | { | ||
59 | if (ShowEffects) | ||
60 | Console.WriteLine( | ||
61 | "ViewerEffect [LookAt]: SourceID: {0} TargetID: {1} TargetPos: {2} Type: {3} Duration: {4} ID: {5}", | ||
62 | sourceID.ToStringHyphenated(), targetID.ToStringHyphenated(), targetPos, lookType, duration, | ||
63 | id.ToStringHyphenated()); | ||
64 | } | ||
65 | |||
66 | private void Avatars_OnEffect(MainAvatar.EffectType type, LLUUID sourceID, LLUUID targetID, | ||
67 | LLVector3d targetPos, float duration, LLUUID id) | ||
68 | { | ||
69 | if (ShowEffects) | ||
70 | Console.WriteLine( | ||
71 | "ViewerEffect [{0}]: SourceID: {1} TargetID: {2} TargetPos: {3} Duration: {4} ID: {5}", | ||
72 | type, sourceID.ToStringHyphenated(), targetID.ToStringHyphenated(), targetPos, duration, | ||
73 | id.ToStringHyphenated()); | ||
74 | } | ||
75 | } | ||
76 | } | ||
diff --git a/tools/mass test client/Commands/TouchCommand.cs b/tools/mass test client/Commands/TouchCommand.cs deleted file mode 100644 index f585b87..0000000 --- a/tools/mass test client/Commands/TouchCommand.cs +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class TouchCommand: Command | ||
10 | { | ||
11 | public TouchCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "touch"; | ||
14 | Description = "Attempt to touch a prim with specified UUID"; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | Primitive target = null; | ||
20 | |||
21 | lock (Client.SimPrims) | ||
22 | { | ||
23 | if (Client.SimPrims.ContainsKey(Client.Network.CurrentSim)) | ||
24 | { | ||
25 | foreach (Primitive p in Client.SimPrims[Client.Network.CurrentSim].Values) | ||
26 | { | ||
27 | if (args.Length == 0) | ||
28 | return "You must specify a UUID of the prim."; | ||
29 | |||
30 | try | ||
31 | { | ||
32 | if (p.ID == args[0]) | ||
33 | target = p; | ||
34 | } | ||
35 | catch | ||
36 | { | ||
37 | // handle exception | ||
38 | return "Sorry, I don't think " + args[0] + " is a valid UUID. I'm unable to touch it."; | ||
39 | } | ||
40 | } | ||
41 | } | ||
42 | } | ||
43 | |||
44 | if (target != null) | ||
45 | { | ||
46 | Client.Self.Touch(target.LocalID); | ||
47 | return "Touched prim " + target.ID + "."; | ||
48 | } | ||
49 | else | ||
50 | { | ||
51 | return "Couldn't find that prim."; | ||
52 | } | ||
53 | } | ||
54 | } | ||
55 | } \ No newline at end of file | ||
diff --git a/tools/mass test client/Commands/TreeCommand.cs b/tools/mass test client/Commands/TreeCommand.cs deleted file mode 100644 index 60cf234..0000000 --- a/tools/mass test client/Commands/TreeCommand.cs +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class TreeCommand: Command | ||
10 | { | ||
11 | public TreeCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "tree"; | ||
14 | Description = "Rez a tree."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | if (args.Length == 1) | ||
20 | { | ||
21 | try | ||
22 | { | ||
23 | string treeName = args[0].Trim(new char[] { ' ' }); | ||
24 | ObjectManager.Tree tree = (ObjectManager.Tree)Enum.Parse(typeof(ObjectManager.Tree), treeName); | ||
25 | |||
26 | LLVector3 treePosition = new LLVector3(Client.Self.Position.X, Client.Self.Position.Y, | ||
27 | Client.Self.Position.Z); | ||
28 | treePosition.Z += 3.0f; | ||
29 | |||
30 | Client.Objects.AddTree(Client.Network.CurrentSim, new LLVector3(0.5f, 0.5f, 0.5f), | ||
31 | LLQuaternion.Identity, treePosition, tree, Client.GroupID, false); | ||
32 | |||
33 | return "Attempted to rez a " + treeName + " tree"; | ||
34 | } | ||
35 | catch (Exception) | ||
36 | { | ||
37 | return "Type !tree for usage"; | ||
38 | } | ||
39 | } | ||
40 | |||
41 | string usage = "Usage: !tree ["; | ||
42 | foreach (string value in Enum.GetNames(typeof(ObjectManager.Tree))) | ||
43 | { | ||
44 | usage += value + ","; | ||
45 | } | ||
46 | usage = usage.TrimEnd(new char[] { ',' }); | ||
47 | usage += "]"; | ||
48 | return usage; | ||
49 | } | ||
50 | } | ||
51 | } | ||
diff --git a/tools/mass test client/Commands/WhoCommand.cs b/tools/mass test client/Commands/WhoCommand.cs deleted file mode 100644 index 3edb649..0000000 --- a/tools/mass test client/Commands/WhoCommand.cs +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace libsecondlife.TestClient | ||
8 | { | ||
9 | public class WhoCommand: Command | ||
10 | { | ||
11 | public WhoCommand(TestClient testClient) | ||
12 | { | ||
13 | Name = "who"; | ||
14 | Description = "Lists seen avatars."; | ||
15 | } | ||
16 | |||
17 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
18 | { | ||
19 | StringBuilder result = new StringBuilder(); | ||
20 | foreach (Avatar av in Client.AvatarList.Values) | ||
21 | { | ||
22 | result.AppendFormat("\n{0} {1} {2}/{3} ID: {4}", av.Name, av.GroupName, | ||
23 | (av.CurrentSim != null ? av.CurrentSim.Name : String.Empty), av.Position, av.ID); | ||
24 | } | ||
25 | |||
26 | return result.ToString(); | ||
27 | } | ||
28 | } | ||
29 | } | ||
diff --git a/tools/mass test client/MassTestClient.csproj b/tools/mass test client/MassTestClient.csproj deleted file mode 100644 index e97a72f..0000000 --- a/tools/mass test client/MassTestClient.csproj +++ /dev/null | |||
@@ -1,121 +0,0 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
4 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
5 | <ProductVersion>8.0.50727</ProductVersion> | ||
6 | <SchemaVersion>2.0</SchemaVersion> | ||
7 | <ProjectGuid>{B87682F6-B2D7-4C4D-A529-400C24FD4880}</ProjectGuid> | ||
8 | <OutputType>Exe</OutputType> | ||
9 | <AppDesignerFolder>Properties</AppDesignerFolder> | ||
10 | <RootNamespace>libsecondlife.MassTestClient</RootNamespace> | ||
11 | <AssemblyName>MassTestClient</AssemblyName> | ||
12 | </PropertyGroup> | ||
13 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
14 | <DebugSymbols>true</DebugSymbols> | ||
15 | <DebugType>full</DebugType> | ||
16 | <Optimize>false</Optimize> | ||
17 | <OutputPath>..\..\bin\</OutputPath> | ||
18 | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||
19 | <ErrorReport>prompt</ErrorReport> | ||
20 | <WarningLevel>4</WarningLevel> | ||
21 | </PropertyGroup> | ||
22 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
23 | <DebugType>pdbonly</DebugType> | ||
24 | <Optimize>true</Optimize> | ||
25 | <OutputPath>bin\</OutputPath> | ||
26 | <DefineConstants>TRACE</DefineConstants> | ||
27 | <ErrorReport>prompt</ErrorReport> | ||
28 | <WarningLevel>4</WarningLevel> | ||
29 | </PropertyGroup> | ||
30 | <ItemGroup> | ||
31 | <Reference Include="libsecondlife, Version=0.9.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
32 | <SpecificVersion>False</SpecificVersion> | ||
33 | <HintPath>bin\libsecondlife.dll</HintPath> | ||
34 | </Reference> | ||
35 | <Reference Include="libsecondlife.Utilities, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
36 | <SpecificVersion>False</SpecificVersion> | ||
37 | <HintPath>bin\libsecondlife.Utilities.dll</HintPath> | ||
38 | </Reference> | ||
39 | <Reference Include="openjpegnet, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
40 | <SpecificVersion>False</SpecificVersion> | ||
41 | <HintPath>bin\openjpegnet.dll</HintPath> | ||
42 | </Reference> | ||
43 | <Reference Include="System" /> | ||
44 | <Reference Include="System.Data" /> | ||
45 | <Reference Include="System.Xml" /> | ||
46 | </ItemGroup> | ||
47 | <ItemGroup> | ||
48 | <Compile Include="Arguments.cs" /> | ||
49 | <Compile Include="Command.cs" /> | ||
50 | <Compile Include="Commands\Inventory\AppearanceCommand.cs" /> | ||
51 | <Compile Include="Commands\CloneProfileCommand.cs" /> | ||
52 | <Compile Include="Commands\System\DebugCommand.cs" /> | ||
53 | <Compile Include="Commands\Inventory\DumpOutfitCommand.cs" /> | ||
54 | <Compile Include="Commands\Prims\ExportParticlesCommand.cs" /> | ||
55 | <Compile Include="Commands\Inventory\BalanceCommand.cs" /> | ||
56 | <Compile Include="Commands\Inventory\DeleteFolderCommand.cs" /> | ||
57 | <Compile Include="Commands\Inventory\GiveAllCommand.cs" /> | ||
58 | <Compile Include="Commands\Inventory\WearCommand.cs" /> | ||
59 | <Compile Include="Commands\Inventory\InventoryCommand.cs" /> | ||
60 | <Compile Include="Commands\Inventory\ExportOutfitCommand.cs" /> | ||
61 | <Compile Include="Commands\Land\FindSimCommand.cs" /> | ||
62 | <Compile Include="Commands\Inventory\ImportOutfitCommand.cs" /> | ||
63 | <Compile Include="Commands\System\LoginCommand.cs"> | ||
64 | <SubType>Code</SubType> | ||
65 | </Compile> | ||
66 | <Compile Include="Commands\System\LogoutCommand.cs"> | ||
67 | <SubType>Code</SubType> | ||
68 | </Compile> | ||
69 | <Compile Include="Commands\Communication\EchoMasterCommand.cs" /> | ||
70 | <Compile Include="Commands\Communication\IMCommand.cs" /> | ||
71 | <Compile Include="Commands\Communication\SayCommand.cs" /> | ||
72 | <Compile Include="Commands\Communication\ShoutCommand.cs" /> | ||
73 | <Compile Include="Commands\Communication\WhisperCommand.cs" /> | ||
74 | <Compile Include="Commands\System\MD5Command.cs" /> | ||
75 | <Compile Include="Commands\Movement\FollowCommand.cs" /> | ||
76 | <Compile Include="Commands\Movement\GotoCommand.cs" /> | ||
77 | <Compile Include="Commands\Movement\JumpCommand.cs" /> | ||
78 | <Compile Include="Commands\Movement\LocationCommand.cs" /> | ||
79 | <Compile Include="Commands\Movement\SitCommand.cs" /> | ||
80 | <Compile Include="Commands\System\PacketLogCommand.cs" /> | ||
81 | <Compile Include="Commands\Land\ParcelInfoCommand.cs" /> | ||
82 | <Compile Include="Commands\System\QuitCommand.cs"> | ||
83 | <SubType>Code</SubType> | ||
84 | </Compile> | ||
85 | <Compile Include="Commands\Stats\RegionInfoCommand.cs" /> | ||
86 | <Compile Include="Commands\System\SetMasterCommand.cs"> | ||
87 | <SubType>Code</SubType> | ||
88 | </Compile> | ||
89 | <Compile Include="Commands\Prims\ExportCommand.cs" /> | ||
90 | <Compile Include="Commands\Prims\ImportCommand.cs" /> | ||
91 | <Compile Include="Commands\System\LoadCommand.cs" /> | ||
92 | <Compile Include="Commands\Prims\PrimCountCommand.cs" /> | ||
93 | <Compile Include="Commands\System\SetMasterKeyCommand.cs" /> | ||
94 | <Compile Include="Commands\System\ShowEffectsCommand.cs" /> | ||
95 | <Compile Include="Commands\Stats\StatsCommand.cs" /> | ||
96 | <Compile Include="Commands\TouchCommand.cs" /> | ||
97 | <Compile Include="Commands\TreeCommand.cs" /> | ||
98 | <Compile Include="Commands\Stats\UptimeCommand.cs" /> | ||
99 | <Compile Include="Commands\System\HelpCommand.cs" /> | ||
100 | <Compile Include="ClientManager.cs" /> | ||
101 | <Compile Include="Commands\WhoCommand.cs"> | ||
102 | <SubType>Code</SubType> | ||
103 | </Compile> | ||
104 | <Compile Include="Parsing.cs" /> | ||
105 | <Compile Include="Program.cs" /> | ||
106 | <Compile Include="TestClient.cs" /> | ||
107 | <Compile Include="Properties\AssemblyInfo.cs" /> | ||
108 | </ItemGroup> | ||
109 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
110 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
111 | Other similar extension points exist, see Microsoft.Common.targets. | ||
112 | <Target Name="BeforeBuild"> | ||
113 | </Target> | ||
114 | <Target Name="AfterBuild"> | ||
115 | </Target> | ||
116 | --> | ||
117 | <PropertyGroup> | ||
118 | <PreBuildEvent> | ||
119 | </PreBuildEvent> | ||
120 | </PropertyGroup> | ||
121 | </Project> \ No newline at end of file | ||
diff --git a/tools/mass test client/MassTestClient.csproj.user b/tools/mass test client/MassTestClient.csproj.user deleted file mode 100644 index c32889c..0000000 --- a/tools/mass test client/MassTestClient.csproj.user +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
3 | <StartArguments> | ||
4 | </StartArguments> | ||
5 | </PropertyGroup> | ||
6 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
7 | <StartArguments> | ||
8 | </StartArguments> | ||
9 | </PropertyGroup> | ||
10 | </Project> \ No newline at end of file | ||
diff --git a/tools/mass test client/MassTestClient.sln b/tools/mass test client/MassTestClient.sln deleted file mode 100644 index cbbeef6..0000000 --- a/tools/mass test client/MassTestClient.sln +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 |  | ||
2 | Microsoft Visual Studio Solution File, Format Version 9.00 | ||
3 | # Visual C# Express 2005 | ||
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MassTestClient", "MassTestClient.csproj", "{B87682F6-B2D7-4C4D-A529-400C24FD4880}" | ||
5 | EndProject | ||
6 | Global | ||
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
8 | Debug|Any CPU = Debug|Any CPU | ||
9 | Release|Any CPU = Release|Any CPU | ||
10 | EndGlobalSection | ||
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
12 | {B87682F6-B2D7-4C4D-A529-400C24FD4880}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
13 | {B87682F6-B2D7-4C4D-A529-400C24FD4880}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
14 | {B87682F6-B2D7-4C4D-A529-400C24FD4880}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
15 | {B87682F6-B2D7-4C4D-A529-400C24FD4880}.Release|Any CPU.Build.0 = Release|Any CPU | ||
16 | EndGlobalSection | ||
17 | GlobalSection(SolutionProperties) = preSolution | ||
18 | HideSolutionNode = FALSE | ||
19 | EndGlobalSection | ||
20 | EndGlobal | ||
diff --git a/tools/mass test client/MassTestClient.suo b/tools/mass test client/MassTestClient.suo deleted file mode 100644 index 4b508d5..0000000 --- a/tools/mass test client/MassTestClient.suo +++ /dev/null | |||
Binary files differ | |||
diff --git a/tools/mass test client/Parsing.cs b/tools/mass test client/Parsing.cs deleted file mode 100644 index 371c3cd..0000000 --- a/tools/mass test client/Parsing.cs +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace libsecondlife.TestClient { | ||
6 | class Parsing { | ||
7 | public static string[] ParseArguments(string str) { | ||
8 | List<string> list = new List<string>(); | ||
9 | string current = ""; | ||
10 | string trimmed = null; | ||
11 | bool withinQuote = false; | ||
12 | bool escaped = false; | ||
13 | foreach (char c in str) { | ||
14 | if (c == '"') { | ||
15 | if (escaped) { | ||
16 | current += '"'; | ||
17 | escaped = false; | ||
18 | } else { | ||
19 | current += '"'; | ||
20 | withinQuote = !withinQuote; | ||
21 | } | ||
22 | } else if (c == ' ' || c == '\t') { | ||
23 | if (escaped || withinQuote) { | ||
24 | current += c; | ||
25 | escaped = false; | ||
26 | } else { | ||
27 | trimmed = current.Trim(); | ||
28 | if (trimmed.StartsWith("\"") && trimmed.EndsWith("\"")) { | ||
29 | trimmed = trimmed.Remove(0, 1); | ||
30 | trimmed = trimmed.Remove(trimmed.Length - 1); | ||
31 | trimmed = trimmed.Trim(); | ||
32 | } | ||
33 | if (trimmed.Length > 0) | ||
34 | list.Add(trimmed); | ||
35 | current = ""; | ||
36 | } | ||
37 | } else if (c == '\\') { | ||
38 | if (escaped) { | ||
39 | current += '\\'; | ||
40 | escaped = false; | ||
41 | } else { | ||
42 | escaped = true; | ||
43 | } | ||
44 | } else { | ||
45 | if (escaped) | ||
46 | throw new FormatException(c.ToString() + " is not an escapable character."); | ||
47 | current += c; | ||
48 | } | ||
49 | } | ||
50 | trimmed = current.Trim(); | ||
51 | if (trimmed.StartsWith("\"") && trimmed.EndsWith("\"")) { | ||
52 | trimmed = trimmed.Remove(0, 1); | ||
53 | trimmed = trimmed.Remove(trimmed.Length - 1); | ||
54 | trimmed = trimmed.Trim(); | ||
55 | } | ||
56 | if (trimmed.Length > 0) | ||
57 | list.Add(trimmed); | ||
58 | return list.ToArray(); | ||
59 | } | ||
60 | } | ||
61 | } | ||
diff --git a/tools/mass test client/Program.cs b/tools/mass test client/Program.cs deleted file mode 100644 index bc30a1c..0000000 --- a/tools/mass test client/Program.cs +++ /dev/null | |||
@@ -1,225 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.IO; | ||
4 | using CommandLine.Utility; | ||
5 | |||
6 | namespace libsecondlife.TestClient | ||
7 | { | ||
8 | public class CommandLineArgumentsException : Exception | ||
9 | { | ||
10 | } | ||
11 | |||
12 | public class Program | ||
13 | { | ||
14 | |||
15 | private static void Usage() | ||
16 | { | ||
17 | Console.WriteLine("Usage: " + Environment.NewLine + | ||
18 | "MassTestClient.exe --first \"firstname\" --last \"lastname\" --pass \"password\" --contact \"youremail\" [--startpos \"sim/x/y/z\"] [--master \"master name\"] [--masterkey \"master uuid\"] [--loginuri] [--masscommandfile \"filename\"]" + | ||
19 | Environment.NewLine + Environment.NewLine + "MassTestClient.exe --loginfile \"filename\" --contact \"youremail\" [--master \"master name\"] [--masterkey \"master uuid\"] [--loginuri] [--masscommandfile \"filename\"]"); | ||
20 | Console.ReadLine(); | ||
21 | } | ||
22 | |||
23 | private static List<string> getMassTestCommands() | ||
24 | { | ||
25 | List<string> givenCommands = new List<string>(); | ||
26 | Console.WriteLine("Please enter mass test commands to run in an infinite loop. Press enter to end the current command. Entering a blank command represents that you are done."); | ||
27 | Console.WriteLine(""); | ||
28 | |||
29 | int curCommand = 0; | ||
30 | string lastCommand = "NULL"; | ||
31 | while (lastCommand.Length > 0) | ||
32 | { | ||
33 | Console.Write("Command #" + curCommand + ">"); | ||
34 | lastCommand = Console.ReadLine().Trim(); | ||
35 | if (lastCommand.Length > 0) | ||
36 | { | ||
37 | givenCommands.Add(lastCommand); | ||
38 | curCommand++; | ||
39 | } | ||
40 | } | ||
41 | |||
42 | return givenCommands; | ||
43 | } | ||
44 | |||
45 | static void Main(string[] args) | ||
46 | { | ||
47 | Arguments arguments = new Arguments(args); | ||
48 | |||
49 | ClientManager manager; | ||
50 | List<LoginDetails> accounts = new List<LoginDetails>(); | ||
51 | LoginDetails account; | ||
52 | string masterName = String.Empty; | ||
53 | LLUUID masterKey = LLUUID.Zero; | ||
54 | string file = String.Empty; | ||
55 | string contact = String.Empty; | ||
56 | string loginURI = "https://login.agni.lindenlab.com/cgi-bin/login.cgi"; | ||
57 | |||
58 | try | ||
59 | { | ||
60 | if (arguments["masterkey"] != null) | ||
61 | { | ||
62 | masterKey = LLUUID.Parse(arguments["masterkey"]); | ||
63 | } | ||
64 | |||
65 | if (arguments["master"] != null) | ||
66 | { | ||
67 | masterName = arguments["master"]; | ||
68 | } | ||
69 | |||
70 | if (arguments["contact"] == null) | ||
71 | throw new CommandLineArgumentsException(); | ||
72 | |||
73 | contact = arguments["contact"]; | ||
74 | |||
75 | if (arguments["loginfile"] != null) | ||
76 | { | ||
77 | file = arguments["loginfile"]; | ||
78 | |||
79 | // Loading names from a file | ||
80 | try | ||
81 | { | ||
82 | using (StreamReader reader = new StreamReader(file)) | ||
83 | { | ||
84 | string line; | ||
85 | int lineNumber = 0; | ||
86 | |||
87 | while ((line = reader.ReadLine()) != null) | ||
88 | { | ||
89 | lineNumber++; | ||
90 | string[] tokens = line.Trim().Split(new char[] { ' ', ',' }); | ||
91 | |||
92 | if (tokens.Length >= 3) | ||
93 | { | ||
94 | account = new LoginDetails(); | ||
95 | account.FirstName = tokens[0]; | ||
96 | account.LastName = tokens[1]; | ||
97 | account.Password = tokens[2]; | ||
98 | |||
99 | accounts.Add(account); | ||
100 | |||
101 | // Leaving this out until we have per-account masters (if that | ||
102 | // is desirable). For now the command-line option can | ||
103 | // specify the single master that TestClient supports | ||
104 | |||
105 | //if (tokens.Length == 5) | ||
106 | //{ | ||
107 | // master = tokens[3] + " " + tokens[4]; | ||
108 | //} | ||
109 | } | ||
110 | else | ||
111 | { | ||
112 | Console.WriteLine("Invalid data on line " + lineNumber + | ||
113 | ", must be in the format of: FirstName LastName Password"); | ||
114 | } | ||
115 | } | ||
116 | } | ||
117 | } | ||
118 | catch (Exception e) | ||
119 | { | ||
120 | Console.WriteLine("Error reading from " + args[1]); | ||
121 | Console.WriteLine(e.ToString()); | ||
122 | Console.ReadLine(); | ||
123 | return; | ||
124 | } | ||
125 | } | ||
126 | else if (arguments["first"] != null && arguments["last"] != null && arguments["pass"] != null) | ||
127 | { | ||
128 | // Taking a single login off the command-line | ||
129 | account = new LoginDetails(); | ||
130 | account.FirstName = arguments["first"]; | ||
131 | account.LastName = arguments["last"]; | ||
132 | account.Password = arguments["pass"]; | ||
133 | |||
134 | accounts.Add(account); | ||
135 | } | ||
136 | else | ||
137 | { | ||
138 | throw new CommandLineArgumentsException(); | ||
139 | } | ||
140 | } | ||
141 | |||
142 | catch (CommandLineArgumentsException) | ||
143 | { | ||
144 | Usage(); | ||
145 | return; | ||
146 | } | ||
147 | |||
148 | if (arguments["loginuri"] != null) | ||
149 | { | ||
150 | Console.WriteLine("Please enter a login uri. If you enter nothing, AGNI grid is assumed:"); | ||
151 | string temp = Console.ReadLine(); | ||
152 | if (temp.Trim().Length > 0) | ||
153 | { | ||
154 | loginURI = temp.Trim(); | ||
155 | } | ||
156 | } | ||
157 | |||
158 | List<string> massTestCommands = new List<string>(); | ||
159 | if (arguments["masscommandfile"] != null) | ||
160 | { | ||
161 | string massCommandFile = arguments["masscommandfile"]; | ||
162 | try | ||
163 | { | ||
164 | using (StreamReader reader = new StreamReader(massCommandFile)) | ||
165 | { | ||
166 | string line; | ||
167 | |||
168 | while ((line = reader.ReadLine()) != null) | ||
169 | { | ||
170 | |||
171 | line = line.Trim(); | ||
172 | if (line.Length > 0) | ||
173 | { | ||
174 | massTestCommands.Add(line); | ||
175 | } | ||
176 | } | ||
177 | } | ||
178 | } | ||
179 | catch (Exception e) | ||
180 | { | ||
181 | Console.WriteLine("Error reading from " + args[1]); | ||
182 | Console.WriteLine(e.ToString()); | ||
183 | Console.ReadLine(); | ||
184 | return; | ||
185 | } | ||
186 | } | ||
187 | else | ||
188 | { | ||
189 | Console.Clear(); | ||
190 | massTestCommands = getMassTestCommands(); | ||
191 | } | ||
192 | |||
193 | Console.Clear(); | ||
194 | if (massTestCommands.Count == 0) | ||
195 | { | ||
196 | Console.WriteLine("No mass commands entered; Normal 'TestClient' operation will be used"); | ||
197 | } | ||
198 | else | ||
199 | { | ||
200 | Console.WriteLine("Detected " + massTestCommands.Count + " mass commands; MassTestClient operation will be used"); | ||
201 | } | ||
202 | |||
203 | Console.WriteLine(loginURI); | ||
204 | foreach (LoginDetails a in accounts) | ||
205 | { | ||
206 | a.MasterName = masterName; | ||
207 | a.MasterKey = masterKey; | ||
208 | a.LoginURI = loginURI; | ||
209 | } | ||
210 | |||
211 | // Login the accounts and run the input loop | ||
212 | if (arguments["startpos"] != null) | ||
213 | { | ||
214 | manager = new ClientManager(accounts, contact, arguments["startpos"]); | ||
215 | } | ||
216 | else | ||
217 | { | ||
218 | manager = new ClientManager(accounts, contact); | ||
219 | } | ||
220 | |||
221 | |||
222 | manager.Run(massTestCommands); | ||
223 | } | ||
224 | } | ||
225 | } | ||
diff --git a/tools/mass test client/Properties/AssemblyInfo.cs b/tools/mass test client/Properties/AssemblyInfo.cs deleted file mode 100644 index ae311f4..0000000 --- a/tools/mass test client/Properties/AssemblyInfo.cs +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | using System.Reflection; | ||
2 | using System.Runtime.CompilerServices; | ||
3 | using System.Runtime.InteropServices; | ||
4 | |||
5 | // General Information about an assembly is controlled through the following | ||
6 | // set of attributes. Change these attribute values to modify the information | ||
7 | // associated with an assembly. | ||
8 | [assembly: AssemblyTitle("MassTestClient")] | ||
9 | [assembly: AssemblyDescription("")] | ||
10 | [assembly: AssemblyConfiguration("")] | ||
11 | [assembly: AssemblyCompany("")] | ||
12 | [assembly: AssemblyProduct("MassTestClient")] | ||
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | ||
14 | [assembly: AssemblyTrademark("")] | ||
15 | [assembly: AssemblyCulture("")] | ||
16 | |||
17 | // Setting ComVisible to false makes the types in this assembly not visible | ||
18 | // to COM components. If you need to access a type in this assembly from | ||
19 | // COM, set the ComVisible attribute to true on that type. | ||
20 | [assembly: ComVisible(false)] | ||
21 | |||
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | ||
23 | [assembly: Guid("0563f706-7fa9-42f6-bf23-c6acd1175964")] | ||
24 | |||
25 | // Version information for an assembly consists of the following four values: | ||
26 | // | ||
27 | // Major Version | ||
28 | // Minor Version | ||
29 | // Build Number | ||
30 | // Revision | ||
31 | // | ||
32 | [assembly: AssemblyVersion("1.0.0.0")] | ||
33 | [assembly: AssemblyFileVersion("1.0.0.0")] | ||
diff --git a/tools/mass test client/TestClient.build b/tools/mass test client/TestClient.build deleted file mode 100644 index 803377b..0000000 --- a/tools/mass test client/TestClient.build +++ /dev/null | |||
@@ -1,125 +0,0 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | |||
3 | <project | ||
4 | name="libsecondlife" | ||
5 | default="build"> | ||
6 | |||
7 | <!-- global framework settings --> | ||
8 | <property | ||
9 | name="target.framework" | ||
10 | value="${framework::get-target-framework()}" /> | ||
11 | <property | ||
12 | name="assembly.dir" | ||
13 | value="${framework::get-assembly-directory(target.framework)}" /> | ||
14 | |||
15 | <!-- global project settings --> | ||
16 | <xmlpeek | ||
17 | file="../../../libsecondlife.build" | ||
18 | xpath="/project/property[@name = 'project.version']/@value" | ||
19 | property="project.version" /> | ||
20 | <property | ||
21 | name="build.number" | ||
22 | value="${math::abs(math::floor(timespan::get-total-days(datetime::now() | ||
23 | - datetime::parse('01/01/2002'))))}" /> | ||
24 | <property | ||
25 | name="assembly" | ||
26 | value="TestClient"/> | ||
27 | <property | ||
28 | name="bin_dir" | ||
29 | value="../../../bin" /> | ||
30 | |||
31 | <!-- default configuration --> | ||
32 | <property | ||
33 | name="project.config" | ||
34 | value="debug" /> <!-- debug|release --> | ||
35 | |||
36 | <!-- named configurations --> | ||
37 | <target | ||
38 | name="init" | ||
39 | description="Initializes build properties"> | ||
40 | <call target="${project.config}" /> | ||
41 | </target> | ||
42 | |||
43 | <target | ||
44 | name="debug" | ||
45 | description="configures a debug build"> | ||
46 | <property | ||
47 | name="build.debug" | ||
48 | value="true" /> | ||
49 | <property | ||
50 | name="package.name" | ||
51 | value="${project::get-name()}-${project.version}-${project.config}" /> | ||
52 | <property | ||
53 | name="assembly.configuration" | ||
54 | value="${framework::get-target-framework()}.${platform::get-name()} [${project.config}]" /> | ||
55 | </target> | ||
56 | |||
57 | <target | ||
58 | name="release" | ||
59 | description="configures a release build"> | ||
60 | <property | ||
61 | name="project.config" | ||
62 | value="release" /> | ||
63 | <property | ||
64 | name="build.debug" | ||
65 | value="false" /> | ||
66 | <property | ||
67 | name="package.name" | ||
68 | value="${project::get-name()}-${project.version}" /> | ||
69 | <property | ||
70 | name="assembly.configuration" | ||
71 | value="${framework::get-target-framework()}.${platform::get-name()}" /> | ||
72 | </target> | ||
73 | |||
74 | <!-- build tasks --> | ||
75 | <target | ||
76 | name="build" | ||
77 | depends="init" | ||
78 | description="Builds the binaries for the current configuration"> | ||
79 | <echo message="Build Directory is ${bin_dir}/" /> | ||
80 | <mkdir | ||
81 | dir="${bin_dir}" | ||
82 | failonerror="false" /> | ||
83 | <csc | ||
84 | target="exe" | ||
85 | debug="${build.debug}" | ||
86 | output="${bin_dir}/${assembly}.exe"> | ||
87 | <sources failonempty="true"> | ||
88 | <include name="*.cs" /> | ||
89 | <include name="Commands/**.cs" /> | ||
90 | <exclude name="Commands/Communication/TtsCommand.cs" /> | ||
91 | </sources> | ||
92 | <references basedir="${bin_dir}/"> | ||
93 | <include name="libsecondlife.dll"/> | ||
94 | <include name="openjpegnet.dll"/> | ||
95 | </references> | ||
96 | </csc> | ||
97 | </target> | ||
98 | |||
99 | <target | ||
100 | name="build-dll" | ||
101 | description="Builds libsecondlife dll"> | ||
102 | <nant | ||
103 | buildfile="../../libsecondlife-cs/libsecondlife.build" | ||
104 | target="${project.config} build"/> | ||
105 | </target> | ||
106 | |||
107 | <target | ||
108 | name="clean" | ||
109 | depends="init" | ||
110 | description="Deletes the current configuration"> | ||
111 | <delete failonerror="false"> | ||
112 | <fileset basedir="${bin_dir}/"> | ||
113 | <include name="${assembly}.exe" /> | ||
114 | <include name="${assembly}.pdb" /> | ||
115 | <include name="**/${assembly}.*.resources" /> | ||
116 | </fileset> | ||
117 | </delete> | ||
118 | </target> | ||
119 | |||
120 | <target | ||
121 | name="*" | ||
122 | description="Handles unknown targets"> | ||
123 | <echo message="skip" /> | ||
124 | </target> | ||
125 | </project> | ||
diff --git a/tools/mass test client/TestClient.cs b/tools/mass test client/TestClient.cs deleted file mode 100644 index cee218c..0000000 --- a/tools/mass test client/TestClient.cs +++ /dev/null | |||
@@ -1,324 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Reflection; | ||
4 | using System.Xml; | ||
5 | using libsecondlife; | ||
6 | using libsecondlife.Packets; | ||
7 | using libsecondlife.AssetSystem; | ||
8 | |||
9 | namespace libsecondlife.TestClient | ||
10 | { | ||
11 | public class TestClient : SecondLife | ||
12 | { | ||
13 | public delegate void PrimCreatedCallback(Simulator simulator, Primitive prim); | ||
14 | |||
15 | public event PrimCreatedCallback OnPrimCreated; | ||
16 | |||
17 | public Dictionary<Simulator, Dictionary<uint, Primitive>> SimPrims; | ||
18 | public LLUUID GroupID = LLUUID.Zero; | ||
19 | public Dictionary<LLUUID, GroupMember> GroupMembers; | ||
20 | public Dictionary<uint, Avatar> AvatarList = new Dictionary<uint,Avatar>(); | ||
21 | public Dictionary<LLUUID, AvatarAppearancePacket> Appearances = new Dictionary<LLUUID, AvatarAppearancePacket>(); | ||
22 | public Dictionary<string, Command> Commands = new Dictionary<string,Command>(); | ||
23 | public bool Running = true; | ||
24 | public string MasterName = String.Empty; | ||
25 | public LLUUID MasterKey = LLUUID.Zero; | ||
26 | public ClientManager ClientManager; | ||
27 | public int regionX; | ||
28 | public int regionY; | ||
29 | |||
30 | //internal libsecondlife.InventorySystem.InventoryFolder currentDirectory; | ||
31 | |||
32 | private System.Timers.Timer updateTimer; | ||
33 | |||
34 | |||
35 | /// <summary> | ||
36 | /// | ||
37 | /// </summary> | ||
38 | public TestClient(ClientManager manager) | ||
39 | { | ||
40 | ClientManager = manager; | ||
41 | |||
42 | updateTimer = new System.Timers.Timer(1000); | ||
43 | updateTimer.Elapsed += new System.Timers.ElapsedEventHandler(updateTimer_Elapsed); | ||
44 | |||
45 | RegisterAllCommands(Assembly.GetExecutingAssembly()); | ||
46 | |||
47 | Settings.DEBUG = true; | ||
48 | Settings.STORE_LAND_PATCHES = true; | ||
49 | Settings.ALWAYS_REQUEST_OBJECTS = true; | ||
50 | |||
51 | Network.RegisterCallback(PacketType.AgentDataUpdate, new NetworkManager.PacketCallback(AgentDataUpdateHandler)); | ||
52 | |||
53 | Objects.OnNewPrim += new ObjectManager.NewPrimCallback(Objects_OnNewPrim); | ||
54 | Objects.OnObjectUpdated += new ObjectManager.ObjectUpdatedCallback(Objects_OnObjectUpdated); | ||
55 | Objects.OnObjectKilled += new ObjectManager.KillObjectCallback(Objects_OnObjectKilled); | ||
56 | Objects.OnNewAvatar += new ObjectManager.NewAvatarCallback(Objects_OnNewAvatar); | ||
57 | Self.OnInstantMessage += new MainAvatar.InstantMessageCallback(Self_OnInstantMessage); | ||
58 | Groups.OnGroupMembers += new GroupManager.GroupMembersCallback(GroupMembersHandler); | ||
59 | this.OnLogMessage += new LogCallback(TestClient_OnLogMessage); | ||
60 | |||
61 | Network.RegisterCallback(PacketType.AvatarAppearance, new NetworkManager.PacketCallback(AvatarAppearanceHandler)); | ||
62 | |||
63 | updateTimer.Start(); | ||
64 | } | ||
65 | |||
66 | public void RegisterAllCommands(Assembly assembly) | ||
67 | { | ||
68 | foreach (Type t in assembly.GetTypes()) | ||
69 | { | ||
70 | try | ||
71 | { | ||
72 | if (t.IsSubclassOf(typeof(Command))) | ||
73 | { | ||
74 | ConstructorInfo info = t.GetConstructor(new Type[] { typeof(TestClient) }); | ||
75 | Command command = (Command)info.Invoke(new object[] { this }); | ||
76 | RegisterCommand(command); | ||
77 | } | ||
78 | } | ||
79 | catch (Exception e) | ||
80 | { | ||
81 | Console.WriteLine(e.ToString()); | ||
82 | } | ||
83 | } | ||
84 | } | ||
85 | |||
86 | public void RegisterCommand(Command command) | ||
87 | { | ||
88 | command.Client = this; | ||
89 | if (!Commands.ContainsKey(command.Name.ToLower())) | ||
90 | { | ||
91 | Commands.Add(command.Name.ToLower(), command); | ||
92 | } | ||
93 | } | ||
94 | |||
95 | //breaks up large responses to deal with the max IM size | ||
96 | private void SendResponseIM(SecondLife client, LLUUID fromAgentID, string data, LLUUID imSessionID) | ||
97 | { | ||
98 | for ( int i = 0 ; i < data.Length ; i += 1024 ) { | ||
99 | int y; | ||
100 | if ((i + 1023) > data.Length) | ||
101 | { | ||
102 | y = data.Length - i; | ||
103 | } | ||
104 | else | ||
105 | { | ||
106 | y = 1023; | ||
107 | } | ||
108 | string message = data.Substring(i, y); | ||
109 | client.Self.InstantMessage(fromAgentID, message, imSessionID); | ||
110 | } | ||
111 | } | ||
112 | |||
113 | public void DoCommand(string cmd, LLUUID fromAgentID, LLUUID imSessionID) | ||
114 | { | ||
115 | string[] tokens = Parsing.ParseArguments(cmd); | ||
116 | |||
117 | if (tokens.Length == 0) | ||
118 | return; | ||
119 | |||
120 | string firstToken = tokens[0].ToLower(); | ||
121 | |||
122 | // "all balance" will send the balance command to all currently logged in bots | ||
123 | if (firstToken == "all" && tokens.Length > 1) | ||
124 | { | ||
125 | cmd = String.Empty; | ||
126 | |||
127 | // Reserialize all of the arguments except for "all" | ||
128 | for (int i = 1; i < tokens.Length; i++) | ||
129 | { | ||
130 | cmd += tokens[i] + " "; | ||
131 | } | ||
132 | |||
133 | ClientManager.DoCommandAll(cmd, fromAgentID, imSessionID); | ||
134 | |||
135 | return; | ||
136 | } | ||
137 | |||
138 | if (Commands.ContainsKey(firstToken)) | ||
139 | { | ||
140 | string[] args = new string[tokens.Length - 1]; | ||
141 | Array.Copy(tokens, 1, args, 0, args.Length); | ||
142 | string response = Commands[firstToken].Execute(args, fromAgentID); | ||
143 | |||
144 | if (response.Length > 0) | ||
145 | { | ||
146 | Console.WriteLine(response); | ||
147 | |||
148 | if (fromAgentID != null && Network.Connected) | ||
149 | { | ||
150 | // IMs don't like \r\n line endings, clean them up first | ||
151 | response = response.Replace("\r", ""); | ||
152 | SendResponseIM(this, fromAgentID, response, imSessionID); | ||
153 | } | ||
154 | } | ||
155 | } | ||
156 | } | ||
157 | |||
158 | private void updateTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) | ||
159 | { | ||
160 | foreach (Command c in Commands.Values) | ||
161 | if (c.Active) | ||
162 | c.Think(); | ||
163 | } | ||
164 | |||
165 | private void AgentDataUpdateHandler(Packet packet, Simulator sim) | ||
166 | { | ||
167 | AgentDataUpdatePacket p = (AgentDataUpdatePacket)packet; | ||
168 | if (p.AgentData.AgentID == sim.Client.Network.AgentID) | ||
169 | { | ||
170 | Console.WriteLine("Got the group ID for " + sim.Client.ToString() + ", requesting group members..."); | ||
171 | GroupID = p.AgentData.ActiveGroupID; | ||
172 | |||
173 | sim.Client.Groups.BeginGetGroupMembers(GroupID); | ||
174 | } | ||
175 | } | ||
176 | |||
177 | private void TestClient_OnLogMessage(string message, Helpers.LogLevel level) | ||
178 | { | ||
179 | Console.WriteLine("<" + this.ToString() + "> " + level.ToString() + ": " + message); | ||
180 | } | ||
181 | |||
182 | private void GroupMembersHandler(Dictionary<LLUUID, GroupMember> members) | ||
183 | { | ||
184 | Console.WriteLine("Got " + members.Count + " group members."); | ||
185 | GroupMembers = members; | ||
186 | } | ||
187 | |||
188 | private void Objects_OnObjectKilled(Simulator simulator, uint objectID) | ||
189 | { | ||
190 | lock (SimPrims) | ||
191 | { | ||
192 | if (SimPrims.ContainsKey(simulator) && SimPrims[simulator].ContainsKey(objectID)) | ||
193 | SimPrims[simulator].Remove(objectID); | ||
194 | } | ||
195 | |||
196 | lock (AvatarList) | ||
197 | { | ||
198 | if (AvatarList.ContainsKey(objectID)) | ||
199 | AvatarList.Remove(objectID); | ||
200 | } | ||
201 | } | ||
202 | |||
203 | private void Objects_OnObjectUpdated(Simulator simulator, ObjectUpdate update, ulong regionHandle, ushort timeDilation) | ||
204 | { | ||
205 | regionX = (int)(regionHandle >> 32); | ||
206 | regionY = (int)(regionHandle & 0xFFFFFFFF); | ||
207 | |||
208 | if (update.Avatar) | ||
209 | { | ||
210 | lock (AvatarList) | ||
211 | { | ||
212 | // TODO: We really need a solid avatar and object tracker in Utilities to use here | ||
213 | if (AvatarList.ContainsKey(update.LocalID)) | ||
214 | { | ||
215 | AvatarList[update.LocalID].CollisionPlane = update.CollisionPlane; | ||
216 | AvatarList[update.LocalID].Position = update.Position; | ||
217 | AvatarList[update.LocalID].Velocity = update.Velocity; | ||
218 | AvatarList[update.LocalID].Acceleration = update.Acceleration; | ||
219 | AvatarList[update.LocalID].Rotation = update.Rotation; | ||
220 | AvatarList[update.LocalID].AngularVelocity = update.AngularVelocity; | ||
221 | AvatarList[update.LocalID].Textures = update.Textures; | ||
222 | } | ||
223 | } | ||
224 | } | ||
225 | else | ||
226 | { | ||
227 | lock (SimPrims) | ||
228 | { | ||
229 | if (SimPrims.ContainsKey(simulator) && SimPrims[simulator].ContainsKey(update.LocalID)) | ||
230 | { | ||
231 | SimPrims[simulator][update.LocalID].Position = update.Position; | ||
232 | SimPrims[simulator][update.LocalID].Velocity = update.Velocity; | ||
233 | SimPrims[simulator][update.LocalID].Acceleration = update.Acceleration; | ||
234 | SimPrims[simulator][update.LocalID].Rotation = update.Rotation; | ||
235 | SimPrims[simulator][update.LocalID].AngularVelocity = update.AngularVelocity; | ||
236 | SimPrims[simulator][update.LocalID].Textures = update.Textures; | ||
237 | } | ||
238 | } | ||
239 | } | ||
240 | } | ||
241 | |||
242 | private void Objects_OnNewPrim(Simulator simulator, Primitive prim, ulong regionHandle, ushort timeDilation) | ||
243 | { | ||
244 | lock (SimPrims) | ||
245 | { | ||
246 | if (!SimPrims.ContainsKey(simulator)) | ||
247 | { | ||
248 | SimPrims[simulator] = new Dictionary<uint, Primitive>(10000); | ||
249 | } | ||
250 | |||
251 | SimPrims[simulator][prim.LocalID] = prim; | ||
252 | } | ||
253 | |||
254 | if ((prim.Flags & LLObject.ObjectFlags.CreateSelected) != 0 && OnPrimCreated != null) | ||
255 | { | ||
256 | OnPrimCreated(simulator, prim); | ||
257 | } | ||
258 | } | ||
259 | |||
260 | private void Objects_OnNewAvatar(Simulator simulator, Avatar avatar, ulong regionHandle, ushort timeDilation) | ||
261 | { | ||
262 | lock (AvatarList) | ||
263 | { | ||
264 | AvatarList[avatar.LocalID] = avatar; | ||
265 | } | ||
266 | } | ||
267 | |||
268 | private void AvatarAppearanceHandler(Packet packet, Simulator simulator) | ||
269 | { | ||
270 | AvatarAppearancePacket appearance = (AvatarAppearancePacket)packet; | ||
271 | |||
272 | lock (Appearances) Appearances[appearance.Sender.ID] = appearance; | ||
273 | } | ||
274 | |||
275 | private void Self_OnInstantMessage(LLUUID fromAgentID, string fromAgentName, LLUUID toAgentID, | ||
276 | uint parentEstateID, LLUUID regionID, LLVector3 position, MainAvatar.InstantMessageDialog dialog, | ||
277 | bool groupIM, LLUUID imSessionID, DateTime timestamp, string message, | ||
278 | MainAvatar.InstantMessageOnline offline, byte[] binaryBucket) | ||
279 | { | ||
280 | if (MasterKey != LLUUID.Zero) | ||
281 | { | ||
282 | if (fromAgentID != MasterKey) | ||
283 | { | ||
284 | // Received an IM from someone that is not the bot's master, ignore | ||
285 | Console.WriteLine("<IM>" + fromAgentName + " (not master): " + message + "@" + regionID.ToString() + ":" + position.ToString() ); | ||
286 | return; | ||
287 | } | ||
288 | } | ||
289 | else | ||
290 | { | ||
291 | if (GroupMembers != null && !GroupMembers.ContainsKey(fromAgentID)) | ||
292 | { | ||
293 | // Received an IM from someone outside the bot's group, ignore | ||
294 | Console.WriteLine("<IM>" + fromAgentName + " (not in group): " + message + "@" + regionID.ToString() + ":" + position.ToString()); | ||
295 | return; | ||
296 | } | ||
297 | } | ||
298 | |||
299 | Console.WriteLine("<IM>" + fromAgentName + ": " + message); | ||
300 | |||
301 | if (dialog == MainAvatar.InstantMessageDialog.RequestTeleport) | ||
302 | { | ||
303 | Console.WriteLine("Accepting teleport lure."); | ||
304 | Self.TeleportLureRespond(fromAgentID, true); | ||
305 | } | ||
306 | else | ||
307 | { | ||
308 | if (dialog == MainAvatar.InstantMessageDialog.InventoryOffered) | ||
309 | { | ||
310 | Console.WriteLine("Accepting inventory offer."); | ||
311 | |||
312 | Self.InstantMessage(Self.FirstName + " " + Self.LastName, fromAgentID, String.Empty, | ||
313 | imSessionID, MainAvatar.InstantMessageDialog.InventoryAccepted, | ||
314 | MainAvatar.InstantMessageOnline.Offline, Self.Position, LLUUID.Zero, | ||
315 | Self.InventoryRootFolderUUID.GetBytes()); | ||
316 | } | ||
317 | else | ||
318 | { | ||
319 | DoCommand(message, fromAgentID, imSessionID); | ||
320 | } | ||
321 | } | ||
322 | } | ||
323 | } | ||
324 | } | ||
diff --git a/tools/mass test client/bin/libsecondlife.Utilities.dll b/tools/mass test client/bin/libsecondlife.Utilities.dll deleted file mode 100644 index b5a71fc..0000000 --- a/tools/mass test client/bin/libsecondlife.Utilities.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/tools/mass test client/bin/libsecondlife.dll b/tools/mass test client/bin/libsecondlife.dll deleted file mode 100644 index 60c3151..0000000 --- a/tools/mass test client/bin/libsecondlife.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/tools/mass test client/bin/openjpegnet.dll b/tools/mass test client/bin/openjpegnet.dll deleted file mode 100644 index 83067b0..0000000 --- a/tools/mass test client/bin/openjpegnet.dll +++ /dev/null | |||
Binary files differ | |||