aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Interfaces (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield2-2/+2
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-01-28From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield1-0/+1
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.
2008-12-21An initial implementation of llMinEventDelay in XEngine.idb2-0/+2
Not implemented yet in DotNetEngine. Fixes Mantis #2830
2008-11-29Start scripts in attachments only after a successful attach. ElimininateMelanie Thielker1-1/+1
a gratuitious asset fetch when region crossing.
2008-11-13Make scripts in objects rezzed from script compile synchronously to closeMelanie Thielker1-1/+2
a timing gap. Still not 100%, but getting there
2008-11-09Script region crossing. This has not user functionality, but lays all theMelanie Thielker1-2/+1
groundwork.
2008-11-08Work in progress on SECS stuff. Have been holding it off until after 0.6 ↵Tedd Hansen1-2/+0
release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components.
2008-11-08Add some discovery code, laying groundwork for region-crossing scriptsMelanie Thielker1-3/+0
No user functionality yet
2008-11-08Refactor IEventReceiver back into IScriptEngineMelanie Thielker4-73/+34
2008-10-03Reintroduces the discovery mechanism to use llRequestSimulatorData("", 128)Melanie Thielker2-2/+1
Causes the dataserver event to return "OpenSim" when running on OpenSim. Requires ThreatLevel to be "High" or above to function.
2008-09-27Add friendly error messages to both engines.Melanie Thielker2-2/+6
2008-09-26Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.Melanie Thielker3-5/+4
The binaries are still different, but that is only a small step away now. The OSSLPrim has been removed. This commit will breal all scripts using Prim.Scale(), etc, syntax. It was not secure and will have to be brought back in another form.
2008-09-25Some script engine interface changesMelanie Thielker2-6/+6
2008-09-25CONVERGENCE!!!!!!Melanie Thielker2-3/+3
The entire LSL API is now in the single, shared file OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs This is for both engines. The OSSL function are still separate.
2008-09-24Rename lots of stuff in DNE to reduce source code differences in theMelanie Thielker2-1/+3
LSL implementation files. Rename lots of stuff in XEngine for the same reason. Move methods between interfaces. Just refactor stuff.
2008-09-24Decouple AsyncCommands from XEngine and the script instance. MakeMelanie Thielker1-1/+0
all methods needed outside the API ststic. Async command processing is now wholly internal to the API. This sets the stage for the next convergence step.
2008-09-23Add file missed in last commit (which never completed)Melanie Thielker1-0/+55
2008-09-23Alter tests to match up with the results after tyre's patchMelanie Thielker1-11/+1
2008-09-17Kan-Ed fix series. Fix llTakeControls to behave as documented.Melanie Thielker1-0/+1
XEngine fixes: prevent queue overruns, prevent spamming when no key is down. Release controls when conflicting permissions are requested or permissions are refused later. Release when prim or script are deleted. Fixes Scene script instance deletion semantics.
2008-09-16* minor: method documentationJustin Clarke Casey2-5/+25
2008-09-13Provide a GetApi method on the IScriptEngine to get a named API referenceMelanie Thielker2-0/+3
This allows cross-api method calls on the implementation and also allows "Meta APIs" that only provide common functionality to other APIs
2008-09-08Implement proper persistence of the following prim properties:Melanie Thielker1-0/+1
Floating text, Rotation, Texture animation, Particle System This will make "Eye Candy" scripts work without modification in XEngine. The use of the CHANGED_REGION_RESTART hack is no longer needed. Implemented in MySQL only, hovertext also in SQLite.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares3-17/+17
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-28Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,Melanie Thielker2-1/+8
which is a thin wrapper around a IWorkItemResult from the SmartThreadPool. However, it is very easy to reimplement on top of basic threading and therefore makes the IScriptInstance class independent of the specific threading implementation.
2008-08-27Thank you, salahazar, for a patch that corrects the behavior ofMelanie Thielker1-1/+0
llDetectedLink(). Also a small refactor to remove an interface member from IScriptEngine.
2008-08-27Refactor XScriptInstance to IScriptInstance and move into Shared/. NowMelanie Thielker2-0/+84
engines that want to use the XEngine's instance handling and state persistence can do so. IScriptInstance is optional, but it does require the SmartThreadPool if it is used.
2008-08-27Refactor Executor into the script app domain and IScript. This changesMelanie Thielker1-0/+3
an implicit reference into a proxied one and further reduces memory consumption of XEngine
2008-07-02Mantis#1648. Thank you, Melanie for a patch that:Charles Krinke1-0/+1
Fix a script Xengine deadlock/hang if llResetScript is used in changed()
2008-07-01From: kurt taylor (krtaylor)Dr Scofield1-0/+1
Another new OSSL function for returning the name of the script engine currently running, osGetScriptEngineName, added to both DotNet and XEngine OSSL API.
2008-06-28Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke1-0/+1
not break trunk.
2008-06-25Update svn properties. Add copyright notices.Jeff Ames1-0/+27
2008-06-24* Applied patch from Melanie, mantis issue #1581 - "Refactor LSL language, ↵lbsa714-0/+158
api and compiler out of XEngine" "First stage in a major Script Engine refactor, that will result in the LSL implementaions ebing reconverged. Not there yet, but one major part is done." Thank you, Melanie!