aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Again, thanks to Alondria for: adding llGetTime, llResetTime, and ↵Charles Krinke2007-12-141-3/+3
| | | | | | | | | llGetAndResetTime. Also for fixing Rot/Vector Regex from being too greedy by removing bug in the LSL->C# converter that was causing the vector and rotation parser.
* From Michael Osias (IBM)Sean Dague2007-12-121-2/+2
| | | | | | | | | | | | This patch implements the llHttpRequest function via a region module, HttpScriptsRequest. There were bits and peices in LSLLong_cmd_handler, which I moved into the region module, and just check for completed requests and dispatch the http_response callback event instead. works for me as of r2674
* * The 'Create' functions should be called to factor up a new, otherwise ↵lbsa712007-12-111-0/+2
| | | | | | | empty, but with the Id and 1-to-1 child fields instantiated and randomized. * Added two shape constants that
* "list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. ↵Charles Krinke2007-12-091-1/+1
| | | | Thanks to ChrisD/Gromit for pointing these out.
* * miniscule changes just to keep myself in synchlbsa712007-12-071-1/+3
|
* ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen2007-11-012-1/+6
| | | | | | | 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. Please delete your copy of bin/ScriptEngine/OpenSim.Grid.ScriptEngine.DotNetEngine.dll.
* * Optimized usingslbsa712007-10-303-399/+1728
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* * Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa712007-10-153-0/+84
|
* fixing me some line endingsSean Dague2007-09-172-122/+122
|
* Implemented: llSetText, llResetScript Tedd Hansen2007-09-162-8/+9
| | | | | Implemented: llHTTPRequest (queue, thread, etc -- but not actuall call)
* Now loading "OpenSim.Region.ScriptEngine.Common.dll" into scripts AppDomain ↵Tedd Hansen2007-09-151-5/+6
| | | | and "using OpenSim.Region.ScriptEngine.Common;" at start of script when converted from LSL. Vectors and rotations now works.
* * fixed script compilationlbsa712007-09-141-113/+113
| | | | | | * reversed //c# - if * rightifyed what's actually converted
* If first 4 characters in script is "//C#" script will be treated as pure C# ↵Tedd Hansen2007-09-131-2/+9
| | | | instead of LSL/C# hybrid. This means no preprocessing before compile.
* remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague2007-09-133-1161/+1161
| | | | | | 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-132-19/+19
| | | | member names to smallcapsy.
* Some work on Module loading/management.MW2007-09-042-6/+5
| | | | | | | | 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-281-0/+1
|
* 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-262-11/+15
|
* Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen2007-08-261-3/+23
| | | | require script to be compiled with (slow) debug information.
* Fixed error on shutdown caused by ThreadAbortException sending message ↵Tedd Hansen2007-08-251-1/+1
| | | | through already disposed logger. Thanks ckrinke
* Script compiler should now show error on correct line number in original ↵Tedd Hansen2007-08-252-11/+12
| | | | 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-251-2/+5
| | | | | 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
|
* Added class for "long commands" (command that returns as event) with ↵Tedd Hansen2007-08-252-1/+9
| | | | 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-251-2/+21
| | | | 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-231-1/+0
|
* Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of ↵Tedd Hansen2007-08-221-1/+1
| | | | empty objects crash.
* (Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen2007-08-221-16/+28
| | | | fired likewise. Bugfixes coming in next commit.
* Moved in-AppDomain event execution from Script to ↵Tedd Hansen2007-08-181-28/+10
| | | | OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
* Scripts are working again. Scripts are now loaded into limited AppDomains ↵Tedd Hansen2007-08-182-1/+30
| | | | | | | (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-182-3/+4
| | | | not working yet.
* Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ ↵Tedd Hansen2007-08-181-2/+3
| | | | folder - hopefully solves compile problem on Linux.
* LSL Compiler now only referring required assemblies (DotNetEngine and ↵Tedd Hansen2007-08-183-98/+108
| | | | 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-183-10/+14
|
* Moved LSL_BuiltIn_Commands_Interface.cs to a separate library ↵Tedd Hansen2007-08-181-2/+57
| | | | (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-182-446/+353
| | | | LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
* llstrenglength (thanks ldvoipeng!)Brian McBee2007-08-181-1/+13
|
* lsl test cases, and llregioncorner (thanks Dalien!)Brian McBee2007-08-181-1/+1
|
* Pimped up Default.lsl. Now featuring a touch counter.Tedd Hansen2007-08-172-5/+2
| | | | | Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.
* Removed RAIL test from startup for now...Tedd Hansen2007-08-171-0/+1
|
* krinkec's updates to ll* interface and functions.Tedd Hansen2007-08-171-5/+12
|
* * Now sending manager, host and root host to Script in constructor.lbsa712007-08-162-24/+56
| | | | | | | | * Changed how Script accesses World * Implemented llSay, llWhisper and llShout * Added SetText() to IScriptHost, implemented llText * Minor renamings to conform with code conventions
* * Introduced IScriptHost as an interface to fetching object data from scripts.lbsa712007-08-162-3/+21
| | | | | | * This meant introducing AbsolutePosition on all objects (since SimChat wants that)
* compile error removed :)Tedd Hansen2007-08-151-8/+0
|
* Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) ↵Tedd Hansen2007-08-153-200/+538
| | | | and double (instead of float).
* * Applying ckrinke's LSL baseclass changes (Thanks!)Adam Frisby2007-08-151-48/+54
|
* * Fixed bug with llModPowAdam Frisby2007-08-151-6/+6
| | | | | | | | | * Implemented llSleep * Implemented llGetEnergy (always returns 1.0) * Implemented llGetRegionName * Implemented llGetRegionTimeDilation (always returns 1.0) * Implemented llGetRegionFPS (always returns 10.0)
* * New LSL functionsAdam Frisby2007-08-151-5/+16
| | | | | | | | + llAsin / llAcos + llMD5String + llModPow + llGetUnixTime