aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-09* for iars, allow item names/folders including "/" to be escaped using "\/"Justin Clark-Casey (justincc)1-1/+0
* also, "\" has to be escaped as "\\" * add item name unit test for escaped characters
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-4/+1
unknown asset type, and log an error if it ever does happen
2009-11-04Backport the fixes to WebFetchInventoryDescendents to the UDPMelanie1-1/+7
InventoryDescendents packet. Testing has shown that UDP inventory now works flawlessly and, unlike CAPS inventory, doesn't download the entire agent inventory on start. Neither does it incessantly re-request folder NULL_KEY. Therefore, I have disabled CAPS inventory.
2009-10-19* Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). ↵John Hurliman1-16/+5
This avoids .NET remoting and a managed->unmanaged->managed jump. Overall, a night and day performance difference * Initialize the LLClientView prim full update queue to the number of prims in the scene for a big performance boost * Reordered some comparisons on hot code paths for a minor speed boost * Removed an unnecessary call to the expensive DateTime.Now function (if you *have* to get the current time as opposed to Environment.TickCount, always use DateTime.UtcNow) * Don't fire the queue empty callback for the Resend category * Run the outgoing packet handler thread loop for each client synchronously. It seems like more time was being spent doing the execution asynchronously, and it made deadlocks very difficult to track down * Rewrote some expensive math in LandObject.cs * Optimized EntityManager to only lock on operations that need locking, and use TryGetValue() where possible * Only update the attachment database when an object is attached or detached * Other small misc. performance improvements
2009-10-14* Replaced (possibly broken?) math for calculating the unix timestamp in ↵John Hurliman1-3/+3
MySQLAssetData with Utils.DateTimeToUnixTime() * Disabled UpdateAccessTime() function since it was only writing zeros anyways. This gave me a significant performance improvement for startup times and avatar logins in standalone mode * Load attachments asynchronously so avatars with lots of attachments don't have to race the timeout clock to login
2009-10-12* Fixes http://opensimulator.org/mantis/view.php?id=4225Diva Canto1-2/+7
* Fixes http://opensimulator.org/mantis/view.php?id=3959 * Allows for viewing inventory textures outside home grid
2009-10-06* One more debug message on FetchInventoryDescendantsDiva Canto1-0/+1
* More streams close on finally
2009-09-30Commit initial version of KittoFlora's vehicle changesopensim1-1/+1
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-09-13Change the type value for given folders to -1. Prevents inventory blowupsMelanie1-1/+1
2009-09-08* Fixes a 'take object from mega region' and rez it in a regular region.. ↵Teravus Ovares (Dan Olivares)1-1/+35
and have it appear 5 regions over bug by limiting the stored position in the asset to Constants.RegionSize. The stored position in the asset gets overwritten anyway by the rezzing routine, but at least this way, there's no chance of the objects border crossing before the rezzing routine finishes.
2009-09-01Baad git, baad baad git.Melanie1-1/+1
2009-09-01Experimental. Set attachment flag early on rezzing from inventory.Melanie1-0/+3
2009-08-28minor: formatting and commentsJustin Clark-Casey (justincc)1-1/+3
2009-08-22* Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out ↵Diva Canto1-13/+5
folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set. * Removed left-overs from AssetInventoryServer.
2009-08-19Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in ↵Diva Canto1-2/+2
SQlite. Fixes most grief in http://opensimulator.org/mantis/view.php?id=4035 http://opensimulator.org/mantis/view.php?id=4027
2009-08-19Fixes GetRootFolder for normal standalone, which was being incorrectly ↵Diva Canto1-2/+2
redirected to the wrong object. Probably fixes most grief in http://opensimulator.org/mantis/view.php?id=4035 http://opensimulator.org/mantis/view.php?id=4027
2009-08-19Added MoveItems, which is most useful upon viewer-delete inventory ↵Diva Canto1-27/+4
operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently).
2009-08-19A better purge of trash folder.Diva Canto1-7/+24
2009-08-18jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024Diva Canto1-12/+23
2009-08-16IAvatarFactory.UpdateDatabase gets the assetID and not the object's inworld ↵Diva Canto1-1/+3
UUID.
2009-08-16Making attachments work again. Tons of debug more. This needs more testing ↵Diva Canto1-1/+3
and a lot of cleaning.
2009-08-15Changed FromAssetID to FromItemIDDiva Canto1-4/+4
2009-08-13Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' ↵Diva Canto1-11/+11
starting to get on my nerves.
2009-08-13Inventory redirects from CachedUserInfo to InventoryService COMPLETE!Diva Canto1-133/+61
2009-08-12Redirected all calls to CachedUserProfile methods to the inventory service. ↵Diva Canto1-620/+395
Redirection of the RootFolder property is still todo. This compiles but probably inventory will be inconsistent.
2009-08-04 This change adds support for the attach event in scripts.Alan Webb1-0/+6
[1] Added a new OnAttach event to Scene/EventManager [2] Hooked up existing attach event handler in XEngine. [3] Modified SceneGraph and Scene.Inventory to trigger attach events at the appropriate places. I was forced to distribut the changes across two files because of the way attach processing is distributed across the two files. [4] In the case of RezSingleAttachmentFromInventory it is necessary to handle event scheduling in a special way. There is no synchronous path available, so the fact that this object is attached, and who it is attached to, is cached when the ScriptInstance is created. When the script is started, the attached handler is driven after on_rez (but before changed, this should be reviewed). Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-07-27Preserve the creator of items copied in inventory.Melanie Thielker1-7/+7
Fixes Mantis #3946
2009-07-17* This should fix the phantom prim from attachments rezzing.Teravus Ovares1-0/+3
* fixes mantis #3896 * fixes mantis #3898
2009-07-15Bounding Box/find rez from inventory point code now seems to be working ↵MW1-1/+6
correctly. So next step is to clean up that code and wait for bug reports.
2009-07-13Changed it so that when rezzing prims from inventory, a bounding box ↵MW1-1/+1
containing all the prims in the group is used for working out the rezzing point. So that none of the child prims are underground. Or at least thats what it is meant to do, still needs more testing and there are still some issues with link sets getting rezzed too high above the ground/target prim.
2009-07-12Changed the DeRezObject event so it passes a list<uint> of localIDs in one ↵MW1-0/+17
event trigger rather than triggering the event once for every localid in the derez packet.
2009-06-29From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague1-0/+4
Attached is a patch that changes the oar file saving of creation date/time to an integer instead of a string. I did this after justincc emailed me saying there is a problem with internationalisation doing it the old way and I said I'd fix it. Its been tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-21Correct the behaviro of group deeding and llGetOwner() within deeded objectsMelanie Thielker1-1/+7
2009-06-21Publish a method on ICompiler to generate the CIL assembly pathMelanie Thielker1-0/+1
Cause group deeding to apply next owner perms
2009-06-14Fixes Mantis #3793 . Committing thomax/Snoopy's patch to allow deeding of ↵Melanie Thielker1-5/+37
objects, with changes: - Set OwnerID = GroupID for deeded objects. - Close a security loophole that would have allowed a user with deed rights in a group to deed ANY object to that group, even if it's not owned by them and/or not set to that group - Set LastOwnerID correctly. Handle objects vs. prims correctly.
2009-06-09Formatting cleanup. Ignore some generated files.Jeff Ames1-18/+18
2009-06-09Thank you Snoopy, for a patch that implements group permissions.Melanie Thielker1-9/+18
Applied with changes: - removed spammy debug message - corrected tab formatting
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-20Fix a slight oversight in SceneInventory that would not enable copy toMelanie Thielker1-0/+6
inventory when permissions are bypassed
2009-05-16Another minor bug fix for making notecard/script savings work with old asset ↵diva1-1/+1
servers.
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-12/+10
-- 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-3/+3
- 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-05-08* refactor: break out sog original xml serialization to a separate classJustin Clarke Casey1-3/+3
2009-05-08* minor: rename xml sog serialization method for readabilityJustin Clarke Casey1-2/+2
2009-05-08* refactor: Break out original xml object serialization into a separate classJustin Clarke Casey1-2/+4
* No functional change
2009-04-08* Make it possible to store creator strings in user inventory items as well ↵Justin Clarke Casey1-7/+7
as UUIDs * All existing functionality should be unaffected. * Database schemas have not been changed.
2009-04-07* Apply http://opensimulator.org/mantis/view.php?id=3227Justin Clarke Casey1-0/+10
* Implement "Add To Outfit" * Thanks FredoChaplin
2009-03-25Thank you, dslake, for a patch that fixes passing the start param to scriptsMelanie Thielker1-1/+1
Fixes Mantis #3330
2009-03-23Committing partial work on passing folders across instances. This may crash.Melanie Thielker1-0/+7