Melanie Thielker
|
85068dae60
Add friendly error messages to both engines.
|
16 gadi atpakaļ |
Melanie Thielker
|
698ecec6f7
Remove another interface that is no longer needed
|
16 gadi atpakaļ |
Melanie Thielker
|
824283ca3c
Remove all the subclassing complexity and script server interfaces from
|
16 gadi atpakaļ |
Tedd Hansen
|
bacbade369
Major reorganizing of DotNetEngine. Moved common script engine parts to 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.
|
17 gadi atpakaļ |
Tedd Hansen
|
a993d0d335
ScriptServer communication is ok. Script is creatd on onrez. But since it can not access Scene it sort of crashes right away ;)
|
17 gadi atpakaļ |
Tedd Hansen
|
7ef09a1202
Added comments to ScriptEngine classes that explains what their purpose is
|
17 gadi atpakaļ |
lbsa71
|
efd90b56b7
* Optimized usings
|
17 gadi atpakaļ |
Jeff Ames
|
af6eb67999
saved OpenSim source code from the giant rampaging unterminated copyright notice of doom
|
17 gadi atpakaļ |
Jeff Ames
|
0b4e15bc35
converted hard-coded chat type values to ChatTypeEnum
|
17 gadi atpakaļ |
Tedd Hansen
|
dcf41cb683
ScriptServer fixes: Added more debug logging, mutex lock (to be extra-super-sure) on script load/unload, removed experimental Grid-scriptengine from compile because of dynamic module loader, and added random string to script filename to bypass module loader file lock.
|
17 gadi atpakaļ |
lbsa71
|
67e12b95ea
* Optimized usings
|
17 gadi atpakaļ |
lbsa71
|
f8ddf7429e
* Wired up chat so that channel goes into OnChatFromViewer. However:
|
17 gadi atpakaļ |
Sean Dague
|
afea5f2205
remove ^M, as native storage should be UNIX format, and ^M in/out mashing
|
17 gadi atpakaļ |
Tedd Hansen
|
cef8c5e9d7
Hiding evidence that I once was a VB coder (thanks to refactoring). Renamed member names to smallcapsy.
|
17 gadi atpakaļ |
lbsa71
|
b134617e07
* Took a stab at #388
|
17 gadi atpakaļ |
Sean Dague
|
ffe9c9374a
mass update of urls in source code to new website
|
17 gadi atpakaļ |
MW
|
5020e4e602
Cut down on the number of compile warnings. Now down to 5: 4 are related to unused events on IClientAPI and 1 is a unused variable in LSL_BuiltIn_Commands (which I'll leave to Tedd, as he will know if it will be used in the future or not).
|
17 gadi atpakaļ |
Tedd Hansen
|
83d5df3979
in-world run-time error-message no-w con-tains function-name.
|
17 gadi atpakaļ |
Tedd Hansen
|
ebb0099816
Run-time script errors are now shown in-world. No line number though, might require script to be compiled with (slow) debug information.
|
17 gadi atpakaļ |
Tedd Hansen
|
fda97aa3c5
Bugfix for last commit, { instead of (
|
17 gadi atpakaļ |
Tedd Hansen
|
25e200c46a
Fixed bug that occurs sometimes on script unload where queued script event was attempted executed after AppDomain was unloaded.
|
17 gadi atpakaļ |
Tedd Hansen
|
0cd6d26adb
Fixed error on shutdown caused by ThreadAbortException sending message through already disposed logger. Thanks ckrinke
|
17 gadi atpakaļ |
Tedd Hansen
|
b75c1b2191
Added class for "long commands" (command that returns as event) with dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
|
17 gadi atpakaļ |
Tedd Hansen
|
53be4774b3
Scripts no longer crash sim after 5 minutes (override InitializeLifetimeService). Loading/Unloading of scripts are now handled in separate thread so server is no delayed because of this. Each script is loaded into a single AppDomain (temporary test for script unload, eats ~15KB more memory for each script). Unload of scripts has been verified to free up memory.
|
17 gadi atpakaļ |
Tedd Hansen
|
07836b890c
Lowered priority of script threads. Executing state_entry() event on script rez.
|
17 gadi atpakaļ |
Tedd Hansen
|
4beef91d00
GC.GetTotalMemory(true) was blocking.
|
17 gadi atpakaļ |
Tedd Hansen
|
0eadb7591e
Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of empty objects crash.
|
17 gadi atpakaļ |
Tedd Hansen
|
5a86fd2c31
(Untested) Scripts are individually loaded into objects (on rez), and event fired likewise. Bugfixes coming in next commit.
|
17 gadi atpakaļ |
Tedd Hansen
|
eeaac68d73
Code comments on recent changes in EventQueueManager
|
17 gadi atpakaļ |
Tedd Hansen
|
7770c65a7e
Sped up EventQueueManager response time (scripts now respond quickly). Added support for multiple threads executing events on objects, but only one thread on one script at the time (to utilize MultiCore/hyperthreading CPU's).
|
17 gadi atpakaļ |