Commit Graph

11 Commits

Author SHA1 Message Date
John Hurliman
bad3108ddf * Renamed LLSD to OSD. The LLSD-specific (de)serialization functions have been renamed to specify they use LLSD. Other serialization formats will be added in the future, along with better native support for vectors and unsigned integers
* Added Utils.SHA1()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2321 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-30 01:50:59 +00:00
John Hurliman
3e5fcb7fab * Moving conversion functions from Helpers to Utils (in OpenMetaverseTypes)
* Added GetLLSD() and FromLLSD() to Permissions
* Started on inventory persistence for Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2267 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 22:34:38 +00:00
John Hurliman
f8d777b6a6 * Adding more conversion helpers to Helpers, these should always be used in place of BitConverter calls
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2266 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 21:46:02 +00:00
John Hurliman
2582304f4e * OnImageReceiveProgress now returns the packet number it just received
* Texture re-request timer will now reduce the DiscardLevel by one each re-request. This is temporary while we re-think the callback system for texture downloads
* TestClient downloadtexture now takes an optional DiscardLevel
* Added int support to Utils.Clamp()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2246 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-29 13:58:08 +00:00
John Hurliman
48aa4a6c19 * Encode uints as LLSDBinary instead of LLSDInteger so high values can be properly stored
* Added LLSD.ToObject() that does the opposite of LLSD.FromObject()
* Added LLSD.SerializeMembers() and LLSD.DeserializeMembers() to allow automatic serialization of simple container objects
* Fixed Utils.BytesToHexString() to not output trailing whitespace

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2236 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-23 23:26:39 +00:00
John Hurliman
8e70446f3c * Added Utils.CopyBytes() to OpenMetaverseTypes, should be used any time a byte array is grabbed from a packet member and directly assigned to another variable
* Moved Simulator enums (RegionFlags and SimAccess) into the main OpenMetaverse namespace
* More comments

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2233 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 15:05:14 +00:00
John Hurliman
5144fd6b32 * Added a null check in Utils.StringToBytes()
* Corrected Z position in Simian ObjectAddHandler

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2176 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 23:41:25 +00:00
John Hurliman
09582ed2b9 * Fixing several places where BytesToUIntBig() was being used because the endian order was wrong in that function. Now that the function is fixed, those places have been converted to using BytesToUInt()
* Implemented Utils.HexStringToBytes()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2145 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 20:01:16 +00:00
John Hurliman
ce77395ccf * Fixed an MD5Builder locking problem in Utils that was affecting UUID.Combine()
* Big-endian fix for converting a ulong to a UUID
* Fixed incorrect math in UUID.GetULong()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2122 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-19 23:18:21 +00:00
John Hurliman
91dccb39d8 Fixing Utils.Clamp() documentation
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2083 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-12 23:03:47 +00:00
John Hurliman
99239ebcfc * Splits libomv into OpenMetaverseTypes.dll and OpenMetaverse.dll
* All MathUtils and non-SL-specific Helpers functions have been put in OpenMetaverseTypes.dll inside the Utils class. Helpers only contains SL-specific functions now
* LLSD encoding/decoding for custom types has been moved out of the types and implemented as static functions in the LLSD class

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2082 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-12 22:38:02 +00:00