diff options
author | Melanie | 2011-02-07 22:28:59 +0000 |
---|---|---|
committer | Melanie | 2011-02-07 22:28:59 +0000 |
commit | 6becaf65e15e3fde2d910925b4f7ff09971121f3 (patch) | |
tree | 86ce8b674c9e1559e2b8763e847d2b99e920ef03 | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-6becaf65e15e3fde2d910925b4f7ff09971121f3.zip opensim-SC-6becaf65e15e3fde2d910925b4f7ff09971121f3.tar.gz opensim-SC-6becaf65e15e3fde2d910925b4f7ff09971121f3.tar.bz2 opensim-SC-6becaf65e15e3fde2d910925b4f7ff09971121f3.tar.xz |
Fix merge issues
Diffstat (limited to '')
4 files changed, 7 insertions, 68 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs index 68538c9..a71def7 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs | |||
@@ -128,11 +128,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
128 | + "<last> is the user's last name." + Environment.NewLine | 128 | + "<last> is the user's last name." + Environment.NewLine |
129 | + "<inventory path> is the path inside the user's inventory for the folder/item to be saved." + Environment.NewLine | 129 | + "<inventory path> is the path inside the user's inventory for the folder/item to be saved." + Environment.NewLine |
130 | + "-p|--profile=<url> adds the url of the profile service to the saved user information." + Environment.NewLine | 130 | + "-p|--profile=<url> adds the url of the profile service to the saved user information." + Environment.NewLine |
131 | <<<<<<< HEAD:OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs | ||
132 | ======= | ||
133 | + "-c|--creators preserves information about foreign creators." + Environment.NewLine | 131 | + "-c|--creators preserves information about foreign creators." + Environment.NewLine |
134 | + "-v|--verbose extra debug messages." + Environment.NewLine | 132 | + "-v|--verbose extra debug messages." + Environment.NewLine |
135 | >>>>>>> master:OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs | ||
136 | + "<IAR path> is the filesystem path at which to save the IAR." | 133 | + "<IAR path> is the filesystem path at which to save the IAR." |
137 | + string.Format(" If this is not given then the filename {0} in the current directory is used", DEFAULT_INV_BACKUP_FILENAME), | 134 | + string.Format(" If this is not given then the filename {0} in the current directory is used", DEFAULT_INV_BACKUP_FILENAME), |
138 | HandleSaveInvConsoleCommand); | 135 | HandleSaveInvConsoleCommand); |
@@ -399,11 +396,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
399 | OptionSet ops = new OptionSet(); | 396 | OptionSet ops = new OptionSet(); |
400 | //ops.Add("v|version=", delegate(string v) { options["version"] = v; }); | 397 | //ops.Add("v|version=", delegate(string v) { options["version"] = v; }); |
401 | ops.Add("p|profile=", delegate(string v) { options["profile"] = v; }); | 398 | ops.Add("p|profile=", delegate(string v) { options["profile"] = v; }); |
402 | <<<<<<< HEAD:OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs | ||
403 | ======= | ||
404 | ops.Add("v|verbose", delegate(string v) { options["verbose"] = v; }); | 399 | ops.Add("v|verbose", delegate(string v) { options["verbose"] = v; }); |
405 | ops.Add("c|creators", delegate(string v) { options["creators"] = v; }); | 400 | ops.Add("c|creators", delegate(string v) { options["creators"] = v; }); |
406 | >>>>>>> master:OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs | ||
407 | 401 | ||
408 | List<string> mainParams = ops.Parse(cmdparams); | 402 | List<string> mainParams = ops.Parse(cmdparams); |
409 | 403 | ||
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index e6ebc6e..673ea46 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1917,14 +1917,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1917 | 1917 | ||
1918 | protected void SetTexture(SceneObjectPart part, string texture, int face) | 1918 | protected void SetTexture(SceneObjectPart part, string texture, int face) |
1919 | { | 1919 | { |
1920 | <<<<<<< HEAD:OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | ||
1921 | if (part == null || part.ParentGroup == null || part.ParentGroup.IsDeleted) | 1920 | if (part == null || part.ParentGroup == null || part.ParentGroup.IsDeleted) |
1922 | return; | 1921 | return; |
1923 | 1922 | ||
1924 | UUID textureID=new UUID(); | ||
1925 | ======= | ||
1926 | UUID textureID = new UUID(); | 1923 | UUID textureID = new UUID(); |
1927 | >>>>>>> master:OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | ||
1928 | 1924 | ||
1929 | textureID = InventoryKey(texture, (int)AssetType.Texture); | 1925 | textureID = InventoryKey(texture, (int)AssetType.Texture); |
1930 | if (textureID == UUID.Zero) | 1926 | if (textureID == UUID.Zero) |
@@ -3346,15 +3342,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3346 | msg.dialog = (byte)19; // MessageFromObject | 3342 | msg.dialog = (byte)19; // MessageFromObject |
3347 | msg.fromGroup = false;// fromGroup; | 3343 | msg.fromGroup = false;// fromGroup; |
3348 | msg.offline = (byte)0; //offline; | 3344 | msg.offline = (byte)0; //offline; |
3349 | <<<<<<< HEAD:OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | ||
3350 | msg.ParentEstateID = World.RegionInfo.EstateSettings.EstateID; | 3345 | msg.ParentEstateID = World.RegionInfo.EstateSettings.EstateID; |
3351 | msg.Position = new Vector3(m_host.AbsolutePosition); | 3346 | msg.Position = new Vector3(m_host.AbsolutePosition); |
3352 | msg.RegionID = World.RegionInfo.RegionID.Guid; | 3347 | msg.RegionID = World.RegionInfo.RegionID.Guid; |
3353 | msg.binaryBucket = Util.StringToBytes256(m_host.OwnerID.ToString()); | ||
3354 | ======= | ||
3355 | msg.ParentEstateID = 0; //ParentEstateID; | ||
3356 | msg.Position = new Vector3(m_host.AbsolutePosition); | ||
3357 | msg.RegionID = World.RegionInfo.RegionID.Guid;//RegionID.Guid; | ||
3358 | msg.binaryBucket | 3348 | msg.binaryBucket |
3359 | = Util.StringToBytes256( | 3349 | = Util.StringToBytes256( |
3360 | "{0}/{1}/{2}/{3}", | 3350 | "{0}/{1}/{2}/{3}", |
@@ -3362,7 +3352,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3362 | (int)Math.Floor(m_host.AbsolutePosition.X), | 3352 | (int)Math.Floor(m_host.AbsolutePosition.X), |
3363 | (int)Math.Floor(m_host.AbsolutePosition.Y), | 3353 | (int)Math.Floor(m_host.AbsolutePosition.Y), |
3364 | (int)Math.Floor(m_host.AbsolutePosition.Z)); | 3354 | (int)Math.Floor(m_host.AbsolutePosition.Z)); |
3365 | >>>>>>> master:OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | ||
3366 | 3355 | ||
3367 | if (m_TransferModule != null) | 3356 | if (m_TransferModule != null) |
3368 | { | 3357 | { |
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index a6dc287..b33b0d5 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -110,14 +110,11 @@ namespace OpenSim.Server.Handlers.Simulation | |||
110 | DoAgentDelete(request, responsedata, agentID, action, regionID); | 110 | DoAgentDelete(request, responsedata, agentID, action, regionID); |
111 | return responsedata; | 111 | return responsedata; |
112 | } | 112 | } |
113 | <<<<<<< HEAD:OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | ||
114 | else if (method.Equals("DELETECHILD")) | 113 | else if (method.Equals("DELETECHILD")) |
115 | { | 114 | { |
116 | DoChildAgentDelete(request, responsedata, agentID, action, regionID); | 115 | DoChildAgentDelete(request, responsedata, agentID, action, regionID); |
117 | return responsedata; | 116 | return responsedata; |
118 | } | 117 | } |
119 | ======= | ||
120 | >>>>>>> master:OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | ||
121 | else if (method.Equals("QUERYACCESS")) | 118 | else if (method.Equals("QUERYACCESS")) |
122 | { | 119 | { |
123 | DoQueryAccess(request, responsedata, agentID, regionID); | 120 | DoQueryAccess(request, responsedata, agentID, regionID); |
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index 553c116..e0d8103 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs | |||
@@ -180,60 +180,19 @@ namespace OpenSim.Services.GridService | |||
180 | public GridRegion TryLinkRegionToCoords(UUID scopeID, string mapName, int xloc, int yloc, UUID ownerID, out string reason) | 180 | public GridRegion TryLinkRegionToCoords(UUID scopeID, string mapName, int xloc, int yloc, UUID ownerID, out string reason) |
181 | { | 181 | { |
182 | reason = string.Empty; | 182 | reason = string.Empty; |
183 | string host = "127.0.0.1"; | ||
184 | string portstr; | ||
185 | string regionName = ""; | ||
186 | uint port = 0; | 183 | uint port = 0; |
187 | string[] parts = mapName.Split(new char[] { ':' }); | 184 | string[] parts = mapName.Split(new char[] {':'}); |
188 | if (parts.Length >= 1) | 185 | string regionName = String.Empty; |
186 | if (parts.Length > 1) | ||
189 | { | 187 | { |
190 | host = parts[0]; | 188 | regionName = mapName.Substring(parts[0].Length + 1); |
189 | regionName = regionName.Trim(new char[] {'"'}); | ||
191 | } | 190 | } |
192 | if (parts.Length >= 2) | ||
193 | { | ||
194 | <<<<<<< HEAD:OpenSim/Services/GridService/HypergridLinker.cs | ||
195 | portstr = parts[1]; | ||
196 | //m_log.Debug("-- port = " + portstr); | ||
197 | if (!UInt32.TryParse(portstr, out port)) | ||
198 | regionName = parts[1]; | ||
199 | } | ||
200 | // always take the last one | ||
201 | if (parts.Length >= 3) | ||
202 | { | ||
203 | regionName = parts[2]; | ||
204 | } | ||
205 | |||
206 | //// Sanity check. | ||
207 | //try | ||
208 | //{ | ||
209 | // Util.GetHostFromDNS(host); | ||
210 | //} | ||
211 | //catch | ||
212 | //{ | ||
213 | // reason = "Malformed hostname"; | ||
214 | // return null; | ||
215 | //} | ||
216 | |||
217 | GridRegion regInfo; | 191 | GridRegion regInfo; |
218 | bool success = TryCreateLink(scopeID, xloc, yloc, regionName, port, host, ownerID, out regInfo, out reason); | 192 | if (TryCreateLink(scopeID, xloc, yloc, regionName, 0, null, parts[0], ownerID, out regInfo, out reason)) |
219 | if (success) | ||
220 | { | 193 | { |
221 | regInfo.RegionName = mapName; | 194 | regInfo.RegionName = mapName; |
222 | return regInfo; | 195 | return regInfo; |
223 | ======= | ||
224 | string[] parts = mapName.Split(new char[] {' '}); | ||
225 | string regionName = String.Empty; | ||
226 | if (parts.Length > 1) | ||
227 | { | ||
228 | regionName = mapName.Substring(parts[0].Length + 1); | ||
229 | regionName = regionName.Trim(new char[] {'"'}); | ||
230 | } | ||
231 | if (TryCreateLink(scopeID, xloc, yloc, regionName, 0, null, parts[0], ownerID, out regInfo, out reason)) | ||
232 | { | ||
233 | regInfo.RegionName = mapName; | ||
234 | return regInfo; | ||
235 | } | ||
236 | >>>>>>> master:OpenSim/Services/GridService/HypergridLinker.cs | ||
237 | } | 196 | } |
238 | 197 | ||
239 | return null; | 198 | return null; |