Commit Graph

83 Commits

Author SHA1 Message Date
John Hurliman
082bdf50ef Removing conversionBuffer caching from OpenMetaverseTypes to avoid interop issues and save memory for the 99.9% use case
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2187 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-29 23:11:57 +00:00
John Hurliman
0b751afd07 * Exposing Primitive.ConstructionData.profileCurve as public (Primitive.ConstructionData.ProfileCurve is still there)
* Added ObjectShapeHandler to Simian, basic prim editing is working

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2178 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-28 02:55:37 +00:00
John Hurliman
eb8ee37b34 libomv:
* Renaming ObjectPropertiesRequestType to ReportType, filling out the enum
Simian:
* Added UUIDNameRequest, MultipleObjectUpdate, ObjectDeselect, and RequestObjectPropertiesFamily handlers
* Fixed some bugs in object-object collision
* Slightly improved prim spawn location (will always be hacky until we have a collision system)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2177 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-28 02:38:32 +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
11776ef202 libomv:
* Completed DeRezDestination enum
Simian:
* Added IInventoryProvider to allow other extensions to create inventory items
* Basic derez support for deleting items (the new inventory items in the trash won't actually work because the assetID is meaningless until we have an IAssetProvider)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2175 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 23:27:48 +00:00
John Hurliman
35e6af9e3c * Updating OpenJPEG.cs to match the new openjpeg-dotnet changes
* Adding OpenJPEG.DecodeLayerBoundaries() to get the byte boundaries for each quality layer in a texture

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2173 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 02:47:46 +00:00
John Hurliman
565f604560 * Added AssetAnimation, cleaned up AssetSound and a few others
* AcceptAllCertificatePolicy is now public so other apps can use it (such as GridProxy)
* Fixed a Simian bug in failed asset upload handling, and added support for animation and sound uploads

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2170 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-25 22:56:00 +00:00
John Hurliman
8f3349d9ae Deleting unused Prims.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2163 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-24 05:29:20 +00:00
John Hurliman
c7474faed6 * Fixed a typo in OpenMetaverse.ObjectManager
* Improved BuildFullUpdate in Simian
* Added ObjectManager in Simian, prim creation is working (no editing yet)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2162 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-24 05:21:42 +00:00
John Hurliman
07754f7016 OpenMetaverse:
* LLObject is gone, it is now merged into Primitive
* Avatar inherits from Primitive
Simian:
* Added SimulationObject to track prims
* Added IMeshingProvider and a connector to OpenMetaverse.Rendering plugins

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2161 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-24 05:06:51 +00:00
John Hurliman
175324af21 * Disabling the object pool while we debug various issues
* Fixing a race condition in PrimWorkshop
* Fixing a race condition in ParcelManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2154 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-22 02:39:46 +00:00
John Hurliman
6e4eb466ad * UDPPacketBuffer.Data and UDPPacketBuffer.ZeroData are now readonly to prevent mischief
* Removed UDPPacketBuffer constructors that let you initialize with empty buffer arrays, they are always initialized now for safety

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2150 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-22 00:19:44 +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
Latif Khalifa
a2f73833bd LIBOMV-360: sync up _Packets_.cs to 1.21.0
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2144 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 19:54:19 +00:00
Jim Radford
775b649368 LIBOMV-359 Removed unnecessary Inventory Objects from GridClient which are part of the new inventory system.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2141 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 18:37:44 +00:00
5eb3707804 Fixed terrain affecting Simian movement speed while flying, merged Chat extension into new Messaging extension, fixed resend timer not cleaning up when avatars are removed, fixed some xml comments
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2136 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 08:36:37 +00:00
John Hurliman
cc1c6762b7 Simian:
* Added default assets for avatar appearance
* Fixed default heightmap loading
* Removed ugly appearance hacks and replaced with hardcoded but not so ugly default assets
* Simplified the inventory classes to work with the libomv inventory system rollback

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2135 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 06:46:36 +00:00
John Hurliman
dec6db7aaf Marking InternalDictionary.Dictionary as public. Yes, this goes against the whole point of InternalDictionary, but without doing this InternalDictionary can't be used outside of libomv. A documentation comment has been added to warn users about locking
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2127 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 01:56:48 +00:00
Jim Radford
c551283fd8 LIBOMV-359 Reverting InventoryManager/Inventory system to old inventory system based on r2020, Disabled GUI library in prebuild.xml as its based on the new inventory system and needs to be rewritten to be used with the old inventorymanager (or re-enabled when new inventory system is added back to trunk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2126 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 01:19:06 +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
Jim Radford
2a9c9821c0 LIBOMV-358 Fixes minor capitalization deficiency in previous patch :)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2119 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-19 21:04:38 +00:00
Jim Radford
b02264f050 LIBOMV-358 Applies Patch from Gonta Maltz, adds ability to ban target user in all estates region is a member of.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2118 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-19 20:59:51 +00:00
John Hurliman
24055f1e79 * Changed HttpRequestCallback to pass the signature of the incoming request
* Added NameValue.NameValuesToString() to serialize NameValue arrays
* Fixed the avatar name tag in Simian, and added a hack to keep the client from trying to download wearables (for now)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2116 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-19 18:38:29 +00:00
Jim Radford
ce3265b9d6 LIBOMV-357 Adds TakeCopy field to DeRezDestination enum which allows taking a copy of an item in-world
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2110 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-19 03:40:52 +00:00
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