aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Fix probable partial breakage of delete to inventory in last commitJustin Clarke Casey2008-11-172-16/+10
| | | | | | * Not nulling out parts and the root part allows the code to be simplified
* * Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey2008-11-176-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
* commenting out unused variable.Dr Scofield2008-11-171-2/+2
|
* cleaning up warningDr Scofield2008-11-171-1/+2
|
* Use the message transfer module to pass items across the grid via the profileMelanie Thielker2008-11-171-9/+16
|
* Correct prim counts for group land. Correct MessageTransferModule startupMelanie Thielker2008-11-172-14/+12
|
* Make object chat come from the root prim's center, rather than trying to makeMelanie Thielker2008-11-171-9/+6
| | | | | | it come from a child prim position.
* Back out the attachment location patch to debug a crashMelanie Thielker2008-11-171-4/+5
|
* Try to fix login crashMelanie Thielker2008-11-171-5/+8
|
* Add some null checksMelanie Thielker2008-11-171-2/+2
|
* Fix child prims in attachments chatting from near 0,0,0 rather than Melanie Thielker2008-11-171-3/+3
| | | | | | the avatar position. Fixes "silent" child prim scripts
* Fix NRE on TP-to-home, if the home-region is unavailable.Homer Horwitz2008-11-161-2/+5
|
* Fix friends again. Friends-handling is now stateless and, thanks toHomer Horwitz2008-11-161-263/+135
| | | | | | MessageTransferModule, much easier to understand (I hope).
* Remove a redundant parameterMelanie Thielker2008-11-161-1/+1
|
* Megapatch. Completely remove the multiparameter IM methods. Remove the insecureMelanie Thielker2008-11-167-152/+118
| | | | | | fromAgentSession field.
* First step tidy-up of IM packing/unpacking/repackingMelanie Thielker2008-11-161-11/+18
|
* GridIMs don't have a (sending) client, which led to a NRE on access.Homer Horwitz2008-11-161-1/+2
| | | | | | Doesn't use client now in that case.
* Add MessageTransferModule interface to all scenes, not only the firstMelanie Thielker2008-11-161-1/+1
|
* Fix 2 bugs in the message transfer module, thanks, Homer Horwitz!Melanie Thielker2008-11-161-2/+2
|
* Make return object actually use the return object permissionsMelanie Thielker2008-11-161-1/+1
|
* Add group prim count support to land propertiesMelanie Thielker2008-11-161-1/+7
|
* * Abstracted some methods from SceneObjectGroup to allow them to be ↵Adam Frisby2008-11-162-3/+13
| | | | overridden more easily. Specifically object creation from XML.
* 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-168-738/+746
| | | | | | | | 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-152-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).
* Prevent NRE if you do a llSetStatus(STATUS_ROTATION...) on an object that ↵Homer Horwitz2008-11-151-2/+5
| | | | isn't physical.
* Hack to temporarily fix friends-handling. This will be redone as soon asHomer Horwitz2008-11-151-2/+2
| | | | | | | | Melanie's CommunicationModule is in. Please note: imSession is a transaction-ID, *not* the agent's session.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-153-21/+5
|
* * test: Add scene root agent test stub, since I'll be picking up with ↵Justin Clarke Casey2008-11-143-3/+80
| | | | something else the next time I start coding on OpenSim
* * minor: remove mono compiler warningsJustin Clarke Casey2008-11-141-4/+4
|
* * refactor: Have the entity list tests use the infrastructure method rather ↵Justin Clarke Casey2008-11-141-15/+2
| | | | than cut n paste
* * Move test scene construction infrastructure methods to a separate class ↵Justin Clarke Casey2008-11-143-43/+83
| | | | for future common use
* Add group permissions to agent inventory.Melanie Thielker2008-11-144-8/+29
| | | | | | | | | | 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.
* * Allow new script creation to be locked down to only gods if specified in ↵Justin Clarke Casey2008-11-141-9/+58
| | | | | | | | | OpenSim.ini * This doesn't allow complete script lockdown of a sim, many avenues (copying, editing) are still uncloseable at the moment * Default remains to allow all users to create scripts (subject to existing permissions if enabled)
* Try to make the test pass againMelanie Thielker2008-11-141-1/+1
|
* Reapplying a revised version of Christopher Yeoh's (IBM) patch for allowMelanie Thielker2008-11-144-20/+60
| | | | | | | inventory drop. Also adds a new flags, "propagate_permissions" to OpenSim.ini to control that feature.
* * Switch default permissions back to false (so they are not on) as they were ↵Justin Clarke Casey2008-11-141-5/+1
| | | | | | | | two revisions ago, since it sounds like this was our agreed position from some time back * Make the default also false (to match what is in OpenSim.ini.example)
* * Hook up create new object event in the permissions moduleJustin Clarke Casey2008-11-142-2/+3
| | | | | | | * 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
* Detach dropped attachments from the scene presence so they don't get cleanedMelanie Thielker2008-11-141-0/+5
| | | | | | on logout
* * Implements terrain raw upload. You can now upload your .raw terrain files ↵Teravus Ovares2008-11-145-1/+256
| | | | | | | using the Estate Tools. * Could this be extended in the future to support .oar uploads too? Only time will tell!
* reverting #7295, as it still fails a test case (as pointed out veryDr Scofield2008-11-144-52/+21
| | | | | | | | kindly by sean) --- lesson learned: just running a "make test" is not sufficient, you need to precede it by a "make clean".
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield2008-11-144-21/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* From: Alan Webb (alan_webb@us.ibm.com)Dr Scofield2008-11-144-110/+129
| | | | | | | | Fixed the IRC code so that it deals with regions coming and going.
* Some changes to the money module to allow a more flexible system ofMelanie Thielker2008-11-141-7/+12
| | | | | | applying charges
* More groups plumbingMelanie Thielker2008-11-141-0/+12
|
* Lots of experimentation yielded a fair approximation of a hip offset from theMelanie Thielker2008-11-141-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
* From: awebb@us.ibm.comSean Dague2008-11-131-1/+1
| | | | | | Fix the long-standing "lost clothing" bug by making AvatarFactory a non shared module (which it should have been all along).
* * Rename all the previous methods to be User rather than Avatar (for extra ↵Justin Clarke Casey2008-11-133-53/+53
| | | | | | | | | | | 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)
* * Add Justin Clarke Casey2008-11-133-15/+214
| | | | | | | | | | | 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