aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications (follow)
Commit message (Collapse)AuthorAgeFilesLines
* From: Dr Scofield <hud@zurich.ibm.com>Justin Clarke Casey2008-04-252-13/+64
| | | | | | | | | | | | | the patch below adds support for start_location = uri:region&x&y&z to OpenSim which allows us to provide -url secondlife:///region/X/Y/Z to the SecondLife client during start up --- which will take you directly to region "region" at position X, Y, Z. also, i did increase the default Z value from 70 to 128 as we otherwise have the problem that on some regions we'd end up inside a mountain instead of on top of it.
* * Implement full grid mode Trash emptyJustin Clarke Casey2008-04-231-2/+36
| | | | | | | | | * Now, emptying the trash should remove folders and the items they contain as well as items which were not in a subfolder. * This will only work once both the region and grid servers have reached this revision. * You may also need to clear your cache before this will work * Refactoring to follow.
* * Implement proper emptying of trashcan on standaloneJustin Clarke Casey2008-04-232-0/+20
| | | | | | | * On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items * An implementation for grid mode will follow.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-218-29/+36
| | | | (this took a while to run).
* * Implements 'Set Home to Here' Teravus Ovares2008-04-172-3/+13
| | | | | | | * Implements 'Teleport Home' * User Server has to be updated for it to save your home in grid mode * home position accuracy is in int because the grid comms ExpectUser method tries to convert to Uint and crashes if it gets a float. Added a convert to decimal in ExpectUser but to avoid a breaking change with old revisions, kept the save value in int for now. Eventually it needs to be a float, but lets release another incremental version before doing that.
* moved the Thread.Sleep(500), to the correct side of the ↵MW2008-04-161-1/+1
| | | | ar.AsyncWaitHandle.WaitOne(timeOut*1000, false); call.
* added a thread.Sleep(500) to OGS1GridServices.CheckRegion() , to try to help ↵MW2008-04-161-0/+1
| | | | avoid a potential race condition. As IAsyncResult.AsyncWaitHandle.WaitOne before a AsyncCallback is called. So in this case, its a race to see who sets or reads the bool m_bAvailable first.
* * Fix a bug in the friends module that causes a friend not to appear online ↵Teravus Ovares2008-04-131-0/+1
| | | | | | | | when they were. * A few things for testing. * This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself. It will not cause any errors, if either one are not updated.
* * Reduce publicly exposed fields on InventoryCollection, which was causing ↵Justin Clarke Casey2008-04-111-2/+8
| | | | | | | | | duplicate sets of inventory data to be sent over the grid * Won't actually fix anything, since we were handling the problem anyway * Also add more doc, fix up debugging messages, etc
* * Minor refactoring in OGS1InventoryServiceJustin Clarke Casey2008-04-111-27/+20
|
* * Eliminate a class of errors where an inventory request could be made ↵Justin Clarke Casey2008-04-112-3/+11
| | | | | | | | | before the region had completely received the inventory for the user. * A much larger race condition where the inventory request could be made before the region gets any data at all will also be fixed in the near future. * This change also fixes a regression from two patches ago where items stopped appearing in standalone inventory
* * Minor inventory code cleanup following on from last patchJustin Clarke Casey2008-04-112-9/+0
|
* * Change inventory async response deliver to deliver all items and folders ↵Justin Clarke Casey2008-04-112-44/+41
| | | | | | | | at once, rather than each individual * This is required in order to work towards eliminating some inventory race conditions and to better deal with situations where a grid inventory server is slow or not responding.
* * With Grid Comms up in the air.. I decided have the friends module update ↵Teravus Ovares2008-04-101-1/+1
| | | | | | | | you when your friends come online if they're at least a child agent on the sim. offline status works the same also. So does Instant Message. * This is until Grid Comms matures a bit more on this. * This should also work in Standalone as it uses the IUserData interface.
* * Minor: get CreateNewUserInventory() to return true on successJustin Clarke Casey2008-04-101-1/+2
|
* renaming of attributes in UserAgentData for readabilitySean Dague2008-04-101-4/+4
|
* changing UserAgentData to use properties. This caused moreSean Dague2008-04-101-4/+4
| | | | | | | grief than expected, as monodevelop doesn't like to refactor properties of properties.
* further renaming of properties for claritySean Dague2008-04-103-15/+15
|
* moved fields to properties for UserDataProfile, which wasSean Dague2008-04-103-36/+36
| | | | | | | actually a little more work than I expected given the copious use of out params.
* more refactoring, this time on InventoryFolderBaseSean Dague2008-04-073-12/+12
| | | | | | | | * wrap attributes in properties * clean up names a little bit * clean up name styles
* * Set Svn Properties eol-style: |337Teravus Ovares2008-03-311-1/+1
|
* * Minor: If a user exists but has no inventory in standalone, automatically ↵Justin Clarke Casey2008-03-311-35/+20
| | | | | | | | create new inventory folders * This mirrors the grid behaviour
* This update has good news and bad news, first the bad.Teravus Ovares2008-03-303-24/+38
| | | | | | | | | | * This update breaks inter-region communications, sorry. * You will need to run prebuild. Next, the good; * This update solves the unexpected binary element when Linux simulators inform windows simulators and vice versa. So Linux Simulators and Windows simulators are 100% compatible again. * This update introduces an Integer in the prim crossing method to tell the receiving simulator which XML method to use to load the prim that crossed the border. If the receiving prim doesn't support the method, the prim crossing fails and no prims are lost. That being said, it's best to update all your simulators to this revision at once.
* * Refactor: Remove unused inventory methods, some of which weren't properly ↵Justin Clarke Casey2008-03-293-30/+1
| | | | implemented anyway.
* * Send full inventory folder skeleton to standalone client logins rather ↵Justin Clarke Casey2008-03-283-2/+13
| | | | | | | | | 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.
* * Refactor: Eliminate RequestUsersRoot() redundant methodJustin Clarke Casey2008-03-281-1/+1
|
* * Refactor: Rename CreateInventoryData() to GetInventorySkeleton()Justin Clarke Casey2008-03-281-1/+2
| | | | | | | * Replace the unused default GetInventorySkeleton() impleemntation with an abstract declaration - less confusing this way imho * Add some comments
* * Remove pointless boolean on AgentInventory.CreateRootFolder()Justin Clarke Casey2008-03-281-1/+1
|
* * Tweaking master uuid exception to make it clearer what just went wrong ↵Justin Clarke Casey2008-03-261-10/+40
| | | | | | | | | | | (user server timeout) * Increasing GetUserProfile requests only to 6 seconds from 3 * Not completely sure what effect this will have, though probably not much * At some point one will have to accept that if the grid servers are taking many many seconds to respond, running using that grid will not be viable. * Perhaps there should be a big warning up front if grid request times are slower than n seconds.
* * Increase timeout for initial simulator login from 16 to 30 secondsJustin Clarke Casey2008-03-261-1/+1
| | | | | | * Comments, capitalization
* * More log messages in the region registration process for debug purposes. ↵Justin Clarke Casey2008-03-261-2/+13
| | | | Some of these may be temporary
* * Increase information in simulator_login log messagesJustin Clarke Casey2008-03-261-4/+6
|
* * Start printing the region simulator_login exception to the logJustin Clarke Casey2008-03-261-1/+1
|
* * Massaging CAPS setup/teardown log messagesJustin Clarke Casey2008-03-251-1/+5
| | | | | | * Leaving quite a few debug messages in for now to help deal with bugs arising
* * Print out the exception stacks of resolution failures, temporarilyJustin Clarke Casey2008-03-251-1/+1
|
* * Temporary hack to swallow neighbour contact problems on startup (in ↵Justin Clarke Casey2008-03-251-1/+11
| | | | | | | | response to osgrid issues) * Not sure what the effect will be, but can't be any worse than the current constant sim crashes.
* * Start passing around a region server's http port in RegionInfo.Justin Clarke Casey2008-03-232-2/+30
| | | | | | | | | | | * 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
* * Make master UUID exception a bit more useful by telling us which uuid it ↵Justin Clarke Casey2008-03-221-1/+3
| | | | was trying to look up
* * Catch the occasional resolution exception that comes out of ↵Justin Clarke Casey2008-03-221-5/+1
| | | | SceneCommunicationService.EnableChildAgents so we can see what hostname is failing
* * If a client session requests the same texture more than n times (currently ↵Justin Clarke Casey2008-03-211-5/+1
| | | | | | | | | | | | 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
* Another poxy patch which consists mainly of logging changes (some already ↵Justin Clarke Casey2008-03-201-1/+2
| | | | commented out) to find out what CAPS is doing
* * Stop grid inventory network failures crashing the client sessionJustin Clarke Casey2008-03-181-13/+46
| | | | | | * Now the operation will just fail and post a message to the log instead, which may be mysterious to the client but isn't so brutal
* Formatting cleanup.Jeff Ames2008-03-181-21/+21
|
* Formatting cleanup. Minor refactoring.Jeff Ames2008-03-183-111/+95
|
* * Added the ability to type the partial name of a region in the start ↵Teravus Ovares2008-03-183-0/+61
| | | | | | | 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-1812-321/+311
|
* Formatting cleanup.Jeff Ames2008-03-181-1/+0
|
* Building on Joha's update...Teravus Ovares2008-03-181-2/+16
| | | | | * 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.
* * More almost completely unproductive log message fiddlingJustin Clarke Casey2008-03-171-2/+2
|
* * Make it more obvious if local user services are being usedJustin Clarke Casey2008-03-171-3/+2
| | | | | | * Tell the log whether the sim is started in standalone or grid mode