aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorBlueWall2011-12-07 07:52:24 -0500
committerBlueWall2011-12-07 07:52:24 -0500
commit6ec59ee892c03ede9c83b5a0916f7fcfa5bbff13 (patch)
tree6a71504761c3bfc1fedcf77d6c8467330e874fe1 /OpenSim/Region
parentMerge branch 'master' of /home/opensim/var/repo/opensim (diff)
parentStop accidentally setting up the UploadTexture caps handler with the same url... (diff)
downloadopensim-SC_OLD-6ec59ee892c03ede9c83b5a0916f7fcfa5bbff13.zip
opensim-SC_OLD-6ec59ee892c03ede9c83b5a0916f7fcfa5bbff13.tar.gz
opensim-SC_OLD-6ec59ee892c03ede9c83b5a0916f7fcfa5bbff13.tar.bz2
opensim-SC_OLD-6ec59ee892c03ede9c83b5a0916f7fcfa5bbff13.tar.xz
Merge branch 'master' of /home/opensim/var/repo/opensim
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs6
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs6
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs2
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs4
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs4
-rw-r--r--OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs4
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs2
-rw-r--r--OpenSim/Region/DataSnapshot/DataRequestHandler.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs2
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs146
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs6
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs6
-rw-r--r--OpenSim/Region/OptionalModules/World/WorldView/WorldViewRequestHandler.cs2
-rw-r--r--OpenSim/Region/UserStatistics/WebStatsModule.cs2
14 files changed, 152 insertions, 42 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 0a78df2..bae44ee 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -718,7 +718,7 @@ namespace OpenSim
718 public class SimStatusHandler : IStreamedRequestHandler 718 public class SimStatusHandler : IStreamedRequestHandler
719 { 719 {
720 public byte[] Handle(string path, Stream request, 720 public byte[] Handle(string path, Stream request,
721 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 721 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
722 { 722 {
723 return Util.UTF8.GetBytes("OK"); 723 return Util.UTF8.GetBytes("OK");
724 } 724 }
@@ -755,7 +755,7 @@ namespace OpenSim
755 } 755 }
756 756
757 public byte[] Handle(string path, Stream request, 757 public byte[] Handle(string path, Stream request,
758 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 758 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
759 { 759 {
760 return Util.UTF8.GetBytes(m_opensim.StatReport(httpRequest)); 760 return Util.UTF8.GetBytes(m_opensim.StatReport(httpRequest));
761 } 761 }
@@ -796,7 +796,7 @@ namespace OpenSim
796 } 796 }
797 797
798 public byte[] Handle(string path, Stream request, 798 public byte[] Handle(string path, Stream request,
799 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 799 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
800 { 800 {
801 return Util.UTF8.GetBytes(m_opensim.StatReport(httpRequest)); 801 return Util.UTF8.GetBytes(m_opensim.StatReport(httpRequest));
802 } 802 }
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
index 98dda36..2347cf2 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
@@ -223,7 +223,7 @@ namespace OpenSim.Region.ClientStack.Linden
223 /// <param name="httpResponse">HTTP response header object</param> 223 /// <param name="httpResponse">HTTP response header object</param>
224 /// <returns></returns> 224 /// <returns></returns>
225 public string SeedCapRequest(string request, string path, string param, 225 public string SeedCapRequest(string request, string path, string param,
226 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 226 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
227 { 227 {
228// m_log.Debug("[CAPS]: Seed Caps Request in region: " + m_regionName); 228// m_log.Debug("[CAPS]: Seed Caps Request in region: " + m_regionName);
229 229
@@ -256,7 +256,7 @@ namespace OpenSim.Region.ClientStack.Linden
256 /// <param name="httpResponse">HTTP response header object</param> 256 /// <param name="httpResponse">HTTP response header object</param>
257 /// <returns></returns> 257 /// <returns></returns>
258 public string ScriptTaskInventory(string request, string path, string param, 258 public string ScriptTaskInventory(string request, string path, string param,
259 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 259 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
260 { 260 {
261 try 261 try
262 { 262 {
@@ -685,7 +685,7 @@ namespace OpenSim.Region.ClientStack.Linden
685 /// <param name="param"></param> 685 /// <param name="param"></param>
686 /// <returns></returns> 686 /// <returns></returns>
687 public string NoteCardAgentInventory(string request, string path, string param, 687 public string NoteCardAgentInventory(string request, string path, string param,
688 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 688 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
689 { 689 {
690 //m_log.Debug("[CAPS]: NoteCardAgentInventory Request in region: " + m_regionName + "\n" + request); 690 //m_log.Debug("[CAPS]: NoteCardAgentInventory Request in region: " + m_regionName + "\n" + request);
691 //m_log.Debug("[CAPS]: NoteCardAgentInventory Request is: " + request); 691 //m_log.Debug("[CAPS]: NoteCardAgentInventory Request is: " + request);
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs
index e61815f..45d6071 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs
@@ -104,7 +104,7 @@ namespace OpenSim.Region.ClientStack.Linden
104 "UploadBakedTexture", 104 "UploadBakedTexture",
105 new RestStreamHandler( 105 new RestStreamHandler(
106 "POST", 106 "POST",
107 "/CAPS/" + m_uploadBakedTexturePath, 107 "/CAPS/" + caps.CapsObjectPath + m_uploadBakedTexturePath,
108 new UploadBakedTextureHandler( 108 new UploadBakedTextureHandler(
109 caps, m_scene.AssetService, m_persistBakedTextures).UploadBakedTexture)); 109 caps, m_scene.AssetService, m_persistBakedTextures).UploadBakedTexture));
110 } 110 }
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs
index 1b53a42..637beef 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs
@@ -54,8 +54,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
54 m_FriendsModule = fmodule; 54 m_FriendsModule = fmodule;
55 } 55 }
56 56
57 public override byte[] Handle(string path, Stream requestData, 57 public override byte[] Handle(
58 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 58 string path, Stream requestData, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
59 { 59 {
60 StreamReader sr = new StreamReader(requestData); 60 StreamReader sr = new StreamReader(requestData);
61 string body = sr.ReadToEnd(); 61 string body = sr.ReadToEnd();
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 2117827..94bba83 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -1421,7 +1421,7 @@ namespace OpenSim.Region.CoreModules.World.Land
1421 caps.RegisterHandler("RemoteParcelRequest", 1421 caps.RegisterHandler("RemoteParcelRequest",
1422 new RestStreamHandler("POST", capsBase + remoteParcelRequestPath, 1422 new RestStreamHandler("POST", capsBase + remoteParcelRequestPath,
1423 delegate(string request, string path, string param, 1423 delegate(string request, string path, string param,
1424 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 1424 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
1425 { 1425 {
1426 return RemoteParcelRequest(request, path, param, agentID, caps); 1426 return RemoteParcelRequest(request, path, param, agentID, caps);
1427 })); 1427 }));
@@ -1429,7 +1429,7 @@ namespace OpenSim.Region.CoreModules.World.Land
1429 caps.RegisterHandler("ParcelPropertiesUpdate", 1429 caps.RegisterHandler("ParcelPropertiesUpdate",
1430 new RestStreamHandler("POST", "/CAPS/" + parcelCapID, 1430 new RestStreamHandler("POST", "/CAPS/" + parcelCapID,
1431 delegate(string request, string path, string param, 1431 delegate(string request, string path, string param,
1432 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 1432 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
1433 { 1433 {
1434 return ProcessPropertiesUpdate(request, path, param, agentID, caps); 1434 return ProcessPropertiesUpdate(request, path, param, agentID, caps);
1435 })); 1435 }));
diff --git a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs
index 898ca4a..5239f50 100644
--- a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs
+++ b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs
@@ -293,7 +293,7 @@ namespace OpenSim.Region.CoreModules.World.Media.Moap
293 /// <param name="httpResponse"></param> 293 /// <param name="httpResponse"></param>
294 /// <returns></returns> 294 /// <returns></returns>
295 protected string HandleObjectMediaMessage( 295 protected string HandleObjectMediaMessage(
296 string request, string path, string param, OSHttpRequest httpRequest, OSHttpResponse httpResponse) 296 string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
297 { 297 {
298// m_log.DebugFormat("[MOAP]: Got ObjectMedia path [{0}], raw request [{1}]", path, request); 298// m_log.DebugFormat("[MOAP]: Got ObjectMedia path [{0}], raw request [{1}]", path, request);
299 299
@@ -474,7 +474,7 @@ namespace OpenSim.Region.CoreModules.World.Media.Moap
474 /// <param name="httpResponse">/param> 474 /// <param name="httpResponse">/param>
475 /// <returns></returns> 475 /// <returns></returns>
476 protected string HandleObjectMediaNavigateMessage( 476 protected string HandleObjectMediaNavigateMessage(
477 string request, string path, string param, OSHttpRequest httpRequest, OSHttpResponse httpResponse) 477 string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
478 { 478 {
479// m_log.DebugFormat("[MOAP]: Got ObjectMediaNavigate request [{0}]", request); 479// m_log.DebugFormat("[MOAP]: Got ObjectMediaNavigate request [{0}]", request);
480 480
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
index 95c727f..9b0e2ff 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
@@ -193,7 +193,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
193 caps.RegisterHandler("MapLayer", 193 caps.RegisterHandler("MapLayer",
194 new RestStreamHandler("POST", capsBase + m_mapLayerPath, 194 new RestStreamHandler("POST", capsBase + m_mapLayerPath,
195 delegate(string request, string path, string param, 195 delegate(string request, string path, string param,
196 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 196 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
197 { 197 {
198 return MapLayerRequest(request, path, param, 198 return MapLayerRequest(request, path, param,
199 agentID, caps); 199 agentID, caps);
diff --git a/OpenSim/Region/DataSnapshot/DataRequestHandler.cs b/OpenSim/Region/DataSnapshot/DataRequestHandler.cs
index a505999..b760454 100644
--- a/OpenSim/Region/DataSnapshot/DataRequestHandler.cs
+++ b/OpenSim/Region/DataSnapshot/DataRequestHandler.cs
@@ -74,7 +74,7 @@ namespace OpenSim.Region.DataSnapshot
74 } 74 }
75 75
76 public string OnDiscoveryAttempt(string request, string path, string param, 76 public string OnDiscoveryAttempt(string request, string path, string param,
77 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 77 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
78 { 78 {
79 //Very static for now, flexible enough to add new formats 79 //Very static for now, flexible enough to add new formats
80 LLSDDiscoveryResponse llsd_response = new LLSDDiscoveryResponse(); 80 LLSDDiscoveryResponse llsd_response = new LLSDDiscoveryResponse();
diff --git a/OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs b/OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs
index 4578236..6c5685c 100644
--- a/OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs
+++ b/OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs
@@ -64,7 +64,7 @@ namespace OpenSim.Region.Framework.Scenes
64 osXStatsURI = Util.SHA1Hash(regionInfo.osSecret); 64 osXStatsURI = Util.SHA1Hash(regionInfo.osSecret);
65 } 65 }
66 66
67 public byte[] Handle(string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse) 67 public byte[] Handle(string path, Stream request, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
68 { 68 {
69 return Util.UTF8.GetBytes(Report()); 69 return Util.UTF8.GetBytes(Report());
70 } 70 }
diff --git a/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs b/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs
index 28f04b3..89704d5 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs
@@ -48,10 +48,12 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
48 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "AppearanceInfoModule")] 48 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "AppearanceInfoModule")]
49 public class AppearanceInfoModule : ISharedRegionModule 49 public class AppearanceInfoModule : ISharedRegionModule
50 { 50 {
51// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 51// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
52 52
53 protected Dictionary<UUID, Scene> m_scenes = new Dictionary<UUID, Scene>(); 53 public const string SHOW_APPEARANCE_FORMAT = "{0,-9} {1}";
54 protected IAvatarFactoryModule m_avatarFactory; 54
55 private Dictionary<UUID, Scene> m_scenes = new Dictionary<UUID, Scene>();
56 private IAvatarFactoryModule m_avatarFactory;
55 57
56 public string Name { get { return "Appearance Information Module"; } } 58 public string Name { get { return "Appearance Information Module"; } }
57 59
@@ -90,46 +92,154 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
90// m_log.DebugFormat("[APPEARANCE INFO MODULE]: REGION {0} LOADED", scene.RegionInfo.RegionName); 92// m_log.DebugFormat("[APPEARANCE INFO MODULE]: REGION {0} LOADED", scene.RegionInfo.RegionName);
91 93
92 lock (m_scenes) 94 lock (m_scenes)
93 m_scenes[scene.RegionInfo.RegionID] = scene; 95 m_scenes[scene.RegionInfo.RegionID] = scene;
96
97 scene.AddCommand(
98 this, "show appearance",
99 "show appearance [<first-name> <last-name>]",
100 "Synonym for 'appearance show'",
101 HandleShowAppearanceCommand);
94 102
95 scene.AddCommand( 103 scene.AddCommand(
96 this, "appearance show", 104 this, "appearance show",
97 "appearance show", 105 "appearance show [<first-name> <last-name>]",
98 "Show appearance information for each avatar in the simulator.", 106 "Show appearance information for each avatar in the simulator.",
99 "At the moment this actually just checks that we have all the required baked textures. If not, then appearance is 'corrupt' and other avatars will continue to see a cloud.", 107 "This command checks whether the simulator has all the baked textures required to display an avatar to other viewers. "
100 ShowAppearanceInfo); 108 + "\nIf not, then appearance is 'corrupt' and other avatars will continue to see it as a cloud."
109 + "\nOptionally, you can view just a particular avatar's appearance information."
110 + "\nIn this case, the texture UUID for each bake type is also shown and whether the simulator can find the referenced texture.",
111 HandleShowAppearanceCommand);
101 112
102 scene.AddCommand( 113 scene.AddCommand(
103 this, "appearance send", 114 this, "appearance send",
104 "appearance send", 115 "appearance send [<first-name> <last-name>]",
105 "Send appearance data for each avatar in the simulator to viewers.", 116 "Send appearance data for each avatar in the simulator to other viewers.",
106 SendAppearance); 117 "Optionally, you can specify that only a particular avatar's appearance data is sent.",
118 HandleSendAppearanceCommand);
107 } 119 }
108 120
109 private void SendAppearance(string module, string[] cmd) 121 private void HandleSendAppearanceCommand(string module, string[] cmd)
110 { 122 {
123 if (cmd.Length != 2 && cmd.Length < 4)
124 {
125 MainConsole.Instance.OutputFormat("Usage: appearance send [<first-name> <last-name>]");
126 return;
127 }
128
129 bool targetNameSupplied = false;
130 string optionalTargetFirstName = null;
131 string optionalTargetLastName = null;
132
133 if (cmd.Length >= 4)
134 {
135 targetNameSupplied = true;
136 optionalTargetFirstName = cmd[2];
137 optionalTargetLastName = cmd[3];
138 }
139
111 lock (m_scenes) 140 lock (m_scenes)
112 { 141 {
113 foreach (Scene scene in m_scenes.Values) 142 foreach (Scene scene in m_scenes.Values)
114 { 143 {
115 scene.ForEachRootScenePresence(sp => scene.AvatarFactory.SendAppearance(sp.UUID)); 144 if (targetNameSupplied)
145 {
146 ScenePresence sp = scene.GetScenePresence(optionalTargetFirstName, optionalTargetLastName);
147 if (sp != null && !sp.IsChildAgent)
148 {
149 MainConsole.Instance.OutputFormat(
150 "Sending appearance information for {0} to all other avatars in {1}",
151 sp.Name, scene.RegionInfo.RegionName);
152
153 scene.AvatarFactory.SendAppearance(sp.UUID);
154 }
155 }
156 else
157 {
158 scene.ForEachRootScenePresence(
159 sp =>
160 {
161 MainConsole.Instance.OutputFormat(
162 "Sending appearance information for {0} to all other avatars in {1}",
163 sp.Name, scene.RegionInfo.RegionName);
164
165 scene.AvatarFactory.SendAppearance(sp.UUID);
166 }
167 );
168 }
116 } 169 }
117 } 170 }
118 } 171 }
119 172
120 protected void ShowAppearanceInfo(string module, string[] cmd) 173 protected void HandleShowAppearanceCommand(string module, string[] cmd)
121 { 174 {
175 if (cmd.Length != 2 && cmd.Length < 4)
176 {
177 MainConsole.Instance.OutputFormat("Usage: appearance show [<first-name> <last-name>]");
178 return;
179 }
180
181 bool targetNameSupplied = false;
182 string optionalTargetFirstName = null;
183 string optionalTargetLastName = null;
184
185 if (cmd.Length >= 4)
186 {
187 targetNameSupplied = true;
188 optionalTargetFirstName = cmd[2];
189 optionalTargetLastName = cmd[3];
190 }
191
122 lock (m_scenes) 192 lock (m_scenes)
123 { 193 {
124 foreach (Scene scene in m_scenes.Values) 194 foreach (Scene scene in m_scenes.Values)
125 { 195 {
126 scene.ForEachRootScenePresence( 196 if (targetNameSupplied)
127 delegate(ScenePresence sp) 197 {
198 ScenePresence sp = scene.GetScenePresence(optionalTargetFirstName, optionalTargetLastName);
199 if (sp != null && !sp.IsChildAgent)
128 { 200 {
201 MainConsole.Instance.OutputFormat("For {0} in {1}", sp.Name, scene.RegionInfo.RegionName);
202 MainConsole.Instance.OutputFormat(SHOW_APPEARANCE_FORMAT, "Bake Type", "UUID");
203
204 Dictionary<BakeType, Primitive.TextureEntryFace> bakedTextures
205 = scene.AvatarFactory.GetBakedTextureFaces(sp.UUID);
206 foreach (BakeType bt in bakedTextures.Keys)
207 {
208 string rawTextureID;
209
210 if (bakedTextures[bt] == null)
211 {
212 rawTextureID = "not set";
213 }
214 else
215 {
216 rawTextureID = bakedTextures[bt].TextureID.ToString();
217
218 if (scene.AssetService.Get(rawTextureID) == null)
219 rawTextureID += " (not found)";
220 else
221 rawTextureID += " (uploaded)";
222 }
223
224 MainConsole.Instance.OutputFormat(SHOW_APPEARANCE_FORMAT, bt, rawTextureID);
225 }
226
129 bool bakedTextureValid = scene.AvatarFactory.ValidateBakedTextureCache(sp); 227 bool bakedTextureValid = scene.AvatarFactory.ValidateBakedTextureCache(sp);
130 MainConsole.Instance.OutputFormat( 228 MainConsole.Instance.OutputFormat(
131 "{0} baked appearance texture is {1}", sp.Name, bakedTextureValid ? "OK" : "corrupt"); 229 "{0} baked appearance texture is {1}", sp.Name, bakedTextureValid ? "OK" : "corrupt");
132 }); 230 }
231 }
232 else
233 {
234 scene.ForEachRootScenePresence(
235 sp =>
236 {
237 bool bakedTextureValid = scene.AvatarFactory.ValidateBakedTextureCache(sp);
238 MainConsole.Instance.OutputFormat(
239 "{0} baked appearance texture is {1}", sp.Name, bakedTextureValid ? "OK" : "corrupt");
240 }
241 );
242 }
133 } 243 }
134 } 244 }
135 } 245 }
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
index a5bba4f..5323a95 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
@@ -309,7 +309,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
309 caps.RegisterHandler("ProvisionVoiceAccountRequest", 309 caps.RegisterHandler("ProvisionVoiceAccountRequest",
310 new RestStreamHandler("POST", capsBase + m_provisionVoiceAccountRequestPath, 310 new RestStreamHandler("POST", capsBase + m_provisionVoiceAccountRequestPath,
311 delegate(string request, string path, string param, 311 delegate(string request, string path, string param,
312 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 312 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
313 { 313 {
314 return ProvisionVoiceAccountRequest(scene, request, path, param, 314 return ProvisionVoiceAccountRequest(scene, request, path, param,
315 agentID, caps); 315 agentID, caps);
@@ -317,7 +317,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
317 caps.RegisterHandler("ParcelVoiceInfoRequest", 317 caps.RegisterHandler("ParcelVoiceInfoRequest",
318 new RestStreamHandler("POST", capsBase + m_parcelVoiceInfoRequestPath, 318 new RestStreamHandler("POST", capsBase + m_parcelVoiceInfoRequestPath,
319 delegate(string request, string path, string param, 319 delegate(string request, string path, string param,
320 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 320 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
321 { 321 {
322 return ParcelVoiceInfoRequest(scene, request, path, param, 322 return ParcelVoiceInfoRequest(scene, request, path, param,
323 agentID, caps); 323 agentID, caps);
@@ -325,7 +325,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
325 caps.RegisterHandler("ChatSessionRequest", 325 caps.RegisterHandler("ChatSessionRequest",
326 new RestStreamHandler("POST", capsBase + m_chatSessionRequestPath, 326 new RestStreamHandler("POST", capsBase + m_chatSessionRequestPath,
327 delegate(string request, string path, string param, 327 delegate(string request, string path, string param,
328 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 328 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
329 { 329 {
330 return ChatSessionRequest(scene, request, path, param, 330 return ChatSessionRequest(scene, request, path, param,
331 agentID, caps); 331 agentID, caps);
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs
index 534bf92..70e2f7e 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs
@@ -421,7 +421,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
421 caps.RegisterHandler("ProvisionVoiceAccountRequest", 421 caps.RegisterHandler("ProvisionVoiceAccountRequest",
422 new RestStreamHandler("POST", capsBase + m_provisionVoiceAccountRequestPath, 422 new RestStreamHandler("POST", capsBase + m_provisionVoiceAccountRequestPath,
423 delegate(string request, string path, string param, 423 delegate(string request, string path, string param,
424 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 424 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
425 { 425 {
426 return ProvisionVoiceAccountRequest(scene, request, path, param, 426 return ProvisionVoiceAccountRequest(scene, request, path, param,
427 agentID, caps); 427 agentID, caps);
@@ -429,7 +429,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
429 caps.RegisterHandler("ParcelVoiceInfoRequest", 429 caps.RegisterHandler("ParcelVoiceInfoRequest",
430 new RestStreamHandler("POST", capsBase + m_parcelVoiceInfoRequestPath, 430 new RestStreamHandler("POST", capsBase + m_parcelVoiceInfoRequestPath,
431 delegate(string request, string path, string param, 431 delegate(string request, string path, string param,
432 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 432 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
433 { 433 {
434 return ParcelVoiceInfoRequest(scene, request, path, param, 434 return ParcelVoiceInfoRequest(scene, request, path, param,
435 agentID, caps); 435 agentID, caps);
@@ -437,7 +437,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
437 caps.RegisterHandler("ChatSessionRequest", 437 caps.RegisterHandler("ChatSessionRequest",
438 new RestStreamHandler("POST", capsBase + m_chatSessionRequestPath, 438 new RestStreamHandler("POST", capsBase + m_chatSessionRequestPath,
439 delegate(string request, string path, string param, 439 delegate(string request, string path, string param,
440 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 440 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
441 { 441 {
442 return ChatSessionRequest(scene, request, path, param, 442 return ChatSessionRequest(scene, request, path, param,
443 agentID, caps); 443 agentID, caps);
diff --git a/OpenSim/Region/OptionalModules/World/WorldView/WorldViewRequestHandler.cs b/OpenSim/Region/OptionalModules/World/WorldView/WorldViewRequestHandler.cs
index f47d9c7..550b5d4 100644
--- a/OpenSim/Region/OptionalModules/World/WorldView/WorldViewRequestHandler.cs
+++ b/OpenSim/Region/OptionalModules/World/WorldView/WorldViewRequestHandler.cs
@@ -56,7 +56,7 @@ namespace OpenSim.Region.OptionalModules.World.WorldView
56 } 56 }
57 57
58 public override byte[] Handle(string path, Stream requestData, 58 public override byte[] Handle(string path, Stream requestData,
59 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 59 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
60 { 60 {
61 httpResponse.ContentType = "image/jpeg"; 61 httpResponse.ContentType = "image/jpeg";
62 62
diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs
index 0251ee8..fca9fd0 100644
--- a/OpenSim/Region/UserStatistics/WebStatsModule.cs
+++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs
@@ -306,7 +306,7 @@ namespace OpenSim.Region.UserStatistics
306 caps.RegisterHandler("ViewerStats", 306 caps.RegisterHandler("ViewerStats",
307 new RestStreamHandler("POST", capsPath, 307 new RestStreamHandler("POST", capsPath,
308 delegate(string request, string path, string param, 308 delegate(string request, string path, string param,
309 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 309 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
310 { 310 {
311 return ViewerStatsReport(request, path, param, 311 return ViewerStatsReport(request, path, param,
312 agentID, caps); 312 agentID, caps);