aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Change appearance packets from State to Task. This will hopefully fix the ↵John Hurliman2009-10-161-1/+1
| | | | | | cloud issues * Changed the throttling logic to obey the requested client bandwidth limit but also share bandwidth between some of the categories to improve throughput on high prim or heavily trafficked regions
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵John Hurliman2009-10-161-7/+27
|\ | | | | | | prioritization
| * Thank you, Fly man, for plumbing the AvatarInterestsUpdate packetMelanie2009-10-161-5/+22
| |
| * * Request from lkalif to have the Sim send a coarselocationupdate for each ↵Teravus Ovares (Dan Olivares)2009-10-151-2/+5
| | | | | | | | | | | | | | avatar in the sim, including yourself. * Apparently the LLClientView should have been doing this previously.. Also fixed the 'You' on the index block.. so the client doesn't display an extra green dot. * Thanks lkalif for bringing it to our attention.
* | Object update prioritization by Jim Greensky of Intel Labs, part one. This ↵John Hurliman2009-10-151-209/+135
| | | | | | | | implements a simple distance prioritizer based on initial agent positions. Re-prioritizing and more advanced priority algorithms will follow soon
* | Replaced the update lists with a priority queue implementation in LLClientViewjjgreens2009-10-151-45/+179
| | | | | | | | | | | | | | Replaced the update lists with a priority queue implementation in LLClientView. The priority queues are based on the MinHeap implementation also included in this commit within the OpneSim.Framework namespace. Initially setup to exactly mimic the behavior beofre the change which was a first come first serve queue.
* | * Removed some of the redundant broadcast functions in Scene and SceneGraph ↵John Hurliman2009-10-151-1/+228
|/ | | | | | | | so it is clear who/what the broadcast is going to each time * Removed two redundant parameters from SceneObjectPart * Changed some code in terse update sending that was meant to work with references to work with value types (since Vector3 and Quaternion are structs) * Committing a preview of a new method for sending object updates efficiently (all commented out for now)
* Merge branch 'htb-throttle' of ssh://opensimulator.org/var/git/opensim into ↵John Hurliman2009-10-141-11/+39
|\ | | | | | | htb-throttle
| * Merge branch 'master' into htb-throttleMelanie2009-10-141-11/+39
| |\
| | * Better handling of missing assets.Diva Canto2009-10-131-9/+16
| | |
| | * Better handling of missing assets.Diva Canto2009-10-121-9/+23
| | |
| | * * Fixes http://opensimulator.org/mantis/view.php?id=4225Diva Canto2009-10-121-7/+14
| | | | | | | | | | | | | | | * Fixes http://opensimulator.org/mantis/view.php?id=3959 * Allows for viewing inventory textures outside home grid
* | | * Minimized the number of times textures are pulled off the priority queueJohn Hurliman2009-10-141-3/+4
|/ / | | | | | | | | | | * OnQueueEmpty is still called async, but will not be called for a given category if the previous callback for that category is still running. This is the most balanced behavior I could find, and seems to work well * Added support for the old [ClientStack.LindenUDP] settings (including setting the receive buffer size) and added the new token bucket and global throttle settings * Added the AssetLoaderEnabled config variable to optionally disable loading assets from XML every startup. This gives a dramatic improvement in startup times for those who don't need the functionality every startup
* | * Split Task category into Task and StateJohn Hurliman2009-10-131-6/+7
| | | | | | | | * Crude prioritization hack
* | * Copied LocklessQueue.cs into OpenSim.Framework and added the .Count ↵John Hurliman2009-10-131-7/+4
| | | | | | | | | | | | | | | | | | property and .Clear() method * Changed the way the QueueEmpty callback is fired. It will be fired asynchronously as soon as an empty queue is detected (this can happen immediately following a dequeue), and will not be fired again until at least one packet is dequeued from that queue. This will give callbacks advanced notice of an empty queue and prevent callbacks from stacking up while the queue is empty * Added LLUDPClient.IsConnected checks in several places to prevent unwanted network activity after a client disconnects * Prevent LLClientView.Close() from being called twice every disconnect * Removed the packet resend limit and improved the client timeout check
* | * Consolidated adding / removing ClientManager IClientAPIs to two places in ↵John Hurliman2009-10-131-59/+2
| | | | | | | | | | | | | | | | Scene * Added some missing implementations of IClientAPI.RemoteEndPoint * Added a ClientManager.Remove(UUID) overload * Removed a reference to a missing project from prebuild.xml
* | * Fixed a bug where clients were being added to ClientManager twiceJohn Hurliman2009-10-131-21/+15
| | | | | | | | | | | | * Changed the ClientManager interface to reduce potential errors with duplicate or mismatched keys * Added IClientAPI.RemoteEndPoint, which can (hopefully) eventually replace IClientAPI.CircuitCode * Changed the order of operations during client shutdown
* | * Rewrote ClientManager to remove Lindenisms from OpenSim core, improve ↵John Hurliman2009-10-131-54/+23
| | | | | | | | | | | | | | | | performance by removing locks, and replace LLUDPClientCollection * Removed the confusing (and LL-specific) shutdowncircuit parameter from IClientAPI.Close() * Updated the LLUDP code to only use ClientManager instead of trying to synchronize ClientManager and m_clients * Remove clients asynchronously since it is a very slow operation (including a 2000ms sleep)
* | * Unregister event handlers in LLUDPServer when a client logs out and ↵John Hurliman2009-10-131-234/+208
| | | | | | | | | | | | | | | | disconnects * Move ViewerEffect handling to Scene.PacketHandlers * Removing the unused CloseAllAgents function * Trimming ClientManager down. This class needs to be reworked to keep LLUDP circuit codes from intruding into the abstract OpenSim core code
* | Simplified LLUDPClientCollection from three collections down to one. This ↵John Hurliman2009-10-081-1/+2
|/ | | | will prevent any potential problems from inconsistency between the internal collections
* replace LLClientView with proper versionMelanie2009-10-071-1898/+1332
|
* Replace LLClientView on the branch with master. UNCOMPILABLE!Melanie2009-10-071-1332/+1898
|
* Revert "Merging in diva's locking fixes"Melanie2009-10-071-69/+47
| | | | This reverts commit 832cc685138b2244529f10b54b373c34adb4a633.
* Merging in diva's locking fixesJohn Hurliman2009-10-061-47/+69
|\
| * Rewrote parts of the code that were double-locking different objects. This ↵Diva Canto2009-10-061-47/+69
| | | | | | | | is about half of the code base reviewed.
* | * Try/catch around EndInvoke() when Util.FireAndForget() returns to catch ↵John Hurliman2009-10-061-2/+1
| | | | | | | | | | | | | | exceptions thrown in the async method * Added packet stats handling to the new LLUDP implementation * Attempting to avoid a race condition when creating a new LLUDPClient
* | * Continued work on the new LLUDP implementation. Appears to be functioning, ↵John Hurliman2009-10-061-167/+117
| | | | | | | | | | | | | | | | although not everything is reimplemented yet * Replaced logic in ThreadTracker with a call to System.Diagnostics that does the same thing * Added Util.StringToBytes256() and Util.StringToBytes1024() to clamp output at byte[256] and byte[1024], respectively * Fixed formatting for a MySQLAssetData error logging line
* | Beginning work on the new LLUDP implementationJohn Hurliman2009-10-051-1752/+1237
|/
* Merge branch 'diva-textures-osgrid'Melanie2009-10-041-2/+2
|\
| * * Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman2009-10-021-2/+2
| | | | | | | | | | | | Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
* | Merge branch 'diva-textures-osgrid' into diva-texturesMelanie2009-10-021-10/+4
|\ \ | |/
| * * Changed the flush logic to drop packets in non-transactional streams, and ↵John Hurliman2009-10-021-10/+4
| | | | | | | | | | | | to not fire any "put more data in the queues" callbacks * Minor tweaks to code formatting to make the callback chain for packet queuing easier to follow
* | Merge branch 'master' into diva-texturesMelanie2009-10-021-2/+5
|\ \ | |/ |/|
| * Formatting cleanup.Jeff Ames2009-10-011-2/+2
| |
| * * Makes SimulatorEnable messages 'reliable' and subject to redelivery.Adam Frisby2009-09-231-0/+3
| |
* | Restore the missing image handling to the image manager. The missingMelanie2009-10-021-2/+1
| | | | | | | | image packet crashes Hippo without a message.
* | Change texture sending to be driven by the queue empty event from theMelanie2009-10-021-54/+17
| | | | | | | | packet queue, rather than a timer
* | Fixing LLClientView memory leakJames J Greensky2009-10-011-4/+19
| | | | | | | | | | | | | | Fixing LLClientView memory leak by disposing of all timers utilized in LLClientView as they contain references to the callback method. This required the use of the Terminate and Close infrastructure that was already in place but was not being utilized.
* | * Change the signature of the agent set appearance callback to prevent ↵John Hurliman2009-09-301-6/+8
| | | | | | | | | | | | | | unnecessary serialization/deserialization of TextureEntry objects and allow TextureEntry to be inspected for missing bakes * Inspect incoming TextureEntry updates for bakes that do not exist on the simulator and request the missing textures * Properly handle appearance updates that do not have a TextureEntry set
* | Add RebakeAvatarTexturesPacket to the client viewMelanie2009-09-301-0/+10
|/
* Formatting cleanup.Jeff Ames2009-09-101-1/+1
|
* * Lock timers when Calling Start() and Stop() when the Thread Context is ↵Teravus Ovares (Dan Olivares)2009-09-091-20/+56
| | | | murky. This affects Mono only.
* * Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out ↵Diva Canto2009-08-221-12/+14
| | | | | | folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set. * Removed left-overs from AssetInventoryServer.
* Putting the inventory packets back to ThrottleOutPacketType.Asset, because ↵Diva Canto2009-08-201-6/+6
| | | | that didn't work.
* Changed most of inventory packets to LowPriority, to see if that helps with ↵Diva Canto2009-08-201-6/+6
| | | | freezing on searching large inventories.
* Fixed a missing field in SendBulkInventoryFolderUpdate.Diva Canto2009-08-201-1/+3
|
* Added MoveItems, which is most useful upon viewer-delete inventory ↵Diva Canto2009-08-191-6/+13
| | | | operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently).
* A better purge of trash folder.Diva Canto2009-08-191-10/+15
|
* jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024Diva Canto2009-08-181-2/+2
|
* Did I say that i don't like git? Remove some stuff that shouldn't haveMelanie2009-08-171-55/+22
| | | | gone in.