aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Took a stab at #388lbsa712007-09-101-1/+4
|
* mass update of urls in source code to new websiteSean Dague2007-09-1014-14/+14
|
* Cut down on the number of compile warnings. Now down to 5: 4 are related to ↵MW2007-09-081-2/+2
| | | | 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).
* Converted the LSL scripting engine into a IRegionModule, so now all ↵MW2007-09-081-2/+31
| | | | | | | | | "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).
* Some work on Module loading/management.MW2007-09-044-6/+27
| | | | | | | | Some more modules templates classes (hoping that someone will pick some of these and work on implementing them). Early version of the "Dynamic Texture Module", although currently there are no render modules included (so not really functional without them). Added osSetDynamicTextureURL script function, for attaching a dynamic texture to a prim. Some work on the console command handling. Added "change-region <regionname>" and "exit-region" so that after the use of change-region, the commands entered will apply to that region only. Then use exit-region to return to the top level (so commands then function as they did before and either apply to all regions or to the first region) (Note: this hasn't been tested very much)
* startup event on script added to object, not all inside object.Tedd Hansen2007-08-284-11/+19
|
* Stopped EntityBase from implementing IScriptHost, as don't think it should, ↵MW2007-08-271-2/+2
| | | | | | | multiple objects are based on entitybase and they all don't want the baggage from IScriptHost. SceneObjectPart already implements it anyway. Added llGetOwner function, and tested the ll functions that I added in last commit.
* Another small tweak to image sending.MW2007-08-271-3/+7
| | | | | Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
* Fixing llList2double issue (Thanks ldvoipeng)Brian McBee2007-08-271-1/+1
|
* llList-commands from ldvoipeng, new Default.lsl from dalienTedd Hansen2007-08-261-14/+83
|
* Another attempt to fix the image sending bug (next week, I intend to rewrite ↵MW2007-08-261-1/+0
| | | | | | | | the assetcache and asset server). Attempt to fix bug # 326. (crashing when using save-xml and hollow prims) Attempt to fix bug # 328 (limit of 50 items in a folder)
* in-world run-time error-message no-w con-tains function-name.Tedd Hansen2007-08-263-12/+16
|
* Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen2007-08-264-42/+108
| | | | require script to be compiled with (slow) debug information.
* Bugfix for last commit, { instead of (Tedd Hansen2007-08-261-1/+1
|
* Fixed bug that occurs sometimes on script unload where queued script event ↵Tedd Hansen2007-08-262-41/+57
| | | | was attempted executed after AppDomain was unloaded.
* Fixed error on shutdown caused by ThreadAbortException sending message ↵Tedd Hansen2007-08-252-3/+3
| | | | through already disposed logger. Thanks ckrinke
* Forgot mutex lock on List<> for timersTedd Hansen2007-08-251-11/+15
|
* Script compiler should now show error on correct line number in original ↵Tedd Hansen2007-08-254-13/+16
| | | | LSL-script.
* oops , shouldn't have committed my local testing changesMW2007-08-251-1/+0
|
* Removal of script that was unable to compile no longer crashes server.Tedd Hansen2007-08-253-14/+45
| | | | | Displays script compile error messages in-world.
* Test to see if this change improves or makes worse the texture sending bugMW2007-08-251-0/+2
|
* testing Tedds temporary CIA-standinTedd Hansen2007-08-251-1/+0
|
* testing Tedds temporary CIA-standinTedd Hansen2007-08-251-0/+1
|
* Added class for "long commands" (command that returns as event) with ↵Tedd Hansen2007-08-259-77/+259
| | | | dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
* Scripts no longer crash sim after 5 minutes (override ↵Tedd Hansen2007-08-257-60/+190
| | | | 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.
* Lowered priority of script threads. Executing state_entry() event on script rez.Tedd Hansen2007-08-234-11/+2
|
* More lsl functions (thanks to ldviopeng and wjordan!)Brian McBee2007-08-231-9/+40
|
* Debug shows how many bytes (total) a script (assembly) uses after compile ↵Tedd Hansen2007-08-221-4/+4
| | | | and load.
* GC.GetTotalMemory(true) was blocking.Tedd Hansen2007-08-224-12/+17
| | | | | We now support individual scripts on individual prims. Do the script dance... \o/ \o\ /o/ \o/ .o.
* Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of ↵Tedd Hansen2007-08-223-2/+8
| | | | empty objects crash.
* (Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen2007-08-226-138/+160
| | | | fired likewise. Bugfixes coming in next commit.
* A case of 'while I was working someone set me up the bomb'.lbsa712007-08-221-1/+2
|
* * Added stub OnRezScript handler with plentiful of commentslbsa712007-08-221-0/+11
|
* Some minor changes + krinkec's updates to ll* functions.Tedd Hansen2007-08-203-11/+68
|
* Added "StopScriot()" to ScriptManager. Stops Executor from executing events ↵Tedd Hansen2007-08-192-34/+53
| | | | in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
* Code comments on recent changes in EventQueueManagerTedd Hansen2007-08-192-12/+48
|
* Sped up EventQueueManager response time (scripts now respond quickly). Added ↵Tedd Hansen2007-08-191-39/+117
| | | | support for multiple threads executing events on objects, but only one thread on one script at the time (to utilize MultiCore/hyperthreading CPU's).
* Added event method invoke cache to Executor. "Bind once, Invoke multiple ↵Tedd Hansen2007-08-193-39/+70
| | | | times". Will speed up script event execution considerable. But at the cost of some memory (will be optimized later with RuntimeXHandle).
* Moved script loading from ScriptManager to AppDomainManager. Now increases ↵Tedd Hansen2007-08-192-33/+36
| | | | scripts loaded count in AppDomain properly.
* Did I forget to add IScript.cs? Yes I did...Tedd Hansen2007-08-181-0/+12
|
* Moved in-AppDomain event execution from Script to ↵Tedd Hansen2007-08-188-137/+107
| | | | OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
* Added (theoretical) AppDomain cleanup code.Tedd Hansen2007-08-181-17/+89
|
* Scripts are working again. Scripts are now loaded into limited AppDomains ↵Tedd Hansen2007-08-184-53/+98
| | | | | | | (no security yet). *phew* that only took me 12 hours of coding...
* Script loads into separate AppDomain without errors. Events and llFunctions ↵Tedd Hansen2007-08-183-4/+5
| | | | not working yet.
* Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ ↵Tedd Hansen2007-08-182-4/+7
| | | | folder - hopefully solves compile problem on Linux.
* LSL Compiler now only referring required assemblies (DotNetEngine and ↵Tedd Hansen2007-08-187-277/+341
| | | | Common). Changed Vector and Rotation to custom types (stored in Common) that needs to be changed later. No longer using Axiom. Script support still broken.
* Working on AppDomains. Scripting is now officially broken. :]Tedd Hansen2007-08-188-60/+64
|
* Moved LSL_BuiltIn_Commands_Interface.cs to a separate library ↵Tedd Hansen2007-08-187-14/+534
| | | | (OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs).
* Started on AppDomains for ScriptEngine. Moved llFunctions in ↵Tedd Hansen2007-08-189-457/+563
| | | | LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
* llstrenglength (thanks ldvoipeng!)Brian McBee2007-08-181-1/+13
|