Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | * Switched to a plain lock for the ClientManager collections and protected ↵ | John Hurliman | 2009-10-14 | 1 | -69/+81 | |
| | | | | | | the TryGetValues with try/catch instead of a lock * Added ClientManager.ForEachSync() for operations that need to run synchronously, such as "show connections" | |||||
* | * Split Task category into Task and State | John Hurliman | 2009-10-13 | 1 | -4/+14 | |
| | | | | * Crude prioritization hack | |||||
* | * Copied LocklessQueue.cs into OpenSim.Framework and added the .Count ↵ | John Hurliman | 2009-10-13 | 2 | -14/+139 | |
| | | | | | | | | | 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 Hurliman | 2009-10-13 | 1 | -0/+14 | |
| | | | | | | | | 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 twice | John Hurliman | 2009-10-13 | 2 | -11/+13 | |
| | | | | | | * 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 Hurliman | 2009-10-13 | 2 | -27/+145 | |
| | | | | | | | | 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 Hurliman | 2009-10-13 | 2 | -151/+13 | |
| | | | | | | | | 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 | |||||
* | Merge branch 'master' into htb-throttle | Melanie | 2009-10-12 | 1 | -5/+5 | |
|\ | ||||||
| * | Use Util.UTF8 instead of creating a new heap object every time. | Diva Canto | 2009-10-10 | 1 | -5/+5 | |
| | | ||||||
* | | Merge branch 'master' into htb-throttle | Melanie | 2009-10-10 | 1 | -23/+12 | |
|\ \ | |/ | | | | | | | This is hand-edited to not let master changes creep into here and may cause a somewhat rocky merge to master later. | |||||
| * | A slight improvement on name fetching -- using the local name cache, since ↵ | Diva Canto | 2009-10-09 | 1 | -0/+6 | |
| | | | | | | | | it exists. | |||||
| * | Use the cache, Luke! | Diva Canto | 2009-10-09 | 1 | -25/+8 | |
| | | ||||||
* | | Merge branch 'master' into htb-throttle | Melanie | 2009-10-09 | 2 | -0/+8 | |
|\ \ | |/ | ||||||
| * | Adding a hair item to the default wearables, fixes newly created avatars ↵ | Rob Smart | 2009-10-09 | 2 | -0/+8 | |
| | | | | | | | | appearing as a cloud | |||||
* | | Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵ | John Hurliman | 2009-10-09 | 3 | -3/+7 | |
|/ | | | | contain an unmanaged resource that will not automatically be disposed when they are GCed), and commenting out some ManualResetEvents that are not in use yet | |||||
* | Remove ThreadTrackerTest. It's no longer relevant because the thread | Melanie | 2009-10-08 | 1 | -56/+0 | |
| | | | | tracker now uses the system thread list | |||||
* | Bug fix. | Diva Canto | 2009-10-07 | 1 | -2/+6 | |
| | ||||||
* | Printout one more field in show threads, but this won't buy us much. | Diva Canto | 2009-10-07 | 1 | -1/+2 | |
| | ||||||
* | Merge branch 'master' into htb-throttle | Melanie | 2009-10-07 | 1 | -17/+62 | |
|\ | ||||||
| * | * One more debug message on FetchInventoryDescendants | Diva Canto | 2009-10-06 | 1 | -17/+62 | |
| | | | | | | | | * More streams close on finally | |||||
| * | Revert "Rewrote parts of the code that were double-locking different ↵ | Melanie | 2009-10-07 | 1 | -27/+39 | |
| | | | | | | | | | | | | objects. This is about half of the code base reviewed." This reverts commit e992ca025571a891333a57012c2cd4419b6581e5. | |||||
* | | Revert "Merging in diva's locking fixes" | Melanie | 2009-10-07 | 3 | -32/+44 | |
| | | | | | | | | This reverts commit 832cc685138b2244529f10b54b373c34adb4a633. | |||||
* | | Merging in diva's locking fixes | John Hurliman | 2009-10-06 | 3 | -44/+32 | |
|\ \ | |/ | ||||||
| * | Rewrote parts of the code that were double-locking different objects. This ↵ | Diva Canto | 2009-10-06 | 1 | -39/+27 | |
| | | | | | | | | is about half of the code base reviewed. | |||||
| * | * Change some more default ports to the robust default of 8003 | Justin Clark-Casey (justincc) | 2009-10-06 | 2 | -5/+5 | |
| | | | | | | | | | | * Make these use existing constants rather than hardcoding * These will probably go away soon anyway once all services are under ROBUST | |||||
* | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵ | John Hurliman | 2009-10-06 | 1 | -2/+2 | |
|\ \ | |/ | | | | | htb-throttle | |||||
| * | Corrected words in error message. | Diva Canto | 2009-10-06 | 1 | -2/+2 | |
| | | ||||||
* | | * Try/catch around EndInvoke() when Util.FireAndForget() returns to catch ↵ | John Hurliman | 2009-10-06 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | 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 | |||||
* | | Fixing a few compile errors in the previous commit | John Hurliman | 2009-10-06 | 2 | -159/+8 | |
| | | ||||||
* | | * Continued work on the new LLUDP implementation. Appears to be functioning, ↵ | John Hurliman | 2009-10-06 | 3 | -122/+248 | |
| | | | | | | | | | | | | | | | | 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 | |||||
* | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵ | John Hurliman | 2009-10-05 | 2 | -3/+21 | |
|\ \ | |/ | | | | | htb-throttle | |||||
| * | * GridServerPostHandler.cs: Try/catch in Handle | Diva Canto | 2009-10-05 | 1 | -1/+7 | |
| | | | | | | | | * BaseOpenSimServer.cs: Added thread pool numbers in show threads | |||||
| * | More error messages to warn when/if things go wrong. | Diva Canto | 2009-10-05 | 1 | -2/+14 | |
| | | ||||||
* | | Beginning work on the new LLUDP implementation | John Hurliman | 2009-10-05 | 1 | -7/+1 | |
|/ | ||||||
* | Closing more streams even if things fail. | Diva Canto | 2009-10-04 | 1 | -6/+25 | |
| | ||||||
* | Leaving the MemoryStreams unclosed. | Diva Canto | 2009-10-04 | 2 | -2/+4 | |
| | ||||||
* | Merge branch 'diva-textures-osgrid' | Melanie | 2009-10-04 | 8 | -15/+32 | |
|\ | ||||||
| * | Closing another stream. | Diva Canto | 2009-10-02 | 1 | -4/+19 | |
| | | ||||||
| * | * Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵ | John Hurliman | 2009-10-02 | 7 | -12/+14 | |
| | | | | | | | | | | | | 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? | |||||
* | | Slightly better message with status code for WebException. | Diva Canto | 2009-10-03 | 1 | -1/+1 | |
| | | ||||||
* | | Close was being called to early on the Memory stream. | Diva Canto | 2009-10-03 | 3 | -3/+7 | |
| | | ||||||
* | | More streams closed. | Diva Canto | 2009-10-03 | 2 | -2/+18 | |
| | | ||||||
* | | MOre streams closed. Corrected word in GridCommon.ini.example | Diva Canto | 2009-10-03 | 1 | -0/+1 | |
| | | ||||||
* | | Closing more streams. | Diva Canto | 2009-10-03 | 1 | -4/+27 | |
| | | ||||||
* | | Merge branch 'diva-textures-osgrid' | Melanie | 2009-10-02 | 1 | -6/+20 | |
|\ \ | |/ | ||||||
| * | Close streams in MakeRequest. | Diva Canto | 2009-10-02 | 1 | -6/+20 | |
| | | ||||||
* | | Merge branch 'master' into diva-textures | Melanie | 2009-10-02 | 2 | -1/+7 | |
|\ \ | ||||||
| * | | - cleaning up LandData/ILandObject capitalization issues | dr scofield (aka dirk husemann) | 2009-10-02 | 2 | -1/+7 | |
| | | | | | | | | | | | | - adding LandDataSerializer to OAR mechanics | |||||
* | | | Merge branch 'master' into diva-textures | Melanie | 2009-10-02 | 60 | -446/+884 | |
|\ \ \ | |/ / | | / | |/ |/| | ||||||
| * | - adding new LandDataSerializer testcase to "test-xml" target as well | dr scofield (aka dirk husemann) | 2009-10-01 | 2 | -14/+52 | |
| | | | | | | | | - adding another LandDataSerializer testcase |