aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/AssetServerBase.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-13* Support loading empty folders in an iarJustin Clarke Casey1-3/+1
2009-02-19* Reverted the AssetServer fix, apparently something was dependent on ↵lbsa711-0/+1
IAssetDataPlugin being in OpenSim.Data
2009-02-19* Extracted IAssetData and moved it to OpenSim.Framework to prepare to get ↵lbsa711-1/+0
rid of ugly CoreModules dependency on AssetServer.exe * And yes, the IAssetDataPlugin is misnomed, which became apparent on extracting it.
2009-02-16From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague1-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.
2009-02-12* optimized usings.lbsa711-2/+2
2009-02-03- move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs toMike Mazur1-0/+1
OpenSim/Data/IAssetData.cs - remove some trailing whitespace
2009-02-03Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data ↵Mike Mazur1-2/+2
plugins.
2008-12-29* Apply http://opensimulator.org/mantis/view.php?id=2927 with some changesJustin Clarke Casey1-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
2008-11-06Mantis#2566. Thank you kindly, Diva for a patch that:Charles Krinke1-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.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-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.
2008-08-18Formatting cleanup.Jeff Ames1-5/+5
2008-07-31Thanks, sempuki, for a patch that moves all Grid Server's plugins toMike Mazur1-1/+1
PluginLoader. Fix issue 1871.
2008-07-07* remove redundant sync locking in AssetServerBase since this is already ↵Justin Clarke Casey1-14/+2
being done by the lower database layers
2008-07-07* remove unused CommitAssets() hook for nowJustin Clarke Casey1-5/+0
2008-06-14* Start recording asset request failuresJustin Clarke Casey1-2/+6
* This includes problems such as connection failures and timeouts. It does not include 'asset not found' replies from the asset service.
2008-06-13* refactor: catch asset service request exceptions at the AssetServerBase ↵Justin Clarke Casey1-3/+20
level rather than in the GridAssetClient * this is to enable logging of asset request exceptions soon
2008-05-16* Cache knowledge in the region server that the asset service has reported ↵Justin Clarke Casey1-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
2008-05-16Formatting cleanup.Jeff Ames1-4/+4
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-5/+5
(this took a while to run).
2008-03-18Formatting cleanup.Jeff Ames1-26/+25
2008-03-12* Add comments and slight corrections to ClientView.AgentTextureCachedJustin Clarke Casey1-2/+2
* Reduce 'asset not found' console debug spam
2008-02-22* Winnow the debug and info messages associated with stat fetchingJustin Clarke Casey1-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'
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* Properly guard removal of asset request lists on AssetCache.AssetNotFound ↵Justin Clarke Casey1-5/+5
(my own bug)
2008-02-20* Remove unused texture dictionaries from AssetCacheJustin Clarke Casey1-0/+4
* Add documentation to AssetCache
2008-02-20* Report 'asset not found' situations back to UserTextureDownloadServiceJustin Clarke Casey1-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
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-6/+3
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames1-1/+1
2008-02-05Converted logging to use log4net.Jeff Ames1-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.
2008-01-09* removed another superfluous debug messagelbsa711-2/+2
2008-01-02* Trying to address TextureSender issueslbsa711-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
2008-01-02* Refactored out function to load specified AssetSet Xmllbsa711-2/+2
This commit dedicated to 'Mohawk - Bad Girls (Need Love Too)'
2007-12-28Factor out common asset loading from AssetServerBase and Grid/AssetServer/MainJustin Clarke Casey1-97/+5
2007-12-27* Optimized usingslbsa711-5/+5
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-27* AssetServerBase: _ProcessRequest is now called GetAssetlbsa711-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.
2007-12-20Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames1-1/+1
Works with LibSL rev>1532
2007-12-19Refactor asset request processing for consistent status information on ↵Justin Clarke Casey1-3/+34
whether an asset was actually found or not
2007-12-14* ARequest changed name to AssetRequest and moved to own file.lbsa711-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.
2007-12-11added copyright noticesJeff Ames1-0/+28
2007-11-17catch exceptions when loading malformed xml filesJeff Ames1-15/+23
2007-11-06* Added better logging to AssetCachelbsa711-19/+1
* AssetCache now ignores duplicate uploads * some m_ refactoring * ignored some bins
2007-11-01debug tracing for asset server hangsSean Dague1-1/+3
2007-11-01renamed FetchAsset to RequestAsset on IAssetServer, as think its a more ↵MW1-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.
2007-11-01Test on the grid asset problem, don't update to this version unless you just ↵MW1-1/+1
want to test to see if this fixes anything (but it could just as well break grid assets even more).
2007-10-30* Optimized usingslbsa711-15/+11
* Shortened type references * Removed redundant 'this' qualifier
2007-10-29as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW1-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.
2007-10-29Fixed a bug in SQLAssetServer that only seemed to be a problem when running ↵MW1-1/+1
under the MS .net Runtime, but was fine with mono.
2007-10-29fixed one bug (where the assets we read and created from the ↵MW1-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
2007-10-26Very early first implementation of grid based assets.Tleiades Hax1-18/+18
Run this on a major grid, and weep