aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-12Formatting cleanup.Jeff Ames1-6/+6
2010-09-10First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman1-1/+2
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)1-6/+1
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is not required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)1-6/+1
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-04Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)1-8/+40
folder up from connectors into Scene.Inventory.cs This fixes the problem for all architectures (hg as well as local and grid) and means we don't have to dupe code between connectors. Not ideal in that it becomes non-modular, but methods in Scene.Inventory.cs should eventually be modularized anyway.
2010-09-04Create Scene.Inventory.cs.AddInventoryItem(InventoryItemBase item)Justin Clark-Casey (justincc)1-8/+27
The agentID in AddInventoryItem(UUID agentID, InventoryItemBase item) is redundant since it's contained in item.Owner, and it doesn't make sense for agentID != item.Owner, hence the method is deprecated.
2010-08-31Adjust the "Magic numbers" we use because we can't reference the actualMelanie Thielker1-1/+1
script state enum to reflect recent changes.
2010-08-28Improve liveness by operating on list copies of SOG.Children where appropriateJustin Clark-Casey (justincc)1-10/+12
2010-08-26refactor: Move Scene.Inventory.UpdateKnownItem() into Attachments module ↵Justin Clark-Casey (justincc)1-47/+0
since this appears to relate solely to attachments
2010-08-26Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)1-8/+13
conditions in linking and unlinking
2010-08-25refactor: Push item retrieval and fixing part of Scene.RezObject() down into ↵Justin Clark-Casey (justincc)1-53/+6
SceneObjectPartInventory
2010-08-24Split out actual scene object insertion code from Scene.Inventory.RezObject ↵Justin Clark-Casey (justincc)1-24/+9
and move into SceneGraph.AddNewSceneObject() The new SceneGraph method is more consumable by region modules that want to extract objects from inventory and add them to the scene in separate stages. This change also reduces the number of redundant client updates scheduled when an object is rezzed directly by a script or region module This code does not touch direct rez by a user
2010-08-24refactor: make RezObject() more readableJustin Clark-Casey (justincc)1-69/+68
2010-08-24Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)1-1/+1
goes to the correct directory Also removes some mono compiler warnings
2010-08-23minor: some doc for the MoveTaskInventoryItem method in Scene.Inventory.csJustin Clark-Casey (justincc)1-1/+5
2010-08-23Remove various warnings and improve logging messages. No functional changes.Justin Clark-Casey (justincc)1-2/+4
2010-08-19minor: Correct string format in "Can't find linkset root prim" messageJustin Clark-Casey (justincc)1-1/+1
2010-08-13refactor: move binary statistics logging from scene into separate region moduleJustin Clark-Casey (justincc)1-4/+5
2010-08-13refactor: move Scene.PerformObjectBuy into BuySellModuleJustin Clark-Casey (justincc)1-1/+1
2010-07-20When a god uses mass permission setting, the V bit is cleared from nextMelanie Thielker1-4/+7
perms, rendering the item unmoveable for the next owenr. Make god mods conform to the rules, too.
2010-07-20prevent hacked viewers from being able to delete arbitrary items from anyMelanie Thielker1-3/+18
prim. Allow friends with perms and shared group members to move or copy things out of prims
2010-07-20Fix a few permissions vulnerability. Owners could cause permissionsMelanie Thielker1-3/+32
escalation on items contained in prims using a hacked viewer
2010-07-14Fixes mantis #4870.Diva Canto1-1/+7
2010-07-14Fix a permissions issueMelanie Thielker1-4/+11
2010-07-14Revert "More on mantis #4869. This fixes the problem of objects showing up ↵Melanie1-7/+0
as no copy when they are copy-able. It works, but I have no idea what I'm doing." Cuauses a permission escalation. do NOT USE the preceding commit
2010-07-14Removed left-over debug messages.Diva Canto1-3/+1
2010-07-14More on mantis #4869. This fixes the problem of objects showing up as no ↵Diva Canto1-0/+9
copy when they are copy-able. It works, but I have no idea what I'm doing.
2010-07-13Revamp the permissions propagation. This MAY mess up. Please test.Melanie1-35/+99
Change the slam bit from 3 to 4. Assume the old slam bit is always set. The new slam bit is a "changed owner" bit, correcting a bug where an item passed from the creator to another with less than full perms, then back (sale test) would arrive back full perm. Lots of in-code docs.
2010-07-05One more buglet fixed related to mantis #4841 -- auto-returns were still ↵Diva Canto1-1/+1
chocking on a null pointer exception.
2010-07-04Fixes the obvious problem in mantis #4841. Melanie needs to look at other ↵Diva Canto1-1/+2
potential problems there, though.
2010-07-02Clean up IMoneyModule and adjust the other modules to the changesMelanie Thielker1-1/+1
2010-06-29Fix a nullref on autoreturnMelanie1-5/+17
2010-06-27Fix more perms weirdness. Preserve "Locked" status across gives and rez/take.Melanie1-8/+9
Preserve "Anyone can move" flag in most cases.
2010-06-27Fix permission propagation to prevent permanently locked objects from beingMelanie1-3/+3
created.
2010-06-11Inventory offers and subsequent notifications of acceptance/decline now ↵Diva Canto1-1/+1
working across the board.
2010-06-09Bug fix in attachments: when attaching from inworld the item's ↵Diva Canto1-1/+5
parentFolderID was wrong.
2010-06-01Fix prim returns I broke earlierMelanie Thielker1-4/+7
2010-06-01Continuing refactor. Refactor DeRezObject to deal with multiple objectsMelanie Thielker1-62/+76
2010-05-21Change the way the object perms are propagated to attempt to salvageMelanie1-21/+23
some older content
2010-05-05* Fixes Library bugs in grid mode. Partly a missing check and partly a ↵Diva Canto1-1/+16
missing configuration. * Made previous Robust config changes consistent in Robust.HG.ini.example
2010-05-03Store given items in correct parent folder. Fixes items given to offline avatarsMelanie Thielker1-0/+19
not getting lost.
2010-04-30Fix linking issue introduced in my earlier commitMelanie Thielker1-1/+19
2010-04-30Fix link security issueMelanie1-0/+50
2010-04-19Make the "notecard saved" text appear in the saver rather than the notecard ↵Justin Clark-Casey (justincc)1-1/+6
owner, if the notecard is saved by a permitted group member This means moving the alert up to a place where the IClientAPI is available. One can also argue that such client messages shouldn't be sent directly from the scene data model
2010-04-19And some more rez modes that weren't covered beforeMelanie Thielker1-0/+2
2010-04-19Also enable scripts rezzed into primsMelanie1-0/+2
2010-04-19All scripts are now created suspended and are only unsuspended when the objectMelanie1-0/+2
is fully rezzed and all scripts in it are instantiated. This ensures that link messages will not be lost on rez/region crossing and makes heavily scripted objects reliable.
2010-04-16refactor: remove now unused internal method SendAttachEvent()Justin Clark-Casey (justincc)1-5/+0
2010-04-16refactor: crudely move DetachSingleAttachmentToGround() over to the ↵Justin Clark-Casey (justincc)1-30/+0
AttachmentsModule
2010-04-16minor: correctly print out missing item id when it can't be found rather ↵Justin Clark-Casey (justincc)1-1/+0
than a NullReferenceException