Commit Graph

57 Commits

Author SHA1 Message Date
John Hurliman
9e6076e44e * Lots of LoginResponseData XML-RPC serialization improvements
* Broke terrain compression out into a separate TerrainCompressor static class

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2099 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-18 04:32:11 +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
omegaworks
824d4984c5 InventoryFolder.PartialContents delegate gets a new parameter, remaining, which tells you how many contents the server has yet to send to us. PartialContents delegate documented.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2097 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-17 06:11:59 +00:00
John Hurliman
23a25709a9 * Rolling CAPS implementation back to the synchronous version until we can figure out how to fix the TeleportFinish replay bug in the async
* Removing some debug noise

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2095 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-16 06:30:08 +00:00
John Hurliman
0bd77baba2 * Adding generic HttpServer to OpenMetaverse.Capabilites
* LoginResponseData can now serialize to XmlRpc
* Adding new Simian project, ultra-lightweight simulator for testing and development
* Shuffling OpenMetaverse.Capabilities around a bit in preparation for CAPS server implementation

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2094 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-16 02:04:20 +00:00
John Hurliman
55478386a6 * Fixed NullReferenceExceptions recently introduced into CAPS code [LIBOMV-353]
* Small formatting cleanups in NotationLLSD.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2092 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-15 22:10:54 +00:00
omegaworks
6c0dfb2297 Fixed NullPointerException that would happen when InventoryFolder.RequestContents' PartialContentsCallback delegate received null ItemData[] or null FolderData[]
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2091 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-14 05:55:07 +00:00
omegaworks
12bea7b365 Implements Inventory.OnInventoryManaged, triggered when an item or folder is managed. Inventory might *just* be thread-safe now.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2090 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-14 04:09:27 +00:00
omegaworks
bf38b0ed16 OnPartialContents event added to InventoryFolder that triggers as contents are streamed in from the server. RequestFolderContents' FolderContentsCallback parameter can safely be null.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2089 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-13 06:03:00 +00:00
omegaworks
e7def30b9a Inventory.InventoryFromPath now correctly handles "/" and "Folder/".
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2086 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-13 00:41:58 +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
omegaworks
804f28e128 PartialContentsCallback in InventoryManager.RequestFolderContents should now actually work. InventoryFolder interface to use the callback still in the works.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2078 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-12 07:07:45 +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
4f48022d1a * Adding simple Ray type (origin vector plus direction vector)
* Fixed TextureEntryFace constructor to default to white and no transparency

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2075 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-07 23:00:02 +00:00
John Hurliman
7e38eb9019 Fail-bug in Vector3 * Quaternion operator
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2074 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-06 00:05:48 +00:00
John Hurliman
5523e50ec4 Fixing Vector*.Normalize(Vector*.Zero) to not return NaN
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2073 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-05 23:26:48 +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
omegaworks
b8076e9350 Applied patches from libomv-345 and libomv-346 which initialize GridClient's Inventory instances immediately and add InventorySortOrder parameter to InventoryFolder.RequestContents, respectively.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2065 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-05 05:07:53 +00:00
68d0e8986a Fixes LIBOMV-347: Added a null reference check
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2061 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-05 02:25:20 +00:00
3976e83ea4 Resolves LIBOMV-347: FriendsManager missing event for when names are populated
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2060 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-05 02:05:23 +00:00
John Hurliman
e2986fbf06 * Heralding in a new era of botdom with [LIBOMV-343], rate limiting for outgoing packets
* Converted BlockingQueue to a generic collection

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2048 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-02 01:49:20 +00:00
John Hurliman
0c80ac6b6a Deleting old Types.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2046 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-01 20:29:26 +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
Jim Radford
2b8ddcac2f LIBOMV-341 Applying Patch from Christopher Omega, Fixes Inventory Unit tests after last patch.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2044 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-01 07:13:14 +00:00
Jim Radford
6b50f9db7f LIBOMV-341 Applying Patch from Christopher Omega, Enables local inventory store by default.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2043 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-01 06:38:42 +00:00
John Hurliman
0aaf6a3515 Converting Matrix3 and Matrix4 from structs to sealed classes to avoid passing 36 and 64 byte structures around by value
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2036 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-31 00:44:39 +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
51aa7dbe10 * Removing unused InventoryNode and InventoryNodeDictionary files
* Adding INetworkManager interface, a good starting point for converting all of the manager classes to interfaces
* Changing object pooling for packet buffers from per-sim to a singleton in ObjectPool.cs, should resolve memory leaks for bots that travel the world [LIBOMV-338]
* Removing DetectBotCommand since that detection method does not work
* More work on Matrix4 type

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2034 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-30 19:24:15 +00:00
Jim Radford
2ec24f22fa Compiler warning cleanup, fixes all unmatched parameters (adds empty placeholders for CrisOmega to fill in when he wakes up :)), Adds additional warning supressions to prebuild.xml
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2033 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-30 06:51:51 +00:00
John Hurliman
9246867c62 * Redid quaternion/euler/matrix conversion code. Our Matrix3 class is row-major, and all of the code follows that ordering now
* Started adding the 4x4 matrix implementation, mostly a skeleton for now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2026 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-30 04:35:51 +00:00
John Hurliman
61f9b9eb87 Applying Christopher Omega's patch in [LIBOMV-333] to notify the inventory store of newly created items
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2024 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 23:38:07 +00:00
John Hurliman
27294ece8e ThreadPool.RegisterWaitForSingleObject() doesn't appear to be working with an IAsyncResult.AsyncWaitHandle from HttpWebRequest.BeginGetResponse() on Mono 1.9.1. Switching to IAsyncResult.AsyncWaitHandle.WaitOne()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2023 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 23:29:03 +00:00
John Hurliman
bfa6f6ca3f Applying patches from [LIBOMV-288] to completely redo the InventoryManager system, hopefully for great justice
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2021 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 21:36: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
117d4c7f4f Switched CapsBack to use an asynchronous method for fetching the server response, so clients no longer have to wait for event queues to timeout before exiting
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2019 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 19:45:36 +00:00
John Hurliman
24471fe5fa * Converting packet sequence number incrementing from the unsafe lock{} mechanism to the Interlocked class
* Tiny speed optimizations in packet handling

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2018 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 16:52:44 +00:00
John Hurliman
926e34b627 Adding an overly verbose debug line to look into Content-Length issues with CAPS on Mono
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2016 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 05:17:01 +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
a872a67997 * Added ApproxEquals() function for all vector types
* Added Mag() and MagSquared() static functions for more vector types
* All vectors and color now implement IComparable generic interface
* Added Color4.GetHue()
* Documentation fixes in Types.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2014 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 18:36:32 +00:00
Jim Radford
6f404ad4f4 LIBOMV-316 Applies patch from Angelo Biondi to correct redirect handling. Mostly affect connections to the Beta (ADITI) grid.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2010 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 08:32:25 +00:00
Jim Radford
442bffbe28 Updates AgentManager inline comments to use non LL prefixed types (Types no longer begin with LL)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2009 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 08:28:16 +00:00
Jim Radford
c0009286bb Updated AssemblyInfo.cs to support build version numbering, so we can publish nightly binary snapshots along with the documentation
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2006 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-27 04:17:32 +00:00
Jim Radford
7a7039e261 LIBOMV-327 Applying Patch from Gonta Maltz which implements the ability to deselect multiple objects in ObjectManager
* Fix Comment Typo in ParcelManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2005 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-26 09:18:52 +00:00
Jim Radford
8247736600 LIBOMV-325 Adds Handler for ParcelMediaUpdate packet
* Adds struct in ParcelManager for ParcelMedia information
* Updates Parcel struct to use new ParcelMedia struct
* Documents Events in ParcelManager
* Adds Namespace information for the OpenMetaverse.Rendering Classes in the Helpfile Builder
* Fixes a typo and some inline documentation in GroupManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2004 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-26 08:50:37 +00:00
Jim Radford
e000e18243 LIBOMV-236 Cleans up GroupManager class:
* Documents Event Delegates
* Removes Transaction viewing methods and packets due to deprecated protocol packets
* Removes GroupProfile struct since it was an exact duplicate of the Group struct
* Cleans up ToString() override in AgentManager InstantMessage struct
* Updates GroupManager example to use Group struct vs removed GroupProfile struct

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2003 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-26 05:38:30 +00:00
3e715ebd2f LIBOMV-324 Adds Client.Grid.RequestRegionHandle(regionID) and OnRegionHandleReply event
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2001 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-25 19:32:33 +00:00
Jim Radford
8802153778 * Fix SelectObjects method in ParcelManager to work
* Adds additional inline comments to GroupManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1999 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-25 06:01:25 +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
Jim Radford
ad8fdb1edf LIBOMV-323 Implements Packet handler for EjectGroupMemberReply packet, fired when an avatar is removed using the EjectUser() Method.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1997 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-25 02:25:10 +00:00