aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* implement llGetScale and llSetScaleSean Dague2007-09-132-5/+19
| | | | | | | drop IScriptHost for now and just use SceneObjectPart, given how many of SceneObjectPart's properties we need for the script engine
* remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague2007-09-1324-6559/+6559
| | | | | | will happen on the windows side now that eol-style is correct
* Hiding evidence that I once was a VB coder (thanks to refactoring). Renamed ↵Tedd Hansen2007-09-1310-136/+136
| | | | member names to smallcapsy.
* Fixing namespace problems MW2007-09-111-4/+5
|
* Applied ldvoipeng's patch [#360], sorry for it taking so long to apply it. ↵MW2007-09-111-21/+116
| | | | If in future anyone's patch hasn't been applied within a few days, please can someone kick one of the developers with svn access.
* * Took a stab at #388lbsa712007-09-101-1/+4
|
* mass update of urls in source code to new websiteSean Dague2007-09-1013-13/+13
|
* 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-043-6/+24
| | | | | | | | 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-263-29/+93
| | | | 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-253-11/+14
| | | | 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-258-40/+216
| | | | 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-256-41/+166
| | | | 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-191-33/+36
| | | | 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-192-32/+33
| | | | 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.
* Moved in-AppDomain event execution from Script to ↵Tedd Hansen2007-08-186-136/+59
| | | | 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-183-53/+88
| | | | | | | (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-185-192/+203
| | | | 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.