aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Support loading empty folders in an iarJustin Clarke Casey2009-03-131-3/+1
|
* * Remove asset cache size and texture stat reports from ASSET STATS since ↵Justin Clarke Casey2009-03-131-4/+6
| | | | | | | | these are now inaccurate * Correct count of assets in cache
* * Add basic asset cache get testJustin Clarke Casey2009-03-092-7/+5
|
* * Move method documentation from AssetCache up to IAssetCacheJustin Clarke Casey2009-03-091-80/+10
| | | | | | * No functional changes
* * Address http://opensimulator.org/mantis/view.php?id=3207Justin Clarke Casey2009-03-091-4/+1
| | | | | | | | | * A saved archive now immediately expires the data in the asset cache that it used, rather than retaining all the assets (esp textures) in the cache. * This is an imperfect solution. Ideally we would only expire the assets newly requested for the archive (not existing ones). But doing that would require a lot more restructuring. * I don't believe there are any locking issues due to the locking performed by the underlying memory cache, but please report any issues.
* * Update ScenePresenceTests to reflect current REST communication workflow.Sean Dague2009-02-261-1/+1
| | | | | | | * Fixed an issue with AssetCache where it would break unit tests randomly. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-221-2/+2
| | | | | | | | | * Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
* * Reverted the AssetServer fix, apparently something was dependent on ↵lbsa712009-02-192-0/+2
| | | | IAssetDataPlugin being in OpenSim.Data
* * Extracted IAssetData and moved it to OpenSim.Framework to prepare to get ↵lbsa712009-02-192-2/+0
| | | | | | | rid of ugly CoreModules dependency on AssetServer.exe * And yes, the IAssetDataPlugin is misnomed, which became apparent on extracting it.
* * Allow inventory archives to be saved from the 'root' inventory directoryJustin Clarke Casey2009-02-171-3/+10
| | | | | | | * Reload doesn't currently obey structure information * Not yet ready for use
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-174-35/+35
| | | | | | | | | 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-166-26/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * refactor: Move RequestInventoryForUser() from service to CachedUserInfoJustin Clarke Casey2009-02-122-30/+19
| | | | | | * This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
* * optimized usings.lbsa712009-02-128-14/+10
|
* 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.
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-2/+8
| | | | | | | | | | | | | | | | | | | | OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
* * Introduce a new "default" option for asset_database in the [STORAGE] sectionJustin Clarke Casey2009-02-041-0/+1
| | | | | | | | * This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode * The other options can (local, grid, etc) can still be used explicitly as before * Also change OpenSim.ini.example and the surrounding explanative text
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-044-68/+68
| | | | | - trim trailing whitespace
* - move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs toMike Mazur2009-02-032-0/+2
| | | | | | OpenSim/Data/IAssetData.cs - remove some trailing whitespace
* Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data ↵Mike Mazur2009-02-032-6/+6
| | | | plugins.
* * 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
* No longer append a "texture" parameter on texture asset requests. TheMike Mazur2009-01-191-2/+0
| | | | | | asset server doesn't check for the existence of this parameter since r2744.
* * prune and regrade log messages relating to client login and logoutJustin Clarke Casey2009-01-061-2/+1
|
* * Apply http://opensimulator.org/mantis/view.php?id=2927 with some changesJustin Clarke Casey2008-12-292-17/+14
| | | | | | | | | * 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
* Attempt at restoring inventory access after TPs/crossings. RemoveClient in ↵diva2008-12-151-0/+1
| | | | | | | | Scene was being too aggressive at nixing the user out of the cache. We're now relying on NeedSceneCacheClear to decide whether to nix it or not. All other mods in other files are for better debugging messages.
* * Extend update test to test situation where it also moves the folderJustin Clarke Casey2008-12-121-7/+8
| | | | | | * Correct logic so that update folder behaves as expected
* * Create update folder testJustin Clarke Casey2008-12-121-0/+1
| | | | | | * Correct small logic elidation
* * minor: make AddRequest() protected since in principle it shouldn't be used ↵Justin Clarke Casey2008-12-121-1/+1
| | | | outside the class and its descendents
* * refactor: pull out common user profile test code into utility functionsJustin Clarke Casey2008-12-121-1/+0
|
* * refactor: Stop exposing InventoryFolderImpl.SubFolders publiclyJustin Clarke Casey2008-12-113-58/+82
|
* * Add get child folder testJustin Clarke Casey2008-12-111-0/+17
|
* * Add create folder userinfo testJustin Clarke Casey2008-12-111-1/+1
|
* * test: Add simple user profile test that checks for non-existing usersJustin Clarke Casey2008-12-111-1/+5
|
* * refactor: Move inventory handlers out from UserProfileCacheServiceJustin Clarke Casey2008-12-101-279/+0
| | | | | | | | * This means that UserProfileCacheService no longer needs to know about IClientAPI and can leave it to callers to do their own error logging * This is also more consistent with the way that item inventory manipulation is handled * I don't really think Scene.PacketHandlers.cs should be a permanent home for these handlers - this is just for convenience
* * Apply the other patch from http://opensimulator.org/mantis/view.php?id=2315Justin Clarke Casey2008-12-102-2/+4
| | | | | | | | | | | | | | * This means that LL RAW terrains (one source being the upload/download buttons on the estate dialog in the viewer) are now imported the 'right' way around rather than being flipped on the y axis * Existing RAW terrains before this patch will need to be flipped with the "terrain flip y" command from the console after import * More details on the mailing lists soon. -This line, and those below, will be ignored-- M OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/LLRAW.cs M OpenSim/Framework/Communications/Cache/CachedUserInfo.cs M OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
* * Actually update subfolders of parent folders in the inventory cache when a ↵Justin Clarke Casey2008-12-093-9/+65
| | | | | | | | folder gets moved * This was causing inventory folder transfer code to not work properly (this is still temporarily disabled)
* killing warnings, reformatting RemoteAdminPluginDr Scofield2008-12-051-5/+4
|
* * Put in the code necessary to allow inventory transfer of whole folders ↵Justin Clarke Casey2008-12-042-1/+8
| | | | | | | | (and their contents) between agents, not just single items * However, this is not currently activated since it's not absolutely fully tested and there's a bug lurking in there to do with the sending of the BulkInventoryUpdate packets
* * test: Add a wodge of code in order to be able to slightly extend a test to ↵Justin Clarke Casey2008-11-281-1/+0
| | | | | | | | deliver a taken object to a user inventory folder without throwing an exception * test doesn't actually double check for the presence of the item yet
* Don't serve texture preview from other people's objects if youMelanie Thielker2008-11-231-0/+27
| | | | | | havenever seen that texture before.
* - 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)
* Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup.Jeff Ames2008-11-082-1/+55
|
* Mantis#2566. Thank you kindly, Diva for a patch that:Charles Krinke2008-11-062-0/+10
| | | | | | | | 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