aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-27disabled AssetDownloadModule and re-enabled the asset download code in the ↵MW1-17/+18
asset cache, until it can be seen if the module was the cause of some new problems that seem like they might be related to assets. I'll look into this more tomorrow.
2008-02-27small fix in the showstate data in AssetCache to reflect that now some ↵MW1-1/+1
functions are no longer in AssetCache
2008-02-27After seeing sdague do his happy dance over trunk working "the best he has ↵MW1-17/+18
ever seen". I'm not sure I should be doing this commit, but oh well. So anyway, it moves the Asset downloading (packet sending) to a module (AssetDownloadModule). So now at last, AssetCache should be just dealing with fetching assets from the asset server and caching them.
2008-02-27another attempt at fixing asset lockupsMW1-224/+247
2008-02-27Hopefully fixed the bug that was causing a lot of the freezing. Which was ↵MW1-33/+51
happening due to locks in the AssetCache and Texturedownload module. Where the thread from the Asset thread would be take a lock on a list in the asset cache and then try to call the Callback into the texturedownload module and hit a lock in there which was held by a ClientView thread- which at the same time would be trying to request another texture from the cache and be hitting the lock in there held by the IClientAPI. The result each thread waiting for the other one to release a lock. And as one of those was the ClientView process packet thread. No more packets from that client could be processed. For now I've made a copy of the list in AssetCache so that it can release the lock. I'm doing more work on assets (moving the client asset downloading to a module ), so will hopefully change this into a better method once I've cleaned over things up a bit.
2008-02-25* Start sending "ImageNotFound" packet back to the client if we can't find ↵Justin Clarke Casey1-24/+8
an image * This might stop some client's constant requests for unfound textures, which is a candidate for the memory leak * If a texture is not found then the "Image not found" texture will now be displayed clientside * If it works, this should resolve mantis 676 * Non texture image requests do not receive this packet yet * This will require a prebuild
2008-02-22* Improve alignment of packet queue stats headignsJustin Clarke Casey1-1/+1
* Correct asset cache stats table heading * Correct spelling mistake in AssetCache (thanks ChrisD!)
2008-02-22* Winnow the debug and info messages associated with stat fetchingJustin Clarke Casey3-14/+29
* 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-22* Moved all events except gridcomms and regioncomms over to Event Delegate ↵Teravus Ovares1-8/+14
instances to prevent event race conditions
2008-02-21"threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen2-0/+2
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* Eliminate AssetCache.CopyAsset()Justin Clarke Casey1-26/+4
* Resolve a bad logic bug in AssetCache.GetAsset() * This may make some asset related things work better (possibly getting main map images will now be improved).
2008-02-20* Only count download requests for assets which are not already waiting for ↵Justin Clarke Casey1-5/+6
data from the asset server * This should stop the constant increase in the download requests statistics * If you see stat numbers for download requests which are far from what you'd expect, please report
2008-02-20* Properly guard removal of asset request lists on AssetCache.AssetNotFound ↵Justin Clarke Casey2-14/+16
(my own bug)
2008-02-20* Remove unused texture dictionaries from AssetCacheJustin Clarke Casey2-48/+73
* Add documentation to AssetCache
2008-02-20Minor cleanup.Jeff Ames14-46/+46
2008-02-20Report command string on ConsoleBase.RunCommand exceptionJustin Clarke Casey1-2/+2
2008-02-20* Report 'asset not found' situations back to UserTextureDownloadServiceJustin Clarke Casey2-25/+54
* 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-20* re-enabled AssetNotFound codelbsa711-15/+16
* turned script asset fetching asynchronous
2008-02-20* Fixed xml loading bug (the xml was scheduled for update before added to a ↵lbsa711-70/+101
scene) * Fixed ClickAction situation on the same note (properties shouldn't cause big changes) * Added some more debug output to AssetCache
2008-02-19Playing "Name that thread". Adding names and isbackground=true to all ↵Tedd Hansen2-0/+2
threads so it will be easier to debug.
2008-02-18* Do not allow a user to be created if one with the same name already existsJustin Clarke Casey2-29/+36
2008-02-16Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of ↵MW3-7/+13
CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though. But its one more thing out of the CommsManager. One day we will kill the CommsManager!
2008-02-14Fix a casting subtlety in moving to constants. Logins should workSean Dague1-2/+2
again.
2008-02-14* Made new Framework.Constants class, added RegionSize member.Adam Frisby1-5/+5
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize. * Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-13Added a method to access a named folder in a users inventory, to the ↵MW2-0/+14
inventory Database interfaces. This could be useful for adding a item to a users inventory from say a web front end application or some other third party application. [note the method is only currently implemented in the sqlite provider]
2008-02-13Clean up more unnecessary String.Format callsJeff Ames8-50/+31
2008-02-13* Clean up LIBRARY INVENTORY messagesJustin Clarke Casey1-13/+12
2008-02-13Commenting and a spelling correctionJustin Clarke Casey2-5/+15
2008-02-13* Clean up the agent's asset transactions when it is removed from the sceneJustin Clarke Casey1-2/+17
* This may or may not help with the memory leak, need to assess
2008-02-13* Refactor: Move last commit's refactor back to AgentAssetTransactionsManagerJustin Clarke Casey2-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
2008-02-12Refactor: factor a method out of AgentAssetTransactionsManagerJustin Clarke Casey1-13/+2
2008-02-12* Add missing locking to mysql inventory pluginJustin Clarke Casey1-0/+3
* Should resolve mantis 542
2008-02-12* Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and ↵Justin Clarke Casey3-17/+35
align classes with file names * Small amount of ndoc * This will probably require a prebuild and nant clean
2008-02-11Re-enabled Inventory creation of body partsMW2-4/+9
2008-02-11Documenting and minor tweaksJustin Clarke Casey2-82/+99
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames8-15/+15
2008-02-09* fixed typo. thanks, nebadon!lbsa711-1/+1
2008-02-09* Refactored some asset code and in the process uncovered a bug; now, I ↵lbsa711-10/+14
think first transfer of asset should start faster.
2008-02-09* added count of texture data bytes and asset byteslbsa711-6/+18
2008-02-09* Added count of temporary assetslbsa711-0/+23
2008-02-09* added two new commands (for debug/disaster recovery)lbsa711-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.
2008-02-09* Fixed nebadon's UserServer crash bug from yesterday.Teravus Ovares1-3/+9
* Made Estate tools work for estate managers without needing to request admin status First * Added code to make the Simulator version to be reported in the About box of the client
2008-02-09* Change logger to handle [<entry>] where <entry> contains non alphabetic ↵Justin Clarke Casey2-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
2008-02-08* Stop asset transactions hanging around after they've completedJustin Clarke Casey2-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
2008-02-08Still chasing logout memory leak. Putting in small changes and temporary ↵Justin Clarke Casey1-5/+12
light verbosity to this end
2008-02-08fix the issue found on IRC this morning. The logging call was mistructuredSean Dague1-1/+2
so threw and exception when attempting to log that we missed an asset and were waiting for it.
2008-02-07Additional debugging print on LOGOUT if/else in userServer.Charles Krinke1-2/+1
2008-02-05Converted logging to use log4net.Jeff Ames14-168/+169
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-02-05some small changes, like adding a couple of extra methods to ↵MW2-0/+12
IInventoryServices so that a check can be done to see if a inventory set exists for a certain user.
2008-02-04Refactor only: serve stats objects directly through StatsManager singletonJustin Clarke Casey2-25/+8