aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-24Fix mono 2.4.3 build break by using CreateInstanceAndUnwrap 9 method call ↵Justin Clark-Casey (justincc)1-0/+1
deprecated in later .net versions
2013-01-23BulletSim: pass up and report the real collision penetration.Robert Adams2-2/+4
2013-01-23Pass narrower WaitHandle rather than EventWaitHandle as co-op termination ↵Justin Clark-Casey (justincc)5-6/+6
wait handle to script APIs. APIs don't need to reference any methods on EventWaitHandle
2013-01-23Improve logging by making it clearer which script is failing if an assembly ↵Justin Clark-Casey (justincc)3-28/+31
fails to load. Moves the noise co-op start/stop debug log messages to only display if xengine debug level >= 1 Logs which stop strategy is being used (abort or co-op) Adjusts some other logging to remove not very useful stuff
2013-01-23BulletSim: remove setting of vehicle InterpolationRotationalVelocity.Robert Adams2-36/+34
This doesn't seem to help the vehicle stability. Rename vehicle internal variables adding a "V" or "W" so it is clear when coordinates are vehicle or world relative.
2013-01-23BulletSim: small change to center-of-mass computation left out last commitRobert Adams1-3/+8
2013-01-23BulletSim: center-of-gravity linkset changes. Not working yet.Robert Adams4-29/+9
Conflicts: OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
2013-01-23BulletSim: working on COMRobert Adams4-7/+36
2013-01-23BulletSim: fix build break introduced by previous commitRobert Adams1-5/+0
2013-01-23BulletSim: remove the unused RestoreBodyDependencies used by linksetsRobert Adams3-33/+2
and vehicles and clean up code by removing their kludgyness.
2013-01-23Add the Avination physics raycast glue so Core Physics can implement raycastMelanie3-13/+129
2013-01-23Remove the return value from llGiveMoney and add llTransferLindenDollars. AlsoMelanie3-33/+114
make llGiveMoney async so the script thread is not held up waiting for comms to an external server.
2013-01-23Add additional return statusBlueWall2-4/+23
Adding additional return status for JsonRpcMethod. Now returns true/false
2013-01-23If ScriptStopStrategy hasn't been set to co-op in [XEngine] config, then ↵Justin Clark-Casey (justincc)5-27/+87
continue to generate C# that is functionality identical to historical generation This is to eliminate disruption until co-op termination has been well-tested. In non co-op mode, XEngine will continue to load DLLs of the existing Script class and the new XEngineScript class. Moving to co-op mode still requires existing script DLL deletion to force recompilation, either manually or by setting DeleteScriptsOnStartup = true for one run. This change also means that scripts which fail to initialize do not still show up as running scripts.
2013-01-21BulletSim: Tweeks to vehicle motion.Robert Adams3-15/+11
Pass through old angular velocity making for smoother transitions. Remove some old kludges for angular motion (damping and rotvel suppression).
2013-01-22Add co-op termination regression test for infinite recursive manual call on ↵Justin Clark-Casey (justincc)1-0/+22
event function. Such code would normally terminate quickly with a stack overflow exception anyway.
2013-01-22Set script delay factor to 0 in co-op termination testsJustin Clark-Casey (justincc)1-0/+3
This is to ensure loops aren't actually terminating from a wait on an LSL function. This was not the case with any of the existing tests.
2013-01-22Add regression test for co-op termination on infinite user function call ↵Justin Clark-Casey (justincc)1-0/+30
regression. Such a script would probably run out of stack pretty quickly anyway.
2013-01-22Add regression test for co-op stop of an infinite jump loopJustin Clark-Casey (justincc)1-8/+41
Also fixes bug in do-while test Improves detection of failure due to invalid script in test Sets up xengine anew for each test rather than once for the while testsuite to improve isolation between tests. Stop listening for chat after the first 'script is running' chat is received to reduce test run time.
2013-01-22Add do-while co-op termination testJustin Clark-Casey (justincc)1-2/+30
Minor changes to scripts in other tests.
2013-01-22Add single and comound while loop co-op termination testJustin Clark-Casey (justincc)1-0/+44
2013-01-22Fix bug in generating termination checks in compound statement for loop.Justin Clark-Casey (justincc)2-3/+27
Add regression test for this case.
2013-01-22factor out common code in existing co-op termination regression testsJustin Clark-Casey (justincc)1-55/+24
2013-01-22Increase WaitForEventCompletionOnScriptStop to 120 secs to show that the ↵Justin Clark-Casey (justincc)1-0/+4
co-op setting is active in its regression tests.
2013-01-22minor: comment out Console.WriteLine debugging message in XEngineJustin Clark-Casey (justincc)1-1/+1
2013-01-22Add regression test TestStopOnLongForLoop()Justin Clark-Casey (justincc)1-0/+59
2013-01-22refactor: rename XEngineTest to more descriptive XEngineBasicTestsJustin Clark-Casey (justincc)1-0/+0
2013-01-21BulletSim: allow changing position and rotation of a child of a linksetRobert Adams8-46/+112
without rebuilding the whole compound shape. Should make vehicles move smoother.
2013-01-21Have SOP and LSL_Api call the proper GetCenterOfMass and GetGeometricCenterRobert Adams2-1/+11
routines on the physics engine. Won't make a difference for any existing scripts since ODE always returned Vector3.Zero.
2013-01-21BulletSim: remove unused MaxTaintsToProcessPerStep parameterRobert Adams3-8/+5
2013-01-20BulletSim: More aggressive as setting character velocity to zeroRobert Adams5-91/+153
when should be standing. Modify angular force routines to be the same pattern as linear force routines. BulletSim vehicle turning is scaled like SL and is DIFFERENT THAN ODE!! Fix some bugs in BSMotor dealing with the motor going to zero. Add a bunch of parameters: MaxLinearVelocity, MaxAngularVelocity, MaxAddForceMagnitude, VehicleMaxLinearVelocity, VehicleMaxAngularVelocity, and most of the values are defaulted to values that are larger than in SL. Use the new parameters in BSPrim, BSCharacter and BSDynamic.
2013-01-20BulletSim: fix problem of avatar sliding very slowly occasionally after ↵Robert Adams1-34/+41
stopping walking. Consolidate movement tests into the one prestep motion action
2013-01-20BulletSim: small fix making sure terrain height is calculatedRobert Adams1-1/+3
properly if the vehicle moves during vehicle actions.
2013-01-20BulletSim: modify motors to return correction rather than current valueRobert Adams5-38/+36
to better use them for incremental updates. Modify prim and character to use the new motors. Simplify the vehicle linear movement code to just update the velocity directly or the basic movement.
2013-01-20This updates prebuild to remove BulletSimN, implements the BulletSim API in ↵teravus1-262/+623
BulletSPlugin using the BulletXNA Bullet physics engine. It also updates the BulletXNA library to be compatible with the changes. OpenSimDefaults has been updated to describe how to switch engines and terrain implementations.
2013-01-20* Dumping BulletSimNPlugin in favor of combining the APIteravus23-11752/+0
2013-01-20* Tweak the BulletSimN API a bit.teravus2-17/+18
2013-01-19IRCBridgeModule: optional agent-alertbox for IRC enabled Regions look in ↵PixelTomsen4-273/+305
OpenSimDefaults.ini / section [IRC] http://opensimulator.org/mantis/view.php?id=6470 idea: https://github.com/ssm2017/IrcBridgeAlert
2013-01-19Check the existing ScenePresence.ParentPart to make sure we're not trying to ↵Justin Clark-Casey (justincc)1-2/+1
sit on a prim we're already sat upon, rather than looking up the part from scratch. An adaptation of commit 055b8a2 Having both ParentID and ParentPart references now is redundant. ParentID should probably be eliminated.
2013-01-19Assign the SmartThreadPool name in the constructorOren Hurvitz2-4/+9
This is required because some threads are created in the constructor, so assigning the name afterwards would be too late.
2013-01-19Explicitly stop PollServiceRequestManager() rather than relying on its ↵Justin Clark-Casey (justincc)2-5/+15
destructor. Hopes to address occasional shutdown failures from http://opensimulator.org/mantis/view.php?id=6503
2013-01-19New constants for llGetObjectDetailsTalun2-0/+92
New constants for llGetObjectDetails OBJECT_CHARACTER_TIME, OBJECT_ROOT, OBJECT_ATTACHED_POINT, OBJECT_PATHFINDING_TYPE, OBJECT_PHYSICS, OBJECT_PHANTOM and OBJECT_TEMP_ON_REZ also Pathfining constants, 3 of which are used by llGetObjectDetails
2013-01-19New constants for llGetObjectDetailsTalun2-0/+92
New constants for llGetObjectDetails OBJECT_CHARACTER_TIME, OBJECT_ROOT, OBJECT_ATTACHED_POINT, OBJECT_PATHFINDING_TYPE, OBJECT_PHYSICS, OBJECT_PHANTOM and OBJECT_TEMP_ON_REZ also Pathfining constants, 3 of which are used by llGetObjectDetails
2013-01-19Mantis 6507 keys returned by llGetAgentList incorrect for llList2KeyTalun1-2/+2
The type of the keys returned by llGetAgentList corrected to LSL_Key
2013-01-19Fix use of scene debug commands when region is set to root or a specific ↵Justin Clark-Casey (justincc)1-15/+12
region where there is more than one region on the simulator.
2013-01-18Add "debug set set animations true|false" region console command.Justin Clark-Casey (justincc)4-24/+48
Setting this logs extra information about animation add/remove, such as uuid and animation name Unfortunately cannot be done per client yet
2013-01-18Restore previous client AO behaviour by not allowing them to remove the ↵Justin Clark-Casey (justincc)5-8/+27
default animation but continue to allow scripts to do so. This keeps the fix from http://opensimulator.org/mantis/view.php?id=6327 and fixes the behaviour regression in http://opensimulator.org/mantis/view.php?id=6483 Animations may still exhibit different behaviour if both scripts and clients are adjusting animations. A change in the behaviour of client AO to not remove all animations may be a better long term approach.
2013-01-18BulletSim: reduce jitter in avatar velocity when walking or flying.Robert Adams2-2/+9
OpenSimulator is VERY sensitive to changes in avatar velocity and will send an avatar update message when velocity changes more than 0.001m/s. This significantly reduces the number of avatar update messages by smoothing the avatar velocity returned by Bullet.
2013-01-18BulletSim: add logic to turn off pre-step actions when object goesRobert Adams1-0/+21
non-active. This turns off 'setForce', 'setTorque' and 'moveToTarget' when the object is selected or made non-physical.
2013-01-17Implement non-wait co-operative termination of scripts for XEngine in ↵Justin Clark-Casey (justincc)7-77/+271
addition to termination on wait. This involves inserting opensim_reserved_CheckForCoopTermination() calls in lsl -> c# translation at any place where the script could be in a loop with no wait calls. These places are for, while, do-while, label, user function call and manual event function call. Call goes through to an XEngineScriptBase which extends ScriptBase. IEngine is extended to supply necessary engine-specific parent class references and constructor parameters to Compiler. Unfortunately, since XEngineScriptBase has to be passed WaitHandle in its constructor, older compiled scripts will fail to load with an error on the OpenSim console. Such scripts will need to be recompiled, either by removing all *.dll files from the bin/ScriptEngines/<region-id> or by setting DeleteScriptsOnStartup = true in [XEngine] for one run. Automatic recompilation may be implemented in a later commit. This feature should not yet be used, default remains termination with Thread.Abort() which will work as normal once scripts are recompiled.