aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-022-16/+21
|
* 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-022-8/+49
| | | | | 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 load/unload queue size limitTedd Hansen2008-02-021-3/+3
| | | | | | | Added option to share script load/unload thread between regions Added event execution queue size limit + some bugfixes from all the changes
* Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen2008-02-022-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
* Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen2008-02-022-9/+9
| | | | | | | OpenSim in 32-bit mode. Fixed ScriptEngine.Common startup problems.
* SCRIPTING STILL BROKENTedd Hansen2008-02-012-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
* ExperimentalTedd Hansen2008-02-011-0/+6
| | | | | | Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
* Giving Mantis #388 a shotTedd Hansen2008-01-221-2/+3
|
* Small bug in ResetScriptTedd Hansen2008-01-212-11/+1
|
* Added data structure to be passed through event execution queue so that ↵Tedd Hansen2008-01-171-1/+2
| | | | events can use llDetect*-commands to find information about event.
* * Mother of all commits:Adam Frisby2008-01-154-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.
* Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen2008-01-1212-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.
* ScriptServer communication is ok. Script is creatd on onrez. But since it ↵Tedd Hansen2008-01-124-26/+58
| | | | | | | can not access Scene it sort of crashes right away ;) Added some sample placeholders for implementing rest of LSL events.
* Implements llModifyLand() - Still needs some tweaking to match LL's effect ↵alondria2008-01-121-0/+59
| | | | on how much to effect the land.
* Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to ↵alondria2008-01-121-0/+15
| | | | LSL_BaseClass to allow them to be called in LSL scripts.
* Fix some warnings under mono.Jeff Ames2008-01-111-2/+2
|
* Added const definintions for sculpted prims.Tedd Hansen2008-01-101-1/+7
|
* Dynamic loading of ScriptEngine in ScriptServerTedd Hansen2008-01-091-1/+7
| | | | | ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
* Only one queue is used for load/unload of scripts.Tedd Hansen2008-01-051-19/+22
| | | | | So loading/unloading of scripts are now done in same sequence as they are called.
* Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.Tedd Hansen2008-01-051-1/+1
| | | | | Some debug info for startup added to find bugs. ++
* Fixed string issue in compilerTedd Hansen2008-01-011-1/+1
|
* Correction of last commitTedd Hansen2007-12-312-97/+97
|
* Changed type comparison from String to object typeTedd Hansen2007-12-311-9/+9
|
* server->script event path almost ready for remote scriptengine (translation ↵Tedd Hansen2007-12-302-46/+41
| | | | table between local script ID and remote script ID missing)
* In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen2007-12-304-1/+20
|
* Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen2007-12-306-0/+68
|
* * Optimized usingslbsa712007-12-2710-61/+68
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * AssetServerBase: _ProcessRequest is now called GetAssetlbsa712007-12-271-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.
* * Fixed compile issue caused by half-refactoring (sorrry!)Adam Frisby2007-12-271-1/+12
|
* * Added osRegionRestart(float secs) to LSL CommandsAdam Frisby2007-12-271-2/+27
| | | | | | * Added osRegionNotice(string msg) to LSL Commands * Added PermissionManager checks for osTerrainSetHeight, osRegionRestart.
* * Added osTerrainSetHeight(int x, int y, double val) to LSL commandsAdam Frisby2007-12-271-0/+11
| | | | | * Added osTerrainGetHeight(int x, int y) to LSL commands
* * Added slightly better object sit handlingTeravus Ovares2007-12-271-3/+11
| | | | | | | | * Added sit handling for sit targets * Implemented llSitTarget() * Implemented llAvatarOnSitTarget() * Sit targets do not persist sim restart.
* Again, great thanks to Alondria for:Charles Krinke2007-12-242-24/+81
| | | | | | | | Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel()
* * Patch from Alondria - Added LLFunctions llGetMass(), llGetLandOwnerAt(), ↵Teravus Ovares2007-12-231-8/+6
| | | | llGetVel(), llGround()
* Thank you, Alondria for:Charles Krinke2007-12-221-3/+32
| | | | | Reverts the LSL Texture/Color functions back to the original code, allowing them to function again
* Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames2007-12-201-25/+11
| | | | Works with LibSL rev>1532
* Thank you very much, CharlieO for:Charles Krinke2007-12-191-4/+114
| | | | | Added: llSetLinkAlpha() and finished off llSetLinkColor() by adding the ability to use LINK_SET.
* Thanks to CharlieO for:Charles Krinke2007-12-191-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.
* Many Thanks to Alondria for adding:Charles Krinke2007-12-183-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>)
* Again, thanks to Alondria for:Charles Krinke2007-12-172-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)
* Thanks again to Alondria for adding: math support forCharles Krinke2007-12-152-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()
* Again, thanks to Alondria for: adding llGetTime, llResetTime, and ↵Charles Krinke2007-12-142-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.
* From Michael Osias (IBM)Sean Dague2007-12-132-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.
* From Michael Osias (IBM)Sean Dague2007-12-123-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