aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-29* Log progress messages when loading OAR files with a lot of assetsJohn Hurliman1-0/+3
* Change the PhysicsCollision callback for objects to send full contact point information. This will be used to calculate the collision plane for avatars * Send the physics engine velocity in terse updates, not the current force being applied to the avatar. This should fix several issues including crouching through the floor and walking through walls
2009-10-28* Standalone logins will now go through the sequence of "requested region, ↵John Hurliman1-1/+5
default region, any region" before giving up * Hip offset should have been added not subtracted (it's a negative offset). This puts avatar feet closer to the ground * Improved duplicate checking for terse updates. This should reduce bandwidth and walking through walls
2009-10-27Make map search work also for hyperlinked regions.Diva Canto1-4/+6
2009-10-26Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman1-4/+2
2009-10-26* Switched all operations on the list of clients that could be either sync ↵John Hurliman1-1/+1
or async to use Scene.ForEachClient() instead of referencing ClientManager directly * Added a new [Startup] config option called use_async_when_possible to signal how to run operations that could be either sync or async * Changed Scene.ForEachClient to respect use_async_when_possible * Fixing a potential deadlock in Parallel.ForEach by locking on a temporary object instead of the enumerator (which may be shared across multiple invocations on ForEach). Thank you diva
2009-10-26Thank you, RemedyTomm, for an update to your previous patch. Garbage-collectMelanie1-2/+21
the transfers that never happen.
2009-10-26Thank you, RemedyTomm, for a patch to handle Xfer requests being droppedMelanie1-2/+24
before the file data to be transfered is ready.
2009-10-23* Changed various modules to not initialize timers unless the module is ↵John Hurliman1-17/+19
initialized. Ideally, the timers would not initialize unless the module was actually enabled, but Melanie's work on configuring module loading from a config file should make that unnecessary * Wrapped the Bitmap class used to generate the world map tile in a using statement to dispose of it after the JPEG2000 data is created
2009-10-23Experimental change to use an immutable array for iterating ScenePresences, ↵John Hurliman3-11/+21
avoiding locking and copying the list each time it is accessed
2009-10-22* Send out m_bodyRot everywhere instead of m_rotation. Still have no clue ↵John Hurliman1-15/+16
which is right * Fix WorldMapModule.process() to not trip the watchdog timer
2009-10-22Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman3-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
2009-10-22A synchronous call to the messaging server was blocking the process of ↵John Hurliman1-1/+7
promoting an agent to a root agent (logins and teleports). Changed to an async method
2009-10-21* Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to ↵John Hurliman2-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
2009-10-20Reverting the deletion of files related to texture sending until we figure ↵John Hurliman4-0/+866
out exactly what is and isn't needed
2009-10-20* Removing cruft left over from the conversion to the new texture sending ↵John Hurliman9-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
2009-10-19* Removed OpenSim.Data.NHibernateJohn Hurliman2-3/+3
* Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
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