aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-26Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.Melanie Thielker18-9970/+8389
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.
2008-09-26Mantis#2265. Thank you kindly, Idb for a patch that:Charles Krinke1-2/+1
Implements the LSL function llGetAttached().
2008-09-25Implement LSL-function llSetClickAction.Homer Horwitz2-1/+13
2008-09-25Some script engine interface changesMelanie Thielker3-6/+27
2008-09-25Implement LSL-function llGetRegionAgentCount.Homer Horwitz1-2/+1
2008-09-25Fix script engine name parsing for DotNetEngine to make that actually workMelanie Thielker2-2/+2
Add a reference for Windows builds
2008-09-25Add an extension to allow registering multiple interfaces of a type withMelanie Thielker6-71/+106
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
2008-09-25Mantis#2017. Thank you kindly, Tyre, for a patch that solves:Charles Krinke1-1/+1
Check the client dialog box (from top menu) WORLD / REGION ESTATE / REGION tab. The client dialog box seems to have a hard limit of about 32 characters per line available for displaying the region version number. Our regions are sending a string which is greater than the limit, causing the client to wrap the text and look ugly.
2008-09-25Fixes an exception that is seen on regions running XEngine, where DNEMelanie Thielker1-8/+3
tries to stop a script that is not run by it
2008-09-25CONVERGENCE!!!!!!Melanie Thielker7-16443/+8347
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.
2008-09-25Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker25-1674/+368
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.
2008-09-25Mantis#2123. Thank you kindly, Idb for a patch that solves:Charles Krinke2-4/+40
Under both DotNetEngine and XEngine, if an agent's UUID is passed as the parameter to llGetObjectMass(), it throws an exception.
2008-09-24Rename lots of stuff in DNE to reduce source code differences in theMelanie Thielker8-295/+376
LSL implementation files. Rename lots of stuff in XEngine for the same reason. Move methods between interfaces. Just refactor stuff.
2008-09-24Mantis #2250Melanie Thielker1-1/+1
Make ambiguous implicit conversion from LSLInteger to uint explicit
2008-09-24Decouple AsyncCommands from XEngine and the script instance. MakeMelanie Thielker7-102/+110
all methods needed outside the API ststic. Async command processing is now wholly internal to the API. This sets the stage for the next convergence step.
2008-09-23Update svn properties, formatting cleanup.Jeff Ames2-4/+4
2008-09-23Add the missing fileMelanie Thielker1-2/+2
2008-09-23Refactor BuiltIn_Commands_BaseClass to ScriptBaseClass to ease the laterMelanie Thielker3-214/+214
code merging and transition to Shared/
2008-09-23Remove some debug outputMelanie Thielker1-3/+0
2008-09-23Switches the direct event postings in the API file over to the Shared/Melanie Thielker4-56/+131
new style of parameter passing, using the IEventReceiver interface.
2008-09-23Add IEventReceiver to DNE - a consolidation series patchMelanie Thielker3-9/+38
2008-09-23Remove Common/LSL_Types.cs. Both script engines now use a single versionMelanie Thielker20-2889/+36
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!
2008-09-23Add constants wrapping code from XEngine to DNE. This syncs up the parsersMelanie Thielker3-370/+9
between the engines again. Also, committed r60 in opensim libs with the parser source changes.
2008-09-23Refactor XEngine parser as per suggestions from mikemMelanie Thielker5-85/+32
2008-09-23Add file missed in last commit (which never completed)Melanie Thielker1-0/+55
2008-09-23Alter tests to match up with the results after tyre's patchMelanie Thielker2-29/+19
2008-09-23Mantis #2243Melanie Thielker9-3873/+3685
Thank you, tyre, for a patch that refactors LSL to use a unified set of method signatures and type names, reorders methods and removes unused and adds new method stubs.
2008-09-23Update the permissions system to handle scripts and notecards the wayMelanie Thielker2-2/+2
it was meant to. No functional changes, just better code
2008-09-22* Apply http://opensimulator.org/mantis/view.php?id=2234Justin Clarke Casey2-2/+24
* Exceptions can thrown by llGetOwnerKey() * Thanks idb
2008-09-22Remove the script engine identifier tag, so the compiler just seesMelanie Thielker2-0/+2
the language specifier. Makes language specifiers work again with script engine specifiers.
2008-09-22Prevent scripts from running under multiple engines at onceMelanie Thielker2-8/+16
2008-09-21Allows to use the new script engine feature. Begin your script withMelanie Thielker2-0/+18
//XEngine: or //DotNetEnine: , optionally followed by a language like //XEngine:lsl, and it will be run on the chosen engine.
2008-09-21Change the scirpt engine loading mechanism. Script engines are nowMelanie Thielker8-441/+95
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.
2008-09-21* minor: warnings removalJustin Clarke Casey2-2/+2
2008-09-21Mantis#2233. Thank you kindly, Idb, for a patch that solves:Charles Krinke2-0/+14
The constants for llGetParcelDetails were missing for DotNetEngine and XEngine.
2008-09-21Mantis #2232Melanie Thielker4-26/+70
Thank you, idb, for a patch that fixes an overflow issue in casting string -> int for both engines, and adds tests!
2008-09-21Mantis #2230Melanie Thielker1-0/+12
The result of constants arithmetic can be a CLI type. This allows floating point CLI types to be parsed out of lists properly.
2008-09-21Change XEngine startup to enable it to run as a normal region moduleMelanie Thielker1-27/+40
rather than a special one
2008-09-21Update svn properties, minor formatting cleanup.Jeff Ames5-15/+15
2008-09-20XEngine: Fix loading lists from saved stateMelanie Thielker1-1/+1
2008-09-20Fix up some ScriptBase detailsMelanie Thielker1-10/+9
2008-09-20- Consistency fix: Like llGetNumberOfNotecardLines, llGetNotecardLine ↵Homer Horwitz1-1/+13
returns NULL_KEY on error now - Conformance fix: If the notecard can't be found, shout on DEBUG_CHANNEL as the docs state - Bug fix: Don't let llGetNotecardLine throw an exception on freshly created notecards
2008-09-20* Fix build error, (maybe)Teravus Ovares1-3/+4
* Might break something.. hard to say.. 0.o
2008-09-20XEngine: Fix llGetListEntryType to return the correct type for the LSL types.Melanie Thielker2-7/+23
Change serialization to omit types it can't deal with.
2008-09-20Fix Mantis #2215: llGetNotecardLine() not detecting EOF under DNEHomer Horwitz1-9/+23
2008-09-19* Duh, forgot I had undone some of the changes I meant to include in the ↵Justin Clarke Casey2-14/+7
previous commit
2008-09-19* Remove one possible deadlock situation as seen todayJustin Clarke Casey1-1/+7
* On script rez, XEngine was taking an m_scripts lock and then later on an m_parts lock when looking for a part by local id * In the meantime, a scene object being deleted would take an m_parts lock and then later on try to take an m_scripts lock when it tried to trigger script removal * There may be better ways to resolve this, but I believe that in general, we must always take an m_parts lock before an m_scripts lock
2008-09-19Guard LLRezObject against NaNMelanie Thielker2-2/+6
2008-09-19Mantis #2217Melanie Thielker2-2/+18
Guard against NaN being returned from llRotBetween. Return a zero rotation if the result is NaN.
2008-09-19Fix issue introduces by a fix in 6256. Fixes mantis #2214Melanie Thielker1-4/+6