aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/AssetServerBase.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Reverted the AssetServer fix, apparently something was dependent on ↵lbsa712009-02-191-0/+1
| | | | IAssetDataPlugin being in OpenSim.Data
* * Extracted IAssetData and moved it to OpenSim.Framework to prepare to get ↵lbsa712009-02-191-1/+0
| | | | | | | rid of ugly CoreModules dependency on AssetServer.exe * And yes, the IAssetDataPlugin is misnomed, which became apparent on extracting it.
* From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-161-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|
* - move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs toMike Mazur2009-02-031-0/+1
| | | | | | OpenSim/Data/IAssetData.cs - remove some trailing whitespace
* Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data ↵Mike Mazur2009-02-031-2/+2
| | | | plugins.
* * Apply http://opensimulator.org/mantis/view.php?id=2927 with some changesJustin Clarke Casey2008-12-291-2/+2
| | | | | | | | | * This allows configuration of the assetset and library control file paths to be other than ./inventory/Libraries.xml and ./assets/AssetSets.xml * This is controlled via the LibrariesXMLFile and AssetSetsXMLFile configuration settings in [StandAlone] in OpenSim.ini (in standalone) and via the user and asset config xml files for grid mode * Thanks to SirKimba for the patch
* 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.
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-2/+2
| | | | | | | * 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-5/+5
|
* Thanks, sempuki, for a patch that moves all Grid Server's plugins toMike Mazur2008-07-311-1/+1
| | | | | | PluginLoader. Fix issue 1871.
* * remove redundant sync locking in AssetServerBase since this is already ↵Justin Clarke Casey2008-07-071-14/+2
| | | | being done by the lower database layers
* * remove unused CommitAssets() hook for nowJustin Clarke Casey2008-07-071-5/+0
|
* * Start recording asset request failuresJustin Clarke Casey2008-06-141-2/+6
| | | | | | * This includes problems such as connection failures and timeouts. It does not include 'asset not found' replies from the asset service.
* * refactor: catch asset service request exceptions at the AssetServerBase ↵Justin Clarke Casey2008-06-131-3/+20
| | | | | | | | level rather than in the GridAssetClient * this is to enable logging of asset request exceptions soon
* * Cache knowledge in the region server that the asset service has reported ↵Justin Clarke Casey2008-05-161-1/+1
| | | | | | | | an asset to be missing * This prevents repeated requests for the same missing asset to the asset server, hopefully reducing the load a little
* Formatting cleanup.Jeff Ames2008-05-161-4/+4
|
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-5/+5
| | | | (this took a while to run).
* Formatting cleanup.Jeff Ames2008-03-181-26/+25
|
* * Add comments and slight corrections to ClientView.AgentTextureCachedJustin Clarke Casey2008-03-121-2/+2
| | | | | | * Reduce 'asset not found' console debug spam
* * Winnow the debug and info messages associated with stat fetchingJustin Clarke Casey2008-02-221-0/+2
| | | | | | | * 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-211-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.
* * Properly guard removal of asset request lists on AssetCache.AssetNotFound ↵Justin Clarke Casey2008-02-201-5/+5
| | | | (my own bug)
* * Remove unused texture dictionaries from AssetCacheJustin Clarke Casey2008-02-201-0/+4
| | | | | | * Add documentation to AssetCache
* * Report 'asset not found' situations back to UserTextureDownloadServiceJustin Clarke Casey2008-02-201-4/+5
| | | | | | | * 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
* Playing "Name that thread". Adding names and isbackground=true to all ↵Tedd Hansen2008-02-191-0/+1
| | | | threads so it will be easier to debug.
* Clean up more unnecessary String.Format callsJeff Ames2008-02-131-6/+3
|
* Clean up logging calls using String.Format explicitlyJeff Ames2008-02-101-1/+1
|
* Converted logging to use log4net.Jeff Ames2008-02-051-8/+10
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * removed another superfluous debug messagelbsa712008-01-091-2/+2
|
* * Trying to address TextureSender issueslbsa712008-01-021-19/+19
| | | | | | * The BlockingQueue exposes Contains so we can make sure we don't add a TextureSender to the queue if there's already one present * introduced some TryGetValue and various code convention stuff
* * Refactored out function to load specified AssetSet Xmllbsa712008-01-021-2/+2
| | | | | This commit dedicated to 'Mohawk - Bad Girls (Need Love Too)'
* Factor out common asset loading from AssetServerBase and Grid/AssetServer/MainJustin Clarke Casey2007-12-281-97/+5
|
* * Optimized usingslbsa712007-12-271-5/+5
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * AssetServerBase: _ProcessRequest is now called GetAssetlbsa712007-12-271-4/+4
| | | | | | | * PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility. * Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
* Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames2007-12-201-1/+1
| | | | Works with LibSL rev>1532
* Refactor asset request processing for consistent status information on ↵Justin Clarke Casey2007-12-191-3/+34
| | | | whether an asset was actually found or not
* * ARequest changed name to AssetRequest and moved to own file.lbsa712007-12-141-4/+21
| | | | | | * The AssetServerBase is now responsible for dequeueing, the server implementations merely recieves ProcessRequest( AssetRequest req ) * Catchall added around queue processing thread so thread won't abort on exceptions.
* added copyright noticesJeff Ames2007-12-111-0/+28
|
* catch exceptions when loading malformed xml filesJeff Ames2007-11-171-15/+23
|
* * Added better logging to AssetCachelbsa712007-11-061-19/+1
| | | | | | | * AssetCache now ignores duplicate uploads * some m_ refactoring * ignored some bins
* debug tracing for asset server hangsSean Dague2007-11-011-1/+3
|
* renamed FetchAsset to RequestAsset on IAssetServer, as think its a more ↵MW2007-11-011-1/+1
| | | | fitting name. As the call shouldn't actually return the data, but just add a request for the data to be sent back via the callback.
* Test on the grid asset problem, don't update to this version unless you just ↵MW2007-11-011-1/+1
| | | | want to test to see if this fixes anything (but it could just as well break grid assets even more).
* * Optimized usingslbsa712007-10-301-15/+11
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW2007-10-291-16/+16
| | | | | | | Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace. Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
* Fixed a bug in SQLAssetServer that only seemed to be a problem when running ↵MW2007-10-291-1/+1
| | | | under the MS .net Runtime, but was fine with mono.
* fixed one bug (where the assets we read and created from the ↵MW2007-10-291-1/+5
| | | | OpenSimAssetSet.xml file, weren't actually getting added to the database). This should make textures/assets work again with db4o, but still seems a problem with sqlite
* Very early first implementation of grid based assets.Tleiades Hax2007-10-261-18/+18
| | | | | Run this on a major grid, and weep
* * Return of R2162. /Take that SVN!/Adam Frisby2007-10-221-1/+1
|