aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up more unnecessary String.Format callsJeff Ames2008-02-135-31/+18
|
* * Clean up LIBRARY INVENTORY messagesJustin Clarke Casey2008-02-131-13/+12
|
* Commenting and a spelling correctionJustin Clarke Casey2008-02-132-5/+15
|
* * Clean up the agent's asset transactions when it is removed from the sceneJustin Clarke Casey2008-02-131-2/+17
| | | | | | * This may or may not help with the memory leak, need to assess
* * Refactor: Move last commit's refactor back to AgentAssetTransactionsManagerJustin Clarke Casey2008-02-132-35/+128
| | | | | | | | * Push asset update (invoked when clothing is altered) down into AgentAssetTransactions from Scene.Inventory.cs to join others * I've tested that clothing creation and update still works, but please let me know if it suddently breaks for you. * Add/correct comments
* Refactor: factor a method out of AgentAssetTransactionsManagerJustin Clarke Casey2008-02-121-13/+2
|
* * Add missing locking to mysql inventory pluginJustin Clarke Casey2008-02-121-0/+3
| | | | | | * Should resolve mantis 542
* * Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and ↵Justin Clarke Casey2008-02-122-13/+31
| | | | | | | | | align classes with file names * Small amount of ndoc * This will probably require a prebuild and nant clean
* Re-enabled Inventory creation of body partsMW2008-02-112-4/+9
|
* Clean up logging calls using String.Format explicitlyJeff Ames2008-02-106-10/+10
|
* * fixed typo. thanks, nebadon!lbsa712008-02-091-1/+1
|
* * Refactored some asset code and in the process uncovered a bug; now, I ↵lbsa712008-02-091-10/+14
| | | | think first transfer of asset should start faster.
* * added count of texture data bytes and asset byteslbsa712008-02-091-6/+18
|
* * Added count of temporary assetslbsa712008-02-091-0/+23
|
* * added two new commands (for debug/disaster recovery)lbsa712008-02-091-25/+55
| | | | | | | | 'show assets' shows the current state of the asset cache (number of cached assets, requests, et c) 'clear-assets' forcibly re-initializes the asset cache thereby freeing all cached items. 'clear-assets' is not to be used lightly, as it probably introduces mem inconsistencies and doubling up of textures.
* * Change logger to handle [<entry>] where <entry> contains non alphabetic ↵Justin Clarke Casey2008-02-092-6/+6
| | | | | | | | | characters * Change logger to not print extra line if [<entry>] <text> like string is not logged * Remove more of my previous chatty debugging statements
* * Stop asset transactions hanging around after they've completedJustin Clarke Casey2008-02-082-11/+79
| | | | | | | * Still not enough to solve the memory leak, though hopefully this is another step on the path * All these changes are pretty temporary - this will be addressed with a more fundamental refactor in the future
* Still chasing logout memory leak. Putting in small changes and temporary ↵Justin Clarke Casey2008-02-081-5/+12
| | | | light verbosity to this end
* fix the issue found on IRC this morning. The logging call was mistructuredSean Dague2008-02-081-1/+2
| | | | | | | so threw and exception when attempting to log that we missed an asset and were waiting for it.
* Converted logging to use log4net.Jeff Ames2008-02-057-65/+77
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* First part of avatar persistence, currently only really works in standalone ↵MW2008-02-041-0/+2
| | | | | | | | | mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed. To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure). This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. But the work to move the code to one of the grid servers shouldn't be too much.
* * Lowered maxchunk from 1500 bytes to 1250 bytes to make sure packets fit ↵Adam Frisby2008-02-041-1/+1
| | | | below the average maximum MTU of 1500 bytes inc. header. Thanks Alex for reporting this.
* * Default inventory permissions patch (#444), courtesy of alex_carnell -- ↵Adam Frisby2008-02-041-0/+1
| | | | thanks!
* * Add asset/texture cache statistics to region server consoleJustin Clarke Casey2008-01-311-3/+21
| | | | | | | | | | | | | | | * You can type 'stats' at the REGION# prompt to get this information in grid or standalone mode * Don't take these numbers as gospel yet, since for some reason textures displayed from inventory which require downloading from the server are being recorded as assets rather than textures * But I don't have any reason to believe they aren't broadly accurate. * I've put these in so I can tell whether the high memory usage on regions is down to the asset/texture cache * This will require a prebuild * DEV: Only adds needed to be implemented since, as far as I can tell, assets cached are currently never released. For my part, seeing large cache memory numbers will provoke me to think about doing something about this. * DEV: Now switched to using a singleton to get the stats reporters rather than threading the object through various layers * DEV: Will refactor the other server stats reporters to do this in one of the next commits
* * Mother of all commits:Adam Frisby2008-01-153-16/+16
| | | | | | | * Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
* Whitespace cleanup.Jeff Ames2008-01-101-1/+1
|
* * removed another superfluous debug messagelbsa712008-01-091-2/+2
|
* dump_assets_to_file=true will now cause the asset to go into a UserAssets ↵Brian McBee2008-01-091-3/+16
| | | | subdirectory of bin instead of cluttering up your bin directory (Thanks CharlieO!)
* Third part of CharlieO's library rework. We now have library organization! ↵Brian McBee2008-01-091-32/+35
| | | | Thanks CharlieO!
* * Trying to address TextureSender issueslbsa712008-01-023-32/+32
| | | | | | * 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)'
* Make it possible for new inventory 'libraries' to be added without changing ↵Justin Clarke Casey2007-12-311-85/+115
| | | | | | | | | the default OpenSimLibrary files. Additional library folders and items can be added in a separate directory and linked in by an entry to inventory/Libraries.xml
* Standard library folders can now be configued in the xml in ↵Justin Clarke Casey2007-12-311-25/+100
| | | | | | | | inventory/OpenSimLibrary - no hardcoded changes are required. For some reason, all the folders are currently showing up as texture folders, even though they are configured with the same types as the agent inventory folders. This should be resolved soon.
* Shift default OpenSim library into its own directoryJustin Clarke Casey2007-12-301-1/+1
|
* Make inventory items nominate explicit inventory folders rather than hardcodingJustin Clarke Casey2007-12-291-7/+12
|
* Factor out common asset loading from AssetServerBase and Grid/AssetServer/MainJustin Clarke Casey2007-12-282-99/+6
|
* Move inventory contents configuration files to bin/inventory folderJustin Clarke Casey2007-12-281-3/+3
|
* * Optimized usingslbsa712007-12-2711-83/+93
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* Move hardcoded texture library inventory items out into OpenSimLibrary/xml. ↵Justin Clarke Casey2007-12-271-16/+1
| | | | | | | | | | However, even before these change the five textures moved are not displaying (which is why default cubes are coming up as grey plywood unless you happen to have that texture cached). These were working before so they must have broken in the last month. Might be something to do with the fact that these identify (using file under linux) as jpeg2000 files, while all the other working textures identify simply as data.
* * AssetServerBase: _ProcessRequest is now called GetAssetlbsa712007-12-274-7/+7
| | | | | | | * 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.
* Yet more inventory debugging messagesJustin Clarke Casey2007-12-231-9/+30
|
* Miscellaneous small tweaks and more logging messages to move towards ↵Justin Clarke Casey2007-12-231-2/+5
| | | | resolving inventory problems
* Make copying of scripts into prim inventories more reliable on the first ↵Justin Clarke Casey2007-12-221-3/+45
| | | | | | | | | | attempt when the asset server is lagging by formalising the de facto polling. This may not be the best solution in the long run, but should improve things for now. This may also improve reliability when updating inventory item metadata (e.g. renaming an item) and in retrieving textures for the main map view.
* minor refactorJustin Clarke Casey2007-12-221-3/+8
|
* Refix bug where inventory textures don't appear in prim edit texture ↵Justin Clarke Casey2007-12-211-6/+15
| | | | | | | | selection box unless previously expanded in inventory.
* Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames2007-12-203-6/+6
| | | | Works with LibSL rev>1532
* Refactor asset request processing for consistent status information on ↵Justin Clarke Casey2007-12-194-25/+46
| | | | whether an asset was actually found or not
* Misc. cleanup:Jeff Ames2007-12-191-46/+14
| | | | | | | * added Util.Clip(value, min, max) * modified asset cache's numPackets calculation to use max packet size (600) instead of 1000 * removed a few magic numbers
* Grid Inventory feature upgrade: renaming folders should now be correct, ↵Brian McBee2007-12-152-7/+35
| | | | | | | | subfolders work, moving folders works. Tested only in MYSQL, but may work in MSSQL and sqlite. Probably not working in standalone mode.
* Thank you Justin for:Charles Krinke2007-12-141-52/+27
| | | | | 0000188: Clean up of some AssetCache.ProcessAssetQueue() code