Commit Graph

22 Commits

Author SHA1 Message Date
Jim Radford
4ab698a85f LIBOMV-470 OpenMetaverse/Helpers.cs: FloatToTerseString() screws up trying to trim trailing zeroes, Patch courtesy of Arthur Rodrigo S Valadares <arthursv@br.ibm.com> Thanks!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2561 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-31 19:05:44 +00:00
Jim Radford
d4f4c38154 LIBOMV-442 .NET 2 doesn't appear to like casting type var to object. This method probably needs to be in the packet class specifically instead of Helpers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2430 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-05 17:42:24 +00:00
Jim Radford
7232ce6801 LIBOMV-442 Adds new method to helpers which uses reflection to dump a packet to a human readable string format (used by GridProxy)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2429 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-05 09:25:43 +00:00
John Hurliman
8e84377b22 * Removing EnUsCulture from Helpers as it already exists in Utils
* Removing Helpers.NewLine as it already exists in Environment.NewLine

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2360 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 23:37:02 +00:00
8a597a50e4 Updated some renamed params in the xml docs for AgentManager and Helpers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2327 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-05 23:12:09 +00:00
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
e180f7a612 * Added Helpers.SplitBlocks() that calculates how to split multiple blocks into multiple packets
* Fixed a typo in TestClient login command usage
Simian:
* Asset uploads were returning the TransactionID instead of the AssetID causing uploads to seemingly fail
* Added ISceneManager.AvatarAppearance and OnAvatarAppearance
* Added UI sounds from OpenSim and sound asset loading
* Split up FetchInventoryReply and InventoryDescendents into multiple packets when necessary

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2281 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-08 22:10:14 +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
f0ba48353b * Fixing a few lingering endian issues [LIBOMV-361]
* Removing all big endian methods from Helpers to avoid future confusion
* Sanity check in InventoryCommand.PrintFolder()
* Some GridProxy hackery to work with the OGP client, this will be cleaned up later

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2148 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 21:51:20 +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
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
7cbdf63b97 Fixed an off-by-one bug in Helpers.BytesToUInt() and Helpers.BytesToUIntBig() reported by Homer_Horwitz
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2098 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-17 20:36:46 +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
omegaworks
82250be4f1 Added more sophisticated path handling to Inventory. cd command path handling is now available to all TestClient commands. Resolved [TC-12]. Helpers.Implode replaced by String.Join.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2077 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-12 05:55:42 +00:00
John Hurliman
d27fd88c64 * Removing old openjpeg-libsl.dll
* Adding Helpers.FieldToHexString() overload that matches the old function signature
* Added Quaternion.GetAxisAngle()
* Remove TestClient's own inventory stores since they are in libomv now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2071 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-05 22:36:47 +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
John Hurliman
a3801365d7 * Finished Matrix4
* More documentation in Types.cs
* Catch MalformedPacketExceptions and dump the packet data
* Clean up hex dump routines
* Renamed Quaternion.FromEuler to Quaternion.FromEulers and added another overload that takes floats instead of a vector

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2035 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-31 00:28:53 +00:00
John Hurliman
71837bfcf6 * Adding Helpers.GetRunningRuntime() to detect Mono vs. .NET runtime
* Cross-platform hack to get CAPS working reasonable on both Mono and Windows

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2020 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 20:05:43 +00:00
John Hurliman
e294f47afd * Basic types renaming continued
* Corrected ManagedImage.ExportRaw() function to flip the image (OpenGL has a texture origin in the bottom-left)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2015 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 22:23:48 +00:00
John Hurliman
81e6342d36 Removing LL prefix from all basic types
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1998 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-25 05:15:05 +00:00
John Hurliman
c1f3d6a3c2 Renaming libsecondlife folder to OpenMetaverse. Part of a multi-step process, do not check out this revision!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1957 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-22 22:56:05 +00:00