diff --git a/OpenSim/Framework/Data/InventoryData.cs b/OpenSim/Framework/Data/InventoryData.cs
index c2a1d0637a..fe2e25c28a 100644
--- a/OpenSim/Framework/Data/InventoryData.cs
+++ b/OpenSim/Framework/Data/InventoryData.cs
@@ -56,6 +56,10 @@ namespace OpenSim.Framework.Data
///
public LLUUID avatarID;
///
+ /// The creator of this folder
+ ///
+ public LLUUID creatorsID;
+ ///
/// The name of the inventory item (must be less than 64 characters)
///
public string inventoryName;
@@ -94,6 +98,14 @@ namespace OpenSim.Framework.Data
/// The UUID for this folder
///
public LLUUID folderID;
+ ///
+ /// Tyep of Items normally stored in this folder
+ ///
+ public ushort type;
+ ///
+ ///
+ ///
+ public ushort version;
}
///
diff --git a/OpenSim/Region/Caches/CachedUserInfo.cs b/OpenSim/Region/Caches/CachedUserInfo.cs
new file mode 100644
index 0000000000..08a7848d51
--- /dev/null
+++ b/OpenSim/Region/Caches/CachedUserInfo.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using OpenSim.Framework.Data;
+using libsecondlife;
+
+namespace OpenSim.Region.Caches
+{
+ public class CachedUserInfo
+ {
+ public UserProfileData UserProfile;
+ //public Dictionary Folders = new Dictionary();
+ public InventoryFolder RootFolder;
+
+ public CachedUserInfo()
+ {
+
+ }
+ }
+}
diff --git a/OpenSim/Region/Caches/InventoryFolder.cs b/OpenSim/Region/Caches/InventoryFolder.cs
new file mode 100644
index 0000000000..364a1840b4
--- /dev/null
+++ b/OpenSim/Region/Caches/InventoryFolder.cs
@@ -0,0 +1,51 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using libsecondlife;
+using OpenSim.Framework.Data;
+
+namespace OpenSim.Region.Caches
+{
+ public class InventoryFolder : InventoryFolderBase
+ {
+ public Dictionary SubFolders = new Dictionary();
+ public Dictionary Items = new Dictionary();
+
+ public InventoryFolder()
+ {
+ }
+
+ public InventoryFolder HasSubFolder(LLUUID folderID)
+ {
+ InventoryFolder returnFolder = null;
+ if (this.SubFolders.ContainsKey(folderID))
+ {
+ returnFolder = this.SubFolders[folderID];
+ }
+ else
+ {
+ foreach (InventoryFolder folder in this.SubFolders.Values)
+ {
+ returnFolder = folder.HasSubFolder(folderID);
+ if (returnFolder != null)
+ {
+ break;
+ }
+ }
+ }
+ return returnFolder;
+ }
+
+ public InventoryFolder CreateNewSubFolder(LLUUID folderID, string folderName, ushort type)
+ {
+ InventoryFolder subFold = new InventoryFolder();
+ subFold.name = folderName;
+ subFold.folderID = folderID;
+ subFold.type = type;
+ subFold.parentID = this.folderID;
+ subFold.agentID = this.agentID;
+ this.SubFolders.Add(subFold.folderID, subFold);
+ return subFold;
+ }
+ }
+}
diff --git a/OpenSim/Region/Caches/UserProfileCache.cs b/OpenSim/Region/Caches/UserProfileCache.cs
new file mode 100644
index 0000000000..0717e55e5f
--- /dev/null
+++ b/OpenSim/Region/Caches/UserProfileCache.cs
@@ -0,0 +1,75 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using libsecondlife;
+using OpenSim.Framework.Data;
+
+namespace OpenSim.Region.Caches
+{
+ public class UserProfileCache
+ {
+ public Dictionary UserProfiles = new Dictionary();
+
+ public UserProfileCache()
+ {
+
+ }
+
+ ///
+ /// A new user has moved into a region in this instance
+ /// so get info from servers
+ ///
+ ///
+ public void AddNewUser(LLUUID userID)
+ {
+
+ }
+
+ ///
+ /// A user has left this instance
+ /// so make sure servers have been updated
+ /// Then remove cached info
+ ///
+ ///
+ public void UserLogOut(LLUUID userID)
+ {
+
+ }
+
+ ///
+ /// Request the user profile from User server
+ ///
+ ///
+ private void RequestUserProfileForUser(LLUUID userID)
+ {
+
+ }
+
+ ///
+ /// Request Iventory Info from Inventory server
+ ///
+ ///
+ private void RequestInventoryForUser(LLUUID userID)
+ {
+
+ }
+
+ ///
+ /// Make sure UserProfile is updated on user server
+ ///
+ ///
+ private void UpdateUserProfileToServer(LLUUID userID)
+ {
+
+ }
+
+ ///
+ /// Update Inventory data to Inventory server
+ ///
+ ///
+ private void UpdateInventoryToServer(LLUUID userID)
+ {
+
+ }
+ }
+}
diff --git a/OpenSim/Region/ClientStack/ClientViewBase.cs b/OpenSim/Region/ClientStack/ClientViewBase.cs
index 048f4df040..211ba8b847 100644
--- a/OpenSim/Region/ClientStack/ClientViewBase.cs
+++ b/OpenSim/Region/ClientStack/ClientViewBase.cs
@@ -71,7 +71,7 @@ namespace OpenSim.Region.ClientStack
// Keep track of when this packet was sent out
Pack.TickCount = Environment.TickCount;
- Console.WriteLine(CircuitCode + ":OUT: " + Pack.Type.ToString());
+ // Console.WriteLine(CircuitCode + ":OUT: " + Pack.Type.ToString());
if (!Pack.Header.Resent)
{
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 66c17393ce..d32976f3c4 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -24,6 +24,11 @@ namespace OpenSim.Region.Communications.OGS1
public NetworkServersInfo serversInfo;
public BaseHttpServer httpServer;
+ ///
+ ///
+ ///
+ ///
+ ///
public OGS1GridServices(NetworkServersInfo servers_info, BaseHttpServer httpServe)
{
serversInfo = servers_info;
@@ -32,6 +37,11 @@ namespace OpenSim.Region.Communications.OGS1
this.StartRemoting();
}
+ ///
+ ///
+ ///
+ ///
+ ///
public RegionCommsListener RegisterRegion(RegionInfo regionInfo)
{
if (!this.regions.ContainsKey((uint)regionInfo.RegionHandle))
@@ -40,8 +50,6 @@ namespace OpenSim.Region.Communications.OGS1
}
Hashtable GridParams = new Hashtable();
-
-
// Login / Authentication
GridParams["authkey"] = serversInfo.GridSendKey;
@@ -74,15 +82,6 @@ namespace OpenSim.Region.Communications.OGS1
return null;
}
- /* if (!this.listeners.ContainsKey(regionInfo.RegionHandle))
- {
- MainLog.Instance.Verbose("OGS1 - Registering new HTTP listener on port " + regionInfo.InternalEndPoint.Port.ToString());
- // initialised = true;
- httpListener = new BaseHttpServer( regionInfo.InternalEndPoint.Port );
- httpListener.AddXmlRPCHandler("expect_user", this.ExpectUser);
- httpListener.Start();
- }*/
-
// Initialise the background listeners
RegionCommsListener regListener = new RegionCommsListener();
if (this.listeners.ContainsKey(regionInfo.RegionHandle))
@@ -97,6 +96,11 @@ namespace OpenSim.Region.Communications.OGS1
return regListener;
}
+ ///
+ ///
+ ///
+ ///
+ ///
public List RequestNeighbours(RegionInfo regionInfo)
{
@@ -136,6 +140,11 @@ namespace OpenSim.Region.Communications.OGS1
return neighbours;
}
+ ///
+ ///
+ ///
+ ///
+ ///
public RegionInfo RequestNeighbourInfo(ulong regionHandle)
{
if (this.regions.ContainsKey(regionHandle))
@@ -179,6 +188,14 @@ namespace OpenSim.Region.Communications.OGS1
return regionInfo;
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public List RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY)
{
Hashtable respData = MapBlockQuery(minX, minY, maxX, maxY);
@@ -232,6 +249,11 @@ namespace OpenSim.Region.Communications.OGS1
}
// Grid Request Processing
+ ///
+ ///
+ ///
+ ///
+ ///
public XmlRpcResponse ExpectUser(XmlRpcRequest request)
{
Console.WriteLine("Expecting User...");
@@ -269,6 +291,9 @@ namespace OpenSim.Region.Communications.OGS1
}
#region InterRegion Comms
+ ///
+ ///
+ ///
private void StartRemoting()
{
TcpChannel ch = new TcpChannel(this.serversInfo.RemotingListenerPort);
@@ -281,6 +306,12 @@ namespace OpenSim.Region.Communications.OGS1
}
#region Methods called by regions in this instance
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool InformRegionOfChildAgent(ulong regionHandle, AgentCircuitData agentData)
{
if (this.listeners.ContainsKey(regionHandle))
@@ -316,6 +347,13 @@ namespace OpenSim.Region.Communications.OGS1
return false;
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position)
{
if (this.listeners.ContainsKey(regionHandle))
@@ -353,6 +391,12 @@ namespace OpenSim.Region.Communications.OGS1
#endregion
#region Methods triggered by calls from external instances
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool IncomingChildAgent(ulong regionHandle, AgentCircuitData agentData)
{
if (this.listeners.ContainsKey(regionHandle))
@@ -363,6 +407,13 @@ namespace OpenSim.Region.Communications.OGS1
return false;
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position)
{
if (this.listeners.ContainsKey(regionHandle))
diff --git a/OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/InterpreterLogic.cs b/OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/Interpreter.Logic.cs
similarity index 100%
rename from OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/InterpreterLogic.cs
rename to OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/Interpreter.Logic.cs
diff --git a/OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/InterpreterMethods.cs b/OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/Interpreter.Methods.cs
similarity index 100%
rename from OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/InterpreterMethods.cs
rename to OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/Interpreter.Methods.cs
diff --git a/OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/InterpreterReturn.cs b/OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/Interpreter.Return.cs
similarity index 100%
rename from OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/InterpreterReturn.cs
rename to OpenSim/Region/Environment/Scenes/scripting/Engines/JVMEngine/Interpreter.Return.cs
diff --git a/bin/libsecondlife.dll b/bin/libsecondlife.dll
index 0618eb8170..c89788ba6c 100644
Binary files a/bin/libsecondlife.dll and b/bin/libsecondlife.dll differ
diff --git a/prebuild.xml b/prebuild.xml
index 688437a329..248fdf97a1 100644
--- a/prebuild.xml
+++ b/prebuild.xml
@@ -103,6 +103,29 @@
+
+
+
+ ../../../bin/
+
+
+
+
+ ../../../bin/
+
+
+
+ ../../../bin/
+
+
+
+
+
+
+
+
+
+
@@ -120,6 +143,7 @@
+
@@ -417,28 +441,6 @@
-
-
-
- ../../../bin/
-
-
-
-
- ../../../bin/
-
-
-
- ../../../bin/
-
-
-
-
-
-
-
-
-