aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix llSetPos to handle child prims correctly. This will fix linked Melanie Thielker2008-10-111-1/+8
| | | | | | sliding doors
* * Change permission check for llParcelMediaCommandList to use the permissionsHomer Horwitz2008-10-111-4/+5
| | | | | | module, thus including estate owners and gods.
* Add shift operator overloads to LSLInteger. If you get error messages whenMelanie Thielker2008-10-111-0/+10
| | | | | | | | using << and >> in scripts, this will fix it. rm bin/*.dll ; rm bin/ScriptEngines/*.dll ; rm bin/ScriptEngines/*/*.dll then rebuild and reinstall
* 2nd stab at that prim loading nastyMelanie Thielker2008-10-111-3/+6
|
* * Rework llParcelMediaCommandListHomer Horwitz2008-10-112-55/+184
| | | | | | | | * Add missing PARCEL_MEDIA_COMMAND_* constants * Fix a copy/paste error in SendParcelMediaUpdate llParcelMediaCommandList should work now
* Add a + operator to LSLString, otherwise you will end up with CIL strings ifHomer Horwitz2008-10-111-0/+5
| | | | | | you have expressions with strings.
* Fix an exception handling issue in XEngineMelanie Thielker2008-10-101-1/+1
|
* * Apply http://opensimulator.org/mantis/view.php?id=2373Justin Clarke Casey2008-10-091-73/+242
| | | | | | | * Many llSensor() improvements, though sensoring isn't perfect yet * thanks idb!
* * Apply http://opensimulator.org/mantis/view.php?id=2370Justin Clarke Casey2008-10-091-164/+16
| | | | | | | * Refactor lLMessageLinked() to use internal method GetLinkParts * thanks ralphos
* Mantis#2352. Thank you kindly, Jonc for a patch that:Charles Krinke2008-10-081-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.
* Mantis#1906. Thank you kindly, Idb for a patch that:Charles Krinke2008-10-081-18/+1
| | | | | | Removed cache accesses to obtain sensed object/avatar name, it is already available.
* 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!