aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-12-05Implementation of the llDetectedTouch* functionsidb1-12/+42
2008-12-03Minor formatting cleanup.Jeff Ames1-3/+3
2008-12-03From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield1-1/+4
The attached patch fixes the bug where llCreateLink will cause a null dereference if the avatar who gave link permission for the object is no longer logged in.
2008-12-02* Apply http://opensimulator.org/mantis/view.php?id=2741Justin Clarke Casey1-1/+1
* Fix llTriggerSound() * Thanks Godfrey!
2008-12-01Remove duplicated avatar height calculation in lsl functions.idb1-19/+3
Use height calculation in Basic Physics and Physics of Simplicity so that avatars larger than the default walk with straight legs and shorter walk on the ground.
2008-11-29Add the lifetime management back into the LSL_Api, since that will alsoMelanie Thielker1-2/+10
expire and take the scripts down
2008-11-26ScriptSponsor and LSL_Api are now MarshalByRefObjectTedd Hansen1-1/+1
2008-11-26Attempt to give script objects a proper lease time (DNE and xengine). Relies ↵Tedd Hansen1-11/+3
on GC. Also removed lease for LSL_Api as it strictly speaking should not be MarshalByRef. Or should it? If so I broke scripting! :)
2008-11-24* Removed more locks on EntitiesAdam Frisby1-4/+1
* Entities should now in theory be lock-free externally. * Other properties may cause blocking however[?]. * ScenePresence maintains separate locks so isn't fixed by this commit.
2008-11-21Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker1-3/+3
the internals of the permissions module adapter sane
2008-11-21* refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey1-1/+1
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
2008-11-19Mantis#2656. Thank you kindly, Nlin for a patch that:Charles Krinke1-1/+17
Attached patch implements llCollisionSound. Thanks T. Sado.
2008-11-17* Remove the TransferRequest and hip debugging console output that crept in ↵Justin Clarke Casey1-3/+2
recently
2008-11-17* Eliminate SOG.FakeDeleteGroup() since it is now identical with ↵Justin Clarke Casey1-22/+0
DeleteGroup() (except that is didn't lock the parts, which was a potential race condition) * Removed fake delete code from LSL_Api.SetFlexi - this code was never activiated anyway and didn't appear to make much sense on the surface
2008-11-17* Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey1-8/+8
* This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts will not be sent to the client * This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation * Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP * Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
2008-11-17Make object chat come from the root prim's center, rather than trying to makeMelanie Thielker1-3/+3
it come from a child prim position.
2008-11-16Megapatch. Completely remove the multiparameter IM methods. Remove the insecureMelanie Thielker1-1/+0
fromAgentSession field.
2008-11-16Reinstate the IM sending from scripts and from autoreturnMelanie Thielker1-3/+8
2008-11-16Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2008-11-16Introduces the message transfer module. It splits the transfer mechanics offMelanie Thielker1-1/+2
the IM module and makes it into a module of it's own, which can be used by all other modules. Removes some ugly hacks. Refer to the IM module to see how it's used. Also fixes the persistence issue (Mantis #2598)
2008-11-15- Change llSetRot behavior so it matches the SL behavior (in particular, theHomer Horwitz1-14/+38
rather strange behavior if used in a child prim). - Small refactoring.
2008-11-15Update svn properties, minor formatting cleanup.Jeff Ames1-2/+2
2008-11-14Reapplying a revised version of Christopher Yeoh's (IBM) patch for allowMelanie Thielker1-0/+3
inventory drop. Also adds a new flags, "propagate_permissions" to OpenSim.ini to control that feature.
2008-11-14reverting #7295, as it still fails a test case (as pointed out veryDr Scofield1-3/+0
kindly by sean) --- lesson learned: just running a "make test" is not sufficient, you need to precede it by a "make clean".
2008-11-14From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield1-0/+3
This patch makes llAllowInventoryDrop work with the permissions module enabled. Changes include: - Enabled PropagatePermissions when permissions module serverside perms is on - change ownership of item when item is dropped into an object. Ownership changes to the owner of the object the item is dropped into - propagation of permissions if the permissions module enabled (eg next-owner mask applied) - CHANGED_ALLOWED_DROP is now passed to the change script event if an item was allowed to be dropped into the object only because llAllowInventoryDrop is enabled (instead of CHANGED_INVENTORY being passed). - Sets object flags correctly when llAllowInventoryDrop is called so clients are notified immediately of the change in state. Am not sure that calling aggregateScriptEvents is the right way to do it, but it works and seems to be the only way without making further changes to update LocalFlags
2008-11-12From: Alan Webb (alan_webb@us.ibm.com)Dr Scofield1-1/+1
Fix the broken llSetTimerEvent implementation (sec == 0 was not possible anymore).
2008-11-11Allow gods to terraform without limits. Respect the Allow Others ToMelanie Thielker1-1/+1
Terraform flag in land.
2008-11-11Fix llList2Integer to have the same semantics as an (integer) cast. HandleMelanie Thielker1-4/+2
mixed number/letter content properly.
2008-11-10Prevent AO from crashing the sim if the user logs out before the script Melanie Thielker1-0/+3
stops
2008-11-10Add a MinTimerInterval, defaulted at 0.5s, to the scripting configurationMelanie Thielker1-0/+5
2008-11-09Cause llGetInventoryType to return the asset type, which corresponds withMelanie Thielker1-1/+1
the LSL constants.
2008-11-08Refactor the detectparams variable from 'd' to Charles Krinke1-30/+30
a more meaningful name of 'detectedParams'.
2008-11-08Mantis#2583. Thank you kindly, Idb for a patch that solves:Charles Krinke1-16/+31
PRIM_TEMP_ON_REZ and PRIM_MATERIAL are not implemented in llSetPrimitiveParams so support for these is in the patch. Also two deprecated functions throw errors. They are changed to behave as in SL: llSetPrimURL - Does nothing except the sleep (currently commented out) & llRefreshPrimURL shouts "llRefreshPrimURL - not yet supported" on the error channel
2008-11-08Fix llParseString* to create LSLStrings. This makes llListFindList workMelanie Thielker1-19/+19
on lists created by parsing
2008-11-08Refactor IEventReceiver back into IScriptEngineMelanie Thielker1-2/+2
2008-11-06Add missing TeleportStart packets to llTeleportAgentHome and osTeleportAgent.Homer Horwitz1-0/+3
As those aren't viewer-initiated TPs, the viewer has to be informed. This should fix Mantis #2351 and #2397.
2008-11-05* Apply second patch in http://opensimulator.org/mantis/view.php?id=2561Justin Clarke Casey1-4/+4
* Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect. * Thanks StrawberryFride!
2008-11-05* Apply http://opensimulator.org/mantis/view.php?id=2561Justin Clarke Casey1-1/+14
* This is a partial implementation of llGetAnimation that returns the name of the animation as stored in data/avataranimations.xml but not its state name (since we don't yet have these). * Thanks StrawberryFride
2008-11-01* refactor: Convert most non SOP methods to use SOG.IsAttachment rather than ↵Justin Clarke Casey1-1/+1
SOP.IsAttachment
2008-11-01Update svn properties, minor formatting cleanup.Jeff Ames1-10/+10
2008-10-30From: Chris Yeoh (yeohc@au1.ibm.com)Dr Scofield1-0/+12
Here's the patch that clamps llGround to using sane values avoiding runtime errors.
2008-10-30Thank you kindly, NLin for an implementation patchCharles Krinke1-2/+23
for llSetHoverHeight() and llStopHover(). I believe this gets is to less then 50 LSL functions left to implement.
2008-10-29* Apply http://opensimulator.org/mantis/view.php?id=2492Justin Clarke Casey1-1/+1
* object_rez event should now be sent to all scripts in the prim * Thanks idb!
2008-10-27Thank you kindly, Idb for a patch that solves:Charles Krinke1-1/+30
llGetRot and llGetRootRotation return the wrong values when the object is attached
2008-10-26Thank you kindly, Idb for a patch that solves:Charles Krinke1-3/+14
The following should silently fail when attached, llBreakAllLinks, llBreakLink, llCreateLink. The following should be restricted to avatars in the same sim, llGetAgentInfo, llSameGroup, llGetAgentSize, llGetAnimationList. Comment added to the following unimplemented functions, llGetAgentLanguage, llGetAnimation.
2008-10-26Thank you kindly, Idb for a patch that solves:Charles Krinke1-16/+89
llGetBoundingBox is completely unimplemented. The attached patch contains a partial implementation for single prim objects and standing, flying and ground sitting avatars. In the case of an avatar sat on an object or multi-prim objects only the bounding box of the root prim is returned. llRezObject and llRezAtRoot ignored any velocity parameter. The attached patch makes use of it if it is not a zero vector.
2008-10-26Thank you kindly, Ewe Loon for a patch that solves:Charles Krinke1-8/+4
m_ScriptDelayFactor and m_ScriptDistanceFactor are being read from XEngine settings not the settings for the scriptengine being used
2008-10-23* Apply http://opensimulator.org/mantis/view.php?id=2459Justin Clarke Casey1-7/+35
* Implements the rest of llGetAgentInfo() with the exception of AGENT_BUSY. * Thanks nlin
2008-10-22Thank you kindly, Idb for a patch that:Charles Krinke1-1/+19
Added AGENT_ATTACHMENTS and AGENT_SCRIPTED to llGetAgentInfo Added to llGetAgentSize to include shoes in avatar height calculation.
2008-10-22Thank you kindly, Nlin for a patch that:Charles Krinke1-0/+6
Attached patch adds detection of AGENT_WALKING status to LSL function llGetAgentInfo()