aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Experimental change to use an immutable array for iterating ScenePresences, ↵John Hurliman2009-10-233-11/+21
| | | | avoiding locking and copying the list each time it is accessed
* * Send out m_bodyRot everywhere instead of m_rotation. Still have no clue ↵John Hurliman2009-10-221-15/+16
| | | | | | which is right * Fix WorldMapModule.process() to not trip the watchdog timer
* Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman2009-10-223-17/+19
| | | | use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated
* A synchronous call to the messaging server was blocking the process of ↵John Hurliman2009-10-221-1/+7
| | | | promoting an agent to a root agent (logins and teleports). Changed to an async method
* * Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to ↵John Hurliman2009-10-212-7/+3
| | | | | | 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
* Reverting the deletion of files related to texture sending until we figure ↵John Hurliman2009-10-204-0/+866
| | | | out exactly what is and isn't needed
* * Removing cruft left over from the conversion to the new texture sending ↵John Hurliman2009-10-209-1112/+45
| | | | | | and UDP code * Changing the cache modules to only initialize the caches if they are actually enabled. Should save a bit of resources from unused cache systems
* * Removed OpenSim.Data.NHibernateJohn Hurliman2009-10-192-3/+3
| | | | * 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-191-2/+2
|\ | | | | | | prioritization
| * Formatting cleanup.Jeff Ames2009-10-191-2/+2
| |
* | * Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). ↵John Hurliman2009-10-192-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | More debugging of RegionCombinerModule.RegionLoaded() by making ↵John Hurliman2009-10-161-2/+6
| | | | | | | | RegionLoaded() a two line function
* | * Removed some of the redundant broadcast functions in Scene and SceneGraph ↵John Hurliman2009-10-153-9/+10
|/ | | | | | | | 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)
* Moved some code up to AddRegion, so that other modules that depend on it ↵Diva Canto2009-10-141-6/+6
| | | | don't crash. This code needs to be removed as soon as user services is refactored.
* Merge branch 'master' into htb-throttleMelanie2009-10-146-42/+325
|\
| * * Fixes some prim crossings on megaregions with regions beyond the 512m markTeravus Ovares (Dan Olivares)2009-10-131-4/+6
| | | | | | | | * There's a slight chance that this could cause a problem with regular prim crossings.. but hopefully not. Revert if it does.
| * * Fixes http://opensimulator.org/mantis/view.php?id=4225Diva Canto2009-10-124-1/+49
| | | | | | | | | | * Fixes http://opensimulator.org/mantis/view.php?id=3959 * Allows for viewing inventory textures outside home grid
| * 0004246: [Patch] FlotsamAssetCache deep scan & cacheMelanie2009-10-121-37/+270
| | | | | | | | Thank you, mcortez.
* | * Rewrote ClientManager to remove Lindenisms from OpenSim core, improve ↵John Hurliman2009-10-132-8/+12
| | | | | | | | | | | | | | | | 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)
* | Merge branch 'master' into htb-throttleMelanie2009-10-101-4/+3
|\ \ | |/ | | | | | | This is hand-edited to not let master changes creep into here and may cause a somewhat rocky merge to master later.
| * Fix selling objectsMelanie2009-10-101-4/+3
| |
* | Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman2009-10-091-2/+2
|/ | | | 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
* Revert "Merging in diva's locking fixes"Melanie2009-10-075-62/+51
| | | | This reverts commit 832cc685138b2244529f10b54b373c34adb4a633.
* Merging in diva's locking fixesJohn Hurliman2009-10-065-51/+62
|\
| * Rewrote parts of the code that were double-locking different objects. This ↵Diva Canto2009-10-065-51/+62
| | | | | | | | is about half of the code base reviewed.
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵John Hurliman2009-10-063-2/+6
|\ \ | |/ | | | | htb-throttle
| * * Removed verbose debug messageDiva Canto2009-10-062-2/+2
| | | | | | | | | | * Restored HG inventory access which had been lost upon adding a 3rd argument to inventory and asset server handlers * Fixed a stupid bug in the InventoryConnector which was making move items do things twice
| * Removing dependencies on System.Runtime.Remoting.Diva Canto2009-10-061-0/+4
| |
* | Fixing a few compile errors in the previous commitJohn Hurliman2009-10-063-4/+0
|/
* * minor: tweak asset cache logging levels downwardsJustin Clark-Casey (justincc)2009-10-054-12/+9
|
* GetRegionByPosition: use the cache, Luke.Diva Canto2009-10-052-0/+28
|
* * KeepAlive set to false in expect_user and log_off.Diva Canto2009-10-041-4/+9
| | | | * Check for null SP in PermissionsModule.
* Stream needs to be closed before the file can be moved...Diva Canto2009-10-041-5/+6
|
* Make sure to close the file streams on the FlotsamCache, even if something ↵Diva Canto2009-10-041-4/+12
| | | | fails.
* Merge branch 'diva-textures-osgrid'Melanie2009-10-043-9/+9
|\
| * * Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman2009-10-023-9/+9
| | | | | | | | | | | | 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?
* | Fix my build breakMelanie2009-10-031-2/+2
| |
* | Small permissions tweakMelanie2009-10-031-1/+4
| |
* | Merge branch 'master' into diva-texturesMelanie2009-10-028-268/+304
|\ \
| * | - cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)2009-10-028-268/+304
| | | | | | | | | | | | - adding LandDataSerializer to OAR mechanics
* | | Merge branch 'master' into diva-texturesMelanie2009-10-0265-540/+2738
|\ \ \ | |/ / | | / | |/ |/|
| * * Attempting to fix a issue with console commands & the estate module. Again.Adam Frisby2009-10-021-4/+52
| |
| * Formatting cleanup.Jeff Ames2009-10-017-8/+8
| |
| * Formatting cleanup.Jeff Ames2009-10-0141-193/+193
| |
| * Minor bug fixes.Diva Canto2009-09-292-1/+4
| |
| * A little hack to see if this fixes the problems with ~20% of SOG's becoming ↵Diva Canto2009-09-291-1/+20
| | | | | | | | phantom after an import to megaregions.
| * Fixed bug in Check4096 (HG).Diva Canto2009-09-281-2/+2
| |
| * Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensimDiva Canto2009-09-281-1/+28
| |\
| | * Add copyright header. Formatting cleanup.Jeff Ames2009-09-291-1/+28
| | |
| * | Improved the Local grid connector to fetch data from the DB when it doesn't ↵Diva Canto2009-09-282-2/+15
| |/ | | | | | | | | | | find it in the cache. Commented out the Standalone teleport test because it's failing, and the scene setup is very confusing. I suspect it may be wrong -- the connectors-as-ISharedRegionModules are being instantiated several times when there are several scenes.