aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Mother of all commits:Adam Frisby2008-01-152-19/+20
| | | | | | | * Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
* Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen2008-01-123-2157/+3
| | | | | | | | ScriptEngine.Common, only .Net-specific code in DotNetEngine. AppDomains, event handling, event execution queue and multithreading, script load/unload queue, etc has been moved to ScriptEngine.Common. Loads of things has been put into interfaces instead of the specific class. We are now one step closer to ScriptServer, and its very easy to implement new script languages. Just a few lines required to make them a OpenSim script module with all its glory.
* Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to ↵alondria2008-01-121-0/+15
| | | | LSL_BaseClass to allow them to be called in LSL scripts.
* Added const definintions for sculpted prims.Tedd Hansen2008-01-101-1/+7
|
* Fixed string issue in compilerTedd Hansen2008-01-011-1/+1
|
* Correction of last commitTedd Hansen2007-12-311-1/+1
|
* In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen2007-12-301-0/+4
|
* Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen2007-12-302-0/+16
|
* * Optimized usingslbsa712007-12-273-8/+13
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* Again, great thanks to Alondria for:Charles Krinke2007-12-241-2/+2
| | | | | | | | Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel()
* Many Thanks to Alondria for adding:Charles Krinke2007-12-182-34/+34
| | | | | | | | | | | | The list type and a bunch of support functions to LSL Added/ReImplmented: llGetListLength(), llList2Integer(), osList2Double() (note rename), llList2Float(), llList2String(), llList2Key(), llList2Vector(), llList2Rot(), llList2List(), llDeleteSubList(), llGetListEntryType(), llList2CSV(), llCSV2List(), llListInsertList(), llDumpList2String(), Borked Still: llListSort(), llListRandomize(), llList2ListStrided(), llListFindList(), Changed: llHTTPRequest() (Made wrapper of LSL_Types.list->List<string>)
* Again, thanks to Alondria for:Charles Krinke2007-12-171-3/+3
| | | | | | | | | | Added: LinkNum to SceneObjectPart Added: Bunch-o settings of LinkNum in SceneObjectGroup Added: llGetNumberOfPrims() Added: llGetLinkNumber() Added: llGetLinkKey() Added: llGetLinkName() (and change to string return type)
* Thanks again to Alondria for adding: math support forCharles Krinke2007-12-151-4/+7
| | | | | | | | | | rot * rot, vec / rot, == and != overriders for Rotations and Vectors. Also: llRotBetween(), llGetRegionTimeDilation(). And fixing: Error in LSL2CSConverter that botched a variable with a type name in it (ex: rotationCenter) Fixed: Error in LSL2CSConverter that parsed which() loops incorrectly. Fixed: Changed definition of Quaternion to <x, y, z, r> from <x, y, z, t> (As per LSL) Finished: llEuler2Rot()
* 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).