| Commit message (Collapse) | Author | Files | Lines |
|
|
|
* 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.
|
|
|
|
the randoms segfaults
|
|
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
|
|
one second...
|
|
CONFIG SET section key value value value
CONFIG GET section key
CONFIG SAVE (it saves, but does it save correctly?:)
ScriptEngine will react correctly to any config change made while it is running.
|
|
Added option to share script load/unload thread between regions
Added event execution queue size limit
+ some bugfixes from all the changes
|
|
OpenSim in 32-bit mode.
Fixed ScriptEngine.Common startup problems.
|
|
Refreshing config based on this.
Temporarily disabled feature to refresh config file while running.
|
|
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
|
|
Bugfix: Scripts exceeding max and set to be killed were not killed, only removed.
Added ability to re-read configuration while OpenSim is running
All regions now sharing one MaintenanceThread
New MaintenanceThread:
- checks for script execution timeout
- re-reads config
- starts/stops threads if thread active count becomes too high/low compared to config
Speed increase on event execution:
- Reuse of try{}catch{} blocks
- Time calculation on event execution
|
|
|
|
Moved DotNetScriptEngine configuration to config file.
Added option to share script execution threads between regions.
|
|
|
|
|
|
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.
|
|
can not access Scene it sort of crashes right away ;)
Added some sample placeholders for implementing rest of LSL events.
|
|
ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
|
|
table between local script ID and remote script ID missing)
|
|
|
|
* shortened references
* Removed redundant 'this'
* Normalized EOF
|
|
notice of doom
|
|
* Shortened type references
* Removed redundant 'this' qualifier
|
|
loaded so that they may read out any bits they are interested in
|
|
* Introduced ModuleLoader.PickupModules that currently picks up IRegionModule:s from /bin
* Made LogBase thread-safe (or at least not thread-ignorant)
* Ignored some genned files
|
|
will happen on the windows side now that eol-style is correct
|
|
member names to smallcapsy.
|
|
|
|
"modules" share a common base interface and are loaded from the single loader. (It seems to work fine, but I have left the old scriptengine loader, incase we have to change back).
Removed the reference to OpenJpeg in the DynamicTextureModule, to see if that was causing the build problem someone is having.
Added a Temporary fix for the "existing connection was forcibly closed by the remote host" exception on windows when a user logs out of a multiregion instance.
Some early work to prepare for improving the way clients are updated (about prims etc).
|
|
dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
|
|
fired likewise. Bugfixes coming in next commit.
|
|
|
|
|
|
OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
|
|
LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
|
|
Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.
|
|
* Changed how Script accesses World
* Implemented llSay, llWhisper and llShout
* Added SetText() to IScriptHost, implemented llText
* Minor renamings to conform with code conventions
|
|
|
|
|
|
|
|
now works, but llSay only outputs to server console.
|
|
|
|
See TODO.txt for details.
|
|
|
|
|