aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Replaced (possibly broken?) math for calculating the unix timestamp in ↵John Hurliman2009-10-141-1/+1
| | | | | | | MySQLAssetData with Utils.DateTimeToUnixTime() * Disabled UpdateAccessTime() function since it was only writing zeros anyways. This gave me a significant performance improvement for startup times and avatar logins in standalone mode * Load attachments asynchronously so avatars with lots of attachments don't have to race the timeout clock to login
* Merge branch 'master' into htb-throttleMelanie2009-10-141-0/+1
|\
| * Setting changeY in border crossing.Diva Canto2009-10-141-0/+1
| |
* | Merge branch 'master' into htb-throttleMelanie2009-10-141-21/+93
|\ \ | |/
| * * Fixes some prim crossings on megaregions with regions beyond the 512m markTeravus Ovares (Dan Olivares)2009-10-131-21/+93
| | | | | | | | * There's a slight chance that this could cause a problem with regular prim crossings.. but hopefully not. Revert if it does.
* | Optimized heartbeat by calling Update() only on updated objects.Dan Lake2009-10-131-45/+37
| | | | | | | | | | | | | | | | During the heartbeat loop, Update() is called on every SceneObjectGroup which in turn checks if any SceneObjectPart has changed. For large regions (> 100k prims) this work consumes 20-30% of a CPU even though there are only a few objects updating each frame. There is only one other reason to check every object on every frame, and that is the case where a script has registered the object with an "at target" listener. We can easily track when an object is registered or unregistered with an AtTarget, so this is not a reason to check every object every heartbeat. In the attached patch, I have added a dictionary to the scene which tracks the objects which have At Targets. Each heartbeat, the AtTarget() function will be called on every object registered with a listener for that event. Also, I added a dictionary to SceneGraph which stores references to objects which have been queued for updates during the heartbeat. At each heartbeat, Update() is called only on the objects which have generated updates during that beat.
* | * Consolidated adding / removing ClientManager IClientAPIs to two places in ↵John Hurliman2009-10-131-0/+4
| | | | | | | | | | | | | | | | Scene * Added some missing implementations of IClientAPI.RemoteEndPoint * Added a ClientManager.Remove(UUID) overload * Removed a reference to a missing project from prebuild.xml
* | * Rewrote ClientManager to remove Lindenisms from OpenSim core, improve ↵John Hurliman2009-10-131-3/+3
| | | | | | | | | | | | | | | | 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)
* | * Unregister event handlers in LLUDPServer when a client logs out and ↵John Hurliman2009-10-131-13/+2
| | | | | | | | | | | | | | | | disconnects * Move ViewerEffect handling to Scene.PacketHandlers * Removing the unused CloseAllAgents function * Trimming ClientManager down. This class needs to be reworked to keep LLUDP circuit codes from intruding into the abstract OpenSim core code
* | Merge branch 'master' into htb-throttleMelanie2009-10-121-56/+54
|\ \ | |/
| * Fixed tree crossing. This will alleviateDiva Canto2009-10-111-56/+54
| | | | | | | | http://opensimulator.org/mantis/view.php?id=4163
* | Change the backup thread to run on a BackgroundWorker instead of a Thread. I ↵John Hurliman2009-10-091-4/+4
|/ | | | don't have an explanation, but this seems to stop a slow but steady memory leak I was experiencing
* Added a debug line for nebadonJohn Hurliman2009-10-061-0/+3
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵John Hurliman2009-10-061-0/+16
|\ | | | | | | htb-throttle
| * Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensimMelanie2009-10-061-6/+6
| |\
| | * Commenting the DEBUG code that I added yesterday, because it's causing mono ↵Diva Canto2009-10-061-6/+6
| | | | | | | | | | | | | | | | | | to fail with https://bugzilla.novell.com/show_bug.cgi?id=538854
| * | Lock the heartbeat against multiple invocations. May prevent deadlocks and/orMelanie2009-10-061-0/+10
| |/ | | | | | | runaway thread use
| * Correction on the DEBUG code.Diva Canto2009-10-051-4/+3
| |
| * #if DEBBUG code for monitoring the ThreadPool.Diva Canto2009-10-051-0/+7
| |
* | Fixing a few compile errors in the previous commitJohn Hurliman2009-10-061-2/+0
|/
* - cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)2009-10-021-9/+9
| | | | - adding LandDataSerializer to OAR mechanics
* Revert "* Adding Scale to EntityBase * Fixing the incorrect initialization ↵Melanie2009-10-021-2/+2
| | | | | | of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity" This reverts commit 39842eb4af3b5a8c52d56c0f7f05ad54f0651bb0.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJohn Hurliman2009-09-301-1/+1
|\
| * Formatting cleanup.Jeff Ames2009-10-011-1/+1
| |
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJohn Hurliman2009-09-301-99/+95
|\ \ | |/
| * Formatting cleanup.Jeff Ames2009-10-011-4/+4
| |
| * A little hack to see if this fixes the problems with ~20% of SOG's becoming ↵Diva Canto2009-09-291-0/+5
| | | | | | | | phantom after an import to megaregions.
| * Neighbours cache working.Diva Canto2009-09-271-0/+4
| |
| * Unpacking the mess with OtherRegionUp, so we can have a real cache of the ↵Diva Canto2009-09-271-43/+20
| | | | | | | | neighbours in the grid service modules.
| * First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto2009-09-261-52/+62
| | | | | | | | minimally. A few bugs to catch now.
* | * Adding Scale to EntityBase * Fixing the incorrect initialization of ↵John Hurliman2009-09-161-2/+2
|/ | | | EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity
* Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2009-09-161-1/+2
|\
| * updated the IAuthorizationService interface so that a message is passed back ↵Rob Smart2009-09-161-1/+2
| | | | | | | | and can be displayed at the client when an avatar is denied access to a region
* | on iar save/load, let the user know if they put in the wrong passwordJustin Clark-Casey (justincc)2009-09-161-4/+1
|/ | | | refactor GetUserInfo() to eliminate copypasta
* Formatting cleanup.Jeff Ames2009-09-131-7/+7
|
* Changed the interface of IAuthorizationService to get less data.Diva Canto2009-09-101-5/+3
|
* The stubs for an authorization service, at the moment the service will ↵Rob Smart2009-09-101-1/+32
| | | | always grant access to an avatar entering the region if requested.
* fix spurious loading... messages on iar load by creating folders as version ↵Justin Clark-Casey (justincc)2009-09-101-1/+0
| | | | 1 rather than version 0
* minor: suppress mono warning 0162 generated when comparing const RegionSize ↵Justin Clark-Casey (justincc)2009-09-091-0/+1
| | | | against a literal number
* * Fixes a 'take object from mega region' and rez it in a regular region.. ↵Teravus Ovares (Dan Olivares)2009-09-081-0/+17
| | | | and have it appear 5 regions over bug by limiting the stored position in the asset to Constants.RegionSize. The stored position in the asset gets overwritten anyway by the rezzing routine, but at least this way, there's no chance of the objects border crossing before the rezzing routine finishes.
* Merge branch 'master' of ssh://MyConnection/var/git/opensimTeravus Ovares (Dan Olivares)2009-09-061-3/+32
|\
| * Addendum to last commit. With the last commit, some other code that shouldMelanie2009-09-061-0/+5
| | | | | | | | | | | | | | have been in this commit slipped in. If the last heartbeat is more than 2 seconds ago, kill that thread and start a new one. Untested. his commit adds support to let the first heartbeat complete unconditionally, since it is almost always longer.
| * Remove the encryption from the IAuthenticationService interface. ThatMelanie2009-09-061-3/+27
| | | | | | | | | | is too high up for that type of stuff. It needs to be at the connector/handler level
* | * Moves another Legacy avatar inbounds check to BorderTeravus Ovares (Dan Olivares)2009-09-061-4/+10
|/
* * Fixes various quirks rezzing in virtual regions.Teravus Ovares (Dan Olivares)2009-09-041-27/+241
| | | | | | | * Breaks up the Client event registrations in Scene into methods of similar event types. The generic event registration registers all of the event types. *Created symmetrical Un-Registration methods. * Made the Registration and Unregistration methods public * Hooks The events required for creating new prim and rezzing new prim into the proper scene.
* Add copyright headers. Formatting cleanup.Jeff Ames2009-09-031-1/+1
|
* * One last attempt to get the bordercrossing/primcrossing/attachmentcrossing ↵Teravus Ovares (Dan Olivares)2009-09-021-16/+20
| | | | | | right in the new border framework. * This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
* Thank you, dslake, for a set of patches to improve OpenSim startupMelanie2009-09-021-1/+1
| | | | and idle performance.
* * The return of fuzzy borders!Teravus Ovares (Dan Olivares)2009-08-311-8/+8
|
* No more fuzzy bordersTeravus Ovares (Dan Olivares)2009-08-311-8/+8
|