aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield21-56/+52
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!
2009-02-05From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague1-17/+46
This patch fixes the problem where if an object containing a script is deleted at the same time as an object containing the same script is rezzed, it can result in the assembly file being deleted after the second object script initialisation has found it but not started using it yet, resulting in the script not starting up.
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-62/+62
- trim trailing whitespace
2009-02-03* Fission SceneObjectTests into basic and linking setsJustin Clarke Casey1-1/+5
2009-02-03* Lock the parts for the old group while we're clearing it as well - not ↵Justin Clarke Casey1-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
2009-02-02Minor formatting cleanup.Jeff Ames1-1/+2
2009-02-01Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke3-0/+35
Added osTeleportAgent with region coordinates to support hyper grid scripted teleports.
2009-02-01Correct the method signature on llMakeFountain.idb3-3/+3
2009-01-31Speed improvement mostly when sensing objects especially noticeable in a sim ↵idb1-22/+69
with many objects.
2009-01-31Flesh out llGetAgentLanguage to return "en-us" untilCharles Krinke1-2/+4
we have an I18N committee for internationalization.
2009-01-30Update svn properties, minor formatting cleanup.Jeff Ames1-13/+13
2009-01-29Complete the implementation of llSHA1String.idb1-1/+2
2009-01-29* minor: just a few formatting changes and log quieteningJustin Clarke Casey1-1/+1
2009-01-28From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield3-41/+61
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.
2009-01-28From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield1-0/+24
Adding Oarfileloaded and EmptyScriptCompileQueue event support which allows (with a module) for programmatic notification of when a region objects and scripts are up and running after a server start or load-oar.
2009-01-28Add in a stub for llSHA1String. I believe it is the only one newCharles Krinke3-1/+12
function we were missing.
2009-01-25Remove the addition of the region coordinates to obtain the absolute ↵idb1-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
2009-01-25Add an override of the ! operator to lsl integer.idb1-0/+5
Fixes Mantis #3041
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-22Implement missing LSL TEXTURE_xxx constants including two new textures.idb1-0/+8
Fixes Mantis #3030
2009-01-20Added overrides for == and != for list.idb1-0/+24
Fixes Mantis #3002
2009-01-19* Progressive texture patch + PriorityQueue put into the LLClient namespace.Teravus Ovares1-46/+56
* Updates LibOMV to r2362
2009-01-18Moved applying an impulse to a newly rezzed object to minimise the delay ↵idb1-1/+0
getting the object moving.
2009-01-17Change list type to compare length instead of references.Melanie Thielker1-0/+12
Fixes Mantis #3002
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-12Make ZERO_ROTATION.y a float. Fixes Mantis #2985.Mike Mazur1-1/+1
2009-01-10Revert progressive texture patch from r8001 until issues can be addressedDahlia Trimble1-56/+46
2009-01-10Thanks jhurliman for a patch that implements progressive texture downloading ↵Dahlia Trimble1-1/+11
- Mantis #2655
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-02Small fix to prevent client thread crash in multi-region instances whenMelanie Thielker1-0/+9
a scripted object is paid
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-28Insert a 15 seconds delay before the script engine starts loading scriptsMelanie Thielker1-0/+7
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.idb7-2/+71
Not implemented yet in DotNetEngine. Fixes Mantis #2830
2008-12-21Change XEngine money() event routing to always raise the money()Melanie Thielker1-0/+2
event int he root prim of a linkset
2008-12-21Persist script permission mask and granteridb2-0/+50
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-17* Adding some locks to XEngine's m_PrimObjects which were prone to 'the ↵Teravus Ovares1-23/+34
collection was modified'
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-14Added ATTACH_HUD_* constants fixes Mantis #2823idb1-0/+8