aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-29* Various 1.19.0.5 grid inventory request fixes. These will only take ↵Justin Clarke Casey4-27/+159
affect once the region and the grid servers have upgraded to this revision * You may also need to clear your cache before seeing any effect. * These fixes may or may not affect inventory on the RC client. * These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly * Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal with situations where we receive child folders from the inventory service before their parent is received.
2008-03-29Re-enabled terrain texture generation for the world map. Adam can clean up/ ↵MW1-1/+1
sort it out when he gets time. Most likely doesn't really work in grid mode as the generated textures are marked as temporary and I don't think they are updated to the asset server. We have to either live with these textures being sent to the asset server, and manually clean them out from time to time or wait until there is some asset management system in place. Also currently the texture is only generated at region startup, it is not updated after terraforming.
2008-03-28* Send full inventory folder skeleton to standalone client logins rather ↵Justin Clarke Casey5-10/+46
than just the root child folders * This may resolve some current problems with non root child folders on standalone installations. * A fix for the same problem in grid mode will come soon.
2008-03-28* Refactor: Eliminate RequestUsersRoot() redundant methodJustin Clarke Casey1-12/+8
2008-03-28* Refactor: Rename CreateInventoryData() to GetInventorySkeleton()Justin Clarke Casey1-33/+17
* Replace the unused default GetInventorySkeleton() impleemntation with an abstract declaration - less confusing this way imho * Add some comments
2008-03-28* Remove pointless boolean on AgentInventory.CreateRootFolder()Justin Clarke Casey2-2/+2
2008-03-28Applied patch from mantis# 825, thanks A_BiondiMW1-13/+26
2008-03-27* Correct asset type of Lost and Found folder - this might stop it appearing ↵Justin Clarke Casey1-20/+20
twice * Other minor corrections to initial inventory contents * These will only take affect for new users
2008-03-25* Remove old CAPS http listeners when a client logs out from a sceneJustin Clarke Casey1-21/+39
* Not yet removing listeners when a client leaves a region without logging out
2008-03-25* On Ray casting. Now returning the face normal of the collision face.Teravus Ovares1-2/+2
2008-03-25* Committing some voice related caps with hard coded responses so more ↵Teravus Ovares2-1/+102
debugging can occur.
2008-03-25Comment out unused private methods.Jeff Ames1-49/+52
2008-03-25Fix a couple more warnings.Jeff Ames1-3/+0
2008-03-24* Fix build break in last revision. Thanks to paulieFemto for pointing it out.Justin Clarke Casey1-4/+4
2008-03-24* Picky comment changeJustin Clarke Casey1-1/+1
2008-03-24* Create null limit strategyJustin Clarke Casey1-0/+42
2008-03-24* Refactor: Genericise request limit strategies and move to ↵Justin Clarke Casey2-0/+181
OpenSim.Framework.Communications.Limit
2008-03-23* minor: check in the rest of a comment I forgot to finish off in the last ↵Justin Clarke Casey1-1/+1
revision
2008-03-23* Start passing around a region server's http port in RegionInfo.Justin Clarke Casey1-18/+39
* This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default (9000) port. * If you are running a region server, this may only work properly once your grid server upgrades to this revision * PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision. However if it does, the instability will persist until the grid and region (and possibly all the region's neighbours) have upgraded to this revision. * This revision also adds extra login related messages, both for success and failure conditions
2008-03-22* Catch the occasional resolution exception that comes out of ↵Justin Clarke Casey1-0/+8
SceneCommunicationService.EnableChildAgents so we can see what hostname is failing
2008-03-21* If a client session requests the same texture more than n times (currently ↵Justin Clarke Casey1-0/+7
n=5), we now drop the subsequent requests * This may improve region memory usage * This is a short-term response to a problem whereby some clients keep requesting the same texture even after we've sent it * This treats the symptom rather than the cause. * n can be adjusted by changing the constant at the top of UserTextureDownloadService if necessary
2008-03-21* Converted a large number of ASCII encodings to UTF8.Adam Frisby1-1/+1
* We should not be using ASCII anywhere except for legacy compatibility reasons. * A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT * This should fix Mantis#799 - Japanese Profile Text does not work.
2008-03-20* First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey1-1/+10
non-home regions * Should work in multi-region standalone and grid modes * This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc) * We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master * Current limitation is that this will only work if your http_listener_port is 9000 * This is a very early code cut (lots of bad practice, hard coding and inefficiency). However, I wanted to get this out there for feedback and my own sanity. Next few patches will clean up the mess.
2008-03-20Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the ↵MW1-1/+0
packetpool, which somewhere through time got lost/reverted
2008-03-20Another poxy patch which consists mainly of logging changes (some already ↵Justin Clarke Casey2-1/+7
commented out) to find out what CAPS is doing
2008-03-19Fixed some comparisons of LLUUIDs to null.Jeff Ames1-4/+2
Thanks to DrSchofld for pointing this out.
2008-03-18* Just inserting some exploratory comments into inventory codeJustin Clarke Casey2-0/+16
2008-03-18Formatting cleanup. Minor refactoring.Jeff Ames2-5/+12
2008-03-18Since we don't yet have a reliable way to release the lock that prevents a ↵Teravus Ovares2-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.
2008-03-18* Added the ability to type the partial name of a region in the start ↵Teravus Ovares1-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.
2008-03-18Formatting cleanup.Jeff Ames43-1361/+1331
2008-03-18Added copyright messages. Set svn:eol-style. Minor cleanup.Jeff Ames1-1/+28
2008-03-18Formatting cleanup.Jeff Ames2-94/+81
2008-03-18Building on Joha's update...Teravus Ovares1-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.
2008-03-18Last position will be stored in the DB on logout, and the avatar can ↵Johan Berntsson2-8/+53
continue from the same position in the next login (only with MySQL at the moment)
2008-03-17Replaced some Console.WriteLine calls with writes to log.Jeff Ames1-1/+4
2008-03-15Part 2 of fixing inventory for client 1.19.1 (RC), inventory items should ↵MW3-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).
2008-03-15Part 1 of making inventory work again in the 1.19.1 (RC) client. Implemented ↵MW4-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.
2008-03-14Fix Mantis 636Sean Dague1-1/+1
2008-03-13Just a few commentsJustin Clarke Casey1-4/+2
2008-03-12* Add comments and slight corrections to ClientView.AgentTextureCachedJustin Clarke Casey2-4/+4
* Reduce 'asset not found' console debug spam
2008-03-12Applied patch from mantis #610, fixed invalid filenames with ↵MW1-1/+1
dump_assets_to_file set to true. thanks tyre.
2008-03-11* Very minor error message change in GridAssetClientJustin Clarke Casey1-3/+1
2008-03-03* Applying Ahzz's profile patch. Thanks Ahzz! Teravus Ovares2-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.
2008-03-02Change handler001 through handler009 to moreCharles Krinke1-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.
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.