aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-07-20Restore lines that have been removed due to previous merge conflict.Diva Canto1-2/+6
2010-07-20Remove a merge artefactMelanie1-4/+0
2010-07-20Fix a few permissions vulnerability. Owners could cause permissionsMelanie Thielker1-5/+5
escalation on items contained in prims using a hacked viewer
2010-07-20Relaxed the ultra-conservative lock on m_items. Needs testing under linux ↵Diva Canto1-219/+188
and stress.
2010-07-19Deleted Snoopy's patch completely, including Thread.Sleep. Preliminary tests ↵Diva Canto1-1/+0
indicate that this is what causes deadlock. More tests needed.
2010-07-19re-add the sleep lost in the revert.Melanie1-0/+2
2010-07-19Revert "Thank you, Snoopy, for a patch to reduce sim script startup CPU usage"Melanie1-12/+10
This reverts commit c404c5fb5405eac24cc8b7cd402eb8d8fb0ff0cf.
2010-07-13Revamp the permissions propagation. This MAY mess up. Please test.Melanie1-1/+0
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-06-29Revert "stop exceptions in setting and getting state from propogating since ↵Justin Clark-Casey (justincc)1-31/+8
they aren't fatal to operations" This reverts commit 94cb6fc916e1bd039f2b59214e68a0b3c4847445.
2010-06-29stop exceptions in setting and getting state from propogating since they ↵Justin Clark-Casey (justincc)1-8/+31
aren't fatal to operations this will hopefully stop "save oar" from failing if a script asset is corrupt
2010-06-23Thank you, Snoopy, for a patch to reduce sim script startup CPU usageMelanie1-10/+12
2010-06-12Don't filre CHANGED_INVENTORY if a prim comes in from storageMelanie1-1/+1
2010-05-03Fix a bug in owner change notificationMelanie1-1/+3
2010-05-03Defer sending of CHANGED_OWNER to make it work on rezzed objects andMelanie1-3/+4
attachments in addition to objects sold in place
2010-04-27Fix build break.Melanie1-17/+17
2010-04-27Add a parameter to prim inventory update to prevent event firingMelanie1-18/+25
2010-04-19Make the "notecard saved" text appear in the saver rather than the notecard ↵Justin Clark-Casey (justincc)1-10/+0
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-19Make script asset fetches synchronous. Script instantiation synchronizationMelanie1-28/+24
will not work if the instance is not created when the method returns.
2010-04-19All scripts are now created suspended and are only unsuspended when the objectMelanie1-1/+24
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/+9
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-03-04move linden notecard parsing from LSL_Api.cs to SLUtil so that region ↵Justin Clark-Casey (justincc)1-1/+0
modules can use it
2010-02-15Formatting cleanup.Jeff Ames1-3/+3
2010-02-03minor: remove a couple of mono warningsJustin Clark-Casey (justincc)1-2/+0
2010-01-29improve locking of m_items in SceneObjectPartInventoryJustin Clark-Casey (justincc)1-85/+133
2010-01-29Add method to get all items with the same name from a particular primJustin Clark-Casey (justincc)1-1/+25
Extend load oar test to check loading of a sound item
2010-01-25Fix a problem where llDie() calls were sometimes leaving dead objects behind.Justin Clark-Casey (justincc)1-5/+16
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.
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+0
2009-12-22Add a data path for error messagesroot1-0/+22
Committed from my other box where git is not configured properly Signed-off-by: Melanie <melanie@t-data.com>
2009-12-21When a script has been loaded, remove it's state entry, so recompilingMelanie1-0/+1
doesn't pick up the old state again.
2009-12-21Script State Fix: Part 2Melanie1-7/+48
Change the reader to wrap old-style definitions in new style wrappers. Change importer to not check irrelevant data that can't be reconstructed This removes the last bit of knowledge of XEngine's .state files from core.
2009-12-02Add position and region of prim items with missing assets in log reportsJustin Clark-Casey (justincc)1-10/+15
2009-11-26Remove the old (Remoting) region crossing code. Fix the new code toMelanie1-25/+0
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-30/+0
internally
2009-10-20* Added a sanity check to GetScriptAssemblies() and GetScriptStates() for ↵John Hurliman1-10/+16
the case where no scripting engine is enabled * Added TokenBucket.cs to OpenSim, with some fixes for setting a more accurate MaxBurst value and getting a more accurate Content value (by Drip()ing each get)
2009-10-01Formatting cleanup.Jeff Ames1-2/+2
2009-08-09Formatting cleanup.Jeff Ames1-1/+1
2009-08-04Add plumbing for the SceneObjectDeleter to wait for the script engine toMelanie1-0/+25
allow final deletion of objects. Meant to support the attach(NULL_KEY) event,
2009-07-16Allow OpenSim to run without script engines enabledMelanie Thielker1-0/+5
Fixes Mantis #3893
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-3/+2
-- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
2009-05-09Fixed handling of inventory a bitHomer Horwitz1-5/+5
- AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type. - The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string. - Replaced several magic numbers by their corresponding enum. - Fixed the invType for gestures and animations in the library. This should fix Mantis #3610 and the non-terminating inventory loading
2009-04-23From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-2/+2
Cleanup tabs and spacing.
2009-04-22From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-0/+19
Changes to enable script state persistence across non-restart serialization situations (inventory/OAR/attachments) Also fixing test cases for OAR and IAR so they don't barf with the new code.
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-16* refactor: remove AssetCache field hanging off SceneJustin Clarke Casey1-1/+1
* This is always available at Scene.CommsManager.AssetCache
2009-02-09From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague1-1/+1
These changes replace all direct references to the AssetCache with IAssetCache. There is no change to functionality. Everything works as before. This is laying the groundwork for making it possible to register alternative asset caching mechanisms without disrupting other parts of OpenSim or their dependencies upon AssetCache functionality.
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-4/+3
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-12-05Committing the missing bits to enable script crossing. Disabled by default.Melanie Thielker1-0/+1
For a script to successfully cross, both source and destination region must enable the feature. WARNING: Trusting binaries from other sims allows ARBITRARY REMOTE CODE EXECUTION for ANYONE! Please do not use except in ultimate trust scenarios!
2008-12-05Actually remove the script when it's task inventory item is deleted, ratherMelanie Thielker1-1/+1
than just stopping it.
2008-12-05And fix it rightMelanie Thielker1-1/+1