aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-19* Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). ↵John Hurliman2-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
2009-10-19Formatting cleanup.Jeff Ames1-2/+2
2009-10-16More debugging of RegionCombinerModule.RegionLoaded() by making ↵John Hurliman1-2/+6
RegionLoaded() a two line function
2009-10-15* Removed some of the redundant broadcast functions in Scene and SceneGraph ↵John Hurliman3-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)
2009-10-14Moved some code up to AddRegion, so that other modules that depend on it ↵Diva Canto1-6/+6
don't crash. This code needs to be removed as soon as user services is refactored.
2009-10-13* Fixes some prim crossings on megaregions with regions beyond the 512m markTeravus Ovares (Dan Olivares)1-4/+6
* There's a slight chance that this could cause a problem with regular prim crossings.. but hopefully not. Revert if it does.
2009-10-13* Rewrote ClientManager to remove Lindenisms from OpenSim core, improve ↵John Hurliman2-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)
2009-10-12* Fixes http://opensimulator.org/mantis/view.php?id=4225Diva Canto4-1/+49
* Fixes http://opensimulator.org/mantis/view.php?id=3959 * Allows for viewing inventory textures outside home grid
2009-10-120004246: [Patch] FlotsamAssetCache deep scan & cacheMelanie1-37/+270
Thank you, mcortez.
2009-10-10Fix selling objectsMelanie1-4/+3
2009-10-09Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman1-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
2009-10-07Revert "Rewrote parts of the code that were double-locking different ↵Melanie5-62/+51
objects. This is about half of the code base reviewed." This reverts commit e992ca025571a891333a57012c2cd4419b6581e5.
2009-10-07Revert "Merging in diva's locking fixes"Melanie5-62/+51
This reverts commit 832cc685138b2244529f10b54b373c34adb4a633.
2009-10-06Rewrote parts of the code that were double-locking different objects. This ↵Diva Canto5-51/+62
is about half of the code base reviewed.
2009-10-06* Removed verbose debug messageDiva Canto2-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
2009-10-06Removing dependencies on System.Runtime.Remoting.Diva Canto1-0/+4
2009-10-06Fixing a few compile errors in the previous commitJohn Hurliman3-4/+0
2009-10-05* minor: tweak asset cache logging levels downwardsJustin Clark-Casey (justincc)4-12/+9
2009-10-05GetRegionByPosition: use the cache, Luke.Diva Canto2-0/+28
2009-10-04* KeepAlive set to false in expect_user and log_off.Diva Canto1-4/+9
* Check for null SP in PermissionsModule.
2009-10-04Stream needs to be closed before the file can be moved...Diva Canto1-5/+6
2009-10-04Make sure to close the file streams on the FlotsamCache, even if something ↵Diva Canto1-4/+12
fails.
2009-10-03Fix my build breakMelanie1-2/+2
2009-10-03Small permissions tweakMelanie1-1/+4
2009-10-02* Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman3-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?
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)8-268/+304
- adding LandDataSerializer to OAR mechanics
2009-10-02* Attempting to fix a issue with console commands & the estate module. Again.Adam Frisby1-4/+52
2009-10-01* Rewrote LLImageManager to use a real priority queue and hold minimal stateJohn Hurliman1-1/+0
* Rewrote the logic in J2KImage.RunUpdate() * Added a default avatar texture (I made it myself)
2009-10-01Formatting cleanup.Jeff Ames7-8/+8
2009-09-30Attempting to improve the robustness of texture decoding by always ignoring ↵John Hurliman2-529/+161
LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory * Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K * Renamed IJ2KDecoder and J2KDecoder member names to follow standard naming conventions * Removed j2kDecodeCache cruft and replaced it with the OpenSim cache system * Rewrote the default layer boundary algorithm to use percentages instead of an exponent * Switched from an infinite in-memory cache to an expiring cache (10 minute timeout) * Slightly quieted logging errors for failed texture decodes
2009-09-30Revert "Attempting to improve the robustness of texture decoding by always ↵Melanie1-68/+168
ignoring LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug" This reverts commit 22cc31135e2989df28e0756eb3b03f85530d5555.
2009-09-30Attempting to improve the robustness of texture decoding by always ignoring ↵John Hurliman1-168/+68
LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory * Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K
2009-10-01Formatting cleanup.Jeff Ames41-193/+193
2009-09-29Minor bug fixes.Diva Canto2-1/+4
2009-09-29A little hack to see if this fixes the problems with ~20% of SOG's becoming ↵Diva Canto1-1/+20
phantom after an import to megaregions.
2009-09-28Fixed bug in Check4096 (HG).Diva Canto1-2/+2
2009-09-28Improved the Local grid connector to fetch data from the DB when it doesn't ↵Diva Canto2-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.
2009-09-29Add copyright header. Formatting cleanup.Jeff Ames1-1/+28
2009-09-27Fixed an issue with the PresenceModule in "gridmode", introduced by my ↵Diva Canto1-3/+0
fixing the notifications of the messaging service in standalone.
2009-09-27Guarding the methods under if (m_Enabled)Diva Canto1-3/+7
2009-09-27Neighbours cache working.Diva Canto4-8/+121
2009-09-27Unpacking the mess with OtherRegionUp, so we can have a real cache of the ↵Diva Canto3-7/+8
neighbours in the grid service modules.
2009-09-26Moved all HG1 operations to HGGridConnector.cs and ↵Diva Canto5-42/+249
HypergridServerConnector.cs/HypergridServiceConnector.cs, away from Region.Communications and HGNetworkServersInfo. Fixed small bugs with hyperlinked regions' map positions.
2009-09-26Fixed a bug with link-region.Diva Canto3-28/+14
2009-09-26Fixed the order of params to GetRegionRange.Diva Canto1-6/+10
2009-09-26Fixed MapBlocks bug, wrong order of arguments. First version that seems ↵Diva Canto2-2/+14
completely functional. Also fixed the notification of the message server in standalone -- that server doesn't usually exist.
2009-09-26More redirects to HGGridConnector-as-HyperlinkService.Diva Canto2-6/+20
2009-09-26First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto12-272/+192
minimally. A few bugs to catch now.
2009-09-25* Does a full battery of tests to ensure that the object isn't an attachment ↵Teravus Ovares (Dan Olivares)1-3/+3
before border crossing * Fixes 'Inconsistent Attachment State' when teleporting into another region besides the SW most region slot on a MegaRegion. * Fixes a host of other unintended attachment border cross edge cases that lead to Inconsistent attachment state.
2009-09-25More small changes to FlotsamAssetCache as per mcortez' request.Diva Canto1-2/+2