aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-21Fixed the logic that decides if a packet was queued (it was reversed)Oren Hurvitz1-5/+6
2014-07-21Removed unused files: Texture/Mesh server connectorsOren Hurvitz2-150/+0
2014-07-21Better logging of threadpool activity in Overload mode: if we didn't log ↵Oren Hurvitz1-1/+7
"Queue threadfunc" for a particular thread then don't log "Run threadfunc" or "End threadfunc" for that thread either.
2014-07-21Eliminated some warningsOren Hurvitz3-2/+3
2014-07-21Close streams immediately when we finish using themOren Hurvitz34-477/+418
2014-07-20Set "[Terrain]SendTerrainUpdatesByViewDistance=true" by default.Robert Adams1-1/+1
This, by default, enables terrain patches being sent to each avatar from the avatar away (rather than the old outside-in pattern), only sending terrain patches within the avatars view distance (making view loading quicker), and sending multiple terrain patches per protocol packet (making terrain loading and editing quicker).
2014-07-20Add code to GridService to check for overlapping of varregionsRobert Adams3-10/+127
when registering a new region. Adds parameter "[GridService]SuppressVarRegionOverlapCheckOnRegistration=false" that can be turned on to suppress the error check if a simulator's database has old regions that overlap.
2014-07-18BulletSim: Modify first and default vehicle vertical attractor to be feature ↵Vegaslon1-0/+14
complete with use of the Limit Roll Only Flag. Signed-off-by: Robert Adams <misterblue@misterblue.com>
2014-07-19minor: remove long unused RegionInfo.ignoreIncomingConfigurationJustin Clark-Casey (justincc)1-5/+0
2014-07-19minor: remove long unused RegionInfo.commFailTFJustin Clark-Casey (justincc)1-1/+0
2014-07-18minor: Add meters unit to water height console displayJustin Clark-Casey (justincc)1-1/+1
2014-07-18Add "show region" command which will show parameters for current region.Justin Clark-Casey (justincc)1-1/+73
This shows static data (e.g. region agent limit) whereas "show scene" shows live data (sim fps, current prims, etc.)
2014-07-18In grid mode, add SuppressConsoleCommands flag to [GridService] so that we ↵Justin Clark-Casey (justincc)2-17/+19
can stop misleading grid service only console commands from registering. We need to do this because the simulator initializes and internal copy of the GridService in grid mode for internal purposes
2014-07-18minor: add method doc to ICommands.HasCommand()Justin Clark-Casey (justincc)1-0/+5
2014-07-18Add ICommands.HasCommand() method so that we can detect whether a command ↵Justin Clark-Casey (justincc)4-18/+37
has already been registered without needing to also run it
2014-07-18refactor: slightly adjust some code in ODECharacter.Move() to eliminate a ↵Justin Clark-Casey (justincc)1-18/+19
condition check without changing the logic
2014-07-18With ODE physics, fix an issue where the avatar couldn't jump and then move ↵Justin Clark-Casey (justincc)1-18/+5
forward when moving south or west. Addresses http://opensimulator.org/mantis/view.php?id=5003 Thanks to UbitUmarov for this fix.
2014-07-17BulletSim: rearrange code to prevent using null pointers when aRobert Adams1-11/+10
child mesh is not available when building a linkset.
2014-07-17fix all instances of "non-existant" to "non-existent" (spelling mistakes) ↵Michael Cerquoni5-8/+8
thanks Ai Austin for pointing this out.
2014-07-16Change default script stop method to co-op instead of abort.Justin Clark-Casey (justincc)1-1/+5
co-op should be more stable as it doesn't abort threads, which can trigger virtual machine instability This change will be invisible to users as script DLLs are recompiled automatically where necessary, though the change won't take affect until the next simulator restart. This change has no effect on existing script state. If you want to continue using abort, set ScriptStopStrategy = abort in the [XEngine] section of OpenSim.ini
2014-07-14Use thread-safe version of .NET Random as the SDK class is not thread-safe.Justin Clark-Casey (justincc)3-5/+75
As per http://msdn.microsoft.com/en-us/library/system.random%28v=vs.100%29.aspx, the .NET Random class is not thread-safe. If called by multiple threads at once, methods may return 0. Except for llRand(), other OpenSimulator code did not lock before calling a shared Random instance. This commit adds a ThreadSafeRandom class that extends Random but does internal locking so that it is thread-safe. This change is invisible to existing callers and the explicit locking in the llFrand() implementation is now redundant.
2014-07-14minor: Remove compiler warning in GridServiceJustin Clark-Casey (justincc)1-1/+1
2014-07-14Call RemoveScriptInstance when removing from inventoryDev Random1-2/+2
2014-07-11minor: Move debug xengine script console command to Debug help section where ↵Justin Clark-Casey (justincc)1-1/+1
other debug commands live.
2014-07-11minor: further cleanup of old vb and yield prolog script engine references ↵Justin Clark-Casey (justincc)3-20/+2
that were removed some time ago
2014-07-11If [XEngine] ScriptStopStrategy is changed between abort and co-op, for the ↵Justin Clark-Casey (justincc)6-67/+111
existing session use the previous strategy for that script rather than not starting the script at all. We have to do this since we can't unload existing DLLs if they're all in the same AppDomain. But we can still update the underlying DLL which will be used in the next simulator session.
2014-07-10refactor: use existing Compiler.CreateScriptsDirectory() (renamed to ↵Justin Clark-Casey (justincc)1-26/+4
CheckOrCreateScriptsDirectory()) when checking that scripts directory exists on compile. Code was identical apart from error logging, but if there are failures creating these directories then you'll be seeing lots of errors anyway, and these will be more informative
2014-07-09Fix bug in "show modules" comamnd that was showing shared modules as ↵Justin Clark-Casey (justincc)1-1/+1
non-shared and non-shared as shared
2014-07-09Turn RestClient.Request() logging down the debug and comment out for now.Justin Clark-Casey (justincc)1-5/+5
2014-07-08Fix issue with running "stats record start|stop" console commandJustin Clark-Casey (justincc)1-4/+4
In commit e6080a38 (Wed Mar 19 00:29:36 2014) I renamed this from "debug stats record start|stop" Unfortunately, I didn't do this fully so before this commit "stats record start|stop" will report a usage failure with the old debug text. Unfortunately this is in the 0.8 release. The workaround is to repeat the last command twice (e.g. "stats record start start")
2014-07-06Changed GetUserInfo so that the exposure of user account details is ruled by ↵Diva Canto1-5/+17
a configuration variable. It's on by default.
2014-07-06Lookup username given key(uuid) XML-RPCBlake Bourque1-0/+2
2014-07-05Add experimental "show grid size" robust console command.Justin Clark-Casey (justincc)1-5/+34
This will show an approximate grid size that doesn't count regions that are hyperlinks Not particularly trustworthy since it will still count regions that are not active but were not deregistered (deliberately or due to simulator crash or similar)
2014-07-04Small change to my previous commit: not so aggressive on the trigger, please.Diva Canto1-2/+0
2014-07-05Show region size column in simulator version of "show regions" console commandJustin Clark-Casey (justincc)1-2/+8
2014-07-05Adjust "show regions" and "show region" robust service console output to ↵Justin Clark-Casey (justincc)1-5/+5
show size "show regions" drops the owner id column but is till present in "show region" "show regions" name column expanded to allow for longer hg regions (probably still too short, may eventually have to truncate rather than taking up huge screen space)
2014-07-04Instrument the UDP path of creating assets so that it triggers an asset post ↵Diva Canto2-5/+11
for users with different asset servers
2014-07-04minor: put standard 'category' in brackets at front of log messages from ↵Justin Clark-Casey (justincc)1-2/+8
previous commit 3d70db4a
2014-07-04When uploading mesh objects with textures also create inventory items for ↵Latif Khalifa1-0/+63
uploaded textures. This implements: http://opensimulator.org/mantis/view.php?id=7250
2014-07-04Include option to remove auto backup files older than given number of days. ↵AliciaRaven2-2/+52
New property created to specify how many days to keep files for. Off by default, also made sure only oar files will be removed.
2014-07-04Still log (but this time with warning rather than an exception) if we ↵Justin Clark-Casey (justincc)1-2/+8
regenerate a new child caps seed for a region where we already have one. I think it's still useful to know this to show up any errors early, but it's reasonable to still carry on rather than throw an exception. Follow on from Diva's commit 9643792
2014-07-04On logout, delay the removal of AgentCircuitData until the very end, because ↵Diva Canto1-5/+3
that data structure contains important information about the agent that may be needed by modules.
2014-07-04This fixes the bug related to rebooting neighboring varregions while avatars ↵Diva Canto1-10/+14
are logged in; the avies would not see the region anymore until they relogged. Same problem as before: inconsistent calculation of scope.
2014-07-04It turns out that child agent management has had a bug for a while: there ↵Diva Canto2-4/+12
was an inconsistency in the scope between opening and closing child agents in neighboring regions. For opening (in EnableChildAgents), the region's DrawDistance was being used; for closing (in IsOUtsideView) , the viewer's (SP) DrawDistance was being used. This fixes this inconsistency, therefore eliminating bugs observed in TPs between, at least, neighboring varregions.
2014-07-03Avoid an exception in creating child agents some times.Diva Canto1-0/+2
2014-07-03Temporarily disable new regression test TestLifecycle() until I have a ↵Justin Clark-Casey (justincc)1-1/+1
chance to fix it This was working for me locally because it was still picking up all my *.ini config files, which jenkins won't have in its test env
2014-07-03Re-enabled TestLifecycle regression test logging so I can get some idea of ↵Justin Clark-Casey (justincc)1-1/+1
why it's failing on jenkins but not locally
2014-07-02Actually call Close() for shared region modules when the simulator is being ↵Justin Clark-Casey (justincc)8-49/+357
shutdown. Adds regression test for this case.
2014-06-28minor: Change default max phys prim size in code to match OpenSimDefaults.iniJustin Clark-Casey (justincc)1-1/+1
2014-06-28minor: change allow script crossings default in code to true in order to ↵Justin Clark-Casey (justincc)1-1/+1
match OpenSimDefaults.ini