Commit Graph

9 Commits

Author SHA1 Message Date
Jim Radford
6135b0c748 Cleanup patches from DrScofield, cleans up inline code comments and LLUUID Comparison against null. Mantis#138
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1656 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-06 05:57:16 +00:00
John Hurliman
1993ae0ce7 * Enabled the UDPPacketBuffer object pool, please report any changes in network performance
* Fixed a bug in BuildPacket() that would affect UDPPacketBuffer objects if they are being reused
* Lowered the Dequeue wait time in PacketHandler() to speed up logouts
* Optimized Simulator.ToString()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1528 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-19 20:53:08 +00:00
John Hurliman
4bfe4f00fe Restricted the managed ReaderWriterLock to PocketPC platform only, it can be fixed later
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1496 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-20 19:27:20 +00:00
John Hurliman
3013742668 * Increased SIMULATOR_TIMEOUT to 30 seconds
* Converted all timers to System.Threading timers to fix problems running in services and the CF
* UDPBase now uses our own ReaderWriterLock that is more efficient, and CF compatible
* Login uses a hand-created LoginProxy object instead of dynamically building the class with reflection .Emit()
* Replaced ParameterizedThreadStart calls with class-wide variables for CF compat.
* Removed transfer timeout code (irrelevant now that uploads go through CAPS)
* Added several new Helpers methods to wrap desktop and CF conditional code
* Replaced Monitor calls with AutoResetEvent in BlockingQueue
* InventoryNodeDictionary uses generics now
* Removed final lingering piece of XML serialization
* Added CookComputing.XmlRpc.CF.dll for the CF

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1479 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-06 09:26:10 +00:00
John Hurliman
62dddabd7c * Transfer timeout support for uploads. This code will be deprecated soon though as CAPS uploading is almost finished
* More parameters to HTTPBase and Capabilities for making special requests
* Renamed InventoryManager callbacks to match the rest of libsecondlife
* Several new InventoryManager functions, not complete yet!
* Fix for null buddy list on login
* OnSimConnecting returns a bool to allow canceling sim connections
* NetworkManager.Connect() properly returns null on a failure

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1393 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-10 10:20:30 +00:00
John Hurliman
975637b2a1 * Switched LLObject to using the Permissions struct
* Added CoordinateFrame class for camera management
* Added NetworkManager.OnSimConnecting that blocks before connecting to a new sim
* CurrentSim no longer goes null in between teleports
* Applied jradford's patch to fix the DeedObject patch
* UDP socket Bind() is used instead of Connect() now and sender verification is done in PacketReceived() to fix an apparent compatibility problem
* Added Helpers.VecCross() for vector cross products
* TextureEntryFace and TextureEntry now implement ICloneable

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1384 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-01 07:52:55 +00:00
John Hurliman
328e3f1954 Removed noisy exception logging from UDPBase
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1364 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-20 20:21:52 +00:00
John Hurliman
50adfa5675 * Added Capabilities.CapsReceivedEvent that signals after the initial CAPS connection is made
* Complete rewrite of event handling for packets and CAPS events
 - No more nested generic collections for events
 - No more for loops for every packet callback
 - CAPS event handlers by event name
 - Asynchronous CAPS event handlers
 - Unregistering of CAPS events
* Added a stub SoundManager
* Increased packet buffer size to 2048 after I got an exception about it being too small
* Continued work on VoiceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1347 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-04 14:31:31 +00:00
Latif Khalifa
f462f44d23 *BREAKING CHANGES* Merging jhurliman branch with the trunk. The old AssetManager, ImageManager, and InventoryManager systems have been phased out and replaced by the new AssetManager and InventoryManager classes. The lowest network layer has been abstracted out and replaced, new networking callbacks added, and many small bugfixes made. AppearanceManager.Wear* commands have been commented out until they are ported to the new inventory system
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1296 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-13 14:49:36 +00:00