aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Add folders and items locking in external manipulations of ↵Justin Clarke Casey2008-04-221-20/+35
| | | | | | | | InventoryFolderImpl carried out by CachedUserInfo * These will do temporarily pending refactoring
* * Add DeleteAllContents() method to InventoryFolderImpl - not yet used but ↵Justin Clarke Casey2008-04-221-39/+109
| | | | | | | | will be soon * Add locking to InventoryFolderImpl class - need more though.
* * Extend functionality to better handle delayed inventory service transfers ↵Justin Clarke Casey2008-04-221-9/+30
| | | | | | | | to create folder, move folder and purge folder. * Old 1.18 get folder functionality requires a little more consideration
* * Replace previous specific inventory callback code with generic alternativeJustin Clarke Casey2008-04-222-30/+40
|
* * Allow folder renaming to complete after an agent inventory has been ↵Justin Clarke Casey2008-04-223-9/+91
| | | | | | | | | received by a region from the inventory service * This replaces the old behaviour of failing straight away, which could cause lost updates if the inventory service was slow in responding * This is the first baby step to making all inventory requests behave this way, to reduce inventory lossage
* From: Dr Scofield <hud@zurich.ibm.com>Sean Dague2008-04-212-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the attached patch set is centered around RemoteAdminPlugin and focuses mainly on making it more robust (i.e. more parameter checking and better error reporting) but also we've re-implemented the LoadTerrain stuff that got disabled during the terrain code reworking: * missing PostInitialize() calls on region modules that were loaded for regions created via RemoteAdmin's CreateRegion XmlRpc call * re-implements RemoteAdmin's LoadTerrain XmlRpc call (probably lost during the TerrainModule rework) * adds lots more parameter checking and error reporting to RemoteAdmin * adds a read-only property to RegionApplicationBase so that we can access the CommsManager * adds Exceptions to TerrainModule so that we get better error case feedback (and can report more meaningful errors in turn) * adds a CheckForTerrainUpdate() call to TerrainModule.LoadFromFile() to make terrain changes effective * adds TryGetCurrentScene(LLUUID) to SceneManager so that we can retrieve Scenes not only by name but also by LLUUID cheers, dr scofield
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-2175-208/+158
| | | | (this took a while to run).
* * Remove user profile from cache when they log out from a region.Justin Clarke Casey2008-04-202-2/+25
| | | | | | | * A much more significant fix is required to clean up the cache when a user moves out of a region, but really better handling of delayed inventory cache updates needs to be written first, and possibly better affinity to cut down agent inventory requests when the move is between two regions hosted on the same server.
* * Tweak inventory login failure message to point to the region owner as ↵Justin Clarke Casey2008-04-202-3/+3
| | | | first point of call rather than the grid owner
* * Change lazy user inventory creation on first login to synchronous rather ↵Justin Clarke Casey2008-04-201-1/+1
| | | | | | | | than async. * Add more error checking so that we don't proceed if there has been a problem with inventory retrieval
* * On grid mode, if the inventory service is responding but returning an ↵Justin Clarke Casey2008-04-201-2/+2
| | | | | | | | empty response to a whole agent inventory request, then post an inventory login failure message. IMO, this is better than allowing the agent to login with an apparantly blank inventory.
* * Start catching rogue SocketExceptions which occur (at least on mono) when ↵Justin Clarke Casey2008-04-191-0/+10
| | | | a response stream for a request which actually required no response, is closed
* Thank you kindly krtaylor for a patch to solve:Charles Krinke2008-04-191-0/+1
| | | | | | Linked objects won't scale together properly, only the root object scales. This happens with scaling both up and down or inputting numbers in the edit dialog.
* * Re-Fixed caps Teravus Ovares2008-04-174-16/+11
| | | | | * This fixes chi11ken's/OpenViewer's libsl cap issue.
* Update svn properties. Add copyright info to some source files.Jeff Ames2008-04-176-10/+162
|
* * Patch from ChrisDown to fix odd results when using landmarks. Thanks ↵Teravus Ovares2008-04-171-1/+1
| | | | | | | Chris! (Tweaked slightly so avatar don't end up underground). * Removed some testing notices I had in there that were obnoxious.
* * Implements 'Set Home to Here' Teravus Ovares2008-04-171-0/+3
| | | | | | | * 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.
* * Set default EstateSettings regionFlags to allow 'set home here', and ↵Teravus Ovares2008-04-161-1/+1
| | | | 'create landmark'. This won't apply retroactively, so you'll need to replace the region_flags value in your estate_settings.xml file to 336723974 and then in the estate tools dialog, re-set your desired simulator setup if you want people to be able to create landmarks without viewing admin options.
* * Applying melanie's Landmark patch. Thanks Melanie!Teravus Ovares2008-04-163-1/+8
| | | | | * To make a landmark, you currently have to enable admin options in the advanced menu first. We're working on this.. however use the admin options solution in the mean time.
* Thank you very much, Kmeisthax for:Charles Krinke2008-04-162-3/+16
| | | | | | | This patch makes the "Show in Search" checkbox on the viewer work. Additionally, I also discovered that show-in-search objects use the JointWheel flag, so this patch currently uses that flag. LibSL needs to add a flag to enum LLObject.ObjectFlags, "IncludeSearch = 32768" so we aren't using a legacy flag. Additionally this patch also contains a small fix to BaseHTTPServer that lets the response content-type to be something other than text/html. For some reason this didn't get submitted with the DataSnapshot merge.
* * A tweak of the caps system so that new caps have random paths instead of a ↵Teravus Ovares2008-04-152-1/+15
| | | | | | | | | | fixed path * This allows caps requests to be routed to regions where the agent is currently a root agent instead of the region that they logged into as it did previously. * This fixes a wide variety of bugs related to 'can't do X once i've crossed a border'. * The first seed cap request fails, the second one works. (this generates an error message on the console) * Experimental.
* * Make it easier to follow logins on the user server by changing and tidying ↵Justin Clarke Casey2008-04-151-18/+22
| | | | up log messages
* * Send a meaningful response to both the user server console and the client ↵Justin Clarke Casey2008-04-152-13/+41
| | | | if a login fails because the inventory service has failed.
* From: Dr Scofield <hud@zurich.ibm.com>Sean Dague2008-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | ansgar and i have been working on an asterisk voice module that will allow us to couple opensim with an asterisk VoIP gateway. the patch below consists of * AsteriskVoiceModule region module: alternative to the plain-vanilla VoiceModule, will make XmlRpc calls out to an asterisk-opensim frontend * asterisk-opensim.py frontend, living in share/python/asterisk, takes XmlRpc calls from the AsteriskVoiceModule * account_update: to update/create a new SIP account (on ProvisionVoiceAccountRequest) * region_update: to update/create a new "region" conference call (on ParcelVoiceInfo) * a asterisk-opensim test client, living in share/python/asterisk, to exercise astersik-opensim.py this still does not give us voice in OpenSim, but it's another step on this path...
* * Fixes an issue with the BaseHttpServer in LinuxTeravus Ovares2008-04-153-1/+27
| | | | | | | | * Fixes an estate naming issue * Fixes a land issue with the landobject not reporting the proper parcel prim. * A few other tweaks.
* * Working towards notifying the client if the inventory service has failed, ↵Justin Clarke Casey2008-04-142-6/+35
| | | | | | | | | rather than simply returning 0 items. * This is very early support which would only be triggered in a rather unlikely case (if the user server correctly received an inventory skeleton, but later on failed to return the whole inventory in a timely manner. Also, this only applies to the 1.19.1.4 client onwards * Code cleanup and support for other failure cases (failure of inventory caching on region crossing, failure to actually add a folder/item, etc, should follow.
* * Fixed a few warnings.Teravus Ovares2008-04-142-3/+7
| | | | | | | * Added license info to a few files it was missing from. * Fleshed out the landbuy interfaces * If you add '-helperuri http://127.0.0.1:9000/' to your list of parameters you tell the client to use when you start it up you can transfer ownership of parcels now in standalone. Structured gridmode requires a lot more work, see the documentation in the example money module. The example money module is not secure especially in standalone mode.
* * Get Util.GetHostFromDNS to tell us the dns address it was trying to ↵Justin Clarke Casey2008-04-141-1/+15
| | | | resolve if it fails.
* Possible fix for the 100% CPU issue. I've not fully Sean Dague2008-04-141-2/+8
| | | | | | | | confirmed that this fixes the issue, however functional correctness of BlockingQueue requires that these locks be put into place anyway.
* * Correct comment from previous patch - I'm not reversing mantis #912 at ↵Justin Clarke Casey2008-04-131-1/+1
| | | | all, which was in an entirely different location
* * Reverse mantis #912 since it was causing inventory to disappear from the ↵Justin Clarke Casey2008-04-131-1/+10
| | | | | | | | root folder on 1.19.1.4 non-cache clear relog. * The folder version numbers probably do need to be non-zero, but there is a further subtlety of the protocol to understand 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.
* * Put in crude poll waiting for 60 seconds for delayed user inventory ↵Justin Clarke Casey2008-04-131-2/+27
| | | | | | | | | delivery from the inventory service * This will reduce failures where the inventory server is simply slow * Still need to properly inform the user if the inventory service has failed altogether
* add some convenience properties to get floats out ofSean Dague2008-04-111-0/+13
| | | | | | vectors for UserAgentData
* * Reduce publicly exposed fields on InventoryCollection, which was causing ↵Justin Clarke Casey2008-04-112-43/+13
| | | | | | | | | 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
* * Remove the worst excesses of my inventory debugging codeJustin Clarke Casey2008-04-111-6/+6
|
* * Eliminate a class of errors where an inventory request could be made ↵Justin Clarke Casey2008-04-111-11/+20
| | | | | | | | | 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-5/+1
|
* * Change inventory async response deliver to deliver all items and folders ↵Justin Clarke Casey2008-04-115-43/+109
| | | | | | | | 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.
* * minor: replace test of CachedUserInfo.RootFolder != null with something ↵Justin Clarke Casey2008-04-112-14/+20
| | | | more readable, and make RootFolder get only
* * minor documenting, cleanup, renaming in user profile cache serviceJustin Clarke Casey2008-04-112-12/+29
|
* * documenting and minor refactoring in UserProfileCacheServiceJustin Clarke Casey2008-04-111-14/+24
|
* refactor: eliminate method in UserProfileCacheServiceJustin Clarke Casey2008-04-111-14/+13
|
* * From: Dr Scofield <hud@zurich.ibm.com>Justin Clarke Casey2008-04-111-2/+59
| | | | | | | | * This patch adds support for saving a dynamically generated region to the filesystem (as a region xml file) * Also adds some error checknig to make sure the dynamically generated region name, id or location are not already taken. * Thanks Dr Scofield
* * Added a "regionload_regionsdir" option to OpenSim.ini which determines ↵Adam Frisby2008-04-111-0/+13
| | | | where Region.XML files are stored. If not set, it will default to the usual location.
* add some convenience properties. Move all the fieldsSean Dague2008-04-101-69/+100
| | | | | | to the top of the file.
* * Minor: really just comment and subsequent indentation adjustment. ↵Justin Clarke Casey2008-04-101-41/+55
| | | | Preparation for handling inventory problems where the inventory server receives a request and never responds, or is late in responding
* * Refactor GetUsersInventory()Justin Clarke Casey2008-04-102-3/+3
|
* Thank you kindly, A_Biondi for a patch that:Charles Krinke2008-04-101-0/+13
| | | | | | Handles the CreateItem cap request for all wearables, setting the proper value in inType and assType.
* * Minor: get CreateNewUserInventory() to return true on successJustin Clarke Casey2008-04-102-3/+8
|