aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Implement full grid mode Trash emptyJustin Clarke Casey2008-04-231-8/+1
| | | | | | | | | * Now, emptying the trash should remove folders and the items they contain as well as items which were not in a subfolder. * This will only work once both the region and grid servers have reached this revision. * You may also need to clear your cache before this will work * Refactoring to follow.
* changes to allow asset_source to be specified in the opensim.iniSean Dague2008-04-231-4/+4
| | | | | | | | this will work for sqlite and nhibernate, but will be ignored for mysql and mssql (reverting to their ini files) until someone writes that bit.
* * Implement proper emptying of trashcan on standaloneJustin Clarke Casey2008-04-232-10/+27
| | | | | | | * On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items * An implementation for grid mode will follow.
* * Fix mantis #842 - folders which are created but left named "New Folder" in ↵Justin Clarke Casey2008-04-231-1/+14
| | | | places other than directly under "My Inventory" should now be stored
* * Add folders and items locking in external manipulations of ↵Justin Clarke Casey2008-04-221-20/+35
| | | | | | | | InventoryFolderImpl carried out by CachedUserInfo * These will do temporarily pending refactoring
* * Add DeleteAllContents() method to InventoryFolderImpl - not yet used but ↵Justin Clarke Casey2008-04-221-39/+109
| | | | | | | | will be soon * Add locking to InventoryFolderImpl class - need more though.
* * Extend functionality to better handle delayed inventory service transfers ↵Justin Clarke Casey2008-04-221-9/+30
| | | | | | | | to create folder, move folder and purge folder. * Old 1.18 get folder functionality requires a little more consideration
* * Replace previous specific inventory callback code with generic alternativeJustin Clarke Casey2008-04-222-30/+40
|
* * Allow folder renaming to complete after an agent inventory has been ↵Justin Clarke Casey2008-04-222-8/+90
| | | | | | | | | received by a region from the inventory service * This replaces the old behaviour of failing straight away, which could cause lost updates if the inventory service was slow in responding * This is the first baby step to making all inventory requests behave this way, to reduce inventory lossage
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-218-31/+33
| | | | (this took a while to run).
* * Remove user profile from cache when they log out from a region.Justin Clarke Casey2008-04-201-1/+24
| | | | | | | * A much more significant fix is required to clean up the cache when a user moves out of a region, but really better handling of delayed inventory cache updates needs to be written first, and possibly better affinity to cut down agent inventory requests when the move is between two regions hosted on the same server.
* * Tweak inventory login failure message to point to the region owner as ↵Justin Clarke Casey2008-04-201-1/+2
| | | | first point of call rather than the grid owner
* * Re-Fixed caps Teravus Ovares2008-04-171-13/+0
| | | | | * This fixes chi11ken's/OpenViewer's libsl cap issue.
* * A tweak of the caps system so that new caps have random paths instead of a ↵Teravus Ovares2008-04-151-0/+13
| | | | | | | | | | fixed path * This allows caps requests to be routed to regions where the agent is currently a root agent instead of the region that they logged into as it did previously. * This fixes a wide variety of bugs related to 'can't do X once i've crossed a border'. * The first seed cap request fails, the second one works. (this generates an error message on the console) * Experimental.
* * Working towards notifying the client if the inventory service has failed, ↵Justin Clarke Casey2008-04-141-3/+3
| | | | | | | | | rather than simply returning 0 items. * This is very early support which would only be triggered in a rather unlikely case (if the user server correctly received an inventory skeleton, but later on failed to return the whole inventory in a timely manner. Also, this only applies to the 1.19.1.4 client onwards * Code cleanup and support for other failure cases (failure of inventory caching on region crossing, failure to actually add a folder/item, etc, should follow.
* * Put in crude poll waiting for 60 seconds for delayed user inventory ↵Justin Clarke Casey2008-04-131-2/+27
| | | | | | | | | delivery from the inventory service * This will reduce failures where the inventory server is simply slow * Still need to properly inform the user if the inventory service has failed altogether
* * Remove the worst excesses of my inventory debugging codeJustin Clarke Casey2008-04-111-6/+6
|
* * Eliminate a class of errors where an inventory request could be made ↵Justin Clarke Casey2008-04-111-11/+20
| | | | | | | | | before the region had completely received the inventory for the user. * A much larger race condition where the inventory request could be made before the region gets any data at all will also be fixed in the near future. * This change also fixes a regression from two patches ago where items stopped appearing in standalone inventory
* * Minor inventory code cleanup following on from last patchJustin Clarke Casey2008-04-111-1/+1
|
* * Change inventory async response deliver to deliver all items and folders ↵Justin Clarke Casey2008-04-112-38/+87
| | | | | | | | at once, rather than each individual * This is required in order to work towards eliminating some inventory race conditions and to better deal with situations where a grid inventory server is slow or not responding.
* * minor: replace test of CachedUserInfo.RootFolder != null with something ↵Justin Clarke Casey2008-04-112-14/+20
| | | | more readable, and make RootFolder get only
* * minor documenting, cleanup, renaming in user profile cache serviceJustin Clarke Casey2008-04-112-12/+29
|
* * documenting and minor refactoring in UserProfileCacheServiceJustin Clarke Casey2008-04-111-14/+24
|
* refactor: eliminate method in UserProfileCacheServiceJustin Clarke Casey2008-04-111-14/+13
|
* * Minor: really just comment and subsequent indentation adjustment. ↵Justin Clarke Casey2008-04-101-41/+55
| | | | Preparation for handling inventory problems where the inventory server receives a request and never responds, or is late in responding
* further renaming of properties for claritySean Dague2008-04-101-5/+5
|
* moved fields to properties for UserDataProfile, which wasSean Dague2008-04-101-5/+5
| | | | | | | actually a little more work than I expected given the copious use of out params.
* further refactor and rename of InventoryFolderBase propertiesSean Dague2008-04-083-10/+10
| | | | | | to reflect what they really are.
* * Adjust some inventory lookup failure messages to reduce confusion as to ↵Justin Clarke Casey2008-04-081-5/+7
| | | | what just went wrong
* more refactoring, this time on InventoryFolderBaseSean Dague2008-04-074-68/+68
| | | | | | | | * wrap attributes in properties * clean up names a little bit * clean up name styles
* Refactor InventoryItemBase to do the following:Sean Dague2008-04-072-37/+37
| | | | | | | | * wrap fields as Properties * rename some fields/properties to more sensible names * set style to PropName to match more standard C# approach
* From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey2008-04-041-2/+0
| | | | | | Patch to remove commented NotImpemented calls from within implemented script functions
* * Minor change on region grid asset client to change two store log messages ↵Justin Clarke Casey2008-03-311-4/+7
| | | | to one
* * Various 1.19.0.5 grid inventory request fixes. These will only take ↵Justin Clarke Casey2008-03-292-23/+140
| | | | | | | | | | | | affect once the region and the grid servers have upgraded to this revision * You may also need to clear your cache before seeing any effect. * These fixes may or may not affect inventory on the RC client. * These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly * Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal with situations where we receive child folders from the inventory service before their parent is received.
* * Send full inventory folder skeleton to standalone client logins rather ↵Justin Clarke Casey2008-03-282-9/+12
| | | | | | | | | than just the root child folders * This may resolve some current problems with non root child folders on standalone installations. * A fix for the same problem in grid mode will come soon.
* * Just inserting some exploratory comments into inventory codeJustin Clarke Casey2008-03-181-0/+12
|
* Formatting cleanup.Jeff Ames2008-03-1811-501/+490
|
* Part 2 of fixing inventory for client 1.19.1 (RC), inventory items should ↵MW2008-03-151-0/+60
| | | | | | | now show up. Most likely still some problems and most like needs some more work (and still a couple of things to finish off).
* * Add comments and slight corrections to ClientView.AgentTextureCachedJustin Clarke Casey2008-03-121-2/+2
| | | | | | * Reduce 'asset not found' console debug spam
* * Very minor error message change in GridAssetClientJustin Clarke Casey2008-03-111-3/+1
|
* disabled AssetDownloadModule and re-enabled the asset download code in the ↵MW2008-02-271-17/+18
| | | | asset cache, until it can be seen if the module was the cause of some new problems that seem like they might be related to assets. I'll look into this more tomorrow.
* small fix in the showstate data in AssetCache to reflect that now some ↵MW2008-02-271-1/+1
| | | | functions are no longer in AssetCache
* After seeing sdague do his happy dance over trunk working "the best he has ↵MW2008-02-271-17/+18
| | | | | | | | ever seen". I'm not sure I should be doing this commit, but oh well. So anyway, it moves the Asset downloading (packet sending) to a module (AssetDownloadModule). So now at last, AssetCache should be just dealing with fetching assets from the asset server and caching them.
* another attempt at fixing asset lockupsMW2008-02-271-224/+247
|
* Hopefully fixed the bug that was causing a lot of the freezing. Which was ↵MW2008-02-271-33/+51
| | | | happening due to locks in the AssetCache and Texturedownload module. Where the thread from the Asset thread would be take a lock on a list in the asset cache and then try to call the Callback into the texturedownload module and hit a lock in there which was held by a ClientView thread- which at the same time would be trying to request another texture from the cache and be hitting the lock in there held by the IClientAPI. The result each thread waiting for the other one to release a lock. And as one of those was the ClientView process packet thread. No more packets from that client could be processed. For now I've made a copy of the list in AssetCache so that it can release the lock. I'm doing more work on assets (moving the client asset downloading to a module ), so will hopefully change this into a better method once I've cleaned over things up a bit.
* * Start sending "ImageNotFound" packet back to the client if we can't find ↵Justin Clarke Casey2008-02-251-24/+8
| | | | | | | | | | | | an image * This might stop some client's constant requests for unfound textures, which is a candidate for the memory leak * If a texture is not found then the "Image not found" texture will now be displayed clientside * If it works, this should resolve mantis 676 * Non texture image requests do not receive this packet yet * This will require a prebuild
* * Improve alignment of packet queue stats headignsJustin Clarke Casey2008-02-221-1/+1
| | | | | | | * Correct asset cache stats table heading * Correct spelling mistake in AssetCache (thanks ChrisD!)
* * Winnow the debug and info messages associated with stat fetchingJustin Clarke Casey2008-02-223-14/+29
| | | | | | | * As such, only a request for a non cached asset, the response and failures show up now. * I know lbsa71 only put these in not long ago, so if they are really still required, I think we should think whether we can move the default log4net level off 'Debug'
* "threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen2008-02-212-0/+2
| | | | compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
* * Eliminate AssetCache.CopyAsset()Justin Clarke Casey2008-02-201-26/+4
| | | | | | | * 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).