aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-10-09* Apply http://opensimulator.org/mantis/view.php?id=2370Justin Clarke Casey1-164/+16
* Refactor lLMessageLinked() to use internal method GetLinkParts * thanks ralphos
2008-10-08Mantis#2352. Thank you kindly, Jonc for a patch that:Charles Krinke1-2/+4
If prim is part of SOG, then ask the SOG to update the position, rather than asking the part itself. Ghosted child prims should no longer result from llSetPos. Not sure if this is the right approach for all cases , would appreciate feedback on the patch.
2008-10-08Mantis#1906. Thank you kindly, Idb for a patch that:Charles Krinke1-18/+1
Removed cache accesses to obtain sensed object/avatar name, it is already available.
2008-10-07Adapt tests to new friendly errors and correct line numbersMelanie Thielker1-2/+2
2008-10-07Restore "friendly errors" to the XEngineMelanie Thielker3-29/+22
2008-10-07* Apply http://opensimulator.org/mantis/view.php?id=2345Justin Clarke Casey1-16/+12
* Bring llSetLinkTexture into line with llSetLinkColor and lLSetLinkPrimitiveParams() implementations * Thanks ralphos
2008-10-07* Apply http://opensimulator.org/mantis/view.php?id=1207Justin Clarke Casey1-1/+6
* Implmements llModifyLand() and a check for the "Allow others to terraform flag" * Thanks tglion!
2008-10-07From: chris yeoh <yeohc@au1.ibm.com>Dr Scofield1-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]
2008-10-07From: chris yeoh <yeohc@au1.ibm.com>Dr Scofield1-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.
2008-10-06Mantis#2342. Thank you kindly, Ralphos for a patch that solves:Charles Krinke1-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.
2008-10-06Revert r6697 patch as the build fails.Charles Krinke1-6/+1
2008-10-06Mantis#2336. Thank you kindly, Ralphos for a patch that:Charles Krinke1-3/+8
Prevent EventAbortException inner exceptions of TargetInvocationException being re-thrown from OpenSim.Region.ScriptEngine.Shared.ScriptBase. Executor.ExecuteEvent
2008-10-06Mantis#1207. Thank you, TGlion for a patch that addresses:Charles Krinke1-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)
2008-10-05Update svn properties, minor formatting cleanup.Jeff Ames5-27/+27
2008-10-04Mantis#2316. Thank you kindly, CMickeyb for a patch that:Charles Krinke1-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.
2008-10-04Guard against negative scale set through LSL functionsMelanie Thielker1-0/+3
2008-10-03Reintroduces the discovery mechanism to use llRequestSimulatorData("", 128)Melanie Thielker3-13/+22
Causes the dataserver event to return "OpenSim" when running on OpenSim. Requires ThreatLevel to be "High" or above to function.
2008-10-03Mantis#2307. Thank you kindly, Godfrey for a patch that solves:Charles Krinke1-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.
2008-10-03Mantis #2317Melanie Thielker4-3/+20
Thank you, fusspawn, for an implementation of osGetSimulatorVersion. This patch removes the llRequestSimulatorData(..., 128) hack and implements the functionality as an osFunction.
2008-10-01- Added SendScriptTeleportRequest to IClientView and classes implementing it.Homer Horwitz1-2/+11
- Implemented llMapDestination.
2008-09-30Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2008-09-30Mantis#2300. Thank you kindly, Idb for a patch that solves:Charles Krinke3-32/+33
A number of the deprecated functions had missing parameters causing compile errors. These included: llSound, llMakeExplosion, llMakeFountain, llMakeSmoke, llMakeFire, llPointAt, llXorBase64Strings, llSetPrimURL
2008-09-29Mantis#2299. Thank you kindly, Idb for a patch that:Charles Krinke3-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."
2008-09-29From: rob smart (smartrob@uk.ibm.com)Dr Scofield1-6/+22
minor fixes to osParseJSON.
2008-09-29Mantis #2293Melanie Thielker1-0/+3
Fix a null reference exception when the exception thrown by a script is not a TargetInvocationException
2008-09-28Implement the plumbing for llSetVehicleType from the LSLCharles Krinke1-1/+7
subroutine down through the physics modules through PhysActor and SceneObjectPart. No connection to the physics simulators.
2008-09-28Added the plumbing for llSetVehicleRotationParamCharles Krinke1-1/+14
in the classes between the LSL implementation and the underlying physics engines.
2008-09-28A little bit further with LLSetVehicleVectorParam.Charles Krinke1-1/+8
2008-09-28Plumb the connection though from llSetVehicleVectorParamCharles Krinke1-1/+1
to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
2008-09-28Mantis #1922Melanie Thielker2-1/+2
Thank you, idb, for a patch that addresses hex digits erroneously being recognized as valid and parsed in a decimal number
2008-09-28Remove llSetVehicledoubleParam. It does not exist.Charles Krinke1-6/+0
It was a mistake a year ago to add it in.
2008-09-28Plumb the connection through from llSetVehicleFloatParamCharles Krinke1-1/+8
to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
2008-09-28Mantis#2287. Thank you kindly, Idb for a patch that solves:Charles Krinke1-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.
2008-09-27Update unit testsMelanie Thielker1-13/+6
2008-09-27Add friendly error messages to both engines.Melanie Thielker3-75/+220
2008-09-26Mantis #2277Melanie Thielker2-2/+1
Patch up a type name change in libomv. Thanks for tracking that down, idb
2008-09-26Fix listeners in multi-region instancesMelanie Thielker1-3/+3
2008-09-26Thank you, idb, for a patch that implements the stubs for llGetAgentLanguage()Melanie Thielker3-0/+13
2008-09-26* Patch from JHurlimanTeravus Ovares2-21/+27
* Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
2008-09-26Compiler Connection! One world, one compiler!Melanie Thielker1-2/+2
2008-09-26* Apply http://opensimulator.org/mantis/view.php?id=2274Justin Clarke Casey1-1/+3
* Reapply homer's click action implementation, which accidentally got blatted * Thanks tyre
2008-09-26Bringing the OSSLPrim back. Prim.Rotation, etc, will now work again.Melanie Thielker2-1/+187
As a bonus, the OSSLPrim has now come to XEngine, too!
2008-09-26Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.Melanie Thielker5-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.
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-25Implement LSL-function llGetRegionAgentCount.Homer Horwitz1-2/+1
2008-09-25Add an extension to allow registering multiple interfaces of a type withMelanie Thielker2-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
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-25CONVERGENCE!!!!!!Melanie Thielker2-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.
2008-09-25Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker7-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.