aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove all the subclassing complexity and script server interfaces fromMelanie Thielker2008-09-269-2721/+0
| | | | | | | | DNE and move all of DNE into the DotNetEngine directory. Remove references that would cause the script runtime to load the entire engine + scene into each script appdomain. This might help DNE memory consumption.
* Remove interfaces that are no longer used from DNEMelanie Thielker2008-09-262-7/+2
|
* Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.Melanie Thielker2008-09-262-3/+79
| | | | | | | | | The binaries are still different, but that is only a small step away now. The OSSLPrim has been removed. This commit will breal all scripts using Prim.Scale(), etc, syntax. It was not secure and will have to be brought back in another form.
* Some script engine interface changesMelanie Thielker2008-09-251-0/+21
|
* Fix script engine name parsing for DotNetEngine to make that actually workMelanie Thielker2008-09-251-1/+1
| | | | | | Add a reference for Windows builds
* Add an extension to allow registering multiple interfaces of a type withMelanie Thielker2008-09-253-6/+17
| | | | | | | | | | Scene. Make the script engines check that the engine name in the //Engine:language comment is a valid engine and treat it as a normal comment if it's not. //DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since that is it's real internal name. //XEngine: still works
* CONVERGENCE!!!!!!Melanie Thielker2008-09-251-0/+5
| | | | | | | | The entire LSL API is now in the single, shared file OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs This is for both engines. The OSSL function are still separate.
* Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker2008-09-2511-1345/+210
| | | | | | | | and makes it use a common set of types in both engine. Fixes the issues with running both engines and HTTP requests / listens / timers etc.. Also fixes a couple of minor Scene issues and a CTB by nullref.
* Rename lots of stuff in DNE to reduce source code differences in theMelanie Thielker2008-09-242-8/+42
| | | | | | | LSL implementation files. Rename lots of stuff in XEngine for the same reason. Move methods between interfaces. Just refactor stuff.
* Remove some debug outputMelanie Thielker2008-09-231-3/+0
|
* Switches the direct event postings in the API file over to the Shared/Melanie Thielker2008-09-233-18/+21
| | | | | | new style of parameter passing, using the IEventReceiver interface.
* Add IEventReceiver to DNE - a consolidation series patchMelanie Thielker2008-09-233-9/+38
|
* Remove Common/LSL_Types.cs. Both script engines now use a single versionMelanie Thielker2008-09-237-0/+7
| | | | | | | | of the types, located in OpenSim/Region/ScriptEngines/Shared/LSL_Tyoes.cs Also changes the compiler in DotNetEngine to use that. You _will_ need to let your region recompile all your scripts!
* Update the permissions system to handle scripts and notecards the wayMelanie Thielker2008-09-231-1/+1
| | | | | | it was meant to. No functional changes, just better code
* Remove the script engine identifier tag, so the compiler just seesMelanie Thielker2008-09-221-0/+1
| | | | | | | the language specifier. Makes language specifiers work again with script engine specifiers.
* Prevent scripts from running under multiple engines at onceMelanie Thielker2008-09-221-4/+8
|
* Allows to use the new script engine feature. Begin your script withMelanie Thielker2008-09-211-0/+9
| | | | | | | //XEngine: or //DotNetEnine: , optionally followed by a language like //XEngine:lsl, and it will be run on the chosen engine.
* Change the scirpt engine loading mechanism. Script engines are nowMelanie Thielker2008-09-214-27/+60
| | | | | | | | | ordinary region modules and are able to coexist in one instance. See http://opensimulator.org/wiki/ScriptEngines for details. There were changes to OpenSim.ini.example, please note DefaultScriptEngine. Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
* Mantis#2183. Thank you kindly, Ewe Loon for a patch that addresses:Charles Krinke2008-09-142-0/+26
| | | | | | | | | | | | | after using llTakeControls my sim receives about 200 messages per second, l of which get queued , this could be because there is no lag as the viewer and sim are on the same computer. The patch I have included checks to see if the "Changed" param is 0 then searches the EventQueue for Control messages being sent to the same localid, if it finds a message already in the Queue and Changed==0 then the new message is only notifing you the key is being held, since there is already a message the new one isnt needed so it isnt added to the queue.
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-068-97/+97
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Thank you, salahazar, for a patch that corrects the behavior ofMelanie Thielker2008-08-271-4/+4
| | | | | | | llDetectedLink(). Also a small refactor to remove an interface member from IScriptEngine.
* Some complex re-ordering to make prebuild do what needed to be done.Melanie Thielker2008-08-231-0/+1
| | | | | | | | | It is now possible to use module interfaces without referencing Scene. Place those interfaces in OpenSim/Region/Interfaces. They may not use any refs from OpenSim.Region.Environment as parameters. This resolves a circular library ref introduced in r5949
* Formatting cleanup.Jeff Ames2008-08-183-6/+6
|
* Refactor a lot of direct calls to OGS1 to use the cached version instead.Melanie Thielker2008-08-161-3/+4
| | | | | | | Scripts can now no longer DOS the user server and there are a lot fewer gratuitious lookups of user profile data.
* Update svn properties, formatting cleanup, fix a couple compiler warnings.Jeff Ames2008-08-151-1/+1
|
* Mantis#1941. Thank you kindly, Tyre for a patch thatCharles Krinke2008-08-131-34/+4
| | | | | | makes progress in extracting the line number of LSL script execution errors.
* Minor formatting cleanup.Jeff Ames2008-08-121-1/+1
|
* Mantis#1910. Thank you kindly, HomerHorwitz for a patch that:Charles Krinke2008-08-101-1/+5
| | | | | | | | In case you run the server with mono --debug OpenSim.exe line numbers are reported as <filename>:<linenumber>, so no "at line" is found. That led to an exception, which is caught since r5766. The attached patch fixes this for mono;
* Mantis#1899. Thank you kindly, Cmickeyb for a patch that:Charles Krinke2008-08-072-3/+3
| | | | | | | attached are some patches to either comment out direct console writes or to convert them to log writes
* Minor formatting cleanup.Jeff Ames2008-08-071-2/+2
|
* * oops, fix build break from last checkinJustin Clarke Casey2008-08-051-2/+2
|
* * possible fix for event queue problems (exceptions and event count max ↵Justin Clarke Casey2008-08-051-1/+17
| | | | | | | | | exceeded issues) seen in osgrid meeting today * From the logs, I'm guessing probable cause is that an exception generated by a bad index given to substring error line number conversion stopped the script being killed, leading to continuous events that filled up the log (maybe) * Someone will need to go back and fix this properly
* Re-fix r5681. Sorry for the inconvenience. We will now return youMelanie Thielker2008-07-271-0/+1
| | | | | | to your scheduled scripting.
* Addresses Mantis #1611Melanie Thielker2008-07-271-0/+3
| | | | | | | | Set thread culture for event processing threads in DotNetEngine. XEngine already had this. Maybe someone with a French OS can verify the fix.
* Mantis#1690. Thank you kindly, Melanie for a patch that:Charles Krinke2008-07-081-0/+3
| | | | | esets script permissions when a script is recompiled.
* Mantis#1623. Thank you, Melanie for a patch that:Charles Krinke2008-06-282-6/+13
| | | | | | Fully defines the equality operators on the lsl types and plubs in the script engine side of the work begun in 0001616 (aly, this one's for you)
* Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke2008-06-281-1/+1
| | | | | not break trunk.
* last round of warning squashing. calling it a day now.Dr Scofield2008-06-272-5/+5
|
* Update svn properties. Formatting cleanup.Jeff Ames2008-06-101-2/+2
|
* * Fixed it so you can do a lot more llDetected* methods in many additional ↵Teravus Ovares2008-06-082-3/+62
| | | | | | | situations and have it work. * script Collision reporting works now in DotNetEngine
* * Added compiler pre-processor, #if SPAM to SensorRepeat... so if you ↵Teravus Ovares2008-06-081-3/+12
| | | | really want to see, "[AsyncLSL]: GetSensorList missing localID" and SetSensorEvent, then you can #define SPAM
* Mantis#1459. Thank you kindly, CMickeyb for a patch that:Charles Krinke2008-06-051-2/+5
| | | | | | | | | the function that reports errors in event handling is not computing the line numbers correctly for windows paths (and probably linux paths). As a result, the conversion to int throws an exception. note... i'm not sure why we extract the line number, convert it to an int, then convert it back to a string... but hey... :-)
* * This sends collision events to the script engine. Teravus Ovares2008-06-052-9/+79
| | | | | * Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher... so llDetected functions don't work with collision events at the moment....
* applied patch from mantis #1268 , thanks mikemMW2008-06-041-0/+4
|
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-302-12/+12
|
* Mantis#1411. Thank you kindly for Dataserver.cs and a patchCharles Krinke2008-05-292-0/+133
| | | | | | that adds function stub to request region info by name and adds llRequestSimulatorData() and the dataserver event
* Mantis#852. Thank you kindly, cmickeyb for a patch that:Charles Krinke2008-05-291-17/+46
| | | | | | | | | | There appears to be a problem with the mapping of scripts when an llHTTPRequest completes. CheckHttpRequests() looks for a function that maps to the localID associated with the http request. However, the only context in which it looks is that of the first region. That is, m_CmdManager.m_ScriptEngine.m_ScriptManager is the same no matter where the script executed that initiated the llHTTPRequest. Since scripts appear to be loaded into a region specific scriptmanager on startup, the event handler is only found for requests coming from the first region.
* Formatting cleanup.Jeff Ames2008-05-281-1/+1
|
* This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield2008-05-261-1/+1
| | | | | | | | llOwnerSay() via the newly created Scene.SimBroadcast() call.
* * A hacky Top Scripts display. It isn't accurate as far as ms accounting, ↵Teravus Ovares2008-05-252-0/+2
| | | | | | | however you can use it to help find out what scripts are causing your simulator to cry. * Access it from the Estate tools/Debug tab.