aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-01-23Fix for llGetRot when the script is in a child prim. Also fixed ↵idb1-5/+5
llGetPrimitiveParams for PRIM_ROTATION. Fixes Mantis #3023
2009-01-23* Add direct stream loading and saving methods to the archive module.Justin Clarke Casey1-3/+2
* The async stream method does not yet signal completion to interested calling code
2009-01-18Moved applying an impulse to a newly rezzed object to minimise the delay ↵idb1-1/+0
getting the object moving.
2009-01-16Minor formatting cleanup, add copyright header.Jeff Ames1-3/+3
2009-01-13From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield1-1/+2
The attached patch adds the automatic granting of PERMISSION_CONTROL_CAMERA on request to a script when an avatar is sitting on the object that the script resides in. It also automatically removes PERMISSION_TAKE_CONTROLS and PERMISSION_CONTROL_CAMERA from the scripts when an avatar stands up. It doesn't remove the other automatically granted permissions but this follows LL server behavior. Removing these two permissions avoids some potential race conditions (accidentally taking control after the avatar has stood up) which may be why LL put them in the first place.
2009-01-08* refactor: move url sending from scene to DialogModuleJustin Clarke Casey1-3/+6
2009-01-08* refactor: move code to send a dialog to a user from scene to DialogModuleJustin Clarke Casey1-1/+10
2009-01-07* Move general alert code to DialogModule.Justin Clarke Casey1-1/+5
* Should be a clean build - last failure looked like a mantis hiccup
2009-01-02* Adding some recognizable and search-able test to some ↵Teravus Ovares1-1/+1
WriteLine(e.ToString()) messages so that when they occur, we can figure out what threw them.
2008-12-30Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2008-12-23* Add a method to allow friendship offers to a logged in client from an ↵Justin Clarke Casey1-1/+0
offline user directly from the server
2008-12-22Fix the error i got sidetracked from :/Melanie Thielker1-1/+1
2008-12-22Fix "from" link number in single prims to 0. Previously, this was 1,Melanie Thielker1-1/+5
causing sime scripts that expected the first param of the link_message to match llGetLinkNumber() to fail in single prims
2008-12-22Thanks to M. Igarashi and nlin for a patch that improves conformance of the ↵Dahlia Trimble1-36/+49
funcion llAxes2Rot()
2008-12-21An initial implementation of llMinEventDelay in XEngine.idb1-1/+9
Not implemented yet in DotNetEngine. Fixes Mantis #2830
2008-12-20Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:Charles Krinke1-1/+1
On a call of llVolumeDetect(1) (or any other number !=0) volume detection is enabled. Together with VD, the phantom flag is set to the GUI. On a call of llVolumeDetect(0), vd detection is switched of again, also the phantom state is removed. On a call to llSetState(STATE_PHANTOM, false) while VD is active, also VD is switched off. The same is true for unchecking the phantom flag via GUI. This allows to take back VD without the need to script just by removing the phantom flag. Things missing in this patch: persistance of the volume-detection flag. This needs more discussion and will be included in another patch soon.
2008-12-14Make scripted item and folder gives pop up a "accept, decline" messageMelanie Thielker1-6/+54
and allow deletion of the just received item.
2008-12-14Remove use of time dilation in llGetTimeOfDay, llGetTime and llGetAndResetTime.idb1-3/+3
It is not documented to be applied to llGetTimeOfDay at all and is not appropriate for the other two because dilation does not directly affect script speed in OS. Fixes Mantis #2783 and #2162
2008-12-14* Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ↵Teravus Ovares1-5/+7
ODEPlugin and pipes them to their respective LSL method. * NBody will need to be updated, this is an API change. Torque property and AddAngularForce
2008-12-11Update svn properties, minor formatting cleanup.Jeff Ames1-17/+17
2008-12-09From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague1-4/+15
The attached patch ads an OpenSim.ini option (AutomaticLinkPermission) which when enabled makes PERMISSION_CHANGE_LINKS to be granted to scripts by default. When enabled llGetPermissions will always return it as granted and llCreateLink//llBreakLink will succeed without doing llRequestPermissions. ONLY ENABLE THIS IN TRUSTED ENVIRONMENTS. The patch also fixes a minor bug in llCreateLink related to a potential dereference of a null client object.
2008-12-09* Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.Teravus Ovares1-1/+7
* Warning! Physics API change. This means that the NBodySimulation needs to be updated! * PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
2008-12-09Remove null checks on structsidb1-6/+6
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-24Some refactoring from about a week ago that I forgot to commit, of ↵MW1-1/+1
AssetTransactionModule to cut down on number of classes and to work towards having a base AssetXferUploader class than can be shared with EstateTerrainXferHandler
2008-11-21Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2-7/+7
the internals of the permissions module adapter sane
2008-11-21* refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey3-3/+3
* 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-21* Improve and correct messages given to the user when permission is denied ↵Justin Clarke Casey1-3/+8
for a particular OSSL function * I don't believe that the extra information given is anything that couldn't be worked out by trial and error
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-17Fix previous build breakMelanie Thielker1-1/+1
2008-11-17Change the semantics of the Allow_* os function control. Omitting a functionMelanie Thielker1-18/+34
causes defautlt behavior. "true" now means usable unconditionally, "false" means disabled, and a list of UUIDs restricts it. This changes SECURITY! If you used "true" here before, you shoudl review your setup!
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-14* Allow new script creation to be locked down to only gods if specified in ↵Justin Clarke Casey1-4/+1
OpenSim.ini * This doesn't allow complete script lockdown of a sim, many avenues (copying, editing) are still uncloseable at the moment * Default remains to allow all users to create scripts (subject to existing permissions if enabled)