lbsa71
|
f8ddf7429e
* Wired up chat so that channel goes into OnChatFromViewer. However:
|
17 years ago |
Sean Dague
|
af6c9d355d
implement llGetScale and llSetScale
|
17 years ago |
Sean Dague
|
afea5f2205
remove ^M, as native storage should be UNIX format, and ^M in/out mashing
|
17 years ago |
Tedd Hansen
|
cef8c5e9d7
Hiding evidence that I once was a VB coder (thanks to refactoring). Renamed member names to smallcapsy.
|
17 years ago |
Sean Dague
|
ffe9c9374a
mass update of urls in source code to new website
|
17 years ago |
Tedd Hansen
|
5a149084d4
startup event on script added to object, not all inside object.
|
17 years ago |
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 years ago |
Tedd Hansen
|
25e200c46a
Fixed bug that occurs sometimes on script unload where queued script event was attempted executed after AppDomain was unloaded.
|
17 years ago |
Tedd Hansen
|
d9b9b16513
Script compiler should now show error on correct line number in original LSL-script.
|
17 years ago |
Tedd Hansen
|
80234b98e5
Removal of script that was unable to compile no longer crashes server.
|
17 years ago |
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 years ago |
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 years ago |
Tedd Hansen
|
caee73353d
Debug shows how many bytes (total) a script (assembly) uses after compile and load.
|
17 years ago |
Tedd Hansen
|
4beef91d00
GC.GetTotalMemory(true) was blocking.
|
17 years ago |
Tedd Hansen
|
5a86fd2c31
(Untested) Scripts are individually loaded into objects (on rez), and event fired likewise. Bugfixes coming in next commit.
|
17 years ago |
Tedd Hansen
|
33326c1a70
Some minor changes + krinkec's updates to ll* functions.
|
17 years ago |
Tedd Hansen
|
1b826c2fdc
Added "StopScriot()" to ScriptManager. Stops Executor from executing events in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
|
17 years ago |
Tedd Hansen
|
eeaac68d73
Code comments on recent changes in EventQueueManager
|
17 years ago |
Tedd Hansen
|
e70cdbc5ac
Added event method invoke cache to Executor. "Bind once, Invoke multiple times". Will speed up script event execution considerable. But at the cost of some memory (will be optimized later with RuntimeXHandle).
|
17 years ago |
Tedd Hansen
|
1893164d26
Moved script loading from ScriptManager to AppDomainManager. Now increases scripts loaded count in AppDomain properly.
|
17 years ago |
Tedd Hansen
|
37446b0392
Moved in-AppDomain event execution from Script to OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
|
17 years ago |
Tedd Hansen
|
240712ca9f
Scripts are working again. Scripts are now loaded into limited AppDomains (no security yet).
|
17 years ago |
Tedd Hansen
|
f444fe4f87
Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ folder - hopefully solves compile problem on Linux.
|
17 years ago |
Tedd Hansen
|
1d41fd4984
Working on AppDomains. Scripting is now officially broken. :]
|
17 years ago |
Tedd Hansen
|
6d10c65358
Moved LSL_BuiltIn_Commands_Interface.cs to a separate library (OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs).
|
17 years ago |
Tedd Hansen
|
1284369a32
Started on AppDomains for ScriptEngine. Moved llFunctions in LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
|
17 years ago |
Tedd Hansen
|
fcf7db7272
Pimped up Default.lsl. Now featuring a touch counter.
|
17 years ago |
Tedd Hansen
|
577fb1a987
Removed RAIL test from startup for now...
|
17 years ago |
Tedd Hansen
|
f2dd6c86f7
Added RAIL.dll
|
17 years ago |
lbsa71
|
e53d680d41
* Now sending manager, host and root host to Script in constructor.
|
17 years ago |