aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Formatting cleanup.Jeff Ames2008-03-182-55/+51
|
* By now you all have learned that when I'm committing scripting usually ↵Tedd Hansen2008-02-241-3/+3
| | | | | | | doesn't work, so no big surprise. :) Modified baseclass for compiled script to incorp new OSSL commands class and renamed it to follow standards and all that. Scripts may work again. :)
* Forgot to change what class compiled scripts must inherit from to get their ↵Tedd Hansen2008-02-241-3/+3
| | | | commands :)
* Minor cleanup.Jeff Ames2008-02-202-2/+2
|
* * Made new Framework.Constants class, added RegionSize member.Adam Frisby2008-02-141-23/+41
| | | | | | * Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize. * Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
* The very beginnings of attachments (no detachments! :)Dalien Talbot2008-02-101-14/+7
|
* Bugfix to state command:Tedd Hansen2008-02-101-2/+6
| | | | | "state default;" rewrite to "state ("default");"
* Bugfix on that last Quaternion/Vector patchTedd Hansen2008-02-101-2/+2
|
* Untested bugfix in state supportTedd Hansen2008-02-101-4/+7
| | | | | | Replaced (?<s1>(?![a-zA-Z_]+)\s*)" + @"([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){ with (?<s1>(?![a-zA-Z_]+)\s*)" + @"(state\s+)?([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){ Lets see what happens now... :)
* Added support for function calls as values in LSL-specific <0,0,0> and ↵Tedd Hansen2008-02-101-2/+2
| | | | <0,0,0,0> Quaternion and Vector
* Thank you very much, Hashbox for :Charles Krinke2008-02-101-3/+3
| | | | | | | Add scene-debug command to Enable/Disable scripting, collision, and physics from console.
* * Dun-dun-dun. JavaScript scripting now actually works. :)Adam Frisby2008-02-081-3/+2
|
* Maybe VB.Net will compile now... who knows ;)Tedd Hansen2008-02-071-8/+8
|
* Same VB.Net patch done right.Tedd Hansen2008-02-071-4/+9
|
* VB.Net compiler might work on Windows now.Tedd Hansen2008-02-071-1/+1
|
* * Marking off which uses of catch (Exception e) is legit and which are not, ↵Adam Frisby2008-02-061-2/+2
| | | | for later removal/replacement.
* Fixed regex in LSL2CSConverter so it will properly handle casting to ↵alondria2008-02-061-2/+2
| | | | | | | (string) part of vector (eg. vector.z) This fixes Mantis 388
* Converted logging to use log4net.Jeff Ames2008-02-051-17/+16
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * Replacing missing break statement from DotNetEngine/Compiler/LSL/Compiler.csAdam Frisby2008-02-041-0/+1
|
* * Added JavaScript support to OpenSim scripting. Totally Untested. Enjoy. :)Adam Frisby2008-02-041-2/+19
|
* Temporarily disabled shared threads because of a bug. Script were only ↵Tedd Hansen2008-02-031-1/+1
| | | | | | | working on 1 region. :) Using default warning level on C#/VB compile
* Re-enabled AllowedCompilers functionTedd Hansen2008-02-021-1/+1
| | | | | Added notice in OpenSim.ini that config refresh function is disabled
* Almost forgot to check in:Tedd Hansen2008-02-021-1/+1
| | | | | | OpenSim.32BitLaunch.exe is a 32-bit application that loads OpenSim.exe using .Net framework, hence it is JIT-compiled to 32-bit. Use this app to start OpenSim on 64-bit systems (works great on Vista 64 :))
* Note to self: Next time read debug-files on correct computer. It makes ↵Tedd Hansen2008-02-021-1/+1
| | | | bughunting SO much easier! *jeesh*
* Bugfixes. Now it even reads configuration before it uses it! ;)Tedd Hansen2008-02-021-9/+12
|
* Temporarily disabled AllowedCompilers so all 3 compilers are allowed.Tedd Hansen2008-02-022-37/+31
| | | | | Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
* Added header/footer of scripts to make C# and VB scripts much easier to write.Tedd Hansen2008-02-021-8/+46
| | | | | Added some logging on what is happening during compile.
* Bugfix: LSL was mapped to VB.Net compiler ... that didn't work out so well :)Tedd Hansen2008-02-021-3/+3
|
* Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen2008-02-021-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
* Giving Mantis #388 a shotTedd Hansen2008-01-221-2/+3
|
* * 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