diff options
author | Melanie | 2012-07-13 02:27:16 +0100 |
---|---|---|
committer | Melanie | 2012-07-13 02:27:16 +0100 |
commit | 64393a7ca89e2c7c6f032f9da096feb8db7fb24f (patch) | |
tree | 12e0aaae0401cde2e4310f25efa96a64559ae939 /OpenSim/Framework | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Remove a callstack print out I accidentally left in 2 commits ago in 9ccb578 (diff) | |
download | opensim-SC-64393a7ca89e2c7c6f032f9da096feb8db7fb24f.zip opensim-SC-64393a7ca89e2c7c6f032f9da096feb8db7fb24f.tar.gz opensim-SC-64393a7ca89e2c7c6f032f9da096feb8db7fb24f.tar.bz2 opensim-SC-64393a7ca89e2c7c6f032f9da096feb8db7fb24f.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/AgentCircuitData.cs | 5 | ||||
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 1 | ||||
-rw-r--r-- | OpenSim/Framework/Serialization/TarArchiveWriter.cs | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Util.cs | 1 |
4 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Framework/AgentCircuitData.cs b/OpenSim/Framework/AgentCircuitData.cs index 57fb808..ffcc584 100644 --- a/OpenSim/Framework/AgentCircuitData.cs +++ b/OpenSim/Framework/AgentCircuitData.cs | |||
@@ -99,6 +99,11 @@ namespace OpenSim.Framework | |||
99 | public string lastname; | 99 | public string lastname; |
100 | 100 | ||
101 | /// <summary> | 101 | /// <summary> |
102 | /// Agent's full name. | ||
103 | /// </summary> | ||
104 | public string Name { get { return string.Format("{0} {1}", firstname, lastname); } } | ||
105 | |||
106 | /// <summary> | ||
102 | /// Random Unique GUID for this session. Client gets this at login and it's | 107 | /// Random Unique GUID for this session. Client gets this at login and it's |
103 | /// only supposed to be disclosed over secure channels | 108 | /// only supposed to be disclosed over secure channels |
104 | /// </summary> | 109 | /// </summary> |
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 4b15325..58a65de 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -1369,7 +1369,6 @@ namespace OpenSim.Framework | |||
1369 | void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message); | 1369 | void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message); |
1370 | 1370 | ||
1371 | void SendLogoutPacket(); | 1371 | void SendLogoutPacket(); |
1372 | EndPoint GetClientEP(); | ||
1373 | 1372 | ||
1374 | // WARNING WARNING WARNING | 1373 | // WARNING WARNING WARNING |
1375 | // | 1374 | // |
diff --git a/OpenSim/Framework/Serialization/TarArchiveWriter.cs b/OpenSim/Framework/Serialization/TarArchiveWriter.cs index 122fa8e..2a3bc48 100644 --- a/OpenSim/Framework/Serialization/TarArchiveWriter.cs +++ b/OpenSim/Framework/Serialization/TarArchiveWriter.cs | |||
@@ -41,8 +41,6 @@ namespace OpenSim.Framework.Serialization | |||
41 | { | 41 | { |
42 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 42 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
43 | 43 | ||
44 | protected static UTF8Encoding m_utf8Encoding = new UTF8Encoding(); | ||
45 | |||
46 | /// <summary> | 44 | /// <summary> |
47 | /// Binary writer for the underlying stream | 45 | /// Binary writer for the underlying stream |
48 | /// </summary> | 46 | /// </summary> |
@@ -73,7 +71,7 @@ namespace OpenSim.Framework.Serialization | |||
73 | /// <param name="data"></param> | 71 | /// <param name="data"></param> |
74 | public void WriteFile(string filePath, string data) | 72 | public void WriteFile(string filePath, string data) |
75 | { | 73 | { |
76 | WriteFile(filePath, m_utf8Encoding.GetBytes(data)); | 74 | WriteFile(filePath, Util.UTF8NoBomEncoding.GetBytes(data)); |
77 | } | 75 | } |
78 | 76 | ||
79 | /// <summary> | 77 | /// <summary> |
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 30bbfd4..384f716 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -148,6 +148,7 @@ namespace OpenSim.Framework | |||
148 | } | 148 | } |
149 | 149 | ||
150 | public static Encoding UTF8 = Encoding.UTF8; | 150 | public static Encoding UTF8 = Encoding.UTF8; |
151 | public static Encoding UTF8NoBomEncoding = new UTF8Encoding(false); | ||
151 | 152 | ||
152 | /// <value> | 153 | /// <value> |
153 | /// Well known UUID for the blank texture used in the Linden SL viewer version 1.20 (and hopefully onwards) | 154 | /// Well known UUID for the blank texture used in the Linden SL viewer version 1.20 (and hopefully onwards) |