aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Adapt tests to new friendly errors and correct line numbersMelanie Thielker2008-10-071-2/+2
|
* Restore "friendly errors" to the XEngineMelanie Thielker2008-10-073-29/+22
|
* * Apply http://opensimulator.org/mantis/view.php?id=2345Justin Clarke Casey2008-10-071-16/+12
| | | | | | | * Bring llSetLinkTexture into line with llSetLinkColor and lLSetLinkPrimitiveParams() implementations * Thanks ralphos
* * Apply http://opensimulator.org/mantis/view.php?id=1207Justin Clarke Casey2008-10-071-1/+6
| | | | | | | * Implmements llModifyLand() and a check for the "Allow others to terraform flag" * Thanks tglion!
* From: chris yeoh <yeohc@au1.ibm.com>Dr Scofield2008-10-071-16/+13
| | | | | | | | | | | | | | | | | The attached patch fixes mantis bug 2312 (llGetPos() returns incorrect values for child prims where the root prim is rotated). Regression tests still pass. Incidentally AbsolutePosition which was used before looks a little suspicious to me as its always going to return the wrong value if the root prim is rotated. GetWorldPosition does take the rotation into account, but AbsolutePosition is used in a lot of places. Though i don't understand why there is both GetWorldPosition as well as AbsolutePosition so I've left the latter alone. [i also cleaned up some indent problems, --- dr scofield]
* From: chris yeoh <yeohc@au1.ibm.com>Dr Scofield2008-10-071-2/+3
| | | | | | | | | | | | | | | | Attached is a patch for LLGround which was just plain broken and could cause a runtime error. It now returns valid data with valid input (ie the offset does not take the position off the edge of the sim), but a runtime error will occur if invalid data is given. On invalid data the LL servers return the ground height based on a valid point closest to the effective position calculated using the supplied offset. Is the OpenSim convention to replicate the LL servers as closely as possible? If so I can submit an additional patch to replicate the LL behaviour.
* Mantis#2342. Thank you kindly, Ralphos for a patch that solves:Charles Krinke2008-10-061-78/+10
| | | | | | | llSetLinkApha is not fully implemented and has not been updated to use the recently added GetLinkParts and associated implementation pattern as per llSetLinkColor and llSetLinkPrimitiveParams.
* Revert r6697 patch as the build fails.Charles Krinke2008-10-061-6/+1
|
* Mantis#2336. Thank you kindly, Ralphos for a patch that:Charles Krinke2008-10-061-3/+8
| | | | | | | | Prevent EventAbortException inner exceptions of TargetInvocationException being re-thrown from OpenSim.Region.ScriptEngine.Shared.ScriptBase. Executor.ExecuteEvent
* Mantis#1207. Thank you, TGlion for a patch that addresses:Charles Krinke2008-10-061-1/+6
| | | | | | | | | | Implementation of llModifyLand() and There is a bug on permission-check of land-terraforming: x an y-coordinates are interchanged on function-call ExternalChecksCanTerraformLand. Correct: x is west, and y is north. 2) Missing check of "Other allow to terraform-flag" (Parcel.ParcelFlags.AllowTerraform)
* Update svn properties, minor formatting cleanup.Jeff Ames2008-10-055-27/+27
|
* Mantis#2316. Thank you kindly, CMickeyb for a patch that:Charles Krinke2008-10-041-2/+14
| | | | | | | | | | | | Addresses llDie issues. The attached patch catches run time exceptions that occur during method invocation (of type TargetInvocationException) and exposes the internal exception. This makes it possible to pass out the SelfDeleteException. Also added handlers in a couple places to make sure that exception was being passed out far enough to be handled correctly. Tested on DNE.
* Guard against negative scale set through LSL functionsMelanie Thielker2008-10-041-0/+3
|
* Reintroduces the discovery mechanism to use llRequestSimulatorData("", 128)Melanie Thielker2008-10-033-13/+22
| | | | | | | Causes the dataserver event to return "OpenSim" when running on OpenSim. Requires ThreatLevel to be "High" or above to function.
* Mantis#2307. Thank you kindly, Godfrey for a patch that solves:Charles Krinke2008-10-031-11/+7
| | | | | | | | | | | In Second Life's implementation of llParseString2List(), all spacer strings which occur within the source string are included in the resulting list. In OpenSim's implementation, any spacers occurring at the beginning of the string are discarded; furthermore, if multiple spacers occur between non-spacer elements, or at the end of the source string, only the first spacer is added to the resulting list; the remainder are discarded.
* Mantis #2317Melanie Thielker2008-10-034-3/+20
| | | | | | | | Thank you, fusspawn, for an implementation of osGetSimulatorVersion. This patch removes the llRequestSimulatorData(..., 128) hack and implements the functionality as an osFunction.
* - Added SendScriptTeleportRequest to IClientView and classes implementing it.Homer Horwitz2008-10-011-2/+11
| | | | | | - Implemented llMapDestination.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-09-301-1/+1
|
* Mantis#2300. Thank you kindly, Idb for a patch that solves:Charles Krinke2008-09-303-32/+33
| | | | | | | | | A number of the deprecated functions had missing parameters causing compile errors. These included: llSound, llMakeExplosion, llMakeFountain, llMakeSmoke, llMakeFire, llPointAt, llXorBase64Strings, llSetPrimURL
* Mantis#2299. Thank you kindly, Idb for a patch that:Charles Krinke2008-09-293-12/+20
| | | | | | | | | | OS/SL script conformance, implement llSoundPreload and llRemoteLoadScript to behave as in SL. In SL llSoundPreload appears to do nothing. In OS llRemoteLoadScript shouts an error when invoked "Deprecated. Please use llRemoteLoadScriptPin instead."
* From: rob smart (smartrob@uk.ibm.com)Dr Scofield2008-09-291-6/+22
| | | | | | minor fixes to osParseJSON.
* Mantis #2293Melanie Thielker2008-09-291-0/+3
| | | | | | | Fix a null reference exception when the exception thrown by a script is not a TargetInvocationException
* Implement the plumbing for llSetVehicleType from the LSLCharles Krinke2008-09-281-1/+7
| | | | | | subroutine down through the physics modules through PhysActor and SceneObjectPart. No connection to the physics simulators.
* Added the plumbing for llSetVehicleRotationParamCharles Krinke2008-09-281-1/+14
| | | | | | in the classes between the LSL implementation and the underlying physics engines.
* A little bit further with LLSetVehicleVectorParam.Charles Krinke2008-09-281-1/+8
|
* Plumb the connection though from llSetVehicleVectorParamCharles Krinke2008-09-281-1/+1
| | | | | | | to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
* Mantis #1922Melanie Thielker2008-09-282-1/+2
| | | | | | | Thank you, idb, for a patch that addresses hex digits erroneously being recognized as valid and parsed in a decimal number
* Remove llSetVehicledoubleParam. It does not exist.Charles Krinke2008-09-281-6/+0
| | | | | It was a mistake a year ago to add it in.
* Plumb the connection through from llSetVehicleFloatParamCharles Krinke2008-09-281-1/+8
| | | | | | | to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
* Mantis#2287. Thank you kindly, Idb for a patch that solves:Charles Krinke2008-09-281-5/+58
| | | | | | | | The current llGetLinkName returns an empty string if a prim with the given link number is not found in the link set. In SL an empty string is only returned if the prim name is actually blank, a NULL_KEY is returned instead with a couple of exceptions.
* Update unit testsMelanie Thielker2008-09-271-13/+6
|
* Add friendly error messages to both engines.Melanie Thielker2008-09-273-75/+220
|
* Mantis #2277Melanie Thielker2008-09-262-2/+1
| | | | | | Patch up a type name change in libomv. Thanks for tracking that down, idb
* Fix listeners in multi-region instancesMelanie Thielker2008-09-261-3/+3
|
* Thank you, idb, for a patch that implements the stubs for llGetAgentLanguage()Melanie Thielker2008-09-263-0/+13
|
* * Patch from JHurlimanTeravus Ovares2008-09-262-21/+27
| | | | | | | | | * Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
* Compiler Connection! One world, one compiler!Melanie Thielker2008-09-261-2/+2
|
* * Apply http://opensimulator.org/mantis/view.php?id=2274Justin Clarke Casey2008-09-261-1/+3
| | | | | | | * Reapply homer's click action implementation, which accidentally got blatted * Thanks tyre
* Bringing the OSSLPrim back. Prim.Rotation, etc, will now work again.Melanie Thielker2008-09-262-1/+187
| | | | | | As a bonus, the OSSLPrim has now come to XEngine, too!
* Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.Melanie Thielker2008-09-265-8312/+8232
| | | | | | | | | 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.
* Mantis#2265. Thank you kindly, Idb for a patch that:Charles Krinke2008-09-261-2/+1
| | | | | Implements the LSL function llGetAttached().
* Implement LSL-function llSetClickAction.Homer Horwitz2008-09-252-1/+13
|
* Implement LSL-function llGetRegionAgentCount.Homer Horwitz2008-09-251-2/+1
|
* Add an extension to allow registering multiple interfaces of a type withMelanie Thielker2008-09-252-62/+66
| | | | | | | | | | 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
* Mantis#2017. Thank you kindly, Tyre, for a patch that solves:Charles Krinke2008-09-251-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.
* CONVERGENCE!!!!!!Melanie Thielker2008-09-252-8221/+8300
| | | | | | | | 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-257-92/+80
| | | | | | | | 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-251-2/+20
| | | | | | | | | 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-242-13/+13
| | | | | | | 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