aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-02Almost forgot to check in:Tedd Hansen1-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 :))
2008-02-02Note to self: Next time read debug-files on correct computer. It makes ↵Tedd Hansen1-1/+1
bughunting SO much easier! *jeesh*
2008-02-02Bugfixes. Now it even reads configuration before it uses it! ;)Tedd Hansen2-16/+21
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 Hansen2-8/+49
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 load/unload queue size limitTedd Hansen1-3/+3
Added option to share script load/unload thread between regions Added event execution queue size limit + some bugfixes from all the changes
2008-02-02Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen2-36/+230
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-02-02Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen2-9/+9
OpenSim in 32-bit mode. Fixed ScriptEngine.Common startup problems.
2008-02-01SCRIPTING STILL BROKENTedd Hansen2-2/+2
Added comments and regions, restructured code Changed a lot of AppDomain junk from console from using Console.Write to Log.Verbose and set it to #if DEBUG All modules should now refresh their configuration runtime Made all logging in ScriptEngine.Common get script name from actual engine Renamed LSLLongCmdHandler to AsyncLSLCommandManager Added auto-recover with 5 sec throttle for new MaintenanceThread
2008-02-01ExperimentalTedd Hansen1-0/+6
Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
2008-01-22Giving Mantis #388 a shotTedd Hansen1-2/+3
2008-01-21Small bug in ResetScriptTedd Hansen2-11/+1
2008-01-17Added data structure to be passed through event execution queue so that ↵Tedd Hansen1-1/+2
events can use llDetect*-commands to find information about event.
2008-01-15* Mother of all commits:Adam Frisby4-21/+50
* 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 Hansen12-6898/+83
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-12ScriptServer communication is ok. Script is creatd on onrez. But since it ↵Tedd Hansen4-26/+58
can not access Scene it sort of crashes right away ;) Added some sample placeholders for implementing rest of LSL events.
2008-01-12Implements llModifyLand() - Still needs some tweaking to match LL's effect ↵alondria1-0/+59
on how much to effect the land.
2008-01-12Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to ↵alondria1-0/+15
LSL_BaseClass to allow them to be called in LSL scripts.
2008-01-11Fix some warnings under mono.Jeff Ames1-2/+2
2008-01-10Added const definintions for sculpted prims.Tedd Hansen1-1/+7
2008-01-09Dynamic loading of ScriptEngine in ScriptServerTedd Hansen1-1/+7
ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
2008-01-05Only one queue is used for load/unload of scripts.Tedd Hansen1-19/+22
So loading/unloading of scripts are now done in same sequence as they are called.
2008-01-05Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.Tedd Hansen1-1/+1
Some debug info for startup added to find bugs. ++
2008-01-01Fixed string issue in compilerTedd Hansen1-1/+1
2007-12-31Correction of last commitTedd Hansen2-97/+97
2007-12-31Changed type comparison from String to object typeTedd Hansen1-9/+9
2007-12-30server->script event path almost ready for remote scriptengine (translation ↵Tedd Hansen2-46/+41
table between local script ID and remote script ID missing)
2007-12-30In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen4-1/+20
2007-12-30Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen6-0/+68
2007-12-27* Optimized usingslbsa7110-61/+68
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-27* AssetServerBase: _ProcessRequest is now called GetAssetlbsa711-16/+17
* PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility. * Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
2007-12-27* Fixed compile issue caused by half-refactoring (sorrry!)Adam Frisby1-1/+12
2007-12-27* Added osRegionRestart(float secs) to LSL CommandsAdam Frisby1-2/+27
* Added osRegionNotice(string msg) to LSL Commands * Added PermissionManager checks for osTerrainSetHeight, osRegionRestart.
2007-12-27* Added osTerrainSetHeight(int x, int y, double val) to LSL commandsAdam Frisby1-0/+11
* Added osTerrainGetHeight(int x, int y) to LSL commands
2007-12-27* Added slightly better object sit handlingTeravus Ovares1-3/+11
* Added sit handling for sit targets * Implemented llSitTarget() * Implemented llAvatarOnSitTarget() * Sit targets do not persist sim restart.
2007-12-24Again, great thanks to Alondria for:Charles Krinke2-24/+81
Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel()
2007-12-23* Patch from Alondria - Added LLFunctions llGetMass(), llGetLandOwnerAt(), ↵Teravus Ovares1-8/+6
llGetVel(), llGround()
2007-12-22Thank you, Alondria for:Charles Krinke1-3/+32
Reverts the LSL Texture/Color functions back to the original code, allowing them to function again
2007-12-20Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames1-25/+11
Works with LibSL rev>1532
2007-12-19Thank you very much, CharlieO for:Charles Krinke1-4/+114
Added: llSetLinkAlpha() and finished off llSetLinkColor() by adding the ability to use LINK_SET.
2007-12-19Thanks to CharlieO for:Charles Krinke1-2/+47
llSetLinkColor() and a temp place holder for llOwnerSay() since many example scripts that are copy/pasted from outside sources have llOwnerSay() and its obnoxious to change in scripts each time.
2007-12-18Many Thanks to Alondria for adding:Charles Krinke3-214/+319
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 Krinke2-12/+29
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 Krinke2-20/+31
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 Krinke2-8/+10
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-13From Michael Osias (IBM)Sean Dague2-6/+9
This patch makes some enhancements to the llRemoteData functions. The module is now a shared module, and allows remote data channels to be created among multiple regions in the same sim. The port is controlled from the remoteDataPort property under the [Network] section in OpenSim.ini. If this setting is not present or = 0, the module is disabled and no port is opened. llRemoteData commands have not effect when module is disabled.
2007-12-12From Michael Osias (IBM)Sean Dague3-118/+59
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-12Thanks to Alondria for:Charles Krinke2-14/+21
llResetScript() is now functional. With this patch, Kan-script 0000003 should run. Noted the llListen(0,"","","") errored due to "" != UUID - patched to set to NULL_KEY which then works to listen to everything.
2007-12-12Thanks to Alondria for: Adding vector->string and rotation->string,Charles Krinke1-53/+53
float * vector, vector * float, vector / float, vector + vector, vector - vector, vector * vector, vector % vector and changing x, y, z, (and r) parts of vector and rotation to be lower case (similar to LL's LSL vectors/rots). With these changes we should expect to run kan-ed#1, kan-ed#2 and most of kan-ed#3.