aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * Possibly fix grey avatar appearance problemsJustin Clarke Casey2008-10-281-3/+26
| | | | | | | | | | | | * And hopefully rebaking all the time should no longer be necessary now * It turns out that when the client baked the texture, the uploaded asset had the Temporary flag to true (Temporary is actually deprecated). * It also had the StoreLocal flag set to true, which signifies that the asset should be stored locally. If it disappears we should reply to the asset request with ImageNotInDatabasePacket * However, last time this was enabled some clients started crashing. This may well no longer be the case and needs to be tested, but in the mean time we will store the asset instead. * This needs to be resolved in a better way, possibly by starting to send the ImageNotInDatabase packet again instead
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2008-10-201-2/+8
| | | | | | | | cleanups and assorted fixes to REST inventory, asset, and appearance services.
* Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.Melanie Thielker2008-10-181-1/+1
| | | | | | | | Add rezzing time to objects. Add Object return and traffic fields to land database. Add plumbing for auto return. Implement auto return. Contains a migration. May contain nuts.
* fix line endings, as apparently the bot didn't do this yetSean Dague2008-10-161-527/+527
|
* * refactor: Move error logging from GetUserDetails up to callers, since ↵Justin Clarke Casey2008-10-151-3/+3
| | | | there are some circumstances in which not finding a user is not an error
* * Adding CrytoGridAssetClient support - allows encrypting assets that are ↵Adam Frisby2008-10-141-0/+527
| | | | stored on a potentially hostile grid. This is not DRM, not should be relied on until after it's been security audited. I'll write a blog post on this explaining how/why/when you should use this, and what it does.
* * Apply http://opensimulator.org/mantis/view.php?id=2294Justin Clarke Casey2008-09-291-0/+15
| | | | | | | | * This is an initial basic experimental code for inventory import and export from the region server * Probably not yet ready for general use * Thanks Kayne!
* * Patch from JHurlimanTeravus Ovares2008-09-261-1/+1
| | | | | | | | | * Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
* * minor: Remove some of the redundant asset id storage for nowJustin Clarke Casey2008-09-211-11/+12
|
* * Start recording asset request times after a cache miss. This is very ↵Justin Clarke Casey2008-09-211-3/+17
| | | | | | | | primtive at the moment - only the last time is kept for some classes of request * This can be seen as "Latest asset request time after cache miss" in show stats on the region console
* * Eliminate the need to copy asset request lists in the asset cache when an ↵Justin Clarke Casey2008-09-211-82/+22
| | | | | | | | asset is received or missing * Also eliminates a race condition
* * minor: tidy up of AssetCache, remove currently pointless storing of thread ↵Justin Clarke Casey2008-09-211-12/+9
| | | | reference
* * Only allow logins on standalone when the sim has completed it's initial ↵Justin Clarke Casey2008-09-191-7/+15
| | | | | | | | | startup (script startup doesn't count here) * There was a small window where region logins were allowed before modules were loaded - avatars logins that hit this window could have caused bad things to happen. * A similar change will follow for grid mode sometime soon