aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mantis #2584 (again)Melanie Thielker2008-11-301-1/+14
| | | | | | Next step of diva's TP fixes and HG support
* Fix prim crossings, again.Melanie Thielker2008-11-301-2/+5
|
* Update svn properties. Add copyright header. Minor formatting cleanup.Jeff Ames2008-11-301-1/+1
|
* Add configuration values for scripted prim region crossingMelanie Thielker2008-11-291-0/+4
|
* Finally make attachments stay put. Randomize local ID generation toMelanie Thielker2008-11-291-2/+5
| | | | | | | | | prevent adjacent sims from using identical Local IDs for the attachment Thanks to Mana Janus (Hippo Viewer) for providing the crucial bit of information, namely that, due to a bug in the viewer, adjacent sims can't use the same local ids.
* Stop attachments from twisting away. Thismakes attachments phantom, whichMelanie Thielker2008-11-291-0/+1
| | | | | | is the proper way to handle this
* A try to better attachment crossing.Melanie Thielker2008-11-291-50/+59
|
* * simplify AddNewClient since making this root without using MakeRootAgent() ↵Justin Clarke Casey2008-11-281-8/+7
| | | | no longer sets everything up properly
* * test: Add a wodge of code in order to be able to slightly extend a test to ↵Justin Clarke Casey2008-11-281-2/+2
| | | | | | | | deliver a taken object to a user inventory folder without throwing an exception * test doesn't actually double check for the presence of the item yet
* Revert setting the parent local is explicitly, as that caused even moreMelanie Thielker2008-11-281-3/+0
| | | | | | failures
* Omit parcel checks for attachments.Melanie Thielker2008-11-281-4/+14
|
* Force regioncrossed prims to get a new LocalID. Reset parent local ID to newMelanie Thielker2008-11-281-0/+8
| | | | | | avatar local ID when corssing.
* Invert a test to allow prims to region-cross againMelanie Thielker2008-11-281-1/+1
|
* * test: Add the ability to add a plugin directory to the user and inventory ↵Justin Clarke Casey2008-11-271-0/+2
| | | | | | | | services in order to extend unit tests for user and inventory information * I can't spend any longer in trying to get Mono.Addins to work with the unit tests, so this is not a proper plugin at this time
* Fix permission propagation that was broken some revision back, causingMelanie Thielker2008-11-271-1/+1
| | | | | | sold/given prim to become full perm.
* * Removed more locks on EntitiesAdam Frisby2008-11-241-21/+3
| | | | | | | * Entities should now in theory be lock-free externally. * Other properties may cause blocking however[?]. * ScenePresence maintains separate locks so isn't fixed by this commit.
* * Swaps Scene.Entities Dictionary for EntityManager.Adam Frisby2008-11-241-3/+9
| | | | | | * Important Changes: Scene.Entities is now IEnumerable directly. You do not need to use Entities.Values, you can Enumerate on .Entities directly. (So 'foreach Scene.Entities' vs 'foreach Scene.Entities.Values'). * Locks: Entities maintains it's own internal locking states. This means you do not need to lock entities anymore. I'll be going through and removing locks on it systematically.
* Add root agent tracking to presence moduleMelanie Thielker2008-11-221-1/+1
|
* Next step in the presence module - some core plumbing included atMelanie Thielker2008-11-221-0/+2
| | | | | | no extra cost
* Mantis #2442Melanie Thielker2008-11-221-1/+3
| | | | | | Attempt to reinstate the Object Entry flag in parcel settings
* Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2008-11-211-6/+6
| | | | | | the internals of the permissions module adapter sane
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-4/+4
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-211-3/+3
|
* Fully implement object return from the parcel dialogMelanie Thielker2008-11-211-42/+48
|
* * Add enough infrastructure code to run an extremely basic and flaky add ↵Justin Clarke Casey2008-11-201-1/+1
| | | | root agent scene test
* Mantis#2638. Thank you kindly, Sacha Magne for a patch that:Charles Krinke2008-11-191-0/+19
| | | | | | Implementing "Play sound inworld". Currently a WIP .
* Prevent a nullref when building new prims while others watchMelanie Thielker2008-11-181-1/+1
|
* * Added and removed debug information relating to client connectionsAdam Frisby2008-11-181-0/+3
| | | | | | * Minor client fixes * Added the ability for a client to login without a UserProfile, allowing certain alternate clients to connect to the region.
* Make newly created prims be the correct groupMelanie Thielker2008-11-171-5/+6
|
* * Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey2008-11-171-5/+5
| | | | | | | | | | * This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts will not be sent to the client * This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation * Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP * Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
* Fix NRE on TP-to-home, if the home-region is unavailable.Homer Horwitz2008-11-161-2/+5
|
* Megapatch. Completely remove the multiparameter IM methods. Remove the insecureMelanie Thielker2008-11-161-1/+0
| | | | | | fromAgentSession field.
* Reinstate the IM sending from scripts and from autoreturnMelanie Thielker2008-11-161-2/+4
|
* Introduces the message transfer module. It splits the transfer mechanics offMelanie Thielker2008-11-161-16/+2
| | | | | | | | the IM module and makes it into a module of it's own, which can be used by all other modules. Removes some ugly hacks. Refer to the IM module to see how it's used. Also fixes the persistence issue (Mantis #2598)
* Mantis#2552: Thanks idb, for a patch that fixes persistence of physical prims.Homer Horwitz2008-11-151-2/+2
| | | | | | (added a fix for the broken build from last commit, too)
* Mantis #2621: Thanks idb, for a patch that will persist regularily changed ↵Homer Horwitz2008-11-151-0/+19
| | | | | | | | | | | objects better. Objects will be persisted now MinimumTimeBeforePersistenceConsidered seconds after the last change, but latest MaximumTimeBeforePersistenceConsidered after the first change (both are configurable in OpenSim.ini.example and are set to 60 and 600 as default).
* * Move test scene construction infrastructure methods to a separate class ↵Justin Clarke Casey2008-11-141-1/+1
| | | | for future common use
* Add group permissions to agent inventory.Melanie Thielker2008-11-141-0/+2
| | | | | | | | | | Contains a migration. May contain nuts. Please back up your inventory data store. This revision changes the interface version!! No older regions can connect to these new UGAIM, and the new regions can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss Currently persisted on MySQL only.
* Mantis#2597. Thank you kindly, Idb for a patch that:Charles Krinke2008-11-131-0/+10
| | | | | | | Solves the problem of changes to objects not persisted on server shutdown.
* * test: Add basic synchronous object remove testJustin Clarke Casey2008-11-121-1/+1
|
* * refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey2008-11-121-94/+100
| | | | SceneGraph to make it more descriptive of its intended function
* * Stop the pointless passing of a scene's own region handler back to it in ↵Justin Clarke Casey2008-11-121-96/+82
| | | | | | | | region comms * Some scene methods ignored it, others did nothing if the region handler given did not match their own (which would never be triggered)
* * Stop locking the scene presences dictionary for the entire agent crossing ↵Justin Clarke Casey2008-11-121-12/+20
| | | | | | | | | part of the login sequence * This may alleviate a little the freezing experienced by existing avatars when a new client logs in * Race condition risks look minimal since one wouldn't expect another thread to start fiddling with that presence
* * Put an Enabled switch on the async object deleter for future testing purposesJustin Clarke Casey2008-11-111-0/+2
|
* * Implement basic region filtering as described in ↵Justin Clarke Casey2008-11-111-0/+1
| | | | | | | | | | | | https://lists.berlios.de/pipermail/opensim-dev/2008-November/003468.html * This is done by sending a 'major interface version' number on sim registration. Developers must increment this every time they make a change that would make the previous OpenSim revision failure incompatible with the new one (non-fatal incompatibilities are fine). * This number resides in OpenSim.Framework.Servers.VersionInfo.MajorInterfaceVersion * This allows the grid service to stop older, incompatible regions from connecting
* Add ClampPrimSize option to ensure no prim can exceed the set size. ThisMelanie Thielker2008-11-111-0/+2
| | | | | | | | will allow people who don't want megaprims in their sim to prevent them from being created. Any prim rezzed or pulled across the border will be clamped to the size specified in OpenSim.ini if this option is set.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-111-5/+6
|
* * Extend basic scene test to retrieve the object from the scene and match uuidsJustin Clarke Casey2008-11-101-3/+3
| | | | | | | * Decouple sog and sop by removing the need to pass the sog to the sop when it is created - most of the code was doing this operation (and hence duplicating it) anyway * Remove unused constructors
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Sean Dague2008-11-101-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch addresses mantis bug 2576. http://opensimulator.org/mantis/view.php?id=2576 Briefly, if you call llDie from many scripts at the same time (say a build is cleaning up excess objects) then OpenSim deadlocks. Avatars are unable to move, and whilst the console is active you can't do much without it also locking up. This only occurs with the XEngine script engine enabled. I have attached a patch which works, but I'm not sure its the right way to address the problem. The fundamental problem is that a lock on a SceneObjectGroup's m_parts is taken when the object is deleted, a callback to the script engine occurs and a fair way down the callchain, potentially there are locks taken on several other SceneObjectGroup's m_parts. Deadlock then occurs if you get unlucky enough to get in the situation where with several llDie's are called and SceneObjectGroups have taken a lock on their own m_parts, and end up waiting on each other's locks to become available. The patch adds a lock at a high level so that that the removal of script instances from an object only occurs once per scene at a time. This avoids the potential of deadlock. Theoretically there could be some performance hit but AFAICT the path taken is not a common occurrence. Would welcome any suggestions for a better solution, otherwise feel free to apply :-) Note this patch was built against the 0.6.0 freeze as trunk was rather broken for me this morning (creating a script killed the client connection).
* Stop attachments from causing an update to be sent on every frame in whichMelanie Thielker2008-11-101-1/+2
| | | | | | an avatar moves.