Commit Graph

156 Commits

Author SHA1 Message Date
John Hurliman
dad28f767a * HttpRequestSignature uses regular expressions for the path now
* Added a simplified HttpListener.AddHandler() overload
* Lots of improvements in ExtensionLoader, simplified interface
* Updated Simian to latest ExtensionLoader

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2316 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-29 20:11:28 +00:00
ebaea1009c Resolves LIBOMV-410: Client.Self.Movement.Jump() has no way to stop jumping.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2314 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-28 18:27:19 +00:00
ef0bbd97b3 Additional fix related to LIBOMV-384 (count was 0 on EstateBans)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2313 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-27 15:46:41 +00:00
598cb20e2c Resolves LIBOMV-384: Client.Network.CurrentSim.Estate.GetInfo() Not working
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2312 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-27 15:21:16 +00:00
b26e505387 Implements LIBOMV-408: Simulator Pause/Resume functionality (replaces NetworkManager.Pause/Resume functions which only affected the current simulator)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2311 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-27 02:11:40 +00:00
42b0688498 * Added GroupRole.GroupID and GroupTitle.GroupID properties.
* Resolved LIBOMV-406: GroupManager.UpdateRole() does not populate the .Title field.
* Resolved LIBOMV-407: GroupManager caching by requestID, possible memory leak.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2310 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-26 19:00:43 +00:00
Jim Radford
fd2e1a2524 LIBOMV-403 Corrects RegionHandle returned in OnSimConnected callback which was stored improperly in the Simulator object (Endian issue, bytes were reversed) Thanks Teravus for the report and testing the fix!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2309 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-26 08:37:23 +00:00
64bc9e904f Resolves LIBOMV-340: ObjectManager not removing av from ObjectsAvatars.Dictionary when killed
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2308 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-25 16:19:15 +00:00
Jim Radford
ef1cb455c2 LIBOMV-402 Switches TeleportFinish packet to use CAPS directly.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2307 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-24 18:42:46 +00:00
8e3dc78fc2 Resolves LIBOMV-401: TurnToward does not aim correctly while seated on a rotated prim
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2306 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-23 20:35:14 +00:00
6e4994c890 Resolves LIBOMV-400: Client.Self.SimPosition missing vector transformation for rotated seat prims
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2305 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-21 21:11:50 +00:00
431c08482e Resolves LIBOMV-399: sim.AvatarPositions has the incorrect Z value (Z / 4)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2304 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-19 22:29:09 +00:00
Jim Radford
02befc16fe LIBOMV-397 Corrects InventoryManager behavior when saving attachments to inventory, Thanks Tim Hart for the Patch!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2303 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-19 00:16:58 +00:00
Jim Radford
21abeaec88 LIBOMV-398 Better yet, splits out AccessList into two lists, a WhiteList and a Blacklist in the Parcel object. This works much better for storing this information in our internal dictionaries and makes it less obscure for end library users to understand.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2302 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-18 23:53:30 +00:00
Jim Radford
b59ce0c443 LIBOMV-398 Adds back individual ACL Entry specific flags field which is likely used for expiring bans
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2301 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-18 22:46:49 +00:00
Jim Radford
7cfab9b2a7 LIBOMV-398 Corrects incoming flag field on ParcelAccessListReply packet, Thanks MichelleZ
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2300 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-18 22:36:09 +00:00
beaf3f9a85 Added Pause and Resume to NetworkManager to request that the sim stops or resumes sending update (and possibly other) packets
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2299 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-15 23:59:27 +00:00
24163fb4c2 Corrects commit r2289 - Fixed AgentManager.StandUp() not setting Movement.SitOnGround = false ... r2289 actaully contained an update to Movement.TurnToward
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2298 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-15 23:57:38 +00:00
John Hurliman
9dd0b44a48 * Wait up to 10 seconds for an event queue to connect if Self.Teleport() is called when no event queue is connected
* Check if a command exists before running it in TestClient

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2295 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-11 00:17:21 +00:00
ea01cd78d7 Fixed AgentManager.StandUp() not setting Movement.SitOnGround = false
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2289 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 22:04:40 +00:00
John Hurliman
046a778b09 Applying [LIBOMV-395] from Jeff Ames to comment out dead code and fix lots of compiler warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2284 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 16:48:44 +00:00
John Hurliman
29026f68f0 * Implemented asset and appearance persistence in Simian
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2283 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 04:50:03 +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
2e4aa31e4a * Remove an unused BuildPacket function in _Packets_.cs
* Make all blocks inherit from the abstract base class PacketBlock

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2278 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-08 17:08:17 +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
bec96bc6a4 Fixed some param names in function documentation for ParcelManager.cs and UtilsConversions.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2273 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 13:20:35 +00:00
John Hurliman
28d7cbeb07 * Big cleanup of UtilsConversions.cs, added functions to go straight from data types to an existing byte array
* Changed _Packets_.cs to use Utils functions for going to and from bytes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2271 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 03:04:03 +00:00
John Hurliman
df47694569 * Fixed Simian packet resend bug, agents should properly time out now
* Force Simian inventory permissions to full for now
* Small LoginResponseData.ToXmlRpc() improvements

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2270 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 02:06:29 +00:00
John Hurliman
b3380d2c11 * Add exclusion of UtilsConversion.cs to prebuild.xml, should fix the build
* First stab at working inventory persistence

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2268 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-07 00:42:05 +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
0f792a1404 * Changed AgentThrottle documentation to bits instead of bytes, thank you justincc
* Reduced memory usage in Simian ParcelManager by storing parcel overlay as 4x4 blocks

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2265 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 19:11:32 +00:00
Jim Radford
09a0404860 LIBOMV-392 Adds sanity check to ParcelPrimOwnersReply packet, fires event with null values to mimic the behavior of the viewer
* removed extraneous debug message in ObjectManager when CreateSelected is flagged on prims

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2260 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 01:12:05 +00:00
Jim Radford
3fec38736b LIBOMV-392 * Switches ParcelObjectOwnersListReply packet to be directly handled instead of using our generic serializer. This was required do to an additional datablock/field being sent over CAPS which was not part of the original UDP packet
* Removed previously replaced handler for ParcelProperties that was switched over to CAPS months ago.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2259 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 00:38:50 +00:00
4f79c6aa7c Fixed a debug message in AvatarManager.cs which was using Console.WriteLine instead of Logger.Log
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2257 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-05 15:16:07 +00:00
Jim Radford
9dd54dca50 LIBOMV-259 Fixes typo in WEARABLE_BAKE_MAP, thanks Cheech Bode for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2254 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-02 00:51:45 +00:00
John Hurliman
7f8d162043 Moved ProfileFlags into the main namespace
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2250 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-01 00:09:20 +00:00
Jim Radford
f4de381bc1 LIBOMV-387 Adds methods and handlers to GroupManager to support getting group notice list and retrieving the notices, Thanks to Robin Cornelius for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2248 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-30 21:36:33 +00:00
Jim Radford
c9356000dc LIBOMV-389 Switches deprecated EnableSimulator packet over to CAPS handler instead of through our generic caps->udp serializer, this doesn't change the behavior it only gets rid of the flood of messages when Settings.MULTIPLE_SIMS=false;
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2247 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-30 21:26:30 +00:00
John Hurliman
2582304f4e * OnImageReceiveProgress now returns the packet number it just received
* Texture re-request timer will now reduce the DiscardLevel by one each re-request. This is temporary while we re-think the callback system for texture downloads
* TestClient downloadtexture now takes an optional DiscardLevel
* Added int support to Utils.Clamp()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2246 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-29 13:58:08 +00:00
John Hurliman
42a53335f8 Fixed some array bugs in the new TerrainCompressor.CreateLayerDataPacket()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2243 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-26 15:38:42 +00:00
John Hurliman
f6ae8f7ad6 Changed some terrain compression around and added TerrainCompressor.CreateLayerDataPacket() that uses patches instead of full simulator heightmaps. Useful for patch-by-patch compression of terrain, and creating wind/cloud LayerData packets
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2242 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-26 14:19:30 +00:00
John Hurliman
44e49f8195 * Reverted the Simulator.ParcelOverlay change to an array of enums, Buffer.BlockCopy and Array.Copy both barf. Added a comment that you can typecast afterward to decode the byte
* Finished TerrainManager.DecompressWind() and added TerrainManager.WindSpeeds. Holds a 16x16 array of Vector2s, each one representing the wind speed at a 16x16m area
* Added a WindCommand to TestClient to print the wind speed where the avatar is standing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2241 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-26 13:11:00 +00:00
John Hurliman
016824b642 Applying patch from [LIBOMV-386] by Robin Cornelius to return randomly generated request IDs from GroupManager.RequestGroup* functions
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2240 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-25 11:15:48 +00:00
John Hurliman
48aa4a6c19 * Encode uints as LLSDBinary instead of LLSDInteger so high values can be properly stored
* Added LLSD.ToObject() that does the opposite of LLSD.FromObject()
* Added LLSD.SerializeMembers() and LLSD.DeserializeMembers() to allow automatic serialization of simple container objects
* Fixed Utils.BytesToHexString() to not output trailing whitespace

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2236 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-23 23:26:39 +00:00
John Hurliman
8e70446f3c * Added Utils.CopyBytes() to OpenMetaverseTypes, should be used any time a byte array is grabbed from a packet member and directly assigned to another variable
* Moved Simulator enums (RegionFlags and SimAccess) into the main OpenMetaverse namespace
* More comments

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2233 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 15:05:14 +00:00
John Hurliman
6b040fd03a * Moved ParcelManager enums out into the main OpenMetaverse namespace
* Removed some members from the Parcel struct that shouldn't be there

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2232 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 13:02:27 +00:00
John Hurliman
640ccaf2ee Added Parcel.LandingType enum, changed Parcel.LandingType to Parcel.Landing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2231 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 08:49:34 +00:00
Jim Radford
8876dd9363 LIBOMV-385 Corrects incorrect seed caps names, Thanks Brandon Lockaby for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2229 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-17 00:40:33 +00:00
John Hurliman
2b8196c8d9 Fixing bugs in the previous commit for refreshing texture downloads
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2228 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-16 01:48:27 +00:00