Update svn properties, formatting cleanup.

This commit is contained in:
Jeff Ames
2008-09-09 01:26:48 +00:00
parent 3e1441afe1
commit fae34bb10c
41 changed files with 838 additions and 831 deletions

View File

@@ -6,11 +6,11 @@ namespace OpenSim.Framework.Communications.Cache
public class FileAssetClient : AssetServerBase
{
private readonly string m_dir;
private readonly XmlSerializer m_xs = new XmlSerializer(typeof(AssetBase));
private readonly XmlSerializer m_xs = new XmlSerializer(typeof(AssetBase));
public FileAssetClient(string dir)
{
if(!Directory.Exists(dir))
if (!Directory.Exists(dir))
{
Directory.CreateDirectory(dir);
}

View File

@@ -74,7 +74,7 @@ namespace OpenSim.Framework.Communications
}
/// <summary>
/// Customises the login response and fills in missing values. This method also tells the login region to
/// Customises the login response and fills in missing values. This method also tells the login region to
/// expect a client connection.
/// </summary>
/// <param name="response">The existing response</param>
@@ -89,7 +89,7 @@ namespace OpenSim.Framework.Communications
public virtual void LogOffUser(UserProfileData theUser, string message)
{
}
/// <summary>
/// Get the initial login inventory skeleton (in other words, the folder structure) for the given user.
/// </summary>
@@ -298,7 +298,7 @@ namespace OpenSim.Framework.Communications
m_log.DebugFormat(
"[LOGIN END]: XMLRPC Authentication of user {0} {1} successful. Sending response to client.",
firstname, lastname);
return logResponse.ToXmlRpcResponse();
}
else

View File

@@ -325,7 +325,7 @@ namespace OpenSim.Framework
ulong ActiveGroupPowers { get; }
ulong GetGroupPowers(UUID groupID);
ulong GetGroupPowers(UUID groupID);
string FirstName { get; }

View File

@@ -737,11 +737,11 @@ namespace OpenSim.Framework
/// The extracted ulong
/// </returns>
public static ulong BytesToUInt64Big(byte[] bytes) {
if(bytes.Length < 8) return 0;
if (bytes.Length < 8) return 0;
return ((ulong)bytes[0] << 56) | ((ulong)bytes[1] << 48) | ((ulong)bytes[2] << 40) | ((ulong)bytes[3] << 32) |
((ulong)bytes[4] << 24) | ((ulong)bytes[5] << 16) | ((ulong)bytes[6] << 8) | (ulong)bytes[7];
}
// used for RemoteParcelRequest (for "About Landmark")
public static UUID BuildFakeParcelID(ulong regionHandle, uint x, uint y) {
byte[] bytes = {