aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/AssetCache.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-07-23Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames1-1/+1
2008-07-12Patches #9143 and #9144 (Mantis #1723)Melanie Thielker1-1/+8
Changes the permissions module to make scripts permissive only when intended Adds security checks to asset transfers to prevent hacked clients fron requesting script sources. Adds security checks to llClientView to verify all aspects of ownership and permissions for inventory based script retrieval.
2008-07-07* remove redundant sync locking in AssetServerBase since this is already ↵Justin Clarke Casey1-2/+2
being done by the lower database layers
2008-07-07* Start scripts loaded from an archiveJustin Clarke Casey1-3/+3
2008-07-02* Drop InvType from the assets table since it is no longer usedJustin Clarke Casey1-2/+0
* Migration should be automatic on sqlite and mysql * Migration is not automatic on mssql, you will need to drop the invType column manually * Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
2008-06-30add the ability to cherry pick expire something from the assetSean Dague1-0/+24
cache. Bandaid until we rethink the caches a bit more.
2008-06-18* Refactors call to OutPacket out of AssetCache and into LLClientViewTeravus Ovares1-68/+17
2008-06-16* Allow archiver to save and load objects within other objects to arbitrary ↵Justin Clarke Casey1-23/+0
levels * This currently has various bugs which are more to do with the way its been hacked together than the feature itself (e.g. on save-oar, ghost prims will appear of the saved contained items). These will be found and eliminated in subsequent patches. * Not yet ready for use
2008-06-10* minor: Properly clear the pushed asset cache statistics where the ↵Justin Clarke Casey1-0/+4
clear-assets command is used on the region console * stop waiting for garbage collection when GC total memory used is requested, in case the periodic request of this lags the sim
2008-05-28Formatting cleanup.Jeff Ames1-10/+10
2008-05-27Thank you very much, Xantor for a patch that:Charles Krinke1-1/+34
If a request is made for an asset which is not in the cache yet, but has already been requested by something else, queue up the callbacks on that requester instead of swamping the asset server with multiple requests for the same asset.
2008-05-22* Fix mantis 1325. This is a minor issue where 'show assets' would not work ↵Justin Clarke Casey1-8/+14
fully in the region console
2008-05-22* Minor: Tidy ups and logging tweaks.Justin Clarke Casey1-1/+1
2008-05-18* Refactor: Eliminate empty if clause from AssetCache.GetAsset()Justin Clarke Casey1-4/+1
2008-05-16* Eliminate occurences of "Got a texture uuid ... with no sender object to ↵Justin Clarke Casey1-1/+1
handle it..." by properly dealing with the situation where a client still has queued texture requests when it logs out
2008-05-16* Cache knowledge in the region server that the asset service has reported ↵Justin Clarke Casey1-13/+30
an asset to be missing * This prevents repeated requests for the same missing asset to the asset server, hopefully reducing the load a little
2008-05-16* Removing unnecessary LLUUID.Zero check from AssetCacheJustin Clarke Casey1-62/+58
* This revision also includes a very temporary fix for the fact that NREs are received because of a missing avatar apperance in grid mode
2008-05-16Formatting cleanup.Jeff Ames1-11/+11
2008-05-10* Experiment in Zerocoding.Teravus Ovares1-1/+3
2008-05-08* You can haz more spring cleaning.Adam Frisby1-60/+14
* Eventually this codebase will be clean. >_>
2008-05-01* Breaking all the code, breaking all the code..!Adam Frisby1-1/+1
* Made a bunch more members static, removed some dead code, general cleaning.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-5/+5
(this took a while to run).
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-18Formatting cleanup.Jeff Ames1-235/+230
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 Casey1-6/+17
* 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 Hansen1-0/+1
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 Casey1-9/+11
(my own bug)
2008-02-20* Remove unused texture dictionaries from AssetCacheJustin Clarke Casey1-48/+69
* Add documentation to AssetCache
2008-02-20Report command string on ConsoleBase.RunCommand exceptionJustin Clarke Casey1-2/+2
2008-02-20* Report 'asset not found' situations back to UserTextureDownloadServiceJustin Clarke Casey1-21/+49
* This fixes some of the 'runaway downloads' problem but not all of it * Also fix up logging messages so texture requests are reported as such rather than as assets
2008-02-20* re-enabled AssetNotFound codelbsa711-15/+16
* turned script asset fetching asynchronous
2008-02-20* Fixed xml loading bug (the xml was scheduled for update before added to a ↵lbsa711-70/+101
scene) * Fixed ClickAction situation on the same note (properties shouldn't cause big changes) * Added some more debug output to AssetCache
2008-02-19Playing "Name that thread". Adding names and isbackground=true to all ↵Tedd Hansen1-0/+1
threads so it will be easier to debug.
2008-02-13Clean up more unnecessary String.Format callsJeff Ames1-3/+1
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames1-3/+3
2008-02-09* fixed typo. thanks, nebadon!lbsa711-1/+1
2008-02-09* Refactored some asset code and in the process uncovered a bug; now, I ↵lbsa711-10/+14
think first transfer of asset should start faster.
2008-02-09* added count of texture data bytes and asset byteslbsa711-6/+18
2008-02-09* Added count of temporary assetslbsa711-0/+23
2008-02-09* added two new commands (for debug/disaster recovery)lbsa711-25/+55
'show assets' shows the current state of the asset cache (number of cached assets, requests, et c) 'clear-assets' forcibly re-initializes the asset cache thereby freeing all cached items. 'clear-assets' is not to be used lightly, as it probably introduces mem inconsistencies and doubling up of textures.
2008-02-08fix the issue found on IRC this morning. The logging call was mistructuredSean Dague1-1/+2
so threw and exception when attempting to log that we missed an asset and were waiting for it.