aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed LSL State support.Teravus Ovares2008-04-151-33/+43
| | | | | | | | * Re-applied Tedd's patch that got overwritten. * Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s]) * Added a state(string) method to BuiltIn_Commands_BaseClass
* **Big ass update warning**Adam Frisby2008-03-301-0/+23
| | | | | | | | * Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>". * Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax. * New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class. * Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
* Fix a couple more warnings.Jeff Ames2008-03-251-5/+5
|
* * Applied Grumly57 patch for #781; Thanks, Grumly!lbsa712008-03-181-7/+7
|
* Formatting cleanup.Jeff Ames2008-03-185-136/+131
|
* Ok, so NOW scripts work. New patch to break them coming soon.Tedd Hansen2008-02-241-1/+1
|
* 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 :)
* Changed so "BuiltIn_Commands" given to scripts is easily extendable. Added ↵Tedd Hansen2008-02-241-3/+1
| | | | new OSSL_BuilIn_Commands class where we can start adding our own modular 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.
* Clean up logging calls using String.Format explicitlyJeff Ames2008-02-101-1/+1
|
* * 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-062-5/+5
| | | | 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-053-30/+28
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* Reverted MySQLDataStore.cs to not use static mutexes any more, patch didn't ↵Tedd Hansen2008-02-051-1/+0
| | | | | | | work anyway. Added js to OpenSim.ini.example.
* * 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-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
|