aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Asset (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add TestClearCache()Justin Clark-Casey (justincc)2011-07-041-0/+17
|
* add TestExpireAsset()Justin Clark-Casey (justincc)2011-07-041-0/+20
|
* refactor: Move test setup code into setup methodJustin Clark-Casey (justincc)2011-07-041-13/+20
|
* Make it possible to disable the file part of the flotsam asset cacheJustin Clark-Casey (justincc)2011-07-042-39/+74
| | | | | | | | This matches the ability to disable the memory part This is controlled through the FileCacheEnabled parameter in FlotsamCache.ini Default is true, so existing installations are not affected. Improved fcache command feedback when various caches are disabled. Re-enabled test for flotsam cache with file caching disabled.
* refactor: Split file cache manipulation code into separate methods, as has ↵Justin Clark-Casey (justincc)2011-07-041-102/+131
| | | | already been done for the memory cache
* Add basic flotsam asset cache test for retrieved cached asset.Justin Clark-Casey (justincc)2011-07-042-0/+84
| | | | Disabled temporarily since file system caching disrupts subsequent test runs
* If the flotsam asset cache console command "fcache clear" is specified on ↵Justin Clark-Casey (justincc)2011-06-111-11/+26
| | | | its own, clear both memory and file caches
* Make the internal flotsam asset cache defaults match ↵Justin Clark-Casey (justincc)2011-06-111-29/+35
| | | | | | | | | config-include/FlotsamCache.ini.example. Enable the flotsam console commands even if FlotsamCache.ini isn't present. For the most part, defaults are made to match those already in FlotsamCache.ini.example. The one exception is that the 48 hour file timeout from the code is used instead of the 0 hours that was in the example file. This can be tweaked if necessary. Most importantly, the default cache directory is now ./assetcache (as in FlotsamCache.ini.example) rather than ./FlotsamAssetCache (as was the internal code default). Therefore, if you were using flotasm without using the config file, then please rename your cache directory or start using the ini file and change the default there if you want to keep using your existing cache.
* Make the file expiration defaults the same whether the whole [FLOTSAM ASSET ↵Justin Clark-Casey (justincc)2011-02-251-3/+3
| | | | CACHE] section is missing or just the particular config values
* instead of using different default memory expiration depending on whether ↵Justin Clark-Casey (justincc)2011-02-251-11/+2
| | | | | | there is a [FLOTSAM ASSET CACHE] section present at all, use the same default all the time this simplifies the code
* log actual cache directory for FlotsamAssetCache instead of always logging ↵Justin Clark-Casey (justincc)2011-02-251-1/+1
| | | | the default
* Fix bug where having no maximum memory cache timeout would cause the flotsam ↵Justin Clark-Casey (justincc)2011-02-251-1/+1
| | | | | | asset cache to try using Double.MaxValue, which would cause the underlying OpenMetaverse.ExpiringCache to choke. There is probably an underlying bug to fix in ExpiringCache.
* Add linden prim renderer and update libOMVMelanie2010-10-041-2/+2
|
* * Adds IAssetService.GetCached() to allow asset fetching from the local ↵John Hurliman2010-04-081-0/+5
| | | | | | | cache only * Adds GetTextureModule that implements the "GetTexture" capability, aka HTTP texture fetching. This is a significantly optimized path that does not require any server-side JPEG2000 decoding, texture priority queue, or UDP file transfer * Sanity check for null reference in LLClientView.RefreshGroupMembership()
* * UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman2010-03-151-1/+1
| | | | | | types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file
* minor: Make FlotsamAssetCache default loglevel 0 to match that given in ↵Justin Clark-Casey (justincc)2010-02-191-2/+2
| | | | bin/config-include/FlotsamCache.ini.example
* Formatting cleanup.Jeff Ames2010-02-151-1/+1
|
* Fix http://opensimulator.org/mantis/view.php?id=4224Justin Clark-Casey (justincc)2010-02-121-13/+14
| | | | | | | This resolves the problem where eyes and hair would turn white on standalone configurations When a client receives body part information, for some insane reason or other it always ends up uploading this back to the server and then immediately re-requesting it. This should have been okay since we stored that asset in cache. However, the standalone asset service connector was not checking this cache properly, so every time the client made the request for the asset it has just loaded it would get a big fat null back in the face, causing it to make clothes and hair white. This bug did not affect grids since they use a different service connector.
* Revert "Old OpenSim installations may have no AssetCaching setting in ↵Justin Clark-Casey (justincc)2010-02-051-3/+1
| | | | | | | | config-include/StandaloneCommon.ini [Modules] (or no [Modules] at all)" This will be replaced by a better solution where an enabled baking module will fail if no cache is in place (same for dynamic texture modules) This reverts commit 7058a4c2597a2b76704e906b73ae7077ff805b16.
* Old OpenSim installations may have no AssetCaching setting in ↵Justin Clark-Casey (justincc)2010-02-051-1/+3
| | | | | | | config-include/StandaloneCommon.ini [Modules] (or no [Modules] at all) If this is the case, this patch makes CenomeAssetCache the default cache (which matches that selected in StandaloneCommon.ini.example) Not having an asset cache may lead to a continual loop of appearance baking failures and cause dynamic textures not to work, among other effects
* Apply http://opensimulator.org/mantis/view.php?id=4548Justin Clark-Casey (justincc)2010-01-291-1/+1
| | | | | Fix command params check on fcache expire <datetime> Thanks coyled
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2009-11-091-1/+1
|
* * Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to ↵John Hurliman2009-10-211-6/+2
| | | | | | Util.FireAndForget() * Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
* * Removing cruft left over from the conversion to the new texture sending ↵John Hurliman2009-10-204-66/+45
| | | | | | and UDP code * Changing the cache modules to only initialize the caches if they are actually enabled. Should save a bit of resources from unused cache systems
* * Removed OpenSim.Data.NHibernateJohn Hurliman2009-10-191-2/+2
| | | | * Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
* Formatting cleanup.Jeff Ames2009-10-191-2/+2
|
* 0004246: [Patch] FlotsamAssetCache deep scan & cacheMelanie2009-10-121-37/+270
| | | | Thank you, mcortez.
* * minor: tweak asset cache logging levels downwardsJustin Clark-Casey (justincc)2009-10-054-12/+9
|
* Stream needs to be closed before the file can be moved...Diva Canto2009-10-041-5/+6
|
* Make sure to close the file streams on the FlotsamCache, even if something ↵Diva Canto2009-10-041-4/+12
| | | | fails.
* Formatting cleanup.Jeff Ames2009-10-012-3/+3
|
* More small changes to FlotsamAssetCache as per mcortez' request.Diva Canto2009-09-251-2/+2
|
* * Another Timer lockTeravus Ovares (Dan Olivares)2009-09-101-1/+4
|
* Merge branch 'master' of ssh://MyConnection/var/git/opensimTeravus Ovares (Dan Olivares)2009-09-091-28/+130
|\
| * Thank you, mcortez, for a patch to fix errors in FlotsamCache and expandMelanie2009-09-081-28/+130
| | | | | | | | functionality, adding console commands.
* | * Lock timers when Calling Start() and Stop() when the Thread Context is ↵Teravus Ovares (Dan Olivares)2009-09-091-1/+4
|/ | | | murky. This affects Mono only.
* Standardize FlotsamAssetCache headerJustin Clark-Casey (justincc)2009-08-281-25/+25
| | | | | Add mcortez to CONTRIBUTORS Other minor tidy of CONTRIBUTORS
* Remove OpenSim.ini comments from the top of FlotsamAssetCache.cs to avoid ↵Justin Clark-Casey (justincc)2009-08-271-51/+0
| | | | duplication and divergence with config-include/FlotsamCache.ini.example
* Apply http://opensimulator.org/mantis/view.php?id=3829Justin Clark-Casey (justincc)2009-08-271-1/+1
| | | | | Fix file access violation on Flotsam cache Thanks mcortez
* Replace the Replaceable modules nameMelanie2009-08-104-4/+4
|
* Add copyright header. Formatting cleanup.Jeff Ames2009-08-011-1/+1
|
* Thank you, coyled, for a patch to change Flotsamcache path generationMelanie Thielker2009-07-291-4/+4
| | | | | | to avoid directory overflow.
* Thank you, mcortez, for a patch to correct a folder bloat issue in theMelanie Thielker2009-07-281-3/+54
| | | | | | | Flotsam Asset Cache. Fixes mantis #3950
* Committing the interface change and the addition to the modules to getMelanie Thielker2009-07-104-0/+20
| | | | | | the ball rolling on replacable modules. No user functionality yet
* Thanks cmickeyb for a patch that checks for null assets in Cenome asset ↵Dahlia Trimble2009-06-191-3/+7
| | | | cache - Mantis #3819
* Removing the default reading of AssetCaching on all cache modules.diva2009-06-102-2/+2
|
* Reverse the default setting in Flotsam Asset Cache. Nothing should be the ↵Melanie Thielker2009-06-101-1/+1
| | | | default
* Formatting cleanup.Jeff Ames2009-06-101-3/+3
|
* Letting the Flotsam cache be enabled even when [AssetCache] section is ↵diva2009-06-091-8/+9
| | | | missing. Thank you mcortez!
* Formatting cleanup. Ignore some generated files.Jeff Ames2009-06-092-37/+37
|