aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-25Following on from f8a89a79, do not allow more than one 'type' folder (e.g. ↵Justin Clark-Casey (justincc)1-16/+49
calling cards) to be created in the base "My Inventory" user folder. This is to accomodate situations where viewers will create more than one 'type' subfolder (e.g. calling cards) But at the same time to prevent multiple such 'system' folders (those in the base "My Inventory" user folder). This also makes GetFolderForType() only return a folder in the base "My Inventory" folder, if such a type folder exists
2012-08-25Allow multiple calling card type inventory folders to be created.Justin Clark-Casey (justincc)1-0/+1
Modern viewers want to create Friends and All folders of this type inside the root Calling Cards folder.
2012-08-25minor: Fix bad log message for failure to create an inventory folderJustin Clark-Casey (justincc)1-1/+1
2012-08-25Log initial script startup info notice when xengine actually starts to do ↵Justin Clark-Casey (justincc)2-3/+5
this for debugging purposes, rather than before it actually starts to do this.
2012-08-24Extend "Restarting scripts in attachments" debug log message to show actual ↵Justin Clark-Casey (justincc)1-1/+3
name of user and the region they are in
2012-08-24If a connecting scene presence is replacing an existing scene presence then ↵Justin Clark-Casey (justincc)1-1/+1
bypass close checks.
2012-08-24Pass the "attachToBackup" bool given to SceneGraph.AddNewSceneObject() down ↵Justin Clark-Casey (justincc)1-1/+1
into the 3-parameter AddNewSceneObject() method instead of always hardcoding true. This doesn't affect any core OpenSimulator code since all callers were passing true anyway But it allows region modules to create objects that are never persisted.
2012-08-24stripping superfluous whitespaceSignpostMarv1-3/+0
Signed-off-by: Melanie <melanie@t-data.com>
2012-08-24immediately returning the string.Join operation instead of checking if the ↵SignpostMarv1-11/+5
list has members
2012-08-24refactoring using List.ConvertAll<string>SignpostMarv1-6/+5
2012-08-24Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)3-62/+0
owner duplicated them, using the same script delay as llRezObject()" This reverts commit 2ad9d656b3a1a0c519c9599d7680f98eba7e82b8. Reverted pending consideration of associated issues.
2012-08-24implementing function to allow scripts to self-replicate as if the owner ↵SignpostMarv3-0/+62
duplicated them, using the same script delay as llRezObject()
2012-08-24Fix bad child prim permissions that can make objects change perms after rezzingMelanie3-3/+39
Port from Avination
2012-08-24Removed land checking as suggested by SignpostMarv.TBG Renfold1-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.
2012-08-24Adds osGetHealth.TBG Renfold3-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."); } }
2012-08-23If a script state save fails for some reason on shutdown/region removal, get ↵Justin Clark-Casey (justincc)1-2/+25
xengine to spit out some useful information and continue to save other script states
2012-08-22this should be an if-else block in case the non-phys min/max are smaller ↵SignpostMarv1-5/+7
than the physical min/max
2012-08-22Lock disposal of separate gdi+ objects under different threads since this ↵Justin Clark-Casey (justincc)1-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.
2012-08-21Fix bug in SoundModule.PlayAttachedSound() where every sound update to an ↵Justin Clark-Casey (justincc)1-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()
2012-08-20refactoring out SetFaceColorSignpostMarv2-54/+17
2012-08-20making use of implicit operators and Util.Clip handling of Vector3SignpostMarv2-22/+27
2012-08-20single operation for PRIM_COLORSignpostMarv2-2/+50
2012-08-20fix typoSignpostMarv1-1/+1
2012-08-20no-op change for cia.vc testJustin Clark-Casey (justincc)1-0/+1
2012-08-20When loading an OAR, validate any group UUIDs and properly reconstruct ↵Justin Clark-Casey (justincc)1-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.
2012-08-20Tighten up OpenSim.Framework.Cache locking to avoid race conditions.Justin Clark-Casey (justincc)1-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).
2012-08-20Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)13-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.
2012-08-20Fix scripted detach of temp attachmentsMelanie1-6/+2
2012-08-19Fix llDialog responses so that they can be heard throughout the region. This ↵Melanie1-1/+1
now conforms to the behaviour in SL.
2012-08-18Add a reference to OpenMetaverseType.dll to compiled script assemblies.Melanie1-0/+2
2012-08-18integrating redundant code into operatorSignpostMarv2-14/+7
2012-08-18Rot2Quaternion is now redundantSignpostMarv2-12/+11
2012-08-18constructor means not having to manually refer to individual propertiesSignpostMarv3-6/+6
2012-08-18implicit operators mean one does not need to instantiate new objects manuallySignpostMarv2-7/+5
2012-08-18adding missing refactor for LSL_VectorSignpostMarv1-1/+1
2012-08-18Implementing operators & constructors for QuaternionSignpostMarv1-0/+18
2012-08-18Fix the whitespace formatting error introduced by the last patchMelanie1-2/+2
2012-08-18refactoring for Vector3 operator & constructor tweaksSignpostMarv9-125/+119
2012-08-18When reporting a thread timeout, create a copy of the info rather than ↵Justin Clark-Casey (justincc)1-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
2012-08-17adding null return to fix buildingSignpostMarv1-1/+1
2012-08-17fixing bug that get/set the wrong property for prim types other than sphere ↵SignpostMarv2-3/+6
& box
2012-08-17implementedSignpostMarv3-0/+64
2012-08-17attempt to handle InvalidCastException in a manner similar to Second LifeSignpostMarv2-2/+17
2012-08-17BulletSim: Properly regenerate hulls when objects made physical.Robert Adams2-17/+33
This fixes the problem of non-base shapes (cubes and spheres) falling through the terrain.
2012-08-17minor: Make xengine debug message on script load a scripting loading message ↵Justin Clark-Casey (justincc)1-7/+9
instead. This is more useful if compilation fails due to an uncatchable exception since we know what was being compiled.
2012-08-17BulletSim: restore most of the Detail logging statements. Will haveRobert Adams4-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.
2012-08-17Modify order of code so SOP doesn't set the physics actor flyingRobert Adams1-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.
2012-08-17BulletSim: add parameters and functionality to specify the meshRobert Adams3-48/+34
level of detail for large meshes. Remove parameter and code for DetailLog (conditional logging into regular log file).
2012-08-17BulletSim: comments and parameter changes in dynamics engine.Robert Adams2-26/+30
2012-08-17BulletSim: in BSDynamics, merge 'flags' and 'hoverFlags' as they are defined ↵Robert Adams1-158/+20
for the same bits and it makes the code less complicated.