aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-26Finishing the code cleanup in DNE, make llDie work again in DNE.Melanie Thielker1-0/+25
Add some compile messages from XEngine into DNE as well.
2008-09-25Fix script engine name parsing for DotNetEngine to make that actually workMelanie Thielker1-1/+1
Add a reference for Windows builds
2008-09-25Add an extension to allow registering multiple interfaces of a type withMelanie Thielker1-3/+23
Scene. Make the script engines check that the engine name in the //Engine:language comment is a valid engine and treat it as a normal comment if it's not. //DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since that is it's real internal name. //XEngine: still works
2008-09-25Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker1-18/+21
and makes it use a common set of types in both engine. Fixes the issues with running both engines and HTTP requests / listens / timers etc.. Also fixes a couple of minor Scene issues and a CTB by nullref.
2008-09-24Rename lots of stuff in DNE to reduce source code differences in theMelanie Thielker1-1/+0
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-10/+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-23Update the permissions system to handle scripts and notecards the wayMelanie Thielker1-1/+1
it was meant to. No functional changes, just better code
2008-09-22Remove the script engine identifier tag, so the compiler just seesMelanie Thielker1-0/+1
the language specifier. Makes language specifiers work again with script engine specifiers.
2008-09-22Prevent scripts from running under multiple engines at onceMelanie Thielker1-4/+8
2008-09-21Allows to use the new script engine feature. Begin your script withMelanie Thielker1-0/+9
//XEngine: or //DotNetEnine: , optionally followed by a language like //XEngine:lsl, and it will be run on the chosen engine.
2008-09-21Change the scirpt engine loading mechanism. Script engines are nowMelanie Thielker1-9/+21
ordinary region modules and are able to coexist in one instance. See http://opensimulator.org/wiki/ScriptEngines for details. There were changes to OpenSim.ini.example, please note DefaultScriptEngine. Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-21Change XEngine startup to enable it to run as a normal region moduleMelanie Thielker1-27/+40
rather than a special one
2008-09-19* Duh, forgot I had undone some of the changes I meant to include in the ↵Justin Clarke Casey1-2/+2
previous commit
2008-09-19* Remove one possible deadlock situation as seen todayJustin Clarke Casey1-1/+7
* On script rez, XEngine was taking an m_scripts lock and then later on an m_parts lock when looking for a part by local id * In the meantime, a scene object being deleted would take an m_parts lock and then later on try to take an m_scripts lock when it tried to trigger script removal * There may be better ways to resolve this, but I believe that in general, we must always take an m_parts lock before an m_scripts lock
2008-09-18XEngine: fix collisions, add event coalescing for collision events.Melanie Thielker1-11/+14
Fix a nasty concurrency issue that could cause a high event frequency to start more than one thread pool job for a single script.
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* Change XEngine default configuration values to match those in ↵Justin Clarke Casey1-3/+3
OpenSim.example.ini * Particularly important for max threads since setting this to 2 was causing all events to wait behind the regularly sleeping maintenance event
2008-09-16* minor: method documentationJustin Clarke Casey1-29/+39
2008-09-13Provide a GetApi method on the IScriptEngine to get a named API referenceMelanie Thielker1-0/+8
This allows cross-api method calls on the implementation and also allows "Meta APIs" that only provide common functionality to other APIs
2008-09-09Update svn properties, formatting cleanup.Jeff Ames1-11/+11
2008-09-08Implement proper persistence of the following prim properties:Melanie Thielker1-0/+8
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-07Xengine patch to force a persistence save on script creation. This preventsMelanie Thielker1-3/+24
duplicate delivery of state_entry if a region is restarted just after saving the script. Changes script state saves to no longer abort long- running event handlers. Queues the save instead. Adds shutdown handler to save script state on irderly shutdown
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2-61/+60
* 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-09-02fix: PostInitialise() not being called on script engines (nasty one that)Dr Scofield1-48/+45
cleanup: warnings, readability
2008-09-02Change some chat output functions so that text is truncated atMelanie Thielker1-2/+2
1000 chars to avoid the exception thrown by libomv at 1100 chars. Change string->int conversion so it copes with non-numeric chars after the number and no longer uses a float to parse the value.
2008-08-28Update svn properties, formatting cleanup.Jeff Ames1-2/+1
2008-08-28Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,Melanie Thielker2-3/+68
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 Thielker2-28/+42
llDetectedLink(). Also a small refactor to remove an interface member from IScriptEngine.
2008-08-27Refactor XScriptInstance to IScriptInstance and move into Shared/. NowMelanie Thielker1-1048/+28
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 Thielker3-325/+3
an implicit reference into a proxied one and further reduces memory consumption of XEngine
2008-08-23Some complex re-ordering to make prebuild do what needed to be done.Melanie Thielker1-0/+1
It is now possible to use module interfaces without referencing Scene. Place those interfaces in OpenSim/Region/Interfaces. They may not use any refs from OpenSim.Region.Environment as parameters. This resolves a circular library ref introduced in r5949
2008-08-18Formatting cleanup.Jeff Ames1-3/+3
2008-08-04Fix wrong bitmask value in script engine that would make a mess ofMelanie Thielker1-1/+1
the ObjectFlags. Good catch, gsky, thank you!
2008-07-26* Changed a number of field names to ccc (public members shouldn't be called m_)lbsa711-1/+1
2008-07-23Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames1-4/+4
2008-07-19Fix prim link numbers (Mantis #1781)Melanie Thielker1-9/+3
Implements additional unlink modes (unlink root prim from link set, some multi-set operations). Linking (single and mutiple) fully implemented. Consistent numbering of links while in world. Link/delink with predictable link numbering. Correct link numbers in LSL. Not all multi-set ops implemented. Link numbers still change when taken and re-rezzed.
2008-07-12Patch #9141 (Mantis #1655)Melanie Thielker1-2/+10
Untangles llDie handling in XEngine, which resulted in a thread being aborted while executing inside of Scene.
2008-07-08Mantis#1690. Thank you kindly, Melanie for a patch that:Charles Krinke1-0/+6
esets script permissions when a script is recompiled.
2008-07-06Copyright notices and formatting cleanup.Jeff Ames1-15/+15
2008-07-04mini-warnings-safari, plus cleanup of IUserServices method naming.Dr Scofield1-1/+1
2008-07-04Mantis#1659. Thank you, Melanie for a patch that:Charles Krinke1-31/+36
In LSL, the state command should have an immediate effect. The OpenSim script engine seems to wait until the function ends to process the state transition.
2008-07-02Mantis#1648. Thank you, Melanie for a patch that:Charles Krinke1-2/+25
Fix a script Xengine deadlock/hang if llResetScript is used in changed()
2008-07-01Mantis#1640. Thank you, Chernega for a patch that addresses:Charles Krinke1-2/+7
It would appear that calling llResetScript() in state_entry() causes deadlock of region. Probably due to llResetScript calling state_entry again. llResetScript should see who called it, and not recall state_entry() after a state/variable reset. Once this script is in a prim, the region/world/debug/script window shows it consuming the server (from 2,400 to 800,000 milliseconds).
2008-06-30properly explaining each #pragma warning disableDr Scofield1-0/+3
massaging OSHttpRequestPump to not abort on exceptions...
2008-06-28Manti#1624. Thank you, Melanie for a patch that:Charles Krinke1-0/+4
Sets XEngine threads to en-US culture before calling script events, fixes i18n issues with european locales.
2008-06-28Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke2-26/+158
not break trunk.
2008-06-28* Melanie adds the event manager back to the XEngine so all yr events are ↵Teravus Ovares1-2/+4
hers, I mean, fire.
2008-06-27last round of warning squashing. calling it a day now.Dr Scofield2-10/+10
2008-06-26Mantis#1600. Thank you, Melanie for a patch that:Charles Krinke1-1/+1
Fixes persistence of variable values to address broken persistence in the big refactor.
2008-06-25Update svn properties. Add copyright notices.Jeff Ames1-0/+27