aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Properly guard against the possibility that CopyInventoryItem doesn't get ↵Justin Clarke Casey2008-02-201-5/+16
| | | | an asset back from the cache
* * Eliminate AssetCache.CopyAsset()Justin Clarke Casey2008-02-201-32/+26
| | | | | | | * Resolve a bad logic bug in AssetCache.GetAsset() * This may make some asset related things work better (possibly getting main map images will now be improved).
* Minor cleanup.Jeff Ames2008-02-201-3/+3
|
* Thank you very much Ahzzmandius for adding the supportCharles Krinke2008-02-181-0/+45
| | | | | | to purge the avatars inventory "Trash" folder using the bizarre tortoiseSVN method of diff/patch.
* Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of ↵MW2008-02-161-4/+15
| | | | | | | CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though. But its one more thing out of the CommsManager. One day we will kill the CommsManager!
* Clean up more unnecessary String.Format callsJeff Ames2008-02-131-4/+3
|
* * Refactor: Move last commit's refactor back to AgentAssetTransactionsManagerJustin Clarke Casey2008-02-131-43/+6
| | | | | | | | * Push asset update (invoked when clothing is altered) down into AgentAssetTransactions from Scene.Inventory.cs to join others * I've tested that clothing creation and update still works, but please let me know if it suddently breaks for you. * Add/correct comments
* Refactor: factor a method out of AgentAssetTransactionsManagerJustin Clarke Casey2008-02-121-8/+27
|
* * Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and ↵Justin Clarke Casey2008-02-121-1/+1
| | | | | | | | | align classes with file names * Small amount of ndoc * This will probably require a prebuild and nant clean
* Tiny change to print out a warning in a situation which almost guaranteeably ↵Justin Clarke Casey2008-02-111-3/+20
| | | | never occurs anyway
* * some refactoring on permissionslbsa712008-02-111-3/+3
| | | | | * temporary re-introduced the weird 'flip-back' behaviour, but debugging it; will remove it if I don't find anything.
* The very beginnings of attachments (no detachments! :)Dalien Talbot2008-02-101-0/+10
|
* Clean up logging calls using String.Format explicitlyJeff Ames2008-02-101-38/+38
|
* Converted logging to use log4net.Jeff Ames2008-02-051-59/+60
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * Library scripts can now be dragged into primsJustin Clarke Casey2008-01-231-9/+28
| | | | | | | * Unfortunately, they show us as non modify, though they will run * We're probably hitting unimplement permissions stuff
* * changed nonsensical PermissionMask and ObjectFlags mixup; if this causes ↵lbsa712008-01-221-1/+1
| | | | perms weirdness, let's all work together to find the real cause.
* Change misleading placeholder error messages for attempts to persist ↵Justin Clarke Casey2008-01-211-2/+2
| | | | non-script items to prim inventory
* * Store task inventory when an object is taken into agent inventoryJustin Clarke Casey2008-01-161-7/+10
| | | | | | | | * This means that you can take an object from a region and rez it somewhere else, with its inventory intact. * As for earlier, at this stage only scripts can be placed in inventory * This isn't an efficient implementation, a better one will probably need to come along soonish
* * Pass 2 of collidable (non physical) linksetsTeravus Ovares2008-01-151-0/+1
| | | | | | | | * Linkset status is now persistent * Tweaked a physics child prim positioning hack to generate less database saves * Re-factored physics object creation calls into ApplyPhysics. To create a new physics representation of an object or linkset, it's only necessary to call *group*.ApplyPhysics(bool m_physicalPrim). *lbsa has been waiting for this refactoring* * We have collidable linksets now. (they don't become phantom anymore)
* * Mother of all commits:Adam Frisby2008-01-151-1/+1
| | | | | | | * Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
* Prim inventory script saving phase 2.Justin Clarke Casey2008-01-091-30/+52
| | | | | | | | * It is now possible to edit and save scripts directly from prim inventories * On saving, the script will be restarted in the region * Doesn't appear that it's yet possible to drag inventory contents back to agent inventory. Not quite sure why this is yet - the perms all look very permissive.
* Minor prim inventory method refactoringJustin Clarke Casey2008-01-071-1/+1
|
* Trigger persistence of the scripts in a prim's inventory when that inventory ↵Justin Clarke Casey2008-01-071-3/+0
| | | | | | | | is changed/updated/deleted (before the trigger only happened if the prim was moved). This is still development code - experimental prim inventory persistence cannot yet be enabled by users.
* Very minor refactoring. Remove unused prim inventory bool returns for nowJustin Clarke Casey2008-01-071-1/+0
|
* Refactor Scene.Inventory.RezScript to use newer script starting codeJustin Clarke Casey2008-01-071-41/+15
|
* Persistent prim inventory phase 5. Restart scripts contained in persisted ↵Justin Clarke Casey2008-01-071-0/+13
| | | | | | | | prims on region start. No user functionality exposed yet - no ini switch to enable persistence or restore. A bit more initial work to do.
* * This update rolls back the packetpool and LibSL changes. Please retest ↵Teravus Ovares2007-12-301-2/+2
| | | | | | | and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version. * This update also fixes scripting and some weird physics reactions
* * Extracted out old RezObject method placing at absolute pos without the ↵lbsa712007-12-291-0/+5
| | | | | | | raytracing * Ignored some bins
* * Rezzing items from Inventory on top of other prim rezzes them 0.5 meters ↵Teravus Ovares2007-12-281-1/+16
| | | | | | | above the 'hit' prim instead of buried in the ground somewhere. * Various Refactorings
* * Optimized usingslbsa712007-12-271-93/+96
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* If a prim is persisted in the region, scripts dragged into its inventory ↵Justin Clarke Casey2007-12-261-1/+2
| | | | | | | | after a server restart would not appear (though the script they contain would still be invoked). This change fixes that problem.
* Small non-functional inventory changesJustin Clarke Casey2007-12-251-32/+78
|
* Prim inventory script saving phase 1. Create necessary CAPS structures for ↵Justin Clarke Casey2007-12-241-1/+40
| | | | | | | | | correctly accepting prim inventory script updates. No user functionality yet. Refactoring to follow.
* Make copying of scripts into prim inventories more reliable on the first ↵Justin Clarke Casey2007-12-221-26/+17
| | | | | | | | | | attempt when the asset server is lagging by formalising the de facto polling. This may not be the best solution in the long run, but should improve things for now. This may also improve reliability when updating inventory item metadata (e.g. renaming an item) and in retrieving textures for the main map view.
* minor refactorJustin Clarke Casey2007-12-221-1/+3
|
* Put in some race revealing warning messages triggered when a user rezzes a ↵Justin Clarke Casey2007-12-221-0/+30
| | | | script to prim inventory
* Initial hookup of update task inventory event. No functionality yet.Justin Clarke Casey2007-12-221-2/+51
|
* Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames2007-12-201-1/+1
| | | | Works with LibSL rev>1532
* Thank you to Kiryu for a patch to fix an out of SyncCharles Krinke2007-12-171-2/+8
| | | | | error in Scene. Affects 6 files and is Mantis#201
* * Make inventory operations sync rather than async. This is to alleviate ↵Justin Clarke Casey2007-12-151-1/+4
| | | | | | | | | race conditions such as that in mantis #190 * Make inventory messages more verbose. Hopefully they aren't now too verbose * This may resolve some grid instability but it's likely there's much more out there.
* * Fixed a cause of an ODE 'invalid operation for locked space 'Teravus Ovares2007-12-141-15/+15
|
* * In our quest for sim heartbeat stats, we're a touch closer to accurate ↵Teravus Ovares2007-12-121-0/+1
| | | | | | | object count on sim stats. * Fixed a rare, but possible NullReferenceException
* Allow moving, deleting, and restoring objects in inventory.Brian McBee2007-12-081-0/+40
| | | | | Note: only tested in grid mode, and emptying trash is still not implemented.
* Updates to LibSL revision 1498. Thanks Johan!Adam Johnson2007-12-071-2/+2
|
* * Added hacked support for 'anyone can move' and 'anyone can copy'.Teravus Ovares2007-12-071-0/+3
| | | | | | | * BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar). * Also, beware that any objects created under the old permission scheme may react oddly. They may automatically allow anyone to modify them, (which you'll then have to un-set). * It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
* removed obsolete Verbose() functionJeff Ames2007-12-061-1/+1
|
* Do not create a new asset on item metadata changeSean Dague2007-12-051-40/+12
| | | | | | From Justin Casey (IBM)
* * Refactored Permissions into ScenePresence as requested by MWTeravus Ovares2007-12-051-0/+1
| | | | | | | * Un-hackerized generating the client_flags * Now handling the ObjectPermissions Update packet * Warning: Backup your prim before updating. If you fail to do so and something goes wrong then, All Yr prim are belong to us!
* keeping opensim safe for children -- made some namespace references less ↵Jeff Ames2007-12-041-4/+4
| | | | explicit
* From Justin Casey (IBM)Sean Dague2007-12-031-32/+87
| | | | | | | | | | | | | | | | | | | | | | | While exploring what it would take to get the 'new script' button working, I encountered the fact, some way down in the rabbit hole, that if a user renamed an item in their inventory and logged out (without a restart of the simulator), on log in the new name was not preserved. As far as I can see, this was because any updates which didn't occur inside a transaction were ignored by opensim. This patch pays attention to those changes. It generates a new asset when an item is updated and changes the user's inventory properties appropriately. I believe this behaviour is in line with the copy-on-write semantics used in the Second Life protocol - perhaps it could be optimized if we knew for sure that the only copy of the object was in the user's inventory. This also means that if you rename an item (e.g. a script) before you drag it into an object's inventory, the inventory will receive the item's most recent name and description.