aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-09-14* Wired up chat so that channel goes into OnChatFromViewer. However:lbsa713-5/+5
* There's no libsl reply packet field for it, I guess other channels than 0 makes no sense sending back to clients. * We do not currently support objects listening, so there's really no way of actually using this feature. So; somebody please wire chat all the way to the scripts.
2007-09-14* fixed script compilationlbsa712-113/+125
* reversed //c# - if * rightifyed what's actually converted
2007-09-14more fun with LSL implementationsSean Dague1-16/+11
2007-09-13llSetPos(), llGetPos(), llGetLocalPos() now implementedSean Dague1-4/+39
2007-09-13If first 4 characters in script is "//C#" script will be treated as pure C# ↵Tedd Hansen1-2/+9
instead of LSL/C# hybrid. This means no preprocessing before compile.
2007-09-13implement llGetScale and llSetScaleSean Dague2-5/+19
drop IScriptHost for now and just use SceneObjectPart, given how many of SceneObjectPart's properties we need for the script engine
2007-09-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague24-6559/+6559
will happen on the windows side now that eol-style is correct
2007-09-13Hiding evidence that I once was a VB coder (thanks to refactoring). Renamed ↵Tedd Hansen10-136/+136
member names to smallcapsy.
2007-09-11Fixing namespace problems MW1-4/+5
2007-09-11Applied ldvoipeng's patch [#360], sorry for it taking so long to apply it. ↵MW1-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.
2007-09-10* Took a stab at #388lbsa711-1/+4
2007-09-10mass update of urls in source code to new websiteSean Dague13-13/+13
2007-09-08Cut down on the number of compile warnings. Now down to 5: 4 are related to ↵MW1-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).
2007-09-08Converted the LSL scripting engine into a IRegionModule, so now all ↵MW1-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).
2007-09-04Some work on Module loading/management.MW3-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)
2007-08-28startup event on script added to object, not all inside object.Tedd Hansen4-11/+19
2007-08-27Stopped EntityBase from implementing IScriptHost, as don't think it should, ↵MW1-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.
2007-08-27Another small tweak to image sending.MW1-3/+7
Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
2007-08-27Fixing llList2double issue (Thanks ldvoipeng)Brian McBee1-1/+1
2007-08-26llList-commands from ldvoipeng, new Default.lsl from dalienTedd Hansen1-14/+83
2007-08-26Another attempt to fix the image sending bug (next week, I intend to rewrite ↵MW1-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)
2007-08-26in-world run-time error-message no-w con-tains function-name.Tedd Hansen3-12/+16
2007-08-26Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen3-29/+93
require script to be compiled with (slow) debug information.
2007-08-26Bugfix for last commit, { instead of (Tedd Hansen1-1/+1
2007-08-26Fixed bug that occurs sometimes on script unload where queued script event ↵Tedd Hansen2-41/+57
was attempted executed after AppDomain was unloaded.
2007-08-25Fixed error on shutdown caused by ThreadAbortException sending message ↵Tedd Hansen2-3/+3
through already disposed logger. Thanks ckrinke
2007-08-25Forgot mutex lock on List<> for timersTedd Hansen1-11/+15
2007-08-25Script compiler should now show error on correct line number in original ↵Tedd Hansen3-11/+14
LSL-script.
2007-08-25oops , shouldn't have committed my local testing changesMW1-1/+0
2007-08-25Removal of script that was unable to compile no longer crashes server.Tedd Hansen3-14/+45
Displays script compile error messages in-world.
2007-08-25Test to see if this change improves or makes worse the texture sending bugMW1-0/+2
2007-08-25testing Tedds temporary CIA-standinTedd Hansen1-1/+0
2007-08-25testing Tedds temporary CIA-standinTedd Hansen1-0/+1
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen8-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).
2007-08-25Scripts no longer crash sim after 5 minutes (override ↵Tedd Hansen6-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.
2007-08-23Lowered priority of script threads. Executing state_entry() event on script rez.Tedd Hansen4-11/+2
2007-08-23More lsl functions (thanks to ldviopeng and wjordan!)Brian McBee1-9/+40
2007-08-22Debug shows how many bytes (total) a script (assembly) uses after compile ↵Tedd Hansen1-4/+4
and load.
2007-08-22GC.GetTotalMemory(true) was blocking.Tedd Hansen4-12/+17
We now support individual scripts on individual prims. Do the script dance... \o/ \o\ /o/ \o/ .o.
2007-08-22Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of ↵Tedd Hansen3-2/+8
empty objects crash.
2007-08-22(Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen6-138/+160
fired likewise. Bugfixes coming in next commit.
2007-08-22A case of 'while I was working someone set me up the bomb'.lbsa711-1/+2
2007-08-22* Added stub OnRezScript handler with plentiful of commentslbsa711-0/+11
2007-08-20Some minor changes + krinkec's updates to ll* functions.Tedd Hansen3-11/+68
2007-08-19Added "StopScriot()" to ScriptManager. Stops Executor from executing events ↵Tedd Hansen1-33/+36
in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
2007-08-19Code comments on recent changes in EventQueueManagerTedd Hansen2-12/+48
2007-08-19Sped up EventQueueManager response time (scripts now respond quickly). Added ↵Tedd Hansen1-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).
2007-08-19Added event method invoke cache to Executor. "Bind once, Invoke multiple ↵Tedd Hansen2-32/+33
times". Will speed up script event execution considerable. But at the cost of some memory (will be optimized later with RuntimeXHandle).
2007-08-19Moved script loading from ScriptManager to AppDomainManager. Now increases ↵Tedd Hansen2-33/+36
scripts loaded count in AppDomain properly.
2007-08-18Moved in-AppDomain event execution from Script to ↵Tedd Hansen6-136/+59
OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).