aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Avoid a possible race condition by serializing plugin data outside the ↵Justin Clark-Casey (justincc)2015-01-291-2/+9
| | | | | | | | EventQueue lock in ScriptInstance.SaveState() This takes the AsyncCommandHandler.staticLock. However, AsyncCommandHandler.DoOneCmdHandlerPass() already holds staticLock and may attempt to take the EventQueue lock via ScriptInstance.PostEvent() in XEngine.CheckListeners() This is a regression from faaf47a (Fri Jan 16 2015) but not simply reverting that commit since it will reintroduce a race between script removal, backup and event queue manipulating code.
* Correct typo in raw default script stop strategyJustin Clark-Casey (justincc)2015-01-271-1/+1
|
* If [XEngine] ScriptStopStrategy is different from a compiled script ↵Justin Clark-Casey (justincc)2015-01-271-28/+26
| | | | | | | | | | strategy, ask user to manually set DeleteScriptsOnStartup = true for at least one simuator session rather than auto-recompiling. This does not work on Windows since the VM retains a handle to the DLL even if class instantiation was unsuccessful. Which causes deletion of the old DLL to fail with access sharing violations. Instead, log a warning in this situation asking the user to manually set DeleteScriptsOnStartup = true for a session (or one could separately delete the DLLs in the relevant bin/scriptengines/<region-uuid> dir For the current session, the script engine will continue using the script compiled stop strategy as before. Relates to http://opensimulator.org/mantis/view.php?id=7278
* If an exception comes out of DoOnRezScript in DoOnRezScriptQueue(), then ↵Justin Clark-Casey (justincc)2015-01-261-6/+17
| | | | only fail a single script rather than halting the exntire script startup process.
* On a multi-region simulator when AppDomain = true, make sure the DLL from ↵Justin Clark-Casey (justincc)2015-01-264-91/+147
| | | | | | the appropriate script engines subdir is loaded rather than always that of the first engine to load the DLL. This resolves a DLL load failure on my Linux box when an attachment script was present on another region before the avatar arrived.
* BulletSim: update DLLs, SOs, and dylib with latest versions.Robert Adams2015-01-255-0/+0
| | | | The dylib update is a new version that doesn't leak memory.
* BulletSim: add parameters and parameter definitions for VHACDRobert Adams2015-01-253-1/+61
| | | | addition coming.
* Revert "In GetDisplayNames, if user last name is Resident then only send ↵Justin Clark-Casey (justincc)2015-01-241-1/+1
| | | | | | | | | first name for display." Reverting at this point since it may not work well with all viewers. Requires further investigation. This reverts commit a29d53986aa3ca9bfd6759789c8a6f434b78d627.
* In GetDisplayNames, if user last name is Resident then only send first name ↵Justin Clark-Casey (justincc)2015-01-231-1/+1
| | | | | | | | for display. This is to match existing behaviour with UDP behaviour where this is masked out. And to make it consistent with other places where viewers mask this out themselves. Relates to http://opensimulator.org/mantis/view.php?id=7408
* When deleting an assembly before re-compile, make sure its attributes allow ↵Justin Clark-Casey (justincc)2015-01-231-1/+5
| | | | | | | deletion. This is to see if this helps with the problem in http://opensimulator.org/mantis/view.php?id=7278 where some DLLs are not allowing this. Since OpenSim created the file it should always be allowed to delete it.
* Fix regression where the stored state of every second script in an object ↵Justin Clark-Casey (justincc)2015-01-234-15/+35
| | | | | | | rezzed from inventory (e.g. attachments) was no longer loaded. Likely a regression since f132f642 (2014-08-28) Relates to http://opensimulator.org/mantis/view.php?id=7278
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2015-01-2226-261/+382
|\
| * Stop currently unsettable display names from appearing when ↵Justin Clark-Casey (justincc)2015-01-211-1/+1
| | | | | | | | | | | | | | | | [ClientStack.LindenCaps] Cap_GetDisplayNames = "localhost" is set by never passing the username. Unexpectedly, not setting user name achieves this whereas one might have expected it to be done by not setting display_name in the cap OSD. Emulates LL behaviour when no display name is set. Relates to http://opensimulator.org/mantis/view.php?id=7408
| * If the SnedInventoryAync() method receives an exception log this but make ↵Justin Clark-Casey (justincc)2015-01-211-1/+10
| | | | | | | | | | | | sure it does not terminate the process. Relates to http://opensimulator.org/mantis/view.php?id=7421
| * Don't allow a failure in create a request in HeloService.Connector.Helo() to ↵Justin Clark-Casey (justincc)2015-01-211-5/+5
| | | | | | | | | | | | propogate up the stack. Relates to http://opensimulator.org/mantis/view.php?id=7421
| * Add debug ability to ignore reliably sent packets that are not acknowledged.Justin Clark-Casey (justincc)2015-01-213-20/+129
| | | | | | | | | | | | This is controlled via the console command "debug lludp client set process-unacked-sends true [<avatar-first-name> <avatar-last-name>]" For debug purposes to see if this process for very bad connections is causing general outbound udp processing delays. Relates to http://opensimulator.org/mantis/view.php?id=7393
| * Fix OfflineIMEmail value overwriting every time its called. The request was ↵AliciaRaven2015-01-211-3/+3
| | | | | | | | receiving a blank user prefs object to populate but then was checking for an email address. When this failed the email address was pulled from the User Account service and the empty prefs now including the email was saved before being loaded again to be returned. This was overwriting all other settings in the prefs. This fix returns the existing prefs first before checking the email address is set, and only updates email if missing.
| * Replace the tabs that have crept into isolated places in config and config ↵Justin Clark-Casey (justincc)2015-01-2112-216/+216
| | | | | | | | example files with spaces
| * minor: Comment out log line for the SimulatorFeatures cap request for now to ↵Justin Clark-Casey (justincc)2015-01-211-1/+1
| | | | | | | | reduce log verbiage. Please revert if still required.
| * minor: Fix some CR line endings in Scene.Inventory.csJustin Clark-Casey (justincc)2015-01-211-8/+8
| |
| * If [Permissions] serverside_object_permissions = false or the undocumented ↵Justin Clark-Casey (justincc)2015-01-211-1/+4
| | | | | | | | | | | | | | propogate_permissions = false, don't propogate permissions of prim inventory items. This was a regression from 13f31fd (4 Nov 2013) Relates to http://opensimulator.org/mantis/view.php?id=7399
| * minor: correct SceneCommunicationService.LogHeader spellingJustin Clark-Casey (justincc)2015-01-201-1/+1
| | | | | | | | Relates to http://opensimulator.org/mantis/view.php?id=7337
| * minor: comment out unusued logging objects in some pCampbot behaviour classesJustin Clark-Casey (justincc)2015-01-202-2/+2
| |
| * Make failures in PollServiceHttpRequest.DoHTTPGruntWork() actually log the ↵Justin Clark-Casey (justincc)2015-01-191-2/+2
| | | | | | | | exception on error
* | On the GridService, the central simulator features: ensure that the map tile ↵Diva Canto2015-01-221-1/+7
|/ | | | url ends with '/' because the viewer is dumb and just appends to it.
* minor: In AttachmentsModule.UpdateKnownItem use the existing ↵Justin Clark-Casey (justincc)2015-01-171-3/+2
| | | | IInventoryAccessModule reference that other methods are already using rather than fetching its own copy.
* Make XEngine.SaveAllState() actually do this instead of script maintenanceJustin Clark-Casey (justincc)2015-01-171-8/+8
|
* minor: remove old commented out objectRemoved bool in XEngine.OnRemoveScript()Justin Clark-Casey (justincc)2015-01-161-5/+0
|
* Add clearqueue code adjustment that should have been in previous commit faaf47aJustin Clark-Casey (justincc)2015-01-161-4/+1
|
* Prevent a race condition between the script engine backup thread and script ↵Justin Clark-Casey (justincc)2015-01-163-35/+44
| | | | | | removal by locking on the script's EventQueue and only proceeding if it's flagged as still running. Relates to http://opensimulator.org/mantis/view.php?id=7407
* For scripts in attachments, don't save .state files apart from the initial ↵Justin Clark-Casey (justincc)2015-01-165-15/+220
| | | | | | | | one as these are ignored since .state is saved in the attachment's asset. This eliminates pointless work and exceptions when an appdomain is unloaded whilst an attachment script state is persisted. Adds test for this case. Relates to http://opensimulator.org/mantis/view.php?id=7407
* minor: Suppress the log messages when user profiles data is requested for an ↵Justin Clark-Casey (justincc)2015-01-161-3/+10
| | | | | | | | NPC or an HG user with no set server URI to avoid log spam. Messages concerning failure to contact a given user profiles service are preserved by logging within called code with the agent ID. If the "No Presence - foreign friend" log message is important then please revert. Relates to http://opensimulator.org/mantis/view.php?id=7414
* Fix a recent regression with HG asset posting to other grids where the ↵Justin Clark-Casey (justincc)2015-01-151-0/+1
| | | | | | assets were no longer being posted. Addresses regression from 08606ae (Thu Jan 8 2015)
* Stop simulators attempting to contact registered but offline regions ↵Justin Clark-Casey (justincc)2015-01-143-113/+167
| | | | | | | | (RegionFlags.Persistent but not RegioNFlags.RegionOnline) on startup and when an avatar completes a teleport. This eliminates spurious network calls and failure reporting. This is done by adding RegionFlags to the GridRegion returned data in a backward compatible way as an alternative to multiple IGridService.GetRegionFlags() calls Using a simulator or a grid service older than this commit will just see previous behaviour.
* Also deleted the option of setting Cap_WebFetchInventoryDescendents from ↵Diva Canto2015-01-141-4/+0
| | | | OpenSim.ini.example
* And finally renamed the classes themselves.Diva Canto2015-01-133-11/+11
|
* Renamed the folder too.Diva Canto2015-01-132-0/+0
|
* Renamed these 2 files, because their names are misleading. This is no longer ↵Diva Canto2015-01-132-0/+0
| | | | called WebFetchInventoryDescendents, and we no longer use that cap; the viewers use FetchInvventoryDescendents2.
* Use ToString() on uuids returned in ↵Justin Clark-Casey (justincc)2015-01-141-5/+5
| | | | | | PGSQLUserProfilesData.GetUserImageAssets(). These are Guids rather than strings so casting to string generates a casting exception. Relates to http://opensimulator.org/mantis/view.php?id=7398
* Fix PGSQLUserProfilesData.GetUserPreferences error when no usersettings yet ↵Justin Clark-Casey (justincc)2015-01-131-0/+1
| | | | | | exist by inserting missing ID parameter. Relates to http://opensimulator.org/mantis/view.php?id=7398
* Revert "Remove quotes from column selection in ↵Justin Clark-Casey (justincc)2015-01-131-6/+6
| | | | | | PGSQLUserProfilesData.UpdateAvatarProperties()" This reverts commit fdecf4f610fc42205cb77c1cfa51f3e3d61cfdc9.
* Revert "Remove quotes from column selection in ↵Justin Clark-Casey (justincc)2015-01-131-6/+6
| | | | | | PGSQLUserProfilesData.UpdateAvatarInterests()" This reverts commit f31feef6c16cd79772e32b57a54f5cb6924a4df3.
* Revert "Remove quotes from column selection in ↵Justin Clark-Casey (justincc)2015-01-131-5/+5
| | | | | | PGSQLUserProfilesData.GetUserImageAssets()" This reverts commit bd9539c2a73901f063202bb244e556e7f6927bae.
* Revert "Remove misstaken quotes from column selection in ↵Justin Clark-Casey (justincc)2015-01-131-2/+2
| | | | | | PGSQLUserProfilesData.GetUserAppData()" This reverts commit 0794a403783208fa1e137b624317f42ea65fbce7.
* Revert "Remove quotes from column selection in ↵Justin Clark-Casey (justincc)2015-01-131-5/+5
| | | | | | | | PGSQLUserProfilesData.SetUserAppData()" This reverts commit 59c0df962a9dcac896cae2ce9b908be37047825c. This is necessary to preserve the casing of column names, otherwise pgsql converts everything to lowercase. TIL, Unlike mysql, a quoted column still refers to the column itself...
* Fix PGSQLUserProfilesData.UpdateUserPreferences() imviaemail and visible ↵Justin Clark-Casey (justincc)2015-01-131-3/+3
| | | | | | casts. These should be left as bools, not converted to strings. Relates to http://opensimulator.org/mantis/view.php?id=7398
* Change PGSQLUserProfilesData.UpdateUserPreferences() to directly pass the ↵Justin Clark-Casey (justincc)2015-01-131-1/+1
| | | | | | | | UUID to the uuid parameter instead of its ToString() This may well be the cause behind "operator does not exist: uuid = character varying" pgsql errors. If so, the other instances will also be changed. Relates to http://opensimulator.org/mantis/view.php?id=7398
* Fix MySQL and PGSQL *UserProfilesData.GetUserAppData() calls to correctly ↵Justin Clark-Casey (justincc)2015-01-132-2/+2
| | | | | | set the UserId parameter instead of the non-existing Id parameter when writing a record because none yet exists. SQLite version is already correct for this.
* Remove quotes from column selection in PGSQLUserProfilesData.SetUserAppData()Justin Clark-Casey (justincc)2015-01-131-5/+5
| | | | This may have been preventing it from working.
* Remove extraneous colon when setting TagId parameter in ↵Justin Clark-Casey (justincc)2015-01-131-1/+1
| | | | PGSQLUserProfilesData.GetUserAppData()