aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Correct version number after mergeMelanie2009-10-221-2/+2
|
* Merge branch 'vehicles'Melanie2009-10-221-2/+2
|\
| * Merge branch 'master' into vehiclesMelanie2009-10-2210-45/+738
| |\
| * \ Merge branch 'master' into vehiclesMelanie2009-10-195-17/+40
| |\ \
| * \ \ Merge branch 'master' into vehiclesMelanie2009-10-158-142/+290
| |\ \ \
| * \ \ \ Merge branch 'master' into vehiclesMelanie2009-10-121-5/+5
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into vehiclesMelanie2009-10-123-23/+20
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into vehiclesMelanie2009-10-087-359/+324
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' into vehiclesMelanie2009-10-063-5/+23
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' into vehiclesMelanie2009-10-0512-33/+129
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'master' into vehiclesMelanie2009-10-026-82/+16
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'master' into vehiclesMelanie2009-10-022-1/+7
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into vehiclesMelanie2009-10-0155-396/+570
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | change 0.6.7 candidate branch down to RC1Justin Clark-Casey (justincc)2009-09-291-1/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | Bump version number in post-fixesMelanie2009-09-281-2/+2
| | | | | | | | | | | | |
* | | | | | | | | | | | | * Added a check if Util.m_ThreadPool is null before trying to use it, and if ↵John Hurliman2009-10-221-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so initialize it to sane defaults * Simplified the InitThreadPool() function
* | | | | | | | | | | | | Add copyright header. Formatting cleanup.Jeff Ames2009-10-221-0/+27
| | | | | | | | | | | | |
* | | | | | | | | | | | | * Allow SmartThreadPool to be initialized without setting max stack size ↵John Hurliman2009-10-221-5/+7
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (like the original implementation) * Only initialize Util's SmartThreadPool if it is actually being used * No longer initializing Util's SmartThreadPool with a custom max stack size. From MSDN: "Avoid using this constructor overload. The default stack size used by the Thread(ThreadStart) constructor overload is the recommended stack size for threads."
* | | | | | | | | | | | Remove the "mel_t" from version stringMelanie2009-10-221-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'melanie_test' into prioritizationMelanie2009-10-222-4/+24
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes SmartThreadPool configurable and also makes it the default, since the regular thread pool simply stinks.
| * | | | | | | | | | | | Reduce the default pool threads to 15 (from 30) and the minimum from 5 to 2Melanie2009-10-221-1/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add MaxPoolThreads in startup to limit the size of the thread pool usedMelanie2009-10-221-12/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for FireAndForget. This lets us limit concurrency to make OpenSim play nice
| * | | | | | | | | | | | Mark new versionMelanie2009-10-221-1/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | * Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to ↵John Hurliman2009-10-213-23/+55
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Util.FireAndForget() * Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
* | | | | | | | | | | | * Change the OnQueueEmpty signature to send the flags of the queues that are ↵John Hurliman2009-10-211-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | empty instead of firing once per empty queue * Change the OnQueueEmpty firing to use a minimum time until next fire instead of a sleep * Set OutgoingPacket.TickCount = 0 earlier to avoid extra resends when things are running slowly (inside a profiler, for example)
* | | | | | | | | | | | Merged master into prioritizationJohn Hurliman2009-10-212-2/+22
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Fix web map retrieval for regions configured via .iniMelanie2009-10-211-2/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | Really make module port selection work. Implement port setting inMelanie2009-10-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LLProxyLoginModule.
| * | | | | | | | | | | | Add MainServer.GetHttpServer(port) method for using multiple listenerMelanie2009-10-201-0/+17
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ports in region modules
* | | | | | | | | | | | * Removing ODEPrim and ODECharacter GetHashCode() overrides since they were ↵John Hurliman2009-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | based on something that could change * Tweaked a few other GetHashCode() overrides to bring them in line with MSDN recommendations
* | | | | | | | | | | | * Removed OpenSim.Data.NHibernateJohn Hurliman2009-10-193-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
* | | | | | | | | | | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵John Hurliman2009-10-193-16/+16
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | prioritization
| * | | | | | | | | | | Minor formatting cleanup.Jeff Ames2009-10-191-12/+12
| | | | | | | | | | | |
| * | | | | | | | | | | Formatting cleanup.Jeff Ames2009-10-192-4/+4
| | | | | | | | | | | |
* | | | | | | | | | | | * Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). ↵John Hurliman2009-10-191-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids .NET remoting and a managed->unmanaged->managed jump. Overall, a night and day performance difference * Initialize the LLClientView prim full update queue to the number of prims in the scene for a big performance boost * Reordered some comparisons on hot code paths for a minor speed boost * Removed an unnecessary call to the expensive DateTime.Now function (if you *have* to get the current time as opposed to Environment.TickCount, always use DateTime.UtcNow) * Don't fire the queue empty callback for the Resend category * Run the outgoing packet handler thread loop for each client synchronously. It seems like more time was being spent doing the execution asynchronously, and it made deadlocks very difficult to track down * Rewrote some expensive math in LandObject.cs * Optimized EntityManager to only lock on operations that need locking, and use TryGetValue() where possible * Only update the attachment database when an object is attached or detached * Other small misc. performance improvements
* | | | | | | | | | | | * Rewrote the methods that build ObjectUpdate and ImprovedTerseObjectUpdate ↵John Hurliman2009-10-182-109/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packets to fill in the data more accurately and avoid allocating memory that is immediately thrown away * Changed the Send*Data structs in IClientAPI to use public readonly members instead of private members and getters * Made Parallel.ProcessorCount public * Started switching over packet building methods in LLClientView to use Util.StringToBytes[256/1024]() instead of Utils.StringToBytes() * More cleanup of the ScenePresences vs. ClientManager nightmare * ScenePresence.HandleAgentUpdate() will now time out and drop incoming AgentUpdate packets after three seconds. This fixes a deadlock on m_AgentUpdates that was blocking up the LLUDP server
* | | | | | | | | | | | * Big performance increase in loading prims from the region database with MySQLJohn Hurliman2009-10-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle the AgentFOV packet * Bypass queuing and throttles for ping checks to make ping times more closely match network latency * Only track reliable bytes in LLUDPCLient.BytesSinceLastACK
* | | | | | | | | | | | Committing the second part of Jim Greensky @ Intel Lab's patch, ↵John Hurliman2009-10-171-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | re-prioritizing updates
* | | | | | | | | | | | Added a description for RegionTypeJohn Hurliman2009-10-171-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'master' into prioritizationMelanie2009-10-171-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | Adds SendAvatarInterestsUpdate to IClientAPIMelanie2009-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thank you, Fly-Man
* | | | | | | | | | | | Merge branch 'master' into prioritizationMelanie2009-10-171-16/+16
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | Re-rename ProductName back to it's original RegionTypeMelanie2009-10-171-16/+16
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'master' into prioritizationMelanie2009-10-171-1/+23
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | Add ProductName to RegionInfo (for search)Melanie2009-10-171-1/+23
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
* | | | | | | | | | | Converted FireAndForget methods to use a singleton pattern to attempt to ↵John Hurliman2009-10-161-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | work around a Mono bug with nested delegates
* | | | | | | | | | | Object update prioritization by Jim Greensky of Intel Labs, part one. This ↵John Hurliman2009-10-151-23/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+375
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | * Clean up the SetThrottle() code and add a maxBurstRate parameter to allow ↵John Hurliman2009-10-141-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more tweaking in the future
* | | | | | | | | | * Switched to a plain lock for the ClientManager collections and protected ↵John Hurliman2009-10-141-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"