| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
new style of parameter passing, using the IEventReceiver interface.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
esets script permissions when a script is recompiled.
|
|
|
|
|
|
| |
Fully defines the equality operators on the lsl types and plubs
in the script engine side of the work begun in 0001616 (aly, this one's for you)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Copying, reseting, dragging scripts cause unnecessary recompilation,
slowing down the simulator and filling up the ScriptEngines directory
with compiled .dll and misc. files.
This patch keeps track of compiled assets since the last simulator restarts,
and only recompiles new assets. (editing a script generates a new asset,
so no problems there).
|
| |
|
| |
|
|
|
|
|
| |
* Eventually this codebase will be clean. >_>
|
|
|
|
|
| |
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
|
|
|
|
|
|
|
| |
loop, this queue manipulation is dead wrong as Queue is not
a synchronized data structure. Hopefully this helps.
|
|
|
|
|
|
|
| |
script to publish the events anymore.
* Introduces a language(regex) independent event recognizer and publishes the events the script listens.
|
|
|
|
| |
(this took a while to run).
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
per region.
Total so far: 2 threads less per region
Note: Currently causes delay in load/unload of scripts
|
| |
|
|
|
|
|
|
|
|
| |
* Speeding up ScriptEngine shutdown
* Sharing threads so that minimum total thread count for any amount of regions will be 2. (1 maintenance, 1 script execution)
You can choose more script exec threads if you want of course.
In this commit: Sharing maintenance thread between all regions.
|
|
|
|
| |
compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
|
| |
|
|
|
|
|
|
|
|
| |
This patch implements the llSendRemoteData command and fixes mantis 552,
and possibly 586.
|
|
|
|
|
| |
DEBUG is defined by default in the Linux build.
|
|
|
|
|
|
| |
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
|
|
|
|
|
|
|
| |
working on 1 region. :)
Using default warning level on C#/VB compile
|
| |
|
|
|
|
|
|
|
| |
Added option to share script load/unload thread between regions
Added event execution queue size limit
+ some bugfixes from all the changes
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Added comments and regions, restructured code
Changed a lot of AppDomain junk from console from using Console.Write to Log.Verbose and set it to #if DEBUG
All modules should now refresh their configuration runtime
Made all logging in ScriptEngine.Common get script name from actual engine
Renamed LSLLongCmdHandler to AsyncLSLCommandManager
Added auto-recover with 5 sec throttle for new MaintenanceThread
|
|
|
|
| |
events can use llDetect*-commands to find information about event.
|
|
|
|
|
|
|
| |
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
|
| |
|
| |
|
|
ScriptEngine.Common, only .Net-specific code in DotNetEngine. AppDomains, event handling, event execution queue and multithreading, script load/unload queue, etc has been moved to ScriptEngine.Common.
Loads of things has been put into interfaces instead of the specific class.
We are now one step closer to ScriptServer, and its very easy to implement new script languages. Just a few lines required to make them a OpenSim script module with all its glory.
|