aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-13* Rename all the previous methods to be User rather than Avatar (for extra ↵Justin Clarke Casey2-45/+45
bonus points) public bool ExternalChecksCanCreateUserInventory(int invType, UUID userID) public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID) public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID) public bool ExternalChecksCanDeleteUserInventory(UUID itemID, UUID userID)
2008-11-13* Add Justin Clarke Casey2-11/+150
public bool ExternalChecksCanCreateAvatarInventory(int invType, UUID userID) public bool ExternalChecksCanCopyAvatarInventory(UUID itemID, UUID userID) public bool ExternalChecksCanCopyAvatarInventory(UUID itemID, UUID userID) public bool ExternalChecksCanDeleteAvatarInventory(UUID itemID, UUID userID) to ExternalChecks to handle avatar inventory checks (as opposed to object inv checks). * opensim-dev e-mail to follow concerning this shortly
2008-11-13* refactor: rename object inventory permission checks to distinguish between ↵Justin Clarke Casey2-32/+47
task inventory and agent inventory
2008-11-13Make scripts in objects rezzed from script compile synchronously to closeMelanie Thielker1-1/+1
a timing gap. Still not 100%, but getting there
2008-11-13* First part of a series of patchesJustin Clarke Casey2-14/+14
* Intension is to provide a way to lock down script creation to administrators/gods only * Defaults will remain as they are at the moment
2008-11-13Mantis#2597. Thank you kindly, Idb for a patch that:Charles Krinke1-0/+10
Solves the problem of changes to objects not persisted on server shutdown.
2008-11-12* Rename scene tests to scene object tests since that is what they are ↵Justin Clarke Casey1-2/+2
actually concerned with
2008-11-12* test: Add basic synchronous object remove testJustin Clarke Casey2-5/+11
2008-11-12* refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey5-103/+115
SceneGraph to make it more descriptive of its intended function
2008-11-12* Stop the pointless passing of a scene's own region handler back to it in ↵Justin Clarke Casey2-116/+101
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)
2008-11-12* Stop locking the scene presences dictionary for the entire agent crossing ↵Justin Clarke Casey1-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
2008-11-12Revamp inventory transfer module, step 1. Inventory will now be saved ifMelanie Thielker1-10/+21
destination user is offline/out of range. No more eternal cache is needed for tracking IDs. Code cleanup. Removed some casts from IScene to Scene. Decline now properly places item in trash rather than deleting it outright.
2008-11-12Add the missing bits that got lost in the prim clamping commit. This shouldMelanie Thielker1-0/+17
actually make it work
2008-11-11* Create TestScene to get at the async object deleter for use in a future testJustin Clarke Casey3-3/+58
2008-11-11* Put an Enabled switch on the async object deleter for future testing purposesJustin Clarke Casey3-3/+21
2008-11-11Prevent pieces from other people's HUDs from displaying at the center ofMelanie Thielker1-1/+2
every user's HUD
2008-11-11minor: refactor some SceneTests code for future testsJustin Clarke Casey1-7/+24
2008-11-11* Implement basic region filtering as described in ↵Justin Clarke Casey1-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
2008-11-11Mantis#2604. Thank you kindly, Diva for a patch that:Charles Krinke1-4/+10
This patch changes a couple of methods in Scene.Inventory to virtual, so they can be overridden in subclasses. DeleteToInventory now returns the UUID of the newly created asset, so that further actions on it can be pursued in subclasses. This will make my life easier for making inventory accessible in the hypergrid.
2008-11-11Add ClampPrimSize option to ensure no prim can exceed the set size. ThisMelanie Thielker1-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.
2008-11-11Fix a nullref in attachment packingMelanie Thielker1-0/+7
2008-11-11Update svn properties, minor formatting cleanup.Jeff Ames1-5/+6
2008-11-10* Remove mono warningsJustin Clarke Casey1-32/+9
* Remove duplicate test part
2008-11-10* refactor: clean up SOG xml2 reloading to reuse more codeJustin Clarke Casey2-13/+4
2008-11-10Restore the independent LocalID numbering for avatars. Fixes an issue whereMelanie Thielker2-1/+12
it becomes impossible to cross back into a region you came from, or freeze several seconds after region crossings.
2008-11-10* refactor: Make xml (orig format) loading method reuse existing set root ↵Justin Clarke Casey1-9/+15
part method * miscellaneous doc/log message changes
2008-11-10fix unit tests use SetRootPart nowSean Dague1-3/+3
From: Sean Dague <sdague@gmail.com>
2008-11-10make things compile, but the test still fails because of the root partSean Dague1-3/+0
changes
2008-11-10Lock tests on EntityList.cs, multithreaded object additionSean Dague2-1/+290
and removal. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-10* minor: remove useless exception catchJustin Clarke Casey2-10/+2
2008-11-10* refactor: Expose SOG.SetRootPart for outsiders to use rather than setting ↵Justin Clarke Casey2-7/+7
RootPart and adding the part separately * Make RootPart read only
2008-11-10* Take out the 1 second sleep debugging line in ScenePresenceJustin Clarke Casey1-1/+0
2008-11-10* Refactor the callers of SOG.SetPartAsRoot() to use common codeJustin Clarke Casey1-31/+18
2008-11-10* Extend basic scene test to retrieve the object from the scene and match uuidsJustin Clarke Casey5-63/+28
* 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
2008-11-10Keep dropped prims from being temp-on-rez and getting cleaned upMelanie Thielker1-0/+1
2008-11-10From: Christopher Yeoh <cyeoh@au1.ibm.com>Sean Dague1-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).
2008-11-10Stop attachments from causing an update to be sent on every frame in whichMelanie Thielker4-7/+13
an avatar moves.
2008-11-09Script region crossing. This has not user functionality, but lays all theMelanie Thielker6-21/+134
groundwork.
2008-11-08Mantis #2553: Thank you, idb, for a fix that helps to persist changes in ↵Homer Horwitz1-0/+8
prim attributes.
2008-11-08* Implemented OnClientConnect in Scene EventManagerAdam Frisby1-0/+16
* Identical to OnNewClient except it passes IClientCore instead of IClientAPI * See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
2008-11-08* Added IClientIM to IClientCore interfacesAdam Frisby1-2/+2
* Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting. * Removed unused usings from Framework.*
2008-11-08Small bugfix for RemoveNeighbourRegionHomer Horwitz1-1/+1
2008-11-08Add some discovery code, laying groundwork for region-crossing scriptsMelanie Thielker1-0/+26
No user functionality yet
2008-11-08Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup.Jeff Ames1-1/+1
2008-11-08Remove part of another patch that would cause DNE to nuke the sim in it'sMelanie Thielker1-2/+0
current form
2008-11-08Refactor IEventReceiver back into IScriptEngineMelanie Thielker1-0/+2
2008-11-07* Correct catch changed on last commit, since I just realized I started ↵Justin Clarke Casey1-1/+1
making it catch a little too much, in principle
2008-11-07* minor: Remove mono compiler warningJustin Clarke Casey1-1/+1
2008-11-07* Apply http://opensimulator.org/mantis/view.php?id=2582Justin Clarke Casey3-65/+34
* Send prim flags as booleans from LLClientView rather than in the native LL array * Thanks idb
2008-11-07* Fix bug in r7162 where avatars could not moveJustin Clarke Casey4-28/+30
* Was caused by the lack of a local id. Local ids are now given from the same sequence as prims, rather than a separate one * I don't believe this will cause any problems, but please revert to a separate sequence if it does