Commit Graph

7 Commits

Author SHA1 Message Date
John Hurliman
ac354b5fb0 * Cleaned up GetBytes/ToBytes in OMV types to eliminate duplicate code
* Fixed a typo in the previous commit for Utils.EmptyBytes
* Switched _Packets_.cs over to the new ToBytes() functions, should significantly reduce the number of temporary byte arrays allocated

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2471 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-06 01:55:22 +00:00
John Hurliman
0169177c99 * HttpServer fix for when a handler throws an exception but has already closed the response connection
* UUID.TryParse() on a null or empty string will now return false

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2275 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 20:07:24 +00:00
John Hurliman
4f94adf5ec * IMPORTANT OpenMetaverseTypes CHANGE! Changed string to UUID typecast operator from implicit to explicit. This prevents accidents like "if (myUUID == null)" from compiling
* Added ImageCodec enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2209 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-10 18:42:11 +00:00
John Hurliman
cfb75b85b0 * Fixed mapgenerator bug caused by types name change
* Fixed mapgenerator bug causing all packets to default to Unencoded
* Added Helpers.BytesToInt()
* Fixed endian problem in Helpers.BytesToUIntBig()
* Fixed LoginResponseData.ToXmlRpc() to return non-broken inventory skeleton
* Added EstateAssetType and TransferError enums
* Changed an Asset constructor to also take an AssetID

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2124 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-20 22:46:28 +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
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
John Hurliman
15f3865b82 * Reimplemented all basic types and moved them to a separate folder (NOT separate namespace). Lots more functions, couple breaking changes. Matrix3 is gone
* Moved math functions from Helpers to new MathHelper static class

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2045 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-01 20:22:22 +00:00