aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-11-25Use the more extensive Utils.AssetTypeToString()/InventoryTypeToString() ↵Justin Clark-Casey (justincc)1-2/+2
conversion rather than the arrays in TaskInventoryItem
2011-11-22Stop an exception being thrown and a teleport/border cross failing if the ↵Justin Clark-Casey (justincc)1-5/+5
desintation sim has no active script engines. This involves getting IScene.RequestModuleInterfaces() to return an empty array (as was stated in the method doc) rather than an array containing one null entry. Callers adjusted to stop checking for the list reference being null (which never happened anyway)
2011-09-15refactor: rename SOG/SOP.GetProperties() to SendPropertiesToClient() to ↵Justin Clark-Casey (justincc)1-1/+1
reflect what it actually does This also makes it consistent with some other methods that send data to the client.
2011-09-15Only bother to create an inventory xfer file if there are any items in a ↵Justin Clark-Casey (justincc)1-2/+2
prim inventory
2011-09-15Shuffle order of code in invnetory connector GetFolderContent() calls to ↵Justin Clark-Casey (justincc)1-1/+1
avoid a possible race condition
2011-09-15If a prim inventory becomes empty through deletion, send an empty xfer file ↵Justin Clark-Casey (justincc)1-20/+43
name rather than one that references a metadata file containing only the folder object. If we do this, then viewer 3 crashes when we try and rez a script directly in an attachment's prim inventory. Sending an empty file name was already being done if the prim's inventory had never been touched. Now we always do that if there are no items in that inventory. Hopefully addresses the remaining point in http://opensimulator.org/mantis/view.php?id=5644
2011-09-13Stop attempts to rewear already worn items from removing and reattaching.Justin Clark-Casey (justincc)1-0/+5
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-09-01Remove pointless cluttering SOP.ParentGroup != null checks.Justin Clark-Casey (justincc)1-4/+6
The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database. At all other times it's not possible for a SOP not to have a SOG parent.
2011-08-27refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)1-1/+1
pointless duplication of identical values
2011-04-28Stop CHANGED_INVENTORY firing twice if a notecard is edited in prim.Justin Clark-Casey (justincc)1-2/+5
Addresses http://opensimulator.org/mantis/view.php?id=5444 Fix is to stop the asset transaction calling UpdateInventoryItem() since the caller is doing it anyway, which is more correct. This did not effect scripts.
2011-04-01A stab at making CHANGED_OWNER workMelanie1-5/+5
2011-03-10For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)1-2/+6
OSP resolved ID if newer CreationData is not present. This should resolve issues where the creator for rezzed objects was being shown as "Unknown user" where previous behaviour was to show the OSP resolved account. This is being done by parsing the serialized objects and updating the CreatorID if no CreationData exists. This operation might be expensive for sculpties where the sculpt texture is inlined with the object data. Will just have to see. This relies on the IAR streaming inventory data before asset data (as is currently the case). Will need to introduce more stringent checks for file order on loading (much like JAR zips must start with the manifest file). This is for IAR loading only. Tests updated to check this behaviour.
2011-01-24Fix script data not being reset as it should beMelanie1-0/+4
2011-01-18minor: resolve some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2011-01-14Fix slam bits being lost when editing perms in prim inventoryMelanie1-1/+0
2011-01-12Fix direct item give permissionsMelanie1-6/+16
2011-01-12Partial permissions fix for boxed items.Melanie1-0/+7
2011-01-12Fix god mode perms adjustmentMelanie1-0/+2
2010-12-24One more pass at object inventory. This time, fix SceneObjectPartInventory ↵Diva Canto1-68/+68
so that it makes sure that the file is added to Xfer's before it signals the client to come and get it. This allows the simplification of the logic of Xfer's.
2010-12-21What is the point of using different types to express the same damn thing?Melanie1-1/+1
2010-12-21Another good catch. Update file name serial.Melanie1-0/+1
2010-12-21Added a missed return. Thanks diva!Melanie1-0/+1
2010-12-21Fix up merge artifactsMelanie1-10/+1
2010-12-21Make prim inventories a bit more saneMelanie1-41/+33
2010-11-16Change the way attachments are persisted. Editing a worn attachment will nowMelanie1-19/+21
save properly, as will the results of a resizer script working. Attachment positions are no longer saved on each move, but instead are saved once on logout. Attachment script states are saved as part of the attachment now when detaching.
2010-09-27Fix build breakMelanie1-37/+38
2010-09-27if you can't edit a prim's inventory, you don't need to see the asset ids.Melanie1-3/+11
Prevents stealing IDs of animations, sounds and textures from prim inventories. Prevents copybot from gathering the wearable UUIDs needed for pirating things from vendors.
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-4/+1
MapAndArray collection
2010-09-17Fix build break by replacing Items.LockItemsForWrite() with lock (Items) {}Justin Clark-Casey (justincc)1-22/+21
2010-09-16JustinCC is evil. f7b28dd3 broke script persistence. This fixes it.root1-0/+28
2010-09-12* Added ISimulationDataService and IEstateDataServiceJohn Hurliman1-1/+1
* Removed StorageManager * CONFIG CHANGE: There are no more database settings in OpenSim.ini. Check the config-include configuration files for region store and estate store database settings
2010-09-12Formatting cleanup.Jeff Ames1-1/+1
2010-09-11Fixed the naming mess around data connectors for simulation dataJohn Hurliman1-1/+1
2010-09-07If a scene object part UUID is changed (only possible when not in a scene), ↵Justin Clark-Casey (justincc)1-0/+3
then adjust the inventory items to point to the new uuid as well
2010-09-03Fix an issue with rezzing scripted objects.Melanie Thielker1-2/+2
2010-08-26Remove mono compiler warningsJustin Clark-Casey (justincc)1-2/+1
2010-08-26Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)1-1/+4
conditions in linking and unlinking
2010-08-25refactor: Push item retrieval and fixing part of Scene.RezObject() down into ↵Justin Clark-Casey (justincc)1-2/+64
SceneObjectPartInventory
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