aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/AssetCache.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-171-23/+23
| | | | | | | | | properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
* From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-161-15/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change makes two principal implementation changes: [1] It removes the hard coded set of possible asset server client implementations, allowing any arbitrary implementation that has been identified to the PluginLoader as an appropriate extension. The extension point for asset server client extension is /OpenSim/AssetServerClient. All of the old configuration rules have been preserved, and any of the legacy configuration values will still work as they did before, except the implementation is now loaded as a plug-in, rather than as a hard-coded instantiation of a specific class. The re-hashing of IAssetServer as an extension of IPlugin made upgrading of the implementation classes a necessity. Caveat: I have not been able to meaningfully test the crypto-grid clients. I believe they should work correctly, but the refactoring necessary to handle plug-in based initialization (vs constructor-based initialisation) admits the possibility of a problem. [2] The asset cache implementation, previously introduce as a hard-code class instantiation is now implemented as an IPlugin. Once again the previous (configurationless) behavior has been preserved. But now it is possible for those interested in experimenting with cache technologies to do so simply by introducing a new extension for the asset cache extension point (/OpenSim/AssetCache). I've tested all of the configuration settings, after applying the patch to a newly extracted tree, and they seem to work OK.
* * optimized usings.lbsa712009-02-121-2/+2
|
* From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-091-3/+4
| | | | | | | | | | | These changes replace all direct references to the AssetCache with IAssetCache. There is no change to functionality. Everything works as before. This is laying the groundwork for making it possible to register alternative asset caching mechanisms without disrupting other parts of OpenSim or their dependencies upon AssetCache functionality.
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-041-42/+42
| | | | | - trim trailing whitespace
* * Write a simple archive loading test which doesn't actually do any testing ↵Justin Clarke Casey2009-01-231-7/+3
| | | | yet apart from not blow up
* - Fix a formatting error in a log message (Mantis#2635).Homer Horwitz2008-11-161-1/+1
|
* * Restore storing null to represent 'missing asset' requests in the AssetCacheJustin Clarke Casey2008-11-111-6/+9
| | | | | | * If we don't do this then callers to the polling GetAsset wait the full polling time before returning
* * Minor typing fixes in AssetCache - now uses base types for nearly everything.Adam Frisby2008-11-111-4/+5
| | | | | | * Code Cleanliness Fixes in LLClientView * Using field instead of local variable for handlerUpdatePrimGroupRotation (if you notice any new oddities with prim group rotation after this patch, please mantis)
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-111-2/+2
|
* * Fixed asset bug.Adam Frisby2008-11-091-2/+2
|
* * Enabled GTCache for AssetCache Adam Frisby2008-11-091-191/+77
| | | | | | * Items will now be locally cached for only 24 hours from last access. (Rather than until restart) * Caveat: Implementing the new caching mechanism means statistics gathering on AssetCache is no longer functional. (Justin - you might want to take a look and see if you can somehow get that back and running if you still need it)
* Mantis#2566. Thank you kindly, Diva for a patch that:Charles Krinke2008-11-061-0/+5
| | | | | | | | This patch introduces a couple of read-only properties, so that I can grab the asset server plugin from a region module. This is needed to set up an http service for accessing standalone assets remotely.
* Mantis#2557. Thank you kindly, Diva for a patch that:Charles Krinke2008-11-051-1/+1
| | | | | | | This patch changes a method from private to public. Will make life easier for the asset mapper for the hypergrid.
* * Check in (disabled) results of not persisting avatar textures but rather ↵Justin Clarke Casey2008-10-291-4/+14
| | | | | | | | | | sending ImageNotFound to clients if avatar textures are missing * Whilst this does automatically get the client to rebake, on crossing a region border the 'local' assets are left behind * There may be a cunning solution (such as squirting the assets on region crossing, or having them fetched from the original region) but instead I'm going to opt for the easy solution of keeping them in the asset database, for now
* * Possibly fix grey avatar appearance problemsJustin Clarke Casey2008-10-281-3/+26
| | | | | | | | | | | | * And hopefully rebaking all the time should no longer be necessary now * It turns out that when the client baked the texture, the uploaded asset had the Temporary flag to true (Temporary is actually deprecated). * It also had the StoreLocal flag set to true, which signifies that the asset should be stored locally. If it disappears we should reply to the asset request with ImageNotInDatabasePacket * However, last time this was enabled some clients started crashing. This may well no longer be the case and needs to be tested, but in the mean time we will store the asset instead. * This needs to be resolved in a better way, possibly by starting to send the ImageNotInDatabase packet again instead
* * Patch from JHurlimanTeravus Ovares2008-09-261-1/+1
| | | | | | | | | * Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
* * minor: Remove some of the redundant asset id storage for nowJustin Clarke Casey2008-09-211-11/+12
|
* * Start recording asset request times after a cache miss. This is very ↵Justin Clarke Casey2008-09-211-3/+17
| | | | | | | | primtive at the moment - only the last time is kept for some classes of request * This can be seen as "Latest asset request time after cache miss" in show stats on the region console
* * Eliminate the need to copy asset request lists in the asset cache when an ↵Justin Clarke Casey2008-09-211-82/+22
| | | | | | | | asset is received or missing * Also eliminates a race condition
* * minor: tidy up of AssetCache, remove currently pointless storing of thread ↵Justin Clarke Casey2008-09-211-12/+9
| | | | reference
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-26/+26
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Formatting cleanup.Jeff Ames2008-08-181-7/+7
|
* Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames2008-07-231-1/+1
|
* Patches #9143 and #9144 (Mantis #1723)Melanie Thielker2008-07-121-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.
* * remove redundant sync locking in AssetServerBase since this is already ↵Justin Clarke Casey2008-07-071-2/+2
| | | | being done by the lower database layers
* * Start scripts loaded from an archiveJustin Clarke Casey2008-07-071-3/+3
|
* * Drop InvType from the assets table since it is no longer usedJustin Clarke Casey2008-07-021-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
* add the ability to cherry pick expire something from the assetSean Dague2008-06-301-0/+24
| | | | | | cache. Bandaid until we rethink the caches a bit more.
* * Refactors call to OutPacket out of AssetCache and into LLClientViewTeravus Ovares2008-06-181-68/+17
|
* * Allow archiver to save and load objects within other objects to arbitrary ↵Justin Clarke Casey2008-06-161-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
* * minor: Properly clear the pushed asset cache statistics where the ↵Justin Clarke Casey2008-06-101-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
* Formatting cleanup.Jeff Ames2008-05-281-10/+10
|
* Thank you very much, Xantor for a patch that:Charles Krinke2008-05-271-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.
* * Fix mantis 1325. This is a minor issue where 'show assets' would not work ↵Justin Clarke Casey2008-05-221-8/+14
| | | | fully in the region console
* * Minor: Tidy ups and logging tweaks.Justin Clarke Casey2008-05-221-1/+1
|
* * Refactor: Eliminate empty if clause from AssetCache.GetAsset()Justin Clarke Casey2008-05-181-4/+1
|
* * Eliminate occurences of "Got a texture uuid ... with no sender object to ↵Justin Clarke Casey2008-05-161-1/+1
| | | | handle it..." by properly dealing with the situation where a client still has queued texture requests when it logs out
* * Cache knowledge in the region server that the asset service has reported ↵Justin Clarke Casey2008-05-161-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
* * Removing unnecessary LLUUID.Zero check from AssetCacheJustin Clarke Casey2008-05-161-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
* Formatting cleanup.Jeff Ames2008-05-161-11/+11
|
* * Experiment in Zerocoding.Teravus Ovares2008-05-101-1/+3
|
* * You can haz more spring cleaning.Adam Frisby2008-05-081-60/+14
| | | | | * Eventually this codebase will be clean. >_>
* * Breaking all the code, breaking all the code..!Adam Frisby2008-05-011-1/+1
| | | | | * Made a bunch more members static, removed some dead code, general cleaning.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-5/+5
| | | | (this took a while to run).
* 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
* Formatting cleanup.Jeff Ames2008-03-181-235/+230
|
* 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.