summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2008-04-08 21:04:41 +0000
committerLeyla Farazha <leyla@lindenlab.com>2008-04-08 21:04:41 +0000
commitb73ad517841cb428a395a6f49376d3bdc8e50f7e (patch)
tree3f69c38d1f540e5e97a537683369229ac6a77014
parentf5e386527c4a74e6e5733f4f1cfa55873851257e (diff)
svn merge -r84080:84255 svn+ssh://svn/svn/linden/branches/intermezzo-9
QAR-431
-rw-r--r--etc/message.xml9
-rw-r--r--indra/lib/python/indra/ipc/llsdhttp.py2
-rw-r--r--indra/llcommon/lllivefile.h2
-rw-r--r--indra/llmessage/llregionhandle.h2
-rw-r--r--indra/newview/llfloaterregioninfo.cpp3
-rw-r--r--scripts/messages/message_template.msg2
6 files changed, 17 insertions, 3 deletions
diff --git a/etc/message.xml b/etc/message.xml
index 331e6bb251..e4efeed05f 100644
--- a/etc/message.xml
+++ b/etc/message.xml
@@ -424,6 +424,15 @@
<key>trusted-sender</key>
<boolean>true</boolean>
</map>
+
+ <!-- Server to dataserver and client -->
+ <key>SimStats</key>
+ <map>
+ <key>flavor</key>
+ <string>llsd</string>
+ <key>trusted-sender</key>
+ <boolean>true</boolean>
+ </map>
<!-- UDPDeprecated Messages -->
<key>ScriptRunningReply</key>
diff --git a/indra/lib/python/indra/ipc/llsdhttp.py b/indra/lib/python/indra/ipc/llsdhttp.py
index eb9247da93..0561cfd520 100644
--- a/indra/lib/python/indra/ipc/llsdhttp.py
+++ b/indra/lib/python/indra/ipc/llsdhttp.py
@@ -34,7 +34,7 @@ from indra.base import llsd
from eventlet import httpc
-suite = httpc.HttpSuite(llsd.format_xml, llsd.parse, 'application/xml+llsd')
+suite = httpc.HttpSuite(llsd.format_xml, llsd.parse, 'application/llsd+xml')
delete = suite.delete
delete_ = suite.delete_
get = suite.get
diff --git a/indra/llcommon/lllivefile.h b/indra/llcommon/lllivefile.h
index 689590e324..7e24744491 100644
--- a/indra/llcommon/lllivefile.h
+++ b/indra/llcommon/lllivefile.h
@@ -32,6 +32,8 @@
#ifndef LL_LLLIVEFILE_H
#define LL_LLLIVEFILE_H
+const F32 configFileRefreshRate = 5.0; // seconds
+
class LLLiveFile
{
diff --git a/indra/llmessage/llregionhandle.h b/indra/llmessage/llregionhandle.h
index d9fcd82936..c1f0dec74e 100644
--- a/indra/llmessage/llregionhandle.h
+++ b/indra/llmessage/llregionhandle.h
@@ -115,7 +115,7 @@ inline LLVector3d from_region_handle(const U64 &region_handle)
// grid-based region handle encoding. pass in a grid position
// (eg: 1000,1000) and this will return the region handle.
-inline U64 grid_to_region_handle(U32 grid_x, U32 grid_y)
+inline U64 grid_to_region_handle(const U32 grid_x, const U32 grid_y)
{
return to_region_handle(grid_x * REGION_WIDTH_UNITS,
grid_y * REGION_WIDTH_UNITS);
diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp
index fa9c9c9374..9ff5739255 100644
--- a/indra/newview/llfloaterregioninfo.cpp
+++ b/indra/newview/llfloaterregioninfo.cpp
@@ -80,6 +80,8 @@
const S32 TERRAIN_TEXTURE_COUNT = 4;
const S32 CORNER_COUNT = 4;
+extern LLString gLastVersionChannel;
+
///----------------------------------------------------------------------------
/// Local class declaration
@@ -317,6 +319,7 @@ void LLFloaterRegionInfo::processRegionInfo(LLMessageSystem* msg)
// GENERAL PANEL
panel = tab->getChild<LLPanel>("General");
panel->childSetValue("region_text", LLSD(sim_name));
+ panel->childSetValue("version_channel_text", gLastVersionChannel);
panel->childSetValue("block_terraform_check", (region_flags & REGION_FLAGS_BLOCK_TERRAFORM) ? TRUE : FALSE );
panel->childSetValue("block_fly_check", (region_flags & REGION_FLAGS_BLOCK_FLY) ? TRUE : FALSE );
diff --git a/scripts/messages/message_template.msg b/scripts/messages/message_template.msg
index c5588f4301..761b6742db 100644
--- a/scripts/messages/message_template.msg
+++ b/scripts/messages/message_template.msg
@@ -2853,7 +2853,7 @@ version 2.0
// Simulator statistics packet (goes out to viewer and dataserver/spaceserver)
{
- SimStats Low 140 Trusted Unencoded
+ SimStats Low 140 Trusted Unencoded UDPDeprecated
{
Region Single
{ RegionX U32 }