aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-243-1/+80
|\
| * implementing function to allow scripts to self-replicate as if the owner ↵SignpostMarv2012-08-243-0/+62
| | | | | | | | duplicated them, using the same script delay as llRezObject()
| * Removed land checking as suggested by SignpostMarv.TBG Renfold2012-08-241-12/+2
| | | | | | | | | | | | | | Now whatever remaining health the avatar has is displayed (float). This will be 100% (100.000000) if no damage has occurred (as what the viewer should really be seeing anyway). Returns -1.000000 if the avatar is not found.
| * Adds osGetHealth.TBG Renfold2012-08-243-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returns the amount of health (in an integer) that an avatar has left in the scene. If an avatar is not found or safe is enabled on a region, -1 is returned. Example usage: default { touch_end(integer _t) { key agentID = llDetectedKey(0); osCauseDamage(agentID, 50); llSay(0, llKey2Name(agentID) + " has " + (string)osGetHealth(agentID) + "% health left."); } }
* | Fix bad child prim permissions that can make objects change perms after rezzingMelanie2012-08-243-3/+39
|/ | | | Port from Avination
* If a script state save fails for some reason on shutdown/region removal, get ↵Justin Clark-Casey (justincc)2012-08-231-2/+25
| | | | xengine to spit out some useful information and continue to save other script states
* this should be an if-else block in case the non-phys min/max are smaller ↵SignpostMarv2012-08-221-5/+7
| | | | than the physical min/max
* Lock disposal of separate gdi+ objects under different threads since this ↵Justin Clark-Casey (justincc)2012-08-221-26/+42
| | | | | | | | | | prevents malloc heap corruption seen under Ubuntu 10.04.1 and 11.04 - probably a libcairo issue In testing, it appears that if multiple threads dispose of separate GDI+ objects simultaneously, the native malloc heap can become corrupted, possibly due to a double free(). This may be due to bugs in the underlying libcairo used by mono's libgdiplus.dll on Linux/OSX. These problems were seen with both libcario 1.10.2-6.1ubuntu3 and 1.8.10-2ubuntu1. They go away if disposal is perfomed under lock.
* Fix bug in SoundModule.PlayAttachedSound() where every sound update to an ↵Justin Clark-Casey (justincc)2012-08-211-3/+5
| | | | | | avatar would base its gain calculation on the previous avatar's gain, instead of the original input gain This is similar to commit d89faa which fixed the same kind of bug in TriggerSound()
* refactoring out SetFaceColorSignpostMarv2012-08-202-54/+17
|
* making use of implicit operators and Util.Clip handling of Vector3SignpostMarv2012-08-202-22/+27
|
* single operation for PRIM_COLORSignpostMarv2012-08-202-2/+50
|
* fix typoSignpostMarv2012-08-201-1/+1
|
* no-op change for cia.vc testJustin Clark-Casey (justincc)2012-08-201-0/+1
|
* When loading an OAR, validate any group UUIDs and properly reconstruct ↵Justin Clark-Casey (justincc)2012-08-201-1/+62
| | | | | | | | | | parcel access lists. If a group UUID is present that is not on this simulator then the object or parcel is no longer group owned. This is a change from previous behaviour where such invalid UUIDs were kept. This is an adaptation of patch 0002 from http://opensimulator.org/mantis/view.php?id=6105 by Oren Hurvitz of Kitely. My adaptations are formatting only, apart from the notices about parcel owner IDs not being saved since this has now been fixed. Thanks Oren.
* Tighten up OpenSim.Framework.Cache locking to avoid race conditions.Justin Clark-Casey (justincc)2012-08-201-30/+53
| | | | | This is to resolve a reported issue in http://opensimulator.org/mantis/view.php?id=6232 Here, the land management module is using OpenSim.Framework.Cache (the only code to currently do so apart from the non-default CoreAssetCache).
* Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)2012-08-2013-22/+68
| | | | | | | | | race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
* Fix scripted detach of temp attachmentsMelanie2012-08-201-6/+2
|
* Fix llDialog responses so that they can be heard throughout the region. This ↵Melanie2012-08-191-1/+1
| | | | now conforms to the behaviour in SL.
* Add a reference to OpenMetaverseType.dll to compiled script assemblies.Melanie2012-08-181-0/+2
|
* integrating redundant code into operatorSignpostMarv2012-08-182-14/+7
|
* Rot2Quaternion is now redundantSignpostMarv2012-08-182-12/+11
|
* constructor means not having to manually refer to individual propertiesSignpostMarv2012-08-183-6/+6
|
* implicit operators mean one does not need to instantiate new objects manuallySignpostMarv2012-08-182-7/+5
|
* adding missing refactor for LSL_VectorSignpostMarv2012-08-181-1/+1
|
* Implementing operators & constructors for QuaternionSignpostMarv2012-08-181-0/+18
|
* Fix the whitespace formatting error introduced by the last patchMelanie2012-08-181-2/+2
|
* refactoring for Vector3 operator & constructor tweaksSignpostMarv2012-08-189-125/+119
|
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-1817-345/+455
|\
| * When reporting a thread timeout, create a copy of the info rather than ↵Justin Clark-Casey (justincc)2012-08-181-1/+14
| | | | | | | | | | | | | | passing the original ThreadWatchdogInfo structure. This is to avoid the possibility of misleading reporting if a watchdog update outraces an alarm. Should address any remaining issues from http://opensimulator.org/mantis/view.php?id=6012
| * adding null return to fix buildingSignpostMarv2012-08-171-1/+1
| |
| * fixing bug that get/set the wrong property for prim types other than sphere ↵SignpostMarv2012-08-172-3/+6
| | | | | | | | & box
| * implementedSignpostMarv2012-08-173-0/+64
| |
| * attempt to handle InvalidCastException in a manner similar to Second LifeSignpostMarv2012-08-172-2/+17
| |
| * BulletSim: Properly regenerate hulls when objects made physical.Robert Adams2012-08-172-17/+33
| | | | | | | | | | This fixes the problem of non-base shapes (cubes and spheres) falling through the terrain.
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-08-176-278/+146
| |\
| | * BulletSim: restore most of the Detail logging statements. Will haveRobert Adams2012-08-174-40/+51
| | | | | | | | | | | | | | | | | | | | | no effect on non-logging running. Capture region name that is passed to the physics engine and use it for detail logging file name prefix. Fix problem with avatars dropping when flying across region boundries.
| | * Modify order of code so SOP doesn't set the physics actor flyingRobert Adams2012-08-171-7/+12
| | | | | | | | | | | | | | | | | | property multiple times every time Update is called. This eliminates zillions of settings which is better for BulletSim. The should be no functionality change.
| | * BulletSim: add parameters and functionality to specify the meshRobert Adams2012-08-173-48/+34
| | | | | | | | | | | | | | | | | | level of detail for large meshes. Remove parameter and code for DetailLog (conditional logging into regular log file).
| | * BulletSim: comments and parameter changes in dynamics engine.Robert Adams2012-08-172-26/+30
| | |
| | * BulletSim: in BSDynamics, merge 'flags' and 'hoverFlags' as they are defined ↵Robert Adams2012-08-171-158/+20
| | | | | | | | | | | | for the same bits and it makes the code less complicated.
| * | minor: Make xengine debug message on script load a scripting loading message ↵Justin Clark-Casey (justincc)2012-08-171-7/+9
| |/ | | | | | | | | | | instead. This is more useful if compilation fails due to an uncatchable exception since we know what was being compiled.
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-08-174-3/+28
| |\
| | * Correct an exception report in SceneObjectPart so it outputs the stack.Robert Adams2012-08-151-1/+1
| | |
| | * BulletSim: make it so objects in a linkset do not generate collisions with ↵Robert Adams2012-08-153-2/+27
| | | | | | | | | | | | each other.
| * | adding a clip method to handle Vector3 objects to enable a minor amount of ↵SignpostMarv2012-08-172-6/+11
| |/ | | | | | | refactoring
| * enables configurable minimum sizes for physical & non-physical primsSignpostMarv2012-08-156-42/+141
| |
* | Do a proper null check to avoid the overloaded operator == trapMelanie2012-08-161-1/+1
|/
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-1513-222/+465
|\
| * Don't enable the thread watchdog until all regions are ready.Justin Clark-Casey (justincc)2012-08-152-7/+33
| | | | | | | | This is to avoid false positives when the machine is under heavy load whilst starting up.