aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2009-11-052-22/+29
|\
| * Change the permissions module to use the friend list cache already in theMelanie2009-11-052-2/+27
| | | | | | | | | | friends module instead of requesting the entire friends list over the network each time a prim is touched.
| * Remove a spammy debug message from friends list check in the perms module.Melanie2009-11-051-20/+2
| | | | | | | | | | Replace the integer compares with proper bitflags checking from libOMV. Friends rights are now functional.
* | * Escape / character when saving items and folders in an iar so that the ↵Justin Clark-Casey (justincc)2009-11-052-2/+18
|/ | | | loader doesn't barf
* Patch by revolution, thank you. Mantis #1789 . Implement friends permissions.Melanie2009-11-052-2/+41
| | | | | Applied with major changes. Core functionality commented pending review for possible rights escalation. No user functionality yet.
* Fixed a couple of NREs in corner cases.Diva Canto2009-11-031-0/+6
|
* * Committing missing file from last commit.Adam Frisby2009-11-021-0/+13
|
* * Implemented some tweaks to monitoring module.Adam Frisby2009-11-023-1/+95
| | | | | * Output is prettier & more useful. * Added 'Alerts' to allow rules to be constructed using Monitors to detect for events such as deadlocks. This will be translated to SNMP Traps when I get SNMP implemented.
* * Implements new 'Monitoring' system for reporting performance.Adam Frisby2009-11-0113-0/+420
| | | | | | * Mostly the same set as the StatsMonitor used for Viewer notification, but exposes some new frametimes - including EventMS, PhysicsUpdateMS, LandUpdateMS; new memory monitoring - both GC.TotalMemory and Process.PrivateWorkingMemory64; also exposes ThreadCount (using System.Diagnostics.Process) * Type 'monitor report' on the console to see output. * SNMP Implementation forthcoming.
* * Log progress messages when loading OAR files with a lot of assetsJohn Hurliman2009-10-291-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
* * Standalone logins will now go through the sequence of "requested region, ↵John Hurliman2009-10-281-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
* Make map search work also for hyperlinked regions.Diva Canto2009-10-271-4/+6
|
* Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman2009-10-261-4/+2
|
* * Switched all operations on the list of clients that could be either sync ↵John Hurliman2009-10-261-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
* Thank you, RemedyTomm, for an update to your previous patch. Garbage-collectMelanie2009-10-261-2/+21
| | | | the transfers that never happen.
* Thank you, RemedyTomm, for a patch to handle Xfer requests being droppedMelanie2009-10-261-2/+24
| | | | before the file data to be transfered is ready.
* * Changed various modules to not initialize timers unless the module is ↵John Hurliman2009-10-231-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
* 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
|