aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Since we don't yet have a reliable way to release the lock that prevents a ↵Teravus Ovares2008-03-182-2/+2
| | | | | | | user from logging in a second time if they're already registered as logged in; * If a user logs in and they are noted as agentOnline. Set agentOnline = false and send a 'you're already logged in' message to the user asking them to wait 5 minutes. These 5 minutes are not enforced (because there's no foolproof interlock release yet without the grid operator getting a support call for every little sim crash). When the user gets the message, they can log-in immediately after it, but the user can expect weird results if they don't wait 5 minutes and log-in to the region they were in previously.
* * Added the ability to type the partial name of a region in the start ↵Teravus Ovares2008-03-181-0/+1
| | | | | | | location box and go to that region if it's there. If no close match was found, it sends you home. This is tested on mySQL. There's untested code on grids that are based on sqlite and MSSQL. The SQL statements *should* be right, but your results may very. * Ex, if you want to go to Wright Plaza, you simply need to type Wright Plaza in the start location in the client when you log-in.
* Formatting cleanup.Jeff Ames2008-03-1843-1361/+1331
|
* Added copyright messages. Set svn:eol-style. Minor cleanup.Jeff Ames2008-03-181-1/+28
|
* Formatting cleanup.Jeff Ames2008-03-182-94/+81
|
* Building on Joha's update...Teravus Ovares2008-03-181-3/+19
| | | | | * Server now listens to the client's start location request for 'home' or 'last' and sends the user to the home location or the last location.
* Last position will be stored in the DB on logout, and the avatar can ↵Johan Berntsson2008-03-182-8/+53
| | | | continue from the same position in the next login (only with MySQL at the moment)
* Replaced some Console.WriteLine calls with writes to log.Jeff Ames2008-03-171-1/+4
|
* Part 2 of fixing inventory for client 1.19.1 (RC), inventory items should ↵MW2008-03-153-17/+125
| | | | | | | now show up. Most likely still some problems and most like needs some more work (and still a couple of things to finish off).
* Part 1 of making inventory work again in the 1.19.1 (RC) client. Implemented ↵MW2008-03-154-3/+129
| | | | | | | | | the FetchInventoryDescendents CAPS handler. But currently returning empty folder details. So this commit doesn't actually fix inventory in that client, it just stops the "loading" message being displayed forever next to a folder, and instead shows empty folders. Next part will be to fill in the details of the items in the folders.
* Fix Mantis 636Sean Dague2008-03-141-1/+1
|
* Just a few commentsJustin Clarke Casey2008-03-131-4/+2
|
* * Add comments and slight corrections to ClientView.AgentTextureCachedJustin Clarke Casey2008-03-122-4/+4
| | | | | | * Reduce 'asset not found' console debug spam
* Applied patch from mantis #610, fixed invalid filenames with ↵MW2008-03-121-1/+1
| | | | dump_assets_to_file set to true. thanks tyre.
* * Very minor error message change in GridAssetClientJustin Clarke Casey2008-03-111-3/+1
|
* * Applying Ahzz's profile patch. Thanks Ahzz! Teravus Ovares2008-03-032-5/+32
| | | | | | * Fixed a few bugs in the patch that are sim crashers. * There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
* Change handler001 through handler009 to moreCharles Krinke2008-03-021-12/+12
| | | | | | | | appropriate names consisten with their use. All done with all 94 handlers from handler001 through handler094. Hopefully we can move forward without numbered handlers.
* disabled AssetDownloadModule and re-enabled the asset download code in the ↵MW2008-02-271-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.
* small fix in the showstate data in AssetCache to reflect that now some ↵MW2008-02-271-1/+1
| | | | functions are no longer in AssetCache
* After seeing sdague do his happy dance over trunk working "the best he has ↵MW2008-02-271-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.
* another attempt at fixing asset lockupsMW2008-02-271-224/+247
|
* Hopefully fixed the bug that was causing a lot of the freezing. Which was ↵MW2008-02-271-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.
* * Start sending "ImageNotFound" packet back to the client if we can't find ↵Justin Clarke Casey2008-02-251-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
* * Improve alignment of packet queue stats headignsJustin Clarke Casey2008-02-221-1/+1
| | | | | | | * Correct asset cache stats table heading * Correct spelling mistake in AssetCache (thanks ChrisD!)
* * Winnow the debug and info messages associated with stat fetchingJustin Clarke Casey2008-02-223-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'
* * Moved all events except gridcomms and regioncomms over to Event Delegate ↵Teravus Ovares2008-02-221-8/+14
| | | | instances to prevent event race conditions
* "threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen2008-02-212-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.
* * Eliminate AssetCache.CopyAsset()Justin Clarke Casey2008-02-201-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).
* * Only count download requests for assets which are not already waiting for ↵Justin Clarke Casey2008-02-201-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
* * Properly guard removal of asset request lists on AssetCache.AssetNotFound ↵Justin Clarke Casey2008-02-202-14/+16
| | | | (my own bug)
* * Remove unused texture dictionaries from AssetCacheJustin Clarke Casey2008-02-202-48/+73
| | | | | | * Add documentation to AssetCache
* Minor cleanup.Jeff Ames2008-02-2014-46/+46
|
* Report command string on ConsoleBase.RunCommand exceptionJustin Clarke Casey2008-02-201-2/+2
|
* * Report 'asset not found' situations back to UserTextureDownloadServiceJustin Clarke Casey2008-02-202-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
* * re-enabled AssetNotFound codelbsa712008-02-201-15/+16
| | | | | | * turned script asset fetching asynchronous
* * Fixed xml loading bug (the xml was scheduled for update before added to a ↵lbsa712008-02-201-70/+101
| | | | | | | | scene) * Fixed ClickAction situation on the same note (properties shouldn't cause big changes) * Added some more debug output to AssetCache
* Playing "Name that thread". Adding names and isbackground=true to all ↵Tedd Hansen2008-02-192-0/+2
| | | | threads so it will be easier to debug.
* * Do not allow a user to be created if one with the same name already existsJustin Clarke Casey2008-02-182-29/+36
|
* Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of ↵MW2008-02-163-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!
* Fix a casting subtlety in moving to constants. Logins should workSean Dague2008-02-141-2/+2
| | | | | | again.
* * Made new Framework.Constants class, added RegionSize member.Adam Frisby2008-02-141-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.
* Added a method to access a named folder in a users inventory, to the ↵MW2008-02-132-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]
* Clean up more unnecessary String.Format callsJeff Ames2008-02-138-50/+31
|
* * 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-123-17/+35
| | | | | | | | | align classes with file names * Small amount of ndoc * This will probably require a prebuild and nant clean