aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* the parameters for llAtan2 were inverted before passing to Math.Sean Dague2009-02-071-1/+1
| | | | | Thanks to Rob Smart for pointing this out.
* Replace the console for all OpenSim apps with a new console featuring commandMelanie Thielker2009-02-071-6/+0
| | | | | | | | | line editing, context sensitive help (press ? at any time), command line history, a new plugin command system and new appender features thet let you type while the console is scrolling. Seamlessly integrates the ICommander interfaces.
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-0613-39/+39
| | | | | | | | | | | | | | | | | | | | OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-041-62/+62
| | | | | - trim trailing whitespace
* * Fission SceneObjectTests into basic and linking setsJustin Clarke Casey2009-02-031-1/+5
|
* * Lock the parts for the old group while we're clearing it as well - not ↵Justin Clarke Casey2009-02-031-0/+5
| | | | | | | | much point doing one without the other * Shouldn't result in any deadlocks as I don't think there are any locks in the calling code
* Minor formatting cleanup.Jeff Ames2009-02-021-1/+2
|
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-013-0/+35
| | | | | | Added osTeleportAgent with region coordinates to support hyper grid scripted teleports.
* Correct the method signature on llMakeFountain.idb2009-02-013-3/+3
|
* Speed improvement mostly when sensing objects especially noticeable in a sim ↵idb2009-01-311-22/+69
| | | | with many objects.
* Flesh out llGetAgentLanguage to return "en-us" untilCharles Krinke2009-01-311-2/+4
| | | | | we have an I18N committee for internationalization.
* Complete the implementation of llSHA1String.idb2009-01-291-1/+2
|
* * minor: just a few formatting changes and log quieteningJustin Clarke Casey2009-01-291-1/+1
|
* From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-01-281-33/+49
| | | | | | | | | | | | | | | | | | | This changeset fixes a race condition where a script (XEngine run) can startup before a reference is added to it in all of the required places in the XEngine class. The effect of this is that a script can sometimes on startup miss script events. For example a script which starts up and initialises itself from a notecard may never receive the dataserver event containing the notecard information. The patch isn't as clean as I'd like - I've split the constructor of ScriptInstance up so it does everything it did before except call Startup and post events like state_entry and on_rez. An Init function has been added which is called after the ScriptInstance object has been added to the necessary data structures in XEngine. Happy to rework it if someone suggests a better way of doing it.
* Add in a stub for llSHA1String. I believe it is the only one newCharles Krinke2009-01-283-1/+12
| | | | | function we were missing.
* Remove the addition of the region coordinates to obtain the absolute ↵idb2009-01-251-10/+6
| | | | | | | position of a prim/person on the grid. I believe it is superfluous and removes needed decimal places for short range sensors. Fixes Manitis #3046
* Add an override of the ! operator to lsl integer.idb2009-01-251-0/+5
| | | | | Fixes Mantis #3041
* Fix for llGetRot when the script is in a child prim. Also fixed ↵idb2009-01-231-5/+5
| | | | | | | llGetPrimitiveParams for PRIM_ROTATION. Fixes Mantis #3023
* * Add direct stream loading and saving methods to the archive module.Justin Clarke Casey2009-01-231-3/+2
| | | | | | * The async stream method does not yet signal completion to interested calling code
* Implement missing LSL TEXTURE_xxx constants including two new textures.idb2009-01-221-0/+8
| | | | | Fixes Mantis #3030
* Added overrides for == and != for list.idb2009-01-201-0/+24
| | | | | Fixes Mantis #3002
* Moved applying an impulse to a newly rezzed object to minimise the delay ↵idb2009-01-181-1/+0
| | | | getting the object moving.
* Change list type to compare length instead of references.Melanie Thielker2009-01-171-0/+12
| | | | | | Fixes Mantis #3002
* Minor formatting cleanup, add copyright header.Jeff Ames2009-01-161-3/+3
|
* From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-01-131-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.
* Make ZERO_ROTATION.y a float. Fixes Mantis #2985.Mike Mazur2009-01-121-1/+1
|
* * refactor: move url sending from scene to DialogModuleJustin Clarke Casey2009-01-081-3/+6
|
* * refactor: move code to send a dialog to a user from scene to DialogModuleJustin Clarke Casey2009-01-081-1/+10
|
* * Move general alert code to DialogModule.Justin Clarke Casey2009-01-071-1/+5
| | | | | | * Should be a clean build - last failure looked like a mantis hiccup
* * Adding some recognizable and search-able test to some ↵Teravus Ovares2009-01-021-1/+1
| | | | WriteLine(e.ToString()) messages so that when they occur, we can figure out what threw them.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-12-301-1/+1
|
* * Add a method to allow friendship offers to a logged in client from an ↵Justin Clarke Casey2008-12-231-1/+0
| | | | offline user directly from the server
* Fix the error i got sidetracked from :/Melanie Thielker2008-12-221-1/+1
|
* Fix "from" link number in single prims to 0. Previously, this was 1,Melanie Thielker2008-12-221-1/+5
| | | | | | | causing sime scripts that expected the first param of the link_message to match llGetLinkNumber() to fail in single prims
* Thanks to M. Igarashi and nlin for a patch that improves conformance of the ↵Dahlia Trimble2008-12-221-36/+49
| | | | funcion llAxes2Rot()
* An initial implementation of llMinEventDelay in XEngine.idb2008-12-213-2/+55
| | | | | | Not implemented yet in DotNetEngine. Fixes Mantis #2830
* Persist script permission mask and granteridb2008-12-212-0/+50
|
* Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:Charles Krinke2008-12-201-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.
* Make scripted item and folder gives pop up a "accept, decline" messageMelanie Thielker2008-12-141-6/+54
| | | | | | and allow deletion of the just received item.
* Remove use of time dilation in llGetTimeOfDay, llGetTime and llGetAndResetTime.idb2008-12-141-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
* * Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ↵Teravus Ovares2008-12-141-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
* Added ATTACH_HUD_* constants fixes Mantis #2823idb2008-12-141-0/+8
|
* Made the casting of stings to floats more robust and work more like SL.idb2008-12-122-15/+29
| | | | | | Added some more tests that casts previously failed on. Fixes Mantis #2789
* Update svn properties, minor formatting cleanup.Jeff Ames2008-12-111-17/+17
|
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2008-12-091-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.
* * Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.Teravus Ovares2008-12-091-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.
* Remove null checks on structsidb2008-12-091-6/+6
|
* Allow empty statements in LSL (; followed by ;). Fixes Mantis#2320Homer Horwitz2008-12-071-7665/+7735
|
* Implementation of the llDetectedTouch* functionsidb2008-12-053-13/+104
|
* Minor formatting cleanup.Jeff Ames2008-12-031-3/+3
|