Commit Graph

24 Commits

Author SHA1 Message Date
Latif Khalifa
b240c1442e Removed cruft from previois commit - LIBOMV-450
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2452 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-22 10:48:00 +00:00
Latif Khalifa
d116087ecb LIBOMV-450: Breaking change. Change avatar locations from List<Vector3> to Dictionary<UUID, Vector3> to enable more uses of CoarseLocationUpdateCallback.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2451 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-22 10:45:03 +00:00
John Hurliman
39f154178b Implemented NetworkManager.OnPacketSent callback that is fired after every outgoing packet has been put on the wire. Adds the basic functionality requested in [LIBOMV-60]
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2444 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-17 19:22:07 +00:00
John Hurliman
4b1f441574 * Sanity check in DeserializeLLSDXml() to return an empty LLSD block instead of throwing an exception
* Removing redundant code from OpenMetaverse.Utilities
* Using System.Diagnostics.StopWatch instead of Environment.TickCount for rate limiting, and speeding up packet sending from 75ms gaps to 10ms (might be slightly too fast, but it works for me)
* Cleaning up the logic a big in RequestAllSimParcels()
* Try/catch block in GridProxy around packet delegates

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2371 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-05 01:34:24 +00:00
John Hurliman
99b3b74cd6 * More cleanup to acking and resending in libomv and Simian
* Fixed typo in Simian.ini that was disabling connection management
* Replaced several unnecessary foreach loops in Simian with dictionary lookups
* Simian now uses the last detected system IP address instead of the first

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2342 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-10 18:00:05 +00:00
ae2f5ce1b3 * Implemented LIBOMV-418: Add SetObjectSaleInfo() function to ObjectManager
* Cleaned up locking in KillObjectHandler
* Fixed an xml param name in Simulator.SendPacketUnqueued

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2337 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 18:51:38 +00:00
Latif Khalifa
58aa671519 Allow outgoing packet throttling to be disabled. [LIBOMV-417]
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2335 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 18:17:36 +00:00
John Hurliman
956b2a6b78 * Lots of networking code cleanup, should hopefully resolve [LIBOMV-415] (thank you Teravus!)
* OldestUnacked is now properly set in outgoing pings
* Enable sending pings by default

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2333 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-07 20:28:32 +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
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
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
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
451015b674 Removing ResendCount and TickCount from Packet class, moved to OutgoingPAcket struct. This is necessary to prevent big problems when sending the same packet to multiple destinations
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2204 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-08 23:57:31 +00:00
Jim Radford
78ef0621c9 LIBOMV-362 Adds some sanity checking and better logic to internal Parcel Dictionaries to prevent overloading the outbound packet queue with unnecessary requests.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2199 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-06 10:19: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
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
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
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
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
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
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
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