aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Marking off which uses of catch (Exception e) is legit and which are not, ↵Adam Frisby2008-02-064-9/+9
| | | | for later removal/replacement.
* Cleaned up some unreachable code warnings.Jeff Ames2008-02-061-10/+0
|
* Fixed typo in Mag() (Thanks lc_tuco for pointing this out)Jeff Ames2008-02-061-1/+1
|
* * Added Active Scripts to report the number of scripts running to Sim Stats Teravus Ovares2008-02-061-6/+340
| | | | | | | * Added Script Performance to report the number of functions run per second to Sim Stats. * Removed a few warnings (@.@ up to 50 now)
* 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
* Somehow llList2Float never made it into LSL_BaseClass and ↵alondria2008-02-063-1/+6
| | | | LSL_BuiltIn_Commands_Interface - it is now (and foxes Mantis 395)
* Converted logging to use log4net.Jeff Ames2008-02-0519-155/+125
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* Added explicit Quaternion->string and list->string conversions.alondria2008-02-053-2/+116
| | | | | Some preliminary work on llSetStatus and llGetStatus.
* 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.
* * Refactored the sound calls to SceneObjectPart Teravus Ovares2008-02-051-114/+5
| | | | | | * Fixed a few bugs * Wrote an example module to make certain event systems more mature.
* Added copyright statements.Jeff Ames2008-02-054-15/+117
|
* Patch from mikkopa/_someone Thanks! adds support for llPreloadSound, ↵Teravus Ovares2008-02-041-4/+92
| | | | | | | llTriggerSound, llPlaySound, llPreloadSound. * Time to make music boxes?
* * 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
|
* * Whole buncha stuff.Adam Frisby2008-02-041-0/+12
|
* Added llRot2Fwd, llRot2Left, and llRot2Up as well as explicit vector->string ↵alondria2008-02-032-3/+8
| | | | | | | casting. (Thanks to dalien on informing me how easy the math was for these).
* Temporarily disabled shared threads because of a bug. Script were only ↵Tedd Hansen2008-02-033-3/+5
| | | | | | | working on 1 region. :) Using default warning level on C#/VB compile
* Implements LSL function llDialog().alondria2008-02-021-1/+13
| | | | | The ScriptDialogReply packet handler is a bit of a hack job. It is currently handled similar to ChatFromViewer, which will trigger the listen() event, however this is not exactly how LL's implementation works and will/can be fixed up later.
* Added llParseString2List (and a few extra methods to LSL_Types.list).alondria2008-02-024-5/+74
|
* * Added Full support for llSetTextureAnim. To ckrinke: Let the fountains ↵Teravus Ovares2008-02-021-1/+10
| | | | | | | | of Wright Plaza flow! * Fixed another bug in LibSL. This is the same version, as before just with a bug fix.
* fixed a timing bug in config re-read. Apparently there is 1000000000 ns in ↵Tedd Hansen2008-02-022-9/+10
| | | | one second...
* Added commands to change config file from console:Tedd Hansen2008-02-021-6/+6
| | | | | | | | | CONFIG SET section key value value value CONFIG GET section key CONFIG SAVE (it saves, but does it save correctly?:) ScriptEngine will react correctly to any config change made while it is running.
* Updated svn properties.Jeff Ames2008-02-024-800/+800
|
* 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-024-16/+27
|
* 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? :)
* * Committing some untested stuff regarding texture animations. This won't ↵Teravus Ovares2008-02-021-1/+10
| | | | break anything, but the llSetTextureAnim function is completely untested.. (though it may be functional once the script engine works again)
* 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-025-21/+86
| | | | | | | 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-023-37/+236
| | | | | | | | | | | | 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-026-30/+40
| | | | | | | OpenSim in 32-bit mode. Fixed ScriptEngine.Common startup problems.
* Forgot to create an object before use. Now why can't .Net just do that ↵Tedd Hansen2008-02-021-7/+10
| | | | itself? :)
* Added some error checking to MaintenanceThread, no-crash (just log) loading ↵Tedd Hansen2008-02-021-27/+31
| | | | of script engines, and support to load multiple script engines
* Moved iniFilePath to a static and put it in OpenSim.Application.iniFilePath.Tedd Hansen2008-02-011-2/+9
| | | | | | Refreshing config based on this. Temporarily disabled feature to refresh config file while running.
* Bugfix, maybe it won't crash during startup and crash somewhere else instead? :)Tedd Hansen2008-02-011-1/+2
|
* SCRIPTING STILL BROKENTedd Hansen2008-02-0116-402/+602
| | | | | | | | | | | 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
* SCRIPT SUPPORT IS STILL BROKEN.Tedd Hansen2008-02-014-189/+412
| | | | | | | | | | | | | | Bugfix: Scripts exceeding max and set to be killed were not killed, only removed. Added ability to re-read configuration while OpenSim is running All regions now sharing one MaintenanceThread New MaintenanceThread: - checks for script execution timeout - re-reads config - starts/stops threads if thread active count becomes too high/low compared to config Speed increase on event execution: - Reuse of try{}catch{} blocks - Time calculation on event execution
* Config option to set number of scripts per AppDomainTedd Hansen2008-02-012-2/+3
|
* Added config options:Tedd Hansen2008-02-012-2/+46
| | | | | | ScriptThreadPriority to set script thread priority DeactivateScriptOnTimeout to remove script if it is executing too long
* Removed "Loading inventory for Primitive" message.Tedd Hansen2008-02-011-1/+1
| | | | | Fixed small bug in thread counter.
* ExperimentalTedd Hansen2008-02-015-9/+67
| | | | | | Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
* Highly experimentalTedd Hansen2008-02-012-149/+300
| | | | | A separate thread is used to enforce max function (event) execution time for scripts.
* Fixed errors being thrown by invalid PSYS_SRC_TARGET_KEY's in ↵alondria2008-02-011-1/+9
| | | | | | | llParticleSystem - defaults to source prim (consistent with LL grid). Should fix mantis 427.
* Thanks to Hashbox for a patch to:alondria2008-02-013-2/+25
| | | | | | Implementing llStringTrim and hooking in osRegionNotice
* * Added more supported feature to particlesystems. While this appears to ↵Teravus Ovares2008-02-011-3/+28
| | | | | | | | have a libsl update... it's really a fix to the libsl version we're already using because of a bug in the particlesystem implementation * Added two new simstat counters in the simstat enum for the RCCS. (I'll find something cool to put in them) * fixed a time waster in ODEPlugin.cs
* * Adding limited support for LLParticleSystem.Teravus Ovares2008-01-311-14/+38
| | | | | | | * We still need to set the 'default particle' texture as, a particle system with no texture set doesn't work. * The particle System Flags don't seem to be quite right yet as some flags don't seem to have an effect. So no alpha in/out, color change, affected by the wind, etc.. yet * Thanks to Alondria for some massive work here. This update just tweaks a few things that she did.
* Hit a dead end with llParticleSystem (libsecondlife issues) so no ↵alondria2008-01-313-25/+50
| | | | functionality added yet, but did not want to loose work.