Commit Graph

32 Commits

Author SHA1 Message Date
Jim Radford
5e9c50c254 Fix FormatException error when a Zerocode exception is thrown
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3215 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-06 18:24:49 +00:00
Latif Khalifa
9f8d0d49f0 LIBOMV-725: properly encode float values with en_us locale
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3161 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-20 13:45:33 +00:00
Jim Radford
d34730a019 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in DirectoryManager
* Completes Full documentation of DirectoryManager class
* Cleaned up Search Methods in DirectoryManager to be more developer friendly
* Adds Several TestClient commands related to DirectoryManager: searchgroups, searchland, searchpeople
* Adds a StructToString method to helpers to simplify parsing and printing Structs for debugging purposes
* Many other code cleanups
* BREAKING - this is a major shift in the way events are internally handled, Take a look at the newly added TestClient commands for example code that implement this pattern.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3139 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-10 06:38:07 +00:00
Jim Radford
3f3c4e182f LIBOMV-576 Merged ClientHelpers and Helpers classes, ClientHelpers methods can once again be directly accessed through the static Helpers class.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3130 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-07 03:47:02 +00:00
Jim Radford
acdb971f13 LIBOMV-576 Removing OpenMetaverseCore library, items combined back into OpenMetaverse.dll due to the insane amount of circular dependencies throughout the library. Reference to "OpenMetaverseCore.dll" is no longer required.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3129 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-07 03:35:29 +00:00
Jim Radford
b80b974c77 0.8 here we come!
LIBOMV-576 Start of Abstracting library into two separate libraries. For now this means: There will be a new dependency for OpenMetaverse.dll named OpenMetaverseCore.dll, the new will be required for OpenMetaverse to operate properly, the inverse is not true. OpenMetaverseCore will eventually contain all packet and message related code. 
* Need to create a singleton logger instance (or move the current logger to Core.
* Currently only Packets, Helpers and some common types have been moved to Core.
* Helpers will need to be split and non-core required helpers moved back to OpenMetaverse.
* Lots more work to be done here, but these changes should not break anything (yet)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3021 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-23 03:31:16 +00:00
John Hurliman
6346c5c902 Modified Helpers.ZeroDecode() to print out the full error when something goes bad. This includes a stack trace to help narrow down the source of future problem
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2929 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 23:46:37 +00:00
Jim Radford
de8c3131a1 LIBOMV-492 WinGridProxy - Automatically colorize packet details in view
* Log Viewer built into WinGridProxy
* New Decoder system supports the ability to do custom decoding on packet fields, PacketToString moved from Helpers to its own class.
* GridProxy library now uses log4net library to do logging, WinGridProxy logging configuration added to make use of this.
LIBOMV-512 WinGridProxy decodes KeyValue pairs

* Added Invert & Mirror flags to sculptType enum
* Converted SoundManager to use the SoundFlags enum in the AttachedSound callback
* TestClient "who" command now shows agents logal ID

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2805 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-25 19:00:28 +00:00
John Hurliman
3015a7a271 Minor cleanup
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2801 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-22 21:47:28 +00:00
Jim Radford
1ae609cca7 LIBOMV-478 Add Packet Type in GridProxy output
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2578 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-03 19:32:18 +00:00
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