aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-02Bugfixes. Now it even reads configuration before it uses it! ;)Tedd Hansen1-9/+12
2008-02-02Temporarily disabled AllowedCompilers so all 3 compilers are allowed.Tedd Hansen2-37/+31
Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
2008-02-02Added header/footer of scripts to make C# and VB scripts much easier to write.Tedd Hansen1-8/+46
Added some logging on what is happening during compile.
2008-02-02Bugfix: LSL was mapped to VB.Net compiler ... that didn't work out so well :)Tedd Hansen1-3/+3
2008-02-02Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen1-33/+222
OpenSim in 32-bit mode. Added VISUAL BASIC.NET-support //cs, //lsl and //vb as first characters of script will determine what compiler is used. Compile warnings are no longer treated as errors. Script will still run. Added a few useless and useful config options: Write script source to harddisk for debug, Default compile language, Allowed compilers (languages), compile in release or debug mode, clean up old scripts on startup Loads of warnings for incorrect config
2008-01-22Giving Mantis #388 a shotTedd Hansen1-2/+3
2008-01-15* Mother of all commits:Adam Frisby2-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.
2008-01-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen3-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.
2008-01-12Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to ↵alondria1-0/+15
LSL_BaseClass to allow them to be called in LSL scripts.
2008-01-10Added const definintions for sculpted prims.Tedd Hansen1-1/+7
2008-01-01Fixed string issue in compilerTedd Hansen1-1/+1
2007-12-31Correction of last commitTedd Hansen1-1/+1
2007-12-30In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen1-0/+4
2007-12-30Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen2-0/+16
2007-12-27* Optimized usingslbsa713-8/+13
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-24Again, great thanks to Alondria for:Charles Krinke1-2/+2
Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel()
2007-12-18Many Thanks to Alondria for adding:Charles Krinke2-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>)
2007-12-17Again, thanks to Alondria for:Charles Krinke1-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)
2007-12-15Thanks again to Alondria for adding: math support forCharles Krinke1-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()
2007-12-14Again, thanks to Alondria for: adding llGetTime, llResetTime, and ↵Charles Krinke1-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.
2007-12-12From Michael Osias (IBM)Sean Dague1-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
2007-12-11* The 'Create' functions should be called to factor up a new, otherwise ↵lbsa711-0/+2
empty, but with the Id and 1-to-1 child fields instantiated and randomized. * Added two shape constants that
2007-12-09"list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. ↵Charles Krinke1-1/+1
Thanks to ChrisD/Gromit for pointing these out.
2007-12-07* miniscule changes just to keep myself in synchlbsa711-1/+3
2007-11-01ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen2-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.
2007-10-30* Optimized usingslbsa713-399/+1728
* Shortened type references * Removed redundant 'this' qualifier
2007-10-15* Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa713-0/+84
2007-09-17fixing me some line endingsSean Dague2-122/+122
2007-09-16Implemented: llSetText, llResetScript Tedd Hansen2-8/+9
Implemented: llHTTPRequest (queue, thread, etc -- but not actuall call)
2007-09-15Now loading "OpenSim.Region.ScriptEngine.Common.dll" into scripts AppDomain ↵Tedd Hansen1-5/+6
and "using OpenSim.Region.ScriptEngine.Common;" at start of script when converted from LSL. Vectors and rotations now works.
2007-09-14* fixed script compilationlbsa711-113/+113
* reversed //c# - if * rightifyed what's actually converted
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-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague3-1161/+1161
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 Hansen2-19/+19
member names to smallcapsy.
2007-09-04Some work on Module loading/management.MW2-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)
2007-08-28startup event on script added to object, not all inside object.Tedd Hansen1-0/+1
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 Hansen2-11/+15
2007-08-26Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen1-3/+23
require script to be compiled with (slow) debug information.
2007-08-25Fixed error on shutdown caused by ThreadAbortException sending message ↵Tedd Hansen1-1/+1
through already disposed logger. Thanks ckrinke
2007-08-25Script compiler should now show error on correct line number in original ↵Tedd Hansen2-11/+12
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 Hansen1-2/+5
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-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen2-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).
2007-08-25Scripts no longer crash sim after 5 minutes (override ↵Tedd Hansen1-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.
2007-08-23Lowered priority of script threads. Executing state_entry() event on script rez.Tedd Hansen1-1/+0
2007-08-22Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of ↵Tedd Hansen1-1/+1
empty objects crash.
2007-08-22(Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen1-16/+28
fired likewise. Bugfixes coming in next commit.
2007-08-18Moved in-AppDomain event execution from Script to ↵Tedd Hansen1-28/+10
OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).