aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-23* Implement proper emptying of trashcan on standaloneJustin Clarke Casey2-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.
2008-04-23* Fix mantis #842 - folders which are created but left named "New Folder" in ↵Justin Clarke Casey1-1/+14
places other than directly under "My Inventory" should now be stored
2008-04-22* Add folders and items locking in external manipulations of ↵Justin Clarke Casey1-20/+35
InventoryFolderImpl carried out by CachedUserInfo * These will do temporarily pending refactoring
2008-04-22* Add DeleteAllContents() method to InventoryFolderImpl - not yet used but ↵Justin Clarke Casey1-39/+109
will be soon * Add locking to InventoryFolderImpl class - need more though.
2008-04-22* Extend functionality to better handle delayed inventory service transfers ↵Justin Clarke Casey1-9/+30
to create folder, move folder and purge folder. * Old 1.18 get folder functionality requires a little more consideration
2008-04-22* Replace previous specific inventory callback code with generic alternativeJustin Clarke Casey2-30/+40
2008-04-22* Allow folder renaming to complete after an agent inventory has been ↵Justin Clarke Casey2-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
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby8-31/+33
(this took a while to run).
2008-04-20* Remove user profile from cache when they log out from a region.Justin Clarke Casey1-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.
2008-04-20* Tweak inventory login failure message to point to the region owner as ↵Justin Clarke Casey1-1/+2
first point of call rather than the grid owner
2008-04-17* Re-Fixed caps Teravus Ovares1-13/+0
* This fixes chi11ken's/OpenViewer's libsl cap issue.
2008-04-15* A tweak of the caps system so that new caps have random paths instead of a ↵Teravus Ovares1-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.
2008-04-14* Working towards notifying the client if the inventory service has failed, ↵Justin Clarke Casey1-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.
2008-04-13* Put in crude poll waiting for 60 seconds for delayed user inventory ↵Justin Clarke Casey1-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
2008-04-11* Remove the worst excesses of my inventory debugging codeJustin Clarke Casey1-6/+6
2008-04-11* Eliminate a class of errors where an inventory request could be made ↵Justin Clarke Casey1-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
2008-04-11* Minor inventory code cleanup following on from last patchJustin Clarke Casey1-1/+1
2008-04-11* Change inventory async response deliver to deliver all items and folders ↵Justin Clarke Casey2-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.
2008-04-11* minor: replace test of CachedUserInfo.RootFolder != null with something ↵Justin Clarke Casey2-14/+20
more readable, and make RootFolder get only
2008-04-11* minor documenting, cleanup, renaming in user profile cache serviceJustin Clarke Casey2-12/+29
2008-04-11* documenting and minor refactoring in UserProfileCacheServiceJustin Clarke Casey1-14/+24
2008-04-11refactor: eliminate method in UserProfileCacheServiceJustin Clarke Casey1-14/+13
2008-04-10* Minor: really just comment and subsequent indentation adjustment. ↵Justin Clarke Casey1-41/+55
Preparation for handling inventory problems where the inventory server receives a request and never responds, or is late in responding
2008-04-10further renaming of properties for claritySean Dague1-5/+5
2008-04-10moved fields to properties for UserDataProfile, which wasSean Dague1-5/+5
actually a little more work than I expected given the copious use of out params.
2008-04-08further refactor and rename of InventoryFolderBase propertiesSean Dague3-10/+10
to reflect what they really are.
2008-04-08* Adjust some inventory lookup failure messages to reduce confusion as to ↵Justin Clarke Casey1-5/+7
what just went wrong
2008-04-07more refactoring, this time on InventoryFolderBaseSean Dague4-68/+68
* wrap attributes in properties * clean up names a little bit * clean up name styles
2008-04-07Refactor InventoryItemBase to do the following:Sean Dague2-37/+37
* wrap fields as Properties * rename some fields/properties to more sensible names * set style to PropName to match more standard C# approach
2008-04-04From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey1-2/+0
Patch to remove commented NotImpemented calls from within implemented script functions
2008-03-31* Minor change on region grid asset client to change two store log messages ↵Justin Clarke Casey1-4/+7
to one
2008-03-29* Various 1.19.0.5 grid inventory request fixes. These will only take ↵Justin Clarke Casey2-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.
2008-03-28* Send full inventory folder skeleton to standalone client logins rather ↵Justin Clarke Casey2-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.
2008-03-18* Just inserting some exploratory comments into inventory codeJustin Clarke Casey1-0/+12
2008-03-18Formatting cleanup.Jeff Ames11-501/+490
2008-03-15Part 2 of fixing inventory for client 1.19.1 (RC), inventory items should ↵MW1-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).
2008-03-12* Add comments and slight corrections to ClientView.AgentTextureCachedJustin Clarke Casey1-2/+2
* Reduce 'asset not found' console debug spam
2008-03-11* Very minor error message change in GridAssetClientJustin Clarke Casey1-3/+1
2008-02-27disabled AssetDownloadModule and re-enabled the asset download code in the ↵MW1-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.
2008-02-27small fix in the showstate data in AssetCache to reflect that now some ↵MW1-1/+1
functions are no longer in AssetCache
2008-02-27After seeing sdague do his happy dance over trunk working "the best he has ↵MW1-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.
2008-02-27another attempt at fixing asset lockupsMW1-224/+247
2008-02-27Hopefully fixed the bug that was causing a lot of the freezing. Which was ↵MW1-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.
2008-02-25* Start sending "ImageNotFound" packet back to the client if we can't find ↵Justin Clarke Casey1-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
2008-02-22* Improve alignment of packet queue stats headignsJustin Clarke Casey1-1/+1
* Correct asset cache stats table heading * Correct spelling mistake in AssetCache (thanks ChrisD!)
2008-02-22* Winnow the debug and info messages associated with stat fetchingJustin Clarke Casey3-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'
2008-02-21"threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen2-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.
2008-02-20* Eliminate AssetCache.CopyAsset()Justin Clarke Casey1-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).
2008-02-20* Only count download requests for assets which are not already waiting for ↵Justin Clarke Casey1-5/+6
data from the asset server * This should stop the constant increase in the download requests statistics * If you see stat numbers for download requests which are far from what you'd expect, please report
2008-02-20* Properly guard removal of asset request lists on AssetCache.AssetNotFound ↵Justin Clarke Casey2-14/+16
(my own bug)