aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker2008-09-2525-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.
* Mantis#2123. Thank you kindly, Idb for a patch that solves:Charles Krinke2008-09-252-4/+40
| | | | | | | | | Under both DotNetEngine and XEngine, if an agent's UUID is passed as the parameter to llGetObjectMass(), it throws an exception.
* Rename lots of stuff in DNE to reduce source code differences in theMelanie Thielker2008-09-248-295/+376
| | | | | | | LSL implementation files. Rename lots of stuff in XEngine for the same reason. Move methods between interfaces. Just refactor stuff.
* Mantis #2250Melanie Thielker2008-09-241-1/+1
| | | | | | Make ambiguous implicit conversion from LSLInteger to uint explicit
* Decouple AsyncCommands from XEngine and the script instance. MakeMelanie Thielker2008-09-247-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.
* Update svn properties, formatting cleanup.Jeff Ames2008-09-232-4/+4
|
* Add the missing fileMelanie Thielker2008-09-231-2/+2
|
* Refactor BuiltIn_Commands_BaseClass to ScriptBaseClass to ease the laterMelanie Thielker2008-09-233-214/+214
| | | | | | code merging and transition to Shared/
* 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-234-56/+131
| | | | | | 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-2320-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!
* Add constants wrapping code from XEngine to DNE. This syncs up the parsersMelanie Thielker2008-09-233-370/+9
| | | | | | | between the engines again. Also, committed r60 in opensim libs with the parser source changes.
* Refactor XEngine parser as per suggestions from mikemMelanie Thielker2008-09-235-85/+32
|
* Add file missed in last commit (which never completed)Melanie Thielker2008-09-231-0/+55
|
* Alter tests to match up with the results after tyre's patchMelanie Thielker2008-09-232-29/+19
|
* Mantis #2243Melanie Thielker2008-09-239-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.
* Update the permissions system to handle scripts and notecards the wayMelanie Thielker2008-09-232-2/+2
| | | | | | it was meant to. No functional changes, just better code
* * Apply http://opensimulator.org/mantis/view.php?id=2234Justin Clarke Casey2008-09-222-2/+24
| | | | | | | * Exceptions can thrown by llGetOwnerKey() * Thanks idb
* Remove the script engine identifier tag, so the compiler just seesMelanie Thielker2008-09-222-0/+2
| | | | | | | the language specifier. Makes language specifiers work again with script engine specifiers.
* Prevent scripts from running under multiple engines at onceMelanie Thielker2008-09-222-8/+16
|
* Allows to use the new script engine feature. Begin your script withMelanie Thielker2008-09-212-0/+18
| | | | | | | //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-218-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.
* * minor: warnings removalJustin Clarke Casey2008-09-212-2/+2
|
* Mantis#2233. Thank you kindly, Idb, for a patch that solves:Charles Krinke2008-09-212-0/+14
| | | | | | The constants for llGetParcelDetails were missing for DotNetEngine and XEngine.
* Mantis #2232Melanie Thielker2008-09-214-26/+70
| | | | | | | Thank you, idb, for a patch that fixes an overflow issue in casting string -> int for both engines, and adds tests!
* Mantis #2230Melanie Thielker2008-09-211-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.
* Change XEngine startup to enable it to run as a normal region moduleMelanie Thielker2008-09-211-27/+40
| | | | | | rather than a special one
* Update svn properties, minor formatting cleanup.Jeff Ames2008-09-215-15/+15
|
* XEngine: Fix loading lists from saved stateMelanie Thielker2008-09-201-1/+1
|
* Fix up some ScriptBase detailsMelanie Thielker2008-09-201-10/+9
|
* - Consistency fix: Like llGetNumberOfNotecardLines, llGetNotecardLine ↵Homer Horwitz2008-09-201-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
* * Fix build error, (maybe)Teravus Ovares2008-09-201-3/+4
| | | | | * Might break something.. hard to say.. 0.o
* XEngine: Fix llGetListEntryType to return the correct type for the LSL types.Melanie Thielker2008-09-202-7/+23
| | | | | | Change serialization to omit types it can't deal with.
* Fix Mantis #2215: llGetNotecardLine() not detecting EOF under DNEHomer Horwitz2008-09-201-9/+23
|
* * Duh, forgot I had undone some of the changes I meant to include in the ↵Justin Clarke Casey2008-09-192-14/+7
| | | | previous commit
* * Remove one possible deadlock situation as seen todayJustin Clarke Casey2008-09-191-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
* Guard LLRezObject against NaNMelanie Thielker2008-09-192-2/+6
|
* Mantis #2217Melanie Thielker2008-09-192-2/+18
| | | | | | | Guard against NaN being returned from llRotBetween. Return a zero rotation if the result is NaN.
* Fix issue introduces by a fix in 6256. Fixes mantis #2214Melanie Thielker2008-09-191-4/+6
|
* Fix llParcelMedia queries. Correct types and add a missing ToString() (XEngine)Melanie Thielker2008-09-181-3/+3
|
* * Apply http://opensimulator.org/mantis/view.php?id=2212Justin Clarke Casey2008-09-183-16/+23
| | | | | | | * Update llGetNumberOfNotecardLines() and llGetNotecardLine() to use dataserver on dotnetengine * Thanks M.Igarashi
* XEngine: fix collisions, add event coalescing for collision events.Melanie Thielker2008-09-182-119/+150
| | | | | | | Fix a nasty concurrency issue that could cause a high event frequency to start more than one thread pool job for a single script.
* Remove redundant permissions check in OSSL_Api.csMelanie Thielker2008-09-181-6/+0
|
* Fix list reset behavior, and thereby squash one warningMelanie Thielker2008-09-181-1/+1
|
* From: Robert Smart (SMARTROB@uk.ibm.com)Dr Scofield2008-09-185-8/+202
| | | | | | | | Patch for new scripting method osParseJSON. also, a couple of warning bugs killed.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-09-181-3/+3
|
* Kan-Ed fix series.Melanie Thielker2008-09-181-2/+3
| | | | | | | | Correct a condition where a prim is linked before it has been persisted for the first time and is then persisted through it's former SOG with a bad offset position.
* Another pointless multiplication/division removedMelanie Thielker2008-09-181-2/+2
|
* XEngine API refactor. Fully implement ALL_SIDES with sanity checks.Melanie Thielker2008-09-181-88/+136
| | | | | | | Correct color handling functions to no longer return the inverse color. Remove pointless * 256 / 256 legacy constructs.