diff options
author | lbsa71 | 2007-07-01 13:17:27 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-01 13:17:27 +0000 |
commit | 5e805656db1215518a344d6d5364629a4997fd47 (patch) | |
tree | 2d8b50bac8e77f983e3016e969df3535c52fb0d3 | |
parent | * Project files fixed for OGS. (diff) | |
download | opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.zip opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.tar.gz opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.tar.bz2 opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.tar.xz |
Fixed SimpleApp - aka thankgoditssundaycommit
* Updated SimpleApp with various introduced dependencies
* Extracted ScenePrescence creation in Scene
* removed try-catchall from UserManagerBase (that actually hid a bug)
* Refactored RegionInfo
* handle is calculated
* it will explode upon accessing x,y,ip,port,externalip if not explicitly initialized
* Removed superfluous 'ref' keywords
* Removed a shitload of 'catch Exception e' that causes build warnings
* Lots of small refactorings, renames et c
* Ignored some bins
58 files changed, 440 insertions, 383 deletions
diff --git a/OpenSim/Framework/Communications/OpenSim.Framework.Communications.csproj b/OpenSim/Framework/Communications/OpenSim.Framework.Communications.csproj index 0ee62e9..31ab172 100644 --- a/OpenSim/Framework/Communications/OpenSim.Framework.Communications.csproj +++ b/OpenSim/Framework/Communications/OpenSim.Framework.Communications.csproj | |||
@@ -86,16 +86,16 @@ | |||
86 | </ProjectReference> | 86 | </ProjectReference> |
87 | </ItemGroup> | 87 | </ItemGroup> |
88 | <ItemGroup> | 88 | <ItemGroup> |
89 | <Compile Include="IUserServices.cs"> | 89 | <Compile Include="CommunicationsManager.cs"> |
90 | <SubType>Code</SubType> | 90 | <SubType>Code</SubType> |
91 | </Compile> | 91 | </Compile> |
92 | <Compile Include="IGridServices.cs"> | 92 | <Compile Include="IGridServices.cs"> |
93 | <SubType>Code</SubType> | 93 | <SubType>Code</SubType> |
94 | </Compile> | 94 | </Compile> |
95 | <Compile Include="CommunicationsManager.cs"> | 95 | <Compile Include="IInterRegionCommunications.cs"> |
96 | <SubType>Code</SubType> | 96 | <SubType>Code</SubType> |
97 | </Compile> | 97 | </Compile> |
98 | <Compile Include="IInterRegionCommunications.cs"> | 98 | <Compile Include="IUserServices.cs"> |
99 | <SubType>Code</SubType> | 99 | <SubType>Code</SubType> |
100 | </Compile> | 100 | </Compile> |
101 | <Compile Include="Properties\AssemblyInfo.cs"> | 101 | <Compile Include="Properties\AssemblyInfo.cs"> |
diff --git a/OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build b/OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build index 8b0e0f6..52d29f6 100644 --- a/OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build +++ b/OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build | |||
@@ -11,10 +11,10 @@ | |||
11 | <resources prefix="OpenSim.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="IUserServices.cs" /> | ||
15 | <include name="IGridServices.cs" /> | ||
16 | <include name="CommunicationsManager.cs" /> | 14 | <include name="CommunicationsManager.cs" /> |
15 | <include name="IGridServices.cs" /> | ||
17 | <include name="IInterRegionCommunications.cs" /> | 16 | <include name="IInterRegionCommunications.cs" /> |
17 | <include name="IUserServices.cs" /> | ||
18 | <include name="Properties/AssemblyInfo.cs" /> | 18 | <include name="Properties/AssemblyInfo.cs" /> |
19 | </sources> | 19 | </sources> |
20 | <references basedir="${project::get-base-directory()}"> | 20 | <references basedir="${project::get-base-directory()}"> |
diff --git a/OpenSim/Framework/Console/OpenSim.Framework.Console.csproj b/OpenSim/Framework/Console/OpenSim.Framework.Console.csproj index c02a506..f3dcec5 100644 --- a/OpenSim/Framework/Console/OpenSim.Framework.Console.csproj +++ b/OpenSim/Framework/Console/OpenSim.Framework.Console.csproj | |||
@@ -69,10 +69,10 @@ | |||
69 | <Compile Include="AssemblyInfo.cs"> | 69 | <Compile Include="AssemblyInfo.cs"> |
70 | <SubType>Code</SubType> | 70 | <SubType>Code</SubType> |
71 | </Compile> | 71 | </Compile> |
72 | <Compile Include="LogBase.cs"> | 72 | <Compile Include="ConsoleCallbacksBase.cs"> |
73 | <SubType>Code</SubType> | 73 | <SubType>Code</SubType> |
74 | </Compile> | 74 | </Compile> |
75 | <Compile Include="ConsoleCallbacksBase.cs"> | 75 | <Compile Include="LogBase.cs"> |
76 | <SubType>Code</SubType> | 76 | <SubType>Code</SubType> |
77 | </Compile> | 77 | </Compile> |
78 | <Compile Include="MainLog.cs"> | 78 | <Compile Include="MainLog.cs"> |
diff --git a/OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build b/OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build index 10e72a1..eb40c0d 100644 --- a/OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build +++ b/OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build | |||
@@ -12,8 +12,8 @@ | |||
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="AssemblyInfo.cs" /> |
15 | <include name="LogBase.cs" /> | ||
16 | <include name="ConsoleCallbacksBase.cs" /> | 15 | <include name="ConsoleCallbacksBase.cs" /> |
16 | <include name="LogBase.cs" /> | ||
17 | <include name="MainLog.cs" /> | 17 | <include name="MainLog.cs" /> |
18 | </sources> | 18 | </sources> |
19 | <references basedir="${project::get-base-directory()}"> | 19 | <references basedir="${project::get-base-directory()}"> |
diff --git a/OpenSim/Framework/Data.DB4o/DB4oManager.cs b/OpenSim/Framework/Data.DB4o/DB4oManager.cs index 3870a8c..bd4cea8 100644 --- a/OpenSim/Framework/Data.DB4o/DB4oManager.cs +++ b/OpenSim/Framework/Data.DB4o/DB4oManager.cs | |||
@@ -89,7 +89,7 @@ namespace OpenSim.Framework.Data.DB4o | |||
89 | database.Close(); | 89 | database.Close(); |
90 | return true; | 90 | return true; |
91 | } | 91 | } |
92 | catch (Exception e) | 92 | catch (Exception) |
93 | { | 93 | { |
94 | return false; | 94 | return false; |
95 | } | 95 | } |
@@ -154,7 +154,7 @@ namespace OpenSim.Framework.Data.DB4o | |||
154 | database.Close(); | 154 | database.Close(); |
155 | return true; | 155 | return true; |
156 | } | 156 | } |
157 | catch (Exception e) | 157 | catch (Exception) |
158 | { | 158 | { |
159 | return false; | 159 | return false; |
160 | } | 160 | } |
diff --git a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs index 8caa75d..3ab0073 100644 --- a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs +++ b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs | |||
@@ -100,7 +100,7 @@ namespace OpenSim.Framework.Data.DB4o | |||
100 | { | 100 | { |
101 | return getUserByUUID(uuid).currentAgent; | 101 | return getUserByUUID(uuid).currentAgent; |
102 | } | 102 | } |
103 | catch (Exception e) | 103 | catch (Exception) |
104 | { | 104 | { |
105 | return null; | 105 | return null; |
106 | } | 106 | } |
@@ -128,7 +128,7 @@ namespace OpenSim.Framework.Data.DB4o | |||
128 | { | 128 | { |
129 | return getUserByName(fname,lname).currentAgent; | 129 | return getUserByName(fname,lname).currentAgent; |
130 | } | 130 | } |
131 | catch (Exception e) | 131 | catch (Exception) |
132 | { | 132 | { |
133 | return null; | 133 | return null; |
134 | } | 134 | } |
diff --git a/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.csproj b/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.csproj index f6e8311..b09cecf 100644 --- a/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.csproj +++ b/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.csproj | |||
@@ -88,13 +88,13 @@ | |||
88 | </ProjectReference> | 88 | </ProjectReference> |
89 | </ItemGroup> | 89 | </ItemGroup> |
90 | <ItemGroup> | 90 | <ItemGroup> |
91 | <Compile Include="DB4oUserData.cs"> | 91 | <Compile Include="DB4oGridData.cs"> |
92 | <SubType>Code</SubType> | 92 | <SubType>Code</SubType> |
93 | </Compile> | 93 | </Compile> |
94 | <Compile Include="DB4oManager.cs"> | 94 | <Compile Include="DB4oManager.cs"> |
95 | <SubType>Code</SubType> | 95 | <SubType>Code</SubType> |
96 | </Compile> | 96 | </Compile> |
97 | <Compile Include="DB4oGridData.cs"> | 97 | <Compile Include="DB4oUserData.cs"> |
98 | <SubType>Code</SubType> | 98 | <SubType>Code</SubType> |
99 | </Compile> | 99 | </Compile> |
100 | <Compile Include="Properties\AssemblyInfo.cs"> | 100 | <Compile Include="Properties\AssemblyInfo.cs"> |
diff --git a/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build b/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build index 2c5e31b..f124eb5 100644 --- a/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build +++ b/OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build | |||
@@ -11,9 +11,9 @@ | |||
11 | <resources prefix="OpenSim.Framework.Data.DB4o" 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="DB4oUserData.cs" /> | ||
15 | <include name="DB4oManager.cs" /> | ||
16 | <include name="DB4oGridData.cs" /> | 14 | <include name="DB4oGridData.cs" /> |
15 | <include name="DB4oManager.cs" /> | ||
16 | <include name="DB4oUserData.cs" /> | ||
17 | <include name="Properties/AssemblyInfo.cs" /> | 17 | <include name="Properties/AssemblyInfo.cs" /> |
18 | </sources> | 18 | </sources> |
19 | <references basedir="${project::get-base-directory()}"> | 19 | <references basedir="${project::get-base-directory()}"> |
diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs b/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs index 7cf1a56..3c83c1f 100644 --- a/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs +++ b/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs | |||
@@ -203,7 +203,7 @@ namespace OpenSim.Framework.Data.MSSQL | |||
203 | 203 | ||
204 | result.Dispose(); | 204 | result.Dispose(); |
205 | } | 205 | } |
206 | catch (Exception e) | 206 | catch (Exception) |
207 | { | 207 | { |
208 | return false; | 208 | return false; |
209 | } | 209 | } |
diff --git a/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.csproj b/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.csproj index 09a32b5..62e3887 100644 --- a/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.csproj +++ b/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.csproj | |||
@@ -88,19 +88,19 @@ | |||
88 | </ProjectReference> | 88 | </ProjectReference> |
89 | </ItemGroup> | 89 | </ItemGroup> |
90 | <ItemGroup> | 90 | <ItemGroup> |
91 | <Compile Include="MySQLInventoryData.cs"> | 91 | <Compile Include="MySQLGridData.cs"> |
92 | <SubType>Code</SubType> | 92 | <SubType>Code</SubType> |
93 | </Compile> | 93 | </Compile> |
94 | <Compile Include="MySQLUserData.cs"> | 94 | <Compile Include="MySQLInventoryData.cs"> |
95 | <SubType>Code</SubType> | 95 | <SubType>Code</SubType> |
96 | </Compile> | 96 | </Compile> |
97 | <Compile Include="MySQLManager.cs"> | 97 | <Compile Include="MySQLLogData.cs"> |
98 | <SubType>Code</SubType> | 98 | <SubType>Code</SubType> |
99 | </Compile> | 99 | </Compile> |
100 | <Compile Include="MySQLLogData.cs"> | 100 | <Compile Include="MySQLManager.cs"> |
101 | <SubType>Code</SubType> | 101 | <SubType>Code</SubType> |
102 | </Compile> | 102 | </Compile> |
103 | <Compile Include="MySQLGridData.cs"> | 103 | <Compile Include="MySQLUserData.cs"> |
104 | <SubType>Code</SubType> | 104 | <SubType>Code</SubType> |
105 | </Compile> | 105 | </Compile> |
106 | <Compile Include="Properties\AssemblyInfo.cs"> | 106 | <Compile Include="Properties\AssemblyInfo.cs"> |
diff --git a/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.dll.build b/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.dll.build index 3aeebbc..594ec52 100644 --- a/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.dll.build +++ b/OpenSim/Framework/Data.MySQL/OpenSim.Framework.Data.MySQL.dll.build | |||
@@ -11,11 +11,11 @@ | |||
11 | <resources prefix="OpenSim.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="MySQLInventoryData.cs" /> | 15 | <include name="MySQLInventoryData.cs" /> |
15 | <include name="MySQLUserData.cs" /> | ||
16 | <include name="MySQLManager.cs" /> | ||
17 | <include name="MySQLLogData.cs" /> | 16 | <include name="MySQLLogData.cs" /> |
18 | <include name="MySQLGridData.cs" /> | 17 | <include name="MySQLManager.cs" /> |
18 | <include name="MySQLUserData.cs" /> | ||
19 | <include name="Properties/AssemblyInfo.cs" /> | 19 | <include name="Properties/AssemblyInfo.cs" /> |
20 | </sources> | 20 | </sources> |
21 | <references basedir="${project::get-base-directory()}"> | 21 | <references basedir="${project::get-base-directory()}"> |
diff --git a/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.csproj b/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.csproj index dab22ea..4ba24f1 100644 --- a/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.csproj +++ b/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.csproj | |||
@@ -88,10 +88,10 @@ | |||
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/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.dll.build b/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.dll.build index 719fbc6..e28d0a6 100644 --- a/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.dll.build +++ b/OpenSim/Framework/Data.SQLite/OpenSim.Framework.Data.SQLite.dll.build | |||
@@ -11,8 +11,8 @@ | |||
11 | <resources prefix="OpenSim.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="SQLiteManager.cs" /> | ||
15 | <include name="SQLiteGridData.cs" /> | 14 | <include name="SQLiteGridData.cs" /> |
15 | <include name="SQLiteManager.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()}"> |
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteManager.cs b/OpenSim/Framework/Data.SQLite/SQLiteManager.cs index b67b79c..3397e0d 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteManager.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteManager.cs | |||
@@ -198,7 +198,7 @@ namespace OpenSim.Framework.Data.SQLite | |||
198 | 198 | ||
199 | result.Dispose(); | 199 | result.Dispose(); |
200 | } | 200 | } |
201 | catch (Exception e) | 201 | catch (Exception) |
202 | { | 202 | { |
203 | return false; | 203 | return false; |
204 | } | 204 | } |
diff --git a/OpenSim/Framework/Data/OpenSim.Framework.Data.csproj b/OpenSim/Framework/Data/OpenSim.Framework.Data.csproj index 47b9ba3..dcafbcd 100644 --- a/OpenSim/Framework/Data/OpenSim.Framework.Data.csproj +++ b/OpenSim/Framework/Data/OpenSim.Framework.Data.csproj | |||
@@ -78,15 +78,9 @@ | |||
78 | <ItemGroup> | 78 | <ItemGroup> |
79 | </ItemGroup> | 79 | </ItemGroup> |
80 | <ItemGroup> | 80 | <ItemGroup> |
81 | <Compile Include="ReservationData.cs"> | ||
82 | <SubType>Code</SubType> | ||
83 | </Compile> | ||
84 | <Compile Include="GridData.cs"> | 81 | <Compile Include="GridData.cs"> |
85 | <SubType>Code</SubType> | 82 | <SubType>Code</SubType> |
86 | </Compile> | 83 | </Compile> |
87 | <Compile Include="SimProfileData.cs"> | ||
88 | <SubType>Code</SubType> | ||
89 | </Compile> | ||
90 | <Compile Include="ILogData.cs"> | 84 | <Compile Include="ILogData.cs"> |
91 | <SubType>Code</SubType> | 85 | <SubType>Code</SubType> |
92 | </Compile> | 86 | </Compile> |
@@ -96,6 +90,12 @@ | |||
96 | <Compile Include="InventoryData.cs"> | 90 | <Compile Include="InventoryData.cs"> |
97 | <SubType>Code</SubType> | 91 | <SubType>Code</SubType> |
98 | </Compile> | 92 | </Compile> |
93 | <Compile Include="ReservationData.cs"> | ||
94 | <SubType>Code</SubType> | ||
95 | </Compile> | ||
96 | <Compile Include="SimProfileData.cs"> | ||
97 | <SubType>Code</SubType> | ||
98 | </Compile> | ||
99 | <Compile Include="UserData.cs"> | 99 | <Compile Include="UserData.cs"> |
100 | <SubType>Code</SubType> | 100 | <SubType>Code</SubType> |
101 | </Compile> | 101 | </Compile> |
diff --git a/OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build b/OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build index 881bb3a..aefb02b 100644 --- a/OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build +++ b/OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build | |||
@@ -11,12 +11,12 @@ | |||
11 | <resources prefix="OpenSim.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="ReservationData.cs" /> | ||
15 | <include name="GridData.cs" /> | 14 | <include name="GridData.cs" /> |
16 | <include name="SimProfileData.cs" /> | ||
17 | <include name="ILogData.cs" /> | 15 | <include name="ILogData.cs" /> |
18 | <include name="IniConfig.cs" /> | 16 | <include name="IniConfig.cs" /> |
19 | <include name="InventoryData.cs" /> | 17 | <include name="InventoryData.cs" /> |
18 | <include name="ReservationData.cs" /> | ||
19 | <include name="SimProfileData.cs" /> | ||
20 | <include name="UserData.cs" /> | 20 | <include name="UserData.cs" /> |
21 | <include name="UserProfileData.cs" /> | 21 | <include name="UserProfileData.cs" /> |
22 | <include name="Properties/AssemblyInfo.cs" /> | 22 | <include name="Properties/AssemblyInfo.cs" /> |
diff --git a/OpenSim/Framework/Data/UserProfileData.cs b/OpenSim/Framework/Data/UserProfileData.cs index 00d422d..ac168e0 100644 --- a/OpenSim/Framework/Data/UserProfileData.cs +++ b/OpenSim/Framework/Data/UserProfileData.cs | |||
@@ -136,7 +136,7 @@ namespace OpenSim.Framework.Data | |||
136 | /// <summary> | 136 | /// <summary> |
137 | /// The IP address of the user | 137 | /// The IP address of the user |
138 | /// </summary> | 138 | /// </summary> |
139 | public string agentIP; | 139 | public string agentIP = String.Empty; |
140 | /// <summary> | 140 | /// <summary> |
141 | /// The port of the user | 141 | /// The port of the user |
142 | /// </summary> | 142 | /// </summary> |
diff --git a/OpenSim/Framework/General/Interfaces/IWorld.cs b/OpenSim/Framework/General/Interfaces/IWorld.cs index 4857417..2edc0b4 100644 --- a/OpenSim/Framework/General/Interfaces/IWorld.cs +++ b/OpenSim/Framework/General/Interfaces/IWorld.cs | |||
@@ -35,7 +35,7 @@ namespace OpenSim.Framework.Interfaces | |||
35 | { | 35 | { |
36 | public interface IWorld | 36 | public interface IWorld |
37 | { | 37 | { |
38 | void AddNewClient(IClientAPI remoteClient, LLUUID agentID, bool child); | 38 | void AddNewClient(IClientAPI client, bool child); |
39 | void RemoveClient(LLUUID agentID); | 39 | void RemoveClient(LLUUID agentID); |
40 | 40 | ||
41 | RegionInfo RegionInfo { get; } | 41 | RegionInfo RegionInfo { get; } |
diff --git a/OpenSim/Framework/General/OpenSim.Framework.csproj b/OpenSim/Framework/General/OpenSim.Framework.csproj index 57076a1..7d3d53a 100644 --- a/OpenSim/Framework/General/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,8 +28,7 @@ | |||
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> |
@@ -41,8 +37,7 @@ | |||
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,8 +46,7 @@ | |||
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> |
@@ -61,28 +55,26 @@ | |||
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.Data" /> | 73 | <Reference Include="System.Xml" > |
81 | <Reference Include="System.Xml"> | ||
82 | <HintPath>System.Xml.dll</HintPath> | 74 | <HintPath>System.Xml.dll</HintPath> |
83 | <Private>False</Private> | 75 | <Private>False</Private> |
84 | </Reference> | 76 | </Reference> |
85 | <Reference Include="XMLRPC.dll"> | 77 | <Reference Include="XMLRPC.dll" > |
86 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> | 78 | <HintPath>..\..\..\bin\XMLRPC.dll</HintPath> |
87 | <Private>False</Private> | 79 | <Private>False</Private> |
88 | </Reference> | 80 | </Reference> |
@@ -92,17 +84,14 @@ | |||
92 | <Name>OpenSim.Framework.Console</Name> | 84 | <Name>OpenSim.Framework.Console</Name> |
93 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> | 85 | <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> |
94 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 86 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
95 | <Private>False</Private> | 87 | <Private>False</Private> |
96 | </ProjectReference> | 88 | </ProjectReference> |
97 | </ItemGroup> | 89 | </ItemGroup> |
98 | <ItemGroup> | 90 | <ItemGroup> |
99 | <Compile Include="AuthenticateSessionBase.cs"> | 91 | <Compile Include="AgentInventory.cs"> |
100 | <SubType>Code</SubType> | ||
101 | </Compile> | ||
102 | <Compile Include="Remoting.cs"> | ||
103 | <SubType>Code</SubType> | 92 | <SubType>Code</SubType> |
104 | </Compile> | 93 | </Compile> |
105 | <Compile Include="RegionCommsListener.cs"> | 94 | <Compile Include="AuthenticateSessionBase.cs"> |
106 | <SubType>Code</SubType> | 95 | <SubType>Code</SubType> |
107 | </Compile> | 96 | </Compile> |
108 | <Compile Include="BlockingQueue.cs"> | 97 | <Compile Include="BlockingQueue.cs"> |
@@ -111,92 +100,97 @@ | |||
111 | <Compile Include="IRegionCommsListener.cs"> | 100 | <Compile Include="IRegionCommsListener.cs"> |
112 | <SubType>Code</SubType> | 101 | <SubType>Code</SubType> |
113 | </Compile> | 102 | </Compile> |
114 | <Compile Include="Types\UUID.cs" /> | 103 | <Compile Include="LoginService.cs"> |
115 | <Compile Include="Util.cs"> | ||
116 | <SubType>Code</SubType> | 104 | <SubType>Code</SubType> |
117 | </Compile> | 105 | </Compile> |
118 | <Compile Include="UserProfile.cs"> | 106 | <Compile Include="RegionCommsListener.cs"> |
107 | <SubType>Code</SubType> | ||
108 | </Compile> | ||
109 | <Compile Include="Remoting.cs"> | ||
119 | <SubType>Code</SubType> | 110 | <SubType>Code</SubType> |
120 | </Compile> | 111 | </Compile> |
121 | <Compile Include="SimProfile.cs"> | 112 | <Compile Include="SimProfile.cs"> |
122 | <SubType>Code</SubType> | 113 | <SubType>Code</SubType> |
123 | </Compile> | 114 | </Compile> |
124 | <Compile Include="LoginService.cs"> | 115 | <Compile Include="UserProfile.cs"> |
125 | <SubType>Code</SubType> | 116 | <SubType>Code</SubType> |
126 | </Compile> | 117 | </Compile> |
127 | <Compile Include="AgentInventory.cs"> | 118 | <Compile Include="Util.cs"> |
128 | <SubType>Code</SubType> | 119 | <SubType>Code</SubType> |
129 | </Compile> | 120 | </Compile> |
130 | <Compile Include="Interfaces\AuthenticateResponse.cs"> | 121 | <Compile Include="Interfaces\AuthenticateResponse.cs"> |
131 | <SubType>Code</SubType> | 122 | <SubType>Code</SubType> |
132 | </Compile> | 123 | </Compile> |
133 | <Compile Include="Interfaces\IUserServer.cs"> | 124 | <Compile Include="Interfaces\IAssetServer.cs"> |
134 | <SubType>Code</SubType> | 125 | <SubType>Code</SubType> |
135 | </Compile> | 126 | </Compile> |
136 | <Compile Include="Interfaces\IAssetServer.cs"> | 127 | <Compile Include="Interfaces\IClientAPI.cs"> |
137 | <SubType>Code</SubType> | 128 | <SubType>Code</SubType> |
138 | </Compile> | 129 | </Compile> |
139 | <Compile Include="Interfaces\IWorld.cs"> | 130 | <Compile Include="Interfaces\ILocalStorage.cs"> |
140 | <SubType>Code</SubType> | 131 | <SubType>Code</SubType> |
141 | </Compile> | 132 | </Compile> |
142 | <Compile Include="Interfaces\IClientAPI.cs"> | 133 | <Compile Include="Interfaces\IUserServer.cs"> |
143 | <SubType>Code</SubType> | 134 | <SubType>Code</SubType> |
144 | </Compile> | 135 | </Compile> |
145 | <Compile Include="Interfaces\ILocalStorage.cs"> | 136 | <Compile Include="Interfaces\IWorld.cs"> |
146 | <SubType>Code</SubType> | 137 | <SubType>Code</SubType> |
147 | </Compile> | 138 | </Compile> |
148 | <Compile Include="Interfaces\Config\IGenericConfig.cs"> | 139 | <Compile Include="Interfaces\Config\IGenericConfig.cs"> |
149 | <SubType>Code</SubType> | 140 | <SubType>Code</SubType> |
150 | </Compile> | 141 | </Compile> |
151 | <Compile Include="Interfaces\Config\IUserConfig.cs"> | 142 | <Compile Include="Interfaces\Config\IGridConfig.cs"> |
152 | <SubType>Code</SubType> | 143 | <SubType>Code</SubType> |
153 | </Compile> | 144 | </Compile> |
154 | <Compile Include="Interfaces\Config\IGridConfig.cs"> | 145 | <Compile Include="Interfaces\Config\IUserConfig.cs"> |
155 | <SubType>Code</SubType> | 146 | <SubType>Code</SubType> |
156 | </Compile> | 147 | </Compile> |
157 | <Compile Include="Properties\AssemblyInfo.cs"> | 148 | <Compile Include="Properties\AssemblyInfo.cs"> |
158 | <SubType>Code</SubType> | 149 | <SubType>Code</SubType> |
159 | </Compile> | 150 | </Compile> |
160 | <Compile Include="Types\NeighbourInfo.cs"> | 151 | <Compile Include="Types\AgentCiruitData.cs"> |
161 | <SubType>Code</SubType> | 152 | <SubType>Code</SubType> |
162 | </Compile> | 153 | </Compile> |
163 | <Compile Include="Types\NetworkServersInfo.cs"> | 154 | <Compile Include="Types\AgentWearable.cs"> |
164 | <SubType>Code</SubType> | 155 | <SubType>Code</SubType> |
165 | </Compile> | 156 | </Compile> |
166 | <Compile Include="Types\RegionHandle.cs"> | 157 | <Compile Include="Types\AssetBase.cs"> |
167 | <SubType>Code</SubType> | 158 | <SubType>Code</SubType> |
168 | </Compile> | 159 | </Compile> |
169 | <Compile Include="Types\RegionInfo.cs"> | 160 | <Compile Include="Types\AssetLandmark.cs"> |
170 | <SubType>Code</SubType> | 161 | <SubType>Code</SubType> |
171 | </Compile> | 162 | </Compile> |
172 | <Compile Include="Types\ParcelData.cs"> | 163 | <Compile Include="Types\AssetStorage.cs"> |
173 | <SubType>Code</SubType> | 164 | <SubType>Code</SubType> |
174 | </Compile> | 165 | </Compile> |
175 | <Compile Include="Types\AgentWearable.cs"> | 166 | <Compile Include="Types\EstateSettings.cs"> |
176 | <SubType>Code</SubType> | 167 | <SubType>Code</SubType> |
177 | </Compile> | 168 | </Compile> |
178 | <Compile Include="Types\PrimData.cs"> | 169 | <Compile Include="Types\Login.cs"> |
179 | <SubType>Code</SubType> | 170 | <SubType>Code</SubType> |
180 | </Compile> | 171 | </Compile> |
181 | <Compile Include="Types\MapBlockData.cs"> | 172 | <Compile Include="Types\MapBlockData.cs"> |
182 | <SubType>Code</SubType> | 173 | <SubType>Code</SubType> |
183 | </Compile> | 174 | </Compile> |
184 | <Compile Include="Types\AssetStorage.cs"> | 175 | <Compile Include="Types\NeighbourInfo.cs"> |
185 | <SubType>Code</SubType> | 176 | <SubType>Code</SubType> |
186 | </Compile> | 177 | </Compile> |
187 | <Compile Include="Types\EstateSettings.cs"> | 178 | <Compile Include="Types\NetworkServersInfo.cs"> |
188 | <SubType>Code</SubType> | 179 | <SubType>Code</SubType> |
189 | </Compile> | 180 | </Compile> |
190 | <Compile Include="Types\AgentCiruitData.cs"> | 181 | <Compile Include="Types\ParcelData.cs"> |
191 | <SubType>Code</SubType> | 182 | <SubType>Code</SubType> |
192 | </Compile> | 183 | </Compile> |
193 | <Compile Include="Types\Login.cs"> | 184 | <Compile Include="Types\PrimData.cs"> |
194 | <SubType>Code</SubType> | 185 | <SubType>Code</SubType> |
195 | </Compile> | 186 | </Compile> |
196 | <Compile Include="Types\AssetLandmark.cs"> | 187 | <Compile Include="Types\RegionHandle.cs"> |
197 | <SubType>Code</SubType> | 188 | <SubType>Code</SubType> |
198 | </Compile> | 189 | </Compile> |
199 | <Compile Include="Types\AssetBase.cs"> | 190 | <Compile Include="Types\RegionInfo.cs"> |
191 | <SubType>Code</SubType> | ||
192 | </Compile> | ||
193 | <Compile Include="Types\UUID.cs"> | ||
200 | <SubType>Code</SubType> | 194 | <SubType>Code</SubType> |
201 | </Compile> | 195 | </Compile> |
202 | </ItemGroup> | 196 | </ItemGroup> |
@@ -207,4 +201,4 @@ | |||
207 | <PostBuildEvent> | 201 | <PostBuildEvent> |
208 | </PostBuildEvent> | 202 | </PostBuildEvent> |
209 | </PropertyGroup> | 203 | </PropertyGroup> |
210 | </Project> \ No newline at end of file | 204 | </Project> |
diff --git a/OpenSim/Framework/General/OpenSim.Framework.dll.build b/OpenSim/Framework/General/OpenSim.Framework.dll.build index 0d8077b..239e3e5 100644 --- a/OpenSim/Framework/General/OpenSim.Framework.dll.build +++ b/OpenSim/Framework/General/OpenSim.Framework.dll.build | |||
@@ -11,40 +11,41 @@ | |||
11 | <resources prefix="OpenSim.Framework" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Framework" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AgentInventory.cs" /> | ||
14 | <include name="AuthenticateSessionBase.cs" /> | 15 | <include name="AuthenticateSessionBase.cs" /> |
15 | <include name="Remoting.cs" /> | ||
16 | <include name="RegionCommsListener.cs" /> | ||
17 | <include name="BlockingQueue.cs" /> | 16 | <include name="BlockingQueue.cs" /> |
18 | <include name="IRegionCommsListener.cs" /> | 17 | <include name="IRegionCommsListener.cs" /> |
19 | <include name="Util.cs" /> | ||
20 | <include name="UserProfile.cs" /> | ||
21 | <include name="SimProfile.cs" /> | ||
22 | <include name="LoginService.cs" /> | 18 | <include name="LoginService.cs" /> |
23 | <include name="AgentInventory.cs" /> | 19 | <include name="RegionCommsListener.cs" /> |
20 | <include name="Remoting.cs" /> | ||
21 | <include name="SimProfile.cs" /> | ||
22 | <include name="UserProfile.cs" /> | ||
23 | <include name="Util.cs" /> | ||
24 | <include name="Interfaces/AuthenticateResponse.cs" /> | 24 | <include name="Interfaces/AuthenticateResponse.cs" /> |
25 | <include name="Interfaces/IUserServer.cs" /> | ||
26 | <include name="Interfaces/IAssetServer.cs" /> | 25 | <include name="Interfaces/IAssetServer.cs" /> |
27 | <include name="Interfaces/IWorld.cs" /> | ||
28 | <include name="Interfaces/IClientAPI.cs" /> | 26 | <include name="Interfaces/IClientAPI.cs" /> |
29 | <include name="Interfaces/ILocalStorage.cs" /> | 27 | <include name="Interfaces/ILocalStorage.cs" /> |
28 | <include name="Interfaces/IUserServer.cs" /> | ||
29 | <include name="Interfaces/IWorld.cs" /> | ||
30 | <include name="Interfaces/Config/IGenericConfig.cs" /> | 30 | <include name="Interfaces/Config/IGenericConfig.cs" /> |
31 | <include name="Interfaces/Config/IUserConfig.cs" /> | ||
32 | <include name="Interfaces/Config/IGridConfig.cs" /> | 31 | <include name="Interfaces/Config/IGridConfig.cs" /> |
32 | <include name="Interfaces/Config/IUserConfig.cs" /> | ||
33 | <include name="Properties/AssemblyInfo.cs" /> | 33 | <include name="Properties/AssemblyInfo.cs" /> |
34 | <include name="Types/NeighbourInfo.cs" /> | 34 | <include name="Types/AgentCiruitData.cs" /> |
35 | <include name="Types/NetworkServersInfo.cs" /> | ||
36 | <include name="Types/RegionHandle.cs" /> | ||
37 | <include name="Types/RegionInfo.cs" /> | ||
38 | <include name="Types/ParcelData.cs" /> | ||
39 | <include name="Types/AgentWearable.cs" /> | 35 | <include name="Types/AgentWearable.cs" /> |
40 | <include name="Types/PrimData.cs" /> | 36 | <include name="Types/AssetBase.cs" /> |
41 | <include name="Types/MapBlockData.cs" /> | 37 | <include name="Types/AssetLandmark.cs" /> |
42 | <include name="Types/AssetStorage.cs" /> | 38 | <include name="Types/AssetStorage.cs" /> |
43 | <include name="Types/EstateSettings.cs" /> | 39 | <include name="Types/EstateSettings.cs" /> |
44 | <include name="Types/AgentCiruitData.cs" /> | ||
45 | <include name="Types/Login.cs" /> | 40 | <include name="Types/Login.cs" /> |
46 | <include name="Types/AssetLandmark.cs" /> | 41 | <include name="Types/MapBlockData.cs" /> |
47 | <include name="Types/AssetBase.cs" /> | 42 | <include name="Types/NeighbourInfo.cs" /> |
43 | <include name="Types/NetworkServersInfo.cs" /> | ||
44 | <include name="Types/ParcelData.cs" /> | ||
45 | <include name="Types/PrimData.cs" /> | ||
46 | <include name="Types/RegionHandle.cs" /> | ||
47 | <include name="Types/RegionInfo.cs" /> | ||
48 | <include name="Types/UUID.cs" /> | ||
48 | </sources> | 49 | </sources> |
49 | <references basedir="${project::get-base-directory()}"> | 50 | <references basedir="${project::get-base-directory()}"> |
50 | <lib> | 51 | <lib> |
diff --git a/OpenSim/Framework/General/Types/RegionInfo.cs b/OpenSim/Framework/General/Types/RegionInfo.cs index 0fba6ca..1ead3c4 100644 --- a/OpenSim/Framework/General/Types/RegionInfo.cs +++ b/OpenSim/Framework/General/Types/RegionInfo.cs | |||
@@ -40,9 +40,38 @@ namespace OpenSim.Framework.Types | |||
40 | { | 40 | { |
41 | public LLUUID SimUUID = new LLUUID(); | 41 | public LLUUID SimUUID = new LLUUID(); |
42 | public string RegionName = ""; | 42 | public string RegionName = ""; |
43 | public uint RegionLocX = 0; | 43 | |
44 | public uint RegionLocY = 0; | 44 | private uint? m_regionLocX; |
45 | public ulong RegionHandle = 0; | 45 | public uint RegionLocX |
46 | { | ||
47 | get | ||
48 | { | ||
49 | return m_regionLocX.Value; | ||
50 | } | ||
51 | } | ||
52 | |||
53 | private uint? m_regionLocY; | ||
54 | public uint RegionLocY | ||
55 | { | ||
56 | get | ||
57 | { | ||
58 | return m_regionLocY.Value; | ||
59 | } | ||
60 | } | ||
61 | |||
62 | private ulong? m_regionHandle; | ||
63 | public ulong RegionHandle | ||
64 | { | ||
65 | get | ||
66 | { | ||
67 | if (!m_regionHandle.HasValue) | ||
68 | { | ||
69 | m_regionHandle = Util.UIntsToLong((RegionLocX * 256), (RegionLocY * 256)); | ||
70 | } | ||
71 | |||
72 | return m_regionHandle.Value; | ||
73 | } | ||
74 | } | ||
46 | 75 | ||
47 | public string DataStore = ""; | 76 | public string DataStore = ""; |
48 | public bool isSandbox = false; | 77 | public bool isSandbox = false; |
@@ -52,19 +81,43 @@ namespace OpenSim.Framework.Types | |||
52 | public string MasterAvatarLastName = ""; | 81 | public string MasterAvatarLastName = ""; |
53 | public string MasterAvatarSandboxPassword = ""; | 82 | public string MasterAvatarSandboxPassword = ""; |
54 | 83 | ||
84 | private int? m_commsIPListenPort; | ||
85 | |||
55 | /// <summary> | 86 | /// <summary> |
56 | /// Port used for listening (TCP and UDP) | 87 | /// Port used for listening (TCP and UDP) |
57 | /// </summary> | 88 | /// </summary> |
58 | /// <remarks>Seperate TCP and UDP</remarks> | 89 | /// <remarks>Seperate TCP and UDP</remarks> |
59 | public int CommsIPListenPort = 0; | 90 | public int CommsIPListenPort |
91 | { | ||
92 | get | ||
93 | { | ||
94 | return m_commsIPListenPort.Value; | ||
95 | } | ||
96 | } | ||
97 | |||
98 | private string m_commsIPListenAddr; | ||
60 | /// <summary> | 99 | /// <summary> |
61 | /// Address used for internal listening (default: 0.0.0.0?) | 100 | /// Address used for internal listening (default: 0.0.0.0?) |
62 | /// </summary> | 101 | /// </summary> |
63 | public string CommsIPListenAddr = ""; | 102 | public string CommsIPListenAddr |
103 | { | ||
104 | get | ||
105 | { | ||
106 | return m_commsIPListenAddr; | ||
107 | } | ||
108 | } | ||
109 | |||
110 | private string m_commsExternalAddress; | ||
64 | /// <summary> | 111 | /// <summary> |
65 | /// Address used for external addressing (DNS or IP) | 112 | /// Address used for external addressing (DNS or IP) |
66 | /// </summary> | 113 | /// </summary> |
67 | public string CommsExternalAddress = ""; | 114 | public string CommsExternalAddress |
115 | { | ||
116 | get | ||
117 | { | ||
118 | return m_commsExternalAddress; | ||
119 | } | ||
120 | } | ||
68 | 121 | ||
69 | 122 | ||
70 | public EstateSettings estateSettings; | 123 | public EstateSettings estateSettings; |
@@ -73,7 +126,16 @@ namespace OpenSim.Framework.Types | |||
73 | { | 126 | { |
74 | estateSettings = new EstateSettings(); | 127 | estateSettings = new EstateSettings(); |
75 | } | 128 | } |
76 | 129 | ||
130 | public RegionInfo( uint regionLocX, uint regionLocY, string simIp, int simPort, string simUri ) : this() | ||
131 | { | ||
132 | m_regionLocX = regionLocX; | ||
133 | m_regionLocY = regionLocY; | ||
134 | |||
135 | m_commsIPListenAddr = simIp; | ||
136 | m_commsIPListenPort = simPort; | ||
137 | m_commsExternalAddress = simUri; | ||
138 | } | ||
77 | 139 | ||
78 | public void InitConfig(bool sandboxMode, IGenericConfig configData) | 140 | public void InitConfig(bool sandboxMode, IGenericConfig configData) |
79 | { | 141 | { |
@@ -112,11 +174,11 @@ namespace OpenSim.Framework.Types | |||
112 | { | 174 | { |
113 | string location = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid Location X", "1000"); | 175 | string location = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid Location X", "1000"); |
114 | configData.SetAttribute("SimLocationX", location); | 176 | configData.SetAttribute("SimLocationX", location); |
115 | this.RegionLocX = (uint)Convert.ToUInt32(location); | 177 | m_regionLocX = (uint)Convert.ToUInt32(location); |
116 | } | 178 | } |
117 | else | 179 | else |
118 | { | 180 | { |
119 | this.RegionLocX = (uint)Convert.ToUInt32(attri); | 181 | m_regionLocX = (uint)Convert.ToUInt32(attri); |
120 | } | 182 | } |
121 | // Sim/Grid location Y | 183 | // Sim/Grid location Y |
122 | attri = ""; | 184 | attri = ""; |
@@ -125,13 +187,15 @@ namespace OpenSim.Framework.Types | |||
125 | { | 187 | { |
126 | string location = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid Location Y", "1000"); | 188 | string location = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid Location Y", "1000"); |
127 | configData.SetAttribute("SimLocationY", location); | 189 | configData.SetAttribute("SimLocationY", location); |
128 | this.RegionLocY = (uint)Convert.ToUInt32(location); | 190 | m_regionLocY = (uint)Convert.ToUInt32(location); |
129 | } | 191 | } |
130 | else | 192 | else |
131 | { | 193 | { |
132 | this.RegionLocY = (uint)Convert.ToUInt32(attri); | 194 | m_regionLocY = (uint)Convert.ToUInt32(attri); |
133 | } | 195 | } |
134 | 196 | ||
197 | m_regionHandle = null; | ||
198 | |||
135 | // Local storage datastore | 199 | // Local storage datastore |
136 | attri = ""; | 200 | attri = ""; |
137 | attri = configData.GetAttribute("Datastore"); | 201 | attri = configData.GetAttribute("Datastore"); |
@@ -153,11 +217,11 @@ namespace OpenSim.Framework.Types | |||
153 | { | 217 | { |
154 | string port = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("UDP port for client connections", "9000"); | 218 | string port = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("UDP port for client connections", "9000"); |
155 | configData.SetAttribute("SimListenPort", port); | 219 | configData.SetAttribute("SimListenPort", port); |
156 | this.CommsIPListenPort = Convert.ToInt32(port); | 220 | m_commsIPListenPort = Convert.ToInt32(port); |
157 | } | 221 | } |
158 | else | 222 | else |
159 | { | 223 | { |
160 | this.CommsIPListenPort = Convert.ToInt32(attri); | 224 | m_commsIPListenPort = Convert.ToInt32(attri); |
161 | } | 225 | } |
162 | 226 | ||
163 | //Sim Listen Address | 227 | //Sim Listen Address |
@@ -165,8 +229,8 @@ namespace OpenSim.Framework.Types | |||
165 | attri = configData.GetAttribute("SimListenAddress"); | 229 | attri = configData.GetAttribute("SimListenAddress"); |
166 | if (attri == "") | 230 | if (attri == "") |
167 | { | 231 | { |
168 | this.CommsIPListenAddr = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("IP Address to listen on for client connections", "0.0.0.0"); | 232 | m_commsIPListenAddr = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("IP Address to listen on for client connections", "0.0.0.0"); |
169 | configData.SetAttribute("SimListenAddress", this.CommsIPListenAddr); | 233 | configData.SetAttribute("SimListenAddress", CommsIPListenAddr ); |
170 | } | 234 | } |
171 | else | 235 | else |
172 | { | 236 | { |
@@ -177,26 +241,25 @@ namespace OpenSim.Framework.Types | |||
177 | System.Net.IPAddress[] ips = System.Net.Dns.GetHostAddresses(localhostname); | 241 | System.Net.IPAddress[] ips = System.Net.Dns.GetHostAddresses(localhostname); |
178 | try | 242 | try |
179 | { | 243 | { |
180 | this.CommsIPListenAddr = "0.0.0.0"; // Incase a IPv4 address isnt found | 244 | m_commsIPListenAddr = "0.0.0.0"; // Incase a IPv4 address isnt found |
181 | 245 | ||
182 | foreach (System.Net.IPAddress ip in ips) | 246 | foreach (System.Net.IPAddress ip in ips) |
183 | { | 247 | { |
184 | if (ip.AddressFamily.ToString() == System.Net.Sockets.ProtocolFamily.InterNetwork.ToString()) | 248 | if (ip.AddressFamily.ToString() == System.Net.Sockets.ProtocolFamily.InterNetwork.ToString()) |
185 | { | 249 | { |
186 | this.CommsIPListenAddr = ip.ToString(); | 250 | m_commsIPListenAddr = ip.ToString(); |
187 | break; | 251 | break; |
188 | } | 252 | } |
189 | } | 253 | } |
190 | } | 254 | } |
191 | catch (Exception e) | 255 | catch (Exception) |
192 | { | 256 | { |
193 | e.ToString(); | 257 | m_commsIPListenAddr = "0.0.0.0"; // Use the default if we fail |
194 | this.CommsIPListenAddr = "0.0.0.0"; // Use the default if we fail | ||
195 | } | 258 | } |
196 | } | 259 | } |
197 | else | 260 | else |
198 | { | 261 | { |
199 | this.CommsIPListenAddr = attri; | 262 | m_commsIPListenAddr = attri; |
200 | } | 263 | } |
201 | } | 264 | } |
202 | 265 | ||
@@ -205,12 +268,12 @@ namespace OpenSim.Framework.Types | |||
205 | attri = configData.GetAttribute("SimExternalAddress"); | 268 | attri = configData.GetAttribute("SimExternalAddress"); |
206 | if (attri == "") | 269 | if (attri == "") |
207 | { | 270 | { |
208 | this.CommsExternalAddress = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("IP or DNS address to send external clients to", "localhost"); | 271 | m_commsExternalAddress = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("IP or DNS address to send external clients to", "localhost"); |
209 | configData.SetAttribute("SimExternalAddress", this.CommsExternalAddress); | 272 | configData.SetAttribute("SimExternalAddress", CommsExternalAddress); |
210 | } | 273 | } |
211 | else | 274 | else |
212 | { | 275 | { |
213 | this.CommsExternalAddress = attri; | 276 | m_commsExternalAddress = attri; |
214 | } | 277 | } |
215 | 278 | ||
216 | attri = ""; | 279 | attri = ""; |
@@ -281,8 +344,6 @@ namespace OpenSim.Framework.Types | |||
281 | } | 344 | } |
282 | } | 345 | } |
283 | 346 | ||
284 | this.RegionHandle = Util.UIntsToLong((RegionLocX * 256), (RegionLocY * 256)); | ||
285 | |||
286 | configData.Commit(); | 347 | configData.Commit(); |
287 | } | 348 | } |
288 | catch (Exception e) | 349 | catch (Exception e) |
@@ -292,13 +353,13 @@ namespace OpenSim.Framework.Types | |||
292 | } | 353 | } |
293 | 354 | ||
294 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Sim settings loaded:"); | 355 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Sim settings loaded:"); |
295 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "UUID: " + this.SimUUID.ToStringHyphenated()); | 356 | OpenSim.Framework.Console.MainLog.Instance.Verbose("UUID: " + this.SimUUID.ToStringHyphenated()); |
296 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "Name: " + this.RegionName); | 357 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Name: " + this.RegionName); |
297 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "Region Location: [" + this.RegionLocX.ToString() + "," + this.RegionLocY + "]"); | 358 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Region Location: [" + this.RegionLocX.ToString() + "," + this.RegionLocY + "]"); |
298 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "Region Handle: " + this.RegionHandle.ToString()); | 359 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Region Handle: " + this.RegionHandle.ToString()); |
299 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "Listening on IP: " + this.CommsIPListenAddr + ":" + this.CommsIPListenPort); | 360 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Listening on IP: " + this.CommsIPListenAddr + ":" + this.CommsIPListenPort); |
300 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "Sandbox Mode? " + isSandbox.ToString()); | 361 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Sandbox Mode? " + isSandbox.ToString()); |
301 | 362 | ||
302 | } | 363 | } |
303 | } | 364 | } |
304 | } | 365 | } |
diff --git a/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj index 5262224..399f456 100644 --- a/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj +++ b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj | |||
@@ -93,16 +93,16 @@ | |||
93 | <Compile Include="BaseHttpServer.cs"> | 93 | <Compile Include="BaseHttpServer.cs"> |
94 | <SubType>Code</SubType> | 94 | <SubType>Code</SubType> |
95 | </Compile> | 95 | </Compile> |
96 | <Compile Include="IRestHandler.cs"> | 96 | <Compile Include="CheckSumServer.cs"> |
97 | <SubType>Code</SubType> | 97 | <SubType>Code</SubType> |
98 | </Compile> | 98 | </Compile> |
99 | <Compile Include="XmlRpcMethod.cs"> | 99 | <Compile Include="IRestHandler.cs"> |
100 | <SubType>Code</SubType> | 100 | <SubType>Code</SubType> |
101 | </Compile> | 101 | </Compile> |
102 | <Compile Include="CheckSumServer.cs"> | 102 | <Compile Include="UDPServerBase.cs"> |
103 | <SubType>Code</SubType> | 103 | <SubType>Code</SubType> |
104 | </Compile> | 104 | </Compile> |
105 | <Compile Include="UDPServerBase.cs"> | 105 | <Compile Include="XmlRpcMethod.cs"> |
106 | <SubType>Code</SubType> | 106 | <SubType>Code</SubType> |
107 | </Compile> | 107 | </Compile> |
108 | </ItemGroup> | 108 | </ItemGroup> |
diff --git a/OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build index 96b937c..7401b07 100644 --- a/OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build +++ b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build | |||
@@ -12,10 +12,10 @@ | |||
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="BaseHttpServer.cs" /> | 14 | <include name="BaseHttpServer.cs" /> |
15 | <include name="IRestHandler.cs" /> | ||
16 | <include name="XmlRpcMethod.cs" /> | ||
17 | <include name="CheckSumServer.cs" /> | 15 | <include name="CheckSumServer.cs" /> |
16 | <include name="IRestHandler.cs" /> | ||
18 | <include name="UDPServerBase.cs" /> | 17 | <include name="UDPServerBase.cs" /> |
18 | <include name="XmlRpcMethod.cs" /> | ||
19 | </sources> | 19 | </sources> |
20 | <references basedir="${project::get-base-directory()}"> | 20 | <references basedir="${project::get-base-directory()}"> |
21 | <lib> | 21 | <lib> |
diff --git a/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.csproj b/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.csproj index 60c4b2f..02aa3f3 100644 --- a/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.csproj +++ b/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.csproj | |||
@@ -108,10 +108,10 @@ | |||
108 | </ProjectReference> | 108 | </ProjectReference> |
109 | </ItemGroup> | 109 | </ItemGroup> |
110 | <ItemGroup> | 110 | <ItemGroup> |
111 | <Compile Include="UserManagerBase.cs"> | 111 | <Compile Include="LoginResponse.cs"> |
112 | <SubType>Code</SubType> | 112 | <SubType>Code</SubType> |
113 | </Compile> | 113 | </Compile> |
114 | <Compile Include="LoginResponse.cs"> | 114 | <Compile Include="UserManagerBase.cs"> |
115 | <SubType>Code</SubType> | 115 | <SubType>Code</SubType> |
116 | </Compile> | 116 | </Compile> |
117 | </ItemGroup> | 117 | </ItemGroup> |
diff --git a/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build b/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build index ced9276..3ea339b 100644 --- a/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build +++ b/OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build | |||
@@ -11,8 +11,8 @@ | |||
11 | <resources prefix="OpenSim.Framework.UserManagement" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Framework.UserManagement" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="UserManagerBase.cs" /> | ||
15 | <include name="LoginResponse.cs" /> | 14 | <include name="LoginResponse.cs" /> |
15 | <include name="UserManagerBase.cs" /> | ||
16 | </sources> | 16 | </sources> |
17 | <references basedir="${project::get-base-directory()}"> | 17 | <references basedir="${project::get-base-directory()}"> |
18 | <lib> | 18 | <lib> |
diff --git a/OpenSim/Framework/UserManager/UserManagerBase.cs b/OpenSim/Framework/UserManager/UserManagerBase.cs index d06059e..560752e 100644 --- a/OpenSim/Framework/UserManager/UserManagerBase.cs +++ b/OpenSim/Framework/UserManager/UserManagerBase.cs | |||
@@ -43,7 +43,7 @@ using System.Security.Cryptography; | |||
43 | 43 | ||
44 | namespace OpenSim.Framework.UserManagement | 44 | namespace OpenSim.Framework.UserManagement |
45 | { | 45 | { |
46 | public class UserManagerBase | 46 | public abstract class UserManagerBase |
47 | { | 47 | { |
48 | public OpenSim.Framework.Interfaces.UserConfig _config; | 48 | public OpenSim.Framework.Interfaces.UserConfig _config; |
49 | Dictionary<string, IUserData> _plugins = new Dictionary<string, IUserData>(); | 49 | Dictionary<string, IUserData> _plugins = new Dictionary<string, IUserData>(); |
@@ -142,14 +142,9 @@ namespace OpenSim.Framework.UserManagement | |||
142 | try | 142 | try |
143 | { | 143 | { |
144 | UserProfileData profile = plugin.Value.getUserByName(fname,lname); | 144 | UserProfileData profile = plugin.Value.getUserByName(fname,lname); |
145 | try | 145 | |
146 | { | 146 | profile.currentAgent = getUserAgent(profile.UUID); |
147 | profile.currentAgent = getUserAgent(profile.UUID); | 147 | |
148 | } | ||
149 | catch (Exception e) | ||
150 | { | ||
151 | // Ignore | ||
152 | } | ||
153 | return profile; | 148 | return profile; |
154 | } | 149 | } |
155 | catch (Exception e) | 150 | catch (Exception e) |
@@ -238,16 +233,14 @@ namespace OpenSim.Framework.UserManagement | |||
238 | /// </summary> | 233 | /// </summary> |
239 | /// <param name="profile">The users profile</param> | 234 | /// <param name="profile">The users profile</param> |
240 | /// <param name="request">The users loginrequest</param> | 235 | /// <param name="request">The users loginrequest</param> |
241 | public void CreateAgent(ref UserProfileData profile, XmlRpcRequest request) | 236 | public void CreateAgent(UserProfileData profile, XmlRpcRequest request) |
242 | { | 237 | { |
243 | Hashtable requestData = (Hashtable)request.Params[0]; | 238 | Hashtable requestData = (Hashtable)request.Params[0]; |
244 | 239 | ||
245 | UserAgentData agent = new UserAgentData(); | 240 | UserAgentData agent = new UserAgentData(); |
246 | 241 | ||
247 | // User connection | 242 | // User connection |
248 | agent.agentIP = ""; | ||
249 | agent.agentOnline = true; | 243 | agent.agentOnline = true; |
250 | agent.agentPort = 0; | ||
251 | 244 | ||
252 | // Generate sessions | 245 | // Generate sessions |
253 | RNGCryptoServiceProvider rand = new RNGCryptoServiceProvider(); | 246 | RNGCryptoServiceProvider rand = new RNGCryptoServiceProvider(); |
@@ -282,7 +275,7 @@ namespace OpenSim.Framework.UserManagement | |||
282 | //SimProfile SimInfo = new SimProfile(); | 275 | //SimProfile SimInfo = new SimProfile(); |
283 | //SimInfo = SimInfo.LoadFromGrid(theUser.currentAgent.currentHandle, _config.GridServerURL, _config.GridSendKey, _config.GridRecvKey); | 276 | //SimInfo = SimInfo.LoadFromGrid(theUser.currentAgent.currentHandle, _config.GridServerURL, _config.GridSendKey, _config.GridRecvKey); |
284 | } | 277 | } |
285 | catch (Exception e) | 278 | catch (Exception) |
286 | { | 279 | { |
287 | 280 | ||
288 | } | 281 | } |
@@ -319,7 +312,7 @@ namespace OpenSim.Framework.UserManagement | |||
319 | /// <param name="profile">The users profile</param> | 312 | /// <param name="profile">The users profile</param> |
320 | /// <param name="password">The supplied password</param> | 313 | /// <param name="password">The supplied password</param> |
321 | /// <returns>Authenticated?</returns> | 314 | /// <returns>Authenticated?</returns> |
322 | public virtual bool AuthenticateUser(ref UserProfileData profile, string password) | 315 | public virtual bool AuthenticateUser(UserProfileData profile, string password) |
323 | { | 316 | { |
324 | OpenSim.Framework.Console.MainLog.Instance.Verbose( | 317 | OpenSim.Framework.Console.MainLog.Instance.Verbose( |
325 | "Authenticating " + profile.username + " " + profile.surname); | 318 | "Authenticating " + profile.username + " " + profile.surname); |
@@ -358,10 +351,7 @@ namespace OpenSim.Framework.UserManagement | |||
358 | /// </summary> | 351 | /// </summary> |
359 | /// <param name="response">The existing response</param> | 352 | /// <param name="response">The existing response</param> |
360 | /// <param name="theUser">The user profile</param> | 353 | /// <param name="theUser">The user profile</param> |
361 | public virtual void CustomiseResponse(ref LoginResponse response, ref UserProfileData theUser) | 354 | public abstract void CustomiseResponse( LoginResponse response, UserProfileData theUser); |
362 | { | ||
363 | |||
364 | } | ||
365 | 355 | ||
366 | /// <summary> | 356 | /// <summary> |
367 | /// Main user login function | 357 | /// Main user login function |
@@ -379,7 +369,7 @@ namespace OpenSim.Framework.UserManagement | |||
379 | string lastname = ""; | 369 | string lastname = ""; |
380 | string passwd = ""; | 370 | string passwd = ""; |
381 | 371 | ||
382 | UserProfileData TheUser; | 372 | UserProfileData userProfile; |
383 | LoginResponse logResponse = new LoginResponse(); | 373 | LoginResponse logResponse = new LoginResponse(); |
384 | 374 | ||
385 | if (GoodXML) | 375 | if (GoodXML) |
@@ -388,11 +378,11 @@ namespace OpenSim.Framework.UserManagement | |||
388 | lastname = (string)requestData["last"]; | 378 | lastname = (string)requestData["last"]; |
389 | passwd = (string)requestData["passwd"]; | 379 | passwd = (string)requestData["passwd"]; |
390 | 380 | ||
391 | TheUser = GetTheUser(firstname, lastname); | 381 | userProfile = GetTheUser(firstname, lastname); |
392 | if (TheUser == null) | 382 | if (userProfile == null) |
393 | return logResponse.CreateLoginFailedResponse(); | 383 | return logResponse.CreateLoginFailedResponse(); |
394 | 384 | ||
395 | GoodLogin = AuthenticateUser(ref TheUser, passwd); | 385 | GoodLogin = AuthenticateUser(userProfile, passwd); |
396 | } | 386 | } |
397 | else | 387 | else |
398 | { | 388 | { |
@@ -406,19 +396,19 @@ namespace OpenSim.Framework.UserManagement | |||
406 | else | 396 | else |
407 | { | 397 | { |
408 | // If we already have a session... | 398 | // If we already have a session... |
409 | if (TheUser.currentAgent != null && TheUser.currentAgent.agentOnline) | 399 | if (userProfile.currentAgent != null && userProfile.currentAgent.agentOnline) |
410 | { | 400 | { |
411 | // Reject the login | 401 | // Reject the login |
412 | return logResponse.CreateAlreadyLoggedInResponse(); | 402 | return logResponse.CreateAlreadyLoggedInResponse(); |
413 | } | 403 | } |
414 | // Otherwise... | 404 | // Otherwise... |
415 | // Create a new agent session | 405 | // Create a new agent session |
416 | CreateAgent(ref TheUser, request); | 406 | CreateAgent( userProfile, request); |
417 | 407 | ||
418 | try | 408 | try |
419 | { | 409 | { |
420 | 410 | ||
421 | LLUUID AgentID = TheUser.UUID; | 411 | LLUUID AgentID = userProfile.UUID; |
422 | 412 | ||
423 | // Inventory Library Section | 413 | // Inventory Library Section |
424 | ArrayList AgentInventoryArray = new ArrayList(); | 414 | ArrayList AgentInventoryArray = new ArrayList(); |
@@ -446,32 +436,32 @@ namespace OpenSim.Framework.UserManagement | |||
446 | // Circuit Code | 436 | // Circuit Code |
447 | uint circode = (uint)(Util.RandomClass.Next()); | 437 | uint circode = (uint)(Util.RandomClass.Next()); |
448 | 438 | ||
449 | logResponse.Lastname = TheUser.surname; | 439 | logResponse.Lastname = userProfile.surname; |
450 | logResponse.Firstname = TheUser.username; | 440 | logResponse.Firstname = userProfile.username; |
451 | logResponse.AgentID = AgentID.ToStringHyphenated(); | 441 | logResponse.AgentID = AgentID.ToStringHyphenated(); |
452 | logResponse.SessionID = TheUser.currentAgent.sessionID.ToStringHyphenated(); | 442 | logResponse.SessionID = userProfile.currentAgent.sessionID.ToStringHyphenated(); |
453 | logResponse.SecureSessionID = TheUser.currentAgent.secureSessionID.ToStringHyphenated(); | 443 | logResponse.SecureSessionID = userProfile.currentAgent.secureSessionID.ToStringHyphenated(); |
454 | logResponse.InventoryRoot = InventoryRoot; | 444 | logResponse.InventoryRoot = InventoryRoot; |
455 | logResponse.InventorySkeleton = AgentInventoryArray; | 445 | logResponse.InventorySkeleton = AgentInventoryArray; |
456 | logResponse.CircuitCode = (Int32)circode; | 446 | logResponse.CircuitCode = (Int32)circode; |
457 | logResponse.RegionX = 0; //overwritten | 447 | //logResponse.RegionX = 0; //overwritten |
458 | logResponse.RegionY = 0; //overwritten | 448 | //logResponse.RegionY = 0; //overwritten |
459 | logResponse.Home = "!!null temporary value {home}!!"; // Overwritten | 449 | logResponse.Home = "!!null temporary value {home}!!"; // Overwritten |
460 | //logResponse.LookAt = "\n[r" + TheUser.homeLookAt.X.ToString() + ",r" + TheUser.homeLookAt.Y.ToString() + ",r" + TheUser.homeLookAt.Z.ToString() + "]\n"; | 450 | //logResponse.LookAt = "\n[r" + TheUser.homeLookAt.X.ToString() + ",r" + TheUser.homeLookAt.Y.ToString() + ",r" + TheUser.homeLookAt.Z.ToString() + "]\n"; |
461 | logResponse.SimAddress = "127.0.0.1"; //overwritten | 451 | //logResponse.SimAddress = "127.0.0.1"; //overwritten |
462 | logResponse.SimPort = 0; //overwritten | 452 | //logResponse.SimPort = 0; //overwritten |
463 | logResponse.Message = this.GetMessage(); | 453 | logResponse.Message = this.GetMessage(); |
464 | 454 | ||
465 | try | 455 | try |
466 | { | 456 | { |
467 | this.CustomiseResponse(ref logResponse, ref TheUser); | 457 | this.CustomiseResponse( logResponse, userProfile); |
468 | } | 458 | } |
469 | catch (Exception e) | 459 | catch (Exception e) |
470 | { | 460 | { |
471 | System.Console.WriteLine(e.ToString()); | 461 | System.Console.WriteLine(e.ToString()); |
472 | return logResponse.CreateDeadRegionResponse(); | 462 | return logResponse.CreateDeadRegionResponse(); |
473 | } | 463 | } |
474 | CommitAgent(ref TheUser); | 464 | CommitAgent(ref userProfile); |
475 | return logResponse.ToXmlRpcResponse(); | 465 | return logResponse.ToXmlRpcResponse(); |
476 | 466 | ||
477 | } | 467 | } |
diff --git a/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.csproj b/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.csproj index 945b7a5..caebca3 100644 --- a/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.csproj +++ b/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.csproj | |||
@@ -98,10 +98,10 @@ | |||
98 | <ItemGroup> | 98 | <ItemGroup> |
99 | </ItemGroup> | 99 | </ItemGroup> |
100 | <ItemGroup> | 100 | <ItemGroup> |
101 | <Compile Include="Main.cs"> | 101 | <Compile Include="AssetHttpServer.cs"> |
102 | <SubType>Code</SubType> | 102 | <SubType>Code</SubType> |
103 | </Compile> | 103 | </Compile> |
104 | <Compile Include="AssetHttpServer.cs"> | 104 | <Compile Include="Main.cs"> |
105 | <SubType>Code</SubType> | 105 | <SubType>Code</SubType> |
106 | </Compile> | 106 | </Compile> |
107 | <Compile Include="Properties\AssemblyInfo.cs"> | 107 | <Compile Include="Properties\AssemblyInfo.cs"> |
diff --git a/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.exe.build b/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.exe.build index 0a1b533..88724f6 100644 --- a/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.exe.build +++ b/OpenSim/Grid/AssetServer/OpenSim.Grid.AssetServer.exe.build | |||
@@ -11,8 +11,8 @@ | |||
11 | <resources prefix="OpenSim.Grid.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="Main.cs" /> | ||
15 | <include name="AssetHttpServer.cs" /> | 14 | <include name="AssetHttpServer.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()}"> |
diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs index c78d14a..47f7d00 100644 --- a/OpenSim/Grid/GridServer/GridManager.cs +++ b/OpenSim/Grid/GridServer/GridManager.cs | |||
@@ -108,7 +108,7 @@ namespace OpenSim.Grid.GridServer | |||
108 | { | 108 | { |
109 | kvp.Value.saveLog("Gridserver", target, method, args, priority, message); | 109 | kvp.Value.saveLog("Gridserver", target, method, args, priority, message); |
110 | } | 110 | } |
111 | catch (Exception e) | 111 | catch (Exception) |
112 | { | 112 | { |
113 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: unable to write log via " + kvp.Key); | 113 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: unable to write log via " + kvp.Key); |
114 | } | 114 | } |
@@ -127,7 +127,7 @@ namespace OpenSim.Grid.GridServer | |||
127 | { | 127 | { |
128 | return kvp.Value.GetProfileByLLUUID(uuid); | 128 | return kvp.Value.GetProfileByLLUUID(uuid); |
129 | } | 129 | } |
130 | catch (Exception e) | 130 | catch (Exception) |
131 | { | 131 | { |
132 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to find region " + uuid.ToStringHyphenated() + " via " + kvp.Key); | 132 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to find region " + uuid.ToStringHyphenated() + " via " + kvp.Key); |
133 | } | 133 | } |
@@ -148,7 +148,7 @@ namespace OpenSim.Grid.GridServer | |||
148 | { | 148 | { |
149 | return kvp.Value.GetProfileByHandle(handle); | 149 | return kvp.Value.GetProfileByHandle(handle); |
150 | } | 150 | } |
151 | catch (Exception e) | 151 | catch |
152 | { | 152 | { |
153 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to find region " + handle.ToString() + " via " + kvp.Key); | 153 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to find region " + handle.ToString() + " via " + kvp.Key); |
154 | } | 154 | } |
@@ -172,7 +172,7 @@ namespace OpenSim.Grid.GridServer | |||
172 | regions[neighbour.regionHandle] = neighbour; | 172 | regions[neighbour.regionHandle] = neighbour; |
173 | } | 173 | } |
174 | } | 174 | } |
175 | catch (Exception e) | 175 | catch |
176 | { | 176 | { |
177 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to query regionblock via " + kvp.Key); | 177 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to query regionblock via " + kvp.Key); |
178 | } | 178 | } |
diff --git a/OpenSim/Grid/GridServer/Main.cs b/OpenSim/Grid/GridServer/Main.cs index b225214..5ac64b2 100644 --- a/OpenSim/Grid/GridServer/Main.cs +++ b/OpenSim/Grid/GridServer/Main.cs | |||
@@ -262,7 +262,7 @@ namespace OpenSim.Grid.GridServer | |||
262 | } | 262 | } |
263 | configData.Commit(); | 263 | configData.Commit(); |
264 | } | 264 | } |
265 | catch (Exception e) | 265 | catch |
266 | { | 266 | { |
267 | 267 | ||
268 | } | 268 | } |
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index 640f91a..c65bb97 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -178,7 +178,7 @@ namespace OpenSim.Grid.UserServer | |||
178 | } | 178 | } |
179 | configData.Commit(); | 179 | configData.Commit(); |
180 | } | 180 | } |
181 | catch (Exception e) | 181 | catch |
182 | { | 182 | { |
183 | 183 | ||
184 | } | 184 | } |
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index c99cf87..a3e3322 100644 --- a/OpenSim/Grid/UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs | |||
@@ -56,7 +56,7 @@ namespace OpenSim.Grid.UserServer | |||
56 | /// </summary> | 56 | /// </summary> |
57 | /// <param name="response">The existing response</param> | 57 | /// <param name="response">The existing response</param> |
58 | /// <param name="theUser">The user profile</param> | 58 | /// <param name="theUser">The user profile</param> |
59 | public override void CustomiseResponse(ref LoginResponse response, ref UserProfileData theUser) | 59 | public override void CustomiseResponse( LoginResponse response, UserProfileData theUser) |
60 | { | 60 | { |
61 | // Load information from the gridserver | 61 | // Load information from the gridserver |
62 | SimProfile SimInfo = new SimProfile(); | 62 | SimProfile SimInfo = new SimProfile(); |
diff --git a/OpenSim/Region/Application/OpenSim.csproj b/OpenSim/Region/Application/OpenSim.csproj index 13619eb..bec85cc 100644 --- a/OpenSim/Region/Application/OpenSim.csproj +++ b/OpenSim/Region/Application/OpenSim.csproj | |||
@@ -170,13 +170,13 @@ | |||
170 | </ProjectReference> | 170 | </ProjectReference> |
171 | </ItemGroup> | 171 | </ItemGroup> |
172 | <ItemGroup> | 172 | <ItemGroup> |
173 | <Compile Include="OpenSimMain.cs"> | 173 | <Compile Include="Application.cs"> |
174 | <SubType>Code</SubType> | 174 | <SubType>Code</SubType> |
175 | </Compile> | 175 | </Compile> |
176 | <Compile Include="VersionInfo.cs"> | 176 | <Compile Include="OpenSimMain.cs"> |
177 | <SubType>Code</SubType> | 177 | <SubType>Code</SubType> |
178 | </Compile> | 178 | </Compile> |
179 | <Compile Include="Application.cs"> | 179 | <Compile Include="VersionInfo.cs"> |
180 | <SubType>Code</SubType> | 180 | <SubType>Code</SubType> |
181 | </Compile> | 181 | </Compile> |
182 | </ItemGroup> | 182 | </ItemGroup> |
diff --git a/OpenSim/Region/Application/OpenSim.exe.build b/OpenSim/Region/Application/OpenSim.exe.build index 355092b..6c7d7ac 100644 --- a/OpenSim/Region/Application/OpenSim.exe.build +++ b/OpenSim/Region/Application/OpenSim.exe.build | |||
@@ -11,9 +11,9 @@ | |||
11 | <resources prefix="OpenSim" dynamicprefix="true" > | 11 | <resources prefix="OpenSim" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="Application.cs" /> | ||
14 | <include name="OpenSimMain.cs" /> | 15 | <include name="OpenSimMain.cs" /> |
15 | <include name="VersionInfo.cs" /> | 16 | <include name="VersionInfo.cs" /> |
16 | <include name="Application.cs" /> | ||
17 | </sources> | 17 | </sources> |
18 | <references basedir="${project::get-base-directory()}"> | 18 | <references basedir="${project::get-base-directory()}"> |
19 | <lib> | 19 | <lib> |
diff --git a/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj index 1ed28d2..4667d52 100644 --- a/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj +++ b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj | |||
@@ -96,40 +96,40 @@ | |||
96 | </ProjectReference> | 96 | </ProjectReference> |
97 | </ItemGroup> | 97 | </ItemGroup> |
98 | <ItemGroup> | 98 | <ItemGroup> |
99 | <Compile Include="LLSDCapsDetails.cs"> | 99 | <Compile Include="Caps.cs"> |
100 | <SubType>Code</SubType> | 100 | <SubType>Code</SubType> |
101 | </Compile> | 101 | </Compile> |
102 | <Compile Include="LLSDArray.cs"> | 102 | <Compile Include="LLSDArray.cs"> |
103 | <SubType>Code</SubType> | 103 | <SubType>Code</SubType> |
104 | </Compile> | 104 | </Compile> |
105 | <Compile Include="LLSDEmpty.cs"> | 105 | <Compile Include="LLSDCapEvent.cs"> |
106 | <SubType>Code</SubType> | 106 | <SubType>Code</SubType> |
107 | </Compile> | 107 | </Compile> |
108 | <Compile Include="LLSDTest.cs"> | 108 | <Compile Include="LLSDCapsDetails.cs"> |
109 | <SubType>Code</SubType> | 109 | <SubType>Code</SubType> |
110 | </Compile> | 110 | </Compile> |
111 | <Compile Include="LLSDUploadReply.cs"> | 111 | <Compile Include="LLSDEmpty.cs"> |
112 | <SubType>Code</SubType> | 112 | <SubType>Code</SubType> |
113 | </Compile> | 113 | </Compile> |
114 | <Compile Include="LLSDType.cs"> | 114 | <Compile Include="LLSDHelpers.cs"> |
115 | <SubType>Code</SubType> | 115 | <SubType>Code</SubType> |
116 | </Compile> | 116 | </Compile> |
117 | <Compile Include="LLSDHelpers.cs"> | 117 | <Compile Include="LLSDMapLayer.cs"> |
118 | <SubType>Code</SubType> | 118 | <SubType>Code</SubType> |
119 | </Compile> | 119 | </Compile> |
120 | <Compile Include="LLSDCapEvent.cs"> | 120 | <Compile Include="LLSDMapLayerResponse.cs"> |
121 | <SubType>Code</SubType> | 121 | <SubType>Code</SubType> |
122 | </Compile> | 122 | </Compile> |
123 | <Compile Include="LLSDMapRequest.cs"> | 123 | <Compile Include="LLSDMapRequest.cs"> |
124 | <SubType>Code</SubType> | 124 | <SubType>Code</SubType> |
125 | </Compile> | 125 | </Compile> |
126 | <Compile Include="Caps.cs"> | 126 | <Compile Include="LLSDTest.cs"> |
127 | <SubType>Code</SubType> | 127 | <SubType>Code</SubType> |
128 | </Compile> | 128 | </Compile> |
129 | <Compile Include="LLSDMapLayerResponse.cs"> | 129 | <Compile Include="LLSDType.cs"> |
130 | <SubType>Code</SubType> | 130 | <SubType>Code</SubType> |
131 | </Compile> | 131 | </Compile> |
132 | <Compile Include="LLSDMapLayer.cs"> | 132 | <Compile Include="LLSDUploadReply.cs"> |
133 | <SubType>Code</SubType> | 133 | <SubType>Code</SubType> |
134 | </Compile> | 134 | </Compile> |
135 | </ItemGroup> | 135 | </ItemGroup> |
diff --git a/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build index dd853e7..a091b5c 100644 --- a/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build +++ b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build | |||
@@ -11,18 +11,18 @@ | |||
11 | <resources prefix="OpenSim.Region.Capabilities" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Capabilities" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="LLSDCapsDetails.cs" /> | 14 | <include name="Caps.cs" /> |
15 | <include name="LLSDArray.cs" /> | 15 | <include name="LLSDArray.cs" /> |
16 | <include name="LLSDCapEvent.cs" /> | ||
17 | <include name="LLSDCapsDetails.cs" /> | ||
16 | <include name="LLSDEmpty.cs" /> | 18 | <include name="LLSDEmpty.cs" /> |
17 | <include name="LLSDTest.cs" /> | ||
18 | <include name="LLSDUploadReply.cs" /> | ||
19 | <include name="LLSDType.cs" /> | ||
20 | <include name="LLSDHelpers.cs" /> | 19 | <include name="LLSDHelpers.cs" /> |
21 | <include name="LLSDCapEvent.cs" /> | ||
22 | <include name="LLSDMapRequest.cs" /> | ||
23 | <include name="Caps.cs" /> | ||
24 | <include name="LLSDMapLayerResponse.cs" /> | ||
25 | <include name="LLSDMapLayer.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> | 26 | </sources> |
27 | <references basedir="${project::get-base-directory()}"> | 27 | <references basedir="${project::get-base-directory()}"> |
28 | <lib> | 28 | <lib> |
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 9c4462d..402a3ca 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -211,7 +211,7 @@ namespace OpenSim.Region.ClientStack | |||
211 | protected virtual void InitNewClient() | 211 | protected virtual void InitNewClient() |
212 | { | 212 | { |
213 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "OpenSimClient.cs:InitNewClient() - Adding viewer agent to world"); | 213 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "OpenSimClient.cs:InitNewClient() - Adding viewer agent to world"); |
214 | this.m_world.AddNewClient(this, this.AgentID, false); | 214 | this.m_world.AddNewClient(this, false); |
215 | } | 215 | } |
216 | 216 | ||
217 | protected virtual void AuthUser() | 217 | protected virtual void AuthUser() |
diff --git a/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj index 2e1d8e2..3093eb0 100644 --- a/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj +++ b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj | |||
@@ -122,34 +122,34 @@ | |||
122 | </ProjectReference> | 122 | </ProjectReference> |
123 | </ItemGroup> | 123 | </ItemGroup> |
124 | <ItemGroup> | 124 | <ItemGroup> |
125 | <Compile Include="ClientView.AgentAssetUpload.cs"> | 125 | <Compile Include="ClientStackNetworkHandler.cs"> |
126 | <SubType>Code</SubType> | 126 | <SubType>Code</SubType> |
127 | </Compile> | 127 | </Compile> |
128 | <Compile Include="ClientStackNetworkHandler.cs"> | 128 | <Compile Include="ClientView.AgentAssetUpload.cs"> |
129 | <SubType>Code</SubType> | 129 | <SubType>Code</SubType> |
130 | </Compile> | 130 | </Compile> |
131 | <Compile Include="PacketServer.cs"> | 131 | <Compile Include="ClientView.API.cs"> |
132 | <SubType>Code</SubType> | 132 | <SubType>Code</SubType> |
133 | </Compile> | 133 | </Compile> |
134 | <Compile Include="UDPServer.cs"> | 134 | <Compile Include="ClientView.cs"> |
135 | <SubType>Code</SubType> | 135 | <SubType>Code</SubType> |
136 | </Compile> | 136 | </Compile> |
137 | <Compile Include="ClientView.PacketHandlers.cs"> | 137 | <Compile Include="ClientView.PacketHandlers.cs"> |
138 | <SubType>Code</SubType> | 138 | <SubType>Code</SubType> |
139 | </Compile> | 139 | </Compile> |
140 | <Compile Include="ClientView.API.cs"> | 140 | <Compile Include="ClientView.ProcessPackets.cs"> |
141 | <SubType>Code</SubType> | 141 | <SubType>Code</SubType> |
142 | </Compile> | 142 | </Compile> |
143 | <Compile Include="ClientView.ProcessPackets.cs"> | 143 | <Compile Include="ClientViewBase.cs"> |
144 | <SubType>Code</SubType> | 144 | <SubType>Code</SubType> |
145 | </Compile> | 145 | </Compile> |
146 | <Compile Include="RegionApplicationBase.cs"> | 146 | <Compile Include="PacketServer.cs"> |
147 | <SubType>Code</SubType> | 147 | <SubType>Code</SubType> |
148 | </Compile> | 148 | </Compile> |
149 | <Compile Include="ClientViewBase.cs"> | 149 | <Compile Include="RegionApplicationBase.cs"> |
150 | <SubType>Code</SubType> | 150 | <SubType>Code</SubType> |
151 | </Compile> | 151 | </Compile> |
152 | <Compile Include="ClientView.cs"> | 152 | <Compile Include="UDPServer.cs"> |
153 | <SubType>Code</SubType> | 153 | <SubType>Code</SubType> |
154 | </Compile> | 154 | </Compile> |
155 | <Compile Include="Assets\InventoryCache.cs"> | 155 | <Compile Include="Assets\InventoryCache.cs"> |
diff --git a/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build index 1c791d3..f76a4c8 100644 --- a/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build +++ b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build | |||
@@ -11,16 +11,16 @@ | |||
11 | <resources prefix="OpenSim.Region.ClientStack" 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="ClientView.AgentAssetUpload.cs" /> | ||
15 | <include name="ClientStackNetworkHandler.cs" /> | 14 | <include name="ClientStackNetworkHandler.cs" /> |
16 | <include name="PacketServer.cs" /> | 15 | <include name="ClientView.AgentAssetUpload.cs" /> |
17 | <include name="UDPServer.cs" /> | ||
18 | <include name="ClientView.PacketHandlers.cs" /> | ||
19 | <include name="ClientView.API.cs" /> | 16 | <include name="ClientView.API.cs" /> |
17 | <include name="ClientView.cs" /> | ||
18 | <include name="ClientView.PacketHandlers.cs" /> | ||
20 | <include name="ClientView.ProcessPackets.cs" /> | 19 | <include name="ClientView.ProcessPackets.cs" /> |
21 | <include name="RegionApplicationBase.cs" /> | ||
22 | <include name="ClientViewBase.cs" /> | 20 | <include name="ClientViewBase.cs" /> |
23 | <include name="ClientView.cs" /> | 21 | <include name="PacketServer.cs" /> |
22 | <include name="RegionApplicationBase.cs" /> | ||
23 | <include name="UDPServer.cs" /> | ||
24 | <include name="Assets/InventoryCache.cs" /> | 24 | <include name="Assets/InventoryCache.cs" /> |
25 | </sources> | 25 | </sources> |
26 | <references basedir="${project::get-base-directory()}"> | 26 | <references basedir="${project::get-base-directory()}"> |
diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs index 6cf254b..5a2a5c8 100644 --- a/OpenSim/Region/Communications/Local/LocalUserServices.cs +++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs | |||
@@ -69,14 +69,14 @@ namespace OpenSim.Region.Communications.Local | |||
69 | return profile; | 69 | return profile; |
70 | } | 70 | } |
71 | 71 | ||
72 | public override bool AuthenticateUser(ref UserProfileData profile, string password) | 72 | public override bool AuthenticateUser(UserProfileData profile, string password) |
73 | { | 73 | { |
74 | //for now we will accept any password in sandbox mode | 74 | //for now we will accept any password in sandbox mode |
75 | Console.WriteLine("authorising user"); | 75 | Console.WriteLine("authorising user"); |
76 | return true; | 76 | return true; |
77 | } | 77 | } |
78 | 78 | ||
79 | public override void CustomiseResponse(ref LoginResponse response, ref UserProfileData theUser) | 79 | public override void CustomiseResponse(LoginResponse response, UserProfileData theUser) |
80 | { | 80 | { |
81 | ulong currentRegion = theUser.currentAgent.currentHandle; | 81 | ulong currentRegion = theUser.currentAgent.currentHandle; |
82 | RegionInfo reg = m_Parent.GridServer.RequestNeighbourInfo(currentRegion); | 82 | RegionInfo reg = m_Parent.GridServer.RequestNeighbourInfo(currentRegion); |
diff --git a/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj index f9f6b7d..0a15a49 100644 --- a/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj +++ b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj | |||
@@ -98,15 +98,15 @@ | |||
98 | </ProjectReference> | 98 | </ProjectReference> |
99 | </ItemGroup> | 99 | </ItemGroup> |
100 | <ItemGroup> | 100 | <ItemGroup> |
101 | <Compile Include="LocalUserServices.cs"> | ||
102 | <SubType>Code</SubType> | ||
103 | </Compile> | ||
104 | <Compile Include="CommunicationsLocal.cs"> | 101 | <Compile Include="CommunicationsLocal.cs"> |
105 | <SubType>Code</SubType> | 102 | <SubType>Code</SubType> |
106 | </Compile> | 103 | </Compile> |
107 | <Compile Include="LocalBackEndServices.cs"> | 104 | <Compile Include="LocalBackEndServices.cs"> |
108 | <SubType>Code</SubType> | 105 | <SubType>Code</SubType> |
109 | </Compile> | 106 | </Compile> |
107 | <Compile Include="LocalUserServices.cs"> | ||
108 | <SubType>Code</SubType> | ||
109 | </Compile> | ||
110 | <Compile Include="Properties\AssemblyInfo.cs"> | 110 | <Compile Include="Properties\AssemblyInfo.cs"> |
111 | <SubType>Code</SubType> | 111 | <SubType>Code</SubType> |
112 | </Compile> | 112 | </Compile> |
diff --git a/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build index bfefabf..3cac9d3 100644 --- a/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build +++ b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build | |||
@@ -11,9 +11,9 @@ | |||
11 | <resources prefix="OpenSim.Region.Communications.Local" 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="LocalUserServices.cs" /> | ||
15 | <include name="CommunicationsLocal.cs" /> | 14 | <include name="CommunicationsLocal.cs" /> |
16 | <include name="LocalBackEndServices.cs" /> | 15 | <include name="LocalBackEndServices.cs" /> |
16 | <include name="LocalUserServices.cs" /> | ||
17 | <include name="Properties/AssemblyInfo.cs" /> | 17 | <include name="Properties/AssemblyInfo.cs" /> |
18 | </sources> | 18 | </sources> |
19 | <references basedir="${project::get-base-directory()}"> | 19 | <references basedir="${project::get-base-directory()}"> |
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 5f0c80c..2ac7297 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -75,18 +75,14 @@ namespace OpenSim.Region.Communications.OGS1 | |||
75 | 75 | ||
76 | foreach (Hashtable n in (Hashtable)respData.Values) | 76 | foreach (Hashtable n in (Hashtable)respData.Values) |
77 | { | 77 | { |
78 | RegionInfo neighbour = new RegionInfo(); | 78 | RegionInfo neighbour = new RegionInfo( (uint)n["x"], (uint)n["y"], (string)n["sim_ip"], (int)n["sim_port"], (string)n["sim_uri"] ); |
79 | 79 | ||
80 | //OGS1 | 80 | //OGS1 |
81 | neighbour.RegionHandle = (ulong)n["regionhandle"]; | 81 | //neighbour.RegionHandle = (ulong)n["regionhandle"]; is now calculated locally |
82 | neighbour.RegionLocX = (uint)n["x"]; | 82 | |
83 | neighbour.RegionLocY = (uint)n["y"]; | ||
84 | neighbour.RegionName = (string)n["name"]; | 83 | neighbour.RegionName = (string)n["name"]; |
85 | 84 | ||
86 | //OGS1+ | 85 | //OGS1+ |
87 | neighbour.CommsIPListenAddr = (string)n["sim_ip"]; | ||
88 | neighbour.CommsIPListenPort = (int)n["sim_port"]; | ||
89 | neighbour.CommsExternalAddress = (string)n["sim_uri"]; | ||
90 | neighbour.SimUUID = (string)n["uuid"]; | 86 | neighbour.SimUUID = (string)n["uuid"]; |
91 | 87 | ||
92 | neighbours.Add(neighbour); | 88 | neighbours.Add(neighbour); |
diff --git a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj index 90a01b6..d6abd13 100644 --- a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj +++ b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj | |||
@@ -116,9 +116,6 @@ | |||
116 | </ProjectReference> | 116 | </ProjectReference> |
117 | </ItemGroup> | 117 | </ItemGroup> |
118 | <ItemGroup> | 118 | <ItemGroup> |
119 | <Compile Include="OGS1UserServices.cs"> | ||
120 | <SubType>Code</SubType> | ||
121 | </Compile> | ||
122 | <Compile Include="CommunicationsOGS1.cs"> | 119 | <Compile Include="CommunicationsOGS1.cs"> |
123 | <SubType>Code</SubType> | 120 | <SubType>Code</SubType> |
124 | </Compile> | 121 | </Compile> |
@@ -128,6 +125,9 @@ | |||
128 | <Compile Include="OGS1InterSimComms.cs"> | 125 | <Compile Include="OGS1InterSimComms.cs"> |
129 | <SubType>Code</SubType> | 126 | <SubType>Code</SubType> |
130 | </Compile> | 127 | </Compile> |
128 | <Compile Include="OGS1UserServices.cs"> | ||
129 | <SubType>Code</SubType> | ||
130 | </Compile> | ||
131 | <Compile Include="Properties\AssemblyInfo.cs"> | 131 | <Compile Include="Properties\AssemblyInfo.cs"> |
132 | <SubType>Code</SubType> | 132 | <SubType>Code</SubType> |
133 | </Compile> | 133 | </Compile> |
diff --git a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build index 960a84a..04d61b9 100644 --- a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build +++ b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build | |||
@@ -11,10 +11,10 @@ | |||
11 | <resources prefix="OpenSim.Region.Communications.OGS1" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Communications.OGS1" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="OGS1UserServices.cs" /> | ||
15 | <include name="CommunicationsOGS1.cs" /> | 14 | <include name="CommunicationsOGS1.cs" /> |
16 | <include name="OGS1GridServices.cs" /> | 15 | <include name="OGS1GridServices.cs" /> |
17 | <include name="OGS1InterSimComms.cs" /> | 16 | <include name="OGS1InterSimComms.cs" /> |
17 | <include name="OGS1UserServices.cs" /> | ||
18 | <include name="Properties/AssemblyInfo.cs" /> | 18 | <include name="Properties/AssemblyInfo.cs" /> |
19 | </sources> | 19 | </sources> |
20 | <references basedir="${project::get-base-directory()}"> | 20 | <references basedir="${project::get-base-directory()}"> |
diff --git a/OpenSim/Region/Environment/OpenSim.Region.Environment.csproj b/OpenSim/Region/Environment/OpenSim.Region.Environment.csproj index 6dabd05..428f381 100644 --- a/OpenSim/Region/Environment/OpenSim.Region.Environment.csproj +++ b/OpenSim/Region/Environment/OpenSim.Region.Environment.csproj | |||
@@ -144,55 +144,55 @@ | |||
144 | </ProjectReference> | 144 | </ProjectReference> |
145 | </ItemGroup> | 145 | </ItemGroup> |
146 | <ItemGroup> | 146 | <ItemGroup> |
147 | <Compile Include="RegionManager.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> |
153 | <Compile Include="ParcelManager.cs"> | 150 | <Compile Include="ParcelManager.cs"> |
154 | <SubType>Code</SubType> | 151 | <SubType>Code</SubType> |
155 | </Compile> | 152 | </Compile> |
153 | <Compile Include="RegionManager.cs"> | ||
154 | <SubType>Code</SubType> | ||
155 | </Compile> | ||
156 | <Compile Include="Scenes\Entity.cs"> | 156 | <Compile Include="Scenes\Entity.cs"> |
157 | <SubType>Code</SubType> | 157 | <SubType>Code</SubType> |
158 | </Compile> | 158 | </Compile> |
159 | <Compile Include="Scenes\Scene.cs"> | 159 | <Compile Include="Scenes\IScenePresenceBody.cs"> |
160 | <SubType>Code</SubType> | 160 | <SubType>Code</SubType> |
161 | </Compile> | 161 | </Compile> |
162 | <Compile Include="Scenes\ScenePresence.Body.cs"> | 162 | <Compile Include="Scenes\Primitive.cs"> |
163 | <SubType>Code</SubType> | 163 | <SubType>Code</SubType> |
164 | </Compile> | 164 | </Compile> |
165 | <Compile Include="Scenes\SceneEvents.cs"> | 165 | <Compile Include="Scenes\Scene.cs"> |
166 | <SubType>Code</SubType> | 166 | <SubType>Code</SubType> |
167 | </Compile> | 167 | </Compile> |
168 | <Compile Include="Scenes\ScenePresence.cs"> | 168 | <Compile Include="Scenes\Scene.PacketHandlers.cs"> |
169 | <SubType>Code</SubType> | 169 | <SubType>Code</SubType> |
170 | </Compile> | 170 | </Compile> |
171 | <Compile Include="Scenes\ScenePresence.Animations.cs"> | 171 | <Compile Include="Scenes\SceneBase.cs"> |
172 | <SubType>Code</SubType> | 172 | <SubType>Code</SubType> |
173 | </Compile> | 173 | </Compile> |
174 | <Compile Include="Scenes\Scene.PacketHandlers.cs"> | 174 | <Compile Include="Scenes\SceneEvents.cs"> |
175 | <SubType>Code</SubType> | 175 | <SubType>Code</SubType> |
176 | </Compile> | 176 | </Compile> |
177 | <Compile Include="Scenes\SceneObject.cs"> | 177 | <Compile Include="Scenes\SceneObject.cs"> |
178 | <SubType>Code</SubType> | 178 | <SubType>Code</SubType> |
179 | </Compile> | 179 | </Compile> |
180 | <Compile Include="Scenes\Primitive.cs"> | 180 | <Compile Include="Scenes\ScenePresence.Animations.cs"> |
181 | <SubType>Code</SubType> | 181 | <SubType>Code</SubType> |
182 | </Compile> | 182 | </Compile> |
183 | <Compile Include="Scenes\SceneBase.cs"> | 183 | <Compile Include="Scenes\ScenePresence.Body.cs"> |
184 | <SubType>Code</SubType> | 184 | <SubType>Code</SubType> |
185 | </Compile> | 185 | </Compile> |
186 | <Compile Include="Scenes\IScenePresenceBody.cs"> | 186 | <Compile Include="Scenes\ScenePresence.cs"> |
187 | <SubType>Code</SubType> | 187 | <SubType>Code</SubType> |
188 | </Compile> | 188 | </Compile> |
189 | <Compile Include="Scenes\scripting\ScriptManager.cs"> | 189 | <Compile Include="Scenes\scripting\Script.cs"> |
190 | <SubType>Code</SubType> | 190 | <SubType>Code</SubType> |
191 | </Compile> | 191 | </Compile> |
192 | <Compile Include="Scenes\scripting\ScriptInfo.cs"> | 192 | <Compile Include="Scenes\scripting\ScriptInfo.cs"> |
193 | <SubType>Code</SubType> | 193 | <SubType>Code</SubType> |
194 | </Compile> | 194 | </Compile> |
195 | <Compile Include="Scenes\scripting\Script.cs"> | 195 | <Compile Include="Scenes\scripting\ScriptManager.cs"> |
196 | <SubType>Code</SubType> | 196 | <SubType>Code</SubType> |
197 | </Compile> | 197 | </Compile> |
198 | <Compile Include="Scenes\scripting\Engines\CSharpScriptEngine.cs"> | 198 | <Compile Include="Scenes\scripting\Engines\CSharpScriptEngine.cs"> |
diff --git a/OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build b/OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build index eb26ea0..2fa5e76 100644 --- a/OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build +++ b/OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build | |||
@@ -11,23 +11,23 @@ | |||
11 | <resources prefix="OpenSim.Region.Environment" 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="RegionManager.cs" /> | ||
15 | <include name="EstateManager.cs" /> | 14 | <include name="EstateManager.cs" /> |
16 | <include name="ParcelManager.cs" /> | 15 | <include name="ParcelManager.cs" /> |
16 | <include name="RegionManager.cs" /> | ||
17 | <include name="Scenes/Entity.cs" /> | 17 | <include name="Scenes/Entity.cs" /> |
18 | <include name="Scenes/IScenePresenceBody.cs" /> | ||
19 | <include name="Scenes/Primitive.cs" /> | ||
18 | <include name="Scenes/Scene.cs" /> | 20 | <include name="Scenes/Scene.cs" /> |
19 | <include name="Scenes/ScenePresence.Body.cs" /> | ||
20 | <include name="Scenes/SceneEvents.cs" /> | ||
21 | <include name="Scenes/ScenePresence.cs" /> | ||
22 | <include name="Scenes/ScenePresence.Animations.cs" /> | ||
23 | <include name="Scenes/Scene.PacketHandlers.cs" /> | 21 | <include name="Scenes/Scene.PacketHandlers.cs" /> |
24 | <include name="Scenes/SceneObject.cs" /> | ||
25 | <include name="Scenes/Primitive.cs" /> | ||
26 | <include name="Scenes/SceneBase.cs" /> | 22 | <include name="Scenes/SceneBase.cs" /> |
27 | <include name="Scenes/IScenePresenceBody.cs" /> | 23 | <include name="Scenes/SceneEvents.cs" /> |
28 | <include name="Scenes/scripting/ScriptManager.cs" /> | 24 | <include name="Scenes/SceneObject.cs" /> |
29 | <include name="Scenes/scripting/ScriptInfo.cs" /> | 25 | <include name="Scenes/ScenePresence.Animations.cs" /> |
26 | <include name="Scenes/ScenePresence.Body.cs" /> | ||
27 | <include name="Scenes/ScenePresence.cs" /> | ||
30 | <include name="Scenes/scripting/Script.cs" /> | 28 | <include name="Scenes/scripting/Script.cs" /> |
29 | <include name="Scenes/scripting/ScriptInfo.cs" /> | ||
30 | <include name="Scenes/scripting/ScriptManager.cs" /> | ||
31 | <include name="Scenes/scripting/Engines/CSharpScriptEngine.cs" /> | 31 | <include name="Scenes/scripting/Engines/CSharpScriptEngine.cs" /> |
32 | <include name="Scenes/scripting/Engines/JScriptEngine.cs" /> | 32 | <include name="Scenes/scripting/Engines/JScriptEngine.cs" /> |
33 | </sources> | 33 | </sources> |
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 8c912d0..d5406b6 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -493,19 +493,19 @@ namespace OpenSim.Region.Environment.Scenes | |||
493 | /// <param name="remoteClient"></param | 493 | /// <param name="remoteClient"></param |
494 | /// <param name="agentID"></param> | 494 | /// <param name="agentID"></param> |
495 | /// <param name="child"></param> | 495 | /// <param name="child"></param> |
496 | public override void AddNewClient(IClientAPI remoteClient, LLUUID agentID, bool child) | 496 | public override void AddNewClient(IClientAPI client, bool child) |
497 | { | 497 | { |
498 | remoteClient.OnRegionHandShakeReply += this.SendLayerData; | 498 | client.OnRegionHandShakeReply += this.SendLayerData; |
499 | //remoteClient.OnRequestWearables += new GenericCall(this.GetInitialPrims); | 499 | //remoteClient.OnRequestWearables += new GenericCall(this.GetInitialPrims); |
500 | remoteClient.OnChatFromViewer += this.SimChat; | 500 | client.OnChatFromViewer += this.SimChat; |
501 | remoteClient.OnRequestWearables += this.InformClientOfNeighbours; | 501 | client.OnRequestWearables += this.InformClientOfNeighbours; |
502 | remoteClient.OnAddPrim += this.AddNewPrim; | 502 | client.OnAddPrim += this.AddNewPrim; |
503 | remoteClient.OnUpdatePrimPosition += this.UpdatePrimPosition; | 503 | client.OnUpdatePrimPosition += this.UpdatePrimPosition; |
504 | remoteClient.OnRequestMapBlocks += this.RequestMapBlocks; | 504 | client.OnRequestMapBlocks += this.RequestMapBlocks; |
505 | remoteClient.OnTeleportLocationRequest += this.RequestTeleportLocation; | 505 | client.OnTeleportLocationRequest += this.RequestTeleportLocation; |
506 | //remoteClient.OnObjectSelect += this.SelectPrim; | 506 | //remoteClient.OnObjectSelect += this.SelectPrim; |
507 | remoteClient.OnGrapUpdate += this.MoveObject; | 507 | client.OnGrapUpdate += this.MoveObject; |
508 | remoteClient.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest; | 508 | client.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest; |
509 | 509 | ||
510 | /* remoteClient.OnParcelPropertiesRequest += new ParcelPropertiesRequest(parcelManager.handleParcelPropertiesRequest); | 510 | /* remoteClient.OnParcelPropertiesRequest += new ParcelPropertiesRequest(parcelManager.handleParcelPropertiesRequest); |
511 | remoteClient.OnParcelDivideRequest += new ParcelDivideRequest(parcelManager.handleParcelDivideRequest); | 511 | remoteClient.OnParcelDivideRequest += new ParcelDivideRequest(parcelManager.handleParcelDivideRequest); |
@@ -513,19 +513,21 @@ namespace OpenSim.Region.Environment.Scenes | |||
513 | remoteClient.OnParcelPropertiesUpdateRequest += new ParcelPropertiesUpdateRequest(parcelManager.handleParcelPropertiesUpdateRequest); | 513 | remoteClient.OnParcelPropertiesUpdateRequest += new ParcelPropertiesUpdateRequest(parcelManager.handleParcelPropertiesUpdateRequest); |
514 | remoteClient.OnEstateOwnerMessage += new EstateOwnerMessageRequest(estateManager.handleEstateOwnerMessage); | 514 | remoteClient.OnEstateOwnerMessage += new EstateOwnerMessageRequest(estateManager.handleEstateOwnerMessage); |
515 | */ | 515 | */ |
516 | 516 | this.estateManager.sendRegionHandshake(client); | |
517 | |||
518 | CreateAndAddScenePresence(client); | ||
519 | return; | ||
520 | } | ||
521 | |||
522 | protected void CreateAndAddScenePresence(IClientAPI client) | ||
523 | { | ||
517 | ScenePresence newAvatar = null; | 524 | ScenePresence newAvatar = null; |
518 | try | ||
519 | { | ||
520 | 525 | ||
521 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent"); | 526 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent"); |
522 | newAvatar = new ScenePresence(remoteClient, this, this.m_regInfo); | 527 | newAvatar = new ScenePresence(client, this, this.m_regInfo); |
523 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Adding new avatar to world"); | 528 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Adding new avatar to world"); |
524 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Starting RegionHandshake "); | 529 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Starting RegionHandshake "); |
525 | 530 | ||
526 | //newAvatar.SendRegionHandshake(); | ||
527 | this.estateManager.sendRegionHandshake(remoteClient); | ||
528 | |||
529 | PhysicsVector pVec = new PhysicsVector(newAvatar.Pos.X, newAvatar.Pos.Y, newAvatar.Pos.Z); | 531 | PhysicsVector pVec = new PhysicsVector(newAvatar.Pos.X, newAvatar.Pos.Y, newAvatar.Pos.Z); |
530 | lock (this.m_syncRoot) | 532 | lock (this.m_syncRoot) |
531 | { | 533 | { |
@@ -534,36 +536,29 @@ namespace OpenSim.Region.Environment.Scenes | |||
534 | 536 | ||
535 | lock (Entities) | 537 | lock (Entities) |
536 | { | 538 | { |
537 | if (!Entities.ContainsKey(agentID)) | 539 | if (!Entities.ContainsKey(client.AgentId)) |
538 | { | 540 | { |
539 | this.Entities.Add(agentID, newAvatar); | 541 | this.Entities.Add(client.AgentId, newAvatar); |
540 | } | 542 | } |
541 | else | 543 | else |
542 | { | 544 | { |
543 | Entities[agentID] = newAvatar; | 545 | Entities[client.AgentId] = newAvatar; |
544 | } | 546 | } |
545 | } | 547 | } |
546 | lock (Avatars) | 548 | lock (Avatars) |
547 | { | 549 | { |
548 | if (Avatars.ContainsKey(agentID)) | 550 | if (Avatars.ContainsKey(client.AgentId)) |
549 | { | 551 | { |
550 | Avatars[agentID] = newAvatar; | 552 | Avatars[client.AgentId] = newAvatar; |
551 | } | 553 | } |
552 | else | 554 | else |
553 | { | 555 | { |
554 | this.Avatars.Add(agentID, newAvatar); | 556 | this.Avatars.Add(client.AgentId, newAvatar); |
555 | } | 557 | } |
556 | } | 558 | } |
557 | } | ||
558 | catch (Exception e) | ||
559 | { | ||
560 | OpenSim.Framework.Console.MainLog.Instance.Warn("World.cs: AddViewerAgent() - Failed with exception " + e.ToString()); | ||
561 | } | ||
562 | return; | ||
563 | } | 559 | } |
564 | 560 | ||
565 | 561 | ||
566 | |||
567 | /// <summary> | 562 | /// <summary> |
568 | /// | 563 | /// |
569 | /// </summary> | 564 | /// </summary> |
@@ -642,8 +637,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
642 | this.regionCommsHost = this.commsManager.GridServer.RegisterRegion(this.m_regInfo,gridSettings); | 637 | this.regionCommsHost = this.commsManager.GridServer.RegisterRegion(this.m_regInfo,gridSettings); |
643 | if (this.regionCommsHost != null) | 638 | if (this.regionCommsHost != null) |
644 | { | 639 | { |
645 | this.regionCommsHost.OnExpectUser += new ExpectUserDelegate(this.NewUserConnection); | 640 | this.regionCommsHost.OnExpectUser += this.NewUserConnection; |
646 | this.regionCommsHost.OnAvatarCrossingIntoRegion += new AgentCrossing(this.AgentCrossing); | 641 | this.regionCommsHost.OnAvatarCrossingIntoRegion += this.AgentCrossing; |
647 | } | 642 | } |
648 | } | 643 | } |
649 | 644 | ||
diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs index 50d3b82..e06acbd 100644 --- a/OpenSim/Region/Environment/Scenes/SceneBase.cs +++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs | |||
@@ -148,7 +148,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
148 | /// <param name="remoteClient"></param> | 148 | /// <param name="remoteClient"></param> |
149 | /// <param name="agentID"></param> | 149 | /// <param name="agentID"></param> |
150 | /// <param name="child"></param> | 150 | /// <param name="child"></param> |
151 | public abstract void AddNewClient(IClientAPI remoteClient, LLUUID agentID, bool child); | 151 | public abstract void AddNewClient(IClientAPI client, bool child); |
152 | 152 | ||
153 | /// <summary> | 153 | /// <summary> |
154 | /// | 154 | /// |
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index 89f39d3..fe1fc16 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs | |||
@@ -44,7 +44,7 @@ namespace SimpleApp | |||
44 | 44 | ||
45 | #region IWorld Members | 45 | #region IWorld Members |
46 | 46 | ||
47 | override public void AddNewClient(IClientAPI client, LLUUID agentID, bool child) | 47 | override public void AddNewClient(IClientAPI client, bool child) |
48 | 48 | ||
49 | { | 49 | { |
50 | LLVector3 pos = new LLVector3(128, 128, 128); | 50 | LLVector3 pos = new LLVector3(128, 128, 128); |
@@ -59,7 +59,13 @@ namespace SimpleApp | |||
59 | }; | 59 | }; |
60 | 60 | ||
61 | client.OnRequestWearables += SendWearables; | 61 | client.OnRequestWearables += SendWearables; |
62 | 62 | client.OnAddPrim += AddNewPrim; | |
63 | client.OnUpdatePrimPosition += this.UpdatePrimPosition; | ||
64 | client.OnRequestMapBlocks += this.RequestMapBlocks; | ||
65 | client.OnTeleportLocationRequest += this.RequestTeleportLocation; | ||
66 | client.OnGrapUpdate += this.MoveObject; | ||
67 | client.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest; | ||
68 | |||
63 | client.OnCompleteMovementToRegion += delegate() | 69 | client.OnCompleteMovementToRegion += delegate() |
64 | { | 70 | { |
65 | client.MoveAgentIntoRegion(m_regionInfo, pos, LLVector3.Zero ); | 71 | client.MoveAgentIntoRegion(m_regionInfo, pos, LLVector3.Zero ); |
@@ -76,7 +82,7 @@ namespace SimpleApp | |||
76 | 82 | ||
77 | client.SendRegionHandshake(m_regionInfo); | 83 | client.SendRegionHandshake(m_regionInfo); |
78 | 84 | ||
79 | OpenSim.Region.Environment.Scenes.ScenePresence avatar = new Avatar( client, this, m_regionInfo ); | 85 | CreateAndAddScenePresence(client); |
80 | 86 | ||
81 | } | 87 | } |
82 | 88 | ||
@@ -85,12 +91,6 @@ namespace SimpleApp | |||
85 | client.SendWearables( AvatarWearable.DefaultWearables ); | 91 | client.SendWearables( AvatarWearable.DefaultWearables ); |
86 | } | 92 | } |
87 | 93 | ||
88 | |||
89 | override public void RemoveClient(LLUUID agentID) | ||
90 | { | ||
91 | |||
92 | } | ||
93 | |||
94 | public RegionInfo RegionInfo | 94 | public RegionInfo RegionInfo |
95 | { | 95 | { |
96 | get { return m_regionInfo; } | 96 | get { return m_regionInfo; } |
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 4060d68..0d5b4b3 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -14,6 +14,7 @@ using OpenSim.Region.Caches; | |||
14 | using OpenSim.Framework.Communications; | 14 | using OpenSim.Framework.Communications; |
15 | using OpenSim.Region.Communications.Local; | 15 | using OpenSim.Region.Communications.Local; |
16 | using OpenSim.Region.ClientStack; | 16 | using OpenSim.Region.ClientStack; |
17 | using OpenSim.Region.Physics.BasicPhysicsPlugin; | ||
17 | 18 | ||
18 | namespace SimpleApp | 19 | namespace SimpleApp |
19 | { | 20 | { |
@@ -32,11 +33,7 @@ namespace SimpleApp | |||
32 | 33 | ||
33 | string simAddr = "127.0.0.1"; | 34 | string simAddr = "127.0.0.1"; |
34 | int simPort = 9000; | 35 | int simPort = 9000; |
35 | /* | 36 | |
36 | LoginServer loginServer = new LoginServer( simAddr, simPort, 0, 0, false ); | ||
37 | loginServer.Startup(); | ||
38 | loginServer.SetSessionHandler( AddNewSessionHandler );*/ | ||
39 | |||
40 | m_circuitManager = new AuthenticateSessionsBase(); | 37 | m_circuitManager = new AuthenticateSessionsBase(); |
41 | 38 | ||
42 | InventoryCache inventoryCache = new InventoryCache(); | 39 | InventoryCache inventoryCache = new InventoryCache(); |
@@ -53,18 +50,17 @@ namespace SimpleApp | |||
53 | 50 | ||
54 | ClientView.TerrainManager = new TerrainManager(new SecondLife()); | 51 | ClientView.TerrainManager = new TerrainManager(new SecondLife()); |
55 | 52 | ||
56 | CommunicationsManager communicationsManager = new CommunicationsLocal(null); | 53 | NetworkServersInfo serverInfo = new NetworkServersInfo(); |
54 | CommunicationsLocal communicationsManager = new CommunicationsLocal(serverInfo); | ||
55 | |||
56 | RegionInfo regionInfo = new RegionInfo( 1000, 1000, simAddr, simPort, simAddr ); | ||
57 | 57 | ||
58 | RegionInfo regionInfo = new RegionInfo( ); | ||
59 | BaseHttpServer httpServer = new BaseHttpServer(simPort); | 58 | BaseHttpServer httpServer = new BaseHttpServer(simPort); |
60 | udpServer.LocalWorld = new MyWorld( packetServer.ClientAPIs, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer ); | 59 | MyWorld world = new MyWorld(packetServer.ClientAPIs, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer); |
61 | 60 | world.PhysScene = new BasicScene(); | |
62 | // World world = new World(udpServer.PacketServer.ClientAPIs, regionInfo); | 61 | udpServer.LocalWorld = world; |
63 | // PhysicsScene physicsScene = new NullPhysicsScene(); | ||
64 | // world.PhysicsScene = physicsScene; | ||
65 | // udpServer.LocalWorld = world; | ||
66 | 62 | ||
67 | // httpServer.AddXmlRPCHandler( "login_to_simulator", loginServer.XmlRpcLoginMethod ); | 63 | httpServer.AddXmlRPCHandler("login_to_simulator", communicationsManager.UserServices.XmlRpcLoginMethod ); |
68 | httpServer.Start(); | 64 | httpServer.Start(); |
69 | 65 | ||
70 | m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); | 66 | m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); |
diff --git a/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj b/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj index 0a82172..d39d091 100644 --- a/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj +++ b/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj | |||
@@ -104,6 +104,12 @@ | |||
104 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 104 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
105 | <Private>False</Private> | 105 | <Private>False</Private> |
106 | </ProjectReference> | 106 | </ProjectReference> |
107 | <ProjectReference Include="..\..\..\Framework\UserManager\OpenSim.Framework.UserManagement.csproj"> | ||
108 | <Name>OpenSim.Framework.UserManagement</Name> | ||
109 | <Project>{586E2916-0000-0000-0000-000000000000}</Project> | ||
110 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
111 | <Private>False</Private> | ||
112 | </ProjectReference> | ||
107 | <ProjectReference Include="..\..\Caches\OpenSim.Region.Caches.csproj"> | 113 | <ProjectReference Include="..\..\Caches\OpenSim.Region.Caches.csproj"> |
108 | <Name>OpenSim.Region.Caches</Name> | 114 | <Name>OpenSim.Region.Caches</Name> |
109 | <Project>{61FCCDB3-0000-0000-0000-000000000000}</Project> | 115 | <Project>{61FCCDB3-0000-0000-0000-000000000000}</Project> |
@@ -134,6 +140,18 @@ | |||
134 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 140 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
135 | <Private>False</Private> | 141 | <Private>False</Private> |
136 | </ProjectReference> | 142 | </ProjectReference> |
143 | <ProjectReference Include="..\..\Physics\BasicPhysicsPlugin\OpenSim.Region.Physics.BasicPhysicsPlugin.csproj"> | ||
144 | <Name>OpenSim.Region.Physics.BasicPhysicsPlugin</Name> | ||
145 | <Project>{15B4FEF3-0000-0000-0000-000000000000}</Project> | ||
146 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
147 | <Private>False</Private> | ||
148 | </ProjectReference> | ||
149 | <ProjectReference Include="..\..\Physics\Manager\OpenSim.Region.Physics.Manager.csproj"> | ||
150 | <Name>OpenSim.Region.Physics.Manager</Name> | ||
151 | <Project>{F4FF31EB-0000-0000-0000-000000000000}</Project> | ||
152 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
153 | <Private>False</Private> | ||
154 | </ProjectReference> | ||
137 | </ItemGroup> | 155 | </ItemGroup> |
138 | <ItemGroup> | 156 | <ItemGroup> |
139 | <Compile Include="MyWorld.cs"> | 157 | <Compile Include="MyWorld.cs"> |
diff --git a/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build b/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build index f8896fa..db44992 100644 --- a/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build +++ b/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build | |||
@@ -25,11 +25,14 @@ | |||
25 | <include name="../../../../bin/OpenSim.Framework.Communications.dll" /> | 25 | <include name="../../../../bin/OpenSim.Framework.Communications.dll" /> |
26 | <include name="../../../../bin/OpenSim.Framework.Console.dll" /> | 26 | <include name="../../../../bin/OpenSim.Framework.Console.dll" /> |
27 | <include name="../../../../bin/OpenSim.Framework.Servers.dll" /> | 27 | <include name="../../../../bin/OpenSim.Framework.Servers.dll" /> |
28 | <include name="../../../../bin/OpenSim.Framework.UserManagement.dll" /> | ||
28 | <include name="../../../../bin/OpenSim.Region.Caches.dll" /> | 29 | <include name="../../../../bin/OpenSim.Region.Caches.dll" /> |
29 | <include name="../../../../bin/OpenSim.Region.ClientStack.dll" /> | 30 | <include name="../../../../bin/OpenSim.Region.ClientStack.dll" /> |
30 | <include name="../../../../bin/OpenSim.Region.Communications.Local.dll" /> | 31 | <include name="../../../../bin/OpenSim.Region.Communications.Local.dll" /> |
31 | <include name="../../../../bin/OpenSim.Region.Environment.dll" /> | 32 | <include name="../../../../bin/OpenSim.Region.Environment.dll" /> |
32 | <include name="../../../../bin/OpenSim.Region.GridInterfaces.Local.dll" /> | 33 | <include name="../../../../bin/OpenSim.Region.GridInterfaces.Local.dll" /> |
34 | <include name="../../../../bin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll" /> | ||
35 | <include name="../../../../bin/OpenSim.Region.Physics.Manager.dll" /> | ||
33 | <include name="System.dll" /> | 36 | <include name="System.dll" /> |
34 | <include name="System.Data.dll.dll" /> | 37 | <include name="System.Data.dll.dll" /> |
35 | <include name="System.Xml.dll" /> | 38 | <include name="System.Xml.dll" /> |
diff --git a/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj index 716fd57..147158c 100644 --- a/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj +++ b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj | |||
@@ -93,6 +93,9 @@ | |||
93 | <Compile Include="AssemblyInfo.cs"> | 93 | <Compile Include="AssemblyInfo.cs"> |
94 | <SubType>Code</SubType> | 94 | <SubType>Code</SubType> |
95 | </Compile> | 95 | </Compile> |
96 | <Compile Include="Db4LocalStorage.cs"> | ||
97 | <SubType>Code</SubType> | ||
98 | </Compile> | ||
96 | <Compile Include="MapStorage.cs"> | 99 | <Compile Include="MapStorage.cs"> |
97 | <SubType>Code</SubType> | 100 | <SubType>Code</SubType> |
98 | </Compile> | 101 | </Compile> |
@@ -102,9 +105,6 @@ | |||
102 | <Compile Include="UUIDPrimQuery.cs"> | 105 | <Compile Include="UUIDPrimQuery.cs"> |
103 | <SubType>Code</SubType> | 106 | <SubType>Code</SubType> |
104 | </Compile> | 107 | </Compile> |
105 | <Compile Include="Db4LocalStorage.cs"> | ||
106 | <SubType>Code</SubType> | ||
107 | </Compile> | ||
108 | </ItemGroup> | 108 | </ItemGroup> |
109 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | 109 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> |
110 | <PropertyGroup> | 110 | <PropertyGroup> |
diff --git a/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build index 112ff1c..fc9f055 100644 --- a/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build +++ b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build | |||
@@ -12,10 +12,10 @@ | |||
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="AssemblyInfo.cs" /> | 14 | <include name="AssemblyInfo.cs" /> |
15 | <include name="Db4LocalStorage.cs" /> | ||
15 | <include name="MapStorage.cs" /> | 16 | <include name="MapStorage.cs" /> |
16 | <include name="UUIDParcelQuery.cs" /> | 17 | <include name="UUIDParcelQuery.cs" /> |
17 | <include name="UUIDPrimQuery.cs" /> | 18 | <include name="UUIDPrimQuery.cs" /> |
18 | <include name="Db4LocalStorage.cs" /> | ||
19 | </sources> | 19 | </sources> |
20 | <references basedir="${project::get-base-directory()}"> | 20 | <references basedir="${project::get-base-directory()}"> |
21 | <lib> | 21 | <lib> |
diff --git a/Prebuild/src/Prebuild.csproj b/Prebuild/src/Prebuild.csproj index f332827..c8b859c 100644 --- a/Prebuild/src/Prebuild.csproj +++ b/Prebuild/src/Prebuild.csproj | |||
@@ -83,6 +83,9 @@ | |||
83 | <Compile Include="Prebuild.cs"> | 83 | <Compile Include="Prebuild.cs"> |
84 | <SubType>Code</SubType> | 84 | <SubType>Code</SubType> |
85 | </Compile> | 85 | </Compile> |
86 | <Compile Include="Core\FatalException.cs"> | ||
87 | <SubType>Code</SubType> | ||
88 | </Compile> | ||
86 | <Compile Include="Core\Kernel.cs"> | 89 | <Compile Include="Core\Kernel.cs"> |
87 | <SubType>Code</SubType> | 90 | <SubType>Code</SubType> |
88 | </Compile> | 91 | </Compile> |
@@ -92,25 +95,19 @@ | |||
92 | <Compile Include="Core\WarningException.cs"> | 95 | <Compile Include="Core\WarningException.cs"> |
93 | <SubType>Code</SubType> | 96 | <SubType>Code</SubType> |
94 | </Compile> | 97 | </Compile> |
95 | <Compile Include="Core\FatalException.cs"> | 98 | <Compile Include="Core\Attributes\DataNodeAttribute.cs"> |
96 | <SubType>Code</SubType> | ||
97 | </Compile> | ||
98 | <Compile Include="Core\Interfaces\ITarget.cs"> | ||
99 | <SubType>Code</SubType> | ||
100 | </Compile> | ||
101 | <Compile Include="Core\Interfaces\IDataNode.cs"> | ||
102 | <SubType>Code</SubType> | 99 | <SubType>Code</SubType> |
103 | </Compile> | 100 | </Compile> |
104 | <Compile Include="Core\Attributes\OptionNodeAttribute.cs"> | 101 | <Compile Include="Core\Attributes\OptionNodeAttribute.cs"> |
105 | <SubType>Code</SubType> | 102 | <SubType>Code</SubType> |
106 | </Compile> | 103 | </Compile> |
107 | <Compile Include="Core\Attributes\DataNodeAttribute.cs"> | 104 | <Compile Include="Core\Attributes\TargetAttribute.cs"> |
108 | <SubType>Code</SubType> | 105 | <SubType>Code</SubType> |
109 | </Compile> | 106 | </Compile> |
110 | <Compile Include="Core\Attributes\TargetAttribute.cs"> | 107 | <Compile Include="Core\Interfaces\IDataNode.cs"> |
111 | <SubType>Code</SubType> | 108 | <SubType>Code</SubType> |
112 | </Compile> | 109 | </Compile> |
113 | <Compile Include="Core\Nodes\ProjectNode.cs"> | 110 | <Compile Include="Core\Interfaces\ITarget.cs"> |
114 | <SubType>Code</SubType> | 111 | <SubType>Code</SubType> |
115 | </Compile> | 112 | </Compile> |
116 | <Compile Include="Core\Nodes\ConfigurationNode.cs"> | 113 | <Compile Include="Core\Nodes\ConfigurationNode.cs"> |
@@ -122,73 +119,76 @@ | |||
122 | <Compile Include="Core\Nodes\ExcludeNode.cs"> | 119 | <Compile Include="Core\Nodes\ExcludeNode.cs"> |
123 | <SubType>Code</SubType> | 120 | <SubType>Code</SubType> |
124 | </Compile> | 121 | </Compile> |
125 | <Compile Include="Core\Nodes\OptionsNode.cs"> | 122 | <Compile Include="Core\Nodes\FileNode.cs"> |
126 | <SubType>Code</SubType> | 123 | <SubType>Code</SubType> |
127 | </Compile> | 124 | </Compile> |
128 | <Compile Include="Core\Nodes\ReferencePathNode.cs"> | 125 | <Compile Include="Core\Nodes\FilesNode.cs"> |
129 | <SubType>Code</SubType> | 126 | <SubType>Code</SubType> |
130 | </Compile> | 127 | </Compile> |
131 | <Compile Include="Core\Nodes\MatchNode.cs"> | 128 | <Compile Include="Core\Nodes\MatchNode.cs"> |
132 | <SubType>Code</SubType> | 129 | <SubType>Code</SubType> |
133 | </Compile> | 130 | </Compile> |
134 | <Compile Include="Core\Nodes\SolutionNode.cs"> | 131 | <Compile Include="Core\Nodes\OptionsNode.cs"> |
135 | <SubType>Code</SubType> | 132 | <SubType>Code</SubType> |
136 | </Compile> | 133 | </Compile> |
137 | <Compile Include="Core\Nodes\ProcessNode.cs"> | 134 | <Compile Include="Core\Nodes\ProcessNode.cs"> |
138 | <SubType>Code</SubType> | 135 | <SubType>Code</SubType> |
139 | </Compile> | 136 | </Compile> |
137 | <Compile Include="Core\Nodes\ProjectNode.cs"> | ||
138 | <SubType>Code</SubType> | ||
139 | </Compile> | ||
140 | <Compile Include="Core\Nodes\ReferenceNode.cs"> | 140 | <Compile Include="Core\Nodes\ReferenceNode.cs"> |
141 | <SubType>Code</SubType> | 141 | <SubType>Code</SubType> |
142 | </Compile> | 142 | </Compile> |
143 | <Compile Include="Core\Nodes\FileNode.cs"> | 143 | <Compile Include="Core\Nodes\ReferencePathNode.cs"> |
144 | <SubType>Code</SubType> | 144 | <SubType>Code</SubType> |
145 | </Compile> | 145 | </Compile> |
146 | <Compile Include="Core\Nodes\FilesNode.cs"> | 146 | <Compile Include="Core\Nodes\SolutionNode.cs"> |
147 | <SubType>Code</SubType> | 147 | <SubType>Code</SubType> |
148 | </Compile> | 148 | </Compile> |
149 | <Compile Include="Core\Targets\DebugTarget.cs"> | 149 | <Compile Include="Core\Parse\IfContext.cs"> |
150 | <SubType>Code</SubType> | 150 | <SubType>Code</SubType> |
151 | </Compile> | 151 | </Compile> |
152 | <Compile Include="Core\Targets\MonoDevelopTarget.cs"> | 152 | <Compile Include="Core\Parse\Preprocessor.cs"> |
153 | <SubType>Code</SubType> | 153 | <SubType>Code</SubType> |
154 | </Compile> | 154 | </Compile> |
155 | <Compile Include="Core\Targets\AutotoolsTarget.cs"> | 155 | <Compile Include="Core\Targets\AutotoolsTarget.cs"> |
156 | <SubType>Code</SubType> | 156 | <SubType>Code</SubType> |
157 | </Compile> | 157 | </Compile> |
158 | <Compile Include="Core\Targets\SharpDevelopTarget.cs"> | 158 | <Compile Include="Core\Targets\DebugTarget.cs"> |
159 | <SubType>Code</SubType> | 159 | <SubType>Code</SubType> |
160 | </Compile> | 160 | </Compile> |
161 | <Compile Include="Core\Targets\VS2002Target.cs"> | 161 | <Compile Include="Core\Targets\MonoDevelopTarget.cs"> |
162 | <SubType>Code</SubType> | 162 | <SubType>Code</SubType> |
163 | </Compile> | 163 | </Compile> |
164 | <Compile Include="Core\Targets\VS2003Target.cs"> | 164 | <Compile Include="Core\Targets\NAntTarget.cs"> |
165 | <SubType>Code</SubType> | 165 | <SubType>Code</SubType> |
166 | </Compile> | 166 | </Compile> |
167 | <Compile Include="Core\Targets\SharpDevelop2Target.cs"> | 167 | <Compile Include="Core\Targets\SharpDevelop2Target.cs"> |
168 | <SubType>Code</SubType> | 168 | <SubType>Code</SubType> |
169 | </Compile> | 169 | </Compile> |
170 | <Compile Include="Core\Targets\VS2005Target.cs"> | 170 | <Compile Include="Core\Targets\SharpDevelopTarget.cs"> |
171 | <SubType>Code</SubType> | 171 | <SubType>Code</SubType> |
172 | </Compile> | 172 | </Compile> |
173 | <Compile Include="Core\Targets\NAntTarget.cs"> | 173 | <Compile Include="Core\Targets\VS2002Target.cs"> |
174 | <SubType>Code</SubType> | 174 | <SubType>Code</SubType> |
175 | </Compile> | 175 | </Compile> |
176 | <Compile Include="Core\Parse\IfContext.cs"> | 176 | <Compile Include="Core\Targets\VS2003Target.cs"> |
177 | <SubType>Code</SubType> | 177 | <SubType>Code</SubType> |
178 | </Compile> | 178 | </Compile> |
179 | <Compile Include="Core\Parse\Preprocessor.cs"> | 179 | <Compile Include="Core\Targets\VS2005Target.cs"> |
180 | <SubType>Code</SubType> | 180 | <SubType>Code</SubType> |
181 | </Compile> | 181 | </Compile> |
182 | <Compile Include="Core\Utilities\Helper.cs"> | 182 | <Compile Include="Core\Utilities\CommandLineCollection.cs"> |
183 | <SubType>Code</SubType> | 183 | <SubType>Code</SubType> |
184 | </Compile> | 184 | </Compile> |
185 | <Compile Include="Core\Utilities\Log.cs"> | 185 | <Compile Include="Core\Utilities\CurrentDirectory.cs"> |
186 | <SubType>Code</SubType> | 186 | <SubType>Code</SubType> |
187 | </Compile> | 187 | </Compile> |
188 | <Compile Include="Core\Utilities\CommandLineCollection.cs"> | 188 | <Compile Include="Core\Utilities\Helper.cs"> |
189 | <SubType>Code</SubType> | 189 | <SubType>Code</SubType> |
190 | </Compile> | 190 | </Compile> |
191 | <Compile Include="Core\Utilities\CurrentDirectory.cs"> | 191 | <Compile Include="Core\Utilities\Log.cs"> |
192 | <SubType>Code</SubType> | 192 | <SubType>Code</SubType> |
193 | </Compile> | 193 | </Compile> |
194 | <Compile Include="Properties\AssemblyInfo.cs"> | 194 | <Compile Include="Properties\AssemblyInfo.cs"> |
diff --git a/Prebuild/src/Prebuild.exe.build b/Prebuild/src/Prebuild.exe.build index 52dd1a7..2851125 100644 --- a/Prebuild/src/Prebuild.exe.build +++ b/Prebuild/src/Prebuild.exe.build | |||
@@ -14,42 +14,42 @@ | |||
14 | </resources> | 14 | </resources> |
15 | <sources failonempty="true"> | 15 | <sources failonempty="true"> |
16 | <include name="Prebuild.cs" /> | 16 | <include name="Prebuild.cs" /> |
17 | <include name="Core/FatalException.cs" /> | ||
17 | <include name="Core/Kernel.cs" /> | 18 | <include name="Core/Kernel.cs" /> |
18 | <include name="Core/UnknownLanguageException.cs" /> | 19 | <include name="Core/UnknownLanguageException.cs" /> |
19 | <include name="Core/WarningException.cs" /> | 20 | <include name="Core/WarningException.cs" /> |
20 | <include name="Core/FatalException.cs" /> | ||
21 | <include name="Core/Interfaces/ITarget.cs" /> | ||
22 | <include name="Core/Interfaces/IDataNode.cs" /> | ||
23 | <include name="Core/Attributes/OptionNodeAttribute.cs" /> | ||
24 | <include name="Core/Attributes/DataNodeAttribute.cs" /> | 21 | <include name="Core/Attributes/DataNodeAttribute.cs" /> |
22 | <include name="Core/Attributes/OptionNodeAttribute.cs" /> | ||
25 | <include name="Core/Attributes/TargetAttribute.cs" /> | 23 | <include name="Core/Attributes/TargetAttribute.cs" /> |
26 | <include name="Core/Nodes/ProjectNode.cs" /> | 24 | <include name="Core/Interfaces/IDataNode.cs" /> |
25 | <include name="Core/Interfaces/ITarget.cs" /> | ||
27 | <include name="Core/Nodes/ConfigurationNode.cs" /> | 26 | <include name="Core/Nodes/ConfigurationNode.cs" /> |
28 | <include name="Core/Nodes/DataNode.cs" /> | 27 | <include name="Core/Nodes/DataNode.cs" /> |
29 | <include name="Core/Nodes/ExcludeNode.cs" /> | 28 | <include name="Core/Nodes/ExcludeNode.cs" /> |
30 | <include name="Core/Nodes/OptionsNode.cs" /> | 29 | <include name="Core/Nodes/FileNode.cs" /> |
31 | <include name="Core/Nodes/ReferencePathNode.cs" /> | 30 | <include name="Core/Nodes/FilesNode.cs" /> |
32 | <include name="Core/Nodes/MatchNode.cs" /> | 31 | <include name="Core/Nodes/MatchNode.cs" /> |
33 | <include name="Core/Nodes/SolutionNode.cs" /> | 32 | <include name="Core/Nodes/OptionsNode.cs" /> |
34 | <include name="Core/Nodes/ProcessNode.cs" /> | 33 | <include name="Core/Nodes/ProcessNode.cs" /> |
34 | <include name="Core/Nodes/ProjectNode.cs" /> | ||
35 | <include name="Core/Nodes/ReferenceNode.cs" /> | 35 | <include name="Core/Nodes/ReferenceNode.cs" /> |
36 | <include name="Core/Nodes/FileNode.cs" /> | 36 | <include name="Core/Nodes/ReferencePathNode.cs" /> |
37 | <include name="Core/Nodes/FilesNode.cs" /> | 37 | <include name="Core/Nodes/SolutionNode.cs" /> |
38 | <include name="Core/Parse/IfContext.cs" /> | ||
39 | <include name="Core/Parse/Preprocessor.cs" /> | ||
40 | <include name="Core/Targets/AutotoolsTarget.cs" /> | ||
38 | <include name="Core/Targets/DebugTarget.cs" /> | 41 | <include name="Core/Targets/DebugTarget.cs" /> |
39 | <include name="Core/Targets/MonoDevelopTarget.cs" /> | 42 | <include name="Core/Targets/MonoDevelopTarget.cs" /> |
40 | <include name="Core/Targets/AutotoolsTarget.cs" /> | 43 | <include name="Core/Targets/NAntTarget.cs" /> |
44 | <include name="Core/Targets/SharpDevelop2Target.cs" /> | ||
41 | <include name="Core/Targets/SharpDevelopTarget.cs" /> | 45 | <include name="Core/Targets/SharpDevelopTarget.cs" /> |
42 | <include name="Core/Targets/VS2002Target.cs" /> | 46 | <include name="Core/Targets/VS2002Target.cs" /> |
43 | <include name="Core/Targets/VS2003Target.cs" /> | 47 | <include name="Core/Targets/VS2003Target.cs" /> |
44 | <include name="Core/Targets/SharpDevelop2Target.cs" /> | ||
45 | <include name="Core/Targets/VS2005Target.cs" /> | 48 | <include name="Core/Targets/VS2005Target.cs" /> |
46 | <include name="Core/Targets/NAntTarget.cs" /> | ||
47 | <include name="Core/Parse/IfContext.cs" /> | ||
48 | <include name="Core/Parse/Preprocessor.cs" /> | ||
49 | <include name="Core/Utilities/Helper.cs" /> | ||
50 | <include name="Core/Utilities/Log.cs" /> | ||
51 | <include name="Core/Utilities/CommandLineCollection.cs" /> | 49 | <include name="Core/Utilities/CommandLineCollection.cs" /> |
52 | <include name="Core/Utilities/CurrentDirectory.cs" /> | 50 | <include name="Core/Utilities/CurrentDirectory.cs" /> |
51 | <include name="Core/Utilities/Helper.cs" /> | ||
52 | <include name="Core/Utilities/Log.cs" /> | ||
53 | <include name="Properties/AssemblyInfo.cs" /> | 53 | <include name="Properties/AssemblyInfo.cs" /> |
54 | </sources> | 54 | </sources> |
55 | <references basedir="${project::get-base-directory()}"> | 55 | <references basedir="${project::get-base-directory()}"> |
diff --git a/prebuild.xml b/prebuild.xml index 6cf8bd8..feab3ee 100644 --- a/prebuild.xml +++ b/prebuild.xml | |||
@@ -707,6 +707,9 @@ | |||
707 | 707 | ||
708 | <Reference name="OpenSim.Framework.Console"/> | 708 | <Reference name="OpenSim.Framework.Console"/> |
709 | <Reference name="OpenSim.Framework"/> | 709 | <Reference name="OpenSim.Framework"/> |
710 | <Reference name="OpenSim.Framework.UserManagement"/> | ||
711 | <Reference name="OpenSim.Region.Physics.Manager"/> | ||
712 | <Reference name="OpenSim.Region.Physics.BasicPhysicsPlugin"/> | ||
710 | <Reference name="XMLRPC.dll"/> | 713 | <Reference name="XMLRPC.dll"/> |
711 | <Reference name="OpenSim.Region.GridInterfaces.Local"/> | 714 | <Reference name="OpenSim.Region.GridInterfaces.Local"/> |
712 | <Reference name="OpenSim.Framework.Servers"/> | 715 | <Reference name="OpenSim.Framework.Servers"/> |