aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-81/+256
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-0/+8
2012-07-10When an attachment is detached to inv or derezzed, stop the scripts, update ↵Justin Clark-Casey (justincc)1-1/+9
the known item with script state still in the script engine and then remove the scripts. This is to fix a regression starting from 5301648 where attachments had to start being deleted before persistence in order to avoid race conditions with hud update threads.
2012-06-20Log how many scripts are candidates for starting and how many are actually ↵Justin Clark-Casey (justincc)1-3/+15
started. Adds DebugLevel infrastructure to XEngine though currently commented out and unused.
2012-03-31refactor: Rename SOG.GetChildPart() to GetPart() since it can also return ↵Justin Clark-Casey (justincc)1-4/+4
the 'root' part.
2012-02-10When an asset is uploaded (e.g. a mesh) set individual copy/move/transfer ↵Justin Clark-Casey (justincc)1-0/+2
permissions, not PermissionMask.All Setting PermissionMask.All will cause next permissions to replace current permissions when the object is rezzed, since bit 4 will be set. This is not correct behaviour for a freshly uploaded mesh. Freshly rezzed in-world prims also do not have bit 4 set (don't yet know exactly what this is). Should resolve http://opensimulator.org/mantis/view.php?id=5651
2012-01-26refactor: change RezScriptFromAgentInventory(), RezNewScript() and ↵Justin Clark-Casey (justincc)1-11/+4
AddInventoryItem() to accept an agent id rather than a full IClientAPI. This stops some code having to make spurious client == null checks and reduces regression test complexity.
2011-09-13Stop attempts to rewear already worn items from removing and reattaching.Justin Clark-Casey (justincc)1-0/+13
Viewer 2/3 will sometimes attempt to rewear attachments, even though they have already been attached during the main login process. This change ignores those attempts. This stops script failures during login, as the rewearing was racing with the script startup code. It might also help with attachments being abnormally put into deleted state. Hopefully resolves some more of http://opensimulator.org/mantis/view.php?id=5644
2011-04-21minor: small amount of method doc and some commented out odds and endsJustin Clark-Casey (justincc)1-6/+15
2011-01-12Fix direct item give permissionsMelanie1-1/+1
2010-12-21Make prim inventories a bit more saneMelanie1-43/+0
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-32/+26
MapAndArray collection
2010-07-14Fix a permissions issueMelanie Thielker1-7/+11
2010-07-13Revamp the permissions propagation. This MAY mess up. Please test.Melanie1-2/+3
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-04-19All scripts are now created suspended and are only unsuspended when the objectMelanie1-0/+8
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-05Partially implement share with group option for object inventory itemsJustin Clark-Casey (justincc)1-1/+3
If serverside permissions are off then this works as expected. Previously, it was impossible for more than one person to edit such items even if permissions were off. If serverside permissions are on then this works as expected if the object was created by an avatar who had the required group active. However, if the group for the object is later set then the contained item is still not editable. This may be linked to a wider bug where the object is still not modifiable by the group anyway
2010-01-25Fix a problem where llDie() calls were sometimes leaving dead objects behind.Justin Clark-Casey (justincc)1-2/+6
When an object was deleted, the remove script instance call was aggregating the scripting events as normal. This would queue a full update of the prim before the viewer was notifed of the deletion of that prim (QuitPacket) On some occasions, the QuitPacket would be sent before the full update was dequeued and sent. In principle, you would think that a viewer would ignore updates for deleted prims. But it appears that in the Linden viewer (1.23.5), a prim update that arrives after the prim was deleted instead makes the deleted prim persist in the viewer. Such prims have no properties and cannot be removed from the viewer except by a relog. This change stops the prim event aggregation call if it's being deleted anyway, hence removing the spurious viewer-confusing update.
2009-11-26Remove the old (Remoting) region crossing code. Fix the new code toMelanie1-64/+35
pass script state and assembly again properly. Reintroduce respecting tht TrustBinaries flag. Changes the interregion protocol! No version bump because it was broken anyway, so with a version mismatch it will simply stay broken, but not crash. Region corssing still doesn't work because there is still monkey business with both rezzed prims being pushed across a border and attached prims when walking across a border. Teleport is untested by may work.
2009-11-26Remove GetAssemblyName and friends from the SE interface. It's now handledMelanie1-88/+5
internally
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-04-08* Make it possible to store creator strings in user inventory items as well ↵Justin Clarke Casey1-1/+1
as UUIDs * All existing functionality should be unaffected. * Database schemas have not been changed.
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-1/+1
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-19Fix region crossing for unscripted prims, avoid costly SEHMelanie Thielker1-1/+3
2009-02-18Make in-code provisions for the tests. Tests would fail because the Melanie Thielker1-1/+14
required file system objects are not present in the test harness. This makes the main code ignore the failure, therefore the test succeeds. Not elegant and maybe a unit test guru has a better way. Marked as a TODO
2009-02-18Fix the windows sharing violations on script crossingsMelanie Thielker1-13/+46
2009-02-10Fixes the problem of attachment offset after crossings/TPs. Hopefully it ↵diva1-1/+1
fixes mantis #3126, as well as other random displacements. The problem was that the new object at the receiving region was being marked as attachment before AttachObject was called. That made its AbsolutePosition be the position of the avie, and that was what was being given to AttachObject.
2009-02-09Moved prim crossing out of OGS1 and into RESTComms and ↵diva1-3/+80
LocalInterregionComms. This breaks interregion comms with older versions in what concerns prim crossing. In the process of moving the comms, a few things seem to be working better, namely this may address mantis #3011, mantis #1698. Hopefully, this doesn't break anything else. But I'm still seeing weirdnesses with attchments jumping out of place after a cross/TP. The two most notable changes in the crossing process were: * Object gets passed in only one message, not two as done before. * Local object crossings do not get serialized, as done before.
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-2/+2
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2008-11-27Fix permission propagation that was broken some revision back, causingMelanie Thielker1-1/+3
sold/given prim to become full perm.
2008-11-21Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker1-1/+1
the internals of the permissions module adapter sane
2008-11-21* refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey1-14/+13
* 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
2008-11-15Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2008-11-14Add group permissions to agent inventory.Melanie Thielker1-0/+3
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 Thielker1-7/+28
inventory drop. Also adds a new flags, "propagate_permissions" to OpenSim.ini to control that feature.
2008-11-14reverting #7295, as it still fails a test case (as pointed out veryDr Scofield1-27/+8
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 Scofield1-8/+27
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-11Fix a nullref in attachment packingMelanie Thielker1-0/+7
2008-11-09Script region crossing. This has not user functionality, but lays all theMelanie Thielker1-2/+90
groundwork.
2008-10-06One should not commit even the smallest fox without compile. Fix build breakMelanie Thielker1-6/+6
2008-10-06More perms fixes. Reinstate the move flagMelanie Thielker1-6/+10
2008-09-21Change the scirpt engine loading mechanism. Script engines are nowMelanie Thielker1-2/+3
ordinary region modules and are able to coexist in one instance. See http://opensimulator.org/wiki/ScriptEngines for details. There were changes to OpenSim.ini.example, please note DefaultScriptEngine. Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-5/+5
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-18Formatting cleanup.Jeff Ames1-4/+4
2008-07-23refactor TaskInventoryItem Mask -> Permissions to be consistant with how thingsSean Dague1-4/+4
are stored in the db.
2008-07-14Patch #9147Melanie Thielker1-1/+1
Patch #4 of the region settings series. Partial functionality of the new storage system. More patches to follow.
2008-07-13* Actually persist restored archives to the database - wasn't actually doing ↵Justin Clarke Casey1-0/+17
this before (doh) * Not quite perfect yet
2008-06-28Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke1-87/+4
not break trunk.
2008-06-12* refactor: For new objects, move attach to backup to occur when adding to a ↵Justin Clarke Casey1-0/+1
scene, rather than on creation of the group * Adding to a scene is now parameterized such that one can choose not to actually persist that group * This is to support a use case where a module wants a scene which consists of both objects which are persisted, and ones which are just temporary for the lifetime of that server instance
2008-06-04Mantis#1439. Thank you kindly, Melanie for a patch thatCharles Krinke1-0/+15
plumbs in the events for on_rez.