aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Refactored out and de-duplicated Base64ToString(string)lbsa712009-03-311-3/+4
| | | | | * Fixed minor typo
* Update svn properties, add copyright header, formatting cleanup.Jeff Ames2009-03-311-2/+2
|
* * Minor fixes, inverted an if for readability and introduced a virtual ↵lbsa712009-03-261-4/+20
| | | | pre-process step on the asset cache
* cleanupDr Scofield2009-03-251-1/+0
|
* * minor: remove a couple more compiler warningsJustin Clarke Casey2009-03-241-4/+0
|
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-03-241-13/+9
| | | | | | | Changes to AssetCache and DynamicTextureModule to eliminate opportunities for lost texture updates.
* Committing partial work on passing folders across instances. This may crash.Melanie Thielker2009-03-231-0/+51
|
* Make single item inventory gives work across regionsMelanie Thielker2009-03-221-2/+2
|
* Add QueryItem method to secure inventory and HG inventory, change method sig toMelanie Thielker2009-03-221-7/+14
| | | | | | provide additional information the HG needs.
* Fox a null ref in the inventory give moduleMelanie Thielker2009-03-221-0/+3
|
* Add a QueryItem method to the inventory subsystem. Currently implemented forMelanie Thielker2009-03-211-0/+42
| | | | | | | MySQL only, stubs for the others. This allows updating the cache with a single item from the database.
* * 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