aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-17* Eliminate SOG.FakeDeleteGroup() since it is now identical with ↵Justin Clarke Casey2-25/+1
DeleteGroup() (except that is didn't lock the parts, which was a potential race condition) * Removed fake delete code from LSL_Api.SetFlexi - this code was never activiated anyway and didn't appear to make much sense on the surface
2008-11-17* minor: eliminate propogation of now unused permissionToDelete flagJustin Clarke Casey2-9/+3
2008-11-17* Fix probable partial breakage of delete to inventory in last commitJustin Clarke Casey2-16/+10
* Not nulling out parts and the root part allows the code to be simplified
2008-11-17* Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey6-31/+27
* 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
2008-11-17cleaning up warningDr Scofield1-1/+2
2008-11-17Make object chat come from the root prim's center, rather than trying to makeMelanie Thielker1-9/+6
it come from a child prim position.
2008-11-17Back out the attachment location patch to debug a crashMelanie Thielker1-4/+5
2008-11-17Try to fix login crashMelanie Thielker1-5/+8
2008-11-17Add some null checksMelanie Thielker1-2/+2
2008-11-17Fix child prims in attachments chatting from near 0,0,0 rather than Melanie Thielker1-3/+3
the avatar position. Fixes "silent" child prim scripts
2008-11-16Fix NRE on TP-to-home, if the home-region is unavailable.Homer Horwitz1-2/+5
2008-11-16Megapatch. Completely remove the multiparameter IM methods. Remove the insecureMelanie Thielker1-1/+0
fromAgentSession field.
2008-11-16Make return object actually use the return object permissionsMelanie Thielker1-1/+1
2008-11-16* Abstracted some methods from SceneObjectGroup to allow them to be ↵Adam Frisby2-3/+13
overridden more easily. Specifically object creation from XML.
2008-11-16Reinstate the IM sending from scripts and from autoreturnMelanie Thielker1-2/+4
2008-11-16Introduces the message transfer module. It splits the transfer mechanics offMelanie Thielker3-26/+24
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)
2008-11-15Mantis#2552: Thanks idb, for a patch that fixes persistence of physical prims.Homer Horwitz1-2/+2
(added a fix for the broken build from last commit, too)
2008-11-15Mantis #2621: Thanks idb, for a patch that will persist regularily changed ↵Homer Horwitz2-18/+72
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).
2008-11-15Prevent NRE if you do a llSetStatus(STATUS_ROTATION...) on an object that ↵Homer Horwitz1-2/+5
isn't physical.
2008-11-15Update svn properties, minor formatting cleanup.Jeff Ames2-3/+3
2008-11-14* test: Add scene root agent test stub, since I'll be picking up with ↵Justin Clarke Casey2-1/+80
something else the next time I start coding on OpenSim
2008-11-14* refactor: Have the entity list tests use the infrastructure method rather ↵Justin Clarke Casey1-15/+2
than cut n paste
2008-11-14* Move test scene construction infrastructure methods to a separate class ↵Justin Clarke Casey3-43/+83
for future common use
2008-11-14Add group permissions to agent inventory.Melanie Thielker3-8/+28
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.
2008-11-14Try to make the test pass againMelanie Thielker1-1/+1
2008-11-14Reapplying a revised version of Christopher Yeoh's (IBM) patch for allowMelanie Thielker3-19/+54
inventory drop. Also adds a new flags, "propagate_permissions" to OpenSim.ini to control that feature.
2008-11-14* Hook up create new object event in the permissions moduleJustin Clarke Casey1-1/+1
* Switch default for serverside_object_permissions from false to true - it seems more natural that we enforce permissions by default rather than not! * Add some explanation in OpenSim.ini.example for serverside_object_permissions
2008-11-14Detach dropped attachments from the scene presence so they don't get cleanedMelanie Thielker1-0/+5
on logout
2008-11-14reverting #7295, as it still fails a test case (as pointed out veryDr Scofield3-51/+20
kindly by sean) --- lesson learned: just running a "make test" is not sufficient, you need to precede it by a "make clean".
2008-11-14From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield3-20/+51
This patch makes llAllowInventoryDrop work with the permissions module enabled. Changes include: - Enabled PropagatePermissions when permissions module serverside perms is on - change ownership of item when item is dropped into an object. Ownership changes to the owner of the object the item is dropped into - propagation of permissions if the permissions module enabled (eg next-owner mask applied) - CHANGED_ALLOWED_DROP is now passed to the change script event if an item was allowed to be dropped into the object only because llAllowInventoryDrop is enabled (instead of CHANGED_INVENTORY being passed). - Sets object flags correctly when llAllowInventoryDrop is called so clients are notified immediately of the change in state. Am not sure that calling aggregateScriptEvents is the right way to do it, but it works and seems to be the only way without making further changes to update LocalFlags
2008-11-14Lots of experimentation yielded a fair approximation of a hip offset from theMelanie Thielker1-1/+8
physical center of an avatar, for display purposes. This should keep the avatar feet above ground visually in most cases. Tweaked for both height extremes and various leg lengths. Improvements welcome
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.