Commit Graph

26 Commits

Author SHA1 Message Date
Jeff Ames
0ea48cf786 De-tabify source. 2008-05-06 22:41:38 +00:00
Teravus Ovares
ce19234dc8 * Unraveled the DEBUG_CHANNEL mystery.
* Moved script errors to the debug channel.
* Typing '/2147483647 OK' results in a debug_channel message.
* Expanded the available parameters that are send-able through IClientAPI
2008-05-05 15:53:11 +00:00
Charles Krinke
18362b25bf Thank you kindly, Melanie for a patch to solve
llParticleSystem and osDynamicTexture issues.
2008-05-02 23:23:39 +00:00
Teravus Ovares
809447ac32 * Implemented NoScript areas (without loosing script state). 2008-04-22 09:28:58 +00:00
Adam Frisby
fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Jeff Ames
47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Adam Frisby
415fc22e5e * Removed a bunch of compiler warnings. 2008-03-03 09:54:39 +00:00
Tedd Hansen
5eff68e6bb Fix for error message during startup (shared thread started processing region queue before queue objects were fully operational) 2008-02-22 23:45:17 +00:00
Tedd Hansen
46cfc475aa ScriptEngine works again (startup-nully-error gone) 2008-02-22 22:53:19 +00:00
Tedd Hansen
f06a6573bb One more: Async LSL command thread is also shared now. 2008-02-22 22:24:12 +00:00
Tedd Hansen
42bcd76b36 Bugfixes - wasn't counting threads right++ 2008-02-22 16:15:08 +00:00
Tedd Hansen
a43bb10000 Execution threads are now shared between regions too. Default thread count regardless of number of regions is now 3. This will save you around 33 threads for a normal 3x3 region server.
But, this is totally completely untested. So it probably won't work for another patch or five.
2008-02-22 14:09:38 +00:00
Tedd Hansen
f75e418211 Fixes to ScriptEngine thread cleanup on destructor 2008-02-21 23:43:58 +00:00
Tedd Hansen
89665faeaf ScriptEngine changes in locking. Another step in direction of shared threads. 2008-02-21 11:28:34 +00:00
Tedd Hansen
7102ac7769 "threads" command now works. I've added manual tracking of threads (only if compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging. 2008-02-21 10:43:24 +00:00
Jeff Ames
a8cfbbe963 Minor cleanup. 2008-02-20 18:38:20 +00:00
Sean Dague
f47bcb0f98 bring back some script engine debugging, hoping this will help track down the randoms segfaults 2008-02-18 14:17:09 +00:00
Charles Krinke
dfca32b046 Missed one event message that needed to be
commented out.
2008-02-08 02:23:57 +00:00
Jeff Ames
6ed5283bc0 Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Jeff Ames
99844ee4c0 Added copyright statements. 2008-02-05 03:20:51 +00:00
Jeff Ames
b1a6f4821b Updated svn properties. 2008-02-02 07:13:37 +00:00
Tedd Hansen
d02a90823f SCRIPTING STILL BROKEN
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
2008-02-01 23:36:36 +00:00
Tedd Hansen
a6726b0c9d SCRIPT SUPPORT IS STILL BROKEN.
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
2008-02-01 22:18:55 +00:00
Tedd Hansen
e14c8f59f7 Added config options:
ScriptThreadPriority to set script thread priority
DeactivateScriptOnTimeout to remove script if it is executing too long
2008-02-01 20:45:15 +00:00
Tedd Hansen
a9c1f3fdb4 Experimental
Moved DotNetScriptEngine configuration to config file.
Added option to share script execution threads between regions.
2008-02-01 20:12:25 +00:00
Tedd Hansen
5d6e89eaf9 Highly experimental
A separate thread is used to enforce max function (event) execution time for scripts.
2008-02-01 19:07:05 +00:00